From 5a35a69899514a5ae4dd5c2601bbfc52b7167066 Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Wed, 17 Mar 2021 14:08:10 +0800 Subject: [PATCH 1/4] [Monitor] Fix invalid tags --- specification/monitor/resource-manager/readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index 5f4162a09416..5dd036bee98c 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -34,7 +34,7 @@ title: MonitorManagementClient ``` yaml description: Monitor Management Client openapi-type: arm -tag: package-2020-10 +tag: package-2020-03 ``` ### Tag: package-2021-02-preview @@ -46,7 +46,7 @@ input-file: - Microsoft.Insights/preview/2021-02-01-preview/scheduledQueryRule_API.json ``` -### Tag: package-2020-10 +### Tag: package-2020-10-only These settings apply only when `--tag=package-2020-10` is specified on the command line. @@ -55,7 +55,7 @@ input-file: - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json ``` -### Tag: package-2020-05-preview +### Tag: package-2020-05-preview-only These settings apply only when `--tag=package-2020-05-preview` is specified on the command line. From 29b8c569bf7025e372f327337dc2caec99721a4a Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Wed, 17 Mar 2021 14:10:55 +0800 Subject: [PATCH 2/4] Update readme.md --- specification/monitor/resource-manager/readme.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index 5dd036bee98c..e1ba0a364278 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -37,29 +37,29 @@ openapi-type: arm tag: package-2020-03 ``` -### Tag: package-2021-02-preview +### Tag: package-2021-02-preview-only -These settings apply only when `--tag=package-2021-02-preview` is specified on the command line. +These settings apply only when `--tag=package-2021-02-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2021-02-preview' +``` yaml $(tag) == 'package-2021-02-preview-only' input-file: - Microsoft.Insights/preview/2021-02-01-preview/scheduledQueryRule_API.json ``` ### Tag: package-2020-10-only -These settings apply only when `--tag=package-2020-10` is specified on the command line. +These settings apply only when `--tag=package-2020-10-only` is specified on the command line. -``` yaml $(tag) == 'package-2020-10' +``` yaml $(tag) == 'package-2020-10-only' input-file: - Microsoft.Insights/stable/2020-10-01/activityLogAlerts_API.json ``` ### Tag: package-2020-05-preview-only -These settings apply only when `--tag=package-2020-05-preview` is specified on the command line. +These settings apply only when `--tag=package-2020-05-preview-only` is specified on the command line. -``` yaml $(tag) == 'package-2020-05-preview' +``` yaml $(tag) == 'package-2020-05-preview-only' input-file: - Microsoft.Insights/preview/2020-05-01-preview/scheduledQueryRule_API.json ``` From d7b7309abc6f3bdd5af4a9051d48cb661271065d Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Wed, 17 Mar 2021 16:14:32 +0800 Subject: [PATCH 3/4] Update readme.python.md --- .../monitor/resource-manager/readme.python.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/specification/monitor/resource-manager/readme.python.md b/specification/monitor/resource-manager/readme.python.md index 70fdf0d28bb9..39f8e259c4f8 100644 --- a/specification/monitor/resource-manager/readme.python.md +++ b/specification/monitor/resource-manager/readme.python.md @@ -29,8 +29,8 @@ Generate all API versions currently shipped for this package ```yaml $(multiapi) && $(track2) clear-output-folder: true batch: - - tag: package-2020-10 - - tag: package-2020-05-preview + - tag: package-2020-10-only + - tag: package-2020-05-preview-only - tag: package-2020-01-01-preview-only - tag: package-2019-11-01-preview-only - tag: package-2019-10-17-preview-only @@ -60,22 +60,22 @@ clear-output-folder: false perform-load: false ``` -### Tag: package-2020-10 and python +### Tag: package-2020-10-only and python -These settings apply only when `--tag=package-2020-10 --python` is specified on the command line. +These settings apply only when `--tag=package-2020-10-only --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-2020-10' +``` yaml $(tag) == 'package-2020-10-only' namespace: $(python-base-namespace).v2020_10_01 output-folder: $(python-sdks-folder)/$(python-base-folder)/v2020_10_01 ``` -### Tag: package-2020-05-preview and python +### Tag: package-2020-05-preview-only and python -These settings apply only when `--tag=package-2020-05-preview --python` is specified on the command line. +These settings apply only when `--tag=package-2020-05-preview-only --python` is specified on the command line. Please also specify `--python-sdks-folder=`. -``` yaml $(tag) == 'package-2020-05-preview' +``` yaml $(tag) == 'package-2020-05-preview-only' namespace: $(python-base-namespace).v2020_05_01_preview output-folder: $(python-sdks-folder)/$(python-base-folder)/v2020_05_01_preview ``` From 13d634debe7af2bd43b9e1d112b3b887ed5d45ac Mon Sep 17 00:00:00 2001 From: kai ru <69238381+kairu-ms@users.noreply.github.com> Date: Tue, 23 Mar 2021 15:02:24 +0800 Subject: [PATCH 4/4] Update readme.go.md --- specification/monitor/resource-manager/readme.go.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/monitor/resource-manager/readme.go.md b/specification/monitor/resource-manager/readme.go.md index 86c6e51190a1..3c49e9cc2674 100644 --- a/specification/monitor/resource-manager/readme.go.md +++ b/specification/monitor/resource-manager/readme.go.md @@ -20,7 +20,7 @@ batch: - tag: package-2019-03 - tag: package-2019-06 - tag: package-2019-11 - - tag: package-2020-10 + - tag: package-2020-10-only ``` ### Tag: package-2017-09 and go @@ -86,11 +86,11 @@ Please also specify `--go-sdk-folder=`. -``` yaml $(tag) == 'package-2020-10' && $(go) +``` yaml $(tag) == 'package-2020-10-only' && $(go) output-folder: $(go-sdk-folder)/services/monitor/mgmt/2020-10-01/$(namespace) ```