Skip to main content

containers_logs

Creates, updates, deletes, gets or lists a containers_logs resource.

Overview

Namecontainers_logs
TypeResource
Idazure.container_instances.containers_logs

Fields

NameDatatypeDescription
contentstringThe content of the log.

Methods

NameAccessible byRequired ParamsDescription
listSELECTcontainerGroupName, containerName, resourceGroupName, subscriptionIdGet 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 }}';