Skip to content

Commit

Permalink
Fix OneDeploy request and response bodies (#23224)
Browse files Browse the repository at this point in the history
* Fix OneDeploy request and response bodies

* Fixing typo
  • Loading branch information
dannysongg authored Mar 29, 2023
1 parent cf60eff commit 7dfc303
Showing 1 changed file with 57 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3831,7 +3831,7 @@
"200": {
"description": "OK",
"schema": {
"type": "object"
"$ref": "#/definitions/Deployment"
}
},
"default": {
Expand Down Expand Up @@ -3860,6 +3860,14 @@
"required": true,
"type": "string"
},
{
"name": "request",
"in": "body",
"description": "Information on OneDeploy request",
"schema": {
"$ref": "#/definitions/OneDeployRequest"
}
},
{
"$ref": "#/parameters/subscriptionIdParameter"
},
Expand All @@ -3871,7 +3879,7 @@
"200": {
"description": "OK",
"schema": {
"type": "object"
"$ref": "#/definitions/Deployment"
}
},
"default": {
Expand Down Expand Up @@ -26502,6 +26510,53 @@
"type": "object",
"properties": {}
},
"OneDeployRequest": {
"type": "object",
"description": "OneDeploy settings defined by user",
"allOf": [
{
"$ref": "./CommonDefinitions.json#/definitions/ProxyOnlyResource"
}
],
"properties": {
"packageUri": {
"description": "The Uri where the source artifact can be pulled from",
"type": "string"
},
"type": {
"description": "The type of the artifact being deployed",
"type": "string"
},
"async": {
"description": "Specifies whether the deployment should be performed asynchronously",
"type": "boolean"
},
"path": {
"description": "The absolute path to deploy the artifact to",
"type": "string"
},
"restart": {
"description": "Specifies whether to restart the app following the deployment",
"type": "boolean"
},
"clean": {
"description": "Specifies whether to clean the target deployment directory",
"type": "boolean"
},
"ignoreStack": {
"description": "Disables any language-specific defaults",
"type": "boolean"
},
"trackDeploymentProgress": {
"description": "The type of the artifact being deployed",
"type": "boolean"
},
"reset": {
"description": "Resets Java apps to the default parking page if set to true with no type specified",
"type": "boolean"
}
}
},
"OpenAuthenticationAccessPolicies": {
"type": "object",
"description": "AuthenticationPolicy of type Open.",
Expand Down

0 comments on commit 7dfc303

Please sign in to comment.