1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
### 1010 - Parameter Property Updated
**Description**: Checks whether an existing property value is updated from a cmd's parameter.
**Analysis**: Not all configured properties updated from a cmd's parameter are considered breaking changes. The properties listed in PARA_PROPERTY_UPDATE_BREAK_LIST below are thought to influence or interrupt current workflow and be breaking changes.
* PARA_PROPERTY_UPDATE_BREAK_LIST = ["default", "aaz_default"]
**Example**: In new cli version, `default` is being updated from `3600` to `7200` for `--timeout` of cmd `az monitor account wait` which may cause inconsistency in users' default behaviour.
#### Before
```json5
{
"module_name": "monitor",
"name": "az",
"commands": {},
"sub_groups": {
"monitor": {
"name": "monitor",
"commands": {},
"sub_groups": {
"monitor account": {
"name": "monitor account",
"commands": {
"monitor account wait": {
"name": "monitor account wait",
"is_aaz": true,
"parameters": [
{
"name": "timeout",
"options": ["--timeout"],
"default": 3600
}
...
...
]
}
}
}
}
},
...
}
}
```
#### After
```json5
{
"module_name": "monitor",
"name": "az",
"commands": {},
"sub_groups": {
"monitor": {
"name": "monitor",
"commands": {},
"sub_groups": {
"monitor account": {
"name": "monitor account",
"commands": {
"monitor account wait": {
"name": "monitor account wait",
"is_aaz": true,
"parameters": [
{
"name": "timeout",
"options": ["--timeout"],
"default": 7200
}
...
...
]
}
}
}
}
},
...
}
}
```
|