diff --git a/specification/authorization/resource-manager/readme.java.md b/specification/authorization/resource-manager/readme.java.md new file mode 100644 index 000000000000..b60b3d715d8a --- /dev/null +++ b/specification/authorization/resource-manager/readme.java.md @@ -0,0 +1,74 @@ +## 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.authorization +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-authorization +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-09-01-preview + - tag: package-2018-07-01-preview-only + - tag: package-2015-06-01-preview +``` + +### Tag: package-2018-09-01-preview and java + +These settings apply only when `--tag=package-2018-09-01-preview --java` is specified on he command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-09-01-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.authorization.v2018_09_01_preview + output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2018_09_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-07-01-preview-only and java + +These settings apply only when `--tag=package-2018-07-01-preview-only --java` is specified on he command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-07-01-preview-only' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.authorization.v2018_07_01_preview + output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2018_07_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2015-07-01 and java + +These settings apply only when `--tag=package-2015-07-01 --java` is specified on he command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2015-07-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.authorization.v2015_07_01 + output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2015_07_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2015-06-01-preview and java + +These settings apply only when `--tag=package-2015-06-01-preview --java` is specified on he command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2015-06-01-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.authorization.v2015_06_01 + output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2015_06_01 +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/authorization/resource-manager/readme.md b/specification/authorization/resource-manager/readme.md index 0273a3a234a4..63d1b36a237a 100644 --- a/specification/authorization/resource-manager/readme.md +++ b/specification/authorization/resource-manager/readme.md @@ -153,6 +153,19 @@ input-file: - Microsoft.Authorization/preview/2018-07-01-preview/authorization-DenyAssignmentGetCalls.json ``` +### Tag: profile-hybrid-2019-03-01 + +These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line. +Creating this tag to pick proper resources from the hybrid profile. + +``` yaml $(tag) == 'profile-hybrid-2019-03-01' +input-file: +- Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json +- Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json +``` + --- # Code Generation @@ -182,61 +195,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.authorization -license-header: MICROSOFT_MIT_NO_CODEGEN -payload-flattening-threshold: 1 -output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-authorization -``` - -### Java multi-api - -``` yaml $(java) && $(multiapi) -batch: - - tag: package-2015-07-01 - - tag: package-2018-09-01-preview -``` - -### Tag: package-2018-09-01-preview and java - -These settings apply only when `--tag=package-2018-09-01-preview --java` is specified on he command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2018-09-01-preview' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.authorization.v2018_09_01_preview - output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2018_09_01_preview -regenerate-manager: true -generate-interface: true -``` - -### Tag: package-2015-07-01 and java - -These settings apply only when `--tag=package-2015-07-01 --java` is specified on he command line. -Please also specify `--azure-libraries-for-java-folder=`. - -``` yaml $(tag) == 'package-2015-07-01' && $(java) && $(multiapi) -java: - namespace: com.microsoft.azure.management.authorization.v2015_07_01 - output-folder: $(azure-libraries-for-java-folder)/authorization/resource-manager/v2015_07_01 -regenerate-manager: true -generate-interface: true -``` - -### Tag: profile-hybrid-2019-03-01 - -These settings apply only when `--tag=profile-hybrid-2019-03-01` is specified on the command line. -Creating this tag to pick proper resources from the hybrid profile. - -``` yaml $(tag) == 'profile-hybrid-2019-03-01' -input-file: -- Microsoft.Authorization/stable/2015-07-01/authorization-RoleDefinitionsCalls.json -- Microsoft.Authorization/stable/2015-07-01/authorization-ProviderOperationsCalls.json -- Microsoft.Authorization/stable/2015-07-01/authorization-ElevateAccessCalls.json -- Microsoft.Authorization/stable/2015-07-01/authorization-RoleAssignmentsCalls.json -``` +See configuration in [readme.java.md](./readme.java.md)