Skip to content

Commit 5dad3b8

Browse files
authored
update readme (#18389)
* update readme * update readme * Update readme.python.md * Update readme.python.md
1 parent bc29e38 commit 5dad3b8

File tree

7 files changed

+31
-56
lines changed

7 files changed

+31
-56
lines changed

specification/managednetwork/resource-manager/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ This is not used by Autorest itself.
4747

4848
``` yaml $(swagger-to-sdk)
4949
swagger-to-sdk:
50-
- repo: azure-sdk-for-python
50+
- repo: azure-sdk-for-python-track2
5151
- repo: azure-sdk-for-java
5252
- repo: azure-sdk-for-go
5353
- repo: azure-sdk-for-net

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

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

55
``` yaml $(python)
6-
python:
7-
azure-arm: true
8-
license-header: MICROSOFT_MIT_NO_VERSION
9-
payload-flattening-threshold: 2
10-
package-name: azure-mgmt-managednetwork
11-
clear-output-folder: true
6+
azure-arm: true
7+
license-header: MICROSOFT_MIT_NO_VERSION
8+
package-name: azure-mgmt-managednetwork
9+
namespace: azure.mgmt.managednetwork
10+
package-version: 2019-06-01
11+
clear-output-folder: true
1212
```
1313
14-
``` yaml $(python) && $(python-mode) == 'update'
15-
python:
16-
no-namespace-folders: true
17-
output-folder: $(python-sdks-folder)/managednetwork/azure-mgmt-managednetwork/azure/mgmt/managednetwork
18-
```
19-
``` yaml $(python) && $(python-mode) == 'create'
20-
python:
21-
basic-setup-py: true
22-
output-folder: $(python-sdks-folder)/managednetwork/azure-mgmt-managednetwork
14+
``` yaml $(python)
15+
no-namespace-folders: true
16+
output-folder: $(python-sdks-folder)/managednetwork/azure-mgmt-managednetwork/azure/mgmt/managednetwork
2317
```

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
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.
65

7-
``` yaml $(python) && $(track2)
6+
``` yaml $(python)
87
azure-arm: true
98
license-header: MICROSOFT_MIT_NO_VERSION
109
namespace: azure.mgmt.loganalytics
@@ -13,15 +12,12 @@ package-version: 7.0.0b1
1312
clear-output-folder: true
1413
```
1514
16-
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
15+
``` yaml $(python)
1716
no-namespace-folders: true
1817
output-folder: $(python-sdks-folder)/loganalytics/azure-mgmt-loganalytics/azure/mgmt/loganalytics
1918
```
20-
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
21-
basic-setup-py: true
22-
output-folder: $(python-sdks-folder)/loganalytics/azure-mgmt-loganalytics
23-
```
24-
``` yaml $(python) && $(track2)
19+
20+
``` yaml $(python)
2521
modelerfour:
2622
lenient-model-deduplication: true
2723
```

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
55
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
66

77
``` yaml $(python)
8-
python-mode: create
98
azure-arm: true
109
license-header: MICROSOFT_MIT_NO_VERSION
1110
namespace: azure.mgmt.powerbiprivatelinks
@@ -14,12 +13,7 @@ package-version: 1.0.0b1
1413
clear-output-folder: true
1514
```
1615
17-
``` yaml $(python-mode) == 'update' && $(track2)
16+
``` yaml $(python)
1817
no-namespace-folders: true
1918
output-folder: $(python-sdks-folder)/powerbiprivatelinks/azure-mgmt-powerbiprivatelinks/azure/mgmt/powerbiprivatelinks
2019
```
21-
22-
``` yaml $(python-mode) == 'create' && $(track2)
23-
basic-setup-py: true
24-
output-folder: $(python-sdks-folder)/powerbiprivatelinks/azure-mgmt-powerbiprivatelinks
25-
```

specification/providerhub/resource-manager/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ This is not used by AutoRest itself.
9393

9494
```yaml $(swagger-to-sdk)
9595
swagger-to-sdk:
96-
- repo: azure-sdk-for-python
96+
- repo: azure-sdk-for-python-track2
9797
- repo: azure-sdk-for-java
9898
- repo: azure-sdk-for-go
9999
- repo: azure-sdk-for-go-track2

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

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,20 @@ 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>`.
55

66
```yaml $(python)
7-
python:
8-
azure-arm: true
9-
license-header: MICROSOFT_MIT_NO_VERSION
10-
payload-flattening-threshold: 2
11-
namespace: Microsoft.ProviderHub
12-
package-name: providerhub
13-
package-version: 2020-11-20
14-
clear-output-folder: true
7+
azure-arm: true
8+
license-header: MICROSOFT_MIT_NO_VERSION
9+
namespace: azure.mgmt.providerhub
10+
package-name: azure-mgmt-providerhub
11+
package-version: 2020-11-20
12+
clear-output-folder: true
1513
```
1614
17-
```yaml $(python)
18-
python:
19-
no-namespace-folders: true
20-
output-folder: $(python-sdks-folder)/azure-mgmt/providerhub
15+
``` yaml $(python)
16+
no-namespace-folders: true
17+
output-folder: $(python-sdks-folder)/providerhub/azure-mgmt-providerhub/azure/mgmt/providerhub
2118
```
2219
23-
``` yaml $(python) && $(python-mode) == 'update'
24-
python:
25-
no-namespace-folders: true
26-
output-folder: $(python-sdks-folder)/azure-mgmt/providerhub/azure/mgmt/providerhub
20+
``` yaml $(python)
21+
modelerfour:
22+
lenient-model-deduplication: true
2723
```

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,16 @@
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>`.
55

6-
``` yaml $(track2)
6+
``` yaml $(python)
77
azure-arm: true
88
license-header: MICROSOFT_MIT_NO_VERSION
99
package-name: azure-mgmt-recommendationsservice
10-
no-namespace-folders: true
10+
namespace: azure.mgmt.recommendationsservice
1111
package-version: 1.0.0b1
1212
clear-output-folder: true
1313
```
1414
15-
``` yaml $(python-mode) == 'update' && $(track2)
15+
``` yaml $(python)
1616
no-namespace-folders: true
1717
output-folder: $(python-sdks-folder)/recommendationsservice/azure-mgmt-recommendationsservice/azure/mgmt/recommendationsservice
18-
```
19-
20-
``` yaml $(python-mode) == 'create' && $(track2)
21-
basic-setup-py: true
22-
output-folder: $(python-sdks-folder)/recommendationsservice/azure-mgmt-recommendationsservice
2318
```

0 commit comments

Comments
 (0)