Skip to content

Commit

Permalink
keyvault t2 config (Azure#13863)
Browse files Browse the repository at this point in the history
* keyvault t2 config

* keyvault multi-api config

* multi api config

* config reset

* add package version
  • Loading branch information
RAY-316 authored and dabenhamMic committed May 4, 2021
1 parent 6bcdeae commit 3bdd878
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
4 changes: 4 additions & 0 deletions specification/keyvault/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ swagger-to-sdk:

See configuration in [readme.go.md](./readme.go.md)

## Python

See configuration in [readme.python.md](./readme.python.md)

## Java

See configuration in [readme.java.md](./readme.java.md)
Expand Down
13 changes: 8 additions & 5 deletions specification/keyvault/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ 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>`.
Use `--python-mode=update` if you already have a setup.py and just want to update the code itself.

``` yaml
``` yaml $(python) && $(track2)
python-mode: create
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
namespace: azure.mgmt.keyvault
package-name: azure-mgmt-keyvault
package-version: 1.0.0b1
no-namespace-folders: true
```
Expand All @@ -21,7 +24,7 @@ batch:
- tag: package-2019-09
- tag: package-2018-02
- tag: package-2016-10
- tag: package-preview-2020-04
- tag: package-preview-2020-04-full
- tag: package-preview-2021-04
- multiapiscript: true
```
Expand All @@ -40,11 +43,11 @@ namespace: azure.mgmt.keyvault.v2021_04_01_preview
output-folder: $(python-sdks-folder)/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2021_04_01_preview
```

### Tag: package-preview-2020-04 and python
### Tag: package-preview-2020-04-full and python

These settings apply only when `--tag=package-preview-2020-04 --python` is specified on the command line.
These settings apply only when `--tag=package-preview-2020-04-full --python` is specified on the command line.

``` yaml $(tag) == 'package-preview-2020-04'
``` yaml $(tag) == 'package-preview-2020-04-full'
namespace: azure.mgmt.keyvault.v2020_04_01_preview
output-folder: $(python-sdks-folder)/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/v2020_04_01_preview
```
Expand Down

0 comments on commit 3bdd878

Please sign in to comment.