Skip to content

Commit

Permalink
Alertsmanagement: updated java tags and added java readme (#6498)
Browse files Browse the repository at this point in the history
* generates java code into azure-mgmt-alertsmanagement folder

* updated alertsmanagement java tags
  • Loading branch information
iscai-msft authored and lmazuel committed Jul 17, 2019
1 parent f36a07c commit 1df5832
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 12 deletions.
76 changes: 76 additions & 0 deletions specification/alertsmanagement/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
## 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.alertsmanagement
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-alertsmanagement
```
### Java multi-api
``` yaml $(java) && $(multiapi)
batch:
- tag: package-preview-2019-05
- tag: package-2019-03
- tag: package-2018-05
- tag: package-2018-05-preview
```
### Tag: package-preview-2019-05 and java
These settings apply only when `--tag=package-preview-2019-05 --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-preview-2019-05' && $(java) && $(multiapi)
java:
namespace: com.microsoft.azure.management.alertsmanagement.v2019_05_05_preview
output-folder: $(azure-libraries-for-java-folder)/alertsmanagement/resource-manager/v2019_05_05_preview
regenerate-manager: true
generate-interface: true
```

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

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


### Tag: package-2018-05 and java

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

### Tag: package-2018-05-preview and java

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

0 comments on commit 1df5832

Please sign in to comment.