From 5b5799f79ff5c2d4f34d36df1d490685cd2435fa Mon Sep 17 00:00:00 2001 From: unknown <424401670@qq.com> Date: Tue, 7 Jun 2022 15:33:53 +0800 Subject: [PATCH 1/2] update monitor --- specification/monitor/resource-manager/readme.md | 9 +++++++++ .../monitor/resource-manager/readme.python.md | 11 +++++++++++ 2 files changed, 20 insertions(+) diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index d543b607a3f9..1d521bc8220c 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -73,6 +73,15 @@ input-file: - Microsoft.Insights/preview/2021-09-01-preview/dataCollectionRules_API.json ``` +### Tag: package-2022-06-01-only + +These settings apply only when `--tag=package-2022-06-01-only` is specified on the command line + +``` yaml $(tag) == 'package-2022-06-01-only' +input-file: +- Microsoft.Insights/stable/2022-06-01/actionGroups_API.json +``` + ### Tag: package-2022-04 These settings apply only when `--tag=package-2022-04` is specified on the command line diff --git a/specification/monitor/resource-manager/readme.python.md b/specification/monitor/resource-manager/readme.python.md index 2d3ea8b67042..bba4dbe3ff2c 100644 --- a/specification/monitor/resource-manager/readme.python.md +++ b/specification/monitor/resource-manager/readme.python.md @@ -18,6 +18,7 @@ Generate all API versions currently shipped for this package ```yaml $(multiapi) && $(python) clear-output-folder: true batch: + - tag: package-2022-06-01-only - tag: package-2022-04-01-only - tag: package-2022-02-01-preview-only - tag: package-2021-09-01-only @@ -52,6 +53,16 @@ output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monit perform-load: false ``` +### Tag: package-2022-06-01-only and python + +These settings apply only when `--tag=package-2022-06-01-only --python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(tag) == 'package-2022-06-01-only' +namespace: $(python-base-namespace).v2022_06_01 +output-folder: $(python-sdks-folder)/$(python-base-folder)/v2022_06_01 +``` + ### Tag: package-2022-04-01-only and python These settings apply only when `--tag=package-2022-04-01-only --python` is specified on the command line. From b98ec1f2cc41263505552a72d1c72493265b230c Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Tue, 7 Jun 2022 15:59:00 +0800 Subject: [PATCH 2/2] Update readme.python.md --- specification/monitor/resource-manager/readme.python.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/monitor/resource-manager/readme.python.md b/specification/monitor/resource-manager/readme.python.md index bba4dbe3ff2c..955a0646ebe6 100644 --- a/specification/monitor/resource-manager/readme.python.md +++ b/specification/monitor/resource-manager/readme.python.md @@ -15,8 +15,9 @@ python-base-folder: monitor/azure-mgmt-monitor/azure/mgmt/monitor Generate all API versions currently shipped for this package -```yaml $(multiapi) && $(python) +```yaml $(python) clear-output-folder: true +multiapi: true batch: - tag: package-2022-06-01-only - tag: package-2022-04-01-only