ContainerinstanceFunctions

Functions

Link copied to clipboard

Get the properties of the specified container group profile. Uses Azure REST API version 2024-11-01-preview.

suspend fun getCGProfile(containerGroupProfileName: String, resourceGroupName: String): GetCGProfileResult
Link copied to clipboard

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.

suspend fun getContainerGroup(containerGroupName: String, resourceGroupName: String): GetContainerGroupResult
Link copied to clipboard

Gets the properties of the specified container group profile in the specified subscription and resource group. The operation returns the properties of container group profile including containers, image registry credentials, restart policy, IP address type, OS type, volumes, current revision number, etc. Uses Azure REST API version 2024-05-01-preview.

suspend fun getContainerGroupProfile(containerGroupProfileName: String, resourceGroupName: String): GetContainerGroupProfileResult