Skip to content

Commit

Permalink
update python track2 config for redisenterprise (#12727)
Browse files Browse the repository at this point in the history
* update python track2 config for redisenterprise

* remove old namespace

* fix

* fix
  • Loading branch information
00Kai0 authored Feb 2, 2021
1 parent c40f8fa commit 1ea74f1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion specification/redisenterprise/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,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-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-js
Expand Down
28 changes: 15 additions & 13 deletions specification/redisenterprise/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,21 @@
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 $(python)
python:
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
payload-flattening-threshold: 2
namespace: Microsoft.Cache
package-name: redisenterprise
package-version: 2020-10-01-preview
clear-output-folder: true
```yaml $(python) && $(track2)
python-mode: create
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.redisenterprise
package-name: azure-mgmt-redisenterprise
package-version: 1.0.0b1
clear-output-folder: true
```
```yaml $(python)
python:
no-namespace-folders: true
output-folder: $(python-sdks-folder)/azure-mgmt/redisenterprise
```yaml $(python) && $(python-mode) == 'update'
no-namespace-folders: true
output-folder: $(python-sdks-folder)/redisenterprise/azure-mgmt-redisenterprise/azure/mgmt/redisenterprise
```
```yaml $(python) && $(python-mode) == 'create'
basic-setup-py: true
output-folder: $(python-sdks-folder)/redisenterprise/azure-mgmt-redisenterprise
```

0 comments on commit 1ea74f1

Please sign in to comment.