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

Update Java readme #11243

Merged
merged 3 commits into from
Oct 19, 2020
Merged
Show file tree
Hide file tree
Changes from all 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
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