UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

76 lines (75 loc) 2.64 kB
import * as pulumi from "@pulumi/pulumi"; /** * A firewall rule on a redis cache has a name, and describes a contiguous range of IP addresses permitted to connect * * Uses Azure REST API version 2016-04-01. */ export declare class RedisFirewallRule extends pulumi.CustomResource { /** * Get an existing RedisFirewallRule resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): RedisFirewallRule; /** * Returns true if the given object is an instance of RedisFirewallRule. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is RedisFirewallRule; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output<string>; /** * highest IP address included in the range */ readonly endIP: pulumi.Output<string>; /** * name of the firewall rule */ readonly name: pulumi.Output<string>; /** * lowest IP address included in the range */ readonly startIP: pulumi.Output<string>; /** * type (of the firewall rule resource = 'Microsoft.Cache/redis/firewallRule') */ readonly type: pulumi.Output<string>; /** * Create a RedisFirewallRule resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: RedisFirewallRuleArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a RedisFirewallRule resource. */ export interface RedisFirewallRuleArgs { /** * The name of the Redis cache. */ cacheName: pulumi.Input<string>; /** * highest IP address included in the range */ endIP: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; /** * The name of the firewall rule. */ ruleName?: pulumi.Input<string>; /** * lowest IP address included in the range */ startIP: pulumi.Input<string>; }