Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make 'location' required for sub/mg/tenant deployment. #7543

Merged
merged 2 commits into from
Oct 31, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/Deployment"
"$ref": "#/definitions/UnscopedDeployment"
},
"description": "Additional parameters supplied to the operation."
},
Expand Down Expand Up @@ -270,7 +270,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/Deployment"
"$ref": "#/definitions/UnscopedDeployment"
},
"description": "Parameters to validate."
},
Expand Down Expand Up @@ -461,7 +461,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/Deployment"
"$ref": "#/definitions/DeploymentWithLocation"
},
"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/DeploymentWithLocation"
},
"description": "Parameters to validate."
},
Expand Down Expand Up @@ -765,7 +765,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/Deployment"
"$ref": "#/definitions/DeploymentWithLocation"
},
"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/DeploymentWithLocation"
},
"description": "Parameters to validate."
},
Expand Down Expand Up @@ -1081,7 +1081,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/Deployment"
"$ref": "#/definitions/DeploymentWithLocation"
},
"description": "Additional parameters supplied to the operation."
},
Expand Down Expand Up @@ -1195,7 +1195,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/Deployment"
"$ref": "#/definitions/DeploymentWithLocation"
},
"description": "Parameters to validate."
},
Expand Down Expand Up @@ -4131,6 +4131,35 @@
"description": "The debug setting."
},
"Deployment": {
"properties": {
"properties": {
"$ref": "#/definitions/DeploymentProperties",
"description": "The deployment properties."
}
},
"required": [
"properties"
],
"description": "Deployment operation parameters."
},
"DeploymentWithLocation": {
"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."
},
"UnscopedDeployment": {
"properties": {
"location": {
"type": "string",
Expand Down