v5

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

Get the logs for a specified container instance.

Get the logs for a specified container instance in a specified resource group and container group.

get/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroups/{containerGroupName}/containers/{containerName}/logs

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

tailinteger

The number of lines to show from the tail of the container instance log. If not provided, all available logs are shown up to 4mb.

Response

OK

contentstring

The content of the log.