Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions specification/imagebuilder/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
## Java

These settings apply only when `--java` is specified on the command line.

``` yaml $(java)
directive:
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

directive here

- from: imagebuilder.json
where: $.definitions.ImageTemplateProperties.properties.validate
transform: >
$["x-ms-client-name"] = "validation";
reason: property name validate collides with built-in method name
```
45 changes: 1 addition & 44 deletions specification/imagebuilder/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,47 +115,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.imagebuilder
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-imagebuilder
```

### Java multi-api

``` yaml $(java) && $(multiapi)
batch:
- tag: package-2019-02
```

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

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

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

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