From e499adaecd3af503be8b31b49263022e5de5c869 Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Fri, 28 May 2021 11:01:47 +0800 Subject: [PATCH] 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 --- .../monitor/resource-manager/readme.az.md | 35 ++++++++++++++++--- .../monitor/resource-manager/readme.md | 5 +++ 2 files changed, 35 insertions(+), 5 deletions(-) diff --git a/specification/monitor/resource-manager/readme.az.md b/specification/monitor/resource-manager/readme.az.md index b6461112e006..2745b4bde15e 100644 --- a/specification/monitor/resource-manager/readme.az.md +++ b/specification/monitor/resource-manager/readme.az.md @@ -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: @@ -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 @@ -89,4 +110,8 @@ cli: alias: - name - n + - where: + group: DataCollectionRuleAssociations + op: Create + hidden: True ``` diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index a4c41554fdd1..df76b99c2348 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -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)