getToken

suspend fun getToken(argument: GetTokenPlainArgs): GetTokenResult

Gets the properties of the specified token. Uses Azure REST API version 2024-11-01-preview. Other available API versions: 2020-11-01-preview, 2021-06-01-preview, 2021-08-01-preview, 2021-12-01-preview, 2022-02-01-preview, 2022-12-01, 2023-01-01-preview, 2023-06-01-preview, 2023-07-01, 2023-08-01-preview, 2023-11-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerregistry [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

An object that represents a token for a container registry.

Parameters

argument

null


suspend fun getToken(registryName: String, resourceGroupName: String, tokenName: String): GetTokenResult

Return

An object that represents a token for a container registry.

Parameters

registryName

The name of the container registry.

resourceGroupName

The name of the resource group. The name is case insensitive.

tokenName

The name of the token.

See also


suspend fun getToken(argument: suspend GetTokenPlainArgsBuilder.() -> Unit): GetTokenResult

Return

An object that represents a token for a container registry.

Parameters

argument

Builder for com.pulumi.azurenative.containerregistry.kotlin.inputs.GetTokenPlainArgs.

See also