From 8941ee9e6390ea417683e372e29671088b2ea213 Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Fri, 16 Oct 2020 14:44:53 +0800 Subject: [PATCH 1/3] add keyvault profile 20 09 --- .../keyvault/resource-manager/readme.java.md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/specification/keyvault/resource-manager/readme.java.md b/specification/keyvault/resource-manager/readme.java.md index 161b5ee85134..cd19bdec7637 100644 --- a/specification/keyvault/resource-manager/readme.java.md +++ b/specification/keyvault/resource-manager/readme.java.md @@ -15,11 +15,29 @@ output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-keyvault ```yaml $(java) && $(multiapi) batch: + - tag: profile-hybrid-2020-09-01 - tag: package-2018-02-14-preview - tag: package-2016-10 - tag: package-2015-06 ``` +### Tag: profile-hybrid-2020-09-01 and java + +These settings apply only when `--tag=profile-hybrid-2020-09-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'profile-hybrid-2020-09-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.keyvault.v2019_09_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/keyvault/mgmt-v2019_09_01 +regenerate-manager: true +generate-interface: true +directive: + from: keyvault.json + where: $.paths["/subscriptions/{subscriptionId}/resources"].get + transform: $['operationId'] = 'Vaults_ListResource' +``` + ### Tag: package-2018-02-14-preview and java These settings apply only when `--tag=package-2018-02-14-preview --java` is specified on the command line. @@ -95,3 +113,15 @@ input-file: - Microsoft.KeyVault/stable/2016-10-01/keyvault.json - Microsoft.KeyVault/stable/2016-10-01/secrets.json ``` + +### Tag: profile-hybrid-2020-09-01 + +These settings apply only when `--tag=profile-hybrid-2020-09-01` is specified on the command line. +Creating this tag to pick proper resources from the hybrid profile. + +``` yaml $(tag) == 'profile-hybrid-2020-09-01' +input-file: +- Microsoft.KeyVault/stable/2019-09-01/providers.json +- Microsoft.KeyVault/stable/2019-09-01/keyvault.json +- Microsoft.KeyVault/stable/2019-09-01/secrets.json +``` From 4445376b3e6c5ee4c3dbb86f6c99124a22c9eb0d Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Fri, 16 Oct 2020 14:48:06 +0800 Subject: [PATCH 2/3] add resources 19 10 --- .../resources/resource-manager/readme.java.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/specification/resources/resource-manager/readme.java.md b/specification/resources/resource-manager/readme.java.md index 304ceb45ad50..d30e39917517 100644 --- a/specification/resources/resource-manager/readme.java.md +++ b/specification/resources/resource-manager/readme.java.md @@ -60,6 +60,7 @@ batch: - tag: package-policy-2018-03 - tag: package-policy-2016-12 - tag: package-resources-2020-06 + - tag: package-resources-2019-10 - tag: package-resources-2019-08 - tag: package-resources-2019-07 - tag: package-resources-2019-0510 @@ -235,6 +236,19 @@ regenerate-manager: true generate-interface: true ``` +### Tag: package-resources-2019-10 and java + +These settings apply only when `--tag=package-resources-2019-10 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-resources-2019-10' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.resources.v2019_10_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/resources/mgmt-v2019_10_01 +regenerate-manager: true +generate-interface: true +``` + ### Tag: package-resources-2019-08 and java These settings apply only when `--tag=package-resources-2019-08 --java` is specified on the command line. From 29f7e884c155175b8b69f17643f04a626643a519 Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Fri, 16 Oct 2020 14:54:50 +0800 Subject: [PATCH 3/3] add network 18 11 --- .../network/resource-manager/readme.java.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/specification/network/resource-manager/readme.java.md b/specification/network/resource-manager/readme.java.md index 19eb6c7ecd1a..e05a5f82adf3 100644 --- a/specification/network/resource-manager/readme.java.md +++ b/specification/network/resource-manager/readme.java.md @@ -39,6 +39,7 @@ batch: - tag: package-2019-06 - tag: package-2019-04 - tag: package-2019-02 + - tag: package-2018-11 ``` ### Tag: package-2020-06 and java @@ -184,6 +185,19 @@ java: generate-interface: true ``` +### Tag: package-2018-11 and java + +These settings apply only when `--tag=package-2018-11 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-11' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.network.v2018_11_01 + output-folder: $(azure-libraries-for-java-folder)/sdk/network/mgmt-v2018_11_01 + regenerate-manager: true + generate-interface: true +``` + ### Tag: package-2018-08 and java These settings apply only when `--tag=package-2018-08 --java` is specified on the command line.