FirewallRule

class FirewallRule : KotlinCustomResource

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

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

Properties

Link copied to clipboard
val endIp: Output<String>

The highest IP address included in the range.

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

The name of the Firewall Rule. Changing this forces a new resource to be created.

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

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.

Link copied to clipboard
val startIp: Output<String>

The lowest IP address included in the range

Link copied to clipboard
val urn: Output<String>