Redis Cache Args
data class RedisCacheArgs(val apiManagementId: Output<String>? = null, val cacheLocation: Output<String>? = null, val connectionString: Output<String>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val redisCacheId: Output<String>? = null) : ConvertibleToJava<RedisCacheArgs>
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
Content copied to clipboard
API Providers
This resource uses the following Azure API Providers:
Microsoft.ApiManagement
: 2022-08-01
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
Content copied to clipboard
Constructors
Properties
Link copied to clipboard
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
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
The description of the API Management Redis Cache.
Link copied to clipboard
The resource ID of the Cache for Redis.