containers_logs
Creates, updates, deletes, gets or lists a containers_logs
resource.
Overview
Name | containers_logs |
Type | Resource |
Id | azure.container_instances.containers_logs |
Fields
Name | Datatype | Description |
---|---|---|
content | string | The content of the log. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | containerGroupName, containerName, resourceGroupName, subscriptionId | Get the logs for a specified container instance in a specified resource group and container group. |
SELECT
examples
Get the logs for a specified container instance in a specified resource group and container group.
SELECT
content
FROM azure.container_instances.containers_logs
WHERE containerGroupName = '{{ containerGroupName }}'
AND containerName = '{{ containerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';