Skip to content

Commit

Permalink
add keyvault profile 20 09
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenTanyi committed Oct 16, 2020
1 parent 1cde96a commit 8941ee9
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions specification/keyvault/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,29 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-keyvault
```yaml $(java) && $(multiapi)
batch:
- tag: profile-hybrid-2020-09-01
- tag: package-2018-02-14-preview
- tag: package-2016-10
- tag: package-2015-06
```
### Tag: profile-hybrid-2020-09-01 and java
These settings apply only when `--tag=profile-hybrid-2020-09-01 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-sdk-for-java clone>`.

``` yaml $(tag) == 'profile-hybrid-2020-09-01' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.keyvault.v2019_09_01
output-folder: $(azure-libraries-for-java-folder)/sdk/keyvault/mgmt-v2019_09_01
regenerate-manager: true
generate-interface: true
directive:
from: keyvault.json
where: $.paths["/subscriptions/{subscriptionId}/resources"].get
transform: $['operationId'] = 'Vaults_ListResource'
```

### Tag: package-2018-02-14-preview and java

These settings apply only when `--tag=package-2018-02-14-preview --java` is specified on the command line.
Expand Down Expand Up @@ -95,3 +113,15 @@ input-file:
- Microsoft.KeyVault/stable/2016-10-01/keyvault.json
- Microsoft.KeyVault/stable/2016-10-01/secrets.json
```

### Tag: profile-hybrid-2020-09-01

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.

``` yaml $(tag) == 'profile-hybrid-2020-09-01'
input-file:
- Microsoft.KeyVault/stable/2019-09-01/providers.json
- Microsoft.KeyVault/stable/2019-09-01/keyvault.json
- Microsoft.KeyVault/stable/2019-09-01/secrets.json
```

0 comments on commit 8941ee9

Please sign in to comment.