Skip to content

Commit b32b3df

Browse files
zhangyan133Yan Zhang (WICRESOFT NORTH AMERICA LTD)
authored andcommitted
postgresql track2 configure (Azure#13463)
* postgresql track2 configure * postgre only t2 config Co-authored-by: Yan Zhang (WICRESOFT NORTH AMERICA LTD) <v-yanzhang@microsoft.com>
1 parent 56a28b9 commit b32b3df

File tree

2 files changed

+8
-24
lines changed

2 files changed

+8
-24
lines changed

specification/postgresql/resource-manager/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ This is not used by Autorest itself.
158158
``` yaml $(swagger-to-sdk)
159159
swagger-to-sdk:
160160
- repo: azure-sdk-for-net
161-
- repo: azure-sdk-for-python
161+
- repo: azure-sdk-for-python-track2
162162
- repo: azure-sdk-for-java
163163
- repo: azure-sdk-for-go
164164
- repo: azure-sdk-for-js

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

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,6 @@
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
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
6-
7-
``` yaml !$(track2)
8-
python:
9-
azure-arm: true
10-
license-header: MICROSOFT_MIT_NO_VERSION
11-
payload-flattening-threshold: 2
12-
package-name: azure-mgmt-rdbms
13-
clear-output-folder: true
14-
no-namespace-folders: true
15-
```
16-
176
These settings apply only when `--track2` is specified on the command line.
187

198
``` yaml $(track2)
@@ -27,17 +16,18 @@ no-namespace-folders: true
2716
2817
Generate all API versions currently shipped for this package
2918
30-
```yaml !$(track2)
19+
```yaml $(python) && $(multiapi) $(track2)
20+
clear-output-folder: true
3121
batch:
3222
- tag: package-2020-01-01
3323
- tag: package-2020-11-05-preview
24+
- multiapiscript: true
3425
```
3526
36-
```yaml $(track2)
37-
clear-output-folder: true
38-
batch:
39-
- tag: package-2020-01-01
40-
- tag: package-2020-11-05-preview
27+
``` yaml $(multiapiscript)
28+
output-folder: $(python-sdks-folder)/appservice/azure-mgmt-web/azure/mgmt/web/
29+
clear-output-folder: false
30+
perform-load: false
4131
```
4232
4333
### Tag: package-2020-01-01 and python
@@ -48,9 +38,6 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
4838
``` yaml $(tag) == 'package-2020-01-01' && $(python)
4939
namespace: azure.mgmt.rdbms.postgresql
5040
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql
51-
python:
52-
namespace: azure.mgmt.rdbms.postgresql
53-
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql
5441
```
5542

5643
### Tag: package-2020-11-05-preview and python
@@ -61,7 +48,4 @@ Please also specify `--python-sdks-folder=<path to the root directory of your az
6148
``` yaml $(tag) == 'package-2020-11-05-preview' && $(python)
6249
namespace: azure.mgmt.rdbms.postgresql_flexibleservers
6350
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql_flexibleservers
64-
python:
65-
namespace: azure.mgmt.rdbms.postgresql_flexibleservers
66-
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/postgresql_flexibleservers
6751
```

0 commit comments

Comments
 (0)