Skip to content

Commit 08ebc1f

Browse files
authored
Autorest.az configuration update for azure monitor control service GA release (#14570)
* add AMCS config for codegen * reorganize command group * Update readme.python.md * add amcs az config * Update readme.az.md
1 parent 4b6aefb commit 08ebc1f

File tree

2 files changed

+35
-5
lines changed

2 files changed

+35
-5
lines changed

specification/monitor/resource-manager/readme.az.md

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This directory contains the CLI common model for the Azure Monitor Control Servi
2424
> Metadata
2525
``` yaml $(AMCS)
2626

27-
extension-mode: preview
27+
extension-mode: stable
2828

2929
directive:
3030

@@ -49,20 +49,41 @@ directive:
4949
group: monitor data-collection rule-association
5050
set:
5151
group: monitor data-collection rule association
52+
53+
- where:
54+
group: monitor monitor-control-service data-collection-endpoint
55+
set:
56+
group: monitor data-collection-endpoint
57+
- where:
58+
group: monitor data-collection-endpoint
59+
set:
60+
group: monitor data-collection endpoint
5261

5362
cli:
5463
cli-directive:
55-
# -------- data-collection rule ---------
64+
# -------- data-collection endpoint --------
5665
- where:
57-
group: DataCollectionRules
58-
param: dataCollectionRuleName
66+
group: DataCollectionEndpoints
67+
param: dataCollectionEndpointName
5968
alias:
6069
- name
6170
- n
6271
- where:
63-
group: DataCollectionRuleAssociations
72+
group: DataCollectionEndpoints
6473
op: Create
6574
hidden: True
75+
- where:
76+
group: DataCollectionEndpoints
77+
op: Update
78+
hidden: True
79+
80+
# -------- data-collection rule --------
81+
- where:
82+
group: DataCollectionRules
83+
param: dataCollectionRuleName
84+
alias:
85+
- name
86+
- n
6687
- where:
6788
group: DataCollectionRules
6889
op: Create
@@ -89,4 +110,8 @@ cli:
89110
alias:
90111
- name
91112
- n
113+
- where:
114+
group: DataCollectionRuleAssociations
115+
op: Create
116+
hidden: True
92117
```

specification/monitor/resource-manager/readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ To see additional help and options, run:
2222

2323
### Basic Information
2424

25+
There are the global settings for the Azure Monitor Control Service (AMCS) extension.
26+
``` yaml $(AMCS)
27+
tag: package-2021-04-only
28+
```
29+
2530
These are the global settings for the MonitorClient API.
2631
2732
``` yaml !$(python) || !$(track2)

0 commit comments

Comments
 (0)