Skip to content

Commit e17fdab

Browse files
RAY-316dabenhamMic
authored andcommitted
storagesync readme t2 config (Azure#13810)
* storagesync readme t2 config * storagesync readme.python t2 config
1 parent 8028704 commit e17fdab

File tree

2 files changed

+15
-34
lines changed

2 files changed

+15
-34
lines changed

specification/storagesync/resource-manager/readme.md

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ This is not used by Autorest itself.
132132
swagger-to-sdk:
133133
- repo: azure-sdk-for-net
134134
- repo: azure-sdk-for-python
135+
- repo: azure-sdk-for-python-track2
135136
- repo: azure-sdk-for-java
136137
- repo: azure-sdk-for-go
137138
- repo: azure-sdk-for-js
@@ -159,33 +160,7 @@ csharp:
159160

160161
## Python
161162

162-
These settings apply only when `--python` is specified on the command line.
163-
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
164-
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
165-
166-
``` yaml $(python)
167-
python-mode: create
168-
python:
169-
azure-arm: true
170-
license-header: MICROSOFT_MIT_NO_VERSION
171-
payload-flattening-threshold: 2
172-
namespace: azure.mgmt.storagesync
173-
package-name: azure-mgmt-storagesync
174-
package-version: 1.0.0
175-
clear-output-folder: true
176-
```
177-
178-
``` yaml $(python) && $(python-mode) == 'update'
179-
python:
180-
no-namespace-folders: true
181-
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagesync/azure/mgmt/storagesync
182-
```
183-
184-
``` yaml $(python) && $(python-mode) == 'create'
185-
python:
186-
basic-setup-py: true
187-
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagesync
188-
```
163+
See configuration in [readme.python.md](./readme.python.md)
189164

190165
## Go
191166

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

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,46 @@
22

33
These settings apply only when `--python` is specified on the command line.
44
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.
56

67
```yaml $(python) && !$(track2)
8+
python-mode: create
79
python:
810
azure-arm: true
911
license-header: MICROSOFT_MIT_NO_VERSION
12+
payload-flattening-threshold: 2
1013
namespace: azure.mgmt.storagesync
1114
package-name: azure-mgmt-storagesync
12-
package-version: 2019-06-01
15+
package-version: 1.0.0
1316
clear-output-folder: true
1417
```
1518
```yaml $(python) && $(track2)
19+
python-mode: create
1620
azure-arm: true
1721
license-header: MICROSOFT_MIT_NO_VERSION
1822
namespace: azure.mgmt.storagesync
1923
package-name: azure-mgmt-storagesync
20-
package-version: 2019-06-01
24+
package-version: 1.0.0
2125
clear-output-folder: true
2226
```
2327
2428
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
2529
python:
2630
no-namespace-folders: true
27-
output-folder: $(python-sdks-folder)/storagesync/azure-mgmt-storagesync/azure/mgmt/storagesync
31+
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagesync/azure/mgmt/storagesync
2832
```
33+
2934
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
3035
python:
3136
basic-setup-py: true
32-
output-folder: $(python-sdks-folder)/storagesync/azure-mgmt-storagesync
37+
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagesync
3338
```
3439
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
3540
no-namespace-folders: true
36-
output-folder: $(python-sdks-folder)/storagesync/azure-mgmt-storagesync/azure/mgmt/storagesync
41+
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagesync/azure/mgmt/storagesync
3742
```
43+
3844
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
3945
basic-setup-py: true
40-
output-folder: $(python-sdks-folder)/storagesync/azure-mgmt-storagesync
41-
```
46+
output-folder: $(python-sdks-folder)/storage/azure-mgmt-storagesync
47+
```

0 commit comments

Comments
 (0)