Spring Cloud App Redis Association
Associates a Spring Cloud Application with a Redis Cache.
Example Usage
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleSpringCloudService:
type: azure:appplatform:SpringCloudService
name: example
properties:
name: example-springcloud
resourceGroupName: ${example.name}
location: ${example.location}
exampleSpringCloudApp:
type: azure:appplatform:SpringCloudApp
name: example
properties:
name: example-springcloudapp
resourceGroupName: ${example.name}
serviceName: ${exampleSpringCloudService.name}
exampleCache:
type: azure:redis:Cache
name: example
properties:
name: example-cache
location: ${example.location}
resourceGroupName: ${example.name}
capacity: 0
family: C
skuName: Basic
enableNonSslPort: true
exampleSpringCloudAppRedisAssociation:
type: azure:appplatform:SpringCloudAppRedisAssociation
name: example
properties:
name: example-bind
springCloudAppId: ${exampleSpringCloudApp.id}
redisCacheId: ${exampleCache.id}
redisAccessKey: ${exampleCache.primaryAccessKey}
sslEnabled: true
Content copied to clipboard
Import
Spring Cloud Application Redis Association can be imported using the resource id
, e.g.
$ pulumi import azure:appplatform/springCloudAppRedisAssociation:SpringCloudAppRedisAssociation example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.AppPlatform/spring/myservice/apps/myapp/bindings/bind1
Content copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Specifies the Redis Cache access key.
Link copied to clipboard
Specifies the Redis Cache resource ID. Changing this forces a new resource to be created.
Link copied to clipboard
Specifies the Spring Cloud Application resource ID in which the Association is created. Changing this forces a new resource to be created.
Link copied to clipboard
Should SSL be used when connecting to Redis? Defaults to true
.