Skip to content

Commit 0f59438

Browse files
authored
Update python track2 sdk for deviceupdate (#13223)
* Update python track2 sdk for deviceupdate * fix
1 parent 717f252 commit 0f59438

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

specification/deviceupdate/resource-manager/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ This is not used by Autorest itself.
6161
```yaml $(swagger-to-sdk)
6262
swagger-to-sdk:
6363
- repo: azure-sdk-for-net
64-
- repo: azure-sdk-for-python
64+
- repo: azure-sdk-for-python-track2
6565
- repo: azure-sdk-for-go
6666
after_scripts:
6767
- bundle install && rake arm:regen_all_profiles['azure_mgmt_deviceupdate']

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

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,20 @@
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
7-
azure-arm: true
8-
license-header: MICROSOFT_MIT_NO_VERSION
9-
payload-flattening-threshold: 2
10-
namespace: azure.mgmt.deviceupdate
11-
package-name: azure_mgmt_deviceupdate
12-
package-version: 2020-03-01-preview
13-
clear-output-folder: true
14-
add-credentials: true
15-
credential-scopes: 9347d57b-9e24-4142-b4a3-20576bf22aa3/.default
16-
no-namespace-folders: true
17-
output-folder: $(python-sdks-folder)/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate
6+
```yaml $(python) && $(track2)
7+
azure-arm: true
8+
license-header: MICROSOFT_MIT_NO_VERSION
9+
package-name: azure-mgmt-deviceupdate
10+
package-version: 1.0.0b1
11+
no-namespace-folders: true
12+
```
13+
14+
```yaml $(python) && $(track2) && $(python-mode) == 'update'
15+
no-namespace-folders: true
16+
output-folder: $(python-sdks-folder)/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate
17+
```
18+
19+
```yaml $(python) && $(track2) && $(python-mode) == 'create'
20+
basic-setup-py: true
21+
output-folder: $(python-sdks-folder)/deviceupdate/azure-mgmt-deviceupdate
1822
```

0 commit comments

Comments
 (0)