get Cache Rule
Gets the properties of the specified cache rule resource. Azure REST API version: 2023-01-01-preview. Other available API versions: 2023-06-01-preview, 2023-07-01, 2023-08-01-preview.
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.
See also
Parameters
cache Rule Name
The name of the cache rule.
registry Name
The name of the container registry.
resource Group Name
The name of the resource group. The name is case insensitive.
suspend fun getCacheRule(argument: suspend GetCacheRulePlainArgsBuilder.() -> Unit): GetCacheRuleResult
Return
An object that represents a cache rule for a container registry.
See also
Parameters
argument
Builder for com.pulumi.azurenative.containerregistry.kotlin.inputs.GetCacheRulePlainArgs.