This is the AutoRest configuration file for KeyVault.
To build the SDK for KeyVault, simply Install AutoRest and in this folder, run:
autorest
To see additional help and options, run:
autorest --help
These are the global settings for the KeyVault API.
openapi-type: arm
tag: package-2019-09
These settings apply only when --tag=package-preview-2020-04
is specified on the command line.
This tag is for the development of preview features related to managed HSM of Azure CLI and PowerShell.
input-file:
- Microsoft.KeyVault/stable/2019-09-01/keyvault.json
- Microsoft.KeyVault/stable/2019-09-01/providers.json
- Microsoft.KeyVault/preview/2020-04-01-preview/managedHsm.json
These settings apply only when --tag=package-preview-2020-04-full
is specified on the command line.
input-file:
- Microsoft.KeyVault/preview/2020-04-01-preview/keyvault.json
- Microsoft.KeyVault/preview/2020-04-01-preview/providers.json
- Microsoft.KeyVault/preview/2020-04-01-preview/secrets.json
- Microsoft.KeyVault/preview/2020-04-01-preview/managedHsm.json
These settings apply only when --tag=package-2019-09
is specified on the command line.
input-file:
- Microsoft.KeyVault/stable/2019-09-01/keyvault.json
- Microsoft.KeyVault/stable/2019-09-01/providers.json
- Microsoft.KeyVault/stable/2019-09-01/keys.json
These settings apply only when --tag=package-2018-02-14-preview
is specified on the command line.
input-file:
- Microsoft.KeyVault/preview/2018-02-14-preview/keyvault.json
- Microsoft.KeyVault/preview/2018-02-14-preview/providers.json
These settings apply only when --tag=package-2018-02
is specified on the command line.
input-file:
- Microsoft.KeyVault/stable/2018-02-14/keyvault.json
- Microsoft.KeyVault/stable/2018-02-14/providers.json
These settings apply only when --tag=package-2016-10
is specified on the command line.
input-file:
- Microsoft.KeyVault/stable/2016-10-01/keyvault.json
- Microsoft.KeyVault/stable/2016-10-01/providers.json
These settings apply only when --tag=package-2015-06
is specified on the command line.
input-file:
- Microsoft.KeyVault/stable/2015-06-01/keyvault.json
These settings apply only when --tag=profile-hybrid-2020-09-01
is specified on the command line.
Creating this tag to pick proper resources from the hybrid profile.
input-file:
- Microsoft.KeyVault/stable/2019-09-01/keyvault.json
- Microsoft.KeyVault/stable/2019-09-01/providers.json
- Microsoft.KeyVault/stable/2019-09-01/secrets.json
directive:
- suppress:
- R3026 # The 'PrivateEndpointConnection' and 'PrivateLinkResource' sub-resources don't define PATCH as per Network Team's specification.
- R3025 # The 'PrivateLinkResource' is only accessible via List operation; does not define GET as per Network Team's specification.
This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-net
- repo: azure-sdk-for-python
after_scripts:
- python ./scripts/multiapi_init_gen.py azure-mgmt-keyvault
- repo: azure-sdk-for-python-track2
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-node
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
after_scripts:
- bundle install && rake arm:regen_all_profiles['azure_mgmt_key_vault']
- repo: azure-resource-manager-schemas
after_scripts:
- node sdkauto_afterscript.js keyvault/resource-manager
See configuration in readme.go.md
See configuration in readme.java.md
See configuration in readme.azureresourceschema.md