import * as pulumi from "@pulumi/pulumi"; /** * Manages IP Group CIDR records. * * > **Note:** Warning Do not use this resource at the same time as the `cidrs` property of the * `azure.network.IPGroup` resource for the same IP Group. Doing so will cause a conflict and * CIDRS will be removed. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "test-rg", * location: "West Europe", * }); * const exampleIPGroup = new azure.network.IPGroup("example", { * name: "test-ipgroup", * location: example.location, * resourceGroupName: example.name, * }); * const exampleIPGroupCIDR = new azure.network.IPGroupCIDR("example", { * ipGroupId: exampleIPGroup.id, * cidr: "10.10.10.0/24", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 * * ## Import * * IP Group CIDRs can be imported using the `resource id` of the IP Group and * the CIDR value (`/` characters have to be replaced by `_`), e.g. * * ```sh * $ pulumi import azure:network/iPGroupCIDR:IPGroupCIDR example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/ipGroups/test-ipgroup/cidrs/10.1.0.0_24 * ``` */ export declare class IPGroupCIDR extends pulumi.CustomResource { /** * Get an existing IPGroupCIDR 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, state?: IPGroupCIDRState, opts?: pulumi.CustomResourceOptions): IPGroupCIDR; /** * Returns true if the given object is an instance of IPGroupCIDR. 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 IPGroupCIDR; /** * The `CIDR` that should be added to the IP Group. * Changing this forces a new IP Group CIDR to be created. * * > **Note:** The AzureRM Terraform provider provides cidr support via this standalone resource and in-line within azure.network.IPGroup using the `cidrs` property. You cannot use both methods simultaneously. If cidrs are set via this resource then `ignoreChanges` should be used in the resource `azure.network.IPGroupCIDR` configuration. */ readonly cidr: pulumi.Output; /** * The ID of the destination IP Group. * Changing this forces a new IP Group CIDR to be created. */ readonly ipGroupId: pulumi.Output; /** * Create a IPGroupCIDR 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: IPGroupCIDRArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IPGroupCIDR resources. */ export interface IPGroupCIDRState { /** * The `CIDR` that should be added to the IP Group. * Changing this forces a new IP Group CIDR to be created. * * > **Note:** The AzureRM Terraform provider provides cidr support via this standalone resource and in-line within azure.network.IPGroup using the `cidrs` property. You cannot use both methods simultaneously. If cidrs are set via this resource then `ignoreChanges` should be used in the resource `azure.network.IPGroupCIDR` configuration. */ cidr?: pulumi.Input; /** * The ID of the destination IP Group. * Changing this forces a new IP Group CIDR to be created. */ ipGroupId?: pulumi.Input; } /** * The set of arguments for constructing a IPGroupCIDR resource. */ export interface IPGroupCIDRArgs { /** * The `CIDR` that should be added to the IP Group. * Changing this forces a new IP Group CIDR to be created. * * > **Note:** The AzureRM Terraform provider provides cidr support via this standalone resource and in-line within azure.network.IPGroup using the `cidrs` property. You cannot use both methods simultaneously. If cidrs are set via this resource then `ignoreChanges` should be used in the resource `azure.network.IPGroupCIDR` configuration. */ cidr: pulumi.Input; /** * The ID of the destination IP Group. * Changing this forces a new IP Group CIDR to be created. */ ipGroupId: pulumi.Input; }