1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. vpc
  5. IpamIpamPoolAllocation
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.vpc.IpamIpamPoolAllocation

Explore with Pulumi AI

Provides a Vpc Ipam Ipam Pool Allocation resource.

Allocates or reserves a CIDR from an IPAM address pool.

For information about Vpc Ipam Ipam Pool Allocation and how to use it, see What is Ipam Pool Allocation.

NOTE: Available since v1.238.0.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const defaultIpam = new alicloud.vpc.IpamIpam("defaultIpam", {operatingRegionLists: ["cn-hangzhou"]});
const defaultIpamPool = new alicloud.vpc.IpamIpamPool("defaultIpamPool", {
    ipamScopeId: defaultIpam.privateDefaultScopeId,
    poolRegionId: "cn-hangzhou",
});
const defaultIpamPoolCidr = new alicloud.vpc.IpamIpamPoolCidr("defaultIpamPoolCidr", {
    cidr: "10.0.0.0/8",
    ipamPoolId: defaultIpamPool.id,
});
const _default = new alicloud.vpc.IpamIpamPoolAllocation("default", {
    ipamPoolAllocationDescription: "init alloc desc",
    ipamPoolAllocationName: name,
    cidr: "10.0.0.0/20",
    ipamPoolId: defaultIpamPoolCidr.ipamPoolId,
});
Copy
import pulumi
import pulumi_alicloud as alicloud

config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "terraform-example"
default_ipam = alicloud.vpc.IpamIpam("defaultIpam", operating_region_lists=["cn-hangzhou"])
default_ipam_pool = alicloud.vpc.IpamIpamPool("defaultIpamPool",
    ipam_scope_id=default_ipam.private_default_scope_id,
    pool_region_id="cn-hangzhou")
default_ipam_pool_cidr = alicloud.vpc.IpamIpamPoolCidr("defaultIpamPoolCidr",
    cidr="10.0.0.0/8",
    ipam_pool_id=default_ipam_pool.id)
default = alicloud.vpc.IpamIpamPoolAllocation("default",
    ipam_pool_allocation_description="init alloc desc",
    ipam_pool_allocation_name=name,
    cidr="10.0.0.0/20",
    ipam_pool_id=default_ipam_pool_cidr.ipam_pool_id)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultIpam, err := vpc.NewIpamIpam(ctx, "defaultIpam", &vpc.IpamIpamArgs{
			OperatingRegionLists: pulumi.StringArray{
				pulumi.String("cn-hangzhou"),
			},
		})
		if err != nil {
			return err
		}
		defaultIpamPool, err := vpc.NewIpamIpamPool(ctx, "defaultIpamPool", &vpc.IpamIpamPoolArgs{
			IpamScopeId:  defaultIpam.PrivateDefaultScopeId,
			PoolRegionId: pulumi.String("cn-hangzhou"),
		})
		if err != nil {
			return err
		}
		defaultIpamPoolCidr, err := vpc.NewIpamIpamPoolCidr(ctx, "defaultIpamPoolCidr", &vpc.IpamIpamPoolCidrArgs{
			Cidr:       pulumi.String("10.0.0.0/8"),
			IpamPoolId: defaultIpamPool.ID(),
		})
		if err != nil {
			return err
		}
		_, err = vpc.NewIpamIpamPoolAllocation(ctx, "default", &vpc.IpamIpamPoolAllocationArgs{
			IpamPoolAllocationDescription: pulumi.String("init alloc desc"),
			IpamPoolAllocationName:        pulumi.String(name),
			Cidr:                          pulumi.String("10.0.0.0/20"),
			IpamPoolId:                    defaultIpamPoolCidr.IpamPoolId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.Get("name") ?? "terraform-example";
    var defaultIpam = new AliCloud.Vpc.IpamIpam("defaultIpam", new()
    {
        OperatingRegionLists = new[]
        {
            "cn-hangzhou",
        },
    });

    var defaultIpamPool = new AliCloud.Vpc.IpamIpamPool("defaultIpamPool", new()
    {
        IpamScopeId = defaultIpam.PrivateDefaultScopeId,
        PoolRegionId = "cn-hangzhou",
    });

    var defaultIpamPoolCidr = new AliCloud.Vpc.IpamIpamPoolCidr("defaultIpamPoolCidr", new()
    {
        Cidr = "10.0.0.0/8",
        IpamPoolId = defaultIpamPool.Id,
    });

    var @default = new AliCloud.Vpc.IpamIpamPoolAllocation("default", new()
    {
        IpamPoolAllocationDescription = "init alloc desc",
        IpamPoolAllocationName = name,
        Cidr = "10.0.0.0/20",
        IpamPoolId = defaultIpamPoolCidr.IpamPoolId,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.vpc.IpamIpam;
import com.pulumi.alicloud.vpc.IpamIpamArgs;
import com.pulumi.alicloud.vpc.IpamIpamPool;
import com.pulumi.alicloud.vpc.IpamIpamPoolArgs;
import com.pulumi.alicloud.vpc.IpamIpamPoolCidr;
import com.pulumi.alicloud.vpc.IpamIpamPoolCidrArgs;
import com.pulumi.alicloud.vpc.IpamIpamPoolAllocation;
import com.pulumi.alicloud.vpc.IpamIpamPoolAllocationArgs;
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) {
        final var config = ctx.config();
        final var name = config.get("name").orElse("terraform-example");
        var defaultIpam = new IpamIpam("defaultIpam", IpamIpamArgs.builder()
            .operatingRegionLists("cn-hangzhou")
            .build());

        var defaultIpamPool = new IpamIpamPool("defaultIpamPool", IpamIpamPoolArgs.builder()
            .ipamScopeId(defaultIpam.privateDefaultScopeId())
            .poolRegionId("cn-hangzhou")
            .build());

        var defaultIpamPoolCidr = new IpamIpamPoolCidr("defaultIpamPoolCidr", IpamIpamPoolCidrArgs.builder()
            .cidr("10.0.0.0/8")
            .ipamPoolId(defaultIpamPool.id())
            .build());

        var default_ = new IpamIpamPoolAllocation("default", IpamIpamPoolAllocationArgs.builder()
            .ipamPoolAllocationDescription("init alloc desc")
            .ipamPoolAllocationName(name)
            .cidr("10.0.0.0/20")
            .ipamPoolId(defaultIpamPoolCidr.ipamPoolId())
            .build());

    }
}
Copy
configuration:
  name:
    type: string
    default: terraform-example
resources:
  defaultIpam:
    type: alicloud:vpc:IpamIpam
    properties:
      operatingRegionLists:
        - cn-hangzhou
  defaultIpamPool:
    type: alicloud:vpc:IpamIpamPool
    properties:
      ipamScopeId: ${defaultIpam.privateDefaultScopeId}
      poolRegionId: cn-hangzhou
  defaultIpamPoolCidr:
    type: alicloud:vpc:IpamIpamPoolCidr
    properties:
      cidr: 10.0.0.0/8
      ipamPoolId: ${defaultIpamPool.id}
  default:
    type: alicloud:vpc:IpamIpamPoolAllocation
    properties:
      ipamPoolAllocationDescription: init alloc desc
      ipamPoolAllocationName: ${name}
      cidr: 10.0.0.0/20
      ipamPoolId: ${defaultIpamPoolCidr.ipamPoolId}
Copy

Create IpamIpamPoolAllocation Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new IpamIpamPoolAllocation(name: string, args: IpamIpamPoolAllocationArgs, opts?: CustomResourceOptions);
@overload
def IpamIpamPoolAllocation(resource_name: str,
                           args: IpamIpamPoolAllocationArgs,
                           opts: Optional[ResourceOptions] = None)

@overload
def IpamIpamPoolAllocation(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           ipam_pool_id: Optional[str] = None,
                           cidr: Optional[str] = None,
                           cidr_mask: Optional[int] = None,
                           ipam_pool_allocation_description: Optional[str] = None,
                           ipam_pool_allocation_name: Optional[str] = None)
func NewIpamIpamPoolAllocation(ctx *Context, name string, args IpamIpamPoolAllocationArgs, opts ...ResourceOption) (*IpamIpamPoolAllocation, error)
public IpamIpamPoolAllocation(string name, IpamIpamPoolAllocationArgs args, CustomResourceOptions? opts = null)
public IpamIpamPoolAllocation(String name, IpamIpamPoolAllocationArgs args)
public IpamIpamPoolAllocation(String name, IpamIpamPoolAllocationArgs args, CustomResourceOptions options)
type: alicloud:vpc:IpamIpamPoolAllocation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IpamIpamPoolAllocationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IpamIpamPoolAllocationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IpamIpamPoolAllocationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IpamIpamPoolAllocationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IpamIpamPoolAllocationArgs
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 ipamIpamPoolAllocationResource = new AliCloud.Vpc.IpamIpamPoolAllocation("ipamIpamPoolAllocationResource", new()
{
    IpamPoolId = "string",
    Cidr = "string",
    CidrMask = 0,
    IpamPoolAllocationDescription = "string",
    IpamPoolAllocationName = "string",
});
Copy
example, err := vpc.NewIpamIpamPoolAllocation(ctx, "ipamIpamPoolAllocationResource", &vpc.IpamIpamPoolAllocationArgs{
	IpamPoolId:                    pulumi.String("string"),
	Cidr:                          pulumi.String("string"),
	CidrMask:                      pulumi.Int(0),
	IpamPoolAllocationDescription: pulumi.String("string"),
	IpamPoolAllocationName:        pulumi.String("string"),
})
Copy
var ipamIpamPoolAllocationResource = new IpamIpamPoolAllocation("ipamIpamPoolAllocationResource", IpamIpamPoolAllocationArgs.builder()
    .ipamPoolId("string")
    .cidr("string")
    .cidrMask(0)
    .ipamPoolAllocationDescription("string")
    .ipamPoolAllocationName("string")
    .build());
Copy
ipam_ipam_pool_allocation_resource = alicloud.vpc.IpamIpamPoolAllocation("ipamIpamPoolAllocationResource",
    ipam_pool_id="string",
    cidr="string",
    cidr_mask=0,
    ipam_pool_allocation_description="string",
    ipam_pool_allocation_name="string")
Copy
const ipamIpamPoolAllocationResource = new alicloud.vpc.IpamIpamPoolAllocation("ipamIpamPoolAllocationResource", {
    ipamPoolId: "string",
    cidr: "string",
    cidrMask: 0,
    ipamPoolAllocationDescription: "string",
    ipamPoolAllocationName: "string",
});
Copy
type: alicloud:vpc:IpamIpamPoolAllocation
properties:
    cidr: string
    cidrMask: 0
    ipamPoolAllocationDescription: string
    ipamPoolAllocationName: string
    ipamPoolId: string
Copy

IpamIpamPoolAllocation 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 IpamIpamPoolAllocation resource accepts the following input properties:

IpamPoolId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the IPAM Pool.
Cidr Changes to this property will trigger replacement. string
The allocated address segment.
CidrMask int

Create a custom reserved network segment from The IPAM address pool by entering a mask.

NOTE: Enter at least one of Cidr or **CidrMask.

IpamPoolAllocationDescription string
The description of the ipam pool alloctaion. It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
IpamPoolAllocationName string
The name of the ipam pool allocation. It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
IpamPoolId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the IPAM Pool.
Cidr Changes to this property will trigger replacement. string
The allocated address segment.
CidrMask int

Create a custom reserved network segment from The IPAM address pool by entering a mask.

NOTE: Enter at least one of Cidr or **CidrMask.

IpamPoolAllocationDescription string
The description of the ipam pool alloctaion. It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
IpamPoolAllocationName string
The name of the ipam pool allocation. It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
ipamPoolId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the IPAM Pool.
cidr Changes to this property will trigger replacement. String
The allocated address segment.
cidrMask Integer

Create a custom reserved network segment from The IPAM address pool by entering a mask.

NOTE: Enter at least one of Cidr or **CidrMask.

ipamPoolAllocationDescription String
The description of the ipam pool alloctaion. It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
ipamPoolAllocationName String
The name of the ipam pool allocation. It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
ipamPoolId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the IPAM Pool.
cidr Changes to this property will trigger replacement. string
The allocated address segment.
cidrMask number

Create a custom reserved network segment from The IPAM address pool by entering a mask.

NOTE: Enter at least one of Cidr or **CidrMask.

ipamPoolAllocationDescription string
The description of the ipam pool alloctaion. It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
ipamPoolAllocationName string
The name of the ipam pool allocation. It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
ipam_pool_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the IPAM Pool.
cidr Changes to this property will trigger replacement. str
The allocated address segment.
cidr_mask int

Create a custom reserved network segment from The IPAM address pool by entering a mask.

NOTE: Enter at least one of Cidr or **CidrMask.

ipam_pool_allocation_description str
The description of the ipam pool alloctaion. It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
ipam_pool_allocation_name str
The name of the ipam pool allocation. It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
ipamPoolId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the IPAM Pool.
cidr Changes to this property will trigger replacement. String
The allocated address segment.
cidrMask Number

Create a custom reserved network segment from The IPAM address pool by entering a mask.

NOTE: Enter at least one of Cidr or **CidrMask.

ipamPoolAllocationDescription String
The description of the ipam pool alloctaion. It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
ipamPoolAllocationName String
The name of the ipam pool allocation. It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.

Outputs

All input properties are implicitly available as output properties. Additionally, the IpamIpamPoolAllocation resource produces the following output properties:

CreateTime string
Instance creation time.
Id string
The provider-assigned unique ID for this managed resource.
RegionId string
When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region. When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
Status string
The status of the instance. Value:
CreateTime string
Instance creation time.
Id string
The provider-assigned unique ID for this managed resource.
RegionId string
When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region. When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
Status string
The status of the instance. Value:
createTime String
Instance creation time.
id String
The provider-assigned unique ID for this managed resource.
regionId String
When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region. When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
status String
The status of the instance. Value:
createTime string
Instance creation time.
id string
The provider-assigned unique ID for this managed resource.
regionId string
When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region. When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
status string
The status of the instance. Value:
create_time str
Instance creation time.
id str
The provider-assigned unique ID for this managed resource.
region_id str
When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region. When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
status str
The status of the instance. Value:
createTime String
Instance creation time.
id String
The provider-assigned unique ID for this managed resource.
regionId String
When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region. When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
status String
The status of the instance. Value:

Look up Existing IpamIpamPoolAllocation Resource

Get an existing IpamIpamPoolAllocation 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?: IpamIpamPoolAllocationState, opts?: CustomResourceOptions): IpamIpamPoolAllocation
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cidr: Optional[str] = None,
        cidr_mask: Optional[int] = None,
        create_time: Optional[str] = None,
        ipam_pool_allocation_description: Optional[str] = None,
        ipam_pool_allocation_name: Optional[str] = None,
        ipam_pool_id: Optional[str] = None,
        region_id: Optional[str] = None,
        status: Optional[str] = None) -> IpamIpamPoolAllocation
func GetIpamIpamPoolAllocation(ctx *Context, name string, id IDInput, state *IpamIpamPoolAllocationState, opts ...ResourceOption) (*IpamIpamPoolAllocation, error)
public static IpamIpamPoolAllocation Get(string name, Input<string> id, IpamIpamPoolAllocationState? state, CustomResourceOptions? opts = null)
public static IpamIpamPoolAllocation get(String name, Output<String> id, IpamIpamPoolAllocationState state, CustomResourceOptions options)
resources:  _:    type: alicloud:vpc:IpamIpamPoolAllocation    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
Cidr Changes to this property will trigger replacement. string
The allocated address segment.
CidrMask int

Create a custom reserved network segment from The IPAM address pool by entering a mask.

NOTE: Enter at least one of Cidr or **CidrMask.

CreateTime string
Instance creation time.
IpamPoolAllocationDescription string
The description of the ipam pool alloctaion. It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
IpamPoolAllocationName string
The name of the ipam pool allocation. It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
IpamPoolId Changes to this property will trigger replacement. string
The ID of the IPAM Pool.
RegionId string
When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region. When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
Status string
The status of the instance. Value:
Cidr Changes to this property will trigger replacement. string
The allocated address segment.
CidrMask int

Create a custom reserved network segment from The IPAM address pool by entering a mask.

