diff --git a/specification/adp/resource-manager/Microsoft.AutonomousDevelopmentPlatform/preview/2020-07-01-preview/adp.json b/specification/adp/resource-manager/Microsoft.AutonomousDevelopmentPlatform/preview/2020-07-01-preview/adp.json index 91eededc55bc..eb9395934bae 100644 --- a/specification/adp/resource-manager/Microsoft.AutonomousDevelopmentPlatform/preview/2020-07-01-preview/adp.json +++ b/specification/adp/resource-manager/Microsoft.AutonomousDevelopmentPlatform/preview/2020-07-01-preview/adp.json @@ -327,7 +327,7 @@ "200": { "description": "The ADP account was successfully deleted." }, - "201": { + "202": { "description": "The ADP account will be deleted asynchronously." }, "204": { @@ -580,7 +580,7 @@ "200": { "description": "The Data Pool was successfully deleted." }, - "201": { + "202": { "description": "The Data Pool will be deleted asynchronously." }, "204": { @@ -674,12 +674,13 @@ "Succeeded", "Failed", "Canceled", + "Accepted", "Provisioning", "Deleting" ], "x-ms-enum": { "name": "ProvisioningState", - "modelAsString": false + "modelAsString": true } } } @@ -749,12 +750,13 @@ "Succeeded", "Failed", "Canceled", + "Accepted", "Provisioning", "Deleting" ], "x-ms-enum": { "name": "ProvisioningState", - "modelAsString": false + "modelAsString": true } }, "locations": { diff --git a/specification/adp/resource-manager/Microsoft.AutonomousDevelopmentPlatform/preview/2020-07-01-preview/examples/AdpAccountDelete.json b/specification/adp/resource-manager/Microsoft.AutonomousDevelopmentPlatform/preview/2020-07-01-preview/examples/AdpAccountDelete.json index d6e9aa9488b2..f56df2a354f3 100644 --- a/specification/adp/resource-manager/Microsoft.AutonomousDevelopmentPlatform/preview/2020-07-01-preview/examples/AdpAccountDelete.json +++ b/specification/adp/resource-manager/Microsoft.AutonomousDevelopmentPlatform/preview/2020-07-01-preview/examples/AdpAccountDelete.json @@ -7,7 +7,7 @@ }, "responses": { "200": {}, - "201": {}, + "202": {}, "204": {} } } diff --git a/specification/adp/resource-manager/Microsoft.AutonomousDevelopmentPlatform/preview/2020-07-01-preview/examples/AdpDataPoolDelete.json b/specification/adp/resource-manager/Microsoft.AutonomousDevelopmentPlatform/preview/2020-07-01-preview/examples/AdpDataPoolDelete.json index b07fcf338e68..ea2ac77d762c 100644 --- a/specification/adp/resource-manager/Microsoft.AutonomousDevelopmentPlatform/preview/2020-07-01-preview/examples/AdpDataPoolDelete.json +++ b/specification/adp/resource-manager/Microsoft.AutonomousDevelopmentPlatform/preview/2020-07-01-preview/examples/AdpDataPoolDelete.json @@ -8,7 +8,7 @@ }, "responses": { "200": {}, - "201": {}, + "202": {}, "204": {} } } diff --git a/specification/adp/resource-manager/readme.azureresourceschema.md b/specification/adp/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..a641baec289a --- /dev/null +++ b/specification/adp/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,24 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: schema-adp-2020-07-01-preview + +``` + +Please also specify `--azureresourceschema-folder=`. + +### Tag: schema-adp-2020-07-01-preview and azureresourceschema + +``` yaml $(tag) == 'schema-adp-2020-07-01-preview' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas + +# all the input files in this apiVersion +input-file: + - Microsoft.AutonomousDevelopmentPlatform/preview/2020-07-01-preview/adp.json + +``` diff --git a/specification/adp/resource-manager/readme.md b/specification/adp/resource-manager/readme.md index fbcf3b99cb44..743ddf7e0100 100644 --- a/specification/adp/resource-manager/readme.md +++ b/specification/adp/resource-manager/readme.md @@ -58,6 +58,9 @@ swagger-to-sdk: after_scripts: - bundle install && rake arm:regen_all_profiles['azure_mgmt_adp'] - repo: azure-cli-extensions + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js adp/resource-manager ``` ## Go @@ -79,3 +82,7 @@ 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)