Skip to content

Commit bf69640

Browse files
authored
[resources] update python configuration (#40082)
* update python config * update python config * update python config
1 parent 9ac549b commit bf69640

9 files changed

Lines changed: 36 additions & 144 deletions

File tree

specification/resources/resource-manager/Microsoft.Authorization/locks/readme.python.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
These settings apply only when `--python` is specified on the command line.
44

55
``` yaml $(python)
6+
title: ManagementLockClient
67
azure-arm: true
78
license-header: MICROSOFT_MIT_NO_VERSION
8-
package-name: azure-mgmt-resource
9+
package-name: azure-mgmt-resource-locks
910
package-version: 1.0.0b1
1011
no-namespace-folders: true
1112
reformat-next-link: false
@@ -15,20 +16,7 @@ modelerfour:
1516
lenient-model-deduplication: true
1617
```
1718
18-
### Python batch
19-
20-
```yaml $(python)
21-
batch:
22-
- tag: package-locks-2016-09
23-
```
24-
25-
### Tag: package-locks-2016-09 and python
26-
27-
These settings apply only when `--tag=package-locks-2016-09 --python` is specified on the command line.
28-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
29-
30-
``` yaml $(tag) == 'package-locks-2016-09'
31-
title: ManagementLockClient
19+
``` yaml $(python)
3220
namespace: azure.mgmt.resource.locks
33-
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/locks
21+
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource-locks/azure/mgmt/resource/locks
3422
```

specification/resources/resource-manager/Microsoft.Authorization/policy/readme.python.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
These settings apply only when `--python` is specified on the command line.
44

55
``` yaml $(python)
6+
title: PolicyClient
67
azure-arm: true
78
license-header: MICROSOFT_MIT_NO_VERSION
8-
package-name: azure-mgmt-resource
9+
package-name: azure-mgmt-resource-policy
910
package-version: 1.0.0b1
1011
no-namespace-folders: true
1112
reformat-next-link: false
@@ -15,20 +16,7 @@ modelerfour:
1516
lenient-model-deduplication: true
1617
```
1718
18-
### Python batch
19-
20-
```yaml $(python)
21-
batch:
22-
- tag: package-policy-2023-04
23-
```
24-
25-
### Tag: package-policy-2023-04 and python
26-
27-
These settings apply only when `--tag=package-policy-2023-04 --python` is specified on the command line.
28-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
29-
30-
``` yaml $(tag) == 'package-policy-2023-04'
31-
title: PolicyClient
19+
``` yaml $(python)
3220
namespace: azure.mgmt.resource.policy
33-
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/policy
21+
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource-policy/azure/mgmt/resource/policy
3422
```

specification/resources/resource-manager/Microsoft.Authorization/privatelinks/readme.python.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
These settings apply only when `--python` is specified on the command line.
44

55
``` yaml $(python)
6+
title: ResourcePrivateLinkClient
67
azure-arm: true
78
license-header: MICROSOFT_MIT_NO_VERSION
8-
package-name: azure-mgmt-resource
9+
package-name: azure-mgmt-resource-privatelinks
910
package-version: 1.0.0b1
1011
no-namespace-folders: true
1112
reformat-next-link: false
@@ -15,20 +16,7 @@ modelerfour:
1516
lenient-model-deduplication: true
1617
```
1718
18-
### Python batch
19-
20-
```yaml $(python)
21-
batch:
22-
- tag: package-privatelinks-2020-05
23-
```
24-
25-
### Tag: package-privatelinks-2020-05 and python
26-
27-
These settings apply only when `--tag=package-privatelinks-2020-05 --python` is specified on the command line.
28-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
29-
30-
``` yaml $(tag) == 'package-privatelinks-2020-05'
31-
title: ResourcePrivateLinkClient
19+
``` yaml $(python)
3220
namespace: azure.mgmt.resource.privatelinks
33-
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/privatelinks
21+
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource-privatelinks/azure/mgmt/resource/privatelinks
3422
```

specification/resources/resource-manager/Microsoft.Features/features/readme.python.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
These settings apply only when `--python` is specified on the command line.
44

55
``` yaml $(python)
6+
title: FeatureClient
67
azure-arm: true
78
license-header: MICROSOFT_MIT_NO_VERSION
8-
package-name: azure-mgmt-resource
9+
package-name: azure-mgmt-resource-features
910
package-version: 1.0.0b1
1011
no-namespace-folders: true
1112
reformat-next-link: false
@@ -15,20 +16,7 @@ modelerfour:
1516
lenient-model-deduplication: true
1617
```
1718
18-
### Python batch
19-
20-
```yaml $(python)
21-
batch:
22-
- tag: package-features-2021-07
23-
```
24-
25-
### Tag: package-features-2021-07 and python
26-
27-
These settings apply only when `--tag=package-features-2021-07 --python` is specified on the command line.
28-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
29-
30-
``` yaml $(tag) == 'package-features-2021-07'
31-
title: FeatureClient
19+
``` yaml $(python)
3220
namespace: azure.mgmt.resource.features
33-
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/features
21+
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource-features/azure/mgmt/resource/features
3422
```

specification/resources/resource-manager/Microsoft.Resources/changes/readme.python.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
These settings apply only when `--python` is specified on the command line.
44

55
``` yaml $(python)
6+
title: ChangesClient
67
azure-arm: true
78
license-header: MICROSOFT_MIT_NO_VERSION
8-
package-name: azure-mgmt-resource
9+
package-name: azure-mgmt-resource-changes
910
package-version: 1.0.0b1
1011
no-namespace-folders: true
1112
reformat-next-link: false
@@ -15,20 +16,7 @@ modelerfour:
1516
lenient-model-deduplication: true
1617
```
1718
18-
### Python batch
19-
20-
```yaml $(python)
21-
batch:
22-
- tag: package-changes-2022-05
23-
```
24-
25-
### Tag: package-changes-2022-05 and python
26-
27-
These settings apply only when `--tag=package-changes-2022-05 --python` is specified on the command line.
28-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
29-
30-
``` yaml $(tag) == 'package-changes-2022-05'
31-
title: ChangesClient
19+
``` yaml $(python)
3220
namespace: azure.mgmt.resource.changes
33-
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/changes
21+
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource-changes/azure/mgmt/resource/changes
3422
```

specification/resources/resource-manager/Microsoft.Resources/databoundaries/readme.python.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
These settings apply only when `--python` is specified on the command line.
44

55
``` yaml $(python)
6+
title: DataBoundaryMgmtClient
67
azure-arm: true
78
license-header: MICROSOFT_MIT_NO_VERSION
8-
package-name: azure-mgmt-resource
9+
package-name: azure-mgmt-resource-databoundaries
910
package-version: 1.0.0b1
1011
no-namespace-folders: true
1112
reformat-next-link: false
@@ -15,22 +16,9 @@ modelerfour:
1516
lenient-model-deduplication: true
1617
```
1718
18-
### Python batch
19-
20-
```yaml $(python)
21-
batch:
22-
- tag: package-databoundaries-2024-08
23-
```
24-
25-
### Tag: package-databoundaries-2024-08 and python
26-
27-
These settings apply only when `--tag=package-databoundaries-2024-08 --python` is specified on the command line.
28-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
29-
30-
``` yaml $(tag) == 'package-databoundaries-2024-08'
31-
title: DataBoundaryMgmtClient
19+
``` yaml $(python)
3220
namespace: azure.mgmt.resource.databoundaries
33-
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/databoundaries
21+
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource-databoundaries/azure/mgmt/resource/databoundaries
3422
directive:
3523
- remove-operation: "Operations_List"
3624
```

specification/resources/resource-manager/Microsoft.Resources/links/readme.python.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
These settings apply only when `--python` is specified on the command line.
44

55
``` yaml $(python)
6+
title: ManagementLinkClient
67
azure-arm: true
78
license-header: MICROSOFT_MIT_NO_VERSION
8-
package-name: azure-mgmt-resource
9+
package-name: azure-mgmt-resource-links
910
package-version: 1.0.0b1
1011
no-namespace-folders: true
1112
reformat-next-link: false
@@ -15,20 +16,7 @@ modelerfour:
1516
lenient-model-deduplication: true
1617
```
1718
18-
### Python batch
19-
20-
```yaml $(python)
21-
batch:
22-
- tag: package-links-2016-09
23-
```
24-
25-
### Tag: package-links-2016-09 and python
26-
27-
These settings apply only when `--tag=package-links-2016-09 --python` is specified on the command line.
28-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
29-
30-
``` yaml $(tag) == 'package-links-2016-09'
31-
title: ManagementLinkClient
19+
``` yaml $(python)
3220
namespace: azure.mgmt.resource.links
33-
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/links
21+
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource-links/azure/mgmt/resource/links
3422
```

specification/resources/resource-manager/Microsoft.Resources/subscriptions/readme.python.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
These settings apply only when `--python` is specified on the command line.
44

55
``` yaml $(python)
6+
title: SubscriptionClient
67
azure-arm: true
78
license-header: MICROSOFT_MIT_NO_VERSION
8-
package-name: azure-mgmt-resource
9+
package-name: azure-mgmt-resource-subscriptions
910
package-version: 1.0.0b1
1011
no-namespace-folders: true
1112
reformat-next-link: false
@@ -15,20 +16,7 @@ modelerfour:
1516
lenient-model-deduplication: true
1617
```
1718
18-
### Python batch
19-
20-
```yaml $(python)
21-
batch:
22-
- tag: package-subscriptions-2022-12
23-
```
24-
25-
### Tag: package-subscriptions-2022-12 and python
26-
27-
These settings apply only when `--tag=package-subscriptions-2022-12 --python` is specified on the command line.
28-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
29-
30-
``` yaml $(tag) == 'package-subscriptions-2022-12'
31-
title: SubscriptionClient
19+
``` yaml $(python)
3220
namespace: azure.mgmt.resource.subscriptions
33-
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/subscriptions
21+
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource-subscriptions/azure/mgmt/resource/subscriptions
3422
```

specification/resources/resource-manager/Microsoft.Solutions/managedapplications/readme.python.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
These settings apply only when `--python` is specified on the command line.
44

55
``` yaml $(python)
6+
title: ApplicationClient
67
azure-arm: true
78
license-header: MICROSOFT_MIT_NO_VERSION
8-
package-name: azure-mgmt-resource
9+
package-name: azure-mgmt-resource-managedapplications
910
package-version: 1.0.0b1
1011
no-namespace-folders: true
1112
reformat-next-link: false
@@ -15,20 +16,7 @@ modelerfour:
1516
lenient-model-deduplication: true
1617
```
1718
18-
### Python batch
19-
20-
```yaml $(python)
21-
batch:
22-
- tag: package-managedapplications-2019-07
23-
```
24-
25-
### Tag: package-managedapplications-2019-07 and python
26-
27-
These settings apply only when `--tag=package-managedapplications-2019-07 --python` is specified on the command line.
28-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
29-
30-
``` yaml $(tag) == 'package-managedapplications-2019-07'
31-
title: ApplicationClient
19+
``` yaml $(python)
3220
namespace: azure.mgmt.resource.managedapplications
33-
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource/azure/mgmt/resource/managedapplications
21+
output-folder: $(python-sdks-folder)/resources/azure-mgmt-resource-managedapplications/azure/mgmt/resource/managedapplications
3422
```

0 commit comments

Comments
 (0)