Skip to content

Commit

Permalink
Make 'location' required for sub/mg/tenant deployment. (#7543)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiano2017 authored and yungezz committed Oct 31, 2019
1 parent dba69f2 commit 3aa6629
Showing 1 changed file with 21 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/Deployment"
"$ref": "#/definitions/ScopedDeployment"
},
"description": "Additional parameters supplied to the operation."
},
Expand Down Expand Up @@ -571,7 +571,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/Deployment"
"$ref": "#/definitions/ScopedDeployment"
},
"description": "Parameters to validate."
},
Expand Down Expand Up @@ -765,7 +765,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/Deployment"
"$ref": "#/definitions/ScopedDeployment"
},
"description": "Additional parameters supplied to the operation."
},
Expand Down Expand Up @@ -884,7 +884,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/Deployment"
"$ref": "#/definitions/ScopedDeployment"
},
"description": "Parameters to validate."
},
Expand Down Expand Up @@ -4146,6 +4146,23 @@
],
"description": "Deployment operation parameters."
},
"ScopedDeployment": {
"properties": {
"location": {
"type": "string",
"description": "The location to store the deployment data."
},
"properties": {
"$ref": "#/definitions/DeploymentProperties",
"description": "The deployment properties."
}
},
"required": [
"location",
"properties"
],
"description": "Deployment operation parameters."
},
"DeploymentExportResult": {
"properties": {
"template": {
Expand Down

0 comments on commit 3aa6629

Please sign in to comment.