diff --git a/specification/eventhub/resource-manager/readme.java.md b/specification/eventhub/resource-manager/readme.java.md new file mode 100644 index 000000000000..3b9b1a0e5243 --- /dev/null +++ b/specification/eventhub/resource-manager/readme.java.md @@ -0,0 +1,62 @@ +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.eventhubs +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-eventhubs +service-name: EventHubs +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-01-preview + - tag: package-2015-08 + - tag: package-2017-04 +``` + +### Tag: package-2018-01-preview and java + +These settings apply only when `--tag=package-2018-01-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-01-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.eventhubs.v2018_01_01_preview + output-folder: $(azure-libraries-for-java-folder)/eventhubs/resource-manager/v2018_01_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2015-08 and java + +These settings apply only when `--tag=package-2015-08 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-08' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.eventhubs.v2015_08_01 + output-folder: $(azure-libraries-for-java-folder)/eventhubs/resource-manager/v2015_08_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-04 and java + +These settings apply only when `--tag=package-2017-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-04' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.eventhubs.v2017_04_01 + output-folder: $(azure-libraries-for-java-folder)/eventhubs/resource-manager/v2017_04_01 +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/eventhub/resource-manager/readme.md b/specification/eventhub/resource-manager/readme.md index c616b290721f..0f8148207e85 100644 --- a/specification/eventhub/resource-manager/readme.md +++ b/specification/eventhub/resource-manager/readme.md @@ -118,64 +118,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=`. - -``` yaml $(java) -azure-arm: true -fluent: true -namespace: com.microsoft.azure.management.eventhub -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-eventhub -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2018-01-preview - - tag: package-2015-08 - - tag: package-2017-04 -``` - -### Tag: package-2018-01-preview and java - -These settings apply only when `--tag=package-2018-01-preview --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2018-01-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.eventhub.v2018_01_01_preview - output-folder: $(azure-libraries-for-java-folder)/eventhub/resource-manager/v2018_01_01_preview -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2015-08 and java - -These settings apply only when `--tag=package-2015-08 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2015-08' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.eventhub.v2015_08_01 - output-folder: $(azure-libraries-for-java-folder)/eventhub/resource-manager/v2015_08_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2017-04 and java - -These settings apply only when `--tag=package-2017-04 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java=`. - -``` yaml $(tag) == 'package-2017-04' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.eventhub.v2017_04_01 - output-folder: $(azure-libraries-for-java-folder)/eventhub/resource-manager/v2017_04_01 -regenerate-manager: true -generate-interface: true -``` - - +See configuration in [readme.java.md](./readme.java.md) \ No newline at end of file