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 2024-05-01-preview. Other available API versions: 2023-05-01, 2024-09-01-preview, 2024-10-01-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerinstance [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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. The name is case insensitive.

See also


Return

A container group.

Parameters

argument

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

See also