NOTE: Enter at least one of Cidr or **CidrMask.

CreateTime string
Instance creation time.
IpamPoolAllocationDescription string
The description of the ipam pool alloctaion. It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
IpamPoolAllocationName string
The name of the ipam pool allocation. It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
IpamPoolId Changes to this property will trigger replacement. string
The ID of the IPAM Pool.
RegionId string
When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region. When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
Status string
The status of the instance. Value:
cidr Changes to this property will trigger replacement. String
The allocated address segment.
cidrMask Integer

Create a custom reserved network segment from The IPAM address pool by entering a mask.

NOTE: Enter at least one of Cidr or **CidrMask.

createTime String
Instance creation time.
ipamPoolAllocationDescription String
The description of the ipam pool alloctaion. It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
ipamPoolAllocationName String
The name of the ipam pool allocation. It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
ipamPoolId Changes to this property will trigger replacement. String
The ID of the IPAM Pool.
regionId String
When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region. When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
status String
The status of the instance. Value:
cidr Changes to this property will trigger replacement. string
The allocated address segment.
cidrMask number

Create a custom reserved network segment from The IPAM address pool by entering a mask.

NOTE: Enter at least one of Cidr or **CidrMask.

createTime string
Instance creation time.
ipamPoolAllocationDescription string
The description of the ipam pool alloctaion. It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
ipamPoolAllocationName string
The name of the ipam pool allocation. It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
ipamPoolId Changes to this property will trigger replacement. string
The ID of the IPAM Pool.
regionId string
When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region. When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
status string
The status of the instance. Value:
cidr Changes to this property will trigger replacement. str
The allocated address segment.
cidr_mask int

Create a custom reserved network segment from The IPAM address pool by entering a mask.

NOTE: Enter at least one of Cidr or **CidrMask.

create_time str
Instance creation time.
ipam_pool_allocation_description str
The description of the ipam pool alloctaion. It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
ipam_pool_allocation_name str
The name of the ipam pool allocation. It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
ipam_pool_id Changes to this property will trigger replacement. str
The ID of the IPAM Pool.
region_id str
When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region. When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
status str
The status of the instance. Value:
cidr Changes to this property will trigger replacement. String
The allocated address segment.
cidrMask Number

Create a custom reserved network segment from The IPAM address pool by entering a mask.

NOTE: Enter at least one of Cidr or **CidrMask.

createTime String
Instance creation time.
ipamPoolAllocationDescription String
The description of the ipam pool alloctaion. It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
ipamPoolAllocationName String
The name of the ipam pool allocation. It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
ipamPoolId Changes to this property will trigger replacement. String
The ID of the IPAM Pool.
regionId String
When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region. When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
status String
The status of the instance. Value:

Import

Vpc Ipam Ipam Pool Allocation can be imported using the id, e.g.

$ pulumi import alicloud:vpc/ipamIpamPoolAllocation:IpamIpamPoolAllocation example <id>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.