Firewall Rule
Manages a Firewall Rule associated with a Redis Cache.
Example Usage
resources:
server:
type: random:RandomId
properties:
keepers:
azi_id: 1
byteLength: 8
example:
type: azure:core:ResourceGroup
properties:
name: redis-resourcegroup
location: West Europe
exampleCache:
type: azure:redis:Cache
name: example
properties:
name: redis${server.hex}
location: ${example.location}
resourceGroupName: ${example.name}
capacity: 1
family: P
skuName: Premium
enableNonSslPort: false
redisConfiguration:
maxmemoryReserved: 2
maxmemoryDelta: 2
maxmemoryPolicy: allkeys-lru
exampleFirewallRule:
type: azure:redis:FirewallRule
name: example
properties:
name: someIPrange
redisCacheName: ${exampleCache.name}
resourceGroupName: ${example.name}
startIp: 1.2.3.4
endIp: 2.3.4.5
Content copied to clipboard
Import
Redis Firewall Rules can be imported using the resource id
, e.g.
$ pulumi import azure:redis/firewallRule:FirewallRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Cache/redis/cache1/firewallRules/rule1
Content copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The name of the Redis Cache. Changing this forces a new resource to be created.
Link copied to clipboard
The name of the resource group in which this Redis Cache exists. Changing this forces a new resource to be created.