Skip to content

Commit

Permalink
[Resources] Fix deployment validate response (urgent) (#9007)
Browse files Browse the repository at this point in the history
* Add updated validate call in resources swagger

* Add back 200 response and update description

* Update 202 response

Co-authored-by: Filiz Topatan <lsefitopata@microsoft.com>
  • Loading branch information
filizt and Filiz Topatan authored Apr 14, 2020
1 parent 4124098 commit 6d2fe7f
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@
"Deployments"
],
"operationId": "Deployments_ValidateAtScope",
"x-ms-long-running-operation": true,
"description": "Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..",
"parameters": [
{
Expand Down Expand Up @@ -285,6 +286,9 @@
"$ref": "#/definitions/DeploymentValidateResult"
}
},
"202": {
"description": "Accepted - The request has been accepted for processing and the operation will complete asynchronously."
},
"400": {
"description": "Returns the validation result.",
"schema": {
Expand Down Expand Up @@ -561,6 +565,7 @@
"Deployments"
],
"operationId": "Deployments_ValidateAtTenantScope",
"x-ms-long-running-operation": true,
"description": "Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..",
"parameters": [
{
Expand All @@ -586,6 +591,9 @@
"$ref": "#/definitions/DeploymentValidateResult"
}
},
"202": {
"description": "Accepted - The request has been accepted for processing and the operation will complete asynchronously."
},
"400": {
"description": "Returns the validation result.",
"schema": {
Expand Down Expand Up @@ -871,6 +879,7 @@
"Deployments"
],
"operationId": "Deployments_ValidateAtManagementGroupScope",
"x-ms-long-running-operation": true,
"description": "Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..",
"parameters": [
{
Expand Down Expand Up @@ -899,6 +908,9 @@
"$ref": "#/definitions/DeploymentValidateResult"
}
},
"202": {
"description": "Accepted - The request has been accepted for processing and the operation will complete asynchronously."
},
"400": {
"description": "Returns the validation result.",
"schema": {
Expand Down Expand Up @@ -1185,6 +1197,7 @@
"Deployments"
],
"operationId": "Deployments_ValidateAtSubscriptionScope",
"x-ms-long-running-operation": true,
"description": "Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..",
"parameters": [
{
Expand Down Expand Up @@ -1213,6 +1226,9 @@
"$ref": "#/definitions/DeploymentValidateResult"
}
},
"202": {
"description": "Accepted - The request has been accepted for processing and the operation will complete asynchronously."
},
"400": {
"description": "Returns the validation result.",
"schema": {
Expand Down Expand Up @@ -1622,6 +1638,7 @@
"Deployments"
],
"operationId": "Deployments_Validate",
"x-ms-long-running-operation": true,
"description": "Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager..",
"parameters": [
{
Expand Down Expand Up @@ -1660,6 +1677,9 @@
"$ref": "#/definitions/DeploymentValidateResult"
}
},
"202": {
"description": "Accepted - The request has been accepted for processing and the operation will complete asynchronously."
},
"400": {
"description": "Returns the validation result.",
"schema": {
Expand Down

0 comments on commit 6d2fe7f

Please sign in to comment.