From 14d24d17491d8c2bde24532cb8cc2d663c0ffd9f Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Tue, 1 Aug 2023 13:57:33 +0800 Subject: [PATCH] update python config (#25074) --- .../monitor/resource-manager/readme.python.md | 143 +++++++++--------- 1 file changed, 71 insertions(+), 72 deletions(-) diff --git a/specification/monitor/resource-manager/readme.python.md b/specification/monitor/resource-manager/readme.python.md index a5cc6f72f820..c72970b3215a 100644 --- a/specification/monitor/resource-manager/readme.python.md +++ b/specification/monitor/resource-manager/readme.python.md @@ -9,8 +9,7 @@ license-header: MICROSOFT_MIT_NO_VERSION package-name: azure-mgmt-monitor no-namespace-folders: true package-version: 1.0.0b1 -python-base-namespace: azure.mgmt.monitor -python-base-folder: monitor/azure-mgmt-monitor/azure/mgmt/monitor +namespace: azure.mgmt.monitor ``` ### Python multi-api @@ -71,8 +70,8 @@ These settings apply only when `--tag=package-2023-03-01-preview-only --python` Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2023-03-01-preview-only' -namespace: $(python-base-namespace).v2023_03_01_preview -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2023_03_01_preview +namespace: azure.mgmt.monitor.v2023_03_01_preview +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2023_03_01_preview ``` ### Tag: package-2023-01-only and python @@ -81,8 +80,8 @@ These settings apply only when `--tag=package-2023-01-only --python` is specifie Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2023-01-only' -namespace: $(python-base-namespace).v2023_01_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2023_01_01 +namespace: azure.mgmt.monitor.v2023_01_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2023_01_01 ``` ### Tag: package-2022-10-01-only and python @@ -91,8 +90,8 @@ These settings apply only when `--tag=package-2022-10-01-only --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2022-10-01-only' -namespace: $(python-base-namespace).v2022_10_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2022_10_01 +namespace: azure.mgmt.monitor.v2022_10_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2022_10_01 ``` ### Tag: package-2022-08-01-preview-only and python @@ -101,8 +100,8 @@ These settings apply only when `package-2022-08-01-preview-only --python` is spe Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2022-08-01-preview-only' -namespace: $(python-base-namespace).v2022_08_01_preview -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2022_08_01_preview +namespace: azure.mgmt.monitor.v2022_08_01_preview +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2022_08_01_preview ``` ### Tag: package-2022-06-01-only and python @@ -111,8 +110,8 @@ These settings apply only when `--tag=package-2022-06-01-only --python` is speci 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 +namespace: azure.mgmt.monitor.v2022_06_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2022_06_01 ``` ### Tag: package-2022-04-01-only and python @@ -121,8 +120,8 @@ These settings apply only when `--tag=package-2022-04-01-only --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2022-04-01-only' -namespace: $(python-base-namespace).v2022_04_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2022_04_01 +namespace: azure.mgmt.monitor.v2022_04_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2022_04_01 ``` ### Tag: package-2022-02-01-preview-only and python @@ -131,8 +130,8 @@ These settings apply only when `--tag=package-2022-02-01-preview-only --python` Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2022-02-01-preview-only' -namespace: $(python-base-namespace).v2022_02_01_preview -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2022_02_01_preview +namespace: azure.mgmt.monitor.v2022_02_01_preview +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2022_02_01_preview ``` ### Tag: package-2021-09-01-only and python @@ -141,8 +140,8 @@ These settings apply only when `--tag=package-2021-09-01-only --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2021-09-01-only' -namespace: $(python-base-namespace).v2021_09_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2021_09_01 +namespace: azure.mgmt.monitor.v2021_09_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2021_09_01 ``` ### Tag: package-2021-07-01-preview-only and python @@ -151,16 +150,16 @@ These settings apply only when `--tag=package-2021-07-01-preview-only --python` Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2021-07-01-preview-only' -namespace: $(python-base-namespace).v2021_07_01_preview -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2021_07_01_preview +namespace: azure.mgmt.monitor.v2021_07_01_preview +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2021_07_01_preview ``` ### Tag: package-2021-06-03-preview-only and python These settings apply only when `--tag=package-2021-06-03-preview-only --python` is specified on the command line. Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2021-06-03-preview-only' -namespace: $(python-base-namespace).v2021_06_03_preview -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2021_06_03_preview +namespace: azure.mgmt.monitor.v2021_06_03_preview +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2021_06_03_preview ``` ### Tag: package-2021-05-only and python @@ -169,8 +168,8 @@ These settings apply only when `--tag=package-2021-05-only --python` is specifie Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2021-05-only' -namespace: $(python-base-namespace).v2021_05_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2021_05_01 +namespace: azure.mgmt.monitor.v2021_05_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2021_05_01 ``` ### Tag: package-2021-05-01-preview-only and python @@ -179,8 +178,8 @@ These settings apply only when `--tag=package-2021-05-01-preview-only --python` Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2021-05-01-preview-only' -namespace: $(python-base-namespace).v2021_05_01_preview -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2021_05_01_preview +namespace: azure.mgmt.monitor.v2021_05_01_preview +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2021_05_01_preview ``` ### Tag: package-2021-04-only and python @@ -189,8 +188,8 @@ These settings apply only when `--tag=package-2021-04-only --python` is specifie Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2021-04-only' -namespace: $(python-base-namespace).v2021_04_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2021_04_01 +namespace: azure.mgmt.monitor.v2021_04_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2021_04_01 ``` ### Tag: package-2020-10-only and python @@ -199,8 +198,8 @@ These settings apply only when `--tag=package-2020-10-only --python` is specifie Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2020-10-only' -namespace: $(python-base-namespace).v2020_10_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2020_10_01 +namespace: azure.mgmt.monitor.v2020_10_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2020_10_01 ``` ### Tag: package-2020-05-preview-only and python @@ -209,8 +208,8 @@ These settings apply only when `--tag=package-2020-05-preview-only --python` is Please also specify `--python-sdks-folder=`. ``` 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 +namespace: azure.mgmt.monitor.v2020_05_01_preview +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2020_05_01_preview ``` ### Tag: package-2020-01-01-preview-only and python @@ -219,8 +218,8 @@ These settings apply only when `--tag=package-2020-01-01-preview-only --python` Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2020-01-01-preview-only' -namespace: $(python-base-namespace).v2020_01_01_preview -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2020_01_01_preview +namespace: azure.mgmt.monitor.v2020_01_01_preview +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2020_01_01_preview ``` ### Tag: package-2019-11-01-preview-only and python @@ -229,8 +228,8 @@ These settings apply only when `--tag=package-2019-11-01-preview-only --python` Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2019-11-01-preview-only' -namespace: $(python-base-namespace).v2019_11_01_preview -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_11_01_preview +namespace: azure.mgmt.monitor.v2019_11_01_preview +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2019_11_01_preview ``` ### Tag: package-2019-10-17-preview-only and python @@ -239,8 +238,8 @@ These settings apply only when `--tag=package-2019-10-17-preview-only --python` Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2019-10-17-preview-only' -namespace: $(python-base-namespace).v2019_10_17 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_10_17 +namespace: azure.mgmt.monitor.v2019_10_17 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2019_10_17 ``` ### Tag: package-2019-06-01-only and python @@ -249,8 +248,8 @@ These settings apply only when `--tag=package-2019-06-01-only --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2019-06-01-only' -namespace: $(python-base-namespace).v2019_06_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_06_01 +namespace: azure.mgmt.monitor.v2019_06_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2019_06_01 ``` ### Tag: package-2019-03-01-only and python @@ -258,8 +257,8 @@ These settings apply only when `--tag=package-2019-03-01-only --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2019-03-01-only' -namespace: $(python-base-namespace).v2019_03_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2019_03_01 +namespace: azure.mgmt.monitor.v2019_03_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2019_03_01 ``` ### Tag: package-2018-11-27-preview-only and python @@ -268,8 +267,8 @@ These settings apply only when `--tag=package-2018-11-27-preview-only --python` Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2018-11-27-preview-only' -namespace: $(python-base-namespace).v2018_11_27_preview -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_11_27_preview +namespace: azure.mgmt.monitor.v2018_11_27_preview +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2018_11_27_preview ``` ### Tag: package-2018-09-01-python-only and python @@ -278,8 +277,8 @@ These settings apply only when `--tag=package-2018-09-01-python-only --python` i Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2018-09-01-python-only' -namespace: $(python-base-namespace).v2018_09_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_09_01 +namespace: azure.mgmt.monitor.v2018_09_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2018_09_01 ``` ### Tag: package-2018-06-01-preview-only and python @@ -288,8 +287,8 @@ These settings apply only when `--tag=package-2018-06-01-preview-only --python` Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2018-06-01-preview-only' -namespace: $(python-base-namespace).v2018_06_01_preview -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_06_01_preview +namespace: azure.mgmt.monitor.v2018_06_01_preview +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2018_06_01_preview ``` ### Tag: package-2018-04-16-only and python @@ -298,8 +297,8 @@ These settings apply only when `--tag=package-2018-04-16-only --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2018-04-16-only' -namespace: $(python-base-namespace).v2018_04_16 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_04_16 +namespace: azure.mgmt.monitor.v2018_04_16 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2018_04_16 ``` ### Tag: package-2018-03-01-only and python @@ -308,8 +307,8 @@ These settings apply only when `--tag=package-2018-03-01-only --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2018-03-01-only' -namespace: $(python-base-namespace).v2018_03_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_03_01 +namespace: azure.mgmt.monitor.v2018_03_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2018_03_01 ``` ### Tag: package-2018-01-01-only and python @@ -318,8 +317,8 @@ These settings apply only when `--tag=package-2018-01-01-only --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2018-01-01-only' -namespace: $(python-base-namespace).v2018_01_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2018_01_01 +namespace: azure.mgmt.monitor.v2018_01_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2018_01_01 ``` ### Tag: package-2017-12-01-preview-only and python @@ -328,8 +327,8 @@ These settings apply only when `--tag=package-2017-12-01-preview-only --python` Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2017-12-01-preview-only' -namespace: $(python-base-namespace).v2017_12_01_preview -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_12_01_preview +namespace: azure.mgmt.monitor.v2017_12_01_preview +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2017_12_01_preview ``` ### Tag: package-2017-05-01-preview-only and python @@ -338,8 +337,8 @@ These settings apply only when `--tag=package-2017-05-01-preview-only --python` Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2017-05-01-preview-only' -namespace: $(python-base-namespace).v2017_05_01_preview -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_05_01_preview +namespace: azure.mgmt.monitor.v2017_05_01_preview +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2017_05_01_preview ``` ### Tag: package-2017-04-01-only and python @@ -348,8 +347,8 @@ These settings apply only when `--tag=package-2017-04-01-only --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2017-04-01-only' -namespace: $(python-base-namespace).v2017_04_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_04_01 +namespace: azure.mgmt.monitor.v2017_04_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2017_04_01 ``` ### Tag: package-2017-03-01-preview-only and python @@ -358,8 +357,8 @@ These settings apply only when `--tag=package-2017-03-01-preview-only --python` Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2017-03-01-preview-only' -namespace: $(python-base-namespace).v2017_03_01_preview -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2017_03_01_preview +namespace: azure.mgmt.monitor.v2017_03_01_preview +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2017_03_01_preview ``` ### Tag: package-2016-09-01-only and python @@ -368,8 +367,8 @@ These settings apply only when `--tag=package-2016-09-01-only --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2016-09-01-only' -namespace: $(python-base-namespace).v2016_09_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2016_09_01 +namespace: azure.mgmt.monitor.v2016_09_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2016_09_01 ``` ### Tag: package-2016-03-01-only and python @@ -378,8 +377,8 @@ These settings apply only when `--tag=package-2016-03-01-only --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2016-03-01-only' -namespace: $(python-base-namespace).v2016_03_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2016_03_01 +namespace: azure.mgmt.monitor.v2016_03_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2016_03_01 ``` ### Tag: package-2015-07-01-python-only and python @@ -388,8 +387,8 @@ These settings apply only when `--tag=package-2015-07-01-python-only --python` i Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2015-07-01-python-only' -namespace: $(python-base-namespace).v2015_07_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2015_07_01 +namespace: azure.mgmt.monitor.v2015_07_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2015_07_01 ``` ### Tag: package-2015-04-01-python-only and python @@ -398,8 +397,8 @@ These settings apply only when `--tag=package-2015-04-01-python-only --python` i Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2015-04-01-python-only' -namespace: $(python-base-namespace).v2015_04_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2015_04_01 +namespace: azure.mgmt.monitor.v2015_04_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2015_04_01 ``` ### Tag: package-2014-04-01-only and python @@ -408,6 +407,6 @@ These settings apply only when `--tag=package-2014-04-01-only --python` is speci Please also specify `--python-sdks-folder=`. ``` yaml $(tag) == 'package-2014-04-01-only' -namespace: $(python-base-namespace).v2014_04_01 -output-folder: $(python-sdks-folder)/$(python-base-folder)/v2014_04_01 +namespace: azure.mgmt.monitor.v2014_04_01 +output-folder: $(python-sdks-folder)/monitor/azure-mgmt-monitor/azure/mgmt/monitor/v2014_04_01 ```