import * as pulumi from "@pulumi/pulumi";
/**
 * Manages a Firewall Rule associated with a Redis Cache.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 * import * as random from "@pulumi/random";
 *
 * const server = new random.index.Id("server", {
 *     keepers: {
 *         aziId: 1,
 *     },
 *     byteLength: 8,
 * });
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "redis-resourcegroup",
 *     location: "West Europe",
 * });
 * const exampleCache = new azure.redis.Cache("example", {
 *     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",
 *     },
 * });
 * const exampleFirewallRule = new azure.redis.FirewallRule("example", {
 *     name: "someIPrange",
 *     redisCacheName: exampleCache.name,
 *     resourceGroupName: example.name,
 *     startIp: "1.2.3.4",
 *     endIp: "2.3.4.5",
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.Cache` - 2024-11-01
 *
 * ## Import
 *
 * Redis Firewall Rules can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:redis/firewallRule:FirewallRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Cache/redis/cache1/firewallRules/rule1
 * ```
 */
export declare class FirewallRule extends pulumi.CustomResource {
    /**
     * Get an existing FirewallRule 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 state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FirewallRuleState, opts?: pulumi.CustomResourceOptions): FirewallRule;
    /**
     * Returns true if the given object is an instance of FirewallRule.  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 FirewallRule;
    /**
     * The highest IP address included in the range.
     */
    readonly endIp: pulumi.Output<string>;
    /**
     * The name of the Firewall Rule. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The name of the Redis Cache. Changing this forces a new resource to be created.
     */
    readonly redisCacheName: pulumi.Output<string>;
    /**
     * The name of the resource group in which this Redis Cache exists. Changing this forces a new resource to be created.
     */
    readonly resourceGroupName: pulumi.Output<string>;
    /**
     * The lowest IP address included in the range
     */
    readonly startIp: pulumi.Output<string>;
    /**
     * Create a FirewallRule 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: FirewallRuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering FirewallRule resources.
 */
export interface FirewallRuleState {
    /**
     * The highest IP address included in the range.
     */
    endIp?: pulumi.Input<string | undefined>;
    /**
     * The name of the Firewall Rule. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The name of the Redis Cache. Changing this forces a new resource to be created.
     */
    redisCacheName?: pulumi.Input<string | undefined>;
    /**
     * The name of the resource group in which this Redis Cache exists. Changing this forces a new resource to be created.
     */
    resourceGroupName?: pulumi.Input<string | undefined>;
    /**
     * The lowest IP address included in the range
     */
    startIp?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a FirewallRule resource.
 */
export interface FirewallRuleArgs {
    /**
     * The highest IP address included in the range.
     */
    endIp: pulumi.Input<string>;
    /**
     * The name of the Firewall Rule. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The name of the Redis Cache. Changing this forces a new resource to be created.
     */
    redisCacheName: pulumi.Input<string>;
    /**
     * The name of the resource group in which this Redis Cache exists. Changing this forces a new resource to be created.
     */
    resourceGroupName: pulumi.Input<string>;
    /**
     * The lowest IP address included in the range
     */
    startIp: pulumi.Input<string>;
}
//# sourceMappingURL=firewallRule.d.ts.map