From 4ebba06e1f9015e99be6b420350c05f0f56fd1b8 Mon Sep 17 00:00:00 2001 From: Dan Schulte Date: Wed, 7 Mar 2018 13:49:52 -0800 Subject: [PATCH] Fix java code generation for resources --- .../resources/resource-manager/readme.md | 69 ++++++++++++++++++- 1 file changed, 68 insertions(+), 1 deletion(-) diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 8d342000696b..498abcccd8b0 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -631,8 +631,75 @@ Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-features-2015-12' && $(java) +java: + namespace: com.microsoft.azure.management.resources + output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-resources +``` + +### Tag: package-locks-2016-09 and java + +These settings apply only when `--tag=package-locks-2016-09 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-locks-2016-09' && $(java) +java: + payload-flattening-threshold: 1 + namespace: com.microsoft.azure.management.locks + output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-locks +``` + +### Tag: package-policy-2016-04 and java + +These settings apply only when `--tag=package-policy-2016-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-policy-2016-04' && $(java) +java: + namespace: com.microsoft.azure.management.resources + output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-resources +``` + +### Tag: package-resources-2016-09 and java + +These settings apply only when `--tag=package-resources-2016-09 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-resources-2016-09' && $(java) +java: + namespace: com.microsoft.azure.management.resources + output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-resources +``` + +### Tag: package-subscriptions-2016-06 and java + +These settings apply only when `--tag=package-subscriptions-2016-06--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2016-06' && $(java) +java: + namespace: com.microsoft.azure.management.resources output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-resources ```