v5

latestSwagger 2.0raw.githubusercontent.com2019-05-22164360.0 KB

Executes a command in a specific container instance.

Executes a command for a specific container instance in a specified resource group and container group.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/exec

Path parameters

subscriptionIdstring required

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

resourceGroupNamestring required

The name of the resource group.

containerGroupNamestring required

The name of the container group.

containerNamestring required

The name of the container instance.

Query parameters

api-versionstring required

Client API version

Request body

commandstring

The command to be executed.

Response

OK

webSocketUristring

The uri for the exec websocket.

passwordstring

The password to start the exec command.