getCacheRule

Gets the properties of the specified cache rule resource. Uses Azure REST API version 2024-11-01-preview. Other available API versions: 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 cache rule for a container registry.

Parameters

argument

null


suspend fun getCacheRule(cacheRuleName: String, registryName: String, resourceGroupName: String): GetCacheRuleResult

Return

An object that represents a cache rule for a container registry.

Parameters

cacheRuleName

The name of the cache rule.

registryName

The name of the container registry.

resourceGroupName

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

See also


Return

An object that represents a cache rule for a container registry.

Parameters

argument

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

See also