Skip to content

Commit

Permalink
created a java readme and updated with new package tag (#5845)
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft authored and yungezz committed Aug 6, 2019
1 parent b6967e4 commit 4031db4
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 61 deletions.
75 changes: 75 additions & 0 deletions specification/containerservice/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
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.containerservice
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerservice
title: ContainerServiceManagementClient
description: "Container Service Client"
```
### Java multi-api
``` yaml $(java) && $(multiapi)
batch:
- tag: package-2019-04-only
- tag: package-2017-09-only
- tag: package-2017-08-only
- tag: package-2017-07
```
### Tag: package-2019-04-only and java
These settings apply only when `--tag=package-2019-04-only` 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-2019-04-only' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.containerservice.v2019_04_01
output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2019_04_01
regenerate-manager: true
generate-interface: true
```

### Tag: package-2017-09-only and java

These settings apply only when `--tag=package-2017-09-only` 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-2017-09-only' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.containerservice.v2017_09_30
output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_09_30
regenerate-manager: true
generate-interface: true
```

### Tag: package-2017-08-only and java

These settings apply only when `--tag=package-2017-08-only` 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-2017-08-only' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.containerservice.v2017_08_31
output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_08_31
regenerate-manager: true
generate-interface: true
```

### Tag: package-2017-07 and java

These settings apply only when `--tag=package-2017-07` 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-2017-07' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.containerservice.v2017_07_01
output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_07_01
regenerate-manager: true
generate-interface: true
```
62 changes: 1 addition & 61 deletions specification/containerservice/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,67 +306,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)
azure-arm: true
fluent: true
namespace: com.microsoft.azure.management.containerservice
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerservice
title: ContainerServiceManagementClient
description: "Container Service Client"
```

### Java multi-api

``` yaml $(java) && $(multiapi)
batch:
- tag: package-2017-09-only
- tag: package-2017-08-only
- tag: package-2017-07
```

### Tag: package-2017-09-only and java

These settings apply only when `--tag=package-2017-09-only` 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-2017-09-only' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.containerservice.v2017_09_30
output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_09_30
regenerate-manager: true
generate-interface: true
```

### Tag: package-2017-08-only and java

These settings apply only when `--tag=package-2017-08-only` 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-2017-08-only' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.containerservice.v2017_08_31
output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_08_31
regenerate-manager: true
generate-interface: true
```

### Tag: package-2017-07 and java

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

## Suppression

Expand Down

0 comments on commit 4031db4

Please sign in to comment.