getCache

suspend fun getCache(argument: GetCachePlainArgs): GetCacheResult

Returns a cache. Uses Azure REST API version 2024-03-01. Other available API versions: 2023-05-01, 2023-11-01-preview, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native storagecache [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

A cache instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md

Parameters

argument

null


suspend fun getCache(cacheName: String, resourceGroupName: String): GetCacheResult

Return

A cache instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md

Parameters

cacheName

Name of cache. Length of name must not be greater than 80 and chars must be from the -0-9a-zA-Z_ char class.

resourceGroupName

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

See also


suspend fun getCache(argument: suspend GetCachePlainArgsBuilder.() -> Unit): GetCacheResult

Return

A cache instance. Follows Azure Resource Manager standards: https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/resource-api-reference.md

Parameters

argument

Builder for com.pulumi.azurenative.storagecache.kotlin.inputs.GetCachePlainArgs.

See also