import * as pulumi from "@pulumi/pulumi"; /** * Manages a Network Manager IP Address Management (IPAM) Pool. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const current = azure.core.getSubscription({}); * const exampleNetworkManager = new azure.network.NetworkManager("example", { * name: "example-network-manager", * location: example.location, * resourceGroupName: example.name, * scope: { * subscriptionIds: [current.then(current => current.id)], * }, * scopeAccesses: [ * "Connectivity", * "SecurityAdmin", * ], * }); * const exampleNetworkManagerIpamPool = new azure.network.NetworkManagerIpamPool("example", { * name: "example-ipam-pool", * location: "West Europe", * networkManagerId: exampleNetworkManager.id, * displayName: "example-pool", * addressPrefixes: ["10.0.0.0/24"], * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 * * ## Import * * Network Manager IPAM Pools can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:network/networkManagerIpamPool:NetworkManagerIpamPool example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/manager1/ipamPools/pool1 * ``` */ export declare class NetworkManagerIpamPool extends pulumi.CustomResource { /** * Get an existing NetworkManagerIpamPool 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?: NetworkManagerIpamPoolState, opts?: pulumi.CustomResourceOptions): NetworkManagerIpamPool; /** * Returns true if the given object is an instance of NetworkManagerIpamPool. 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 NetworkManagerIpamPool; /** * Specifies a list of IPv4 or IPv6 IP address prefixes. Changing this forces a new Network Manager IPAM Pool to be created. */ readonly addressPrefixes: pulumi.Output; /** * The description of the Network Manager IPAM Pool. */ readonly description: pulumi.Output; /** * The display name for the Network Manager IPAM Pool. */ readonly displayName: pulumi.Output; /** * The Azure Region where the Network Manager IPAM Pool should exist. Changing this forces a new Network Manager IPAM Pool to be created. */ readonly location: pulumi.Output; /** * The name which should be used for this Network Manager IPAM Pool. Changing this forces a new Network Manager IPAM Pool to be created. */ readonly name: pulumi.Output; /** * The ID of the parent Network Manager. Changing this forces a new Network Manager IPAM Pool to be created. */ readonly networkManagerId: pulumi.Output; /** * The name of the parent IPAM Pool. Changing this forces a new Network Manager IPAM Pool to be created. */ readonly parentPoolName: pulumi.Output; /** * A mapping of tags which should be assigned to the Network Manager IPAM Pool. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a NetworkManagerIpamPool 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: NetworkManagerIpamPoolArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkManagerIpamPool resources. */ export interface NetworkManagerIpamPoolState { /** * Specifies a list of IPv4 or IPv6 IP address prefixes. Changing this forces a new Network Manager IPAM Pool to be created. */ addressPrefixes?: pulumi.Input[]>; /** * The description of the Network Manager IPAM Pool. */ description?: pulumi.Input; /** * The display name for the Network Manager IPAM Pool. */ displayName?: pulumi.Input; /** * The Azure Region where the Network Manager IPAM Pool should exist. Changing this forces a new Network Manager IPAM Pool to be created. */ location?: pulumi.Input; /** * The name which should be used for this Network Manager IPAM Pool. Changing this forces a new Network Manager IPAM Pool to be created. */ name?: pulumi.Input; /** * The ID of the parent Network Manager. Changing this forces a new Network Manager IPAM Pool to be created. */ networkManagerId?: pulumi.Input; /** * The name of the parent IPAM Pool. Changing this forces a new Network Manager IPAM Pool to be created. */ parentPoolName?: pulumi.Input; /** * A mapping of tags which should be assigned to the Network Manager IPAM Pool. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a NetworkManagerIpamPool resource. */ export interface NetworkManagerIpamPoolArgs { /** * Specifies a list of IPv4 or IPv6 IP address prefixes. Changing this forces a new Network Manager IPAM Pool to be created. */ addressPrefixes: pulumi.Input[]>; /** * The description of the Network Manager IPAM Pool. */ description?: pulumi.Input; /** * The display name for the Network Manager IPAM Pool. */ displayName?: pulumi.Input; /** * The Azure Region where the Network Manager IPAM Pool should exist. Changing this forces a new Network Manager IPAM Pool to be created. */ location?: pulumi.Input; /** * The name which should be used for this Network Manager IPAM Pool. Changing this forces a new Network Manager IPAM Pool to be created. */ name?: pulumi.Input; /** * The ID of the parent Network Manager. Changing this forces a new Network Manager IPAM Pool to be created. */ networkManagerId: pulumi.Input; /** * The name of the parent IPAM Pool. Changing this forces a new Network Manager IPAM Pool to be created. */ parentPoolName?: pulumi.Input; /** * A mapping of tags which should be assigned to the Network Manager IPAM Pool. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }