Skip to content

Commit

Permalink
feat: update java readme with version and directive (Azure#8834)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenTanyi authored and 00Kai0 committed Oct 12, 2020
1 parent bacc376 commit 46c106d
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
14 changes: 14 additions & 0 deletions specification/apimanagement/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-apimanagement
``` yaml $(java) && $(multiapi)
batch:
- tag: package-2019-12
- tag: package-2019-01
- tag: package-2018-06-preview
- tag: package-2018-01
Expand All @@ -24,6 +25,19 @@ batch:
- tag: package-2016-07
```
### Tag: package-2019-12 and java
These settings apply only when `--tag=package-2019-12 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.

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

### Tag: package-2019-01 and java

These settings apply only when `--tag=package-2019-01 --java` is specified on the command line.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerregistry
```
These settings apply only when `--multiapi` is not specified on the command line.

``` yaml $(java) && !$(multiapi)
directive:
- rename-model:
from: DockerBuildStep
to: DockerTaskStep
```

### Java multi-api

``` yaml $(java) && $(multiapi)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,24 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-recoveryservicesbac
``` yaml $(java) && $(multiapi)
batch:
- tag: package-2016-08
- tag: package-2020-02
directive:
- rename-operation:
from: Operations_List
to: Operation_List
```
### Tag: package-2020-02 and java
These settings apply only when `--tag=package-2020-02 --java` is specified on the command line.
Please also specify `--azure-libraries-for-java=<path to the root directory of your azure-sdk-for-java clone>`.

``` yaml $(tag) == 'package-2020-02' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.recoveryservices.backup.v2020_02_02
output-folder: $(azure-libraries-for-java-folder)/sdk/recoveryservices.backup/mgmt-v2020_02_02
regenerate-manager: true
generate-interface: true
```

### Tag: package-2016-08 and java
Expand Down

0 comments on commit 46c106d

Please sign in to comment.