@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 1.94 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Gets a single firewall rule in a specified redis cache.
*
* Uses Azure REST API version 2016-04-01.
*/
export declare function getRedisFirewallRule(args: GetRedisFirewallRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetRedisFirewallRuleResult>;
export interface GetRedisFirewallRuleArgs {
/**
* The name of the Redis cache.
*/
cacheName: string;
/**
* The name of the resource group.
*/
resourceGroupName: string;
/**
* The name of the firewall rule.
*/
ruleName: string;
}
/**
* A firewall rule on a redis cache has a name, and describes a contiguous range of IP addresses permitted to connect
*/
export interface GetRedisFirewallRuleResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* highest IP address included in the range
*/
readonly endIP: string;
/**
* resource ID (of the firewall rule)
*/
readonly id: string;
/**
* name of the firewall rule
*/
readonly name: string;
/**
* lowest IP address included in the range
*/
readonly startIP: string;
/**
* type (of the firewall rule resource = 'Microsoft.Cache/redis/firewallRule')
*/
readonly type: string;
}
/**
* Gets a single firewall rule in a specified redis cache.
*
* Uses Azure REST API version 2016-04-01.
*/
export declare function getRedisFirewallRuleOutput(args: GetRedisFirewallRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetRedisFirewallRuleResult>;
export interface GetRedisFirewallRuleOutputArgs {
/**
* The name of the Redis cache.
*/
cacheName: pulumi.Input<string>;
/**
* The name of the resource group.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the firewall rule.
*/
ruleName: pulumi.Input<string>;
}