Skip to content

Commit

Permalink
Maintenance: add readme.java.md with tags (Azure#7801)
Browse files Browse the repository at this point in the history
  • Loading branch information
xseeseesee authored and AnuTalluri committed Dec 11, 2019
1 parent 081d49f commit d71b2ba
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 12 deletions.
33 changes: 33 additions & 0 deletions specification/maintenance/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## Java

These settings apply only when `--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 $(java)
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.maintenance
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-maintenance
```
### Java multi-api
``` yaml $(java) && $(multiapi)
batch:
- tag: package-2018-06-preview
```
### Tag: package-2018-06-preview and java
These settings apply only when `--tag=package-2018-06-preview --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-06-preview' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.maintenance.v2018_06_01_preview
output-folder: $(azure-libraries-for-java-folder)/maintenance/resource-manager/v2018_06_01_preview
regenerate-manager: true
generate-interface: true
```
13 changes: 1 addition & 12 deletions specification/maintenance/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,7 @@ See configuration in [readme.go.md](./readme.go.md)

## Java

These settings apply only when `--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 $(java)
java:
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.Maintenance
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-Maintenance
```
See configuration in [readme.java.md](./readme.java.md)

## Multi-API/Profile support for AutoRest v3 generators

Expand Down

0 comments on commit d71b2ba

Please sign in to comment.