Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keyvault t2 config #13863

Merged
merged 5 commits into from
Apr 12, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions specification/keyvault/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,17 @@ input-file:
- Microsoft.KeyVault/preview/2021-04-01-preview/providers.json
- Microsoft.KeyVault/preview/2021-04-01-preview/secrets.json
```
### Tag: package-preview-2020-04-only

These settings apply only when `--tag=package-preview-2020-04-only` is specified on the command line.
This tag is for the development of preview features related to managed HSM of Azure CLI and PowerShell.

``` yaml $(tag) == 'package-preview-2020-04-only'
input-file:
- Microsoft.KeyVault/preview/2020-04-01-preview/managedHsm.json
```


### Tag: package-preview-2020-04

These settings apply only when `--tag=package-preview-2020-04` is specified on the command line.
Expand Down Expand Up @@ -169,6 +180,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-only
- 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-only 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-only --python` is specified on the command line.

``` yaml $(tag) == 'package-preview-2020-04'
``` yaml $(tag) == 'package-preview-2020-04-only'
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