RedisCache

class RedisCache : KotlinCustomResource

Manages a API Management Redis Cache.

Example Usage

resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleService:
type: azure:apimanagement:Service
name: example
properties:
name: example-apim
location: ${example.location}
resourceGroupName: ${example.name}
publisherName: pub1
publisherEmail: pub1@email.com
skuName: Consumption_0
exampleCache:
type: azure:redis:Cache
name: example
properties:
name: example-cache
location: ${example.location}
resourceGroupName: ${example.name}
capacity: 1
family: C
skuName: Basic
enableNonSslPort: false
minimumTlsVersion: '1.2'
redisConfiguration: {}
exampleRedisCache:
type: azure:apimanagement:RedisCache
name: example
properties:
name: example-Redis-Cache
apiManagementId: ${exampleService.id}
connectionString: ${exampleCache.primaryConnectionString}
description: Redis cache instances
redisCacheId: ${exampleCache.id}
cacheLocation: East Us

Import

API Management Redis Caches can be imported using the resource id, e.g.

$ pulumi import azure:apimanagement/redisCache:RedisCache example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ApiManagement/service/service1/caches/cache1

Properties

Link copied to clipboard
val apiManagementId: Output<String>

The resource ID of the API Management Service from which to create this external cache. Changing this forces a new API Management Redis Cache to be created.

Link copied to clipboard
val cacheLocation: Output<String>?

The location where to use cache from. Possible values are default and valid Azure regions. Defaults to default.

Link copied to clipboard

The connection string to the Cache for Redis.

Link copied to clipboard
val description: Output<String>?

The description of the API Management Redis Cache.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name which should be used for this API Management Redis Cache. Changing this forces a new API Management Redis Cache to be created.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val redisCacheId: Output<String>?

The resource ID of the Cache for Redis.

Link copied to clipboard
val urn: Output<String>