diff --git a/specification/EnterpriseKnowledgeGraph/resource-manager/readme.azureresourceschema.md b/specification/EnterpriseKnowledgeGraph/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..2f8c7a89b45d --- /dev/null +++ b/specification/EnterpriseKnowledgeGraph/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-12-03 +``` + +### Tag: package-2018-12-03 and azureresourceschema + +These settings apply only when `--tag=package-2018-12-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-12-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md b/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md index 18d7c396724d..5e86715c9ebe 100644 --- a/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md +++ b/specification/EnterpriseKnowledgeGraph/resource-manager/readme.md @@ -75,6 +75,9 @@ swagger-to-sdk: - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js EnterpriseKnowledgeGraph/resource-manager ``` ## C# @@ -91,6 +94,10 @@ csharp: clear-output-folder: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/addons/resource-manager/readme.azureresourceschema.md b/specification/addons/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..03300a1176a7 --- /dev/null +++ b/specification/addons/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-03 + - tag: package-2017-05 +``` + +### Tag: package-2018-03 and azureresourceschema + +These settings apply only when `--tag=package-2018-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-05 and azureresourceschema + +These settings apply only when `--tag=package-2017-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/addons/resource-manager/readme.md b/specification/addons/resource-manager/readme.md index 50f7283f8527..190417253f1c 100644 --- a/specification/addons/resource-manager/readme.md +++ b/specification/addons/resource-manager/readme.md @@ -50,6 +50,17 @@ input-file: --- # Code Generation +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js addons/resource-manager +``` --- ## C# @@ -182,6 +193,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/adhybridhealthservice/resource-manager/readme.azureresourceschema.md b/specification/adhybridhealthservice/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..ed04fab1396b --- /dev/null +++ b/specification/adhybridhealthservice/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2014-01 +``` + +### Tag: package-2014-01 and azureresourceschema + +These settings apply only when `--tag=package-2014-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2014-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/adhybridhealthservice/resource-manager/readme.md b/specification/adhybridhealthservice/resource-manager/readme.md index 5628efb7da58..88e9f3b4d518 100644 --- a/specification/adhybridhealthservice/resource-manager/readme.md +++ b/specification/adhybridhealthservice/resource-manager/readme.md @@ -54,6 +54,9 @@ swagger-to-sdk: - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js adhybridhealthservice/resource-manager ``` @@ -94,6 +97,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/advisor/resource-manager/readme.azureresourceschema.md b/specification/advisor/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..723daa9aca7c --- /dev/null +++ b/specification/advisor/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,60 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-07-preview + - tag: package-2020-01 + - tag: package-2017-04 + - tag: package-2017-03 + - tag: package-2016-07-preview +``` + +### Tag: package-2020-07-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-07-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-07-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-04 and azureresourceschema + +These settings apply only when `--tag=package-2017-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-03 and azureresourceschema + +These settings apply only when `--tag=package-2017-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-07-preview and azureresourceschema + +These settings apply only when `--tag=package-2016-07-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-07-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/advisor/resource-manager/readme.md b/specification/advisor/resource-manager/readme.md index 1ac722c6bee0..c3f9f016496e 100644 --- a/specification/advisor/resource-manager/readme.md +++ b/specification/advisor/resource-manager/readme.md @@ -90,6 +90,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js advisor/resource-manager ``` ## Python @@ -145,6 +148,10 @@ csharp: See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/alertsmanagement/resource-manager/readme.azureresourceschema.md b/specification/alertsmanagement/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..64292ea0ce1e --- /dev/null +++ b/specification/alertsmanagement/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,70 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-06-preview + - tag: package-2019-06 + - tag: package-2019-03 + - tag: package-preview-2019-05 + - tag: package-2018-05 + - tag: package-2018-05-preview +``` + +### Tag: package-2019-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06 and azureresourceschema + +These settings apply only when `--tag=package-2019-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-03 and azureresourceschema + +These settings apply only when `--tag=package-2019-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-preview-2019-05 and azureresourceschema + +These settings apply only when `--tag=package-preview-2019-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2019-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-05 and azureresourceschema + +These settings apply only when `--tag=package-2018-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/alertsmanagement/resource-manager/readme.md b/specification/alertsmanagement/resource-manager/readme.md index f3499619c52f..45c22d7e8fc0 100644 --- a/specification/alertsmanagement/resource-manager/readme.md +++ b/specification/alertsmanagement/resource-manager/readme.md @@ -116,6 +116,9 @@ swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-libraries-for-java - repo: azure-sdk-for-go + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js alertsmanagement/resource-manager ``` ## C# @@ -169,6 +172,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/analysisservices/resource-manager/readme.azureresourceschema.md b/specification/analysisservices/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..495ef9d66eb8 --- /dev/null +++ b/specification/analysisservices/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,50 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-08 + - tag: package-2017-08-beta + - tag: package-2017-07 + - tag: package-2016-05 +``` + +### Tag: package-2017-08 and azureresourceschema + +These settings apply only when `--tag=package-2017-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-08-beta and azureresourceschema + +These settings apply only when `--tag=package-2017-08-beta --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-08-beta' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-07 and azureresourceschema + +These settings apply only when `--tag=package-2017-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-05 and azureresourceschema + +These settings apply only when `--tag=package-2016-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/analysisservices/resource-manager/readme.md b/specification/analysisservices/resource-manager/readme.md index 47c8ceba9a14..c65ff0f0a6f8 100644 --- a/specification/analysisservices/resource-manager/readme.md +++ b/specification/analysisservices/resource-manager/readme.md @@ -84,6 +84,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_analysis_services'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js analysisservices/resource-manager ``` @@ -183,6 +186,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/apimanagement/resource-manager/readme.azureresourceschema.md b/specification/apimanagement/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..36d60180d101 --- /dev/null +++ b/specification/apimanagement/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,90 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-12 + - tag: package-preview-2019-12 + - tag: package-2019-01 + - tag: package-2018-06-preview + - tag: package-2018-01 + - tag: package-2017-03 + - tag: package-2016-10 + - tag: package-2016-07 +``` + +### Tag: package-2019-12 and azureresourceschema + +These settings apply only when `--tag=package-2019-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-preview-2019-12 and azureresourceschema + +These settings apply only when `--tag=package-preview-2019-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2019-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-03 and azureresourceschema + +These settings apply only when `--tag=package-2017-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-10 and azureresourceschema + +These settings apply only when `--tag=package-2016-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-07 and azureresourceschema + +These settings apply only when `--tag=package-2016-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/apimanagement/resource-manager/readme.md b/specification/apimanagement/resource-manager/readme.md index c9c4710e178d..96ff6b9c8221 100644 --- a/specification/apimanagement/resource-manager/readme.md +++ b/specification/apimanagement/resource-manager/readme.md @@ -345,6 +345,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_api_management'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js apimanagement/resource-manager ``` ## C# @@ -373,6 +376,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/appconfiguration/resource-manager/readme.azureresourceschema.md b/specification/appconfiguration/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..adceff8babda --- /dev/null +++ b/specification/appconfiguration/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,50 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-06-01 + - tag: package-2019-11-01-preview + - tag: package-2019-02-01-preview + - tag: package-2019-10-01 +``` + +### Tag: package-2020-06-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-06-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-11-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-02-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-02-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-02-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-10-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-10-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/appconfiguration/resource-manager/readme.md b/specification/appconfiguration/resource-manager/readme.md index 1368cb987b57..8b0a55eef85c 100644 --- a/specification/appconfiguration/resource-manager/readme.md +++ b/specification/appconfiguration/resource-manager/readme.md @@ -85,6 +85,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_app_configuration'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js appconfiguration/resource-manager ``` ## C# @@ -129,6 +132,10 @@ directive: reason: This is data plane level information proxied through the RP and cannot be changed. ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/applicationinsights/resource-manager/readme.azureresourceschema.md b/specification/applicationinsights/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..0ae23a5a697d --- /dev/null +++ b/specification/applicationinsights/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,140 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-preview-2020-06-only + - tag: package-preview-2020-06 + - tag: package-preview-2020-02 + - tag: package-2015-05 + - tag: package-2017-10 + - tag: package-2018-06-17-preview + - tag: package-2019-10-17-preview + - tag: package-2018-05-01-preview + - tag: package-2019-09-01-preview + - tag: package-2020-02-02-preview + - tag: package-2020-03-01-preview + - tag: package-2020-04 + - tag: schema-2018-06-17-preview +``` + +### Tag: package-preview-2020-06-only and azureresourceschema + +These settings apply only when `--tag=package-preview-2020-06-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2020-06-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-preview-2020-06 and azureresourceschema + +These settings apply only when `--tag=package-preview-2020-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2020-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-preview-2020-02 and azureresourceschema + +These settings apply only when `--tag=package-preview-2020-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2020-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-05 and azureresourceschema + +These settings apply only when `--tag=package-2015-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-10 and azureresourceschema + +These settings apply only when `--tag=package-2017-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-17-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-06-17-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-17-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-10-17-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-10-17-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10-17-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-05-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-05-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-05-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-09-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-09-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-09-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-02-02-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-02-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-02-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-03-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-03-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-04 and azureresourceschema + +These settings apply only when `--tag=package-2020-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: schema-2018-06-17-preview and azureresourceschema + +These settings apply only when `--tag=schema-2018-06-17-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'schema-2018-06-17-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/applicationinsights/resource-manager/readme.md b/specification/applicationinsights/resource-manager/readme.md index eeeb91d57b0e..2e5675094afe 100644 --- a/specification/applicationinsights/resource-manager/readme.md +++ b/specification/applicationinsights/resource-manager/readme.md @@ -268,6 +268,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js applicationinsights/resource-manager ``` ## Go @@ -336,6 +339,10 @@ input-file: - Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/appplatform/resource-manager/readme.azureresourceschema.md b/specification/appplatform/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..65191c0bb6d3 --- /dev/null +++ b/specification/appplatform/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-05-01-preview +``` + +### Tag: package-2019-05-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-05-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-05-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/appplatform/resource-manager/readme.md b/specification/appplatform/resource-manager/readme.md index 2a1d933b2910..2ae680ea6387 100644 --- a/specification/appplatform/resource-manager/readme.md +++ b/specification/appplatform/resource-manager/readme.md @@ -72,6 +72,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_appplatform'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js appplatform/resource-manager ``` @@ -98,6 +101,10 @@ csharp: clear-output-folder: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/attestation/resource-manager/readme.azureresourceschema.md b/specification/attestation/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..6d1f0eaf8fad --- /dev/null +++ b/specification/attestation/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-09-preview +``` + +### Tag: package-2018-09-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-09-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/attestation/resource-manager/readme.md b/specification/attestation/resource-manager/readme.md index 44902dfd9d1a..e2509e0c3c46 100644 --- a/specification/attestation/resource-manager/readme.md +++ b/specification/attestation/resource-manager/readme.md @@ -51,6 +51,9 @@ swagger-to-sdk: - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js attestation/resource-manager ``` ## Python @@ -80,6 +83,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.trenton.md](./readme.trenton.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/authorization/resource-manager/readme.azureresourceschema.md b/specification/authorization/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..2582a7616768 --- /dev/null +++ b/specification/authorization/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,130 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-04-preview + - tag: package-2015-07-01 + - tag: package-2015-06-01-preview + - tag: package-2017-10-01-preview-only + - tag: package-2018-01-01-preview-only + - tag: package-2018-07-01-preview-only + - tag: package-2018-09-01-preview-only + - tag: package-2017-10-01-preview + - tag: package-2018-01-01-preview + - tag: package-2018-07-01-preview + - tag: package-2018-09-01-preview + - tag: profile-hybrid-2019-03-01 +``` + +### Tag: package-2020-04-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-04-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-07-01 and azureresourceschema + +These settings apply only when `--tag=package-2015-07-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-07-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-06-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-06-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-06-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-10-01-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2017-10-01-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-10-01-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01-01-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2018-01-01-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01-01-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-07-01-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2018-07-01-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-07-01-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-09-01-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2018-09-01-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-01-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-10-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-10-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-10-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-01-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-07-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-07-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-07-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-09-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-09-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: profile-hybrid-2019-03-01 and azureresourceschema + +These settings apply only when `--tag=profile-hybrid-2019-03-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'profile-hybrid-2019-03-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/authorization/resource-manager/readme.md b/specification/authorization/resource-manager/readme.md index 575b2c656dde..af53a4790f0c 100644 --- a/specification/authorization/resource-manager/readme.md +++ b/specification/authorization/resource-manager/readme.md @@ -232,6 +232,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_authorization'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js authorization/resource-manager ``` ## Go @@ -242,6 +245,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/automation/resource-manager/readme.azureresourceschema.md b/specification/automation/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..fe2a2e2ef839 --- /dev/null +++ b/specification/automation/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,60 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2015-10 + - tag: package-2017-05-preview + - tag: package-2018-01-preview + - tag: package-2018-06-preview + - tag: package-2020-01-13-preview +``` + +### Tag: package-2015-10 and azureresourceschema + +These settings apply only when `--tag=package-2015-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-13-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-01-13-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-13-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/automation/resource-manager/readme.md b/specification/automation/resource-manager/readme.md index e3416d6946aa..1232c3a3c9d8 100644 --- a/specification/automation/resource-manager/readme.md +++ b/specification/automation/resource-manager/readme.md @@ -238,6 +238,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_automation'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js automation/resource-manager ``` @@ -299,6 +302,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/azure-kusto/resource-manager/readme.azureresourceschema.md b/specification/azure-kusto/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..0e5c3b4b63db --- /dev/null +++ b/specification/azure-kusto/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,140 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-06-14 + - tag: package-2020-02-15 + - tag: package-2019-11-09 + - tag: package-2019-09-07 + - tag: package-2019-05-15 + - tag: package-2019-01-21 + - tag: package-2018-09-07-preview + - tag: package-2017-09-07-privatepreview + - tag: schema-2019-09-07 + - tag: schema-2019-05-15 + - tag: schema-2019-01-21 + - tag: schema-2018-09-07-preview + - tag: schema-2017-09-07-privatepreview +``` + +### Tag: package-2020-06-14 and azureresourceschema + +These settings apply only when `--tag=package-2020-06-14 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06-14' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-02-15 and azureresourceschema + +These settings apply only when `--tag=package-2020-02-15 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-02-15' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11-09 and azureresourceschema + +These settings apply only when `--tag=package-2019-11-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-09-07 and azureresourceschema + +These settings apply only when `--tag=package-2019-09-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-09-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-05-15 and azureresourceschema + +These settings apply only when `--tag=package-2019-05-15 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-05-15' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-01-21 and azureresourceschema + +These settings apply only when `--tag=package-2019-01-21 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-01-21' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-09-07-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-09-07-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-07-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-09-07-privatepreview and azureresourceschema + +These settings apply only when `--tag=package-2017-09-07-privatepreview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-09-07-privatepreview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: schema-2019-09-07 and azureresourceschema + +These settings apply only when `--tag=schema-2019-09-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'schema-2019-09-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: schema-2019-05-15 and azureresourceschema + +These settings apply only when `--tag=schema-2019-05-15 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'schema-2019-05-15' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: schema-2019-01-21 and azureresourceschema + +These settings apply only when `--tag=schema-2019-01-21 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'schema-2019-01-21' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: schema-2018-09-07-preview and azureresourceschema + +These settings apply only when `--tag=schema-2018-09-07-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'schema-2018-09-07-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: schema-2017-09-07-privatepreview and azureresourceschema + +These settings apply only when `--tag=schema-2017-09-07-privatepreview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'schema-2017-09-07-privatepreview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/azure-kusto/resource-manager/readme.md b/specification/azure-kusto/resource-manager/readme.md index afb317f7b06b..f33e161ac118 100644 --- a/specification/azure-kusto/resource-manager/readme.md +++ b/specification/azure-kusto/resource-manager/readme.md @@ -173,6 +173,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-java - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js azure-kusto/resource-manager ``` ## C# @@ -193,6 +196,10 @@ csharp: See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/azureactivedirectory/resource-manager/readme.azureresourceschema.md b/specification/azureactivedirectory/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..a6ca9a90658b --- /dev/null +++ b/specification/azureactivedirectory/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-preview-2020-07 + - tag: package-2017-04-01 +``` + +### Tag: package-preview-2020-07 and azureresourceschema + +These settings apply only when `--tag=package-preview-2020-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2020-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-04-01 and azureresourceschema + +These settings apply only when `--tag=package-2017-04-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-04-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/azureactivedirectory/resource-manager/readme.md b/specification/azureactivedirectory/resource-manager/readme.md index a280ce576d65..76d6a582264c 100644 --- a/specification/azureactivedirectory/resource-manager/readme.md +++ b/specification/azureactivedirectory/resource-manager/readme.md @@ -95,6 +95,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_azureactivedirectory'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js azureactivedirectory/resource-manager ``` ## Go @@ -117,6 +120,10 @@ See configuration in [readme.typescript.md](./readme.typescript.md) See configuration in [readme.csharp.md](./readme.csharp.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/azuredata/resource-manager/readme.azureresourceschema.md b/specification/azuredata/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..c93a191561ce --- /dev/null +++ b/specification/azuredata/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-preview-2019-07 + - tag: package-2017-03-01-preview +``` + +### Tag: package-preview-2019-07 and azureresourceschema + +These settings apply only when `--tag=package-preview-2019-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2019-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-03-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-03-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-03-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/azuredata/resource-manager/readme.md b/specification/azuredata/resource-manager/readme.md index 4ecacc7c3f4c..457d75830ec9 100644 --- a/specification/azuredata/resource-manager/readme.md +++ b/specification/azuredata/resource-manager/readme.md @@ -66,6 +66,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_azuredata'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js azuredata/resource-manager ``` ## Go @@ -88,6 +91,10 @@ See configuration in [readme.typescript.md](./readme.typescript.md) See configuration in [readme.csharp.md](./readme.csharp.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/azurestack/resource-manager/readme.azureresourceschema.md b/specification/azurestack/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..ab23a649cd45 --- /dev/null +++ b/specification/azurestack/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-06-01 +``` + +### Tag: package-2017-06-01 and azureresourceschema + +These settings apply only when `--tag=package-2017-06-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-06-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/azurestack/resource-manager/readme.md b/specification/azurestack/resource-manager/readme.md index d31ec1ce03e3..dc231df47dea 100644 --- a/specification/azurestack/resource-manager/readme.md +++ b/specification/azurestack/resource-manager/readme.md @@ -75,6 +75,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js azurestack/resource-manager ``` ## C# @@ -136,6 +139,10 @@ generate-interface: true See configuration in [readme.python.md](./readme.python.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/azurestackhci/resource-manager/readme.azureresourceschema.md b/specification/azurestackhci/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..072f7ee002bf --- /dev/null +++ b/specification/azurestackhci/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-03-01-preview +``` + +### Tag: package-2020-03-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-03-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/azurestackhci/resource-manager/readme.md b/specification/azurestackhci/resource-manager/readme.md index d30f27d90903..ee213486dda1 100644 --- a/specification/azurestackhci/resource-manager/readme.md +++ b/specification/azurestackhci/resource-manager/readme.md @@ -67,6 +67,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_azurestackhci'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js azurestackhci/resource-manager ``` ## Go @@ -89,6 +92,10 @@ See configuration in [readme.typescript.md](./readme.typescript.md) See configuration in [readme.csharp.md](./readme.csharp.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/batch/resource-manager/readme.azureresourceschema.md b/specification/batch/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..d1f47218e13d --- /dev/null +++ b/specification/batch/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,100 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-05 + - tag: package-2020-03 + - tag: package-2019-08 + - tag: package-2019-04 + - tag: package-2018-12 + - tag: package-2017-09 + - tag: package-2017-05 + - tag: package-2017-01 + - tag: package-2015-12 +``` + +### Tag: package-2020-05 and azureresourceschema + +These settings apply only when `--tag=package-2020-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-03 and azureresourceschema + +These settings apply only when `--tag=package-2020-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-08 and azureresourceschema + +These settings apply only when `--tag=package-2019-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-04 and azureresourceschema + +These settings apply only when `--tag=package-2019-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-12 and azureresourceschema + +These settings apply only when `--tag=package-2018-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-09 and azureresourceschema + +These settings apply only when `--tag=package-2017-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-05 and azureresourceschema + +These settings apply only when `--tag=package-2017-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-01 and azureresourceschema + +These settings apply only when `--tag=package-2017-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-12 and azureresourceschema + +These settings apply only when `--tag=package-2015-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/batch/resource-manager/readme.md b/specification/batch/resource-manager/readme.md index 90df5aff354d..c3d1372be738 100644 --- a/specification/batch/resource-manager/readme.md +++ b/specification/batch/resource-manager/readme.md @@ -167,6 +167,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_batch'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js batch/resource-manager ``` ## C# @@ -267,6 +270,10 @@ generate-interface: true ` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/batchai/resource-manager/readme.azureresourceschema.md b/specification/batchai/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..0a37342ee11f --- /dev/null +++ b/specification/batchai/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-09-preview + - tag: package-2018-03 + - tag: package-2018-05 +``` + +### Tag: package-2017-09-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-09-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-09-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03 and azureresourceschema + +These settings apply only when `--tag=package-2018-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-05 and azureresourceschema + +These settings apply only when `--tag=package-2018-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/batchai/resource-manager/readme.md b/specification/batchai/resource-manager/readme.md index 64c9b649cdac..a33a47f14d3b 100644 --- a/specification/batchai/resource-manager/readme.md +++ b/specification/batchai/resource-manager/readme.md @@ -72,6 +72,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js batchai/resource-manager ``` @@ -183,6 +186,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/billing/resource-manager/readme.azureresourceschema.md b/specification/billing/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..b92ba1522352 --- /dev/null +++ b/specification/billing/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,70 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-05 + - tag: package-2019-10-preview + - tag: package-2018-11-preview + - tag: package-2018-03-preview + - tag: package-2017-04-preview + - tag: package-2017-02-preview +``` + +### Tag: package-2020-05 and azureresourceschema + +These settings apply only when `--tag=package-2020-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-10-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-10-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-11-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-11-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-11-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-03-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-04-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-04-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-04-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-02-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/billing/resource-manager/readme.md b/specification/billing/resource-manager/readme.md index f2031f4bbc94..a28cc4e5784c 100644 --- a/specification/billing/resource-manager/readme.md +++ b/specification/billing/resource-manager/readme.md @@ -104,6 +104,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_billing'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js billing/resource-manager ``` @@ -231,6 +234,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/blockchain/resource-manager/readme.azureresourceschema.md b/specification/blockchain/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..b603ec77c6ab --- /dev/null +++ b/specification/blockchain/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-06-01-preview +``` + +### Tag: package-2018-06-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-06-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/blockchain/resource-manager/readme.md b/specification/blockchain/resource-manager/readme.md index 806fc6ac3e2d..cab2a3ebe290 100644 --- a/specification/blockchain/resource-manager/readme.md +++ b/specification/blockchain/resource-manager/readme.md @@ -59,6 +59,9 @@ swagger-to-sdk: after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_blockchain'] - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js blockchain/resource-manager ``` ## C# @@ -86,6 +89,10 @@ See configuration in [readme.node.md](./readme.node.md) See configuration in [readme.ruby.md](./readme.ruby.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/blueprint/resource-manager/readme.azureresourceschema.md b/specification/blueprint/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..e4ed1e386135 --- /dev/null +++ b/specification/blueprint/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-11-preview + - tag: package-2018-11-preview +``` + +### Tag: package-2017-11-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-11-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-11-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-11-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-11-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-11-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/blueprint/resource-manager/readme.md b/specification/blueprint/resource-manager/readme.md index 5fbee9859aa1..d39803123cf1 100644 --- a/specification/blueprint/resource-manager/readme.md +++ b/specification/blueprint/resource-manager/readme.md @@ -63,6 +63,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-python + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js blueprint/resource-manager ``` @@ -131,6 +134,10 @@ directive: reason: OperationsAPI for Microsoft.Management is out of scope. ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/botservice/resource-manager/readme.azureresourceschema.md b/specification/botservice/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..4c7952b1fe65 --- /dev/null +++ b/specification/botservice/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-06-02 + - tag: package-2018-07-12 + - tag: package-2017-12-01 +``` + +### Tag: package-2020-06-02 and azureresourceschema + +These settings apply only when `--tag=package-2020-06-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-07-12 and azureresourceschema + +These settings apply only when `--tag=package-2018-07-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-07-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-12-01 and azureresourceschema + +These settings apply only when `--tag=package-2017-12-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-12-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/botservice/resource-manager/readme.md b/specification/botservice/resource-manager/readme.md index de1dff1bfa0b..ed269859fd07 100644 --- a/specification/botservice/resource-manager/readme.md +++ b/specification/botservice/resource-manager/readme.md @@ -96,6 +96,9 @@ swagger-to-sdk: - repo: azure-sdk-for-net - repo: azure-sdk-for-python - repo: azure-sdk-for-go + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js botservice/resource-manager ``` ## C# @@ -124,6 +127,10 @@ See configuration in [readme.java.md](./readme.java.md) See readme.python.md file. +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/cdn/resource-manager/readme.azureresourceschema.md b/specification/cdn/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..161ba8073ac8 --- /dev/null +++ b/specification/cdn/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,110 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-04 + - tag: package-2019-12 + - tag: package-2019-06 + - tag: package-2019-06-preview + - tag: package-2019-04 + - tag: package-2017-10 + - tag: package-2017-04 + - tag: package-2016-10 + - tag: package-2016-04 + - tag: package-2015-06 +``` + +### Tag: package-2020-04 and azureresourceschema + +These settings apply only when `--tag=package-2020-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-12 and azureresourceschema + +These settings apply only when `--tag=package-2019-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06 and azureresourceschema + +These settings apply only when `--tag=package-2019-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-04 and azureresourceschema + +These settings apply only when `--tag=package-2019-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-10 and azureresourceschema + +These settings apply only when `--tag=package-2017-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-04 and azureresourceschema + +These settings apply only when `--tag=package-2017-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-10 and azureresourceschema + +These settings apply only when `--tag=package-2016-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-04 and azureresourceschema + +These settings apply only when `--tag=package-2016-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-06 and azureresourceschema + +These settings apply only when `--tag=package-2015-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/cdn/resource-manager/readme.md b/specification/cdn/resource-manager/readme.md index 25bcc654b0cc..a721599aedd4 100644 --- a/specification/cdn/resource-manager/readme.md +++ b/specification/cdn/resource-manager/readme.md @@ -148,6 +148,9 @@ swagger-to-sdk: - repo: azure-sdk-for-js - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js cdn/resource-manager ``` @@ -175,6 +178,10 @@ See configuration in [readme.node.md](./readme.node.md) See configuration in [readme.ruby.md](./readme.ruby.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/changeanalysis/resource-manager/readme.azureresourceschema.md b/specification/changeanalysis/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..dafc4bd99157 --- /dev/null +++ b/specification/changeanalysis/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-04-01-preview +``` + +### Tag: package-2020-04-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-04-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/changeanalysis/resource-manager/readme.md b/specification/changeanalysis/resource-manager/readme.md index 82bb9acfa298..218a3d561e26 100644 --- a/specification/changeanalysis/resource-manager/readme.md +++ b/specification/changeanalysis/resource-manager/readme.md @@ -57,6 +57,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_changeanalysis'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js changeanalysis/resource-manager ``` ## Go @@ -114,6 +117,10 @@ directive: } ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/cloudshell/resource-manager/readme.azureresourceschema.md b/specification/cloudshell/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..b30371182d98 --- /dev/null +++ b/specification/cloudshell/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-10-01 +``` + +### Tag: package-2018-10-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-10-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-10-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/cloudshell/resource-manager/readme.md b/specification/cloudshell/resource-manager/readme.md index 76ac94994ab1..6fb7acdaf933 100644 --- a/specification/cloudshell/resource-manager/readme.md +++ b/specification/cloudshell/resource-manager/readme.md @@ -56,6 +56,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_cloudshell'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js cloudshell/resource-manager ``` ## Go @@ -146,6 +149,10 @@ csharp: namespace: Microsoft.CloudShell output-folder: $(csharp-sdks-folder)/CloudShell/management/Microsoft.CloudShell/GeneratedProtocol ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/cognitiveservices/resource-manager/readme.azureresourceschema.md b/specification/cognitiveservices/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..c478d675f7ac --- /dev/null +++ b/specification/cognitiveservices/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-04 + - tag: package-2016-02-preview +``` + +### Tag: package-2017-04 and azureresourceschema + +These settings apply only when `--tag=package-2017-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-02-preview and azureresourceschema + +These settings apply only when `--tag=package-2016-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/cognitiveservices/resource-manager/readme.md b/specification/cognitiveservices/resource-manager/readme.md index 5e1afb8546f0..49f7177b6ab1 100644 --- a/specification/cognitiveservices/resource-manager/readme.md +++ b/specification/cognitiveservices/resource-manager/readme.md @@ -70,6 +70,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_cognitive_services'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js cognitiveservices/resource-manager ``` @@ -141,6 +144,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/commerce/resource-manager/readme.azureresourceschema.md b/specification/commerce/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..ecc944719733 --- /dev/null +++ b/specification/commerce/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2015-06-preview +``` + +### Tag: package-2015-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/commerce/resource-manager/readme.md b/specification/commerce/resource-manager/readme.md index 1726ab907cca..329c510708be 100644 --- a/specification/commerce/resource-manager/readme.md +++ b/specification/commerce/resource-manager/readme.md @@ -58,6 +58,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_commerce'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js commerce/resource-manager ``` @@ -128,6 +131,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/compute/resource-manager/readme.azureresourceschema.md b/specification/compute/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..1d56b0418eed --- /dev/null +++ b/specification/compute/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,440 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-06-01 + - tag: package-2020-06-01-only + - tag: package-2020-05-01 + - tag: package-2020-05-01-only + - tag: package-2019-12-01 + - tag: package-2019-12-01-only + - tag: package-2019-11-01 + - tag: package-2019-11-01-only + - tag: package-2019-07 + - tag: package-2019-07-01 + - tag: package-2019-07-01-only + - tag: package-2019-03-01 + - tag: package-2019-04-01-only + - tag: package-2019-03-01-only + - tag: package-2018-10-01-Disks + - tag: package-2018-10-01 + - tag: package-2018-10-01-only + - tag: package-2018-09-30-only + - tag: package-2018-06-exclude-gallery + - tag: package-2018-06 + - tag: package-2018-06-01 + - tag: package-compute-only-2018-06 + - tag: package-2018-04-01 + - tag: package-2018-04 + - tag: package-compute-2018-04 + - tag: package-disks-2018-04 + - tag: package-2017-12 + - tag: package-compute-2017-12 + - tag: package-compute-only-2017-12 + - tag: package-skus-2017-09 + - tag: package-2017-03 + - tag: package-compute-2017-03 + - tag: package-container-service-2017-01 + - tag: package-container-service-2016-09 + - tag: package-2016-04-preview + - tag: package-compute-2016-04-preview + - tag: package-2016-03 + - tag: package-compute-2016-03 + - tag: package-container-service-2016-03 + - tag: package-container-service-2015-11-preview + - tag: package-compute-2015-06 + - tag: package-2015-06-preview + - tag: profile-hybrid-2019-03-01 +``` + +### Tag: package-2020-06-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-06-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-06-01-only and azureresourceschema + +These settings apply only when `--tag=package-2020-06-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-05-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-05-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-05-01-only and azureresourceschema + +These settings apply only when `--tag=package-2020-05-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-12-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-12-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-12-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-12-01-only and azureresourceschema + +These settings apply only when `--tag=package-2019-12-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-12-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-11-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11-01-only and azureresourceschema + +These settings apply only when `--tag=package-2019-11-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-07 and azureresourceschema + +These settings apply only when `--tag=package-2019-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-07-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-07-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-07-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-07-01-only and azureresourceschema + +These settings apply only when `--tag=package-2019-07-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-07-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-03-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-03-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-03-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-04-01-only and azureresourceschema + +These settings apply only when `--tag=package-2019-04-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-03-01-only and azureresourceschema + +These settings apply only when `--tag=package-2019-03-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-03-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-10-01-Disks and azureresourceschema + +These settings apply only when `--tag=package-2018-10-01-Disks --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-10-01-Disks' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-10-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-10-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-10-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-10-01-only and azureresourceschema + +These settings apply only when `--tag=package-2018-10-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-10-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-09-30-only and azureresourceschema + +These settings apply only when `--tag=package-2018-09-30-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-30-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-exclude-gallery and azureresourceschema + +These settings apply only when `--tag=package-2018-06-exclude-gallery --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-exclude-gallery' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06 and azureresourceschema + +These settings apply only when `--tag=package-2018-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-06-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-compute-only-2018-06 and azureresourceschema + +These settings apply only when `--tag=package-compute-only-2018-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-compute-only-2018-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-04-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-04-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-04-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-04 and azureresourceschema + +These settings apply only when `--tag=package-2018-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-compute-2018-04 and azureresourceschema + +These settings apply only when `--tag=package-compute-2018-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-compute-2018-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-disks-2018-04 and azureresourceschema + +These settings apply only when `--tag=package-disks-2018-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-disks-2018-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-12 and azureresourceschema + +These settings apply only when `--tag=package-2017-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-compute-2017-12 and azureresourceschema + +These settings apply only when `--tag=package-compute-2017-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-compute-2017-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-compute-only-2017-12 and azureresourceschema + +These settings apply only when `--tag=package-compute-only-2017-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-compute-only-2017-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-skus-2017-09 and azureresourceschema + +These settings apply only when `--tag=package-skus-2017-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-skus-2017-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-03 and azureresourceschema + +These settings apply only when `--tag=package-2017-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-compute-2017-03 and azureresourceschema + +These settings apply only when `--tag=package-compute-2017-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-compute-2017-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-container-service-2017-01 and azureresourceschema + +These settings apply only when `--tag=package-container-service-2017-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-container-service-2017-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-container-service-2016-09 and azureresourceschema + +These settings apply only when `--tag=package-container-service-2016-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-container-service-2016-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-04-preview and azureresourceschema + +These settings apply only when `--tag=package-2016-04-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-04-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-compute-2016-04-preview and azureresourceschema + +These settings apply only when `--tag=package-compute-2016-04-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-compute-2016-04-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-03 and azureresourceschema + +These settings apply only when `--tag=package-2016-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-compute-2016-03 and azureresourceschema + +These settings apply only when `--tag=package-compute-2016-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-compute-2016-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-container-service-2016-03 and azureresourceschema + +These settings apply only when `--tag=package-container-service-2016-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-container-service-2016-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-container-service-2015-11-preview and azureresourceschema + +These settings apply only when `--tag=package-container-service-2015-11-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-container-service-2015-11-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-compute-2015-06 and azureresourceschema + +These settings apply only when `--tag=package-compute-2015-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-compute-2015-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: profile-hybrid-2019-03-01 and azureresourceschema + +These settings apply only when `--tag=profile-hybrid-2019-03-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'profile-hybrid-2019-03-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/compute/resource-manager/readme.md b/specification/compute/resource-manager/readme.md index ffe6a70bb98a..e1af761e2055 100644 --- a/specification/compute/resource-manager/readme.md +++ b/specification/compute/resource-manager/readme.md @@ -712,6 +712,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_compute'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js compute/resource-manager ``` ## Go @@ -805,6 +808,10 @@ input-file: - Microsoft.Compute/stable/2017-03-30/disk.json ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/consumption/resource-manager/readme.azureresourceschema.md b/specification/consumption/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..3cbab9f8d139 --- /dev/null +++ b/specification/consumption/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,170 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-10 + - tag: package-2019-06 + - tag: package-2019-05 + - tag: package-preview-2019-05 + - tag: package-preview-2019-04 + - tag: package-preview-2018-11 + - tag: package-2019-01 + - tag: package-2017-11 + - tag: package-2018-01 + - tag: package-2018-03 + - tag: package-2018-05 + - tag: package-2018-06 + - tag: package-2018-08 + - tag: package-2018-10 + - tag: package-2017-04-preview + - tag: package-2017-12-preview +``` + +### Tag: package-2019-10 and azureresourceschema + +These settings apply only when `--tag=package-2019-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06 and azureresourceschema + +These settings apply only when `--tag=package-2019-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-05 and azureresourceschema + +These settings apply only when `--tag=package-2019-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-preview-2019-05 and azureresourceschema + +These settings apply only when `--tag=package-preview-2019-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2019-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-preview-2019-04 and azureresourceschema + +These settings apply only when `--tag=package-preview-2019-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2019-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-preview-2018-11 and azureresourceschema + +These settings apply only when `--tag=package-preview-2018-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2018-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-11 and azureresourceschema + +These settings apply only when `--tag=package-2017-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03 and azureresourceschema + +These settings apply only when `--tag=package-2018-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-05 and azureresourceschema + +These settings apply only when `--tag=package-2018-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06 and azureresourceschema + +These settings apply only when `--tag=package-2018-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-08 and azureresourceschema + +These settings apply only when `--tag=package-2018-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-10 and azureresourceschema + +These settings apply only when `--tag=package-2018-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-04-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-04-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-04-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-12-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-12-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-12-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/consumption/resource-manager/readme.md b/specification/consumption/resource-manager/readme.md index 645375a2b3dd..b909544080e9 100644 --- a/specification/consumption/resource-manager/readme.md +++ b/specification/consumption/resource-manager/readme.md @@ -219,6 +219,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_consumption'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js consumption/resource-manager ``` ## C# @@ -404,6 +407,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/containerinstance/resource-manager/readme.azureresourceschema.md b/specification/containerinstance/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..8e05ffeda5b7 --- /dev/null +++ b/specification/containerinstance/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,100 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-12 + - tag: package-2018-10 + - tag: package-2018-09 + - tag: package-2018-06 + - tag: package-2018-04 + - tag: package-2018-02-preview + - tag: package-2017-12-preview + - tag: package-2017-10-preview + - tag: package-2017-08-preview +``` + +### Tag: package-2019-12 and azureresourceschema + +These settings apply only when `--tag=package-2019-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-10 and azureresourceschema + +These settings apply only when `--tag=package-2018-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-09 and azureresourceschema + +These settings apply only when `--tag=package-2018-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06 and azureresourceschema + +These settings apply only when `--tag=package-2018-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-04 and azureresourceschema + +These settings apply only when `--tag=package-2018-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-12-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-12-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-12-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-10-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-10-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-10-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-08-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-08-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-08-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/containerinstance/resource-manager/readme.md b/specification/containerinstance/resource-manager/readme.md index 0aa15d6d6fee..6eca258b4fb5 100644 --- a/specification/containerinstance/resource-manager/readme.md +++ b/specification/containerinstance/resource-manager/readme.md @@ -140,6 +140,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_container_instance'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js containerinstance/resource-manager ``` ## C# @@ -171,6 +174,10 @@ See configuration in [readme.ruby.md](./readme.ruby.md) See configuration in [readme.typescript.md](./readme.typescript.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/containerregistry/resource-manager/readme.azureresourceschema.md b/specification/containerregistry/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..a0605316c9f7 --- /dev/null +++ b/specification/containerregistry/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,140 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-12-preview + - tag: package-2019-06-preview + - tag: package-2019-06-preview-only + - tag: package-2019-05 + - tag: package-2019-05-preview + - tag: package-2019-04 + - tag: package-2019-04-only + - tag: package-2018-09 + - tag: package-2018-02-preview + - tag: package-2017-10 + - tag: package-2017-06-preview + - tag: package-2017-03 + - tag: package-2016-06-preview +``` + +### Tag: package-2019-12-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-12-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-12-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2019-06-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-05 and azureresourceschema + +These settings apply only when `--tag=package-2019-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-04 and azureresourceschema + +These settings apply only when `--tag=package-2019-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-04-only and azureresourceschema + +These settings apply only when `--tag=package-2019-04-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-09 and azureresourceschema + +These settings apply only when `--tag=package-2018-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-10 and azureresourceschema + +These settings apply only when `--tag=package-2017-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-03 and azureresourceschema + +These settings apply only when `--tag=package-2017-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2016-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/containerregistry/resource-manager/readme.md b/specification/containerregistry/resource-manager/readme.md index dc042e35dca0..ac6dd32aba11 100644 --- a/specification/containerregistry/resource-manager/readme.md +++ b/specification/containerregistry/resource-manager/readme.md @@ -180,6 +180,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_container_registry'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js containerregistry/resource-manager ``` ## C# @@ -209,6 +212,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/containerservice/resource-manager/readme.azureresourceschema.md b/specification/containerservice/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..2eb793936cb0 --- /dev/null +++ b/specification/containerservice/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,430 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-06 + - tag: package-2020-04 + - tag: package-2020-03 + - tag: package-2020-02 + - tag: package-2020-01 + - tag: package-2019-11 + - tag: package-2019-10-27-preview + - tag: package-2019-09-30-preview + - tag: package-2019-10 + - tag: package-2019-08 + - tag: package-2019-06 + - tag: package-2019-04 + - tag: package-2019-02 + - tag: package-2018-08-preview + - tag: package-2018-09-30-preview + - tag: package-2018-03 + - tag: package-2017-09 + - tag: package-2017-08 + - tag: package-2017-07 + - tag: package-2020-06-01-only + - tag: package-2020-04-01-only + - tag: package-2020-03-01-only + - tag: package-2020-02-01-only + - tag: package-2020-01-01-only + - tag: package-2019-11-01-only + - tag: package-2019-10-27-preview-only + - tag: package-2019-10-01-only + - tag: package-2019-08-01-only + - tag: package-2019-06-01-only + - tag: package-2019-04-30-only + - tag: package-2019-04-01-only + - tag: package-2019-02-only + - tag: package-2018-08-preview-only + - tag: package-2018-09-preview-only + - tag: package-2019-09-preview-only + - tag: package-2018-03-only + - tag: package-2017-07-only-extended + - tag: package-2017-08-only + - tag: package-2017-09-only + - tag: package-2017-01-only + - tag: package-2016-09-only + - tag: package-2016-03-only +``` + +### Tag: package-2020-06 and azureresourceschema + +These settings apply only when `--tag=package-2020-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-04 and azureresourceschema + +These settings apply only when `--tag=package-2020-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-03 and azureresourceschema + +These settings apply only when `--tag=package-2020-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-02 and azureresourceschema + +These settings apply only when `--tag=package-2020-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11 and azureresourceschema + +These settings apply only when `--tag=package-2019-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-10-27-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-10-27-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10-27-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-09-30-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-09-30-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-09-30-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-10 and azureresourceschema + +These settings apply only when `--tag=package-2019-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-08 and azureresourceschema + +These settings apply only when `--tag=package-2019-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06 and azureresourceschema + +These settings apply only when `--tag=package-2019-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-04 and azureresourceschema + +These settings apply only when `--tag=package-2019-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-02 and azureresourceschema + +These settings apply only when `--tag=package-2019-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-08-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-08-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-08-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-09-30-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-09-30-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-30-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03 and azureresourceschema + +These settings apply only when `--tag=package-2018-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-09 and azureresourceschema + +These settings apply only when `--tag=package-2017-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-08 and azureresourceschema + +These settings apply only when `--tag=package-2017-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-07 and azureresourceschema + +These settings apply only when `--tag=package-2017-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-06-01-only and azureresourceschema + +These settings apply only when `--tag=package-2020-06-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-04-01-only and azureresourceschema + +These settings apply only when `--tag=package-2020-04-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-03-01-only and azureresourceschema + +These settings apply only when `--tag=package-2020-03-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-02-01-only and azureresourceschema + +These settings apply only when `--tag=package-2020-02-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-02-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-01-only and azureresourceschema + +These settings apply only when `--tag=package-2020-01-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11-01-only and azureresourceschema + +These settings apply only when `--tag=package-2019-11-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-10-27-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2019-10-27-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10-27-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-10-01-only and azureresourceschema + +These settings apply only when `--tag=package-2019-10-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-08-01-only and azureresourceschema + +These settings apply only when `--tag=package-2019-08-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-08-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06-01-only and azureresourceschema + +These settings apply only when `--tag=package-2019-06-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-04-30-only and azureresourceschema + +These settings apply only when `--tag=package-2019-04-30-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04-30-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-04-01-only and azureresourceschema + +These settings apply only when `--tag=package-2019-04-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-02-only and azureresourceschema + +These settings apply only when `--tag=package-2019-02-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-02-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-08-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2018-08-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-08-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-09-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2018-09-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-09-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2019-09-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-09-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03-only and azureresourceschema + +These settings apply only when `--tag=package-2018-03-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-07-only-extended and azureresourceschema + +These settings apply only when `--tag=package-2017-07-only-extended --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-07-only-extended' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-08-only and azureresourceschema + +These settings apply only when `--tag=package-2017-08-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-08-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-09-only and azureresourceschema + +These settings apply only when `--tag=package-2017-09-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-09-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-01-only and azureresourceschema + +These settings apply only when `--tag=package-2017-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-09-only and azureresourceschema + +These settings apply only when `--tag=package-2016-09-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-09-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-03-only and azureresourceschema + +These settings apply only when `--tag=package-2016-03-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-03-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/containerservice/resource-manager/readme.md b/specification/containerservice/resource-manager/readme.md index 296d71dd7e19..e3ae2e356a83 100644 --- a/specification/containerservice/resource-manager/readme.md +++ b/specification/containerservice/resource-manager/readme.md @@ -508,6 +508,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_container_service'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js containerservice/resource-manager ``` ## C# @@ -545,6 +548,10 @@ directive: reason: ACS service is deprecated so a PATCH endpoint won't be implemented ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/cosmos-db/resource-manager/readme.azureresourceschema.md b/specification/cosmos-db/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..e71e44069bb3 --- /dev/null +++ b/specification/cosmos-db/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,120 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-06-preview + - tag: package-2020-04 + - tag: package-2020-03 + - tag: package-2019-12 + - tag: package-2019-08 + - tag: package-2019-08-preview + - tag: package-2015-04 + - tag: package-2014-04 + - tag: package-2015-11 + - tag: package-2016-03-19 + - tag: package-2016-03-31 +``` + +### Tag: package-2020-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-04 and azureresourceschema + +These settings apply only when `--tag=package-2020-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-03 and azureresourceschema + +These settings apply only when `--tag=package-2020-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-12 and azureresourceschema + +These settings apply only when `--tag=package-2019-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-08 and azureresourceschema + +These settings apply only when `--tag=package-2019-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-08-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-08-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-08-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-04 and azureresourceschema + +These settings apply only when `--tag=package-2015-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2014-04 and azureresourceschema + +These settings apply only when `--tag=package-2014-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2014-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-11 and azureresourceschema + +These settings apply only when `--tag=package-2015-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-03-19 and azureresourceschema + +These settings apply only when `--tag=package-2016-03-19 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-03-19' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-03-31 and azureresourceschema + +These settings apply only when `--tag=package-2016-03-31 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-03-31' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/cosmos-db/resource-manager/readme.md b/specification/cosmos-db/resource-manager/readme.md index e3f17d7d79f3..0ca282c6da93 100644 --- a/specification/cosmos-db/resource-manager/readme.md +++ b/specification/cosmos-db/resource-manager/readme.md @@ -238,6 +238,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js cosmos-db/resource-manager ``` @@ -266,6 +269,10 @@ See configuration in [readme.go.md](./readme.go.md) ## Java See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/cost-management/resource-manager/readme.azureresourceschema.md b/specification/cost-management/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..89e21d91314d --- /dev/null +++ b/specification/cost-management/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,110 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-06 + - tag: package-2019-11 + - tag: package-2019-10 + - tag: package-2019-09 + - tag: package-preview-2019-04 + - tag: package-2019-01 + - tag: package-preview-2019-03 + - tag: package-2018-05 + - tag: package-2018-08-preview + - tag: package-2018-12-preview +``` + +### Tag: package-2020-06 and azureresourceschema + +These settings apply only when `--tag=package-2020-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11 and azureresourceschema + +These settings apply only when `--tag=package-2019-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-10 and azureresourceschema + +These settings apply only when `--tag=package-2019-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-09 and azureresourceschema + +These settings apply only when `--tag=package-2019-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-preview-2019-04 and azureresourceschema + +These settings apply only when `--tag=package-preview-2019-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2019-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-preview-2019-03 and azureresourceschema + +These settings apply only when `--tag=package-preview-2019-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2019-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-05 and azureresourceschema + +These settings apply only when `--tag=package-2018-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-08-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-08-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-08-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-12-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-12-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-12-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/cost-management/resource-manager/readme.md b/specification/cost-management/resource-manager/readme.md index 85e079d2ccba..9fa47a3a4331 100644 --- a/specification/cost-management/resource-manager/readme.md +++ b/specification/cost-management/resource-manager/readme.md @@ -204,6 +204,9 @@ swagger-to-sdk: after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_costmanagement'] - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js cost-management/resource-manager ``` ## C# @@ -327,6 +330,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/cpim/resource-manager/readme.azureresourceschema.md b/specification/cpim/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..af04ed79273a --- /dev/null +++ b/specification/cpim/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-05-01-preview +``` + +### Tag: package-2020-05-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-05-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/cpim/resource-manager/readme.md b/specification/cpim/resource-manager/readme.md index d9bdf7941d0a..4396ccf1b2c9 100644 --- a/specification/cpim/resource-manager/readme.md +++ b/specification/cpim/resource-manager/readme.md @@ -56,6 +56,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_cpim'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js cpim/resource-manager ``` ## Go @@ -78,6 +81,10 @@ See configuration in [readme.typescript.md](./readme.typescript.md) See configuration in [readme.csharp.md](./readme.csharp.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/customer-insights/resource-manager/readme.azureresourceschema.md b/specification/customer-insights/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..f81a2d43d8d9 --- /dev/null +++ b/specification/customer-insights/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-04 + - tag: package-2017-01 +``` + +### Tag: package-2017-04 and azureresourceschema + +These settings apply only when `--tag=package-2017-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-01 and azureresourceschema + +These settings apply only when `--tag=package-2017-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/customer-insights/resource-manager/readme.md b/specification/customer-insights/resource-manager/readme.md index 7dae56441cff..f22cbd59665a 100644 --- a/specification/customer-insights/resource-manager/readme.md +++ b/specification/customer-insights/resource-manager/readme.md @@ -68,6 +68,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_customer_insights'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js customer-insights/resource-manager ``` @@ -140,6 +143,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/customerlockbox/resource-manager/readme.azureresourceschema.md b/specification/customerlockbox/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..1b438288a831 --- /dev/null +++ b/specification/customerlockbox/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-02-28-preview +``` + +### Tag: package-2018-02-28-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-02-28-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02-28-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/customerlockbox/resource-manager/readme.md b/specification/customerlockbox/resource-manager/readme.md index 0e67eb17a65c..f41a46ae1ca1 100644 --- a/specification/customerlockbox/resource-manager/readme.md +++ b/specification/customerlockbox/resource-manager/readme.md @@ -56,6 +56,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_customerlockbox'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js customerlockbox/resource-manager ``` ## Go @@ -78,6 +81,10 @@ See configuration in [readme.typescript.md](./readme.typescript.md) See configuration in [readme.csharp.md](./readme.csharp.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/customproviders/resource-manager/readme.azureresourceschema.md b/specification/customproviders/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..9a7d1dad021d --- /dev/null +++ b/specification/customproviders/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-09-01-preview +``` + +### Tag: package-2018-09-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-09-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/customproviders/resource-manager/readme.md b/specification/customproviders/resource-manager/readme.md index 27afdefab93c..3a50bc05cf6e 100644 --- a/specification/customproviders/resource-manager/readme.md +++ b/specification/customproviders/resource-manager/readme.md @@ -60,6 +60,9 @@ swagger-to-sdk: after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_customproviders'] - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js customproviders/resource-manager ``` ## Go @@ -90,6 +93,10 @@ See configuration in [readme.nodejs.md](./readme.nodejs.md) See configuration in [readme.trenton.md](./readme.trenton.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/databox/resource-manager/readme.azureresourceschema.md b/specification/databox/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..e26536fe454d --- /dev/null +++ b/specification/databox/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-09 + - tag: package-2018-01 +``` + +### Tag: package-2019-09 and azureresourceschema + +These settings apply only when `--tag=package-2019-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/databox/resource-manager/readme.md b/specification/databox/resource-manager/readme.md index cb252a0cfb96..b8a024019b56 100644 --- a/specification/databox/resource-manager/readme.md +++ b/specification/databox/resource-manager/readme.md @@ -68,6 +68,9 @@ swagger-to-sdk: after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_databox'] - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js databox/resource-manager ``` ## C# @@ -146,6 +149,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/databoxedge/resource-manager/readme.azureresourceschema.md b/specification/databoxedge/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..66d9ad07a573 --- /dev/null +++ b/specification/databoxedge/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,50 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-05-preview + - tag: package-2019-08 + - tag: package-2019-07 + - tag: package-2019-03 +``` + +### Tag: package-2020-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-08 and azureresourceschema + +These settings apply only when `--tag=package-2019-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-07 and azureresourceschema + +These settings apply only when `--tag=package-2019-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-03 and azureresourceschema + +These settings apply only when `--tag=package-2019-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/databoxedge/resource-manager/readme.md b/specification/databoxedge/resource-manager/readme.md index 525e9e046a23..effc04cc665c 100644 --- a/specification/databoxedge/resource-manager/readme.md +++ b/specification/databoxedge/resource-manager/readme.md @@ -86,6 +86,9 @@ swagger-to-sdk: after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_databoxedge'] - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js databoxedge/resource-manager ``` ## C# @@ -192,6 +195,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/databricks/resource-manager/readme.azureresourceschema.md b/specification/databricks/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..04fb4035ab24 --- /dev/null +++ b/specification/databricks/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-04-01 +``` + +### Tag: package-2018-04-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-04-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-04-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/databricks/resource-manager/readme.md b/specification/databricks/resource-manager/readme.md index 2b393ef2e23a..5dd1d2e62ce0 100644 --- a/specification/databricks/resource-manager/readme.md +++ b/specification/databricks/resource-manager/readme.md @@ -74,6 +74,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js databricks/resource-manager ``` ## Go @@ -83,6 +86,10 @@ See configuration in [readme.go.md](./readme.go.md) ## Python See configuration in [readme.python.md](./readme.python.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/datacatalog/resource-manager/readme.azureresourceschema.md b/specification/datacatalog/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..57cf967f65a8 --- /dev/null +++ b/specification/datacatalog/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2016-03-30 +``` + +### Tag: package-2016-03-30 and azureresourceschema + +These settings apply only when `--tag=package-2016-03-30 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-03-30' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/datacatalog/resource-manager/readme.md b/specification/datacatalog/resource-manager/readme.md index 02f87406e5e8..d8141c0ee469 100644 --- a/specification/datacatalog/resource-manager/readme.md +++ b/specification/datacatalog/resource-manager/readme.md @@ -54,6 +54,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js datacatalog/resource-manager ``` ## C# @@ -134,6 +137,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/datafactory/resource-manager/readme.azureresourceschema.md b/specification/datafactory/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..514fb37fb3c7 --- /dev/null +++ b/specification/datafactory/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-06 + - tag: package-2017-09-preview +``` + +### Tag: package-2018-06 and azureresourceschema + +These settings apply only when `--tag=package-2018-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-09-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-09-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-09-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/datafactory/resource-manager/readme.md b/specification/datafactory/resource-manager/readme.md index 6ab27eaa4547..8a68e4481768 100644 --- a/specification/datafactory/resource-manager/readme.md +++ b/specification/datafactory/resource-manager/readme.md @@ -65,6 +65,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js datafactory/resource-manager ``` @@ -219,6 +222,10 @@ directive: - DataFlow add type required ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/datalake-analytics/resource-manager/readme.azureresourceschema.md b/specification/datalake-analytics/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..3aec168f1d2c --- /dev/null +++ b/specification/datalake-analytics/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2016-11 + - tag: package-2015-10-preview +``` + +### Tag: package-2016-11 and azureresourceschema + +These settings apply only when `--tag=package-2016-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-10-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-10-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-10-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/datalake-analytics/resource-manager/readme.md b/specification/datalake-analytics/resource-manager/readme.md index a56f88ac31a4..13dc4c7c3e79 100644 --- a/specification/datalake-analytics/resource-manager/readme.md +++ b/specification/datalake-analytics/resource-manager/readme.md @@ -81,6 +81,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_datalake_analytics'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js datalake-analytics/resource-manager ``` @@ -168,6 +171,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/datalake-store/resource-manager/readme.azureresourceschema.md b/specification/datalake-store/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..3aec168f1d2c --- /dev/null +++ b/specification/datalake-store/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2016-11 + - tag: package-2015-10-preview +``` + +### Tag: package-2016-11 and azureresourceschema + +These settings apply only when `--tag=package-2016-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-10-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-10-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-10-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/datalake-store/resource-manager/readme.md b/specification/datalake-store/resource-manager/readme.md index 6a0432a35413..82889495064d 100644 --- a/specification/datalake-store/resource-manager/readme.md +++ b/specification/datalake-store/resource-manager/readme.md @@ -83,6 +83,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_datalake_store'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js datalake-store/resource-manager ``` @@ -180,6 +183,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/datamigration/resource-manager/readme.azureresourceschema.md b/specification/datamigration/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..80607dfc4e8a --- /dev/null +++ b/specification/datamigration/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,60 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-04-19 + - tag: package-2018-07-15-preview + - tag: package-2018-03-31-preview + - tag: package-2018-03-15-preview + - tag: package-2017-11-15-preview +``` + +### Tag: package-2018-04-19 and azureresourceschema + +These settings apply only when `--tag=package-2018-04-19 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-04-19' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-07-15-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-07-15-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-07-15-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03-31-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-03-31-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03-31-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03-15-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-03-15-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03-15-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-11-15-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-11-15-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-11-15-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/datamigration/resource-manager/readme.md b/specification/datamigration/resource-manager/readme.md index 52e90b3fd384..8874cc7a8f43 100644 --- a/specification/datamigration/resource-manager/readme.md +++ b/specification/datamigration/resource-manager/readme.md @@ -192,6 +192,9 @@ swagger-to-sdk: - repo: azure-sdk-for-js - repo: azure-sdk-for-node - repo: azure-sdk-for-java + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js datamigration/resource-manager ``` ## C# @@ -216,6 +219,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/datashare/resource-manager/readme.azureresourceschema.md b/specification/datashare/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..4e4937f6456b --- /dev/null +++ b/specification/datashare/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-11-01-preview + - tag: package-2019-11-01 +``` + +### Tag: package-2018-11-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-11-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-11-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-11-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/datashare/resource-manager/readme.md b/specification/datashare/resource-manager/readme.md index cf5fd2ab8e52..89da194dadc3 100644 --- a/specification/datashare/resource-manager/readme.md +++ b/specification/datashare/resource-manager/readme.md @@ -64,6 +64,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-cli-extensions - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js datashare/resource-manager ``` @@ -113,6 +116,10 @@ python: See configuration in [readme.go.md](./readme.go.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/deploymentmanager/resource-manager/readme.azureresourceschema.md b/specification/deploymentmanager/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..5c00f054b9c9 --- /dev/null +++ b/specification/deploymentmanager/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-11-01-preview + - tag: package-2018-09-01-preview +``` + +### Tag: package-2019-11-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-11-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-09-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-09-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/deploymentmanager/resource-manager/readme.md b/specification/deploymentmanager/resource-manager/readme.md index fd8b13f1e887..4e01b0264c83 100644 --- a/specification/deploymentmanager/resource-manager/readme.md +++ b/specification/deploymentmanager/resource-manager/readme.md @@ -115,6 +115,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_deploymentmanager'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js deploymentmanager/resource-manager ``` ## C# @@ -199,6 +202,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/desktopvirtualization/resource-manager/readme.azureresourceschema.md b/specification/desktopvirtualization/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..5e2ec6474685 --- /dev/null +++ b/specification/desktopvirtualization/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-01-23-preview + - tag: package-2019-09-24-preview + - tag: package-2019-12-10-preview +``` + +### Tag: package-2019-01-23-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-01-23-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-01-23-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-09-24-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-09-24-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-09-24-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-12-10-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-12-10-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-12-10-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/desktopvirtualization/resource-manager/readme.md b/specification/desktopvirtualization/resource-manager/readme.md index 3864f213f6b1..5d79f0a477dc 100644 --- a/specification/desktopvirtualization/resource-manager/readme.md +++ b/specification/desktopvirtualization/resource-manager/readme.md @@ -75,6 +75,9 @@ swagger-to-sdk: after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_desktop_virtualization'] - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js desktopvirtualization/resource-manager ``` ## C# @@ -105,6 +108,10 @@ See configuration in [readme.node.md](./readme.node.md) See configuration in [readme.ruby.md](./readme.ruby.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/deviceprovisioningservices/resource-manager/readme.azureresourceschema.md b/specification/deviceprovisioningservices/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..72c518645bca --- /dev/null +++ b/specification/deviceprovisioningservices/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,50 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-08 + - tag: package-2017-11 + - tag: package-2018-01 + - tag: package-2020-01 +``` + +### Tag: package-2017-08 and azureresourceschema + +These settings apply only when `--tag=package-2017-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-11 and azureresourceschema + +These settings apply only when `--tag=package-2017-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/deviceprovisioningservices/resource-manager/readme.md b/specification/deviceprovisioningservices/resource-manager/readme.md index 9d6a860f4177..03e3164735f8 100644 --- a/specification/deviceprovisioningservices/resource-manager/readme.md +++ b/specification/deviceprovisioningservices/resource-manager/readme.md @@ -80,6 +80,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js deviceprovisioningservices/resource-manager ``` @@ -192,6 +195,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/devops/resource-manager/readme.azureresourceschema.md b/specification/devops/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..b84c7a11c604 --- /dev/null +++ b/specification/devops/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-07-01-preview +``` + +### Tag: package-2019-07-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-07-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-07-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/devops/resource-manager/readme.md b/specification/devops/resource-manager/readme.md index bf7b56068c9c..619f05952d10 100644 --- a/specification/devops/resource-manager/readme.md +++ b/specification/devops/resource-manager/readme.md @@ -59,6 +59,9 @@ swagger-to-sdk: after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_devops'] - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js devops/resource-manager ``` ## Go @@ -81,6 +84,10 @@ See configuration in [readme.typescript.md](./readme.typescript.md) See configuration in [readme.csharp.md](./readme.csharp.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/devspaces/resource-manager/readme.azureresourceschema.md b/specification/devspaces/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..dc4f9e69302d --- /dev/null +++ b/specification/devspaces/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-04-01 +``` + +### Tag: package-2019-04-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-04-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/devspaces/resource-manager/readme.md b/specification/devspaces/resource-manager/readme.md index 9bd342062655..35a8bf01c518 100644 --- a/specification/devspaces/resource-manager/readme.md +++ b/specification/devspaces/resource-manager/readme.md @@ -55,6 +55,9 @@ swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js devspaces/resource-manager ``` ## C# @@ -111,6 +114,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/devtestlabs/resource-manager/readme.azureresourceschema.md b/specification/devtestlabs/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..ebf1b1a5a6a6 --- /dev/null +++ b/specification/devtestlabs/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-09 + - tag: package-2016-05 + - tag: package-2015-05-preview +``` + +### Tag: package-2018-09 and azureresourceschema + +These settings apply only when `--tag=package-2018-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-05 and azureresourceschema + +These settings apply only when `--tag=package-2016-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/devtestlabs/resource-manager/readme.md b/specification/devtestlabs/resource-manager/readme.md index 1e4ac41bae02..c125824d8e57 100644 --- a/specification/devtestlabs/resource-manager/readme.md +++ b/specification/devtestlabs/resource-manager/readme.md @@ -78,6 +78,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_devtestlabs'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js devtestlabs/resource-manager ``` @@ -130,6 +133,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/digitaltwins/resource-manager/readme.azureresourceschema.md b/specification/digitaltwins/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..072f7ee002bf --- /dev/null +++ b/specification/digitaltwins/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-03-01-preview +``` + +### Tag: package-2020-03-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-03-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/digitaltwins/resource-manager/readme.md b/specification/digitaltwins/resource-manager/readme.md index dcdba572a32c..16f8921d5221 100644 --- a/specification/digitaltwins/resource-manager/readme.md +++ b/specification/digitaltwins/resource-manager/readme.md @@ -56,6 +56,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_digitaltwins'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js digitaltwins/resource-manager ``` ## Go @@ -82,6 +85,10 @@ See configuration in [readme.csharp.md](./readme.csharp.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/dns/resource-manager/readme.azureresourceschema.md b/specification/dns/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..075475af7ea2 --- /dev/null +++ b/specification/dns/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,80 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-05 + - tag: package-2018-03-preview + - tag: package-2017-10 + - tag: package-2017-09 + - tag: package-2016-04 + - tag: package-2015-05-preview + - tag: profile-hybrid-2019-03-01 +``` + +### Tag: package-2018-05 and azureresourceschema + +These settings apply only when `--tag=package-2018-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-03-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-10 and azureresourceschema + +These settings apply only when `--tag=package-2017-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-09 and azureresourceschema + +These settings apply only when `--tag=package-2017-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-04 and azureresourceschema + +These settings apply only when `--tag=package-2016-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: profile-hybrid-2019-03-01 and azureresourceschema + +These settings apply only when `--tag=profile-hybrid-2019-03-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'profile-hybrid-2019-03-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/dns/resource-manager/readme.md b/specification/dns/resource-manager/readme.md index 60903e790fef..ff5240e3224f 100644 --- a/specification/dns/resource-manager/readme.md +++ b/specification/dns/resource-manager/readme.md @@ -160,6 +160,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_dns'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js dns/resource-manager ``` ## Go @@ -224,6 +227,10 @@ input-file: - Microsoft.Network/stable/2016-04-01/dns.json ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/domainservices/resource-manager/readme.azureresourceschema.md b/specification/domainservices/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..99b6bf325d12 --- /dev/null +++ b/specification/domainservices/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-01 + - tag: package-2017-06 + - tag: package-2017-01 +``` + +### Tag: package-2020-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-06 and azureresourceschema + +These settings apply only when `--tag=package-2017-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-01 and azureresourceschema + +These settings apply only when `--tag=package-2017-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/domainservices/resource-manager/readme.md b/specification/domainservices/resource-manager/readme.md index a3c8ec8ccf18..4b397575f87b 100644 --- a/specification/domainservices/resource-manager/readme.md +++ b/specification/domainservices/resource-manager/readme.md @@ -71,6 +71,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js domainservices/resource-manager ``` ## C# @@ -156,6 +159,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/engagementfabric/resource-manager/readme.azureresourceschema.md b/specification/engagementfabric/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..6d1f0eaf8fad --- /dev/null +++ b/specification/engagementfabric/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-09-preview +``` + +### Tag: package-2018-09-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-09-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/engagementfabric/resource-manager/readme.md b/specification/engagementfabric/resource-manager/readme.md index 728d6321e9fd..887f9e1a092f 100644 --- a/specification/engagementfabric/resource-manager/readme.md +++ b/specification/engagementfabric/resource-manager/readme.md @@ -59,6 +59,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_engagement_fabric'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js engagementfabric/resource-manager ``` @@ -124,6 +127,10 @@ payload-flattening-threshold: 1 output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-engagementfabric ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/eventgrid/resource-manager/readme.azureresourceschema.md b/specification/eventgrid/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..8bca8ee8b683 --- /dev/null +++ b/specification/eventgrid/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,120 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-06 + - tag: package-2020-04-preview + - tag: package-2020-01-preview + - tag: package-2019-06 + - tag: package-2019-02-preview + - tag: package-2019-01 + - tag: package-2018-09-preview + - tag: package-2018-05-preview + - tag: package-2018-01 + - tag: package-2017-09-preview + - tag: package-2017-06-preview +``` + +### Tag: package-2020-06 and azureresourceschema + +These settings apply only when `--tag=package-2020-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-04-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-04-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06 and azureresourceschema + +These settings apply only when `--tag=package-2019-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-02-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-09-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-09-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-09-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-09-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-09-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/eventgrid/resource-manager/readme.md b/specification/eventgrid/resource-manager/readme.md index 85b509c238ed..e35224739683 100644 --- a/specification/eventgrid/resource-manager/readme.md +++ b/specification/eventgrid/resource-manager/readme.md @@ -173,6 +173,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_event_grid'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js eventgrid/resource-manager ``` ## C# @@ -198,6 +201,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/eventhub/resource-manager/readme.azureresourceschema.md b/specification/eventhub/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..6e4b2e8b9600 --- /dev/null +++ b/specification/eventhub/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,50 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-04 + - tag: package-2015-08 + - tag: package-2014-09 + - tag: package-2018-01-preview +``` + +### Tag: package-2017-04 and azureresourceschema + +These settings apply only when `--tag=package-2017-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-08 and azureresourceschema + +These settings apply only when `--tag=package-2015-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2014-09 and azureresourceschema + +These settings apply only when `--tag=package-2014-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2014-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/eventhub/resource-manager/readme.md b/specification/eventhub/resource-manager/readme.md index a8da92c7327c..86d8aa64788b 100644 --- a/specification/eventhub/resource-manager/readme.md +++ b/specification/eventhub/resource-manager/readme.md @@ -114,6 +114,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_event_hub'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js eventhub/resource-manager ``` @@ -143,6 +146,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/frontdoor/resource-manager/readme.azureresourceschema.md b/specification/frontdoor/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..2293f4561084 --- /dev/null +++ b/specification/frontdoor/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,100 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-05 + - tag: package-2020-04 + - tag: package-2020-01 + - tag: package-2019-11 + - tag: package-2019-10 + - tag: package-2019-05 + - tag: package-2019-04 + - tag: package-2019-03-preview + - tag: package-2018-08-preview +``` + +### Tag: package-2020-05 and azureresourceschema + +These settings apply only when `--tag=package-2020-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-04 and azureresourceschema + +These settings apply only when `--tag=package-2020-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11 and azureresourceschema + +These settings apply only when `--tag=package-2019-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-10 and azureresourceschema + +These settings apply only when `--tag=package-2019-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-05 and azureresourceschema + +These settings apply only when `--tag=package-2019-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-04 and azureresourceschema + +These settings apply only when `--tag=package-2019-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-03-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-03-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-03-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-08-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-08-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-08-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/frontdoor/resource-manager/readme.md b/specification/frontdoor/resource-manager/readme.md index 70eef2f16531..ce0e0051fb2b 100644 --- a/specification/frontdoor/resource-manager/readme.md +++ b/specification/frontdoor/resource-manager/readme.md @@ -199,6 +199,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js frontdoor/resource-manager ``` @@ -257,6 +260,10 @@ directive: reason: Direct copy of ValidateCustomDomain API in CDN Resource Provider. ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/guestconfiguration/resource-manager/readme.azureresourceschema.md b/specification/guestconfiguration/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..dd355fbc5ee8 --- /dev/null +++ b/specification/guestconfiguration/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,50 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-06-25 + - tag: package-2018-11-20 + - tag: package-2018-06-30-preview + - tag: package-2018-01-20-preview +``` + +### Tag: package-2020-06-25 and azureresourceschema + +These settings apply only when `--tag=package-2020-06-25 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06-25' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-11-20 and azureresourceschema + +These settings apply only when `--tag=package-2018-11-20 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-11-20' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-30-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-06-30-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-30-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01-20-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-01-20-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01-20-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/guestconfiguration/resource-manager/readme.md b/specification/guestconfiguration/resource-manager/readme.md index 2a96dbda74b9..8fba3db7e828 100644 --- a/specification/guestconfiguration/resource-manager/readme.md +++ b/specification/guestconfiguration/resource-manager/readme.md @@ -113,6 +113,9 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js guestconfiguration/resource-manager ``` @@ -130,6 +133,10 @@ csharp: clear-output-folder: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/hanaonazure/resource-manager/readme.azureresourceschema.md b/specification/hanaonazure/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..f3b3a82886a9 --- /dev/null +++ b/specification/hanaonazure/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-11 + - tag: package-2020-02-07-preview +``` + +### Tag: package-2017-11 and azureresourceschema + +These settings apply only when `--tag=package-2017-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-02-07-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-02-07-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-02-07-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/hanaonazure/resource-manager/readme.md b/specification/hanaonazure/resource-manager/readme.md index 301fed2c8de8..60358b1842ef 100644 --- a/specification/hanaonazure/resource-manager/readme.md +++ b/specification/hanaonazure/resource-manager/readme.md @@ -67,6 +67,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js hanaonazure/resource-manager ``` ## Go @@ -109,6 +112,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.azureresourceschema.md b/specification/hardwaresecuritymodules/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..581374a967f0 --- /dev/null +++ b/specification/hardwaresecuritymodules/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-10 +``` + +### Tag: package-2018-10 and azureresourceschema + +These settings apply only when `--tag=package-2018-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/hardwaresecuritymodules/resource-manager/readme.md b/specification/hardwaresecuritymodules/resource-manager/readme.md index 59a76b0d23c6..bb675df38663 100644 --- a/specification/hardwaresecuritymodules/resource-manager/readme.md +++ b/specification/hardwaresecuritymodules/resource-manager/readme.md @@ -41,6 +41,10 @@ input-file: +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. @@ -76,5 +80,8 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js hardwaresecuritymodules/resource-manager ``` diff --git a/specification/hdinsight/resource-manager/readme.azureresourceschema.md b/specification/hdinsight/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..1446b958651a --- /dev/null +++ b/specification/hdinsight/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-06-preview + - tag: package-2015-03-preview +``` + +### Tag: package-2018-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-03-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-03-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-03-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/hdinsight/resource-manager/readme.md b/specification/hdinsight/resource-manager/readme.md index 97f592973d92..e1b948548a41 100644 --- a/specification/hdinsight/resource-manager/readme.md +++ b/specification/hdinsight/resource-manager/readme.md @@ -132,6 +132,9 @@ swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js hdinsight/resource-manager ``` ## Python @@ -208,6 +211,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/healthcareapis/resource-manager/readme.azureresourceschema.md b/specification/healthcareapis/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..c3a3821d87bf --- /dev/null +++ b/specification/healthcareapis/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-09 + - tag: package-2018-08-preview +``` + +### Tag: package-2019-09 and azureresourceschema + +These settings apply only when `--tag=package-2019-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-08-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-08-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-08-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/healthcareapis/resource-manager/readme.md b/specification/healthcareapis/resource-manager/readme.md index b9add5d92b09..f236f6dfd961 100644 --- a/specification/healthcareapis/resource-manager/readme.md +++ b/specification/healthcareapis/resource-manager/readme.md @@ -65,6 +65,9 @@ swagger-to-sdk: - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js healthcareapis/resource-manager ``` ## C# @@ -142,6 +145,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/hybridcompute/resource-manager/readme.azureresourceschema.md b/specification/hybridcompute/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..4619a7706a76 --- /dev/null +++ b/specification/hybridcompute/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-03 + - tag: package-2019-08 + - tag: package-2019-12 +``` + +### Tag: package-2019-03 and azureresourceschema + +These settings apply only when `--tag=package-2019-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-08 and azureresourceschema + +These settings apply only when `--tag=package-2019-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-12 and azureresourceschema + +These settings apply only when `--tag=package-2019-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/hybridcompute/resource-manager/readme.md b/specification/hybridcompute/resource-manager/readme.md index e5c4d2515794..daa73911025c 100644 --- a/specification/hybridcompute/resource-manager/readme.md +++ b/specification/hybridcompute/resource-manager/readme.md @@ -69,6 +69,9 @@ swagger-to-sdk: - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js hybridcompute/resource-manager ``` --- @@ -226,6 +229,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/hybriddatamanager/resource-manager/readme.azureresourceschema.md b/specification/hybriddatamanager/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..2a5210cfbdab --- /dev/null +++ b/specification/hybriddatamanager/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-06 + - tag: package-2016-06 +``` + +### Tag: package-2019-06 and azureresourceschema + +These settings apply only when `--tag=package-2019-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-06 and azureresourceschema + +These settings apply only when `--tag=package-2016-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/hybriddatamanager/resource-manager/readme.md b/specification/hybriddatamanager/resource-manager/readme.md index d05458e528e2..0184fef60e98 100644 --- a/specification/hybriddatamanager/resource-manager/readme.md +++ b/specification/hybriddatamanager/resource-manager/readme.md @@ -82,6 +82,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_hybriddatamanager'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js hybriddatamanager/resource-manager ``` @@ -150,6 +153,10 @@ python: output-folder: $(python-sdks-folder)/azure-mgmt-hybriddatamanager ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/hybridkubernetes/resource-manager/readme.azureresourceschema.md b/specification/hybridkubernetes/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..861124c2c9f1 --- /dev/null +++ b/specification/hybridkubernetes/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-01-01-preview +``` + +### Tag: package-2020-01-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-01-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/hybridkubernetes/resource-manager/readme.md b/specification/hybridkubernetes/resource-manager/readme.md index e60faf4e7f2d..096f12a29479 100644 --- a/specification/hybridkubernetes/resource-manager/readme.md +++ b/specification/hybridkubernetes/resource-manager/readme.md @@ -57,6 +57,9 @@ swagger-to-sdk: - repo: azure-sdk-for-net after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_hybridkubernetes'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js hybridkubernetes/resource-manager ``` ## Go @@ -79,6 +82,10 @@ See configuration in [readme.csharp.md](./readme.csharp.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/hybridnetwork/resource-manager/readme.azureresourceschema.md b/specification/hybridnetwork/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..861124c2c9f1 --- /dev/null +++ b/specification/hybridnetwork/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-01-01-preview +``` + +### Tag: package-2020-01-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-01-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/hybridnetwork/resource-manager/readme.md b/specification/hybridnetwork/resource-manager/readme.md index e409f06d6d4a..f8bbe17ef2e9 100644 --- a/specification/hybridnetwork/resource-manager/readme.md +++ b/specification/hybridnetwork/resource-manager/readme.md @@ -59,6 +59,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_hybridnetwork'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js hybridnetwork/resource-manager ``` ## Go @@ -81,6 +84,10 @@ See configuration in [readme.typescript.md](./readme.typescript.md) See configuration in [readme.csharp.md](./readme.csharp.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/imagebuilder/resource-manager/readme.azureresourceschema.md b/specification/imagebuilder/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..cbfd4f94befa --- /dev/null +++ b/specification/imagebuilder/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,50 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-02 + - tag: package-preview-2019-05 + - tag: package-2018-02 + - tag: package-2019-02 +``` + +### Tag: package-2020-02 and azureresourceschema + +These settings apply only when `--tag=package-2020-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-preview-2019-05 and azureresourceschema + +These settings apply only when `--tag=package-preview-2019-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2019-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02 and azureresourceschema + +These settings apply only when `--tag=package-2018-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-02 and azureresourceschema + +These settings apply only when `--tag=package-2019-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/imagebuilder/resource-manager/readme.md b/specification/imagebuilder/resource-manager/readme.md index 9d1af6e035c1..641e8d1fe520 100644 --- a/specification/imagebuilder/resource-manager/readme.md +++ b/specification/imagebuilder/resource-manager/readme.md @@ -82,6 +82,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js imagebuilder/resource-manager ``` ## Python @@ -165,6 +168,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/intune/resource-manager/readme.azureresourceschema.md b/specification/intune/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..6a46c8878d3f --- /dev/null +++ b/specification/intune/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2015-01-preview + - tag: package-2015-01-privatepreview +``` + +### Tag: package-2015-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-01-privatepreview and azureresourceschema + +These settings apply only when `--tag=package-2015-01-privatepreview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-01-privatepreview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/intune/resource-manager/readme.md b/specification/intune/resource-manager/readme.md index c15b27b1cb39..c6f9f0bfadba 100644 --- a/specification/intune/resource-manager/readme.md +++ b/specification/intune/resource-manager/readme.md @@ -51,6 +51,17 @@ input-file: --- # Code Generation +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js intune/resource-manager +``` ## C# These settings apply only when `--csharp` is specified on the command line. @@ -79,6 +90,10 @@ payload-flattening-threshold: 1 output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-intune ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/iotcentral/resource-manager/readme.azureresourceschema.md b/specification/iotcentral/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..1f1e222e4116 --- /dev/null +++ b/specification/iotcentral/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-09-01 + - tag: package-2017-07-01-privatepreview +``` + +### Tag: package-2018-09-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-09-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-07-01-privatepreview and azureresourceschema + +These settings apply only when `--tag=package-2017-07-01-privatepreview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-07-01-privatepreview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/iotcentral/resource-manager/readme.md b/specification/iotcentral/resource-manager/readme.md index 0e236fbb0bbc..87d8636674e5 100644 --- a/specification/iotcentral/resource-manager/readme.md +++ b/specification/iotcentral/resource-manager/readme.md @@ -62,6 +62,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_iot_central'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js iotcentral/resource-manager ``` ## C# @@ -131,6 +134,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/iothub/resource-manager/readme.azureresourceschema.md b/specification/iothub/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..ef82d11a8255 --- /dev/null +++ b/specification/iothub/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,150 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-preview-2020-07 + - tag: package-2020-06 + - tag: package-2020-04 + - tag: package-2020-03 + - tag: package-2019-11 + - tag: package-preview-2019-07 + - tag: package-2019-03 + - tag: package-preview-2019-03 + - tag: package-2018-12-preview + - tag: package-2018-04 + - tag: package-2018-01 + - tag: package-2017-07 + - tag: package-2017-01 + - tag: package-2016-02 +``` + +### Tag: package-preview-2020-07 and azureresourceschema + +These settings apply only when `--tag=package-preview-2020-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2020-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-06 and azureresourceschema + +These settings apply only when `--tag=package-2020-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-04 and azureresourceschema + +These settings apply only when `--tag=package-2020-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-03 and azureresourceschema + +These settings apply only when `--tag=package-2020-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11 and azureresourceschema + +These settings apply only when `--tag=package-2019-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-preview-2019-07 and azureresourceschema + +These settings apply only when `--tag=package-preview-2019-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2019-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-03 and azureresourceschema + +These settings apply only when `--tag=package-2019-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-preview-2019-03 and azureresourceschema + +These settings apply only when `--tag=package-preview-2019-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2019-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-12-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-12-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-12-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-04 and azureresourceschema + +These settings apply only when `--tag=package-2018-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-07 and azureresourceschema + +These settings apply only when `--tag=package-2017-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-01 and azureresourceschema + +These settings apply only when `--tag=package-2017-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-02 and azureresourceschema + +These settings apply only when `--tag=package-2016-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/iothub/resource-manager/readme.md b/specification/iothub/resource-manager/readme.md index 8dab6b89d6b3..b7c91d3e79ee 100644 --- a/specification/iothub/resource-manager/readme.md +++ b/specification/iothub/resource-manager/readme.md @@ -177,6 +177,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_iot_hub'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js iothub/resource-manager ``` ## C# @@ -201,6 +204,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.go.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/iotspaces/resource-manager/readme.azureresourceschema.md b/specification/iotspaces/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..85612270a94d --- /dev/null +++ b/specification/iotspaces/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-10-preview +``` + +### Tag: package-2017-10-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-10-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-10-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/iotspaces/resource-manager/readme.md b/specification/iotspaces/resource-manager/readme.md index ffd5f3dc4dfe..11823aea46d4 100644 --- a/specification/iotspaces/resource-manager/readme.md +++ b/specification/iotspaces/resource-manager/readme.md @@ -73,6 +73,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js iotspaces/resource-manager ``` ## CSharp Settings @@ -94,6 +97,10 @@ csharp: See configuration in [readme.go.md](./readme.go.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/keyvault/resource-manager/readme.azureresourceschema.md b/specification/keyvault/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..6b5dfdd2b45c --- /dev/null +++ b/specification/keyvault/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,60 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-09 + - tag: package-2018-02-14-preview + - tag: package-2018-02 + - tag: package-2016-10 + - tag: package-2015-06 +``` + +### Tag: package-2019-09 and azureresourceschema + +These settings apply only when `--tag=package-2019-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02-14-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-02-14-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02-14-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02 and azureresourceschema + +These settings apply only when `--tag=package-2018-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-10 and azureresourceschema + +These settings apply only when `--tag=package-2016-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-06 and azureresourceschema + +These settings apply only when `--tag=package-2015-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/keyvault/resource-manager/readme.md b/specification/keyvault/resource-manager/readme.md index 72863b21ce95..9d4573e66b55 100644 --- a/specification/keyvault/resource-manager/readme.md +++ b/specification/keyvault/resource-manager/readme.md @@ -113,6 +113,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_key_vault'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js keyvault/resource-manager ``` ## Go @@ -123,6 +126,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/kubernetesconfiguration/resource-manager/readme.azureresourceschema.md b/specification/kubernetesconfiguration/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..26b368c3b622 --- /dev/null +++ b/specification/kubernetesconfiguration/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-11-01-preview +``` + +### Tag: package-2019-11-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-11-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/kubernetesconfiguration/resource-manager/readme.md b/specification/kubernetesconfiguration/resource-manager/readme.md index 67f97d8b6dcf..0c8018090c07 100644 --- a/specification/kubernetesconfiguration/resource-manager/readme.md +++ b/specification/kubernetesconfiguration/resource-manager/readme.md @@ -56,6 +56,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_kubernetesconfiguration'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js kubernetesconfiguration/resource-manager ``` ## Go @@ -78,6 +81,10 @@ See configuration in [readme.typescript.md](./readme.typescript.md) See configuration in [readme.csharp.md](./readme.csharp.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/labservices/resource-manager/readme.azureresourceschema.md b/specification/labservices/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..581374a967f0 --- /dev/null +++ b/specification/labservices/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-10 +``` + +### Tag: package-2018-10 and azureresourceschema + +These settings apply only when `--tag=package-2018-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/labservices/resource-manager/readme.md b/specification/labservices/resource-manager/readme.md index c0d8c1459ffc..efe9d284406e 100644 --- a/specification/labservices/resource-manager/readme.md +++ b/specification/labservices/resource-manager/readme.md @@ -59,6 +59,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_labservices'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js labservices/resource-manager ``` @@ -144,6 +147,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/logic/resource-manager/readme.azureresourceschema.md b/specification/logic/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..4f0569e01594 --- /dev/null +++ b/specification/logic/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,60 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-05 + - tag: package-2018-07-preview + - tag: package-2016-06 + - tag: package-2015-08-preview + - tag: package-2015-02-preview +``` + +### Tag: package-2019-05 and azureresourceschema + +These settings apply only when `--tag=package-2019-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-07-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-07-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-07-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-06 and azureresourceschema + +These settings apply only when `--tag=package-2016-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-08-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-08-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-08-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-02-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/logic/resource-manager/readme.md b/specification/logic/resource-manager/readme.md index 8fc4874a384f..dc05370df8a7 100644 --- a/specification/logic/resource-manager/readme.md +++ b/specification/logic/resource-manager/readme.md @@ -136,6 +136,9 @@ swagger-to-sdk: after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_logic'] - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js logic/resource-manager ``` ## C# @@ -245,6 +248,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/machinelearning/resource-manager/readme.azureresourceschema.md b/specification/machinelearning/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..1c4af7278070 --- /dev/null +++ b/specification/machinelearning/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,60 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-webservices-2017-01 + - tag: package-commitmentPlans-2016-05-preview + - tag: package-workspaces-2016-04 + - tag: package-workspaces-2019-10 + - tag: package-webservices-2016-05-preview +``` + +### Tag: package-webservices-2017-01 and azureresourceschema + +These settings apply only when `--tag=package-webservices-2017-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-webservices-2017-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-commitmentPlans-2016-05-preview and azureresourceschema + +These settings apply only when `--tag=package-commitmentPlans-2016-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-commitmentPlans-2016-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-workspaces-2016-04 and azureresourceschema + +These settings apply only when `--tag=package-workspaces-2016-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-workspaces-2016-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-workspaces-2019-10 and azureresourceschema + +These settings apply only when `--tag=package-workspaces-2019-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-workspaces-2019-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-webservices-2016-05-preview and azureresourceschema + +These settings apply only when `--tag=package-webservices-2016-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-webservices-2016-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/machinelearning/resource-manager/readme.md b/specification/machinelearning/resource-manager/readme.md index c192d89dc257..fbfc02d26cde 100644 --- a/specification/machinelearning/resource-manager/readme.md +++ b/specification/machinelearning/resource-manager/readme.md @@ -118,6 +118,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_machine_learning'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js machinelearning/resource-manager ``` @@ -251,6 +254,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/machinelearningcompute/resource-manager/readme.azureresourceschema.md b/specification/machinelearningcompute/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..12e05f5d9cd2 --- /dev/null +++ b/specification/machinelearningcompute/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-08-preview + - tag: package-2017-06-preview +``` + +### Tag: package-2017-08-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-08-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-08-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/machinelearningcompute/resource-manager/readme.md b/specification/machinelearningcompute/resource-manager/readme.md index be65538e35af..fa43887fee44 100644 --- a/specification/machinelearningcompute/resource-manager/readme.md +++ b/specification/machinelearningcompute/resource-manager/readme.md @@ -67,6 +67,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js machinelearningcompute/resource-manager ``` @@ -124,6 +127,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/machinelearningexperimentation/resource-manager/readme.azureresourceschema.md b/specification/machinelearningexperimentation/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..15b9e6493ce0 --- /dev/null +++ b/specification/machinelearningexperimentation/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-05-preview +``` + +### Tag: package-2017-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/machinelearningexperimentation/resource-manager/readme.md b/specification/machinelearningexperimentation/resource-manager/readme.md index 67f9b55a17f2..3f22d68551cb 100644 --- a/specification/machinelearningexperimentation/resource-manager/readme.md +++ b/specification/machinelearningexperimentation/resource-manager/readme.md @@ -54,6 +54,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js machinelearningexperimentation/resource-manager ``` @@ -111,6 +114,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/machinelearningservices/resource-manager/readme.azureresourceschema.md b/specification/machinelearningservices/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..be0f3ffeb01b --- /dev/null +++ b/specification/machinelearningservices/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,140 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-06-01 + - tag: package-preview-2020-05 + - tag: package-2020-04-01 + - tag: package-2020-03-01 + - tag: package-2020-01-01 + - tag: package-2019-11-01 + - tag: package-2019-06-01 + - tag: package-2019-05-01 + - tag: package-2018-11-19 + - tag: package-2020-05-01-preview + - tag: package-2020-04-01-preview + - tag: package-2020-02-18-preview + - tag: package-2018-03-preview +``` + +### Tag: package-2020-06-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-06-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-preview-2020-05 and azureresourceschema + +These settings apply only when `--tag=package-preview-2020-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2020-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-04-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-04-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-03-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-03-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-01-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-11-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-06-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-05-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-05-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-05-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-11-19 and azureresourceschema + +These settings apply only when `--tag=package-2018-11-19 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-11-19' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-05-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-05-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-04-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-04-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-02-18-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-02-18-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-02-18-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-03-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/machinelearningservices/resource-manager/readme.md b/specification/machinelearningservices/resource-manager/readme.md index 966eb3408a19..da9f7aa3d8da 100644 --- a/specification/machinelearningservices/resource-manager/readme.md +++ b/specification/machinelearningservices/resource-manager/readme.md @@ -163,6 +163,9 @@ swagger-to-sdk: - repo: azure-sdk-for-js - repo: azure-sdk-for-node - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js machinelearningservices/resource-manager ``` ## C# @@ -357,6 +360,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/maintenance/resource-manager/readme.azureresourceschema.md b/specification/maintenance/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..d1554fd66bb4 --- /dev/null +++ b/specification/maintenance/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-preview-2020-07 + - tag: package-2020-04 + - tag: package-2018-06-preview +``` + +### Tag: package-preview-2020-07 and azureresourceschema + +These settings apply only when `--tag=package-preview-2020-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2020-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-04 and azureresourceschema + +These settings apply only when `--tag=package-2020-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/maintenance/resource-manager/readme.md b/specification/maintenance/resource-manager/readme.md index 13c0ae733d1a..a92762d027f6 100644 --- a/specification/maintenance/resource-manager/readme.md +++ b/specification/maintenance/resource-manager/readme.md @@ -73,6 +73,9 @@ swagger-to-sdk: - repo: azure-libraries-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js maintenance/resource-manager ``` ## C# @@ -102,6 +105,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/managednetwork/resource-manager/readme.azureresourceschema.md b/specification/managednetwork/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..ab2cc95ab33b --- /dev/null +++ b/specification/managednetwork/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-06-01-preview +``` + +### Tag: package-2019-06-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-06-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/managednetwork/resource-manager/readme.md b/specification/managednetwork/resource-manager/readme.md index d728435d48d2..f0284d03e6a1 100644 --- a/specification/managednetwork/resource-manager/readme.md +++ b/specification/managednetwork/resource-manager/readme.md @@ -54,6 +54,9 @@ swagger-to-sdk: - repo: azure-sdk-for-js - repo: azure-sdk-for-node - repo: azure-sdk-for-ruby + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js managednetwork/resource-manager ``` ## C# @@ -73,6 +76,10 @@ csharp: See configuration in [readme.cli.md](./readme.cli.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/managedservices/resource-manager/readme.azureresourceschema.md b/specification/managedservices/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..d9c9553730c0 --- /dev/null +++ b/specification/managedservices/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,60 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-02-preview + - tag: package-2019-09 + - tag: package-2019-06 + - tag: package-2019-04-preview + - tag: package-2018-06-preview +``` + +### Tag: package-2020-02-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-09 and azureresourceschema + +These settings apply only when `--tag=package-2019-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06 and azureresourceschema + +These settings apply only when `--tag=package-2019-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-04-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-04-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/managedservices/resource-manager/readme.md b/specification/managedservices/resource-manager/readme.md index 5273c2568abc..a85ba96d422c 100644 --- a/specification/managedservices/resource-manager/readme.md +++ b/specification/managedservices/resource-manager/readme.md @@ -94,6 +94,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_billing'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js managedservices/resource-manager ``` ## C# @@ -114,6 +117,10 @@ csharp: See configuration in [readme.go.md](./readme.go.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/managementgroups/resource-manager/readme.azureresourceschema.md b/specification/managementgroups/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..2cfb6c44a388 --- /dev/null +++ b/specification/managementgroups/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,80 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-05 + - tag: package-2020-02 + - tag: package-2019-11 + - tag: package-2018-03 + - tag: package-2018-01 + - tag: package-2017-11 + - tag: package-2017-08 +``` + +### Tag: package-2020-05 and azureresourceschema + +These settings apply only when `--tag=package-2020-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-02 and azureresourceschema + +These settings apply only when `--tag=package-2020-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11 and azureresourceschema + +These settings apply only when `--tag=package-2019-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03 and azureresourceschema + +These settings apply only when `--tag=package-2018-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-11 and azureresourceschema + +These settings apply only when `--tag=package-2017-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-08 and azureresourceschema + +These settings apply only when `--tag=package-2017-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/managementgroups/resource-manager/readme.md b/specification/managementgroups/resource-manager/readme.md index ae179db33f56..13eda9a91e65 100644 --- a/specification/managementgroups/resource-manager/readme.md +++ b/specification/managementgroups/resource-manager/readme.md @@ -101,6 +101,9 @@ swagger-to-sdk: - repo: azure-sdk-for-js - repo: azure-sdk-for-node - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js managementgroups/resource-manager ``` ## C# @@ -267,6 +270,10 @@ generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/managementpartner/resource-manager/readme.azureresourceschema.md b/specification/managementpartner/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..aec7f8c0d230 --- /dev/null +++ b/specification/managementpartner/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-02 +``` + +### Tag: package-2018-02 and azureresourceschema + +These settings apply only when `--tag=package-2018-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/managementpartner/resource-manager/readme.md b/specification/managementpartner/resource-manager/readme.md index 85c0c7e92354..ae1a91879032 100644 --- a/specification/managementpartner/resource-manager/readme.md +++ b/specification/managementpartner/resource-manager/readme.md @@ -76,6 +76,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js managementpartner/resource-manager ``` ## C# @@ -96,6 +99,10 @@ csharp: See configuration in [readme.go.md](./readme.go.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/maps/resource-manager/readme.azureresourceschema.md b/specification/maps/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..7759c69e8e51 --- /dev/null +++ b/specification/maps/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-preview-2020-02 + - tag: package-2017-01 + - tag: package-2018-05 +``` + +### Tag: package-preview-2020-02 and azureresourceschema + +These settings apply only when `--tag=package-preview-2020-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2020-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-01 and azureresourceschema + +These settings apply only when `--tag=package-2017-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-05 and azureresourceschema + +These settings apply only when `--tag=package-2018-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/maps/resource-manager/readme.md b/specification/maps/resource-manager/readme.md index a01a6d31ee2c..ea8338cf46f7 100644 --- a/specification/maps/resource-manager/readme.md +++ b/specification/maps/resource-manager/readme.md @@ -72,6 +72,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js maps/resource-manager ``` ## C# @@ -223,6 +226,10 @@ directive: reason: False positive. Structure is the same with addition of provisioningStatus property. ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/mariadb/resource-manager/readme.azureresourceschema.md b/specification/mariadb/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..8d0972cd8819 --- /dev/null +++ b/specification/mariadb/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,60 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-06-01-preview + - tag: package-2018-06-01 + - tag: package-2018-06-01-privatepreview + - tag: package-2020-01-01-privatepreview + - tag: package-2020-01-01 +``` + +### Tag: package-2018-06-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-06-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-06-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-01-privatepreview and azureresourceschema + +These settings apply only when `--tag=package-2018-06-01-privatepreview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-01-privatepreview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-01-privatepreview and azureresourceschema + +These settings apply only when `--tag=package-2020-01-01-privatepreview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-01-privatepreview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-01-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/mariadb/resource-manager/readme.md b/specification/mariadb/resource-manager/readme.md index e6640f77af11..4ad1eec652cf 100644 --- a/specification/mariadb/resource-manager/readme.md +++ b/specification/mariadb/resource-manager/readme.md @@ -114,6 +114,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js mariadb/resource-manager ``` @@ -167,6 +170,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/marketplace/resource-manager/readme.azureresourceschema.md b/specification/marketplace/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..25e6ec91adc3 --- /dev/null +++ b/specification/marketplace/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-12-01 + - tag: package-2020-01-01 +``` + +### Tag: package-2019-12-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-12-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-12-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-01-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/marketplace/resource-manager/readme.md b/specification/marketplace/resource-manager/readme.md index 4796a969e8cf..b860e660ea71 100644 --- a/specification/marketplace/resource-manager/readme.md +++ b/specification/marketplace/resource-manager/readme.md @@ -60,6 +60,9 @@ swagger-to-sdk: - repo: azure-sdk-for-net after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_marketplace'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js marketplace/resource-manager ``` ## C# @@ -76,6 +79,10 @@ csharp: clear-output-folder: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/marketplaceordering/resource-manager/readme.azureresourceschema.md b/specification/marketplaceordering/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..f63843da8d4d --- /dev/null +++ b/specification/marketplaceordering/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2015-06-01 +``` + +### Tag: package-2015-06-01 and azureresourceschema + +These settings apply only when `--tag=package-2015-06-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-06-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/marketplaceordering/resource-manager/readme.md b/specification/marketplaceordering/resource-manager/readme.md index e9177ad54f45..862ab1178325 100644 --- a/specification/marketplaceordering/resource-manager/readme.md +++ b/specification/marketplaceordering/resource-manager/readme.md @@ -81,6 +81,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_marketplace_ordering'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js marketplaceordering/resource-manager ``` @@ -194,6 +197,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/mediaservices/resource-manager/readme.azureresourceschema.md b/specification/mediaservices/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..70a3b63bdfc7 --- /dev/null +++ b/specification/mediaservices/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,90 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-05 + - tag: package-2020-02-preview + - tag: package-2019-09-preview + - tag: package-2019-05-preview + - tag: package-2018-07 + - tag: package-2015-10 + - tag: package-2018-03-preview + - tag: package-2018-06-preview +``` + +### Tag: package-2020-05 and azureresourceschema + +These settings apply only when `--tag=package-2020-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-02-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-09-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-09-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-09-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-07 and azureresourceschema + +These settings apply only when `--tag=package-2018-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-10 and azureresourceschema + +These settings apply only when `--tag=package-2015-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-03-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/mediaservices/resource-manager/readme.md b/specification/mediaservices/resource-manager/readme.md index 5d98b8ef86d9..8f1b6a467699 100644 --- a/specification/mediaservices/resource-manager/readme.md +++ b/specification/mediaservices/resource-manager/readme.md @@ -171,6 +171,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_media_services'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js mediaservices/resource-manager ``` ## C# @@ -326,6 +329,10 @@ directive: reason: Output not required for job update ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/migrate/resource-manager/readme.azureresourceschema.md b/specification/migrate/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..388e6e2f39e7 --- /dev/null +++ b/specification/migrate/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,50 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-07 + - tag: package-2018-02 + - tag: package-2019-10 + - tag: package-2020-01 +``` + +### Tag: package-2020-07 and azureresourceschema + +These settings apply only when `--tag=package-2020-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02 and azureresourceschema + +These settings apply only when `--tag=package-2018-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-10 and azureresourceschema + +These settings apply only when `--tag=package-2019-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/migrate/resource-manager/readme.md b/specification/migrate/resource-manager/readme.md index 8b2a9c8e0e15..dff37b7a1ec4 100644 --- a/specification/migrate/resource-manager/readme.md +++ b/specification/migrate/resource-manager/readme.md @@ -121,12 +121,19 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js migrate/resource-manager ``` ## Go See configuration in [readme.go.md](./readme.go.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/migrateprojects/resource-manager/readme.azureresourceschema.md b/specification/migrateprojects/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..ef6161ed6b1a --- /dev/null +++ b/specification/migrateprojects/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-09 +``` + +### Tag: package-2018-09 and azureresourceschema + +These settings apply only when `--tag=package-2018-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/migrateprojects/resource-manager/readme.md b/specification/migrateprojects/resource-manager/readme.md index 4a68c64f2d7e..79ca82ca7085 100644 --- a/specification/migrateprojects/resource-manager/readme.md +++ b/specification/migrateprojects/resource-manager/readme.md @@ -69,6 +69,9 @@ This is not used by Autorest itself. ``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-go + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js migrateprojects/resource-manager ``` ## Go @@ -98,6 +101,10 @@ Please also specify `--go-sdk-folder=`. + +``` yaml $(tag) == 'package-2020-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-05-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-05-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-04-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-04-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-12-02-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-12-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-12-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-02-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/mixedreality/resource-manager/readme.md b/specification/mixedreality/resource-manager/readme.md index ccd310b211e6..100d68142ecd 100644 --- a/specification/mixedreality/resource-manager/readme.md +++ b/specification/mixedreality/resource-manager/readme.md @@ -93,6 +93,9 @@ swagger-to-sdk: - repo: azure-sdk-for-js - repo: azure-sdk-for-go - repo: azure-sdk-for-java + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js mixedreality/resource-manager ``` ## C# @@ -146,6 +149,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/monitor/resource-manager/readme.azureresourceschema.md b/specification/monitor/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..8447c6f8c053 --- /dev/null +++ b/specification/monitor/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,340 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-05-preview + - tag: package-2020-01-01-preview-only + - tag: package-2020-03 + - tag: package-2019-11 + - tag: package-2019-10-17-preview-only + - tag: package-2019-06 + - tag: package-2019-03 + - tag: package-2018-11-preview + - tag: package-2018-09 + - tag: package-2018-03 + - tag: package-2018-02-preview + - tag: package-2017-12 + - tag: package-2017-09 + - tag: package-2017-08 + - tag: package-2019-11-preview-only + - tag: package-2019-06-01-only + - tag: package-2019-03-01-only + - tag: package-2018-11-27-preview-only + - tag: package-2018-09-01-only + - tag: package-2018-06-01-preview-only + - tag: package-2018-04-16-only + - tag: package-2018-03-01-only + - tag: package-2018-01-01-only + - tag: package-2017-12-01-preview-only + - tag: package-2017-11-01-preview-only + - tag: package-2017-05-01-preview-only + - tag: package-2017-04-01-only + - tag: package-2017-03-01-preview-only + - tag: package-2016-09-01-only + - tag: package-2016-03-01-only + - tag: package-2015-07-01-only + - tag: package-2015-04-01-only + - tag: profile-hybrid-2019-03-01 +``` + +### Tag: package-2020-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-01-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2020-01-01-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-01-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-03 and azureresourceschema + +These settings apply only when `--tag=package-2020-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11 and azureresourceschema + +These settings apply only when `--tag=package-2019-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-10-17-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2019-10-17-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10-17-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06 and azureresourceschema + +These settings apply only when `--tag=package-2019-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-03 and azureresourceschema + +These settings apply only when `--tag=package-2019-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-11-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-11-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-11-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-09 and azureresourceschema + +These settings apply only when `--tag=package-2018-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03 and azureresourceschema + +These settings apply only when `--tag=package-2018-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-12 and azureresourceschema + +These settings apply only when `--tag=package-2017-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-09 and azureresourceschema + +These settings apply only when `--tag=package-2017-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-08 and azureresourceschema + +These settings apply only when `--tag=package-2017-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2019-11-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06-01-only and azureresourceschema + +These settings apply only when `--tag=package-2019-06-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-03-01-only and azureresourceschema + +These settings apply only when `--tag=package-2019-03-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-03-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-11-27-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2018-11-27-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-11-27-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-09-01-only and azureresourceschema + +These settings apply only when `--tag=package-2018-09-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-01-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2018-06-01-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-01-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-04-16-only and azureresourceschema + +These settings apply only when `--tag=package-2018-04-16-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-04-16-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03-01-only and azureresourceschema + +These settings apply only when `--tag=package-2018-03-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01-01-only and azureresourceschema + +These settings apply only when `--tag=package-2018-01-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-12-01-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2017-12-01-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-12-01-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-11-01-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2017-11-01-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-11-01-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-05-01-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2017-05-01-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-05-01-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-04-01-only and azureresourceschema + +These settings apply only when `--tag=package-2017-04-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-04-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-03-01-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2017-03-01-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-03-01-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-09-01-only and azureresourceschema + +These settings apply only when `--tag=package-2016-09-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-09-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-03-01-only and azureresourceschema + +These settings apply only when `--tag=package-2016-03-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-03-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-07-01-only and azureresourceschema + +These settings apply only when `--tag=package-2015-07-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-07-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-04-01-only and azureresourceschema + +These settings apply only when `--tag=package-2015-04-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-04-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: profile-hybrid-2019-03-01 and azureresourceschema + +These settings apply only when `--tag=profile-hybrid-2019-03-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'profile-hybrid-2019-03-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index 6b3d8d304a28..fdf5434e62cc 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -569,6 +569,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_monitor'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js monitor/resource-manager ``` ## Python @@ -626,6 +629,10 @@ input-file: - Microsoft.Insights/stable/2015-04-01/operations_API.json ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/msi/resource-manager/readme.azureresourceschema.md b/specification/msi/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..51ee032f4593 --- /dev/null +++ b/specification/msi/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-11-30 + - tag: package-2015-08-31-preview +``` + +### Tag: package-2018-11-30 and azureresourceschema + +These settings apply only when `--tag=package-2018-11-30 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-11-30' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-08-31-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-08-31-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-08-31-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/msi/resource-manager/readme.md b/specification/msi/resource-manager/readme.md index 6540b93517b2..b28f0e3f39cb 100644 --- a/specification/msi/resource-manager/readme.md +++ b/specification/msi/resource-manager/readme.md @@ -72,6 +72,9 @@ swagger-to-sdk: - bundle install && rake arm:regen_all_profiles['azure_mgmt_msi'] - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js msi/resource-manager ``` @@ -143,6 +146,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/mysql/resource-manager/readme.azureresourceschema.md b/specification/mysql/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..6c26c598c87b --- /dev/null +++ b/specification/mysql/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,80 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-12-01-preview + - tag: package-2017-12-01 + - tag: package-2018-06-01-privatepreview + - tag: package-2018-06-01 + - tag: package-2020-01-01-privatepreview + - tag: package-2020-01-01 + - tag: package-2020-07-01-privatepreview +``` + +### Tag: package-2017-12-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-12-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-12-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-12-01 and azureresourceschema + +These settings apply only when `--tag=package-2017-12-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-12-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-01-privatepreview and azureresourceschema + +These settings apply only when `--tag=package-2018-06-01-privatepreview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-01-privatepreview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-06-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-01-privatepreview and azureresourceschema + +These settings apply only when `--tag=package-2020-01-01-privatepreview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-01-privatepreview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-01-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-07-01-privatepreview and azureresourceschema + +These settings apply only when `--tag=package-2020-07-01-privatepreview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-07-01-privatepreview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/mysql/resource-manager/readme.md b/specification/mysql/resource-manager/readme.md index 9c165bd91bba..8b31449776ad 100644 --- a/specification/mysql/resource-manager/readme.md +++ b/specification/mysql/resource-manager/readme.md @@ -145,6 +145,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js mysql/resource-manager ``` @@ -198,6 +201,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/netapp/resource-manager/readme.azureresourceschema.md b/specification/netapp/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..56c9e81499dd --- /dev/null +++ b/specification/netapp/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,90 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-netapp-2020-02-01 + - tag: package-netapp-2019-11-01 + - tag: package-netapp-2019-10-01 + - tag: package-netapp-2019-08-01 + - tag: package-netapp-2019-07-01 + - tag: package-netapp-2019-06-01 + - tag: package-netapp-2019-05-01 + - tag: package-2017-08-15 +``` + +### Tag: package-netapp-2020-02-01 and azureresourceschema + +These settings apply only when `--tag=package-netapp-2020-02-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-netapp-2020-02-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-netapp-2019-11-01 and azureresourceschema + +These settings apply only when `--tag=package-netapp-2019-11-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-netapp-2019-11-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-netapp-2019-10-01 and azureresourceschema + +These settings apply only when `--tag=package-netapp-2019-10-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-netapp-2019-10-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-netapp-2019-08-01 and azureresourceschema + +These settings apply only when `--tag=package-netapp-2019-08-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-netapp-2019-08-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-netapp-2019-07-01 and azureresourceschema + +These settings apply only when `--tag=package-netapp-2019-07-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-netapp-2019-07-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-netapp-2019-06-01 and azureresourceschema + +These settings apply only when `--tag=package-netapp-2019-06-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-netapp-2019-06-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-netapp-2019-05-01 and azureresourceschema + +These settings apply only when `--tag=package-netapp-2019-05-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-netapp-2019-05-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-08-15 and azureresourceschema + +These settings apply only when `--tag=package-2017-08-15 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-08-15' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/netapp/resource-manager/readme.md b/specification/netapp/resource-manager/readme.md index 4a4404c61528..1a4394c7a91f 100644 --- a/specification/netapp/resource-manager/readme.md +++ b/specification/netapp/resource-manager/readme.md @@ -121,6 +121,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-java - repo: azure-sdk-for-trenton + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js netapp/resource-manager ``` @@ -144,6 +147,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/network/resource-manager/readme.azureresourceschema.md b/specification/network/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..db1fd870258e --- /dev/null +++ b/specification/network/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,410 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-06 + - tag: package-2020-05 + - tag: package-2020-04 + - tag: package-2020-03 + - tag: package-2019-12 + - tag: package-2019-11 + - tag: package-2019-09 + - tag: package-2019-08 + - tag: package-2019-07 + - tag: package-2019-06 + - tag: package-2019-04 + - tag: package-2019-02 + - tag: package-2018-12 + - tag: package-2018-12-only + - tag: package-2018-11 + - tag: package-2018-10 + - tag: package-2018-08 + - tag: package-2018-07 + - tag: package-2018-06 + - tag: package-2018-04 + - tag: package-2018-02 + - tag: package-2018-01 + - tag: package-2018-01-only + - tag: package-2017-11 + - tag: package-2017-11-only + - tag: package-2017-10 + - tag: package-2017-10-only + - tag: package-2017-09 + - tag: package-2017-09-only + - tag: package-2017-08 + - tag: package-2017-06 + - tag: package-2017-03 + - tag: package-2017-03-only + - tag: package-2017-03-30-only + - tag: package-2016-12 + - tag: package-2016-09 + - tag: package-2016-06 + - tag: package-2016-03 + - tag: package-2015-06split + - tag: package-2015-05-preview +``` + +### Tag: package-2020-06 and azureresourceschema + +These settings apply only when `--tag=package-2020-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-05 and azureresourceschema + +These settings apply only when `--tag=package-2020-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-04 and azureresourceschema + +These settings apply only when `--tag=package-2020-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-03 and azureresourceschema + +These settings apply only when `--tag=package-2020-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-12 and azureresourceschema + +These settings apply only when `--tag=package-2019-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11 and azureresourceschema + +These settings apply only when `--tag=package-2019-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-09 and azureresourceschema + +These settings apply only when `--tag=package-2019-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-08 and azureresourceschema + +These settings apply only when `--tag=package-2019-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-07 and azureresourceschema + +These settings apply only when `--tag=package-2019-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06 and azureresourceschema + +These settings apply only when `--tag=package-2019-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-04 and azureresourceschema + +These settings apply only when `--tag=package-2019-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-02 and azureresourceschema + +These settings apply only when `--tag=package-2019-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-12 and azureresourceschema + +These settings apply only when `--tag=package-2018-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-12-only and azureresourceschema + +These settings apply only when `--tag=package-2018-12-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-12-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-11 and azureresourceschema + +These settings apply only when `--tag=package-2018-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-10 and azureresourceschema + +These settings apply only when `--tag=package-2018-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-08 and azureresourceschema + +These settings apply only when `--tag=package-2018-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-07 and azureresourceschema + +These settings apply only when `--tag=package-2018-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06 and azureresourceschema + +These settings apply only when `--tag=package-2018-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-04 and azureresourceschema + +These settings apply only when `--tag=package-2018-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02 and azureresourceschema + +These settings apply only when `--tag=package-2018-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01-only and azureresourceschema + +These settings apply only when `--tag=package-2018-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-11 and azureresourceschema + +These settings apply only when `--tag=package-2017-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-11-only and azureresourceschema + +These settings apply only when `--tag=package-2017-11-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-11-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-10 and azureresourceschema + +These settings apply only when `--tag=package-2017-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-10-only and azureresourceschema + +These settings apply only when `--tag=package-2017-10-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-10-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-09 and azureresourceschema + +These settings apply only when `--tag=package-2017-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-09-only and azureresourceschema + +These settings apply only when `--tag=package-2017-09-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-09-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-08 and azureresourceschema + +These settings apply only when `--tag=package-2017-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-06 and azureresourceschema + +These settings apply only when `--tag=package-2017-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-03 and azureresourceschema + +These settings apply only when `--tag=package-2017-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-03-only and azureresourceschema + +These settings apply only when `--tag=package-2017-03-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-03-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-03-30-only and azureresourceschema + +These settings apply only when `--tag=package-2017-03-30-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-03-30-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-12 and azureresourceschema + +These settings apply only when `--tag=package-2016-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-09 and azureresourceschema + +These settings apply only when `--tag=package-2016-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-06 and azureresourceschema + +These settings apply only when `--tag=package-2016-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-03 and azureresourceschema + +These settings apply only when `--tag=package-2016-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-06split and azureresourceschema + +These settings apply only when `--tag=package-2015-06split --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-06split' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index 3cf133b13555..9e8a8297c1b4 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -1639,6 +1639,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_network'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js network/resource-manager ``` ## Suppression @@ -1677,6 +1680,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/notificationhubs/resource-manager/readme.azureresourceschema.md b/specification/notificationhubs/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..0258f27a6122 --- /dev/null +++ b/specification/notificationhubs/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-04 + - tag: package-2016-03 + - tag: package-2014-09 +``` + +### Tag: package-2017-04 and azureresourceschema + +These settings apply only when `--tag=package-2017-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-03 and azureresourceschema + +These settings apply only when `--tag=package-2016-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2014-09 and azureresourceschema + +These settings apply only when `--tag=package-2014-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2014-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/notificationhubs/resource-manager/readme.md b/specification/notificationhubs/resource-manager/readme.md index 776209cfbe47..ca971fb4f0ce 100644 --- a/specification/notificationhubs/resource-manager/readme.md +++ b/specification/notificationhubs/resource-manager/readme.md @@ -93,6 +93,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_notification_hubs'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js notificationhubs/resource-manager ``` @@ -206,6 +209,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/operationalinsights/resource-manager/readme.azureresourceschema.md b/specification/operationalinsights/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..1f6a20d0ef41 --- /dev/null +++ b/specification/operationalinsights/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,60 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2015-11-preview + - tag: package-2015-03 + - tag: package-2019-08-preview + - tag: package-2020-03-preview + - tag: package-2020-08 +``` + +### Tag: package-2015-11-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-11-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-11-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-03 and azureresourceschema + +These settings apply only when `--tag=package-2015-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-08-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-08-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-08-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-03-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-03-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-08 and azureresourceschema + +These settings apply only when `--tag=package-2020-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/operationalinsights/resource-manager/readme.md b/specification/operationalinsights/resource-manager/readme.md index 84122373b295..2479fafbdac4 100644 --- a/specification/operationalinsights/resource-manager/readme.md +++ b/specification/operationalinsights/resource-manager/readme.md @@ -138,6 +138,9 @@ swagger-to-sdk: - repo: azure-sdk-for-java after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_operational_insights'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js operationalinsights/resource-manager ``` @@ -210,6 +213,10 @@ directive: reason: properties etag defined as eTag in model ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/operationsmanagement/resource-manager/readme.azureresourceschema.md b/specification/operationsmanagement/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..f68936869c48 --- /dev/null +++ b/specification/operationsmanagement/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2015-11-preview +``` + +### Tag: package-2015-11-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-11-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-11-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/operationsmanagement/resource-manager/readme.md b/specification/operationsmanagement/resource-manager/readme.md index 016569b64e0a..01dba6923780 100644 --- a/specification/operationsmanagement/resource-manager/readme.md +++ b/specification/operationsmanagement/resource-manager/readme.md @@ -59,6 +59,9 @@ swagger-to-sdk: - repo: azure-sdk-for-node - repo: azure-sdk-for-python - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js operationsmanagement/resource-manager ``` @@ -122,6 +125,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/peering/resource-manager/readme.azureresourceschema.md b/specification/peering/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..d9460d78c60a --- /dev/null +++ b/specification/peering/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,50 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-04-01 + - tag: package-2020-01-01-preview + - tag: package-2019-09-01-preview + - tag: package-2019-08-01-preview +``` + +### Tag: package-2020-04-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-04-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-01-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-09-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-09-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-09-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-08-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-08-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-08-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/peering/resource-manager/readme.md b/specification/peering/resource-manager/readme.md index 947c30cb6823..d615f9f5d5ec 100644 --- a/specification/peering/resource-manager/readme.md +++ b/specification/peering/resource-manager/readme.md @@ -105,6 +105,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_peering'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js peering/resource-manager ``` ## C# @@ -119,6 +122,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.cli.md](./readme.cli.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/policyinsights/resource-manager/readme.azureresourceschema.md b/specification/policyinsights/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..3e922449eb44 --- /dev/null +++ b/specification/policyinsights/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-10 + - tag: package-2018-07 + - tag: package-2018-04 +``` + +### Tag: package-2019-10 and azureresourceschema + +These settings apply only when `--tag=package-2019-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-07 and azureresourceschema + +These settings apply only when `--tag=package-2018-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-04 and azureresourceschema + +These settings apply only when `--tag=package-2018-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/policyinsights/resource-manager/readme.md b/specification/policyinsights/resource-manager/readme.md index 021a18defb12..c6dcf11c08eb 100644 --- a/specification/policyinsights/resource-manager/readme.md +++ b/specification/policyinsights/resource-manager/readme.md @@ -122,6 +122,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js policyinsights/resource-manager ``` @@ -234,6 +237,10 @@ generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/portal/resource-manager/readme.azureresourceschema.md b/specification/portal/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..ff4ff25ec9d2 --- /dev/null +++ b/specification/portal/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-01-01-preview + - tag: package-2018-10-01-preview + - tag: package-2015-08-01-preview +``` + +### Tag: package-2019-01-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-01-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-01-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-10-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-10-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-10-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-08-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-08-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-08-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/portal/resource-manager/readme.md b/specification/portal/resource-manager/readme.md index 9fc2ca44f7c4..ee9417d8fb23 100644 --- a/specification/portal/resource-manager/readme.md +++ b/specification/portal/resource-manager/readme.md @@ -76,6 +76,9 @@ swagger-to-sdk: after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_portal'] - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js portal/resource-manager ``` ## Go @@ -102,6 +105,10 @@ See configuration in [readme.csharp.md](./readme.csharp.md) See configuration in [readme.nodejs.md](./readme.nodejs.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/postgresql/resource-manager/readme.azureresourceschema.md b/specification/postgresql/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..54353347dd47 --- /dev/null +++ b/specification/postgresql/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,80 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-02-14-privatepreview + - tag: package-2020-01-01-privatepreview + - tag: package-2020-01-01 + - tag: package-2018-06-01-privatepreview + - tag: package-2018-06-01 + - tag: package-2017-12-01-preview + - tag: package-2017-12-01 +``` + +### Tag: package-2020-02-14-privatepreview and azureresourceschema + +These settings apply only when `--tag=package-2020-02-14-privatepreview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-02-14-privatepreview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-01-privatepreview and azureresourceschema + +These settings apply only when `--tag=package-2020-01-01-privatepreview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-01-privatepreview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-01-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-01-privatepreview and azureresourceschema + +These settings apply only when `--tag=package-2018-06-01-privatepreview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-01-privatepreview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-06-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-12-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-12-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-12-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-12-01 and azureresourceschema + +These settings apply only when `--tag=package-2017-12-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-12-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/postgresql/resource-manager/readme.md b/specification/postgresql/resource-manager/readme.md index fff38f5d4148..eb99d5e6032f 100644 --- a/specification/postgresql/resource-manager/readme.md +++ b/specification/postgresql/resource-manager/readme.md @@ -139,6 +139,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js postgresql/resource-manager ``` ### C# @@ -191,6 +194,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/powerbidedicated/resource-manager/readme.azureresourceschema.md b/specification/powerbidedicated/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..2208e1f74f2d --- /dev/null +++ b/specification/powerbidedicated/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-10-01 +``` + +### Tag: package-2017-10-01 and azureresourceschema + +These settings apply only when `--tag=package-2017-10-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-10-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/powerbidedicated/resource-manager/readme.md b/specification/powerbidedicated/resource-manager/readme.md index 4c4478c3404a..ce7861a7f87a 100644 --- a/specification/powerbidedicated/resource-manager/readme.md +++ b/specification/powerbidedicated/resource-manager/readme.md @@ -55,6 +55,9 @@ swagger-to-sdk: - repo: azure-sdk-for-js - repo: azure-sdk-for-node - repo: azure-sdk-for-python + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js powerbidedicated/resource-manager ``` ## C# @@ -115,6 +118,10 @@ See configuration in [readme.python.md](./readme.python.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/powerbiembedded/resource-manager/readme.azureresourceschema.md b/specification/powerbiembedded/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..6336238df136 --- /dev/null +++ b/specification/powerbiembedded/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2016-01 +``` + +### Tag: package-2016-01 and azureresourceschema + +These settings apply only when `--tag=package-2016-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/powerbiembedded/resource-manager/readme.md b/specification/powerbiembedded/resource-manager/readme.md index 15f724cc783d..ec04459cdfa5 100644 --- a/specification/powerbiembedded/resource-manager/readme.md +++ b/specification/powerbiembedded/resource-manager/readme.md @@ -60,6 +60,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_powerbi_embedded'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js powerbiembedded/resource-manager ``` @@ -113,6 +116,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/privatedns/resource-manager/readme.azureresourceschema.md b/specification/privatedns/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..ef6161ed6b1a --- /dev/null +++ b/specification/privatedns/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-09 +``` + +### Tag: package-2018-09 and azureresourceschema + +These settings apply only when `--tag=package-2018-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/privatedns/resource-manager/readme.md b/specification/privatedns/resource-manager/readme.md index 26b82cf0d38c..903eec7e021a 100644 --- a/specification/privatedns/resource-manager/readme.md +++ b/specification/privatedns/resource-manager/readme.md @@ -53,6 +53,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-ruby + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js privatedns/resource-manager ``` ## C# @@ -135,6 +138,10 @@ directive: reason: Common types warning. ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/recoveryservices/resource-manager/readme.azureresourceschema.md b/specification/recoveryservices/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..a28af1dc872f --- /dev/null +++ b/specification/recoveryservices/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2016-06 +``` + +### Tag: package-2016-06 and azureresourceschema + +These settings apply only when `--tag=package-2016-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/recoveryservices/resource-manager/readme.md b/specification/recoveryservices/resource-manager/readme.md index e6c765cbb05b..cc9d01439c78 100644 --- a/specification/recoveryservices/resource-manager/readme.md +++ b/specification/recoveryservices/resource-manager/readme.md @@ -74,6 +74,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_recovery_services'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js recoveryservices/resource-manager ``` @@ -132,6 +135,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/recoveryservicesbackup/resource-manager/readme.azureresourceschema.md b/specification/recoveryservicesbackup/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..1bddca3e7625 --- /dev/null +++ b/specification/recoveryservicesbackup/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,100 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-07 + - tag: package-2020-02 + - tag: package-2019-06 + - tag: package-2019-05 + - tag: package-2017-07 + - tag: package-2016-06 + - tag: package-2016-08 + - tag: package-2016-12 + - tag: package-2017-07-only +``` + +### Tag: package-2020-07 and azureresourceschema + +These settings apply only when `--tag=package-2020-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-02 and azureresourceschema + +These settings apply only when `--tag=package-2020-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06 and azureresourceschema + +These settings apply only when `--tag=package-2019-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-05 and azureresourceschema + +These settings apply only when `--tag=package-2019-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-07 and azureresourceschema + +These settings apply only when `--tag=package-2017-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-06 and azureresourceschema + +These settings apply only when `--tag=package-2016-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-08 and azureresourceschema + +These settings apply only when `--tag=package-2016-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-12 and azureresourceschema + +These settings apply only when `--tag=package-2016-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-07-only and azureresourceschema + +These settings apply only when `--tag=package-2017-07-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-07-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/recoveryservicesbackup/resource-manager/readme.md b/specification/recoveryservicesbackup/resource-manager/readme.md index 889a03f365b2..7f2204c49b48 100644 --- a/specification/recoveryservicesbackup/resource-manager/readme.md +++ b/specification/recoveryservicesbackup/resource-manager/readme.md @@ -166,6 +166,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_recovery_services_backup'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js recoveryservicesbackup/resource-manager ``` @@ -192,6 +195,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.azureresourceschema.md b/specification/recoveryservicessiterecovery/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..77c3de64663d --- /dev/null +++ b/specification/recoveryservicessiterecovery/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-07 + - tag: package-2018-01 + - tag: package-2016-08 +``` + +### Tag: package-2018-07 and azureresourceschema + +These settings apply only when `--tag=package-2018-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-08 and azureresourceschema + +These settings apply only when `--tag=package-2016-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/recoveryservicessiterecovery/resource-manager/readme.md b/specification/recoveryservicessiterecovery/resource-manager/readme.md index e5313b02ee83..60c7cabd6ef9 100644 --- a/specification/recoveryservicessiterecovery/resource-manager/readme.md +++ b/specification/recoveryservicessiterecovery/resource-manager/readme.md @@ -101,6 +101,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_recovery_services_site_recovery'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js recoveryservicessiterecovery/resource-manager ``` ## C# @@ -126,6 +129,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/redhatopenshift/resource-manager/readme.azureresourceschema.md b/specification/redhatopenshift/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..79b79b3bb93d --- /dev/null +++ b/specification/redhatopenshift/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-04-30 +``` + +### Tag: package-2020-04-30 and azureresourceschema + +These settings apply only when `--tag=package-2020-04-30 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04-30' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/redhatopenshift/resource-manager/readme.md b/specification/redhatopenshift/resource-manager/readme.md index d33bcd5b082c..20385174823d 100644 --- a/specification/redhatopenshift/resource-manager/readme.md +++ b/specification/redhatopenshift/resource-manager/readme.md @@ -53,6 +53,9 @@ swagger-to-sdk: after_scripts: - python ./scripts/multiapi_init_gen.py azure-mgmt-redhatopenshift - repo: azure-sdk-for-go + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js redhatopenshift/resource-manager ``` ## Go @@ -63,6 +66,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.python.md](./readme.python.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/redis/resource-manager/readme.azureresourceschema.md b/specification/redis/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..04e0679e6358 --- /dev/null +++ b/specification/redis/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,70 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-07-preview + - tag: package-2018-03 + - tag: package-2017-10 + - tag: package-2017-02 + - tag: package-2016-04 + - tag: package-2015-08 +``` + +### Tag: package-2019-07-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-07-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-07-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03 and azureresourceschema + +These settings apply only when `--tag=package-2018-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-10 and azureresourceschema + +These settings apply only when `--tag=package-2017-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-02 and azureresourceschema + +These settings apply only when `--tag=package-2017-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-04 and azureresourceschema + +These settings apply only when `--tag=package-2016-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-08 and azureresourceschema + +These settings apply only when `--tag=package-2015-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/redis/resource-manager/readme.md b/specification/redis/resource-manager/readme.md index 5b8a8e1ac5b5..613436c70985 100644 --- a/specification/redis/resource-manager/readme.md +++ b/specification/redis/resource-manager/readme.md @@ -104,6 +104,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_redis'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js redis/resource-manager ``` ## C# @@ -233,6 +236,10 @@ directive: reason: This is false positive, 'linkedServers' is not a tracked resource. ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/regionmove/resource-manager/readme.azureresourceschema.md b/specification/regionmove/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..3e619904b54b --- /dev/null +++ b/specification/regionmove/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-10-01-preview +``` + +### Tag: package-2019-10-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-10-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/regionmove/resource-manager/readme.md b/specification/regionmove/resource-manager/readme.md index f8195d7a8cc3..46cfebe03373 100644 --- a/specification/regionmove/resource-manager/readme.md +++ b/specification/regionmove/resource-manager/readme.md @@ -56,6 +56,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_regionmove'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js regionmove/resource-manager ``` ## Go @@ -77,3 +80,8 @@ See configuration in [readme.typescript.md](./readme.typescript.md) ## CSharp See configuration in [readme.csharp.md](./readme.csharp.md) + +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + diff --git a/specification/relay/resource-manager/readme.azureresourceschema.md b/specification/relay/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..19dfd1e5092a --- /dev/null +++ b/specification/relay/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-04 + - tag: package-2016-07 + - tag: package-2018-01-preview +``` + +### Tag: package-2017-04 and azureresourceschema + +These settings apply only when `--tag=package-2017-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-07 and azureresourceschema + +These settings apply only when `--tag=package-2016-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/relay/resource-manager/readme.md b/specification/relay/resource-manager/readme.md index 3099d74309cb..4c3b20f2e598 100644 --- a/specification/relay/resource-manager/readme.md +++ b/specification/relay/resource-manager/readme.md @@ -83,6 +83,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_relay'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js relay/resource-manager ``` @@ -154,6 +157,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/reservations/resource-manager/readme.azureresourceschema.md b/specification/reservations/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..8c8d2333ed5b --- /dev/null +++ b/specification/reservations/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,50 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-preview-2019-07-19 + - tag: package-preview-2019-04 + - tag: package-2018-06 + - tag: package-2017-11 +``` + +### Tag: package-preview-2019-07-19 and azureresourceschema + +These settings apply only when `--tag=package-preview-2019-07-19 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2019-07-19' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-preview-2019-04 and azureresourceschema + +These settings apply only when `--tag=package-preview-2019-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2019-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06 and azureresourceschema + +These settings apply only when `--tag=package-2018-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-11 and azureresourceschema + +These settings apply only when `--tag=package-2017-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/reservations/resource-manager/readme.md b/specification/reservations/resource-manager/readme.md index ba15d9e95603..cb647040360f 100644 --- a/specification/reservations/resource-manager/readme.md +++ b/specification/reservations/resource-manager/readme.md @@ -81,6 +81,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js reservations/resource-manager ``` ## C# @@ -131,6 +134,10 @@ python: See configuration in [readme.go.md](./readme.go.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/resourcegraph/resource-manager/readme.azureresourceschema.md b/specification/resourcegraph/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..bd21d1a179bf --- /dev/null +++ b/specification/resourcegraph/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-preview-2020-04 + - tag: package-2019-04 + - tag: package-2018-09-preview +``` + +### Tag: package-preview-2020-04 and azureresourceschema + +These settings apply only when `--tag=package-preview-2020-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-preview-2020-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-04 and azureresourceschema + +These settings apply only when `--tag=package-2019-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-09-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-09-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/resourcegraph/resource-manager/readme.md b/specification/resourcegraph/resource-manager/readme.md index 3c818b78b7d8..dcf2839d8782 100644 --- a/specification/resourcegraph/resource-manager/readme.md +++ b/specification/resourcegraph/resource-manager/readme.md @@ -84,6 +84,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-trenton + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js resourcegraph/resource-manager ``` ## C# @@ -129,6 +132,10 @@ directive: reason: This is a clear scenario for a boolean and will not have more than 2 values in the future. ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/resourcehealth/resource-manager/readme.azureresourceschema.md b/specification/resourcehealth/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..ef3f6d60be41 --- /dev/null +++ b/specification/resourcehealth/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,50 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-07 + - tag: package-2015-01 + - tag: package-2018-08-preview + - tag: package-2018-07-01 +``` + +### Tag: package-2017-07 and azureresourceschema + +These settings apply only when `--tag=package-2017-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-01 and azureresourceschema + +These settings apply only when `--tag=package-2015-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-08-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-08-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-08-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-07-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-07-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-07-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/resourcehealth/resource-manager/readme.md b/specification/resourcehealth/resource-manager/readme.md index d13233a1b7c3..3982a6e8ec3d 100644 --- a/specification/resourcehealth/resource-manager/readme.md +++ b/specification/resourcehealth/resource-manager/readme.md @@ -88,6 +88,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_resourcehealth'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js resourcehealth/resource-manager ``` ## Go @@ -169,6 +172,10 @@ generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/resources/resource-manager/readme.azureresourceschema.md b/specification/resources/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..5f22cc318836 --- /dev/null +++ b/specification/resources/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,420 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-resources-2020-06 + - tag: package-subscriptions-2020-01 + - tag: package-deploymentscripts-2019-10-preview + - tag: package-features-2015-12 + - tag: package-locks-2016-09 + - tag: package-locks-2015-01 + - tag: package-policy-2019-09 + - tag: package-policy-2019-06 + - tag: package-policy-2019-01 + - tag: package-policy-2018-05 + - tag: package-policy-2018-03 + - tag: package-policy-2017-06 + - tag: package-pure-policy-2017-06 + - tag: package-templatespecs-2019-06-preview + - tag: package-policy-2016-12 + - tag: package-policy-2016-04 + - tag: package-policy-2015-10 + - tag: package-resources-2019-10 + - tag: package-resources-2019-08 + - tag: package-resources-2019-07 + - tag: package-resources-2019-0510 + - tag: package-resources-2019-05 + - tag: package-resources-2019-03 + - tag: package-resources-2018-05 + - tag: package-resources-2018-02 + - tag: package-resources-2017-05 + - tag: package-resources-2016-09 + - tag: package-resources-2016-07 + - tag: package-resources-2016-02 + - tag: package-resources-2015-11 + - tag: package-subscriptions-2019-11 + - tag: package-subscriptions-2019-06 + - tag: package-subscriptions-2018-06 + - tag: package-subscriptions-2016-06 + - tag: package-subscriptions-2015-11 + - tag: package-links-2016-09 + - tag: package-managedapplications-2019-07 + - tag: package-managedapplications-2018-06 + - tag: package-managedapplications-2017-09 + - tag: package-managedapplications-2016-09 + - tag: profile-hybrid-2019-03-01 +``` + +### Tag: package-resources-2020-06 and azureresourceschema + +These settings apply only when `--tag=package-resources-2020-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-resources-2020-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-subscriptions-2020-01 and azureresourceschema + +These settings apply only when `--tag=package-subscriptions-2020-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2020-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-deploymentscripts-2019-10-preview and azureresourceschema + +These settings apply only when `--tag=package-deploymentscripts-2019-10-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-deploymentscripts-2019-10-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-features-2015-12 and azureresourceschema + +These settings apply only when `--tag=package-features-2015-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-features-2015-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-locks-2016-09 and azureresourceschema + +These settings apply only when `--tag=package-locks-2016-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-locks-2016-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-locks-2015-01 and azureresourceschema + +These settings apply only when `--tag=package-locks-2015-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-locks-2015-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-policy-2019-09 and azureresourceschema + +These settings apply only when `--tag=package-policy-2019-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-policy-2019-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-policy-2019-06 and azureresourceschema + +These settings apply only when `--tag=package-policy-2019-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-policy-2019-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-policy-2019-01 and azureresourceschema + +These settings apply only when `--tag=package-policy-2019-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-policy-2019-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-policy-2018-05 and azureresourceschema + +These settings apply only when `--tag=package-policy-2018-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-policy-2018-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-policy-2018-03 and azureresourceschema + +These settings apply only when `--tag=package-policy-2018-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-policy-2018-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-policy-2017-06 and azureresourceschema + +These settings apply only when `--tag=package-policy-2017-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-policy-2017-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-pure-policy-2017-06 and azureresourceschema + +These settings apply only when `--tag=package-pure-policy-2017-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-pure-policy-2017-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-templatespecs-2019-06-preview and azureresourceschema + +These settings apply only when `--tag=package-templatespecs-2019-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-templatespecs-2019-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-policy-2016-12 and azureresourceschema + +These settings apply only when `--tag=package-policy-2016-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-policy-2016-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-policy-2016-04 and azureresourceschema + +These settings apply only when `--tag=package-policy-2016-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-policy-2016-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-policy-2015-10 and azureresourceschema + +These settings apply only when `--tag=package-policy-2015-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-policy-2015-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-resources-2019-10 and azureresourceschema + +These settings apply only when `--tag=package-resources-2019-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-resources-2019-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-resources-2019-08 and azureresourceschema + +These settings apply only when `--tag=package-resources-2019-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-resources-2019-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-resources-2019-07 and azureresourceschema + +These settings apply only when `--tag=package-resources-2019-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-resources-2019-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-resources-2019-0510 and azureresourceschema + +These settings apply only when `--tag=package-resources-2019-0510 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-resources-2019-0510' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-resources-2019-05 and azureresourceschema + +These settings apply only when `--tag=package-resources-2019-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-resources-2019-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-resources-2019-03 and azureresourceschema + +These settings apply only when `--tag=package-resources-2019-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-resources-2019-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-resources-2018-05 and azureresourceschema + +These settings apply only when `--tag=package-resources-2018-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-resources-2018-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-resources-2018-02 and azureresourceschema + +These settings apply only when `--tag=package-resources-2018-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-resources-2018-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-resources-2017-05 and azureresourceschema + +These settings apply only when `--tag=package-resources-2017-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-resources-2017-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-resources-2016-09 and azureresourceschema + +These settings apply only when `--tag=package-resources-2016-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-resources-2016-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-resources-2016-07 and azureresourceschema + +These settings apply only when `--tag=package-resources-2016-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-resources-2016-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-resources-2016-02 and azureresourceschema + +These settings apply only when `--tag=package-resources-2016-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-resources-2016-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-resources-2015-11 and azureresourceschema + +These settings apply only when `--tag=package-resources-2015-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-resources-2015-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-subscriptions-2019-11 and azureresourceschema + +These settings apply only when `--tag=package-subscriptions-2019-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2019-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-subscriptions-2019-06 and azureresourceschema + +These settings apply only when `--tag=package-subscriptions-2019-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2019-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-subscriptions-2018-06 and azureresourceschema + +These settings apply only when `--tag=package-subscriptions-2018-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2018-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-subscriptions-2016-06 and azureresourceschema + +These settings apply only when `--tag=package-subscriptions-2016-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2016-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-subscriptions-2015-11 and azureresourceschema + +These settings apply only when `--tag=package-subscriptions-2015-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-subscriptions-2015-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-links-2016-09 and azureresourceschema + +These settings apply only when `--tag=package-links-2016-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-links-2016-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-managedapplications-2019-07 and azureresourceschema + +These settings apply only when `--tag=package-managedapplications-2019-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2019-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-managedapplications-2018-06 and azureresourceschema + +These settings apply only when `--tag=package-managedapplications-2018-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2018-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-managedapplications-2017-09 and azureresourceschema + +These settings apply only when `--tag=package-managedapplications-2017-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2017-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-managedapplications-2016-09 and azureresourceschema + +These settings apply only when `--tag=package-managedapplications-2016-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-managedapplications-2016-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: profile-hybrid-2019-03-01 and azureresourceschema + +These settings apply only when `--tag=profile-hybrid-2019-03-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'profile-hybrid-2019-03-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/resources/resource-manager/readme.md b/specification/resources/resource-manager/readme.md index 15f735c4451b..1c8c367fe8e9 100644 --- a/specification/resources/resource-manager/readme.md +++ b/specification/resources/resource-manager/readme.md @@ -622,6 +622,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js resources/resource-manager ``` ## Go @@ -666,6 +669,10 @@ override-info: title: PolicyClient ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/scheduler/resource-manager/readme.azureresourceschema.md b/specification/scheduler/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..ef0d012cabac --- /dev/null +++ b/specification/scheduler/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2016-03 + - tag: package-2016-01 + - tag: package-2014-08-preview +``` + +### Tag: package-2016-03 and azureresourceschema + +These settings apply only when `--tag=package-2016-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-01 and azureresourceschema + +These settings apply only when `--tag=package-2016-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2014-08-preview and azureresourceschema + +These settings apply only when `--tag=package-2014-08-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2014-08-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/scheduler/resource-manager/readme.md b/specification/scheduler/resource-manager/readme.md index 9b3c79d1929a..b3783dfa1cdf 100644 --- a/specification/scheduler/resource-manager/readme.md +++ b/specification/scheduler/resource-manager/readme.md @@ -76,6 +76,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_scheduler'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js scheduler/resource-manager ``` @@ -188,6 +191,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/search/resource-manager/readme.azureresourceschema.md b/specification/search/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..4cace15c8b35 --- /dev/null +++ b/specification/search/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,50 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-03 + - tag: package-2015-08 + - tag: package-2015-02 + - tag: package-2019-10-preview +``` + +### Tag: package-2020-03 and azureresourceschema + +These settings apply only when `--tag=package-2020-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-08 and azureresourceschema + +These settings apply only when `--tag=package-2015-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-02 and azureresourceschema + +These settings apply only when `--tag=package-2015-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-10-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-10-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/search/resource-manager/readme.md b/specification/search/resource-manager/readme.md index ea9072326d03..d1719a12758e 100644 --- a/specification/search/resource-manager/readme.md +++ b/specification/search/resource-manager/readme.md @@ -84,6 +84,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_search'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js search/resource-manager ``` @@ -168,6 +171,10 @@ generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/security/resource-manager/readme.azureresourceschema.md b/specification/security/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..976a485ebb58 --- /dev/null +++ b/specification/security/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,140 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-composite-v1 + - tag: package-composite-v2 + - tag: package-composite-v3 + - tag: package-2015-06-preview-only + - tag: package-2017-08-preview-only + - tag: package-2019-01-preview-only + - tag: package-2020-01-preview-only + - tag: package-2017-08-only + - tag: package-2018-06-only + - tag: package-2019-01-only + - tag: package-2019-08-only + - tag: package-package-2020-01-preview-only + - tag: package-2020-01-only +``` + +### Tag: package-composite-v1 and azureresourceschema + +These settings apply only when `--tag=package-composite-v1 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-composite-v1' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-composite-v2 and azureresourceschema + +These settings apply only when `--tag=package-composite-v2 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-composite-v2' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-composite-v3 and azureresourceschema + +These settings apply only when `--tag=package-composite-v3 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-composite-v3' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-06-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2015-06-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-06-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-08-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2017-08-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-08-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-01-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2019-01-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-01-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2020-01-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-08-only and azureresourceschema + +These settings apply only when `--tag=package-2017-08-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-08-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-06-only and azureresourceschema + +These settings apply only when `--tag=package-2018-06-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-06-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-01-only and azureresourceschema + +These settings apply only when `--tag=package-2019-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-08-only and azureresourceschema + +These settings apply only when `--tag=package-2019-08-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-08-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-package-2020-01-preview-only and azureresourceschema + +These settings apply only when `--tag=package-package-2020-01-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-package-2020-01-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-only and azureresourceschema + +These settings apply only when `--tag=package-2020-01-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/security/resource-manager/readme.md b/specification/security/resource-manager/readme.md index 792613468d24..a762befd5581 100644 --- a/specification/security/resource-manager/readme.md +++ b/specification/security/resource-manager/readme.md @@ -377,6 +377,9 @@ swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js security/resource-manager ``` ## C# @@ -403,6 +406,10 @@ See configuration in [readme.typescript.md](./readme.typescript.md) See configuration in [readme.ruby.md](./readme.ruby.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/securityinsights/resource-manager/readme.azureresourceschema.md b/specification/securityinsights/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..d31857cc5999 --- /dev/null +++ b/specification/securityinsights/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-composite-v1 + - tag: package-2019-01-preview-only +``` + +### Tag: package-composite-v1 and azureresourceschema + +These settings apply only when `--tag=package-composite-v1 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-composite-v1' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-01-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2019-01-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-01-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/securityinsights/resource-manager/readme.md b/specification/securityinsights/resource-manager/readme.md index c49bc63d957a..cd5084a2b127 100644 --- a/specification/securityinsights/resource-manager/readme.md +++ b/specification/securityinsights/resource-manager/readme.md @@ -71,6 +71,9 @@ swagger-to-sdk: - repo: azure-sdk-for-js - repo: azure-sdk-for-node - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js securityinsights/resource-manager ``` ## C# @@ -104,6 +107,10 @@ See configuration in [readme.nodejs.md](./readme.nodejs.md) See configuration in [readme.typescript.md](./readme.typescript.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/serialconsole/resource-manager/readme.azureresourceschema.md b/specification/serialconsole/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..7fd928a7f99b --- /dev/null +++ b/specification/serialconsole/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-05 +``` + +### Tag: package-2018-05 and azureresourceschema + +These settings apply only when `--tag=package-2018-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/serialconsole/resource-manager/readme.md b/specification/serialconsole/resource-manager/readme.md index f6b832b4ef9e..eae19181721c 100644 --- a/specification/serialconsole/resource-manager/readme.md +++ b/specification/serialconsole/resource-manager/readme.md @@ -47,6 +47,9 @@ swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js serialconsole/resource-manager ``` ## C# @@ -64,6 +67,10 @@ csharp: See configuration in [readme.go.md](./readme.go.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/service-map/resource-manager/readme.azureresourceschema.md b/specification/service-map/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..f68936869c48 --- /dev/null +++ b/specification/service-map/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2015-11-preview +``` + +### Tag: package-2015-11-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-11-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-11-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/service-map/resource-manager/readme.md b/specification/service-map/resource-manager/readme.md index cfe3a0b35022..2842243d46fa 100644 --- a/specification/service-map/resource-manager/readme.md +++ b/specification/service-map/resource-manager/readme.md @@ -68,6 +68,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js service-map/resource-manager ``` ## Go @@ -110,6 +113,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/servicebus/resource-manager/readme.azureresourceschema.md b/specification/servicebus/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..66fe765135b5 --- /dev/null +++ b/specification/servicebus/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-01-preview + - tag: package-2017-04 + - tag: package-2015-08 +``` + +### Tag: package-2018-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-04 and azureresourceschema + +These settings apply only when `--tag=package-2017-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-08 and azureresourceschema + +These settings apply only when `--tag=package-2015-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/servicebus/resource-manager/readme.md b/specification/servicebus/resource-manager/readme.md index 9ab1fb7f2d0f..0312323c7de2 100644 --- a/specification/servicebus/resource-manager/readme.md +++ b/specification/servicebus/resource-manager/readme.md @@ -82,6 +82,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_service_bus'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js servicebus/resource-manager ``` @@ -135,6 +138,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/servicefabric/resource-manager/readme.azureresourceschema.md b/specification/servicefabric/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..7f2efed3a8f3 --- /dev/null +++ b/specification/servicefabric/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,110 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-03 + - tag: package-2020-01-preview + - tag: package-2019-11-preview + - tag: package-2019-06-preview + - tag: package-2019-03 + - tag: package-2019-03-preview + - tag: package-2018-02 + - tag: package-2017-07 + - tag: package-2016-09 + - tag: package-2018-02-only +``` + +### Tag: package-2020-03 and azureresourceschema + +These settings apply only when `--tag=package-2020-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-11-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-03 and azureresourceschema + +These settings apply only when `--tag=package-2019-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-03-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-03-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-03-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02 and azureresourceschema + +These settings apply only when `--tag=package-2018-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-07 and azureresourceschema + +These settings apply only when `--tag=package-2017-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-09 and azureresourceschema + +These settings apply only when `--tag=package-2016-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02-only and azureresourceschema + +These settings apply only when `--tag=package-2018-02-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/servicefabric/resource-manager/readme.md b/specification/servicefabric/resource-manager/readme.md index 49b1b2250bdd..e24cf39fd1ba 100644 --- a/specification/servicefabric/resource-manager/readme.md +++ b/specification/servicefabric/resource-manager/readme.md @@ -178,6 +178,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_service_fabric'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js servicefabric/resource-manager ``` @@ -205,6 +208,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/servicefabricmesh/resource-manager/readme.azureresourceschema.md b/specification/servicefabricmesh/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..19498e68dbab --- /dev/null +++ b/specification/servicefabricmesh/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-09-01-preview + - tag: package-2018-07-01-preview +``` + +### Tag: package-2018-09-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-09-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-09-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-07-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-07-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-07-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/servicefabricmesh/resource-manager/readme.md b/specification/servicefabricmesh/resource-manager/readme.md index 1304aa396666..581ecfa00519 100644 --- a/specification/servicefabricmesh/resource-manager/readme.md +++ b/specification/servicefabricmesh/resource-manager/readme.md @@ -76,6 +76,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_service_fabric_mesh'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js servicefabricmesh/resource-manager ``` @@ -169,6 +172,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/signalr/resource-manager/readme.azureresourceschema.md b/specification/signalr/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..72c5b0bedbca --- /dev/null +++ b/specification/signalr/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,50 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-07-01-preview + - tag: package-2020-05-01 + - tag: package-2018-10-01 + - tag: package-2018-03-01-preview +``` + +### Tag: package-2020-07-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2020-07-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-07-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-05-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-05-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-10-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-10-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-10-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-03-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/signalr/resource-manager/readme.md b/specification/signalr/resource-manager/readme.md index bfcc6c5aae19..c37310f908d6 100644 --- a/specification/signalr/resource-manager/readme.md +++ b/specification/signalr/resource-manager/readme.md @@ -111,6 +111,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_signalr'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js signalr/resource-manager ``` @@ -137,6 +140,10 @@ csharp: clear-output-folder: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/softwareplan/resource-manager/readme.azureresourceschema.md b/specification/softwareplan/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..58c238aa0d77 --- /dev/null +++ b/specification/softwareplan/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-06-01-preview + - tag: package-2019-12-01 +``` + +### Tag: package-2019-06-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-06-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-12-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-12-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-12-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/softwareplan/resource-manager/readme.md b/specification/softwareplan/resource-manager/readme.md index 6fc4969b1f81..632a0a67548b 100644 --- a/specification/softwareplan/resource-manager/readme.md +++ b/specification/softwareplan/resource-manager/readme.md @@ -71,6 +71,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_softwareplan'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js softwareplan/resource-manager ``` ## Go @@ -103,6 +106,10 @@ directive: reason: This is an issue with the common resource definition. The properties in the resource definition actually has a title and description. ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/sql/resource-manager/readme.azureresourceschema.md b/specification/sql/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..3d006b6761b0 --- /dev/null +++ b/specification/sql/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,140 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-composite-v3 + - tag: package-composite-v2 + - tag: package-composite-v1 + - tag: package-2017-03-preview + - tag: package-2015-05-preview + - tag: package-2014-04 + - tag: package-pure-2020-02-preview + - tag: package-pure-2019-06-preview + - tag: package-pure-2018-06-preview + - tag: package-pure-2017-10-preview + - tag: package-pure-2017-03-preview + - tag: package-pure-2015-05-preview + - tag: package-pure-2014-04 +``` + +### Tag: package-composite-v3 and azureresourceschema + +These settings apply only when `--tag=package-composite-v3 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-composite-v3' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-composite-v2 and azureresourceschema + +These settings apply only when `--tag=package-composite-v2 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-composite-v2' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-composite-v1 and azureresourceschema + +These settings apply only when `--tag=package-composite-v1 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-composite-v1' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-03-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-03-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-03-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2014-04 and azureresourceschema + +These settings apply only when `--tag=package-2014-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2014-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-pure-2020-02-preview and azureresourceschema + +These settings apply only when `--tag=package-pure-2020-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-pure-2020-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-pure-2019-06-preview and azureresourceschema + +These settings apply only when `--tag=package-pure-2019-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-pure-2019-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-pure-2018-06-preview and azureresourceschema + +These settings apply only when `--tag=package-pure-2018-06-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-pure-2018-06-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-pure-2017-10-preview and azureresourceschema + +These settings apply only when `--tag=package-pure-2017-10-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-pure-2017-10-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-pure-2017-03-preview and azureresourceschema + +These settings apply only when `--tag=package-pure-2017-03-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-pure-2017-03-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-pure-2015-05-preview and azureresourceschema + +These settings apply only when `--tag=package-pure-2015-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-pure-2015-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-pure-2014-04 and azureresourceschema + +These settings apply only when `--tag=package-pure-2014-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-pure-2014-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/sql/resource-manager/readme.md b/specification/sql/resource-manager/readme.md index fecbf7467db3..7453d7b45f09 100644 --- a/specification/sql/resource-manager/readme.md +++ b/specification/sql/resource-manager/readme.md @@ -749,6 +749,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_sql'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js sql/resource-manager ``` ### C# @@ -815,6 +818,10 @@ directive: reason: This warning gives many positives for existing APIs that cannot be changed. ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/sqlvirtualmachine/resource-manager/readme.azureresourceschema.md b/specification/sqlvirtualmachine/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..5abf942a4689 --- /dev/null +++ b/specification/sqlvirtualmachine/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-03-01-preview +``` + +### Tag: package-2017-03-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-03-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-03-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/sqlvirtualmachine/resource-manager/readme.md b/specification/sqlvirtualmachine/resource-manager/readme.md index 57a9d7a5d7c9..9781c1145ebb 100644 --- a/specification/sqlvirtualmachine/resource-manager/readme.md +++ b/specification/sqlvirtualmachine/resource-manager/readme.md @@ -56,6 +56,9 @@ swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-go - repo: azure-sdk-for-java + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js sqlvirtualmachine/resource-manager ``` @@ -111,6 +114,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/storSimple1200Series/resource-manager/readme.azureresourceschema.md b/specification/storSimple1200Series/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..527005b414e4 --- /dev/null +++ b/specification/storSimple1200Series/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2016-10 +``` + +### Tag: package-2016-10 and azureresourceschema + +These settings apply only when `--tag=package-2016-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/storSimple1200Series/resource-manager/readme.md b/specification/storSimple1200Series/resource-manager/readme.md index 07c8c2d103b9..29f85866a59d 100644 --- a/specification/storSimple1200Series/resource-manager/readme.md +++ b/specification/storSimple1200Series/resource-manager/readme.md @@ -61,6 +61,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_stor_simple1200_series'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js storSimple1200Series/resource-manager ``` @@ -97,6 +100,10 @@ java: output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-storsimple1200series ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/storage/resource-manager/readme.azureresourceschema.md b/specification/storage/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..a4c074c388ed --- /dev/null +++ b/specification/storage/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,150 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-06 + - tag: package-2019-04 + - tag: package-2018-11 + - tag: package-2018-07 + - tag: package-2018-07-only + - tag: package-2018-03 + - tag: package-2018-02 + - tag: package-2017-10 + - tag: package-2017-06 + - tag: package-2016-12 + - tag: package-2016-05 + - tag: package-2016-01 + - tag: package-2015-06 + - tag: package-2015-05-preview +``` + +### Tag: package-2019-06 and azureresourceschema + +These settings apply only when `--tag=package-2019-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-04 and azureresourceschema + +These settings apply only when `--tag=package-2019-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-11 and azureresourceschema + +These settings apply only when `--tag=package-2018-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-07 and azureresourceschema + +These settings apply only when `--tag=package-2018-07 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-07' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-07-only and azureresourceschema + +These settings apply only when `--tag=package-2018-07-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-07-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03 and azureresourceschema + +These settings apply only when `--tag=package-2018-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02 and azureresourceschema + +These settings apply only when `--tag=package-2018-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-10 and azureresourceschema + +These settings apply only when `--tag=package-2017-10 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-10' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-06 and azureresourceschema + +These settings apply only when `--tag=package-2017-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-12 and azureresourceschema + +These settings apply only when `--tag=package-2016-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-05 and azureresourceschema + +These settings apply only when `--tag=package-2016-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-01 and azureresourceschema + +These settings apply only when `--tag=package-2016-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-06 and azureresourceschema + +These settings apply only when `--tag=package-2015-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/storage/resource-manager/readme.md b/specification/storage/resource-manager/readme.md index 2e22b135e433..b7b79eeb155a 100644 --- a/specification/storage/resource-manager/readme.md +++ b/specification/storage/resource-manager/readme.md @@ -279,12 +279,19 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_storage'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js storage/resource-manager ``` ## Java See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/storagecache/resource-manager/readme.azureresourceschema.md b/specification/storagecache/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..6dc0075cfa48 --- /dev/null +++ b/specification/storagecache/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,40 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-03-01 + - tag: package-2019-11-01 + - tag: package-2019-08 +``` + +### Tag: package-2020-03-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-03-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-11-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-11-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-11-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-08 and azureresourceschema + +These settings apply only when `--tag=package-2019-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/storagecache/resource-manager/readme.md b/specification/storagecache/resource-manager/readme.md index e6fe45a52294..58658d33c0c5 100644 --- a/specification/storagecache/resource-manager/readme.md +++ b/specification/storagecache/resource-manager/readme.md @@ -72,6 +72,9 @@ swagger-to-sdk: after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_storagecache'] - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js storagecache/resource-manager ``` ## Python @@ -99,6 +102,10 @@ See configuration in [readme.typescript.md](./readme.typescript.md) See configuration in [readme.ruby.md](./readme.ruby.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/storageimportexport/resource-manager/readme.azureresourceschema.md b/specification/storageimportexport/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..0c8c0eb52e7b --- /dev/null +++ b/specification/storageimportexport/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2016-11 + - tag: package-2020-08 +``` + +### Tag: package-2016-11 and azureresourceschema + +These settings apply only when `--tag=package-2016-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2020-08 and azureresourceschema + +These settings apply only when `--tag=package-2020-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/storageimportexport/resource-manager/readme.md b/specification/storageimportexport/resource-manager/readme.md index dff85c194da0..95e38cf94944 100644 --- a/specification/storageimportexport/resource-manager/readme.md +++ b/specification/storageimportexport/resource-manager/readme.md @@ -67,6 +67,9 @@ swagger-to-sdk: - repo: azure-sdk-for-node - repo: azure-sdk-for-js - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js storageimportexport/resource-manager ``` ## Go @@ -128,6 +131,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/storagesync/resource-manager/readme.azureresourceschema.md b/specification/storagesync/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..d7f9452bece9 --- /dev/null +++ b/specification/storagesync/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,100 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-03-01 + - tag: package-2019-10-01 + - tag: package-2019-06-01 + - tag: package-2019-03-01 + - tag: package-2019-02-01 + - tag: package-2018-10-01 + - tag: package-2018-07-01 + - tag: package-2018-04-02 + - tag: package-2017-06-05-preview +``` + +### Tag: package-2020-03-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-03-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-10-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-10-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-06-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-06-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-03-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-03-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-03-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-02-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-02-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-02-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-10-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-10-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-10-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-07-01 and azureresourceschema + +These settings apply only when `--tag=package-2018-07-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-07-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-04-02 and azureresourceschema + +These settings apply only when `--tag=package-2018-04-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-04-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-06-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-06-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-06-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/storagesync/resource-manager/readme.md b/specification/storagesync/resource-manager/readme.md index 425ca4443e60..d104d90cdc22 100644 --- a/specification/storagesync/resource-manager/readme.md +++ b/specification/storagesync/resource-manager/readme.md @@ -128,6 +128,9 @@ swagger-to-sdk: - repo: azure-sdk-for-js - repo: azure-sdk-for-node - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js storagesync/resource-manager ``` ## C# @@ -183,6 +186,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/storsimple8000series/resource-manager/readme.azureresourceschema.md b/specification/storsimple8000series/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..f46f7f82aec0 --- /dev/null +++ b/specification/storsimple8000series/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2017-06 +``` + +### Tag: package-2017-06 and azureresourceschema + +These settings apply only when `--tag=package-2017-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/storsimple8000series/resource-manager/readme.md b/specification/storsimple8000series/resource-manager/readme.md index 70ee42ce0c32..12c67125362b 100644 --- a/specification/storsimple8000series/resource-manager/readme.md +++ b/specification/storsimple8000series/resource-manager/readme.md @@ -61,6 +61,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_stor_simple8000_series'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js storsimple8000series/resource-manager ``` @@ -118,6 +121,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/streamanalytics/resource-manager/readme.azureresourceschema.md b/specification/streamanalytics/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..4babc00084b5 --- /dev/null +++ b/specification/streamanalytics/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2016-03 +``` + +### Tag: package-2016-03 and azureresourceschema + +These settings apply only when `--tag=package-2016-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/streamanalytics/resource-manager/readme.md b/specification/streamanalytics/resource-manager/readme.md index 7c4e3a7d48bf..70f57945aa29 100644 --- a/specification/streamanalytics/resource-manager/readme.md +++ b/specification/streamanalytics/resource-manager/readme.md @@ -65,6 +65,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_stream_analytics'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js streamanalytics/resource-manager ``` @@ -151,6 +154,10 @@ directive: reason: Need the “name” property to be writable on nested resources so that our RP can support a DEEP PUT scenario which at the time, ARM did not have a native way to support. ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/subscription/resource-manager/readme.azureresourceschema.md b/specification/subscription/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..62f9059d2066 --- /dev/null +++ b/specification/subscription/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,80 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-01 + - tag: package-2019-10-preview + - tag: package-2019-03-preview + - tag: package-2018-11-preview + - tag: package-2018-03-preview + - tag: package-2017-11-preview + - tag: package-2016-06-01 +``` + +### Tag: package-2020-01 and azureresourceschema + +These settings apply only when `--tag=package-2020-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-10-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-10-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-10-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-03-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-03-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-03-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-11-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-11-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-11-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-03-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-11-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-11-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-11-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-06-01 and azureresourceschema + +These settings apply only when `--tag=package-2016-06-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-06-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/subscription/resource-manager/readme.md b/specification/subscription/resource-manager/readme.md index 214a5e7d5dec..dea95c386a9c 100644 --- a/specification/subscription/resource-manager/readme.md +++ b/specification/subscription/resource-manager/readme.md @@ -122,6 +122,9 @@ swagger-to-sdk: - repo: azure-sdk-for-node - repo: azure-sdk-for-js - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js subscription/resource-manager ``` @@ -189,6 +192,10 @@ description: The subscription client ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/support/resource-manager/readme.azureresourceschema.md b/specification/support/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..bf3fcc9aeec4 --- /dev/null +++ b/specification/support/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-04 + - tag: package-2019-05-preview +``` + +### Tag: package-2020-04 and azureresourceschema + +These settings apply only when `--tag=package-2020-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-05-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-05-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-05-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/support/resource-manager/readme.md b/specification/support/resource-manager/readme.md index 5dfd3045f68a..0cfd1d4d7776 100644 --- a/specification/support/resource-manager/readme.md +++ b/specification/support/resource-manager/readme.md @@ -64,6 +64,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_support'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js support/resource-manager ``` ## C# @@ -90,6 +93,10 @@ See configuration in [readme.typescript.md](./readme.typescript.md) See configuration in [readme.ruby.md](./readme.ruby.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/synapse/resource-manager/readme.azureresourceschema.md b/specification/synapse/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..d806149e8b92 --- /dev/null +++ b/specification/synapse/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-06-01-preview + - tag: package-sqlGen3-2020-04-01-preview +``` + +### Tag: package-2019-06-01-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-06-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-sqlGen3-2020-04-01-preview and azureresourceschema + +These settings apply only when `--tag=package-sqlGen3-2020-04-01-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-sqlGen3-2020-04-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/synapse/resource-manager/readme.md b/specification/synapse/resource-manager/readme.md index 0588655d1aa7..43799498060f 100644 --- a/specification/synapse/resource-manager/readme.md +++ b/specification/synapse/resource-manager/readme.md @@ -91,6 +91,9 @@ swagger-to-sdk: - repo: azure-sdk-for-java - repo: azure-sdk-for-python - repo: azure-sdk-for-go + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js synapse/resource-manager ``` ## Python @@ -121,6 +124,10 @@ batch: See configuration in [readme.go.md](./readme.go.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/timeseriesinsights/resource-manager/readme.azureresourceschema.md b/specification/timeseriesinsights/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..110a0c3dd9cc --- /dev/null +++ b/specification/timeseriesinsights/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,50 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-05-15 + - tag: package-2018-08-preview + - tag: package-2017-11-15 + - tag: package-2017-02-preview +``` + +### Tag: package-2020-05-15 and azureresourceschema + +These settings apply only when `--tag=package-2020-05-15 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-05-15' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-08-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-08-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-08-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-11-15 and azureresourceschema + +These settings apply only when `--tag=package-2017-11-15 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-11-15' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-02-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/timeseriesinsights/resource-manager/readme.md b/specification/timeseriesinsights/resource-manager/readme.md index 3bc5dbc887e1..f8d60e6f88aa 100644 --- a/specification/timeseriesinsights/resource-manager/readme.md +++ b/specification/timeseriesinsights/resource-manager/readme.md @@ -106,6 +106,9 @@ swagger-to-sdk: - repo: azure-sdk-for-node - repo: azure-sdk-for-js - repo: azure-sdk-for-python + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js timeseriesinsights/resource-manager ``` ## Go @@ -192,6 +195,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/trafficmanager/resource-manager/readme.azureresourceschema.md b/specification/trafficmanager/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..3cd5ad8b3377 --- /dev/null +++ b/specification/trafficmanager/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,90 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-04 + - tag: package-2018-03 + - tag: package-2018-02 + - tag: package-2017-09-preview + - tag: package-2017-09-preview-only + - tag: package-2017-05 + - tag: package-2017-03 + - tag: package-2015-11 +``` + +### Tag: package-2018-04 and azureresourceschema + +These settings apply only when `--tag=package-2018-04 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-04' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03 and azureresourceschema + +These settings apply only when `--tag=package-2018-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02 and azureresourceschema + +These settings apply only when `--tag=package-2018-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-09-preview and azureresourceschema + +These settings apply only when `--tag=package-2017-09-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-09-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-09-preview-only and azureresourceschema + +These settings apply only when `--tag=package-2017-09-preview-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-09-preview-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-05 and azureresourceschema + +These settings apply only when `--tag=package-2017-05 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-05' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2017-03 and azureresourceschema + +These settings apply only when `--tag=package-2017-03 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2017-03' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-11 and azureresourceschema + +These settings apply only when `--tag=package-2015-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/trafficmanager/resource-manager/readme.md b/specification/trafficmanager/resource-manager/readme.md index bcd2f7307cd2..8df9cc48520b 100644 --- a/specification/trafficmanager/resource-manager/readme.md +++ b/specification/trafficmanager/resource-manager/readme.md @@ -181,6 +181,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_traffic_manager'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js trafficmanager/resource-manager ``` @@ -246,6 +249,10 @@ java: output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-trafficmanager ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/visualstudio/resource-manager/readme.azureresourceschema.md b/specification/visualstudio/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..4a4658566bc3 --- /dev/null +++ b/specification/visualstudio/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2014-04-preview +``` + +### Tag: package-2014-04-preview and azureresourceschema + +These settings apply only when `--tag=package-2014-04-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2014-04-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/visualstudio/resource-manager/readme.md b/specification/visualstudio/resource-manager/readme.md index 684094733f63..11529a100cc2 100644 --- a/specification/visualstudio/resource-manager/readme.md +++ b/specification/visualstudio/resource-manager/readme.md @@ -60,6 +60,9 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-node - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js visualstudio/resource-manager ``` ## Go @@ -102,6 +105,10 @@ generate-interface: true +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/vmware/resource-manager/readme.azureresourceschema.md b/specification/vmware/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..ad227721e518 --- /dev/null +++ b/specification/vmware/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-03-20 + - tag: package-2019-08-09-preview +``` + +### Tag: package-2020-03-20 and azureresourceschema + +These settings apply only when `--tag=package-2020-03-20 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-03-20' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-08-09-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-08-09-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-08-09-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/vmware/resource-manager/readme.md b/specification/vmware/resource-manager/readme.md index 05a79fd9de3a..e659c411b608 100644 --- a/specification/vmware/resource-manager/readme.md +++ b/specification/vmware/resource-manager/readme.md @@ -74,6 +74,9 @@ swagger-to-sdk: - repo: azure-sdk-for-net - repo: azure-sdk-for-go - repo: azure-sdk-for-java + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js vmware/resource-manager ``` ## TypeScript @@ -96,6 +99,10 @@ See configuration in [readme.go.md](./readme.go.md) See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/vmwarecloudsimple/resource-manager/readme.azureresourceschema.md b/specification/vmwarecloudsimple/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..dc4f9e69302d --- /dev/null +++ b/specification/vmwarecloudsimple/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-04-01 +``` + +### Tag: package-2019-04-01 and azureresourceschema + +These settings apply only when `--tag=package-2019-04-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-04-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/vmwarecloudsimple/resource-manager/readme.md b/specification/vmwarecloudsimple/resource-manager/readme.md index cd1b34079322..dc26819a766a 100644 --- a/specification/vmwarecloudsimple/resource-manager/readme.md +++ b/specification/vmwarecloudsimple/resource-manager/readme.md @@ -55,6 +55,9 @@ swagger-to-sdk: - repo: azure-sdk-for-js - repo: azure-sdk-for-ruby - repo: azure-sdk-for-net + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js vmwarecloudsimple/resource-manager ``` ## Go @@ -80,6 +83,10 @@ See configuration in [readme.csharp.md](./readme.csharp.md) ## Java See configuration in [readme.java.md](./readme.java.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/web/resource-manager/readme.azureresourceschema.md b/specification/web/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..a7a0099f850d --- /dev/null +++ b/specification/web/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,220 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2020-06 + - tag: package-2019-08 + - tag: package-2018-12 + - tag: package-2018-11 + - tag: package-2018-11-only + - tag: package-2018-02 + - tag: package-2018-02-only + - tag: package-2016-09 + - tag: package-2016-09-only + - tag: package-2016-08-only + - tag: package-2016-03-only + - tag: package-2015-08-only + - tag: package-2015-04-only + - tag: package-2015-08-preview + - tag: package-2015-08-certificate-registration + - tag: package-2015-04-domain-registration + - tag: package-2016-09-01-web + - tag: package-2016-08-01-web + - tag: package-2016-03-01-web + - tag: package-2018-03-01-hybrid + - tag: profile-hybrid-2019-03-01 +``` + +### Tag: package-2020-06 and azureresourceschema + +These settings apply only when `--tag=package-2020-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2020-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2019-08 and azureresourceschema + +These settings apply only when `--tag=package-2019-08 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-08' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-12 and azureresourceschema + +These settings apply only when `--tag=package-2018-12 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-12' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-11 and azureresourceschema + +These settings apply only when `--tag=package-2018-11 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-11-only and azureresourceschema + +These settings apply only when `--tag=package-2018-11-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-11-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02 and azureresourceschema + +These settings apply only when `--tag=package-2018-02 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02-only and azureresourceschema + +These settings apply only when `--tag=package-2018-02-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-09 and azureresourceschema + +These settings apply only when `--tag=package-2016-09 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-09' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-09-only and azureresourceschema + +These settings apply only when `--tag=package-2016-09-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-09-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-08-only and azureresourceschema + +These settings apply only when `--tag=package-2016-08-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-08-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-03-only and azureresourceschema + +These settings apply only when `--tag=package-2016-03-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-03-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-08-only and azureresourceschema + +These settings apply only when `--tag=package-2015-08-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-08-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-04-only and azureresourceschema + +These settings apply only when `--tag=package-2015-04-only --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-04-only' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-08-preview and azureresourceschema + +These settings apply only when `--tag=package-2015-08-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-08-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-08-certificate-registration and azureresourceschema + +These settings apply only when `--tag=package-2015-08-certificate-registration --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-08-certificate-registration' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2015-04-domain-registration and azureresourceschema + +These settings apply only when `--tag=package-2015-04-domain-registration --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2015-04-domain-registration' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-09-01-web and azureresourceschema + +These settings apply only when `--tag=package-2016-09-01-web --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-09-01-web' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-08-01-web and azureresourceschema + +These settings apply only when `--tag=package-2016-08-01-web --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-08-01-web' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2016-03-01-web and azureresourceschema + +These settings apply only when `--tag=package-2016-03-01-web --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2016-03-01-web' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-03-01-hybrid and azureresourceschema + +These settings apply only when `--tag=package-2018-03-01-hybrid --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-03-01-hybrid' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: profile-hybrid-2019-03-01 and azureresourceschema + +These settings apply only when `--tag=profile-hybrid-2019-03-01 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'profile-hybrid-2019-03-01' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/web/resource-manager/readme.md b/specification/web/resource-manager/readme.md index 721c9c5bd742..e50bd4a51edf 100644 --- a/specification/web/resource-manager/readme.md +++ b/specification/web/resource-manager/readme.md @@ -1079,6 +1079,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_web'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js web/resource-manager ``` ## Go @@ -1217,6 +1220,10 @@ input-file: - Microsoft.Web/stable/2018-02-01/Recommendations.json ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/windowsesu/resource-manager/readme.azureresourceschema.md b/specification/windowsesu/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..47c791530440 --- /dev/null +++ b/specification/windowsesu/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-09-16-preview +``` + +### Tag: package-2019-09-16-preview and azureresourceschema + +These settings apply only when `--tag=package-2019-09-16-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-09-16-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/windowsesu/resource-manager/readme.md b/specification/windowsesu/resource-manager/readme.md index 01b339562489..9a5fda1c22f6 100644 --- a/specification/windowsesu/resource-manager/readme.md +++ b/specification/windowsesu/resource-manager/readme.md @@ -56,6 +56,9 @@ swagger-to-sdk: - repo: azure-sdk-for-ruby after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_windowsesu'] + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js windowsesu/resource-manager ``` ## Go @@ -78,6 +81,10 @@ See configuration in [readme.typescript.md](./readme.typescript.md) See configuration in [readme.csharp.md](./readme.csharp.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/windowsiot/resource-manager/readme.azureresourceschema.md b/specification/windowsiot/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..694e3b674ee4 --- /dev/null +++ b/specification/windowsiot/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,30 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2019-06 + - tag: package-2018-02-preview +``` + +### Tag: package-2019-06 and azureresourceschema + +These settings apply only when `--tag=package-2019-06 --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2019-06' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + +### Tag: package-2018-02-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-02-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-02-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/windowsiot/resource-manager/readme.md b/specification/windowsiot/resource-manager/readme.md index ce4b3c452b4f..1778d3755230 100644 --- a/specification/windowsiot/resource-manager/readme.md +++ b/specification/windowsiot/resource-manager/readme.md @@ -66,6 +66,9 @@ swagger-to-sdk: after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_windowsiot'] - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js windowsiot/resource-manager ``` ## C# @@ -105,6 +108,10 @@ See configuration in [readme.java.md](./readme.java.md) See configuration in [readme.ruby.md](./readme.ruby.md) +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files. diff --git a/specification/workloadmonitor/resource-manager/readme.azureresourceschema.md b/specification/workloadmonitor/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..3b72a33573cd --- /dev/null +++ b/specification/workloadmonitor/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,20 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: package-2018-08-31-preview +``` + +### Tag: package-2018-08-31-preview and azureresourceschema + +These settings apply only when `--tag=package-2018-08-31-preview --azureresourceschema` is specified on the command line. +Please also specify `--azureresourceschema-folder=`. + +``` yaml $(tag) == 'package-2018-08-31-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas +``` + diff --git a/specification/workloadmonitor/resource-manager/readme.md b/specification/workloadmonitor/resource-manager/readme.md index ffe91036af97..e92be26d508e 100644 --- a/specification/workloadmonitor/resource-manager/readme.md +++ b/specification/workloadmonitor/resource-manager/readme.md @@ -59,6 +59,9 @@ swagger-to-sdk: - repo: azure-sdk-for-java - repo: azure-sdk-for-go - repo: azure-sdk-for-node + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js workloadmonitor/resource-manager ``` @@ -166,6 +169,10 @@ regenerate-manager: true generate-interface: true ``` +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + ## Multi-API/Profile support for AutoRest v3 generators AutoRest V3 generators require the use of `--tag=all-api-versions` to select api files.