Skip to content

Commit a8f951f

Browse files
msyycharryli0108
authored andcommitted
update python config (Azure#24310)
1 parent a95ee2a commit a8f951f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

specification/resources/resource-manager/readme.python.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Generate all API versions currently shipped for this package
1919
2020
```yaml $(python)
2121
multiapi: true
22-
default-api-version: "2022-12-01"
2322
clear-output-folder: true
2423
batch:
2524
- tag: package-privatelinks-2020-05
@@ -179,6 +178,7 @@ These settings apply only when `--tag=package-changes-2022-05 --python` is speci
179178
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
180179

181180
``` yaml $(tag) == 'package-changes-2022-05'
181+
default-api-version: "2022-05-01"
182182
namespace: azure.mgmt.resource.changes.v2022_05_01
183183
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/changes/v2022_05_01
184184
```
@@ -189,6 +189,7 @@ These settings apply only when `--tag=package-privatelinks-2020-05 --python` is
189189
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
190190

191191
``` yaml $(tag) == 'package-privatelinks-2020-05'
192+
default-api-version: "2020-05-01"
192193
namespace: azure.mgmt.resource.privatelinks.v2020_05_01
193194
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks/v2020_05_01
194195
```
@@ -199,6 +200,7 @@ These settings apply only when `--tag=package-features-2021-07 --python` is spec
199200
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
200201

201202
``` yaml $(tag) == 'package-features-2021-07'
203+
default-api-version: "2021-07-01"
202204
namespace: azure.mgmt.resource.features.v2021_07_01
203205
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/features/v2021_07_01
204206
```
@@ -219,6 +221,7 @@ These settings apply only when `--tag=package-links-2016-09 --python` is specifi
219221
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
220222

221223
``` yaml $(tag) == 'package-links-2016-09'
224+
default-api-version: "2016-09-01"
222225
namespace: azure.mgmt.resource.links.v2016_09_01
223226
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/links/v2016_09_01
224227
```
@@ -229,6 +232,7 @@ These settings apply only when `--tag=package-locks-2016-09 --python` is specifi
229232
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
230233

231234
``` yaml $(tag) == 'package-locks-2016-09'
235+
default-api-version: "2016-09-01"
232236
namespace: azure.mgmt.resource.locks.v2016_09_01
233237
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/locks/v2016_09_01
234238
```
@@ -249,6 +253,7 @@ These settings apply only when `--tag=package-managedapplications-2019-07 --pyth
249253
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
250254

251255
``` yaml $(tag) == 'package-managedapplications-2019-07'
256+
default-api-version: "2019-07-01"
252257
namespace: azure.mgmt.resource.managedapplications.v2019_07_01
253258
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications/v2019_07_01
254259
```
@@ -279,6 +284,7 @@ These settings apply only when `--tag=package-policy-2022-06-only --python` is s
279284
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
280285

281286
``` yaml $(tag) == 'package-policy-2022-06-only'
287+
default-api-version: "2022-06-01"
282288
namespace: azure.mgmt.resource.policy.v2022_06_01
283289
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy/v2022_06_01
284290
```
@@ -409,6 +415,7 @@ These settings apply only when `--tag=package-resources-2022-09 --python` is spe
409415
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
410416

411417
``` yaml $(tag) == 'package-resources-2022-09'
418+
default-api-version: "2022-09-01"
412419
namespace: azure.mgmt.resource.resources.v2022_09_01
413420
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/resources/v2022_09_01
414421
```
@@ -569,6 +576,7 @@ These settings apply only when `--tag=package-subscriptions-2022-12 --python` is
569576
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
570577

571578
``` yaml $(tag) == 'package-subscriptions-2022-12'
579+
default-api-version: "2022-12-01"
572580
namespace: azure.mgmt.resource.subscriptions.v2022_12_01
573581
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/subscriptions/v2022_12_01
574582
```
@@ -639,6 +647,7 @@ These settings apply only when `--tag=package-deploymentscripts-2020-10` is spec
639647
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
640648

641649
``` yaml $(tag) == 'package-deploymentscripts-2020-10'
650+
default-api-version: "2020-10-01"
642651
namespace: azure.mgmt.resource.deploymentscripts.v2020_10_01
643652
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/deploymentscripts/v2020_10_01
644653
```
@@ -679,6 +688,7 @@ These settings apply only when `--tag=package-templatespecs-2022-02` is specifie
679688
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
680689

681690
``` yaml $(tag) == 'package-templatespecs-2022-02'
691+
default-api-version: "2022-02-01"
682692
namespace: azure.mgmt.resource.templatespecs.v2022_02_01
683693
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/templatespecs/v2022_02_01
684694
```
@@ -689,6 +699,7 @@ These settings apply only when `--tag=package-deploymentstacks-2022-08-preview`
689699
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
690700

691701
``` yaml $(tag) == 'package-deploymentstacks-2022-08-preview'
702+
default-api-version: "2022-08-01-preview"
692703
namespace: azure.mgmt.resource.deploymentstacks.v2022_08_01_preview
693704
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/deploymentstacks/v2022_08_01_preview
694705
```

0 commit comments

Comments
 (0)