Skip to content

Commit 58dc921

Browse files
00Kai0josuh
authored andcommitted
update rdbms track2 config (Azure#12245)
1 parent e3fac1d commit 58dc921

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

specification/mariadb/resource-manager/readme.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ These settings apply only when `--python` is specified on the command line.
144144
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.
145145
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.
146146

147-
``` yaml $(python)
147+
``` yaml $(python) && !$(track2)
148148
python-mode: create
149149
python:
150150
azure-arm: true
@@ -154,16 +154,34 @@ python:
154154
package-name: azure-mgmt-rdbms
155155
clear-output-folder: true
156156
```
157-
``` yaml $(python) && $(python-mode) == 'update'
157+
``` yaml $(python) && $(track2)
158+
python-mode: create
159+
azure-arm: true
160+
license-header: MICROSOFT_MIT_NO_VERSION
161+
namespace: azure.mgmt.rdbms.mariadb
162+
package-name: azure-mgmt-rdbms
163+
clear-output-folder: true
164+
modelerfour:
165+
lenient-model-deduplication: true
166+
```
167+
``` yaml $(python) && $(python-mode) == 'update' && !$(track2)
158168
python:
159169
no-namespace-folders: true
160170
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mariadb
161171
```
162-
``` yaml $(python) && $(python-mode) == 'create'
172+
``` yaml $(python) && $(python-mode) == 'create' && !$(track2)
163173
python:
164174
basic-setup-py: true
165175
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms
166176
```
177+
``` yaml $(python) && $(python-mode) == 'update' && $(track2)
178+
no-namespace-folders: true
179+
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms/azure/mgmt/rdbms/mariadb
180+
```
181+
``` yaml $(python) && $(python-mode) == 'create' && $(track2)
182+
basic-setup-py: true
183+
output-folder: $(python-sdks-folder)/rdbms/azure-mgmt-rdbms
184+
```
167185

168186
## Go
169187

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ azure-arm: true
2121
license-header: MICROSOFT_MIT_NO_VERSION
2222
package-name: azure-mgmt-rdbms
2323
no-namespace-folders: true
24+
modelerfour:
25+
lenient-model-deduplication: true
2426
```
2527

2628
### Python multi-api

0 commit comments

Comments
 (0)