Skip to content

Commit

Permalink
Azure Container Instance: Add start container group API (#4423)
Browse files Browse the repository at this point in the history
* Update swagger with DNSConfig and GPU

* Azure Container Instance: Add start container group API
  • Loading branch information
Tony Xu authored and sergey-shandar committed Nov 12, 2018
1 parent 6780e8a commit 2ea3e9e
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,38 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/start": {
"post": {
"operationId": "ContainerGroups_Start",
"x-ms-examples": {
"ContainerStart": {
"$ref": "./examples/ContainerGroupsStart.json"
}
},
"summary": "Starts all containers in a container group.",
"description": "Starts all containers in a container group.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ContainerGroupNameParameter"
}
],
"responses": {
"204": {
"description": "NoContent"
}
},
"x-ms-long-running-operation": true
}
},
"/providers/Microsoft.ContainerInstance/operations": {
"get": {
"tags": [
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"parameters": {
"subscriptionId": "subid",
"api-version": "2018-10-01",
"resourceGroupName": "demo",
"containerGroupName": "demo1"
},
"responses": {
"204": {}
}
}

0 comments on commit 2ea3e9e

Please sign in to comment.