Skip to content

Commit

Permalink
Autorest.az configuration update for azure monitor control service GA…
Browse files Browse the repository at this point in the history
… release (Azure#14570)

* add AMCS config for codegen

* reorganize command group

* Update readme.python.md

* add amcs az config

* Update readme.az.md
  • Loading branch information
kairu-ms authored and mkarmark committed Jul 20, 2021
1 parent ad83ae4 commit e499ada
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 5 deletions.
35 changes: 30 additions & 5 deletions specification/monitor/resource-manager/readme.az.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ This directory contains the CLI common model for the Azure Monitor Control Servi
> Metadata
``` yaml $(AMCS)

extension-mode: preview
extension-mode: stable

directive:

Expand All @@ -49,20 +49,41 @@ directive:
group: monitor data-collection rule-association
set:
group: monitor data-collection rule association

- where:
group: monitor monitor-control-service data-collection-endpoint
set:
group: monitor data-collection-endpoint
- where:
group: monitor data-collection-endpoint
set:
group: monitor data-collection endpoint

cli:
cli-directive:
# -------- data-collection rule ---------
# -------- data-collection endpoint --------
- where:
group: DataCollectionRules
param: dataCollectionRuleName
group: DataCollectionEndpoints
param: dataCollectionEndpointName
alias:
- name
- n
- where:
group: DataCollectionRuleAssociations
group: DataCollectionEndpoints
op: Create
hidden: True
- where:
group: DataCollectionEndpoints
op: Update
hidden: True

# -------- data-collection rule --------
- where:
group: DataCollectionRules
param: dataCollectionRuleName
alias:
- name
- n
- where:
group: DataCollectionRules
op: Create
Expand All @@ -89,4 +110,8 @@ cli:
alias:
- name
- n
- where:
group: DataCollectionRuleAssociations
op: Create
hidden: True
```
5 changes: 5 additions & 0 deletions specification/monitor/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ To see additional help and options, run:

### Basic Information

There are the global settings for the Azure Monitor Control Service (AMCS) extension.
``` yaml $(AMCS)
tag: package-2021-04-only
```
These are the global settings for the MonitorClient API.
``` yaml !$(python) || !$(track2)
Expand Down

0 comments on commit e499ada

Please sign in to comment.