This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi
azure-native.redis.getRedisFirewallRule
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi
Gets a single firewall rule in a specified redis cache.
Uses Azure REST API version 2016-04-01.
Using getRedisFirewallRule
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRedisFirewallRule(args: GetRedisFirewallRuleArgs, opts?: InvokeOptions): Promise<GetRedisFirewallRuleResult>
function getRedisFirewallRuleOutput(args: GetRedisFirewallRuleOutputArgs, opts?: InvokeOptions): Output<GetRedisFirewallRuleResult>
def get_redis_firewall_rule(cache_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
rule_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRedisFirewallRuleResult
def get_redis_firewall_rule_output(cache_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
rule_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRedisFirewallRuleResult]
func LookupRedisFirewallRule(ctx *Context, args *LookupRedisFirewallRuleArgs, opts ...InvokeOption) (*LookupRedisFirewallRuleResult, error)
func LookupRedisFirewallRuleOutput(ctx *Context, args *LookupRedisFirewallRuleOutputArgs, opts ...InvokeOption) LookupRedisFirewallRuleResultOutput
> Note: This function is named LookupRedisFirewallRule
in the Go SDK.
public static class GetRedisFirewallRule
{
public static Task<GetRedisFirewallRuleResult> InvokeAsync(GetRedisFirewallRuleArgs args, InvokeOptions? opts = null)
public static Output<GetRedisFirewallRuleResult> Invoke(GetRedisFirewallRuleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRedisFirewallRuleResult> getRedisFirewallRule(GetRedisFirewallRuleArgs args, InvokeOptions options)
public static Output<GetRedisFirewallRuleResult> getRedisFirewallRule(GetRedisFirewallRuleArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:redis:getRedisFirewallRule
arguments:
# arguments dictionary
The following arguments are supported:
- Cache
Name string - The name of the Redis cache.
- Resource
Group stringName - The name of the resource group.
- Rule
Name string - The name of the firewall rule.
- Cache
Name string - The name of the Redis cache.
- Resource
Group stringName - The name of the resource group.
- Rule
Name string - The name of the firewall rule.
- cache
Name String - The name of the Redis cache.
- resource
Group StringName - The name of the resource group.
- rule
Name String - The name of the firewall rule.
- cache
Name string - The name of the Redis cache.
- resource
Group stringName - The name of the resource group.
- rule
Name string - The name of the firewall rule.
- cache_
name str - The name of the Redis cache.
- resource_
group_ strname - The name of the resource group.
- rule_
name str - The name of the firewall rule.
- cache
Name String - The name of the Redis cache.
- resource
Group StringName - The name of the resource group.
- rule
Name String - The name of the firewall rule.
getRedisFirewallRule Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- End
IP string - highest IP address included in the range
- Id string
- resource ID (of the firewall rule)
- Name string
- name of the firewall rule
- Start
IP string - lowest IP address included in the range
- Type string
- type (of the firewall rule resource = 'Microsoft.Cache/redis/firewallRule')
- Azure
Api stringVersion - The Azure API version of the resource.
- End
IP string - highest IP address included in the range
- Id string
- resource ID (of the firewall rule)
- Name string
- name of the firewall rule
- Start
IP string - lowest IP address included in the range
- Type string
- type (of the firewall rule resource = 'Microsoft.Cache/redis/firewallRule')
- azure
Api StringVersion - The Azure API version of the resource.
- end
IP String - highest IP address included in the range
- id String
- resource ID (of the firewall rule)
- name String
- name of the firewall rule
- start
IP String - lowest IP address included in the range
- type String
- type (of the firewall rule resource = 'Microsoft.Cache/redis/firewallRule')
- azure
Api stringVersion - The Azure API version of the resource.
- end
IP string - highest IP address included in the range
- id string
- resource ID (of the firewall rule)
- name string
- name of the firewall rule
- start
IP string - lowest IP address included in the range
- type string
- type (of the firewall rule resource = 'Microsoft.Cache/redis/firewallRule')
- azure_
api_ strversion - The Azure API version of the resource.
- end_
ip str - highest IP address included in the range
- id str
- resource ID (of the firewall rule)
- name str
- name of the firewall rule
- start_
ip str - lowest IP address included in the range
- type str
- type (of the firewall rule resource = 'Microsoft.Cache/redis/firewallRule')
- azure
Api StringVersion - The Azure API version of the resource.
- end
IP String - highest IP address included in the range
- id String
- resource ID (of the firewall rule)
- name String
- name of the firewall rule
- start
IP String - lowest IP address included in the range
- type String
- type (of the firewall rule resource = 'Microsoft.Cache/redis/firewallRule')
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.3.0 published on Monday, Apr 28, 2025 by Pulumi