From 3a5b54168f823c5d14eafd5e18e89c2e54c92469 Mon Sep 17 00:00:00 2001 From: Jianghao Lu Date: Tue, 12 Jun 2018 14:05:37 -0700 Subject: [PATCH] Java multi api (#3221) * Fix ASE instance metrics url * Add java multi-api sections in select readme files * Add java multi api to network (temporary) * Add Java multi api to resources * Fix readme for Java in media * Add web app multiapi * Add multi api for web app and network * sync with master (#3153) * Use common Resource & Sku definitions in all Sql specs (#3134) * Use common Resource & Sku definitions * Don't use common Sku definition * Just use common SQL definitions * Fixed syntax error * Fixed another syntax error * Fixed sku ref error * Fixed syntax error in example * Fix Python conf of servermanager (#3140) * Fix ServerManager Py Conf (#3141) * Plug SwaggerToSdk to LogAnalyticsMgmt (#3142) * [Storage] Support Management policy on new api version 2018-03-01-preview (#3137) * [Storage] Add new API version 2018-03-01-preview * [Storage] Update rest version 2018-03-01-preview * [Storage] Support Management Policy * [Storage] Update since code review comments * Add Python conf * [Storage] Add managment policy doc link to policy description. * [Storage] modify as review comments * RSA key size examples, ECC descriptions (#3136) * RSA key size examples, ECC descriptions * remove preview changes for now * Added GroupType property in HybridWorkerGroup (#3132) * Watcher resource swagger specs. For more details on the Usage of the resource: https://docs.microsoft.com/en-us/azure/automation/automation-watchers-tutorial (#3102) * Watcher specs * using the same model for get/put input and output. * Fix storage Python conf (#3148) * Fix for Azure Networking swagger 2018-04-01 version (#3146) * Adding storage 2018-03-01-preview to java multi-api section (#3155) * readme for resource,keyvault,web * Fix keyvault namespace * Fix keyvault,dns, add storage 2016-01-01 * Fix web and storage multi api config * Add java multi api for authorization, iotcentral, keyvault, resources * Add policyinsights and fconfig to resources * Fix web app output path * Multiapibatch (#3205) * Change all existing ##Java sections * Add java multi api sections * Use azure-sdk-for-java repo * Fix typo in batch readme --- .../addons/resource-manager/readme.md | 47 +++++++- .../resource-manager/readme.md | 15 ++- .../advisor/resource-manager/readme.md | 63 +++++++++-- .../resource-manager/readme.md | 77 +++++++++++-- .../apimanagement/resource-manager/readme.md | 77 +++++++++++-- .../resource-manager/readme.md | 15 ++- .../authorization/resource-manager/readme.md | 33 ++++-- .../automation/resource-manager/readme.md | 35 ++++-- .../azurestack/resource-manager/readme.md | 35 ++++-- .../batch/resource-manager/readme.md | 79 ++++++++++++-- .../batchai/resource-manager/readme.md | 61 +++++++++-- .../billing/resource-manager/readme.md | 63 +++++++++-- .../botservice/resource-manager/readme.md | 22 ++++ specification/cdn/resource-manager/readme.md | 2 +- .../data-plane/ComputerVision/readme.md | 2 +- .../data-plane/ContentModerator/readme.md | 2 +- .../data-plane/CustomImageSearch/readme.md | 2 +- .../data-plane/CustomWebSearch/readme.md | 2 +- .../data-plane/EntitySearch/readme.md | 2 +- .../data-plane/Face/readme.md | 2 +- .../data-plane/ImageSearch/readme.md | 2 +- .../data-plane/NewsSearch/readme.md | 2 +- .../data-plane/SpellCheck/readme.md | 2 +- .../data-plane/TextAnalytics/readme.md | 2 +- .../data-plane/VideoSearch/readme.md | 2 +- .../resource-manager/readme.md | 49 +++++++-- .../commerce/resource-manager/readme.md | 35 ++++-- .../compute/resource-manager/readme.md | 77 +++++++++++-- .../consumption/resource-manager/readme.md | 103 +++++++++++++++++- .../resource-manager/readme.md | 91 ++++++++++++++-- .../resource-manager/readme.md | 77 +++++++++++-- .../resource-manager/readme.md | 64 +++++++++-- .../cosmos-db/resource-manager/readme.md | 35 ++++-- .../resource-manager/readme.md | 49 +++++++-- .../databricks/resource-manager/readme.md | 22 ++++ .../datacatalog/resource-manager/readme.md | 33 +++++- .../datafactory/resource-manager/readme.md | 37 +++++-- .../datalake-analytics/data-plane/readme.md | 2 +- .../resource-manager/readme.md | 38 ++++++- .../datalake-store/resource-manager/readme.md | 38 ++++++- .../datamigration/resource-manager/readme.md | 47 +++++++- .../resource-manager/readme.md | 63 +++++++++-- .../devtestlabs/resource-manager/readme.md | 49 +++++++-- specification/dns/resource-manager/readme.md | 47 ++++++-- .../domainservices/resource-manager/readme.md | 47 +++++++- specification/eventgrid/data-plane/readme.md | 28 ++++- .../eventgrid/resource-manager/readme.md | 47 ++++++-- .../eventhub/resource-manager/readme.md | 63 +++++++++-- specification/graphrbac/data-plane/readme.md | 2 +- .../hanaonazure/resource-manager/readme.md | 35 ++++-- .../hdinsight/resource-manager/readme.md | 35 ++++-- .../intune/resource-manager/readme.md | 13 +-- .../iotcentral/resource-manager/readme.md | 33 ++++-- .../iothub/resource-manager/readme.md | 33 ++++-- .../iotspaces/resource-manager/readme.md | 22 ++++ .../keyvault/resource-manager/readme.md | 51 +++++++-- .../logic/resource-manager/readme.md | 33 ++++-- .../resource-manager/readme.md | 77 +++++++++++-- .../resource-manager/readme.md | 35 ++++-- .../resource-manager/readme.md | 33 +++++- .../resource-manager/readme.md | 33 +++++- .../resource-manager/readme.md | 77 +++++++++++-- .../resource-manager/readme.md | 22 ++++ specification/maps/resource-manager/readme.md | 47 +++++++- .../resource-manager/readme.md | 33 +++++- .../mediaservices/resource-manager/readme.md | 47 ++++++-- .../migrate/resource-manager/readme.md | 22 ++++ .../monitor/resource-manager/readme.md | 15 ++- specification/msi/resource-manager/readme.md | 35 ++++-- .../mysql/resource-manager/readme.md | 33 ++++-- .../network/resource-manager/readme.md | 57 ++++++++-- .../resource-manager/readme.md | 63 +++++++++-- .../resource-manager/readme.md | 49 +++++++-- .../resource-manager/readme.md | 33 +++++- .../policyinsights/resource-manager/readme.md | 34 ++++-- .../postgresql/resource-manager/readme.md | 33 ++++-- .../resource-manager/readme.md | 33 +++++- .../resource-manager/readme.md | 35 ++++-- .../resource-manager/readme.md | 35 ++++-- .../resource-manager/readme.md | 35 ++++-- .../resource-manager/readme.md | 35 ++++-- .../redis/resource-manager/readme.md | 48 ++++++-- .../relay/resource-manager/readme.md | 49 +++++++-- .../reservations/resource-manager/readme.md | 35 ++++-- .../resourcehealth/resource-manager/readme.md | 49 +++++++-- .../resources/resource-manager/readme.md | 95 ++++++++++++---- .../scheduler/resource-manager/readme.md | 63 +++++++++-- .../search/resource-manager/readme.md | 49 +++++++-- .../resource-manager/readme.md | 49 +++++++-- .../service-map/resource-manager/readme.md | 35 ++++-- .../servicebus/resource-manager/readme.md | 49 +++++++-- .../servicefabric/data-plane/readme.md | 2 +- .../servicefabric/resource-manager/readme.md | 49 +++++++-- .../signalr/resource-manager/readme.md | 33 ++++-- specification/sql/resource-manager/readme.md | 49 +++++++-- .../storage/resource-manager/readme.md | 73 +++++++++++-- .../resource-manager/readme.md | 35 ++++-- .../resource-manager/readme.md | 35 ++++-- .../resource-manager/readme.md | 31 +++++- .../subscription/resource-manager/readme.md | 33 +++++- .../resource-manager/readme.md | 49 +++++++-- .../trafficmanager/resource-manager/readme.md | 77 +++++++++++-- .../visualstudio/resource-manager/readme.md | 35 ++++-- .../2018-02-01/AppServiceEnvironments.json | 4 +- specification/web/resource-manager/readme.md | 75 +++++++++++-- 105 files changed, 3494 insertions(+), 602 deletions(-) diff --git a/specification/addons/resource-manager/readme.md b/specification/addons/resource-manager/readme.md index 948352b2fbd5..0cd20a268d8e 100644 --- a/specification/addons/resource-manager/readme.md +++ b/specification/addons/resource-manager/readme.md @@ -138,11 +138,46 @@ 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.addons +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-addons +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-03 + - tag: package-2017-05 +``` + +### Tag: package-2018-03 and java + +These settings apply only when `--tag=package-2018-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-03' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.addons - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-addons + namespace: com.microsoft.azure.management.addons.v2018_03_01 + output-folder: $(azure-libraries-for-java-folder)/addons/resource-manager/v2018_03_01 +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2017-05 and java + +These settings apply only when `--tag=package-2017-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-05' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.addons.v2017_05_15 + output-folder: $(azure-libraries-for-java-folder)/addons/resource-manager/v2017_05_15 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/adhybridhealthservice/resource-manager/readme.md b/specification/adhybridhealthservice/resource-manager/readme.md index 63b10bd1c3d5..0894fbe80bdd 100644 --- a/specification/adhybridhealthservice/resource-manager/readme.md +++ b/specification/adhybridhealthservice/resource-manager/readme.md @@ -51,7 +51,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node ``` @@ -120,11 +120,10 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.adhybridhealthservice - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-adhybridhealthservice +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.adhybridhealthservice +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-adhybridhealthservice ``` diff --git a/specification/advisor/resource-manager/readme.md b/specification/advisor/resource-manager/readme.md index 89c503eeb790..e6e052367f27 100644 --- a/specification/advisor/resource-manager/readme.md +++ b/specification/advisor/resource-manager/readme.md @@ -70,7 +70,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node ``` @@ -159,11 +159,60 @@ 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.advisor +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-advisor +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-03 + - tag: package-2017-04 + - tag: package-2016-07-preview +``` + +### Tag: package-2017-03 and java + +These settings apply only when `--tag=package-2017-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-03' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.advisor - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-advisor + namespace: com.microsoft.azure.management.advisor.v2017_03_31 + output-folder: $(azure-libraries-for-java-folder)/advisor/resource-manager/v2017_03_31 +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.advisor.v2017_04_19 + output-folder: $(azure-libraries-for-java-folder)/advisor/resource-manager/v2017_04_19 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-07-preview and java + +These settings apply only when `--tag=package-2016-07-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-07-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.advisor.v2016_07_12_preview + output-folder: $(azure-libraries-for-java-folder)/advisor/resource-manager/v2016_07_12_preview +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/analysisservices/resource-manager/readme.md b/specification/analysisservices/resource-manager/readme.md index 0a68b7598f04..5e96e69f552b 100644 --- a/specification/analysisservices/resource-manager/readme.md +++ b/specification/analysisservices/resource-manager/readme.md @@ -164,11 +164,74 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.analysisservices - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-analysisservices +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.analysisservices +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-analysisservices ``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-05 + - tag: package-2017-07 + - tag: package-2017-08 + - tag: package-2017-08-beta +``` + +### Tag: package-2016-05 and java + +These settings apply only when `--tag=package-2016-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-05' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.analysisservices.v2016_05_16 + output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2016_05_16 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-07 and java + +These settings apply only when `--tag=package-2017-07 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.analysisservices.v2017_07_14 + output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2017_07_14 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-08 and java + +These settings apply only when `--tag=package-2017-08 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-08' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.analysisservices.v2017_08_01 + output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2017_08_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-08-beta and java + +These settings apply only when `--tag=package-2017-08-beta --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-08-beta' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.analysisservices.v2017_08_01_beta + output-folder: $(azure-libraries-for-java-folder)/analysisservices/resource-manager/v2017_08_01_beta +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/apimanagement/resource-manager/readme.md b/specification/apimanagement/resource-manager/readme.md index ca6688f9edd7..e971de0d80a5 100644 --- a/specification/apimanagement/resource-manager/readme.md +++ b/specification/apimanagement/resource-manager/readme.md @@ -249,11 +249,74 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.apimanagement - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-apimanagement +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.apimanagement +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-apimanagement ``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-07 + - tag: package-2016-10 + - tag: package-2018-01 + - tag: package-2017-03 +``` + +### Tag: package-2016-07 and java + +These settings apply only when `--tag=package-2016-07 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-07' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.apimanagement.v2016_07_07 + output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2016_07_07 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-10 and java + +These settings apply only when `--tag=package-2016-10 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-10' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.apimanagement.v2016_10_10 + output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2016_10_10 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-01 and java + +These settings apply only when `--tag=package-2018-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.apimanagement.v2018_01_01 + output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2018_01_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-03 and java + +These settings apply only when `--tag=package-2017-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.apimanagement.v2017_03_01 + output-folder: $(azure-libraries-for-java-folder)/apimanagement/resource-manager/v2017_03_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index 1367e03a92b5..f023307843e2 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -280,7 +280,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node ``` @@ -363,13 +363,12 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.applicationinsights - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-applicationinsights +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.applicationinsights +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-applicationinsights ``` ### Tag: schema-2015-05-preview diff --git a/specification/authorization/resource-manager/readme.md b/specification/authorization/resource-manager/readme.md index 765008a2ceb2..eeaf316b2749 100644 --- a/specification/authorization/resource-manager/readme.md +++ b/specification/authorization/resource-manager/readme.md @@ -117,7 +117,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -206,11 +206,30 @@ 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 +``` + +### Tag: package-2015-07 and java + +These settings apply only when `--tag=package-2015-07 --java` is specified on he command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2015-07' && $(java) && $(multiapi) 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 + 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 ``` diff --git a/specification/automation/resource-manager/readme.md b/specification/automation/resource-manager/readme.md index 331bec4f2156..27c21c227dda 100644 --- a/specification/automation/resource-manager/readme.md +++ b/specification/automation/resource-manager/readme.md @@ -243,11 +243,32 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.automation - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-automation +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.automation +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-automation ``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-10 +``` + +### Tag: package-2015-10 and java + +These settings apply only when `--tag=package-2015-10 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-10' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.automation.v2015_10_31 + output-folder: $(azure-libraries-for-java-folder)/automation/resource-manager/v2015_10_31 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/azurestack/resource-manager/readme.md b/specification/azurestack/resource-manager/readme.md index 73b67b3de297..515cc54d8cab 100644 --- a/specification/azurestack/resource-manager/readme.md +++ b/specification/azurestack/resource-manager/readme.md @@ -71,7 +71,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go ``` @@ -138,11 +138,32 @@ 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.azurestack +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-azurestack +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-06-01 +``` + +### Tag: package-2017-06-01 and java + +These settings apply only when `--tag=package-2017-06-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-06-01' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.azurestack - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-azurestack + namespace: com.microsoft.azure.management.azurestack.v2017_06_01 + output-folder: $(azure-libraries-for-java-folder)/azurestack/resource-manager/v2017_06_01 +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/batch/resource-manager/readme.md b/specification/batch/resource-manager/readme.md index 48b9bb559083..4f9f7aa42027 100644 --- a/specification/batch/resource-manager/readme.md +++ b/specification/batch/resource-manager/readme.md @@ -90,7 +90,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -206,11 +206,74 @@ 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.batch +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-batch +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-12 + - tag: package-2017-09 + - tag: package-2017-01 + - tag: package-2017-05 +``` + +### Tag: package-2015-12 and java + +These settings apply only when `--tag=package-2015-12 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-12' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.batch - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-batch -``` \ No newline at end of file + namespace: com.microsoft.azure.management.batch.v2015_12_01 + output-folder: $(azure-libraries-for-java-folder)/batch/resource-manager/v2015_12_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-09 and java + +These settings apply only when `--tag=package-2017-09 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-09' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.batch.v2017_09_01 + output-folder: $(azure-libraries-for-java-folder)/batch/resource-manager/v2017_09_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-01 and java + +These settings apply only when `--tag=package-2017-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.batch.v2017_01_01 + output-folder: $(azure-libraries-for-java-folder)/batch/resource-manager/v2017_01_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-05 and java + +These settings apply only when `--tag=package-2017-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-05' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.batch.v2017_05_01 + output-folder: $(azure-libraries-for-java-folder)/batch/resource-manager/v2017_05_01 +regenerate-manager: true +generate-interface: true +``` + +` diff --git a/specification/batchai/resource-manager/readme.md b/specification/batchai/resource-manager/readme.md index 8b9186b5d421..16ddf36b1a0d 100644 --- a/specification/batchai/resource-manager/readme.md +++ b/specification/batchai/resource-manager/readme.md @@ -67,7 +67,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node ``` @@ -168,11 +168,58 @@ 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.batchai +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-batchai +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-09-preview + - tag: package-2018-03 + - tag: package-2018-05 +``` + +### Tag: package-2017-09-preview and java + +These settings apply only when `--tag=package-2017-09-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag)=='package-2017-09-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.batchai - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-batchai + namespace: com.microsoft.azure.management.batchai.v2017_09_01_preview + output-folder: $(azure-libraries-for-java-folder)/batchai/resource-manager/v2017_09_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-03 and java + +These settings apply only when `--tag=package-2018-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag)=='package-2018-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.batchai.v2018_03_01 + output-folder: $(azure-libraries-for-java-folder)/batchai/resource-manager/v2018_03_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-05 and java + +These settings apply only when `--tag=package-2018-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag)=='package-2018-05' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.batchai.v2018_05_01 + output-folder: $(azure-libraries-for-java-folder)/batchai/resource-manager/v2018_05_01 +regenerate-manager: true +generate-interface: true ``` diff --git a/specification/billing/resource-manager/readme.md b/specification/billing/resource-manager/readme.md index 4e868f019b1e..06bd750d35f7 100644 --- a/specification/billing/resource-manager/readme.md +++ b/specification/billing/resource-manager/readme.md @@ -69,7 +69,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -174,11 +174,60 @@ 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.billing +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-billing +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-04-preview + - tag: package-2018-03-preview + - tag: package-2017-02-preview +``` + +### Tag: package-2017-04-preview and java + +These settings apply only when `--tag=package-2017-04-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-04-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.billing - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-billing + namespace: com.microsoft.azure.management.billing.v2017_04_24_preview + output-folder: $(azure-libraries-for-java-folder)/billing/resource-manager/v2017_04_24_preview +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2018-03-preview and java + +These settings apply only when `--tag=package-2018-03-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-03-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.billing.v2018_03_01_preview + output-folder: $(azure-libraries-for-java-folder)/billing/resource-manager/v2018_03_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-02-preview and java + +These settings apply only when `--tag=package-2017-02-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-02-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.billing.v2017_02_27_preview + output-folder: $(azure-libraries-for-java-folder)/billing/resource-manager/v2017_02_27_preview +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/botservice/resource-manager/readme.md b/specification/botservice/resource-manager/readme.md index 511f2e2da919..e834505725ae 100644 --- a/specification/botservice/resource-manager/readme.md +++ b/specification/botservice/resource-manager/readme.md @@ -7,6 +7,28 @@ This is the AutoRest configuration file for BotService. --- + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-12-01 +``` + +### Tag: package-2017-12-01 and java + +These settings apply only when `--tag=package-2017-12-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-12-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.botservice.v2017_12_01 + output-folder: $(azure-libraries-for-java-folder)/botservice/resource-manager/v2017_12_01 +regenerate-manager: true +generate-interface: true +``` + + ## Getting Started To build the SDK for BotService, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: diff --git a/specification/cdn/resource-manager/readme.md b/specification/cdn/resource-manager/readme.md index 23adb2bfd455..12ec17266500 100644 --- a/specification/cdn/resource-manager/readme.md +++ b/specification/cdn/resource-manager/readme.md @@ -87,7 +87,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-net - repo: azure-sdk-for-node diff --git a/specification/cognitiveservices/data-plane/ComputerVision/readme.md b/specification/cognitiveservices/data-plane/ComputerVision/readme.md index af4093e35b8f..206d9180fb5f 100644 --- a/specification/cognitiveservices/data-plane/ComputerVision/readme.md +++ b/specification/cognitiveservices/data-plane/ComputerVision/readme.md @@ -29,7 +29,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby diff --git a/specification/cognitiveservices/data-plane/ContentModerator/readme.md b/specification/cognitiveservices/data-plane/ContentModerator/readme.md index a293a43e8889..1662a256b848 100644 --- a/specification/cognitiveservices/data-plane/ContentModerator/readme.md +++ b/specification/cognitiveservices/data-plane/ContentModerator/readme.md @@ -35,7 +35,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby diff --git a/specification/cognitiveservices/data-plane/CustomImageSearch/readme.md b/specification/cognitiveservices/data-plane/CustomImageSearch/readme.md index 52e8df2fed33..2e95ea0b6054 100644 --- a/specification/cognitiveservices/data-plane/CustomImageSearch/readme.md +++ b/specification/cognitiveservices/data-plane/CustomImageSearch/readme.md @@ -30,7 +30,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node ``` diff --git a/specification/cognitiveservices/data-plane/CustomWebSearch/readme.md b/specification/cognitiveservices/data-plane/CustomWebSearch/readme.md index f2936f30be93..466306c47b52 100644 --- a/specification/cognitiveservices/data-plane/CustomWebSearch/readme.md +++ b/specification/cognitiveservices/data-plane/CustomWebSearch/readme.md @@ -30,7 +30,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby diff --git a/specification/cognitiveservices/data-plane/EntitySearch/readme.md b/specification/cognitiveservices/data-plane/EntitySearch/readme.md index 542b95275e7d..2f650bc0167c 100644 --- a/specification/cognitiveservices/data-plane/EntitySearch/readme.md +++ b/specification/cognitiveservices/data-plane/EntitySearch/readme.md @@ -29,7 +29,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby diff --git a/specification/cognitiveservices/data-plane/Face/readme.md b/specification/cognitiveservices/data-plane/Face/readme.md index 8f8171727656..5b2f5842f899 100644 --- a/specification/cognitiveservices/data-plane/Face/readme.md +++ b/specification/cognitiveservices/data-plane/Face/readme.md @@ -29,7 +29,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby diff --git a/specification/cognitiveservices/data-plane/ImageSearch/readme.md b/specification/cognitiveservices/data-plane/ImageSearch/readme.md index 27fdff4441fe..ed91a2eab689 100644 --- a/specification/cognitiveservices/data-plane/ImageSearch/readme.md +++ b/specification/cognitiveservices/data-plane/ImageSearch/readme.md @@ -29,7 +29,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby diff --git a/specification/cognitiveservices/data-plane/NewsSearch/readme.md b/specification/cognitiveservices/data-plane/NewsSearch/readme.md index 93560157934a..22cadd6ee5b2 100644 --- a/specification/cognitiveservices/data-plane/NewsSearch/readme.md +++ b/specification/cognitiveservices/data-plane/NewsSearch/readme.md @@ -38,7 +38,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby diff --git a/specification/cognitiveservices/data-plane/SpellCheck/readme.md b/specification/cognitiveservices/data-plane/SpellCheck/readme.md index 405957288d4f..2504d7b32e08 100644 --- a/specification/cognitiveservices/data-plane/SpellCheck/readme.md +++ b/specification/cognitiveservices/data-plane/SpellCheck/readme.md @@ -29,7 +29,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby diff --git a/specification/cognitiveservices/data-plane/TextAnalytics/readme.md b/specification/cognitiveservices/data-plane/TextAnalytics/readme.md index 29c4e9134435..b3859acd5377 100644 --- a/specification/cognitiveservices/data-plane/TextAnalytics/readme.md +++ b/specification/cognitiveservices/data-plane/TextAnalytics/readme.md @@ -135,7 +135,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby diff --git a/specification/cognitiveservices/data-plane/VideoSearch/readme.md b/specification/cognitiveservices/data-plane/VideoSearch/readme.md index aa0de348d217..19599a8fd866 100644 --- a/specification/cognitiveservices/data-plane/VideoSearch/readme.md +++ b/specification/cognitiveservices/data-plane/VideoSearch/readme.md @@ -29,7 +29,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby diff --git a/specification/cognitiveservices/resource-manager/readme.md b/specification/cognitiveservices/resource-manager/readme.md index 4c18440e70da..e0b15a12effb 100644 --- a/specification/cognitiveservices/resource-manager/readme.md +++ b/specification/cognitiveservices/resource-manager/readme.md @@ -62,7 +62,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -130,11 +130,46 @@ 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.cognitiveservices +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-cognitiveservices +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-04 + - tag: package-2016-02-preview +``` + +### 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-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.cognitiveservices - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-cognitiveservices + namespace: com.microsoft.azure.management.cognitiveservices.v2017_04_18 + output-folder: $(azure-libraries-for-java-folder)/cognitiveservices/resource-manager/v2017_04_18 +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2016-02-preview and java + +These settings apply only when `--tag=package-2016-02-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2016-02-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.cognitiveservices.v2016_02_01_preview + output-folder: $(azure-libraries-for-java-folder)/cognitiveservices/resource-manager/v2016_02_01_preview +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/commerce/resource-manager/readme.md b/specification/commerce/resource-manager/readme.md index 810fb212f640..b007fe0c7294 100644 --- a/specification/commerce/resource-manager/readme.md +++ b/specification/commerce/resource-manager/readme.md @@ -51,7 +51,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -122,11 +122,32 @@ 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.commerce +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-commerce +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-06-preview +``` + +### Tag: package-2015-06-preview and java + +These settings apply only when `--tag=package-2015-06-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-06-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.commerce - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-commerce + namespace: com.microsoft.azure.management.commerce.v2015_06_01_preview + output-folder: $(azure-libraries-for-java-folder)/commerce/resource-manager/v2015_06_01_preview +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md index 2f4df19777c0..3617b34b3e1d 100644 --- a/specification/compute/resource-manager/readme.md +++ b/specification/compute/resource-manager/readme.md @@ -409,7 +409,7 @@ swagger-to-sdk: - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-compute - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -669,11 +669,72 @@ 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.compute +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-compute +``` + +### Java multi-api + +```yaml $(java) && $(multiapi) +batch: + - tag: package-disks-2018-04 + - tag: package-compute-only-2017-12 + - tag: package-skus-2017-09 + - tag: package-compute-2017-03 +``` + +### Tag: package-disks-2018-04 and java + +These settings apply only when `--tag=package-disks-2018-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-disks-2018-04' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.compute - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-compute -``` \ No newline at end of file + namespace: com.microsoft.azure.management.compute.v2018_04_01 + output-folder: $(azure-libraries-for-java-folder)/compute/resource-manager/v2018_04_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-compute-only-2017-12 and java + +These settings apply only when `--tag=package-compute-only-2017-12 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-compute-only-2017-12' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.compute.v2017_12_01 + output-folder: $(azure-libraries-for-java-folder)/compute/resource-manager/v2017_12_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-skus-2017-09 and java + +These settings apply only when `--tag=package-skus-2017-09 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-skus-2017-09' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.compute.v2017_09_01 + output-folder: $(azure-libraries-for-java-folder)/compute/resource-manager/v2017_09_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-compute-2017-03 and java + +These settings apply only when `--tag=package-compute-2017-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-compute-2017-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.compute.v2017_03_30 + output-folder: $(azure-libraries-for-java-folder)/compute/resource-manager/v2017_03_30 +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/consumption/resource-manager/readme.md b/specification/consumption/resource-manager/readme.md index 688a1243ae3f..bcd411b63c8e 100644 --- a/specification/consumption/resource-manager/readme.md +++ b/specification/consumption/resource-manager/readme.md @@ -238,11 +238,102 @@ 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.consumption +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-consumption +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-04-preview + - tag: package-2017-11 + - tag: package-2018-01 + - tag: package-2018-03 + - tag: package-2017-12-preview + - tag: package-2018-05 +``` + +### Tag: package-2017-04-preview and java + +These settings apply only when `--tag=package-2017-04-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-04-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.consumption - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-consumption + namespace: com.microsoft.azure.management.consumption.v2017_04_24_preview + output-folder: $(azure-libraries-for-java-folder)/consumption/resource-manager/v2017_04_24_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-11 and java + +These settings apply only when `--tag=package-2017-11 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-11' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.consumption.v2017_11_30 + output-folder: $(azure-libraries-for-java-folder)/consumption/resource-manager/v2017_11_30 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-01 and java + +These settings apply only when `--tag=package-2018-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.consumption.v2018_01_31 + output-folder: $(azure-libraries-for-java-folder)/consumption/resource-manager/v2018_01_31 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-03 and java + +These settings apply only when `--tag=package-2018-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.consumption.v2018_03_31 + output-folder: $(azure-libraries-for-java-folder)/consumption/resource-manager/v2018_03_31 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-12-preview and java + +These settings apply only when `--tag=package-2017-12-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-12-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.consumption.v2017_12_30_preview + output-folder: $(azure-libraries-for-java-folder)/consumption/resource-manager/v2017_12_30_preview +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2018-05 and java + +These settings apply only when `--tag=package-2018-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-05' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.consumption.v2018_05_31 + output-folder: $(azure-libraries-for-java-folder)/consumption/resource-manager/v2018_05_31 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/containerinstance/resource-manager/readme.md b/specification/containerinstance/resource-manager/readme.md index d5a036cbe406..fe2b497e3c0f 100644 --- a/specification/containerinstance/resource-manager/readme.md +++ b/specification/containerinstance/resource-manager/readme.md @@ -98,7 +98,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -236,11 +236,88 @@ 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.containerinstance +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerinstance +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-08-preview + - tag: package-2018-02-preview + - tag: package-2017-10-preview + - tag: package-2018-04 + - tag: package-2017-12-preview +``` + +### Tag: package-2017-08-preview and java + +These settings apply only when `--tag=package-2017-08-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-08-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.containerinstance - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerinstance + namespace: com.microsoft.azure.management.containerinstance.v2017_08_01_preview + output-folder: $(azure-libraries-for-java-folder)/containerinstance/resource-manager/v2017_08_01_preview +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2018-02-preview and java + +These settings apply only when `--tag=package-2018-02-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-02-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerinstance.v2018_02_01_preview + output-folder: $(azure-libraries-for-java-folder)/containerinstance/resource-manager/v2018_02_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-10-preview and java + +These settings apply only when `--tag=package-2017-10-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-10-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerinstance.v2017_10_01_preview + output-folder: $(azure-libraries-for-java-folder)/containerinstance/resource-manager/v2017_10_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-04 and java + +These settings apply only when `--tag=package-2018-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-04' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerinstance.v2018_04_01 + output-folder: $(azure-libraries-for-java-folder)/containerinstance/resource-manager/v2018_04_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-12-preview and java + +These settings apply only when `--tag=package-2017-12-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-12-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerinstance.v2017_12_01_preview + output-folder: $(azure-libraries-for-java-folder)/containerinstance/resource-manager/v2017_12_01_preview +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md index 67b855c4a10e..8fb1bea751e9 100644 --- a/specification/containerregistry/resource-manager/readme.md +++ b/specification/containerregistry/resource-manager/readme.md @@ -90,7 +90,7 @@ swagger-to-sdk: - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-containerregistry - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -248,11 +248,74 @@ 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.containerregistry +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerregistry +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-06-preview + - tag: package-2017-10 + - tag: package-2017-06-preview + - tag: package-2017-03 +``` + +### Tag: package-2016-06-preview and java + +These settings apply only when `--tag=package-2016-06-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-06-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.containerregistry - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerregistry + namespace: com.microsoft.azure.management.containerregistry.v2016_06_27_preview + output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2016_06_27_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-10 and java + +These settings apply only when `--tag=package-2017-10 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-10' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerregistry.v2017_10_01 + output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2017_10_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-06-preview and java + +These settings apply only when `--tag=package-2017-06-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-06-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerregistry.v2017_06_01_preview + output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2017_06_01_preview +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2017-03 and java + +These settings apply only when `--tag=package-2017-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerregistry.v2017_03_01 + output-folder: $(azure-libraries-for-java-folder)/containerregistry/resource-manager/v2017_03_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/containerservices/resource-manager/readme.md b/specification/containerservices/resource-manager/readme.md index 18c325527bfb..1fcd7ef0037e 100644 --- a/specification/containerservices/resource-manager/readme.md +++ b/specification/containerservices/resource-manager/readme.md @@ -136,7 +136,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -240,13 +240,59 @@ 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.containerservice +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerservice +title: ContainerServiceManagementClient +description: "Container Service Client" +``` + +### Java multi-api +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-09-only + - tag: package-2017-08-only + - tag: package-2017-07 +``` + +### Tag: package-2017-09-only and java + +These settings apply only when `--tag=package-2017-09-only` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-09-only' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.containerservice - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-containerservice - title: ContainerServiceManagementClient - description: "Container Service Client" + namespace: com.microsoft.azure.management.containerservice.v2017_09_30 + output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_09_30 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-08-only and java + +These settings apply only when `--tag=package-2017-08-only` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-08-only' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerservice.v2017_08_31 + output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_08_31 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-07 and java + +These settings apply only when `--tag=package-2017-07` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.containerservice.v2017_07_01 + output-folder: $(azure-libraries-for-java-folder)/containerservice/resource-manager/v2017_07_01 +regenerate-manager: true +generate-interface: true ``` diff --git a/specification/cosmos-db/resource-manager/readme.md b/specification/cosmos-db/resource-manager/readme.md index a321e629250d..8b2fdfa7096b 100644 --- a/specification/cosmos-db/resource-manager/readme.md +++ b/specification/cosmos-db/resource-manager/readme.md @@ -96,7 +96,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node ``` @@ -164,11 +164,32 @@ 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.cosmosdb +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-cosmosdb +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-04 +``` + +### Tag: package-2015-04 and java + +These settings apply only when `--tag=package-2015-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-04' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.cosmosdb - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-cosmosdb + namespace: com.microsoft.azure.management.cosmos-db.v2015_04_08 + output-folder: $(azure-libraries-for-java-folder)/cosmos-db/resource-manager/v2015_04_08 +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/customer-insights/resource-manager/readme.md b/specification/customer-insights/resource-manager/readme.md index a07c0c4e2c17..8cc231b53c5d 100644 --- a/specification/customer-insights/resource-manager/readme.md +++ b/specification/customer-insights/resource-manager/readme.md @@ -128,11 +128,46 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.customerinsights - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-customerinsights +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.customerinsights +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-customerinsights ``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-01 + - tag: package-2017-04 +``` + +### Tag: package-2017-01 and java + +These settings apply only when `--tag=package-2017-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.customerinsights.v2017_01_01 + output-folder: $(azure-libraries-for-java-folder)/customerinsights/resource-manager/v2017_01_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.customerinsights.v2017_04_26 + output-folder: $(azure-libraries-for-java-folder)/customerinsights/resource-manager/v2017_04_26 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/databricks/resource-manager/readme.md b/specification/databricks/resource-manager/readme.md index 9f9f12840225..afd1f9ec3282 100644 --- a/specification/databricks/resource-manager/readme.md +++ b/specification/databricks/resource-manager/readme.md @@ -7,6 +7,28 @@ This is the AutoRest configuration file for Databricks. --- + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-04-01 +``` + +### Tag: package-2018-04-01 and java + +These settings apply only when `--tag=package-2018-04-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-04-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.databricks.v2018_04_01 + output-folder: $(azure-libraries-for-java-folder)/databricks/resource-manager/v2018_04_01 +regenerate-manager: true +generate-interface: true +``` + + ## Getting Started To build the SDK for Databricks, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: diff --git a/specification/datacatalog/resource-manager/readme.md b/specification/datacatalog/resource-manager/readme.md index 3dc2a4e53d5c..d3404517387e 100644 --- a/specification/datacatalog/resource-manager/readme.md +++ b/specification/datacatalog/resource-manager/readme.md @@ -125,11 +125,32 @@ 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.datacatalog +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datacatalog +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-03-30 +``` + +### Tag: package-2016-03-30 and java + +These settings apply only when `--tag=package-2016-03-30 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-03-30' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.datacatalog - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datacatalog + namespace: com.microsoft.azure.management.datacatalog.v2016_03_30 + output-folder: $(azure-libraries-for-java-folder)/datacatalog/resource-manager/v2016_03_30 +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/datafactory/resource-manager/readme.md b/specification/datafactory/resource-manager/readme.md index d7235f971c47..a437dfb6137e 100644 --- a/specification/datafactory/resource-manager/readme.md +++ b/specification/datafactory/resource-manager/readme.md @@ -51,7 +51,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node ``` @@ -134,17 +134,38 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.datafactory - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datafactory +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.datafactory +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datafactory ``` # Validation + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-09-preview +``` + +### Tag: package-2017-09-preview and java + +These settings apply only when `--tag=package-2017-09-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-09-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.datafactoryv2.v2017_09_01_preview + output-folder: $(azure-libraries-for-java-folder)/datafactoryv2/resource-manager/v2017_09_01_preview +regenerate-manager: true +generate-interface: true +``` + + ## Suppression ``` yaml diff --git a/specification/datalake-analytics/data-plane/readme.md b/specification/datalake-analytics/data-plane/readme.md index 81311d677e95..3cedb30923da 100644 --- a/specification/datalake-analytics/data-plane/readme.md +++ b/specification/datalake-analytics/data-plane/readme.md @@ -100,7 +100,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node ``` diff --git a/specification/datalake-analytics/resource-manager/readme.md b/specification/datalake-analytics/resource-manager/readme.md index 22c0d2e90509..eef6e1b74fc3 100644 --- a/specification/datalake-analytics/resource-manager/readme.md +++ b/specification/datalake-analytics/resource-manager/readme.md @@ -74,7 +74,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -165,3 +165,39 @@ java: license-header: MICROSOFT_MIT_NO_CODEGEN output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datalake/analytics ``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-10-preview + - tag: package-2016-11 +``` + +### Tag: package-2015-10-preview and java + +These settings apply only when `--tag=package-2015-10-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-10-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.datalakeanalytics.v2015_10_01_preview + output-folder: $(azure-libraries-for-java-folder)/datalakeanalytics/resource-manager/v2015_10_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-11 and java + +These settings apply only when `--tag=package-2016-11 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-11' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.datalakeanalytics.v2016_11_01 + output-folder: $(azure-libraries-for-java-folder)/datalakeanalytics/resource-manager/v2016_11_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/datalake-store/resource-manager/readme.md b/specification/datalake-store/resource-manager/readme.md index 1f37c233d6b8..1416229383bd 100644 --- a/specification/datalake-store/resource-manager/readme.md +++ b/specification/datalake-store/resource-manager/readme.md @@ -76,7 +76,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -177,3 +177,39 @@ java: license-header: MICROSOFT_MIT_NO_CODEGEN output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datalake/store ``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-10-preview + - tag: package-2016-11 +``` + +### Tag: package-2015-10-preview and java + +These settings apply only when `--tag=package-2015-10-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-10-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.datalakestore.v2015_10_01_preview + output-folder: $(azure-libraries-for-java-folder)/datalakestore/resource-manager/v2015_10_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-11 and java + +These settings apply only when `--tag=package-2016-11 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-11' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.datalakestore.v2016_11_01 + output-folder: $(azure-libraries-for-java-folder)/datalakestore/resource-manager/v2016_11_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/datamigration/resource-manager/readme.md b/specification/datamigration/resource-manager/readme.md index 96fe6810b827..61ecee7084fb 100644 --- a/specification/datamigration/resource-manager/readme.md +++ b/specification/datamigration/resource-manager/readme.md @@ -215,11 +215,46 @@ 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.datamigration +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datamigration +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-11-15-preview + - tag: package-2018-03-31-preview +``` + +### Tag: package-2017-11-15-preview and java + +These settings apply only when `--tag=package-2017-11-15-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-11-15-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.datamigration - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datamigration + namespace: com.microsoft.azure.management.azuredatabasemigrationservice.v2017_11_15_preview + output-folder: $(azure-libraries-for-java-folder)/azuredatabasemigrationservice/resource-manager/v2017_11_15_preview +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2018-03-31-preview and java + +These settings apply only when `--tag=package-2018-03-31-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-03-31-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.azuredatabasemigrationservice.v2018_03_31_preview + output-folder: $(azure-libraries-for-java-folder)/azuredatabasemigrationservice/resource-manager/v2018_03_31_preview +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/deviceprovisioningservices/resource-manager/readme.md b/specification/deviceprovisioningservices/resource-manager/readme.md index 31b0dbdf2f9a..d1bc9143a85a 100644 --- a/specification/deviceprovisioningservices/resource-manager/readme.md +++ b/specification/deviceprovisioningservices/resource-manager/readme.md @@ -66,7 +66,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go ``` @@ -166,11 +166,60 @@ 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.provisioningservices +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-provisioningservices +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-08 + - tag: package-2017-11 + - tag: package-2018-01 +``` + +### Tag: package-2017-08 and java + +These settings apply only when `--tag=package-2017-08 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-08' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.provisioningservices - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-provisioningservices + namespace: com.microsoft.azure.management.deviceprovisioningservices.v2017_08_21_preview + output-folder: $(azure-libraries-for-java-folder)/deviceprovisioningservices/resource-manager/v2017_08_21_preview +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2017-11 and java + +These settings apply only when `--tag=package-2017-11 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-11' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.deviceprovisioningservices.v2017_11_15 + output-folder: $(azure-libraries-for-java-folder)/deviceprovisioningservices/resource-manager/v2017_11_15 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-01 and java + +These settings apply only when `--tag=package-2018-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.deviceprovisioningservices.v2018_01_22 + output-folder: $(azure-libraries-for-java-folder)/deviceprovisioningservices/resource-manager/v2018_01_22 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/devtestlabs/resource-manager/readme.md b/specification/devtestlabs/resource-manager/readme.md index 16f59723e79e..9f28a653a8ab 100644 --- a/specification/devtestlabs/resource-manager/readme.md +++ b/specification/devtestlabs/resource-manager/readme.md @@ -61,7 +61,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -157,11 +157,46 @@ 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.devtestlabs +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-devtestlabs +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-05 + - tag: package-2015-05-preview +``` + +### Tag: package-2016-05 and java + +These settings apply only when `--tag=package-2016-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-05' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.devtestlabs - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-devtestlabs + namespace: com.microsoft.azure.management.devtestlab.v2016_05_15 + output-folder: $(azure-libraries-for-java-folder)/devtestlab/resource-manager/v2016_05_15 +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2015-05-preview and java + +These settings apply only when `--tag=package-2015-05-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-05-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.devtestlab.v2015_05_21_preview + output-folder: $(azure-libraries-for-java-folder)/devtestlab/resource-manager/v2015_05_21_preview +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/dns/resource-manager/readme.md b/specification/dns/resource-manager/readme.md index 494642b147b7..f4b07b560656 100644 --- a/specification/dns/resource-manager/readme.md +++ b/specification/dns/resource-manager/readme.md @@ -125,7 +125,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -251,11 +251,44 @@ 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.dns +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-dns +``` + +### Java multi-api + +```yaml $(java) && $(multiapi) +batch: + - tag: package-2017-10 + - tag: package-2016-04 +``` + +### Tag: package-2017-10 and java + +These settings apply only when `--tag=package-2017-10 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.dns - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-dns + namespace: com.microsoft.azure.management.dns.v2017_10_01 + output-folder: $(azure-libraries-for-java-folder)/dns/resource-manager/v2017_10_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-04 and java + +These settings apply only when `--tag=package-2016-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2016-04' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.dns.v2016_04_01 + output-folder: $(azure-libraries-for-java-folder)/dns/resource-manager/v2016_04_01 +regenerate-manager: true +generate-interface: true ``` diff --git a/specification/domainservices/resource-manager/readme.md b/specification/domainservices/resource-manager/readme.md index ee39af3f8acf..a8ab06845828 100644 --- a/specification/domainservices/resource-manager/readme.md +++ b/specification/domainservices/resource-manager/readme.md @@ -121,11 +121,46 @@ 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.domainservices +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-domainservices +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-06 + - tag: package-2017-01 +``` + +### Tag: package-2017-06 and java + +These settings apply only when `--tag=package-2017-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-06' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.domainservices - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-domainservices + namespace: com.microsoft.azure.management.domainservices.v2017_06_01 + output-folder: $(azure-libraries-for-java-folder)/domainservices/resource-manager/v2017_06_01 +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2017-01 and java + +These settings apply only when `--tag=package-2017-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.domainservices.v2017_01_01 + output-folder: $(azure-libraries-for-java-folder)/domainservices/resource-manager/v2017_01_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md index b73f6c62b3c4..f506f4e8d7ae 100644 --- a/specification/eventgrid/data-plane/readme.md +++ b/specification/eventgrid/data-plane/readme.md @@ -151,12 +151,28 @@ 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 +namespace: com.microsoft.azure.eventgrid +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-eventgrid +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-01 +``` + +### Tag: package-2018-01 and java + +These settings apply only when `--tag=package-2018-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.eventgrid - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-eventgrid + namespace: com.microsoft.azure.eventgrid.v2018_01_01 + output-folder: $(azure-libraries-for-java-folder)/eventgrid/data-plane/v2018_01_01 ``` diff --git a/specification/eventgrid/resource-manager/readme.md b/specification/eventgrid/resource-manager/readme.md index b9047c5a535e..3b640b030cfb 100644 --- a/specification/eventgrid/resource-manager/readme.md +++ b/specification/eventgrid/resource-manager/readme.md @@ -82,7 +82,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -198,11 +198,44 @@ 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.eventgrid +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-eventgrid +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-05-preview + - tag: package-2018-01 +``` + +### Tag: package-2018-05-preview and java + +These settings apply only when `--tag=package-2018-05-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-05-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.eventgrid - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-eventgrid + namespace: com.microsoft.azure.management.eventgrid.v2018_05_01_preview + output-folder: $(azure-libraries-for-java-folder)/eventgrid/resource-manager/v2018_05_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-01 and java + +These settings apply only when `--tag=package-2018-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.eventgrid.v2018_01_01 + output-folder: $(azure-libraries-for-java-folder)/eventgrid/resource-manager/v2018_01_01 +regenerate-manager: true +generate-interface: true ``` diff --git a/specification/eventhub/resource-manager/readme.md b/specification/eventhub/resource-manager/readme.md index f1db5df0a3e8..6ed191919e07 100644 --- a/specification/eventhub/resource-manager/readme.md +++ b/specification/eventhub/resource-manager/readme.md @@ -82,7 +82,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -188,11 +188,60 @@ 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: - 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 + 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 +``` + + diff --git a/specification/graphrbac/data-plane/readme.md b/specification/graphrbac/data-plane/readme.md index d87fa8da06cc..51b73c704bf7 100644 --- a/specification/graphrbac/data-plane/readme.md +++ b/specification/graphrbac/data-plane/readme.md @@ -51,7 +51,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby diff --git a/specification/hanaonazure/resource-manager/readme.md b/specification/hanaonazure/resource-manager/readme.md index 5dbf2523e819..713838b0cace 100644 --- a/specification/hanaonazure/resource-manager/readme.md +++ b/specification/hanaonazure/resource-manager/readme.md @@ -53,7 +53,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go ``` @@ -118,11 +118,32 @@ 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.hanaonazure +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-hanaonazure +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-11 +``` + +### Tag: package-2017-11 and java + +These settings apply only when `--tag=package-2017-11 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-11' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.hanaonazure - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-hanaonazure + namespace: com.microsoft.azure.management.hanaonazure.v2017_11_03_preview + output-folder: $(azure-libraries-for-java-folder)/hanaonazure/resource-manager/v2017_11_03_preview +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/hdinsight/resource-manager/readme.md b/specification/hdinsight/resource-manager/readme.md index 2f6db62afc2e..45e156b683e7 100644 --- a/specification/hdinsight/resource-manager/readme.md +++ b/specification/hdinsight/resource-manager/readme.md @@ -61,7 +61,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-go - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-python - repo: azure-sdk-for-node ``` @@ -117,11 +117,32 @@ 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.hdinsight +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-hdinsight +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-03-preview +``` + +### Tag: package-2015-03-preview and java + +These settings apply only when `--tag=package-2015-03-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-03-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.hdinsight - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-hdinsight + namespace: com.microsoft.azure.management.hdinsight.v2015_03_01_preview + output-folder: $(azure-libraries-for-java-folder)/hdinsight/resource-manager/v2015_03_01_preview +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/intune/resource-manager/readme.md b/specification/intune/resource-manager/readme.md index fcab119b979b..bdb1e8dbbf57 100644 --- a/specification/intune/resource-manager/readme.md +++ b/specification/intune/resource-manager/readme.md @@ -71,11 +71,10 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.intune - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-intune +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.intune +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-intune ``` diff --git a/specification/iotcentral/resource-manager/readme.md b/specification/iotcentral/resource-manager/readme.md index fa573f9e3186..c583b7ebb81f 100644 --- a/specification/iotcentral/resource-manager/readme.md +++ b/specification/iotcentral/resource-manager/readme.md @@ -48,7 +48,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -104,13 +104,32 @@ 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.iotcentral +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-iotcentral +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-07-01-privatepreview +``` + +### Tag: package-2017-07-01-privatepreview and java + +These settings apply only when `--tag=package-2017-07-01-privatepreview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag)=='package-2017-07-01-privatepreview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.iotcentral - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-iotcentral + namespace: com.microsoft.azure.management.iotcentral.v2017_07_01_privatepreview + output-folder: $(azure-libraries-for-java-folder)/iotcentral/resource-manager/v2017_07_01_privatepreview +regenerate-manager: true +generate-interface: true ``` ## Python diff --git a/specification/iothub/resource-manager/readme.md b/specification/iothub/resource-manager/readme.md index 38d1246216f3..23cc8f842904 100644 --- a/specification/iothub/resource-manager/readme.md +++ b/specification/iothub/resource-manager/readme.md @@ -86,7 +86,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -210,11 +210,30 @@ 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.iothub +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-iothub +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-04 +``` + +### Tag: package-2018-04 and java + +These settings apply only when `--tag=package-2018-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-04' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.iothub - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-iothub + namespace: com.microsoft.azure.management.iothub.v2018_04_01 + output-folder: $(azure-libraries-for-java-folder)/iothub/resource-manager/v2018_04_01 +regenerate-manager: true +generate-interface: true ``` diff --git a/specification/iotspaces/resource-manager/readme.md b/specification/iotspaces/resource-manager/readme.md index 001eb4f038b7..efbb91da2023 100644 --- a/specification/iotspaces/resource-manager/readme.md +++ b/specification/iotspaces/resource-manager/readme.md @@ -5,6 +5,28 @@ This is the AutoRest configuration file for IoTSpaces Service. --- + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-10-preview +``` + +### Tag: package-2017-10-preview and java + +These settings apply only when `--tag=package-2017-10-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-10-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.iotspacesservice.v2017_10_01_preview + output-folder: $(azure-libraries-for-java-folder)/iotspacesservice/resource-manager/v2017_10_01_preview +regenerate-manager: true +generate-interface: true +``` + + ## Getting Started To build the SDK for IoTSpaces Service, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: diff --git a/specification/keyvault/resource-manager/readme.md b/specification/keyvault/resource-manager/readme.md index a03dc23b0d5a..cb588aa4ab64 100644 --- a/specification/keyvault/resource-manager/readme.md +++ b/specification/keyvault/resource-manager/readme.md @@ -63,7 +63,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -143,10 +143,47 @@ 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 +namespace: com.microsoft.azure.management.keyvault +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-keyvault +``` + +### Java multi-api + +```yaml $(java) && $(multiapi) +batch: + - tag: package-2016-10 + - tag: package-2015-06 +``` + +### Tag: package-2016-10 and java + +These settings apply only when `--tag=package-2016-10 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2016-10' && $(java) && $(multiapi) java: - azure-arm: true - namespace: com.microsoft.azure.management.keyvault - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-keyvault -``` \ No newline at end of file + namespace: com.microsoft.azure.management.keyvault.v2016_10_01 + output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2016_10_01 +regenerate-manager: true +generate-interface: true +directive: + from: keyvault.json + where: $.paths["/subscriptions/{subscriptionId}/resources"].get + transform: $['operationId'] = 'Vaults_ListResource' +``` + +### Tag: package-2015-06 and java + +These settings apply only when `--tag=package-2015-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2015-06' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.keyvault.v2015_06_01 + output-folder: $(azure-libraries-for-java-folder)/keyvault/resource-manager/v2015_06_01 +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/logic/resource-manager/readme.md b/specification/logic/resource-manager/readme.md index cd6d94d92f49..9326548bd6cc 100644 --- a/specification/logic/resource-manager/readme.md +++ b/specification/logic/resource-manager/readme.md @@ -81,7 +81,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -186,11 +186,30 @@ 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.logic +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-logic +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-06 +``` + +### Tag: package-2016-06 and java + +These settings apply only when `--tag=package-2016-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2016-06' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.logic - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-logic + namespace: com.microsoft.azure.management.logic.v2016_06_01 + output-folder: $(azure-libraries-for-java-folder)/logic/resource-manager/v2016_06_01 +regenerate-manager: true +generate-interface: true ``` diff --git a/specification/machinelearning/resource-manager/readme.md b/specification/machinelearning/resource-manager/readme.md index e2b181411eed..9035176ae8d8 100644 --- a/specification/machinelearning/resource-manager/readme.md +++ b/specification/machinelearning/resource-manager/readme.md @@ -187,13 +187,12 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.machinelearning - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.machinelearning +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning ``` # Validation @@ -206,3 +205,67 @@ batch: - package-commitmentPlans: true - package-workspaces: true ``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-webservices-2017-01 + - tag: package-commitmentPlans-2016-05-preview + - tag: package-webservices-2016-05-preview + - tag: package-workspaces-2016-04 +``` + +### Tag: package-webservices-2017-01 and java + +These settings apply only when `--tag=package-webservices-2017-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-webservices-2017-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.machinelearning.v2017_01_01 + output-folder: $(azure-libraries-for-java-folder)/machinelearning/resource-manager/v2017_01_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-commitmentPlans-2016-05-preview and java + +These settings apply only when `--tag=package-commitmentPlans-2016-05-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-commitmentPlans-2016-05-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.machinelearning.v2016_05_01_preview + output-folder: $(azure-libraries-for-java-folder)/machinelearning/resource-manager/v2016_05_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-webservices-2016-05-preview and java + +These settings apply only when `--tag=package-webservices-2016-05-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-webservices-2016-05-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.machinelearning.v2016_05_01_preview + output-folder: $(azure-libraries-for-java-folder)/machinelearning/resource-manager/v2016_05_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-workspaces-2016-04 and java + +These settings apply only when `--tag=package-workspaces-2016-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-workspaces-2016-04' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.machinelearning.v2016_04_01 + output-folder: $(azure-libraries-for-java-folder)/machinelearning/resource-manager/v2016_04_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/machinelearningcompute/resource-manager/readme.md b/specification/machinelearningcompute/resource-manager/readme.md index f8db1dbf006a..573f91990c05 100644 --- a/specification/machinelearningcompute/resource-manager/readme.md +++ b/specification/machinelearningcompute/resource-manager/readme.md @@ -62,7 +62,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node ``` @@ -152,11 +152,32 @@ 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.machinelearning.compute +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning/compute +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-08-preview +``` + +### Tag: package-2017-08-preview and java + +These settings apply only when `--tag=package-2017-08-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-08-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.machinelearning.compute - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning/compute + namespace: com.microsoft.azure.management.machinelearningcompute.v2017_08_01_preview + output-folder: $(azure-libraries-for-java-folder)/machinelearningcompute/resource-manager/v2017_08_01_preview +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/machinelearningexperimentation/resource-manager/readme.md b/specification/machinelearningexperimentation/resource-manager/readme.md index d73065d5bee3..2db43935130b 100644 --- a/specification/machinelearningexperimentation/resource-manager/readme.md +++ b/specification/machinelearningexperimentation/resource-manager/readme.md @@ -101,11 +101,32 @@ 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.machinelearning.experimentation +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning/experimentation +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-05-preview +``` + +### Tag: package-2017-05-preview and java + +These settings apply only when `--tag=package-2017-05-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-05-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.machinelearning.experimentation - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning/experimentation + namespace: com.microsoft.azure.management.machinelearningexperimentation.v2017_05_01_preview + output-folder: $(azure-libraries-for-java-folder)/machinelearningexperimentation/resource-manager/v2017_05_01_preview +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index 4780b14847c3..a916d4644c31 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -131,11 +131,32 @@ 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.machinelearning.services +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning/services +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-03-preview +``` + +### Tag: package-2018-03-preview and java + +These settings apply only when `--tag=package-2018-03-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-03-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.machinelearning.services - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-machinelearning/services + namespace: com.microsoft.azure.management.machinelearningservices.v2018_03_01_preview + output-folder: $(azure-libraries-for-java-folder)/machinelearningservices/resource-manager/v2018_03_01_preview +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/managementgroups/resource-manager/readme.md b/specification/managementgroups/resource-manager/readme.md index e90586c59d1a..a0b29d07e017 100644 --- a/specification/managementgroups/resource-manager/readme.md +++ b/specification/managementgroups/resource-manager/readme.md @@ -70,7 +70,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go ``` @@ -178,11 +178,74 @@ 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.managementgroups +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-managementgroups +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-08 + - tag: package-2017-11 + - tag: package-2018-01 + - tag: package-2018-03 +``` + +### Tag: package-2017-08 and java + +These settings apply only when `--tag=package-2017-08 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-08' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.managementgroups - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-managementgroups + namespace: com.microsoft.azure.management.managementgroups.v2017_08_31_preview + output-folder: $(azure-libraries-for-java-folder)/managementgroups/resource-manager/v2017_08_31_preview +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2017-11 and java + +These settings apply only when `--tag=package-2017-11 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-11' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.managementgroups.v2017_11_01_preview + output-folder: $(azure-libraries-for-java-folder)/managementgroups/resource-manager/v2017_11_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-01 and java + +These settings apply only when `--tag=package-2018-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.managementgroups.v2018_01_01_preview + output-folder: $(azure-libraries-for-java-folder)/managementgroups/resource-manager/v2018_01_01_preview +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-03 and java + +These settings apply only when `--tag=package-2018-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.managementgroups.v2018_03_01_preview + output-folder: $(azure-libraries-for-java-folder)/managementgroups/resource-manager/v2018_03_01_preview +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/managementpartner/resource-manager/readme.md b/specification/managementpartner/resource-manager/readme.md index ed4143f1d023..942cfb72fcca 100644 --- a/specification/managementpartner/resource-manager/readme.md +++ b/specification/managementpartner/resource-manager/readme.md @@ -7,6 +7,28 @@ This is the AutoRest configuration file for ManagementPartner RP. --- + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-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=`. + +``` yaml $(tag) == 'package-2018-02' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.managementpartner.v2018_02_01 + output-folder: $(azure-libraries-for-java-folder)/managementpartner/resource-manager/v2018_02_01 +regenerate-manager: true +generate-interface: true +``` + + ## Getting Started To build the SDK for ManagementPartner, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: diff --git a/specification/maps/resource-manager/readme.md b/specification/maps/resource-manager/readme.md index 1f7f84ef59cf..a57263546a2f 100644 --- a/specification/maps/resource-manager/readme.md +++ b/specification/maps/resource-manager/readme.md @@ -124,11 +124,46 @@ 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.maps +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-maps +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-01 + - tag: package-2018-05 +``` + +### Tag: package-2017-01 and java + +These settings apply only when `--tag=package-2017-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-01' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.maps - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-maps + namespace: com.microsoft.azure.management.maps.v2017_01_01_preview + output-folder: $(azure-libraries-for-java-folder)/maps/resource-manager/v2017_01_01_preview +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2018-05 and java + +These settings apply only when `--tag=package-2018-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-05' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.maps.v2018_05_01 + output-folder: $(azure-libraries-for-java-folder)/maps/resource-manager/v2018_05_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/marketplaceordering/resource-manager/readme.md b/specification/marketplaceordering/resource-manager/readme.md index 0753e22c58eb..db60e8a525ba 100644 --- a/specification/marketplaceordering/resource-manager/readme.md +++ b/specification/marketplaceordering/resource-manager/readme.md @@ -186,11 +186,32 @@ 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.marketplaceordering +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-marketplaceordering +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-06-01 +``` + +### Tag: package-2015-06-01 and java + +These settings apply only when `--tag=package-2015-06-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-06-01' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.marketplaceordering - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-marketplaceordering + namespace: com.microsoft.azure.management.marketplaceagreementsapi.v2015_06_01 + output-folder: $(azure-libraries-for-java-folder)/marketplaceagreementsapi/resource-manager/v2015_06_01 +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/mediaservices/resource-manager/readme.md b/specification/mediaservices/resource-manager/readme.md index fb180e1433fd..6876818995a1 100644 --- a/specification/mediaservices/resource-manager/readme.md +++ b/specification/mediaservices/resource-manager/readme.md @@ -65,7 +65,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -161,11 +161,44 @@ 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.mediaservices +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-mediaservices +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-10 + - tag: package-2018-03-preview +``` + +### Tag: package-2015-10 and java + +These settings apply only when `--tag=package-2015-10 --java` is specified on the command line. +Please also specify the `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2015-10' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.mediaservices - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-mediaservices + namespace: com.microsoft.azure.management.mediaservices.v2015_10_01 + output-folder: $(azure-libraries-for-java-folder)/mediaservices/resource-manager/v2015_10_01 +regenerate-manager: true +generate-interface: true +``` +### Tag: package-2018-03-preview and java + +These settings apply only when `--tag=package-2018-03-preview --java` is specified on the command line. +Please also specify the `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-03-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.mediaservices.v2018_30_30_preview + output-folder: $(azure-libraries-for-java-folder)/mediaservices/resource-manager/v2018_30_30_preview +regenerate-manager: true +generate-interface: true ``` + diff --git a/specification/migrate/resource-manager/readme.md b/specification/migrate/resource-manager/readme.md index 603a01ccbf44..1f8e8fbb65b6 100644 --- a/specification/migrate/resource-manager/readme.md +++ b/specification/migrate/resource-manager/readme.md @@ -5,6 +5,28 @@ This is the AutoRest configuration file for Azure Migrate. --- + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-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=`. + +``` yaml $(tag) == 'package-2018-02' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.azuremigrate.v2018_02_02 + output-folder: $(azure-libraries-for-java-folder)/azuremigrate/resource-manager/v2018_02_02 +regenerate-manager: true +generate-interface: true +``` + + ## Getting Started To build the SDK for Migrate, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index cabb067c4f96..5122a01ec41f 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -227,7 +227,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -309,13 +309,12 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.monitor - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-monitor +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.monitor +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-monitor ``` # Validation diff --git a/specification/msi/resource-manager/readme.md b/specification/msi/resource-manager/readme.md index 5493ff42a424..71d08c613f60 100644 --- a/specification/msi/resource-manager/readme.md +++ b/specification/msi/resource-manager/readme.md @@ -47,7 +47,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-ruby after_scripts: @@ -130,11 +130,32 @@ 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.msi +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-msi +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-08-31-preview +``` + +### Tag: package-2015-08-31-preview and java + +These settings apply only when `--tag=package-2015-08-31-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-08-31-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.msi - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-msi + namespace: com.microsoft.azure.management.managedserviceidentity.v2015_08_31_preview + output-folder: $(azure-libraries-for-java-folder)/managedserviceidentity/resource-manager/v2015_08_31_preview +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md index 5d192a5d0bf7..b217c7331710 100644 --- a/specification/mysql/resource-manager/readme.md +++ b/specification/mysql/resource-manager/readme.md @@ -72,7 +72,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node ``` @@ -172,11 +172,30 @@ 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.mysql +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-mysql +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-12-01 +``` + +### Tag: package-2017-12-01 and java + +These settings apply only when `--tag=package-2017-12-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-12-01' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.mysql - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-mysql + namespace: com.microsoft.azure.management.mysql.v2017_12_01 + output-folder: $(azure-libraries-for-java-folder)/mysql/resource-manager/v2017_12_01 +regenerate-manager: true +generate-interface: true ``` diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index 4037b99690df..f1cb8b30e524 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -62,6 +62,16 @@ input-file: - Microsoft.Network/stable/2018-05-01/vmssPublicIpAddress.json ``` +### Tag: package-2018-05-expressroutecrossconnection-only + +These settings apply only when `--tag=package-2018-05-expressroutecrossconnection-only` is specified on the command line. + +``` yaml $(tag) == 'package-2018-05-expressroutecrossconnection-only' + +input-file: +- Microsoft.Network/stable/2018-05-01/expressRouteCrossConnection.json +``` + ### Tag: package-2018-04 These settings apply only when `--tag=package-2018-04` is specified on the command line. @@ -650,7 +660,7 @@ swagger-to-sdk: - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-network - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -1026,11 +1036,44 @@ 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.network +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-network +``` + +### Java multi-api + +```yaml $(java) && $(multiapi) +batch: + - tag: package-2018-05 + - tag: package-2017-10 +``` + +### Tag: package-2018-05 and java + +These settings apply only when `--tag=package-2018-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-05' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.network - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-network + namespace: com.microsoft.azure.management.network.v2018_05_01 + output-folder: $(azure-libraries-for-java-folder)/network/resource-manager/v2018_05_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-10 and java + +These settings apply only when `--tag=package-2017-10 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.network.v2017_10_01 + output-folder: $(azure-libraries-for-java-folder)/network/resource-manager/v2017_10_01 +regenerate-manager: true +generate-interface: true ``` diff --git a/specification/notificationhubs/resource-manager/readme.md b/specification/notificationhubs/resource-manager/readme.md index 523b826adedd..a7a54c8e70e6 100644 --- a/specification/notificationhubs/resource-manager/readme.md +++ b/specification/notificationhubs/resource-manager/readme.md @@ -80,7 +80,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -186,11 +186,60 @@ 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.notificationhubs +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-notificationhubs +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2014-09 + - tag: package-2017-04 + - tag: package-2016-03 +``` + +### Tag: package-2014-09 and java + +These settings apply only when `--tag=package-2014-09 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2014-09' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.notificationhubs - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-notificationhubs + namespace: com.microsoft.azure.management.notificationhubs.v2014_09_01 + output-folder: $(azure-libraries-for-java-folder)/notificationhubs/resource-manager/v2014_09_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.notificationhubs.v2017_04_01 + output-folder: $(azure-libraries-for-java-folder)/notificationhubs/resource-manager/v2017_04_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-03 and java + +These settings apply only when `--tag=package-2016-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.notificationhubs.v2016_03_01 + output-folder: $(azure-libraries-for-java-folder)/notificationhubs/resource-manager/v2016_03_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/operationalinsights/resource-manager/readme.md b/specification/operationalinsights/resource-manager/readme.md index 3db7609dc80c..9f787300d0c9 100644 --- a/specification/operationalinsights/resource-manager/readme.md +++ b/specification/operationalinsights/resource-manager/readme.md @@ -159,16 +159,51 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.operationalinsights - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-operationalinsights +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.operationalinsights +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-operationalinsights ``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-03 + - tag: package-2015-11-preview +``` + +### Tag: package-2015-03 and java + +These settings apply only when `--tag=package-2015-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.operationalinsights.v2015_03_20 + output-folder: $(azure-libraries-for-java-folder)/operationalinsights/resource-manager/v2015_03_20 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2015-11-preview and java + +These settings apply only when `--tag=package-2015-11-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-11-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.operationalinsights.v2015_11_01_preview + output-folder: $(azure-libraries-for-java-folder)/operationalinsights/resource-manager/v2015_11_01_preview +regenerate-manager: true +generate-interface: true +``` + + ## Suppression ``` yaml diff --git a/specification/operationsmanagement/resource-manager/readme.md b/specification/operationsmanagement/resource-manager/readme.md index 3cc21c14bf81..8117bace92e6 100644 --- a/specification/operationsmanagement/resource-manager/readme.md +++ b/specification/operationsmanagement/resource-manager/readme.md @@ -109,11 +109,32 @@ 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.operationsmanagement +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-operationsmanagement +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-11-preview +``` + +### Tag: package-2015-11-preview and java + +These settings apply only when `--tag=package-2015-11-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-11-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.operationsmanagement - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-operationsmanagement + namespace: com.microsoft.azure.management.operationsmanagement.v2015_11_01_preview + output-folder: $(azure-libraries-for-java-folder)/operationsmanagement/resource-manager/v2015_11_01_preview +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/policyinsights/resource-manager/readme.md b/specification/policyinsights/resource-manager/readme.md index 581fbfe9e65f..ffac40275df2 100644 --- a/specification/policyinsights/resource-manager/readme.md +++ b/specification/policyinsights/resource-manager/readme.md @@ -113,7 +113,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go ``` @@ -224,11 +224,31 @@ 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.policyinsights +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-policyinsights +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-04 +``` + +### Tag: package-2018-04 and java + +These settings apply only when `--tag=package-2018-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-04' && $(java) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.policyinsights - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-policyinsights + namespace: com.microsoft.azure.management.policyinsights.v2018_04_04 + output-folder: $(azure-libraries-for-java-folder)/policyinsights/resource-manager/v2018_04_04 +regenerate-manager: true +generate-interface: true ``` + diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index 2322e041a432..f5c3d789670e 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -73,7 +73,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node ``` @@ -172,11 +172,30 @@ 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.postgresql +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-postgresql +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-12-01 +``` + +### Tag: package-2017-12-01 and java + +These settings apply only when `--tag=package-2016-12-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-12-01' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.postgresql - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-postgresql + namespace: com.microsoft.azure.management.postgresql.v2017_12_01 + output-folder: $(azure-libraries-for-java-folder)/postgresql/resource-manager/v2017_12_01 +regenerate-manager: true +generate-interface: true ``` diff --git a/specification/powerbidedicated/resource-manager/readme.md b/specification/powerbidedicated/resource-manager/readme.md index 01863b588894..4571aaeeef56 100644 --- a/specification/powerbidedicated/resource-manager/readme.md +++ b/specification/powerbidedicated/resource-manager/readme.md @@ -101,11 +101,32 @@ 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.powerbidedicated +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-powerbidedicated +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-10-01 +``` + +### Tag: package-2017-10-01 and java + +These settings apply only when `--tag=package-2017-10-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-10-01' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.powerbidedicated - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-powerbidedicated + namespace: com.microsoft.azure.management.powerbidedicated.v2017_10_01 + output-folder: $(azure-libraries-for-java-folder)/powerbidedicated/resource-manager/v2017_10_01 +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/powerbiembedded/resource-manager/readme.md b/specification/powerbiembedded/resource-manager/readme.md index 89f380ba3760..18c73dbe54b0 100644 --- a/specification/powerbiembedded/resource-manager/readme.md +++ b/specification/powerbiembedded/resource-manager/readme.md @@ -52,7 +52,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -138,11 +138,32 @@ 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.powerbiembedded +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-powerbiembedded +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-01 +``` + +### Tag: package-2016-01 and java + +These settings apply only when `--tag=package-2016-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-01' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.powerbiembedded - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-powerbiembedded + namespace: com.microsoft.azure.management.powerbi.v2016_01_29 + output-folder: $(azure-libraries-for-java-folder)/powerbi/resource-manager/v2016_01_29 +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/recoveryservices/resource-manager/readme.md b/specification/recoveryservices/resource-manager/readme.md index eb6e978747f5..db306432a8fd 100644 --- a/specification/recoveryservices/resource-manager/readme.md +++ b/specification/recoveryservices/resource-manager/readme.md @@ -56,7 +56,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -141,11 +141,32 @@ 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.recoveryservices +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-recoveryservices +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-06 +``` + +### Tag: package-2016-06 and java + +These settings apply only when `--tag=package-2016-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-06' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.recoveryservices - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-recoveryservices + namespace: com.microsoft.azure.management.recoveryservices.v2016_06_01 + output-folder: $(azure-libraries-for-java-folder)/recoveryservices/resource-manager/v2016_06_01 +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/recoveryservicesbackup/resource-manager/readme.md b/specification/recoveryservicesbackup/resource-manager/readme.md index 7f77af6330ea..837e54cff670 100644 --- a/specification/recoveryservicesbackup/resource-manager/readme.md +++ b/specification/recoveryservicesbackup/resource-manager/readme.md @@ -106,7 +106,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -163,15 +163,36 @@ 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.recoveryservicesbackup +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-recoveryservicesbackup +``` + + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-06 +``` + +### Tag: package-2016-06 and java + +These settings apply only when `--tag=package-2016-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-06' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.recoveryservicesbackup - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-recoveryservicesbackup + namespace: com.microsoft.azure.management.recoveryservices.backup.v2016_06_01 + output-folder: $(azure-libraries-for-java-folder)/recoveryservices.backup/resource-manager/v2016_06_01 +regenerate-manager: true +generate-interface: true ``` + ## Go These settings apply only when `--go` is specified on the command line. diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.md b/specification/recoveryservicessiterecovery/resource-manager/readme.md index fac4a82539df..fc71ed33ea3f 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/readme.md +++ b/specification/recoveryservicessiterecovery/resource-manager/readme.md @@ -59,7 +59,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -127,11 +127,32 @@ 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.recoveryservicessiterecovery +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-recoveryservicessiterecovery +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-08 +``` + +### Tag: package-2016-08 and java + +These settings apply only when `--tag=package-2016-08 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-08' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.recoveryservicessiterecovery - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-recoveryservicessiterecovery + namespace: com.microsoft.azure.management.recoveryservicessiterecovery.v2018_01_10 + output-folder: $(azure-libraries-for-java-folder)/recoveryservicessiterecovery/resource-manager/v2018_01_10 +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/redis/resource-manager/readme.md b/specification/redis/resource-manager/readme.md index b10606abc76f..2dd0fc43e918 100644 --- a/specification/redis/resource-manager/readme.md +++ b/specification/redis/resource-manager/readme.md @@ -90,7 +90,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -219,15 +219,49 @@ 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.redis +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-redis +``` + +### Java multi-api +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-03 + - tag: package-2017-10 +``` + +### Tag: package-2018-03 and java + +These settings apply only when `--tag=package-2018-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.redis - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-redis + namespace: com.microsoft.azure.management.redis.v2018_03_01 + output-folder: $(azure-libraries-for-java-folder)/redis/resource-manager/v2018_03_01 +regenerate-manager: true +generate-interface: true +``` + + +### Tag: package-2017-10 and java + +These settings apply only when `--tag=package-2017-10 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.redis.v2017_10_01 + output-folder: $(azure-libraries-for-java-folder)/redis/resource-manager/v2017_10_01 +regenerate-manager: true +generate-interface: true ``` + # Validation ## Suppression diff --git a/specification/relay/resource-manager/readme.md b/specification/relay/resource-manager/readme.md index ad71523eeeb2..389b4c7fad25 100644 --- a/specification/relay/resource-manager/readme.md +++ b/specification/relay/resource-manager/readme.md @@ -62,7 +62,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -157,11 +157,46 @@ 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.relay +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-relay +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-07 + - tag: package-2017-04 +``` + +### Tag: package-2016-07 and java + +These settings apply only when `--tag=package-2016-07 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-07' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.relay - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-relay + namespace: com.microsoft.azure.management.relay.v2016_07_01 + output-folder: $(azure-libraries-for-java-folder)/relay/resource-manager/v2016_07_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.relay.v2017_04_01 + output-folder: $(azure-libraries-for-java-folder)/relay/resource-manager/v2017_04_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index 6c0317ae079d..c9ac8a4c839b 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -59,7 +59,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go ``` @@ -150,11 +150,32 @@ 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.reservations +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-reservations +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-11 +``` + +### Tag: package-2017-11 and java + +These settings apply only when `--tag=package-2017-11 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-11' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.reservations - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-reservations + namespace: com.microsoft.azure.management.reservations.v2017_11_01 + output-folder: $(azure-libraries-for-java-folder)/reservations/resource-manager/v2017_11_01 +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/resourcehealth/resource-manager/readme.md b/specification/resourcehealth/resource-manager/readme.md index 9f751e8717c8..78d0b0498bca 100644 --- a/specification/resourcehealth/resource-manager/readme.md +++ b/specification/resourcehealth/resource-manager/readme.md @@ -110,11 +110,46 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.resourcehealth - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-resourcehealth +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.resourcehealth +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-resourcehealth ``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-07 + - tag: package-2015-01 +``` + +### Tag: package-2017-07 and java + +These settings apply only when `--tag=package-2017-07 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.resourcehealth.v2017_07_01 + output-folder: $(azure-libraries-for-java-folder)/resourcehealth/resource-manager/v2017_07_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2015-01 and java + +These settings apply only when `--tag=package-2015-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.resourcehealth.v2015_01_01 + output-folder: $(azure-libraries-for-java-folder)/resourcehealth/resource-manager/v2015_01_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 3cc5544092ab..76774edc20f4 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -322,7 +322,7 @@ swagger-to-sdk: - python ./scripts/multiapi_init_gen.py azure-mgmt-resource#resources - python ./scripts/multiapi_init_gen.py azure-mgmt-resource#subscriptions - python ./scripts/multiapi_init_gen.py azure-mgmt-resource#links - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node ``` @@ -808,10 +808,12 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - license-header: MICROSOFT_MIT_NO_CODEGEN +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.resources +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-resources ``` ### Java multi-api @@ -823,6 +825,8 @@ batch: - tag: package-features-2015-12 - tag: package-locks-2016-09 - tag: package-policy-2018-03 + - tag: package-policy-2016-12 + - tag: package-resources-2018-02 - tag: package-resources-2016-09 - tag: package-subscriptions-2016-06 ``` @@ -830,12 +834,15 @@ batch: ### Tag: package-features-2015-12 and java These settings apply only when `--tag=package-features-2015-12 --java` is specified on the command line. -Please also specify `--azure-libraries-for-java-folder=`. +Please also specify `--azure-libraries-for-java-folder=`. -``` yaml $(tag) == 'package-features-2015-12' && $(java) +``` yaml $(tag) == 'package-features-2015-12' && $(java) && $(multiapi) java: - namespace: com.microsoft.azure.management.resources - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-resources + namespace: com.microsoft.azure.management.features.v2015_12_01 + output-folder: $(azure-libraries-for-java-folder)/features/resource-manager/v2015_12_01 +regenerate-manager: true +generate-interface: true +fconfig: '{"moduleName": "Features"}' ``` ### Tag: package-locks-2016-09 and java @@ -843,11 +850,13 @@ 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) +``` yaml $(tag) == 'package-locks-2016-09' && $(java) && $(multiapi) java: - payload-flattening-threshold: 1 - namespace: com.microsoft.azure.management.locks - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-locks + namespace: com.microsoft.azure.management.locks.v2016_09_01 + output-folder: $(azure-libraries-for-java-folder)/locks/resource-manager/v2016_09_01 +regenerate-manager: true +generate-interface: true +fconfig: '{"moduleName": "Locks"}' ``` ### Tag: package-policy-2018-03 and java @@ -855,10 +864,48 @@ java: These settings apply only when `--tag=package-policy-2018-03 --java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. -``` yaml $(tag) == 'package-policy-2018-03' && $(java) +``` yaml $(tag) == 'package-policy-2018-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.policy.v2018_03_01 + output-folder: $(azure-libraries-for-java-folder)/policy/resource-manager/v2018_03_01 +regenerate-manager: true +generate-interface: true +fconfig: '{"moduleName": "Policy"}' +directive: + from: policyAssignments.json + where: $.definitions.PolicyAssignmentProperties.properties.scope + transform: $['x-ms-client-name'] = 'scopeProperty' +``` + +### Tag: package-policy-2016-12 and java + +These settings apply only when `--tag=package-policy-2016-12 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-policy-2016-12' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.policy.v2016_12_01 + output-folder: $(azure-libraries-for-java-folder)/policy/resource-manager/v2016_12_01 +regenerate-manager: true +generate-interface: true +fconfig: '{"moduleName": "Policy"}' +directive: + from: policyAssignments.json + where: $.definitions.PolicyAssignmentProperties.properties.scope + transform: $['x-ms-client-name'] = 'scopeProperty' +``` + +### Tag: package-resources-2018-02 and java + +These settings apply only when `--tag=package-resources-2018-02 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-resources-2018-02' && $(java) && $(multiapi) java: - namespace: com.microsoft.azure.management.resources - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-resources + namespace: com.microsoft.azure.management.resources.v2018_02_01 + output-folder: $(azure-libraries-for-java-folder)/resources/resource-manager/v2018_02_01 +regenerate-manager: true +generate-interface: true ``` ### Tag: package-resources-2016-09 and java @@ -866,10 +913,12 @@ 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) +``` yaml $(tag) == 'package-resources-2016-09' && $(java) && $(multiapi) java: - namespace: com.microsoft.azure.management.resources - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-resources + namespace: com.microsoft.azure.management.resources.v2016_09_01 + output-folder: $(azure-libraries-for-java-folder)/resources/resource-manager/v2016_09_01 +regenerate-manager: true +generate-interface: true ``` ### Tag: package-subscriptions-2016-06 and java @@ -877,10 +926,12 @@ 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) +``` yaml $(tag) == 'package-subscriptions-2016-06' && $(java) && $(multiapi) java: - namespace: com.microsoft.azure.management.resources - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-resources + namespace: com.microsoft.azure.management.resources.v2016_06_01 + output-folder: $(azure-libraries-for-java-folder)/resources/resource-manager/v2016_06_01 +regenerate-manager: true +generate-interface: true ``` # Validation diff --git a/specification/scheduler/resource-manager/readme.md b/specification/scheduler/resource-manager/readme.md index 2a587f4873c6..4d51ad0688ff 100644 --- a/specification/scheduler/resource-manager/readme.md +++ b/specification/scheduler/resource-manager/readme.md @@ -70,7 +70,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -176,11 +176,60 @@ 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.scheduler +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-scheduler +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2014-08-preview + - tag: package-2016-01 + - tag: package-2016-03 +``` + +### Tag: package-2014-08-preview and java + +These settings apply only when `--tag=package-2014-08-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2014-08-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.scheduler - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-scheduler + namespace: com.microsoft.azure.management.scheduler.v2014_08_01_preview + output-folder: $(azure-libraries-for-java-folder)/scheduler/resource-manager/v2014_08_01_preview +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2016-01 and java + +These settings apply only when `--tag=package-2016-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.scheduler.v2016_01_01 + output-folder: $(azure-libraries-for-java-folder)/scheduler/resource-manager/v2016_01_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-03 and java + +These settings apply only when `--tag=package-2016-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.scheduler.v2016_03_01 + output-folder: $(azure-libraries-for-java-folder)/scheduler/resource-manager/v2016_03_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/search/resource-manager/readme.md b/specification/search/resource-manager/readme.md index 02d9d0978d07..7400907dbc7b 100644 --- a/specification/search/resource-manager/readme.md +++ b/specification/search/resource-manager/readme.md @@ -61,7 +61,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -156,11 +156,46 @@ 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.search +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-search +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-02 + - tag: package-2015-08 +``` + +### Tag: package-2015-02 and java + +These settings apply only when `--tag=package-2015-02 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-02' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.search - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-search + namespace: com.microsoft.azure.management.searchmanagementclient.v2015_02_28 + output-folder: $(azure-libraries-for-java-folder)/searchmanagementclient/resource-manager/v2015_02_28 +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.searchmanagementclient.v2015_08_19 + output-folder: $(azure-libraries-for-java-folder)/searchmanagementclient/resource-manager/v2015_08_19 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/servermanagement/resource-manager/readme.md b/specification/servermanagement/resource-manager/readme.md index 773c542d817c..612d001454dd 100644 --- a/specification/servermanagement/resource-manager/readme.md +++ b/specification/servermanagement/resource-manager/readme.md @@ -61,7 +61,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -157,11 +157,46 @@ 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.servermanagement +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-servermanagement +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-07-preview + - tag: package-2016-07-preview +``` + +### Tag: package-2015-07-preview and java + +These settings apply only when `--tag=package-2015-07-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-07-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.servermanagement - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-servermanagement + namespace: com.microsoft.azure.management.servermanagement.v2015_07_01_preview + output-folder: $(azure-libraries-for-java-folder)/servermanagement/resource-manager/v2015_07_01_preview +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2016-07-preview and java + +These settings apply only when `--tag=package-2016-07-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-07-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.servermanagement.v2016_07_01_preview + output-folder: $(azure-libraries-for-java-folder)/servermanagement/resource-manager/v2016_07_01_preview +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/service-map/resource-manager/readme.md b/specification/service-map/resource-manager/readme.md index b19c2300e3df..8f967023e64a 100644 --- a/specification/service-map/resource-manager/readme.md +++ b/specification/service-map/resource-manager/readme.md @@ -103,11 +103,32 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.operationalinsights.servicemap - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-operationalinsights/servicemap +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.operationalinsights.servicemap +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-operationalinsights/servicemap ``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-11-preview +``` + +### Tag: package-2015-11-preview and java + +These settings apply only when `--tag=package-2015-11-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-11-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.servicemap.v2015_11_01_preview + output-folder: $(azure-libraries-for-java-folder)/servicemap/resource-manager/v2015_11_01_preview +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/servicebus/resource-manager/readme.md b/specification/servicebus/resource-manager/readme.md index 2a8ad8ca626f..0c9202ae3146 100644 --- a/specification/servicebus/resource-manager/readme.md +++ b/specification/servicebus/resource-manager/readme.md @@ -67,7 +67,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -164,11 +164,46 @@ 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.servicebus +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-servicebus +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-08 + - tag: package-2017-04 +``` + +### 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: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.servicebus - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-servicebus + namespace: com.microsoft.azure.management.servicebus.v2015_08_01 + output-folder: $(azure-libraries-for-java-folder)/servicebus/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.servicebus.v2017_04_01 + output-folder: $(azure-libraries-for-java-folder)/servicebus/resource-manager/v2017_04_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/servicefabric/data-plane/readme.md b/specification/servicefabric/data-plane/readme.md index b6e62ffa813a..388eefcd36e7 100644 --- a/specification/servicefabric/data-plane/readme.md +++ b/specification/servicefabric/data-plane/readme.md @@ -126,7 +126,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node ``` diff --git a/specification/servicefabric/resource-manager/readme.md b/specification/servicefabric/resource-manager/readme.md index ed7916c4fb1d..4a3c6047d962 100644 --- a/specification/servicefabric/resource-manager/readme.md +++ b/specification/servicefabric/resource-manager/readme.md @@ -101,7 +101,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -208,11 +208,46 @@ 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.servicefabric +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-servicefabric +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-07 + - tag: package-2016-09 +``` + +### Tag: package-2017-07 and java + +These settings apply only when `--tag=package-2017-07 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-07' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.servicefabric - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-servicefabric + namespace: com.microsoft.azure.management.servicefabric.v2017_07_01_preview + output-folder: $(azure-libraries-for-java-folder)/servicefabric/resource-manager/v2017_07_01_preview +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2016-09 and java + +These settings apply only when `--tag=package-2016-09 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-09' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.servicefabric.v2016_09_01 + output-folder: $(azure-libraries-for-java-folder)/servicefabric/resource-manager/v2016_09_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/signalr/resource-manager/readme.md b/specification/signalr/resource-manager/readme.md index 9b9efb0753a5..78b5fe25a292 100644 --- a/specification/signalr/resource-manager/readme.md +++ b/specification/signalr/resource-manager/readme.md @@ -51,7 +51,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-ruby after_scripts: @@ -121,13 +121,32 @@ 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.signalr +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-signalr +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-03-01-preview +``` + +### Tag: package-2018-03-01-preview and java + +These settings apply only when `--tag=package-2018-03-01-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-03-01-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.signalr - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-signalr + namespace: com.microsoft.azure.management.signalr.v2018_03_01_preview + output-folder: $(azure-libraries-for-java-folder)/signalr/resource-manager/v2018_03_01_preview +regenerate-manager: true +generate-interface: true ``` ## C# diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index 11f0cce725f6..d3dc67d28438 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -526,7 +526,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -643,15 +643,50 @@ 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.sql +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-sql +``` + + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-pure-2017-10-preview + - tag: package-2014-04 +``` + +### Tag: package-pure-2017-10-preview and java + +These settings apply only when `--tag=package-pure-2017-10-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-pure-2017-10-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.sql - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-sql + namespace: com.microsoft.azure.management.sql.v2017_10_01_preview + output-folder: $(azure-libraries-for-java-folder)/sql/resource-manager/v2017_10_01_preview +regenerate-manager: true +generate-interface: true ``` +### Tag: package-2014-04 and java + +These settings apply only when `--tag=package-2014-04 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2014-04' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.sql.v2014_04_01 + output-folder: $(azure-libraries-for-java-folder)/sql/resource-manager/v2014_04_01 +regenerate-manager: true +generate-interface: true +``` + + ## Validation ``` yaml diff --git a/specification/storage/resource-manager/readme.md b/specification/storage/resource-manager/readme.md index 3af48573280f..37e431c40bb1 100644 --- a/specification/storage/resource-manager/readme.md +++ b/specification/storage/resource-manager/readme.md @@ -156,7 +156,7 @@ swagger-to-sdk: - repo: azure-sdk-for-python after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-storage - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -384,12 +384,71 @@ 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.storage +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 2 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-storage +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-03 + - tag: package-2018-02 + - tag: package-2017-10 + - tag: package-2016-01 +``` +### Tag: package-2018-03 and java + +These settings apply only when `--tag=package-2018-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.storage - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 2 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-storage + namespace: com.microsoft.azure.management.storage.v2018_03_01_preview + output-folder: $(azure-libraries-for-java-folder)/storage/resource-manager/v2018_03_01_preview +regenerate-manager: true +generate-interface: true ``` +### 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-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.storage.v2018_02_01 + output-folder: $(azure-libraries-for-java-folder)/storage/resource-manager/v2018_02_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-10 and java + +These settings apply only when `--tag=package-2017-10 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.storage.v2017_10_01 + output-folder: $(azure-libraries-for-java-folder)/storage/resource-manager/v2017_10_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-01 and java + +These settings apply only when `--tag=package-2016-01 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2016-01' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.storage.v2016_01_01 + output-folder: $(azure-libraries-for-java-folder)/storage/resource-manager/v2016_01_01 +regenerate-manager: true +generate-interface: true +``` diff --git a/specification/storageimportexport/resource-manager/readme.md b/specification/storageimportexport/resource-manager/readme.md index 9ba6c137875a..945dcacc96c4 100644 --- a/specification/storageimportexport/resource-manager/readme.md +++ b/specification/storageimportexport/resource-manager/readme.md @@ -88,11 +88,32 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.storageimportexport - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-storageimportexport +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.storageimportexport +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-storageimportexport ``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-11 +``` + +### Tag: package-2016-11 and java + +These settings apply only when `--tag=package-2016-11 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2016-11' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.storageimportexport.v2016_11_01 + output-folder: $(azure-libraries-for-java-folder)/storageimportexport/resource-manager/v2016_11_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/storsimple8000series/resource-manager/readme.md b/specification/storsimple8000series/resource-manager/readme.md index 20a295ba8395..a0636c29b01c 100644 --- a/specification/storsimple8000series/resource-manager/readme.md +++ b/specification/storsimple8000series/resource-manager/readme.md @@ -111,11 +111,32 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.storsimple8000series - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-storsimple8000series +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.storsimple8000series +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-storsimple8000series ``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-06 +``` + +### Tag: package-2017-06 and java + +These settings apply only when `--tag=package-2017-06 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-06' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.storsimple.v2017_06_01 + output-folder: $(azure-libraries-for-java-folder)/storsimple/resource-manager/v2017_06_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/streamanalytics/resource-manager/readme.md b/specification/streamanalytics/resource-manager/readme.md index a0dc34f5390e..1cfe078e9b49 100644 --- a/specification/streamanalytics/resource-manager/readme.md +++ b/specification/streamanalytics/resource-manager/readme.md @@ -115,13 +115,32 @@ 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.streamanalytics +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-streamanalytics +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2016-03 +``` + +### Tag: package-2016-03 and java + +These settings apply only when `--tag=package-2016-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2016-03' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.streamanalytics - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-streamanalytics + namespace: com.microsoft.azure.management.streamanalytics.v2016_03_01 + output-folder: $(azure-libraries-for-java-folder)/streamanalytics/resource-manager/v2016_03_01 +regenerate-manager: true +generate-interface: true ``` diff --git a/specification/subscription/resource-manager/readme.md b/specification/subscription/resource-manager/readme.md index aa59224e6487..a3a376df32d0 100644 --- a/specification/subscription/resource-manager/readme.md +++ b/specification/subscription/resource-manager/readme.md @@ -143,11 +143,32 @@ 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.subscription +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-subscription +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-11-preview +``` + +### Tag: package-2017-11-preview and java + +These settings apply only when `--tag=package-2017-11-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-11-preview' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.subscription - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-subscription + namespace: com.microsoft.azure.management.subscription.v2017_11_01_preview + output-folder: $(azure-libraries-for-java-folder)/subscription/resource-manager/v2017_11_01_preview +regenerate-manager: true +generate-interface: true ``` + + diff --git a/specification/timeseriesinsights/resource-manager/readme.md b/specification/timeseriesinsights/resource-manager/readme.md index a100c457fea8..1b06b74a1068 100644 --- a/specification/timeseriesinsights/resource-manager/readme.md +++ b/specification/timeseriesinsights/resource-manager/readme.md @@ -122,11 +122,46 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.timeseriesinsights - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-timeseriesinsights +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.timeseriesinsights +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-timeseriesinsights ``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2017-11-15 + - tag: package-2017-02-preview +``` + +### Tag: package-2017-11-15 and java + +These settings apply only when `--tag=package-2017-11-15 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-11-15' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.timeseriesinsights.v2017_11_15 + output-folder: $(azure-libraries-for-java-folder)/timeseriesinsights/resource-manager/v2017_11_15 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-02-preview and java + +These settings apply only when `--tag=package-2017-02-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-02-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.timeseriesinsights.v2017_02_28_preview + output-folder: $(azure-libraries-for-java-folder)/timeseriesinsights/resource-manager/v2017_02_28_preview +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/trafficmanager/resource-manager/readme.md b/specification/trafficmanager/resource-manager/readme.md index 09c5ddee4a5a..7fbabf924fe1 100644 --- a/specification/trafficmanager/resource-manager/readme.md +++ b/specification/trafficmanager/resource-manager/readme.md @@ -146,7 +146,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -284,11 +284,74 @@ 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.trafficmanager +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-trafficmanager +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2015-11 + - tag: package-2018-03 + - tag: package-2017-03 + - tag: package-2017-05 +``` + +### Tag: package-2015-11 and java + +These settings apply only when `--tag=package-2015-11 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2015-11' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.trafficmanager - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-trafficmanager + namespace: com.microsoft.azure.management.trafficmanager.v2015_11_01 + output-folder: $(azure-libraries-for-java-folder)/trafficmanager/resource-manager/v2015_11_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2018-03 and java + +These settings apply only when `--tag=package-2018-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2018-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.trafficmanager.v2018_03_01 + output-folder: $(azure-libraries-for-java-folder)/trafficmanager/resource-manager/v2018_03_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2017-03 and java + +These settings apply only when `--tag=package-2017-03 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-03' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.trafficmanager.v2017_03_01 + output-folder: $(azure-libraries-for-java-folder)/trafficmanager/resource-manager/v2017_03_01 +regenerate-manager: true +generate-interface: true ``` + +### Tag: package-2017-05 and java + +These settings apply only when `--tag=package-2017-05 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2017-05' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.trafficmanager.v2017_05_01 + output-folder: $(azure-libraries-for-java-folder)/trafficmanager/resource-manager/v2017_05_01 +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/visualstudio/resource-manager/readme.md b/specification/visualstudio/resource-manager/readme.md index 2fe55f98ac10..e0108e25ff9a 100644 --- a/specification/visualstudio/resource-manager/readme.md +++ b/specification/visualstudio/resource-manager/readme.md @@ -96,11 +96,32 @@ These settings apply only when `--java` is specified on the command line. Please also specify `--azure-libraries-for-java-folder=`. ``` yaml $(java) -java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.visualstudio - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-visualstudio +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.visualstudio +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-visualstudio ``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2014-04-preview +``` + +### Tag: package-2014-04-preview and java + +These settings apply only when `--tag=package-2014-04-preview --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2014-04-preview' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.visualstudio.v2014_04_01_preview + output-folder: $(azure-libraries-for-java-folder)/visualstudio/resource-manager/v2014_04_01_preview +regenerate-manager: true +generate-interface: true +``` + + diff --git a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServiceEnvironments.json index 63650ff43676..3d3833c6cd3e 100644 --- a/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/stable/2018-02-01/AppServiceEnvironments.json @@ -895,7 +895,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/multiRolePools/default/instances/{instance}/metrics": { "get": { "tags": [ "AppServiceEnvironments" @@ -1823,7 +1823,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/instances/{instance}/metrics": { "get": { "tags": [ "AppServiceEnvironments" diff --git a/specification/web/resource-manager/readme.md b/specification/web/resource-manager/readme.md index 52c6bee88345..6e88046bfaa5 100644 --- a/specification/web/resource-manager/readme.md +++ b/specification/web/resource-manager/readme.md @@ -279,7 +279,7 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - - repo: azure-libraries-for-java + - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby @@ -386,11 +386,72 @@ 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.appservice +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-appservice +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2018-02 + - tag: package-2016-03-01-web + - tag: package-2016-08-01-web + - tag: package-2016-09-01-web +``` + +### 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-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(java) && $(multiapi) java: - azure-arm: true - fluent: true - namespace: com.microsoft.azure.management.web - license-header: MICROSOFT_MIT_NO_CODEGEN - payload-flattening-threshold: 1 - output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-web + namespace: com.microsoft.azure.management.appservice.v2018_02_01 + output-folder: $(azure-libraries-for-java-folder)/appservice/resource-manager/v2018_02_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-03-01-web and java + +These settings apply only when `--tag=package-2016-03-01-web --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2016-03-01-web' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.appservice.v2016_03_01 + output-folder: $(azure-libraries-for-java-folder)/appservice/resource-manager/v2016_03_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-08-01-web and java + +These settings apply only when `--tag=package-2016-08-01-web --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2016-08-01-web' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.appservice.v2016_08_01 + output-folder: $(azure-libraries-for-java-folder)/appservice/resource-manager/v2016_08_01 +regenerate-manager: true +generate-interface: true +``` + +### Tag: package-2016-09-01-web and java + +These settings apply only when `--tag=package-2016-09-01-web --java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(tag) == 'package-2016-09-01-web' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.appservice.v2016_09_01 + output-folder: $(azure-libraries-for-java-folder)/appservice/resource-manager/v2016_09_01 +regenerate-manager: true +generate-interface: true ```