We recommend using Azure Native.
azure.network.NetworkManagerIpamPoolStaticCidr
Manages a Network Manager IPAM Pool Static CIDR.
Example Usage
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-nm",
resourceGroupName: example.name,
location: example.location,
scope: {
subscriptionIds: [current.then(current => current.id)],
},
});
const exampleNetworkManagerIpamPool = new azure.network.NetworkManagerIpamPool("example", {
name: "example-ipampool",
networkManagerId: exampleNetworkManager.id,
location: example.location,
displayName: "ipampool1",
addressPrefixes: ["10.0.0.0/24"],
});
const exampleNetworkManagerIpamPoolStaticCidr = new azure.network.NetworkManagerIpamPoolStaticCidr("example", {
name: "example-ipsc",
ipamPoolId: exampleNetworkManagerIpamPool.id,
addressPrefixes: [
"10.0.0.0/26",
"10.0.0.128/27",
],
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
current = azure.core.get_subscription()
example_network_manager = azure.network.NetworkManager("example",
name="example-nm",
resource_group_name=example.name,
location=example.location,
scope={
"subscription_ids": [current.id],
})
example_network_manager_ipam_pool = azure.network.NetworkManagerIpamPool("example",
name="example-ipampool",
network_manager_id=example_network_manager.id,
location=example.location,
display_name="ipampool1",
address_prefixes=["10.0.0.0/24"])
example_network_manager_ipam_pool_static_cidr = azure.network.NetworkManagerIpamPoolStaticCidr("example",
name="example-ipsc",
ipam_pool_id=example_network_manager_ipam_pool.id,
address_prefixes=[
"10.0.0.0/26",
"10.0.0.128/27",
])
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil)
if err != nil {
return err
}
exampleNetworkManager, err := network.NewNetworkManager(ctx, "example", &network.NetworkManagerArgs{
Name: pulumi.String("example-nm"),
ResourceGroupName: example.Name,
Location: example.Location,
Scope: &network.NetworkManagerScopeArgs{
SubscriptionIds: pulumi.StringArray{
pulumi.String(current.Id),
},
},
})
if err != nil {
return err
}
exampleNetworkManagerIpamPool, err := network.NewNetworkManagerIpamPool(ctx, "example", &network.NetworkManagerIpamPoolArgs{
Name: pulumi.String("example-ipampool"),
NetworkManagerId: exampleNetworkManager.ID(),
Location: example.Location,
DisplayName: pulumi.String("ipampool1"),
AddressPrefixes: pulumi.StringArray{
pulumi.String("10.0.0.0/24"),
},
})
if err != nil {
return err
}
_, err = network.NewNetworkManagerIpamPoolStaticCidr(ctx, "example", &network.NetworkManagerIpamPoolStaticCidrArgs{
Name: pulumi.String("example-ipsc"),
IpamPoolId: exampleNetworkManagerIpamPool.ID(),
AddressPrefixes: pulumi.StringArray{
pulumi.String("10.0.0.0/26"),
pulumi.String("10.0.0.128/27"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var current = Azure.Core.GetSubscription.Invoke();
var exampleNetworkManager = new Azure.Network.NetworkManager("example", new()
{
Name = "example-nm",
ResourceGroupName = example.Name,
Location = example.Location,
Scope = new Azure.Network.Inputs.NetworkManagerScopeArgs
{
SubscriptionIds = new[]
{
current.Apply(getSubscriptionResult => getSubscriptionResult.Id),
},
},
});
var exampleNetworkManagerIpamPool = new Azure.Network.NetworkManagerIpamPool("example", new()
{
Name = "example-ipampool",
NetworkManagerId = exampleNetworkManager.Id,
Location = example.Location,
DisplayName = "ipampool1",
AddressPrefixes = new[]
{
"10.0.0.0/24",
},
});
var exampleNetworkManagerIpamPoolStaticCidr = new Azure.Network.NetworkManagerIpamPoolStaticCidr("example", new()
{
Name = "example-ipsc",
IpamPoolId = exampleNetworkManagerIpamPool.Id,
AddressPrefixes = new[]
{
"10.0.0.0/26",
"10.0.0.128/27",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.core.CoreFunctions;
import com.pulumi.azure.core.inputs.GetSubscriptionArgs;
import com.pulumi.azure.network.NetworkManager;
import com.pulumi.azure.network.NetworkManagerArgs;
import com.pulumi.azure.network.inputs.NetworkManagerScopeArgs;
import com.pulumi.azure.network.NetworkManagerIpamPool;
import com.pulumi.azure.network.NetworkManagerIpamPoolArgs;
import com.pulumi.azure.network.NetworkManagerIpamPoolStaticCidr;
import com.pulumi.azure.network.NetworkManagerIpamPoolStaticCidrArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
final var current = CoreFunctions.getSubscription(GetSubscriptionArgs.builder()
.build());
var exampleNetworkManager = new NetworkManager("exampleNetworkManager", NetworkManagerArgs.builder()
.name("example-nm")
.resourceGroupName(example.name())
.location(example.location())
.scope(NetworkManagerScopeArgs.builder()
.subscriptionIds(current.id())
.build())
.build());
var exampleNetworkManagerIpamPool = new NetworkManagerIpamPool("exampleNetworkManagerIpamPool", NetworkManagerIpamPoolArgs.builder()
.name("example-ipampool")
.networkManagerId(exampleNetworkManager.id())
.location(example.location())
.displayName("ipampool1")
.addressPrefixes("10.0.0.0/24")
.build());
var exampleNetworkManagerIpamPoolStaticCidr = new NetworkManagerIpamPoolStaticCidr("exampleNetworkManagerIpamPoolStaticCidr", NetworkManagerIpamPoolStaticCidrArgs.builder()
.name("example-ipsc")
.ipamPoolId(exampleNetworkManagerIpamPool.id())
.addressPrefixes(
"10.0.0.0/26",
"10.0.0.128/27")
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleNetworkManager:
type: azure:network:NetworkManager
name: example
properties:
name: example-nm
resourceGroupName: ${example.name}
location: ${example.location}
scope:
subscriptionIds:
- ${current.id}
exampleNetworkManagerIpamPool:
type: azure:network:NetworkManagerIpamPool
name: example
properties:
name: example-ipampool
networkManagerId: ${exampleNetworkManager.id}
location: ${example.location}
displayName: ipampool1
addressPrefixes:
- 10.0.0.0/24
exampleNetworkManagerIpamPoolStaticCidr:
type: azure:network:NetworkManagerIpamPoolStaticCidr
name: example
properties:
name: example-ipsc
ipamPoolId: ${exampleNetworkManagerIpamPool.id}
addressPrefixes:
- 10.0.0.0/26
- 10.0.0.128/27
variables:
current:
fn::invoke:
function: azure:core:getSubscription
arguments: {}
API Providers
This resource uses the following Azure API Providers:
Microsoft.Network- 2024-05-01
Create NetworkManagerIpamPoolStaticCidr Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NetworkManagerIpamPoolStaticCidr(name: string, args: NetworkManagerIpamPoolStaticCidrArgs, opts?: CustomResourceOptions);@overload
def NetworkManagerIpamPoolStaticCidr(resource_name: str,
args: NetworkManagerIpamPoolStaticCidrArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkManagerIpamPoolStaticCidr(resource_name: str,
opts: Optional[ResourceOptions] = None,
ipam_pool_id: Optional[str] = None,
address_prefixes: Optional[Sequence[str]] = None,
name: Optional[str] = None,
number_of_ip_addresses_to_allocate: Optional[str] = None)func NewNetworkManagerIpamPoolStaticCidr(ctx *Context, name string, args NetworkManagerIpamPoolStaticCidrArgs, opts ...ResourceOption) (*NetworkManagerIpamPoolStaticCidr, error)public NetworkManagerIpamPoolStaticCidr(string name, NetworkManagerIpamPoolStaticCidrArgs args, CustomResourceOptions? opts = null)
public NetworkManagerIpamPoolStaticCidr(String name, NetworkManagerIpamPoolStaticCidrArgs args)
public NetworkManagerIpamPoolStaticCidr(String name, NetworkManagerIpamPoolStaticCidrArgs args, CustomResourceOptions options)
type: azure:network:NetworkManagerIpamPoolStaticCidr
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args NetworkManagerIpamPoolStaticCidrArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NetworkManagerIpamPoolStaticCidrArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NetworkManagerIpamPoolStaticCidrArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkManagerIpamPoolStaticCidrArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkManagerIpamPoolStaticCidrArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var networkManagerIpamPoolStaticCidrResource = new Azure.Network.NetworkManagerIpamPoolStaticCidr("networkManagerIpamPoolStaticCidrResource", new()
{
IpamPoolId = "string",
AddressPrefixes = new[]
{
"string",
},
Name = "string",
NumberOfIpAddressesToAllocate = "string",
});
example, err := network.NewNetworkManagerIpamPoolStaticCidr(ctx, "networkManagerIpamPoolStaticCidrResource", &network.NetworkManagerIpamPoolStaticCidrArgs{
IpamPoolId: pulumi.String("string"),
AddressPrefixes: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
NumberOfIpAddressesToAllocate: pulumi.String("string"),
})
var networkManagerIpamPoolStaticCidrResource = new NetworkManagerIpamPoolStaticCidr("networkManagerIpamPoolStaticCidrResource", NetworkManagerIpamPoolStaticCidrArgs.builder()
.ipamPoolId("string")
.addressPrefixes("string")
.name("string")
.numberOfIpAddressesToAllocate("string")
.build());
network_manager_ipam_pool_static_cidr_resource = azure.network.NetworkManagerIpamPoolStaticCidr("networkManagerIpamPoolStaticCidrResource",
ipam_pool_id="string",
address_prefixes=["string"],
name="string",
number_of_ip_addresses_to_allocate="string")
const networkManagerIpamPoolStaticCidrResource = new azure.network.NetworkManagerIpamPoolStaticCidr("networkManagerIpamPoolStaticCidrResource", {
ipamPoolId: "string",
addressPrefixes: ["string"],
name: "string",
numberOfIpAddressesToAllocate: "string",
});
type: azure:network:NetworkManagerIpamPoolStaticCidr
properties:
addressPrefixes:
- string
ipamPoolId: string
name: string
numberOfIpAddressesToAllocate: string
NetworkManagerIpamPoolStaticCidr Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NetworkManagerIpamPoolStaticCidr resource accepts the following input properties:
- Ipam
Pool stringId - The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- Address
Prefixes List<string> Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.- Name string
- The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- Number
Of stringIp Addresses To Allocate The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g.,
"16".Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.
- Ipam
Pool stringId - The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- Address
Prefixes []string Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.- Name string
- The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- Number
Of stringIp Addresses To Allocate The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g.,
"16".Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.
- ipam
Pool StringId - The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- address
Prefixes List<String> Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.- name String
- The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- number
Of StringIp Addresses To Allocate The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g.,
"16".Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.
- ipam
Pool stringId - The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- address
Prefixes string[] Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.- name string
- The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- number
Of stringIp Addresses To Allocate The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g.,
"16".Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.
- ipam_
pool_ strid - The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- address_
prefixes Sequence[str] Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.- name str
- The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- number_
of_ strip_ addresses_ to_ allocate The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g.,
"16".Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.
- ipam
Pool StringId - The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- address
Prefixes List<String> Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.- name String
- The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- number
Of StringIp Addresses To Allocate The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g.,
"16".Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkManagerIpamPoolStaticCidr resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing NetworkManagerIpamPoolStaticCidr Resource
Get an existing NetworkManagerIpamPoolStaticCidr resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NetworkManagerIpamPoolStaticCidrState, opts?: CustomResourceOptions): NetworkManagerIpamPoolStaticCidr@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address_prefixes: Optional[Sequence[str]] = None,
ipam_pool_id: Optional[str] = None,
name: Optional[str] = None,
number_of_ip_addresses_to_allocate: Optional[str] = None) -> NetworkManagerIpamPoolStaticCidrfunc GetNetworkManagerIpamPoolStaticCidr(ctx *Context, name string, id IDInput, state *NetworkManagerIpamPoolStaticCidrState, opts ...ResourceOption) (*NetworkManagerIpamPoolStaticCidr, error)public static NetworkManagerIpamPoolStaticCidr Get(string name, Input<string> id, NetworkManagerIpamPoolStaticCidrState? state, CustomResourceOptions? opts = null)public static NetworkManagerIpamPoolStaticCidr get(String name, Output<String> id, NetworkManagerIpamPoolStaticCidrState state, CustomResourceOptions options)resources: _: type: azure:network:NetworkManagerIpamPoolStaticCidr get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Address
Prefixes List<string> Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.- Ipam
Pool stringId - The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- Name string
- The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- Number
Of stringIp Addresses To Allocate The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g.,
"16".Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.
- Address
Prefixes []string Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.- Ipam
Pool stringId - The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- Name string
- The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- Number
Of stringIp Addresses To Allocate The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g.,
"16".Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.
- address
Prefixes List<String> Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.- ipam
Pool StringId - The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- name String
- The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- number
Of StringIp Addresses To Allocate The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g.,
"16".Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.
- address
Prefixes string[] Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.- ipam
Pool stringId - The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- name string
- The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- number
Of stringIp Addresses To Allocate The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g.,
"16".Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.
- address_
prefixes Sequence[str] Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.- ipam_
pool_ strid - The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- name str
- The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- number_
of_ strip_ addresses_ to_ allocate The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g.,
"16".Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.
- address
Prefixes List<String> Specifies a list of IPv4 or IPv6 IP address prefixes which will be allocated to the Static CIDR.
Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.- ipam
Pool StringId - The ID of the Network Manager IP Address Management (IPAM) Pool. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- name String
- The name which should be used for this Network Manager IPAM Pool Static CIDR. Changing this forces a new Network Manager IPAM Pool Static CIDR to be created.
- number
Of StringIp Addresses To Allocate The number of IP addresses to allocate to the Static CIDR. The value must be a string representing a positive integer which is a positive power of 2, e.g.,
"16".Note: Exactly one of
address_prefixesornumber_of_ip_addresses_to_allocatemust be specified.
Import
Network Manager IPAM Pool Static CIDRs can be imported using the resource id, e.g.
$ pulumi import azure:network/networkManagerIpamPoolStaticCidr:NetworkManagerIpamPoolStaticCidr example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/manager1/ipamPools/pool1/staticCidrs/cidr1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
