Skip to content

Commit

Permalink
Update python track2 sdk for deviceupdate (Azure#13223)
Browse files Browse the repository at this point in the history
* Update python track2 sdk for deviceupdate

* fix
  • Loading branch information
00Kai0 authored and mkarmark committed Jul 20, 2021
1 parent a0e7165 commit 1101e7a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion specification/deviceupdate/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ This is not used by Autorest itself.
```yaml $(swagger-to-sdk)
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-go
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_deviceupdate']
Expand Down
28 changes: 16 additions & 12 deletions specification/deviceupdate/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,20 @@
These settings apply only when `--python` is specified on the command line.
Please also specify `--python-sdks-folder=<path to the root directory of your azure-sdk-for-python clone>`.

```yaml
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: azure.mgmt.deviceupdate
package-name: azure_mgmt_deviceupdate
package-version: 2020-03-01-preview
clear-output-folder: true
add-credentials: true
credential-scopes: 9347d57b-9e24-4142-b4a3-20576bf22aa3/.default
no-namespace-folders: true
output-folder: $(python-sdks-folder)/sdk/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate
```yaml $(python) && $(track2)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
package-name: azure-mgmt-deviceupdate
package-version: 1.0.0b1
no-namespace-folders: true
```
```yaml $(python) && $(track2) && $(python-mode) == 'update'
no-namespace-folders: true
output-folder: $(python-sdks-folder)/deviceupdate/azure-mgmt-deviceupdate/azure/mgmt/deviceupdate
```
```yaml $(python) && $(track2) && $(python-mode) == 'create'
basic-setup-py: true
output-folder: $(python-sdks-folder)/deviceupdate/azure-mgmt-deviceupdate
```

0 comments on commit 1101e7a

Please sign in to comment.