Skip to content

Commit

Permalink
Update Java readme (Azure#11243)
Browse files Browse the repository at this point in the history
* add keyvault profile 20 09

* add resources 19 10

* add network 18 11
  • Loading branch information
ChenTanyi authored and giromm2ms committed Dec 20, 2020
1 parent 8e99783 commit efbed09
Show file tree
Hide file tree
Showing 3 changed files with 58 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
```
14 changes: 14 additions & 0 deletions specification/network/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ batch:
- tag: package-2019-06
- tag: package-2019-04
- tag: package-2019-02
- tag: package-2018-11
```
### Tag: package-2020-06 and java
Expand Down Expand Up @@ -184,6 +185,19 @@ java:
generate-interface: true
```

### Tag: package-2018-11 and java

These settings apply only when `--tag=package-2018-11 --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) == 'package-2018-11' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.network.v2018_11_01
output-folder: $(azure-libraries-for-java-folder)/sdk/network/mgmt-v2018_11_01
regenerate-manager: true
generate-interface: true
```

### Tag: package-2018-08 and java

These settings apply only when `--tag=package-2018-08 --java` is specified on the command line.
Expand Down
14 changes: 14 additions & 0 deletions specification/resources/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ batch:
- tag: package-policy-2018-03
- tag: package-policy-2016-12
- tag: package-resources-2020-06
- tag: package-resources-2019-10
- tag: package-resources-2019-08
- tag: package-resources-2019-07
- tag: package-resources-2019-0510
Expand Down Expand Up @@ -235,6 +236,19 @@ regenerate-manager: true
generate-interface: true
```

### Tag: package-resources-2019-10 and java

These settings apply only when `--tag=package-resources-2019-10 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java-folder=<path to the root directory of your azure-libraries-for-java clone>`.

``` yaml $(tag) == 'package-resources-2019-10' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.resources.v2019_10_01
output-folder: $(azure-libraries-for-java-folder)/sdk/resources/mgmt-v2019_10_01
regenerate-manager: true
generate-interface: true
```

### Tag: package-resources-2019-08 and java

These settings apply only when `--tag=package-resources-2019-08 --java` is specified on the command line.
Expand Down

0 comments on commit efbed09

Please sign in to comment.