Skip to content

Commit f7f6001

Browse files
zhangyan133Yan Zhang (WICRESOFT NORTH AMERICA LTD)
andauthored
changetotrack2 (#13170)
* changetotrack2 * new readme.python.md * some modification Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com>
1 parent d463274 commit f7f6001

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed

specification/servicefabricmanagedclusters/resource-manager/readme.md

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ This is not used by Autorest itself.
9292
``` yaml $(swagger-to-sdk)
9393
swagger-to-sdk:
9494
- repo: azure-sdk-for-net
95-
- repo: azure-sdk-for-python
95+
- repo: azure-sdk-for-python-track2
9696
- repo: azure-resource-manager-schemas
9797
```
9898
@@ -113,29 +113,7 @@ csharp:
113113

114114
## Python
115115

116-
These settings apply only when `--python` is specified on the command line.
117-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
118-
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
119-
120-
``` yaml $(python)
121-
python-mode: create
122-
python:
123-
azure-arm: true
124-
license-header: MICROSOFT_MIT_NO_VERSION
125-
payload-flattening-threshold: 2
126-
namespace: azure.mgmt.servicefabricmanagedclusters
127-
package-name: azure-mgmt-servicefabricmanagedclusters
128-
```
129-
``` yaml $(python) && $(python-mode) == 'update'
130-
python:
131-
no-namespace-folders: true
132-
output-folder: $(python-sdks-folder)/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters
133-
```
134-
``` yaml $(python) && $(python-mode) == 'create'
135-
python:
136-
basic-setup-py: true
137-
output-folder: $(python-sdks-folder)/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters
138-
```
116+
See configuration in [readme.python.md](./readme.python.md)
139117

140118
## AzureResourceSchema
141119

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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+
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
6+
7+
``` yaml $(python) && $(track2)
8+
azure-arm: true
9+
license-header: MICROSOFT_MIT_NO_VERSION
10+
package-name: azure-mgmt-servicefabricmanagedclusters
11+
no-namespace-folders: true
12+
package-version: 0.1.0
13+
```
14+
15+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
16+
no-namespace-folders: true
17+
output-folder: $(python-sdks-folder)/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters/azure/mgmt/servicefabricmanagedclusters
18+
```
19+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
20+
basic-setup-py: true
21+
output-folder: $(python-sdks-folder)/servicefabricmanagedclusters/azure-mgmt-servicefabricmanagedclusters
22+
```

0 commit comments

Comments
 (0)