import * as pulumi from "@pulumi/pulumi"; /** * Manages an IP group that contains a list of CIDRs and/or IP addresses. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-rg", * location: "West Europe", * }); * const exampleIPGroup = new azure.network.IPGroup("example", { * name: "example1-ipgroup", * location: example.location, * resourceGroupName: example.name, * cidrs: [ * "192.168.0.1", * "172.16.240.0/20", * "10.48.0.0/12", * ], * tags: { * environment: "Production", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 * * ## Import * * IP Groups can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:network/iPGroup:IPGroup ipgroup1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Network/ipGroups/myIpGroup * ``` */ export declare class IPGroup extends pulumi.CustomResource { /** * Get an existing IPGroup 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?: IPGroupState, opts?: pulumi.CustomResourceOptions): IPGroup; /** * Returns true if the given object is an instance of IPGroup. 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 IPGroup; /** * A list of CIDRs or IP addresses. * * > **Note:** The AzureRM Terraform provider provides cidr support via the standalone resource azure.network.IPGroupCIDR and in-line within this resource using the `cidrs` property. You cannot use both methods simultaneously. If cidrs are set via the resource `azure.network.IPGroupCIDR` then `ignoreChanges` should be used in the ip group configuration. */ readonly cidrs: pulumi.Output; /** * A list of ID of Firewall. */ readonly firewallIds: pulumi.Output; /** * A list of ID of Firewall Policy`. */ readonly firewallPolicyIds: pulumi.Output; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * Specifies the name of the IP group. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * The name of the resource group in which to create the IP group. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * A mapping of tags to assign to the resource. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a IPGroup 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: IPGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering IPGroup resources. */ export interface IPGroupState { /** * A list of CIDRs or IP addresses. * * > **Note:** The AzureRM Terraform provider provides cidr support via the standalone resource azure.network.IPGroupCIDR and in-line within this resource using the `cidrs` property. You cannot use both methods simultaneously. If cidrs are set via the resource `azure.network.IPGroupCIDR` then `ignoreChanges` should be used in the ip group configuration. */ cidrs?: pulumi.Input[]>; /** * A list of ID of Firewall. */ firewallIds?: pulumi.Input[]>; /** * A list of ID of Firewall Policy`. */ firewallPolicyIds?: pulumi.Input[]>; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name of the IP group. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the resource group in which to create the IP group. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a IPGroup resource. */ export interface IPGroupArgs { /** * A list of CIDRs or IP addresses. * * > **Note:** The AzureRM Terraform provider provides cidr support via the standalone resource azure.network.IPGroupCIDR and in-line within this resource using the `cidrs` property. You cannot use both methods simultaneously. If cidrs are set via the resource `azure.network.IPGroupCIDR` then `ignoreChanges` should be used in the ip group configuration. */ cidrs?: pulumi.Input[]>; /** * Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name of the IP group. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * The name of the resource group in which to create the IP group. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * A mapping of tags to assign to the resource. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }