File: 1007.md

package info (click to toggle)
azure-cli 2.82.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 2,359,416 kB
  • sloc: python: 1,910,381; sh: 1,343; makefile: 406; cs: 145; javascript: 74; sql: 37; xml: 21
file content (49 lines) | stat: -rw-r--r-- 1,362 bytes parent folder | download | duplicates (2)
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
### 1007 - Cmd Parameter Removed

**Description**: Checks whether an existing parameter of a cmd is removed from the previous cli version. 

**Analysis**: This is considered a breaking change because it may influence users' current workflow. This change requires to be released during breaking-change window.

**Example**: An existing parameter `--export-to-resource-specific` is removed from cmd `az monitor diagnostic-setting create` in new cli version.

#### Before
> az monitor diagnostic-settings create -h 
> 
> Command
>   
> az monitor diagnostic-settings create : Create diagnostic settings for the specified resource.
>
> Arguments
> 
> --name -n [Required] : The name of the diagnostic setting. Required.
> 
> --export-to-resource-specific : Indicate that the export to LA must be done to a resource specific table.
> 
> --event-hub : Name or ID an event hub. 
> 
> --event-hub-rule : Name or ID of the event hub authorization rule.
> 
> ...
> 
> ...
> 

#### After 
> az monitor diagnostic-settings create -h 
> 
> Command
>   
> az monitor diagnostic-settings create : Create diagnostic settings for the specified resource.
>
> Arguments
> 
> --name -n [Required] : The name of the diagnostic setting. Required.
> 
> --event-hub : Name or ID an event hub. 
> 
> --event-hub-rule : Name or ID of the event hub authorization rule.
> 
> ...
> 
> ...
>