Skip to content

Commit e3aff4b

Browse files
tamilmani1989msyyc
andauthored
Remove x-ms-flatten setting for resource properties (Azure#14550)
* Disabled flatten setting for properties * added forceDelete parameter for orchestrator resource * remove forcedelete * config Co-authored-by: msyyc <[email protected]>
1 parent ab67136 commit e3aff4b

File tree

5 files changed

+24
-5
lines changed

5 files changed

+24
-5
lines changed

specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/controller.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,6 @@
385385
],
386386
"properties": {
387387
"properties": {
388-
"x-ms-client-flatten": true,
389388
"readOnly": true,
390389
"$ref": "#/definitions/DelegatedControllerProperties",
391390
"description": "Properties of the provision operation request."

specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/delegatedSubnets.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,6 @@
388388
],
389389
"properties": {
390390
"properties": {
391-
"x-ms-client-flatten": true,
392-
"readOnly": true,
393391
"$ref": "#/definitions/DelegatedSubnetProperties",
394392
"description": "Properties of the provision operation request."
395393
}

specification/dnc/resource-manager/Microsoft.DelegatedNetwork/stable/2021-03-15/orchestrators.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,6 @@
402402
],
403403
"properties": {
404404
"properties": {
405-
"x-ms-client-flatten": true,
406405
"$ref": "#/definitions/OrchestratorResourceProperties",
407406
"description": "Properties of the provision operation request."
408407
}

specification/dnc/resource-manager/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ This is not used by Autorest itself.
6969
``` yaml $(swagger-to-sdk)
7070
swagger-to-sdk:
7171
- repo: azure-sdk-for-net
72-
- repo: azure-sdk-for-python
72+
- repo: azure-sdk-for-python-track2
7373
- repo: azure-sdk-for-java
7474
- repo: azure-sdk-for-go
7575
- repo: azure-sdk-for-js
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
## Python
2+
3+
These settings apply only when `--python` is specified on the command line.
4+
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
5+
6+
``` yaml $(track2)
7+
azure-arm: true
8+
license-header: MICROSOFT_MIT_NO_VERSION
9+
package-name: azure-mgmt-dnc
10+
no-namespace-folders: true
11+
package-version: 1.0.0b1
12+
clear-output-folder: true
13+
```
14+
15+
``` yaml $(python-mode) == 'update' && $(track2)
16+
no-namespace-folders: true
17+
output-folder: $(python-sdks-folder)/dnc/azure-mgmt-dnc/azure/mgmt/dnc
18+
```
19+
20+
``` yaml $(python-mode) == 'create' && $(track2)
21+
basic-setup-py: true
22+
output-folder: $(python-sdks-folder)/dnc/azure-mgmt-dnc
23+
```

0 commit comments

Comments
 (0)