getContainerGroup

Gets the properties of the specified container group in the specified subscription and resource group. The operation returns the properties of each container group including containers, image registry credentials, restart policy, IP address type, OS type, state, and volumes. Uses Azure REST API version 2023-05-01. Other available API versions: 2021-03-01, 2021-07-01, 2023-02-01-preview, 2024-05-01-preview, 2024-09-01-preview, 2024-10-01-preview, 2024-11-01-preview.

Return

A container group.

Parameters

argument

null


suspend fun getContainerGroup(containerGroupName: String, resourceGroupName: String): GetContainerGroupResult

Return

A container group.

Parameters

containerGroupName

The name of the container group.

resourceGroupName

The name of the resource group.

See also


Return

A container group.

Parameters

argument

Builder for com.pulumi.azurenative.containerinstance.kotlin.inputs.GetContainerGroupPlainArgs.

See also