Skip to content

Commit

Permalink
added java readme (Azure#6471)
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft authored and celikcigdem committed Jul 17, 2019
1 parent 58996a7 commit d2a72e9
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 31 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
## 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.recoveryservices.siterecovery
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-recoveryservices.siterecovery
```
### Java multi-api
``` yaml $(java) && $(multiapi)
batch:
- tag: package-2018-01
- tag: package-2016-08
```
### Tag: package-2018-01 and java
These settings apply only when `--tag=package-2018-01--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-2018-01' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.recoveryservices.siterecovery.v2018_01_10
output-folder: $(azure-libraries-for-java-folder)/recoveryservices.siterecovery/resource-manager/v2018_01_10
regenerate-manager: true
generate-interface: true
```

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

These settings apply only when `--tag=package-2016-08 --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-2016-08' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.recoveryservices.siterecovery.v2016_08_10
output-folder: $(azure-libraries-for-java-folder)/recoveryservices.siterecovery/resource-manager/v2016_08_10
regenerate-manager: true
generate-interface: true
```
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,16 @@ These settings apply only when `--tag=package-2018-07` is specified on the comma
input-file:
- Microsoft.RecoveryServices/stable/2018-07-10/service.json
```

### Tag: package-2018-01

These settings apply only when `--tag=package-2018-01` is specified on the command line.

```yaml $(tag) == 'package-2018-01'
input-file:
- Microsoft.RecoveryServices/stable/2018-01-10/service.json
```

### Tag: package-2016-08

These settings apply only when `--tag=package-2018-01` is specified on the command line.
Expand Down Expand Up @@ -98,34 +108,4 @@ 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)
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.recoveryservicessiterecovery
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-recoveryservicessiterecovery
```

### Java multi-api

``` yaml $(java) && $(multiapi)
batch:
- tag: package-2016-08
```

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

These settings apply only when `--tag=package-2016-08 --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-2016-08' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.recoveryservicessiterecovery.v2018_01_10
output-folder: $(azure-libraries-for-java-folder)/recoveryservicessiterecovery/resource-manager/v2018_01_10
regenerate-manager: true
generate-interface: true
```
See configuration in [readme.java.md](./readme.java.md)

0 comments on commit d2a72e9

Please sign in to comment.