published on Monday, Aug 24, 2026 by Volcengine
published on Monday, Aug 24, 2026 by Volcengine
IPAM address pool
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const example = new volcenginecc.vpc.IpamPool("example", {
ipamScopeId: "ipam-scope-xxxxxx",
ipVersion: "IPv4",
poolRegionId: "cn-beijing",
projectName: "default",
ipamPoolName: "tf-ipam-pool-full",
description: "created by terraform full case",
autoImport: true,
allocationDefaultCidrMask: 24,
allocationMinCidrMask: 16,
allocationMaxCidrMask: 28,
tags: [
{
key: "case",
value: "tf-c02",
},
{
key: "env",
value: "terraform",
},
],
});
import pulumi
import pulumi_volcenginecc as volcenginecc
example = volcenginecc.vpc.IpamPool("example",
ipam_scope_id="ipam-scope-xxxxxx",
ip_version="IPv4",
pool_region_id="cn-beijing",
project_name="default",
ipam_pool_name="tf-ipam-pool-full",
description="created by terraform full case",
auto_import=True,
allocation_default_cidr_mask=24,
allocation_min_cidr_mask=16,
allocation_max_cidr_mask=28,
tags=[
{
"key": "case",
"value": "tf-c02",
},
{
"key": "env",
"value": "terraform",
},
])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vpc.NewIpamPool(ctx, "example", &vpc.IpamPoolArgs{
IpamScopeId: pulumi.String("ipam-scope-xxxxxx"),
IpVersion: pulumi.String("IPv4"),
PoolRegionId: pulumi.String("cn-beijing"),
ProjectName: pulumi.String("default"),
IpamPoolName: pulumi.String("tf-ipam-pool-full"),
Description: pulumi.String("created by terraform full case"),
AutoImport: pulumi.Bool(true),
AllocationDefaultCidrMask: pulumi.Int(24),
AllocationMinCidrMask: pulumi.Int(16),
AllocationMaxCidrMask: pulumi.Int(28),
Tags: vpc.IpamPoolTagArray{
&vpc.IpamPoolTagArgs{
Key: pulumi.String("case"),
Value: pulumi.String("tf-c02"),
},
&vpc.IpamPoolTagArgs{
Key: pulumi.String("env"),
Value: pulumi.String("terraform"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var example = new Volcenginecc.Vpc.IpamPool("example", new()
{
IpamScopeId = "ipam-scope-xxxxxx",
IpVersion = "IPv4",
PoolRegionId = "cn-beijing",
ProjectName = "default",
IpamPoolName = "tf-ipam-pool-full",
Description = "created by terraform full case",
AutoImport = true,
AllocationDefaultCidrMask = 24,
AllocationMinCidrMask = 16,
AllocationMaxCidrMask = 28,
Tags = new[]
{
new Volcenginecc.Vpc.Inputs.IpamPoolTagArgs
{
Key = "case",
Value = "tf-c02",
},
new Volcenginecc.Vpc.Inputs.IpamPoolTagArgs
{
Key = "env",
Value = "terraform",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.vpc.IpamPool;
import com.volcengine.volcenginecc.vpc.IpamPoolArgs;
import com.pulumi.volcenginecc.vpc.inputs.IpamPoolTagArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 IpamPool("example", IpamPoolArgs.builder()
.ipamScopeId("ipam-scope-xxxxxx")
.ipVersion("IPv4")
.poolRegionId("cn-beijing")
.projectName("default")
.ipamPoolName("tf-ipam-pool-full")
.description("created by terraform full case")
.autoImport(true)
.allocationDefaultCidrMask(24)
.allocationMinCidrMask(16)
.allocationMaxCidrMask(28)
.tags(
IpamPoolTagArgs.builder()
.key("case")
.value("tf-c02")
.build(),
IpamPoolTagArgs.builder()
.key("env")
.value("terraform")
.build())
.build());
}
}
resources:
example:
type: volcenginecc:vpc:IpamPool
properties:
ipamScopeId: ipam-scope-xxxxxx
ipVersion: IPv4
poolRegionId: cn-beijing
projectName: default
ipamPoolName: tf-ipam-pool-full
description: created by terraform full case
autoImport: true
allocationDefaultCidrMask: 24
allocationMinCidrMask: 16
allocationMaxCidrMask: 28
tags:
- key: case
value: tf-c02
- key: env
value: terraform
pulumi {
required_providers {
volcenginecc = {
source = "pulumi/volcenginecc"
}
}
}
resource "volcenginecc_vpc_ipampool" "example" {
ipam_scope_id = "ipam-scope-xxxxxx"
ip_version = "IPv4"
pool_region_id = "cn-beijing"
project_name = "default"
ipam_pool_name = "tf-ipam-pool-full"
description = "created by terraform full case"
auto_import = true
allocation_default_cidr_mask = 24
allocation_min_cidr_mask = 16
allocation_max_cidr_mask = 28
tags {
key = "case"
value = "tf-c02"
}
tags {
key = "env"
value = "terraform"
}
}
Create IpamPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IpamPool(name: string, args: IpamPoolArgs, opts?: CustomResourceOptions);@overload
def IpamPool(resource_name: str,
args: IpamPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IpamPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
ip_version: Optional[str] = None,
ipam_scope_id: Optional[str] = None,
auto_import: Optional[bool] = None,
allocation_default_cidr_mask: Optional[int] = None,
clear_allocation_default_cidr_mask: Optional[bool] = None,
description: Optional[str] = None,
allocation_min_cidr_mask: Optional[int] = None,
ipam_pool_name: Optional[str] = None,
allocation_max_cidr_mask: Optional[int] = None,
pool_region_id: Optional[str] = None,
project_name: Optional[str] = None,
source_ipam_pool_id: Optional[str] = None,
tags: Optional[Sequence[IpamPoolTagArgs]] = None)func NewIpamPool(ctx *Context, name string, args IpamPoolArgs, opts ...ResourceOption) (*IpamPool, error)public IpamPool(string name, IpamPoolArgs args, CustomResourceOptions? opts = null)
public IpamPool(String name, IpamPoolArgs args)
public IpamPool(String name, IpamPoolArgs args, CustomResourceOptions options)
type: volcenginecc:vpc:IpamPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_vpc_ipam_pool" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IpamPoolArgs
- 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 IpamPoolArgs
- 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 IpamPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IpamPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IpamPoolArgs
- 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 ipamPoolResource = new Volcenginecc.Vpc.IpamPool("ipamPoolResource", new()
{
IpVersion = "string",
IpamScopeId = "string",
AutoImport = false,
AllocationDefaultCidrMask = 0,
ClearAllocationDefaultCidrMask = false,
Description = "string",
AllocationMinCidrMask = 0,
IpamPoolName = "string",
AllocationMaxCidrMask = 0,
PoolRegionId = "string",
ProjectName = "string",
SourceIpamPoolId = "string",
Tags = new[]
{
new Volcenginecc.Vpc.Inputs.IpamPoolTagArgs
{
Key = "string",
Value = "string",
},
},
});
example, err := vpc.NewIpamPool(ctx, "ipamPoolResource", &vpc.IpamPoolArgs{
IpVersion: pulumi.String("string"),
IpamScopeId: pulumi.String("string"),
AutoImport: pulumi.Bool(false),
AllocationDefaultCidrMask: pulumi.Int(0),
ClearAllocationDefaultCidrMask: pulumi.Bool(false),
Description: pulumi.String("string"),
AllocationMinCidrMask: pulumi.Int(0),
IpamPoolName: pulumi.String("string"),
AllocationMaxCidrMask: pulumi.Int(0),
PoolRegionId: pulumi.String("string"),
ProjectName: pulumi.String("string"),
SourceIpamPoolId: pulumi.String("string"),
Tags: vpc.IpamPoolTagArray{
&vpc.IpamPoolTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
resource "volcenginecc_vpc_ipam_pool" "ipamPoolResource" {
lifecycle {
create_before_destroy = true
}
ip_version = "string"
ipam_scope_id = "string"
auto_import = false
allocation_default_cidr_mask = 0
clear_allocation_default_cidr_mask = false
description = "string"
allocation_min_cidr_mask = 0
ipam_pool_name = "string"
allocation_max_cidr_mask = 0
pool_region_id = "string"
project_name = "string"
source_ipam_pool_id = "string"
tags {
key = "string"
value = "string"
}
}
var ipamPoolResource = new IpamPool("ipamPoolResource", IpamPoolArgs.builder()
.ipVersion("string")
.ipamScopeId("string")
.autoImport(false)
.allocationDefaultCidrMask(0)
.clearAllocationDefaultCidrMask(false)
.description("string")
.allocationMinCidrMask(0)
.ipamPoolName("string")
.allocationMaxCidrMask(0)
.poolRegionId("string")
.projectName("string")
.sourceIpamPoolId("string")
.tags(IpamPoolTagArgs.builder()
.key("string")
.value("string")
.build())
.build());
ipam_pool_resource = volcenginecc.vpc.IpamPool("ipamPoolResource",
ip_version="string",
ipam_scope_id="string",
auto_import=False,
allocation_default_cidr_mask=0,
clear_allocation_default_cidr_mask=False,
description="string",
allocation_min_cidr_mask=0,
ipam_pool_name="string",
allocation_max_cidr_mask=0,
pool_region_id="string",
project_name="string",
source_ipam_pool_id="string",
tags=[{
"key": "string",
"value": "string",
}])
const ipamPoolResource = new volcenginecc.vpc.IpamPool("ipamPoolResource", {
ipVersion: "string",
ipamScopeId: "string",
autoImport: false,
allocationDefaultCidrMask: 0,
clearAllocationDefaultCidrMask: false,
description: "string",
allocationMinCidrMask: 0,
ipamPoolName: "string",
allocationMaxCidrMask: 0,
poolRegionId: "string",
projectName: "string",
sourceIpamPoolId: "string",
tags: [{
key: "string",
value: "string",
}],
});
type: volcenginecc:vpc:IpamPool
properties:
allocationDefaultCidrMask: 0
allocationMaxCidrMask: 0
allocationMinCidrMask: 0
autoImport: false
clearAllocationDefaultCidrMask: false
description: string
ipVersion: string
ipamPoolName: string
ipamScopeId: string
poolRegionId: string
projectName: string
sourceIpamPoolId: string
tags:
- key: string
value: string
IpamPool 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 IpamPool resource accepts the following input properties:
- Ip
Version string - Address pool IP version
- Ipam
Scope stringId - IPAM scope ID
- Allocation
Default intCidr Mask - Default mask length when allocating CIDR
- Allocation
Max intCidr Mask - Maximum allocation mask bits
- Allocation
Min intCidr Mask - Minimum allocation mask bits
- Auto
Import bool - Whether to automatically import resources
- Clear
Allocation boolDefault Cidr Mask - Whether to clear the default network mask of the IPAM address pool. ClearAllocationDefaultCidrMask and AllocationDefaultCidrMask cannot be used together
- Description string
- IPAM address pool description
- Ipam
Pool stringName - IPAM address pool name
- Pool
Region stringId - Address pool region ID
- Project
Name string - IPAM address pool project name
- Source
Ipam stringPool Id - Parent address pool ID
-
List<Volcengine.
Ipam Pool Tag> - IPAM address pool tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Ip
Version string - Address pool IP version
- Ipam
Scope stringId - IPAM scope ID
- Allocation
Default intCidr Mask - Default mask length when allocating CIDR
- Allocation
Max intCidr Mask - Maximum allocation mask bits
- Allocation
Min intCidr Mask - Minimum allocation mask bits
- Auto
Import bool - Whether to automatically import resources
- Clear
Allocation boolDefault Cidr Mask - Whether to clear the default network mask of the IPAM address pool. ClearAllocationDefaultCidrMask and AllocationDefaultCidrMask cannot be used together
- Description string
- IPAM address pool description
- Ipam
Pool stringName - IPAM address pool name
- Pool
Region stringId - Address pool region ID
- Project
Name string - IPAM address pool project name
- Source
Ipam stringPool Id - Parent address pool ID
-
[]Ipam
Pool Tag Args - IPAM address pool tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ip_
version string - Address pool IP version
- ipam_
scope_ stringid - IPAM scope ID
- allocation_
default_ numbercidr_ mask - Default mask length when allocating CIDR
- allocation_
max_ numbercidr_ mask - Maximum allocation mask bits
- allocation_
min_ numbercidr_ mask - Minimum allocation mask bits
- auto_
import bool - Whether to automatically import resources
- clear_
allocation_ booldefault_ cidr_ mask - Whether to clear the default network mask of the IPAM address pool. ClearAllocationDefaultCidrMask and AllocationDefaultCidrMask cannot be used together
- description string
- IPAM address pool description
- ipam_
pool_ stringname - IPAM address pool name
- pool_
region_ stringid - Address pool region ID
- project_
name string - IPAM address pool project name
- source_
ipam_ stringpool_ id - Parent address pool ID
- list(object)
- IPAM address pool tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ip
Version String - Address pool IP version
- ipam
Scope StringId - IPAM scope ID
- allocation
Default IntegerCidr Mask - Default mask length when allocating CIDR
- allocation
Max IntegerCidr Mask - Maximum allocation mask bits
- allocation
Min IntegerCidr Mask - Minimum allocation mask bits
- auto
Import Boolean - Whether to automatically import resources
- clear
Allocation BooleanDefault Cidr Mask - Whether to clear the default network mask of the IPAM address pool. ClearAllocationDefaultCidrMask and AllocationDefaultCidrMask cannot be used together
- description String
- IPAM address pool description
- ipam
Pool StringName - IPAM address pool name
- pool
Region StringId - Address pool region ID
- project
Name String - IPAM address pool project name
- source
Ipam StringPool Id - Parent address pool ID
-
List<Ipam
Pool Tag> - IPAM address pool tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ip
Version string - Address pool IP version
- ipam
Scope stringId - IPAM scope ID
- allocation
Default numberCidr Mask - Default mask length when allocating CIDR
- allocation
Max numberCidr Mask - Maximum allocation mask bits
- allocation
Min numberCidr Mask - Minimum allocation mask bits
- auto
Import boolean - Whether to automatically import resources
- clear
Allocation booleanDefault Cidr Mask - Whether to clear the default network mask of the IPAM address pool. ClearAllocationDefaultCidrMask and AllocationDefaultCidrMask cannot be used together
- description string
- IPAM address pool description
- ipam
Pool stringName - IPAM address pool name
- pool
Region stringId - Address pool region ID
- project
Name string - IPAM address pool project name
- source
Ipam stringPool Id - Parent address pool ID
-
Ipam
Pool Tag[] - IPAM address pool tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ip_
version str - Address pool IP version
- ipam_
scope_ strid - IPAM scope ID
- allocation_
default_ intcidr_ mask - Default mask length when allocating CIDR
- allocation_
max_ intcidr_ mask - Maximum allocation mask bits
- allocation_
min_ intcidr_ mask - Minimum allocation mask bits
- auto_
import bool - Whether to automatically import resources
- clear_
allocation_ booldefault_ cidr_ mask - Whether to clear the default network mask of the IPAM address pool. ClearAllocationDefaultCidrMask and AllocationDefaultCidrMask cannot be used together
- description str
- IPAM address pool description
- ipam_
pool_ strname - IPAM address pool name
- pool_
region_ strid - Address pool region ID
- project_
name str - IPAM address pool project name
- source_
ipam_ strpool_ id - Parent address pool ID
-
Sequence[Ipam
Pool Tag Args] - IPAM address pool tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- ip
Version String - Address pool IP version
- ipam
Scope StringId - IPAM scope ID
- allocation
Default NumberCidr Mask - Default mask length when allocating CIDR
- allocation
Max NumberCidr Mask - Maximum allocation mask bits
- allocation
Min NumberCidr Mask - Minimum allocation mask bits
- auto
Import Boolean - Whether to automatically import resources
- clear
Allocation BooleanDefault Cidr Mask - Whether to clear the default network mask of the IPAM address pool. ClearAllocationDefaultCidrMask and AllocationDefaultCidrMask cannot be used together
- description String
- IPAM address pool description
- ipam
Pool StringName - IPAM address pool name
- pool
Region StringId - Address pool region ID
- project
Name String - IPAM address pool project name
- source
Ipam StringPool Id - Parent address pool ID
- List<Property Map>
- IPAM address pool tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
Outputs
All input properties are implicitly available as output properties. Additionally, the IpamPool resource produces the following output properties:
- Account
Id string - Account ID
- Create
Time string - IPAM address pool creation time
- Has
Sub boolPool - Whether there are child address pools
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipam
Id string - IPAM ID。
- Ipam
Pool stringId - IPAM address pool ID
- Ipam
Region stringId - IPAM region ID
- Ipam
Scope stringType - IPAM scope type
- Pool
Depth int - Address pool depth
- Status string
- IPAM address pool status
- Update
Time string - IPAM address pool update time
- Account
Id string - Account ID
- Create
Time string - IPAM address pool creation time
- Has
Sub boolPool - Whether there are child address pools
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipam
Id string - IPAM ID。
- Ipam
Pool stringId - IPAM address pool ID
- Ipam
Region stringId - IPAM region ID
- Ipam
Scope stringType - IPAM scope type
- Pool
Depth int - Address pool depth
- Status string
- IPAM address pool status
- Update
Time string - IPAM address pool update time
- account_
id string - Account ID
- create_
time string - IPAM address pool creation time
- has_
sub_ boolpool - Whether there are child address pools
- id string
- The provider-assigned unique ID for this managed resource.
- ipam_
id string - IPAM ID。
- ipam_
pool_ stringid - IPAM address pool ID
- ipam_
region_ stringid - IPAM region ID
- ipam_
scope_ stringtype - IPAM scope type
- pool_
depth number - Address pool depth
- status string
- IPAM address pool status
- update_
time string - IPAM address pool update time
- account
Id String - Account ID
- create
Time String - IPAM address pool creation time
- has
Sub BooleanPool - Whether there are child address pools
- id String
- The provider-assigned unique ID for this managed resource.
- ipam
Id String - IPAM ID。
- ipam
Pool StringId - IPAM address pool ID
- ipam
Region StringId - IPAM region ID
- ipam
Scope StringType - IPAM scope type
- pool
Depth Integer - Address pool depth
- status String
- IPAM address pool status
- update
Time String - IPAM address pool update time
- account
Id string - Account ID
- create
Time string - IPAM address pool creation time
- has
Sub booleanPool - Whether there are child address pools
- id string
- The provider-assigned unique ID for this managed resource.
- ipam
Id string - IPAM ID。
- ipam
Pool stringId - IPAM address pool ID
- ipam
Region stringId - IPAM region ID
- ipam
Scope stringType - IPAM scope type
- pool
Depth number - Address pool depth
- status string
- IPAM address pool status
- update
Time string - IPAM address pool update time
- account_
id str - Account ID
- create_
time str - IPAM address pool creation time
- has_
sub_ boolpool - Whether there are child address pools
- id str
- The provider-assigned unique ID for this managed resource.
- ipam_
id str - IPAM ID。
- ipam_
pool_ strid - IPAM address pool ID
- ipam_
region_ strid - IPAM region ID
- ipam_
scope_ strtype - IPAM scope type
- pool_
depth int - Address pool depth
- status str
- IPAM address pool status
- update_
time str - IPAM address pool update time
- account
Id String - Account ID
- create
Time String - IPAM address pool creation time
- has
Sub BooleanPool - Whether there are child address pools
- id String
- The provider-assigned unique ID for this managed resource.
- ipam
Id String - IPAM ID。
- ipam
Pool StringId - IPAM address pool ID
- ipam
Region StringId - IPAM region ID
- ipam
Scope StringType - IPAM scope type
- pool
Depth Number - Address pool depth
- status String
- IPAM address pool status
- update
Time String - IPAM address pool update time
Look up Existing IpamPool Resource
Get an existing IpamPool 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?: IpamPoolState, opts?: CustomResourceOptions): IpamPool@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
allocation_default_cidr_mask: Optional[int] = None,
allocation_max_cidr_mask: Optional[int] = None,
allocation_min_cidr_mask: Optional[int] = None,
auto_import: Optional[bool] = None,
clear_allocation_default_cidr_mask: Optional[bool] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
has_sub_pool: Optional[bool] = None,
ip_version: Optional[str] = None,
ipam_id: Optional[str] = None,
ipam_pool_id: Optional[str] = None,
ipam_pool_name: Optional[str] = None,
ipam_region_id: Optional[str] = None,
ipam_scope_id: Optional[str] = None,
ipam_scope_type: Optional[str] = None,
pool_depth: Optional[int] = None,
pool_region_id: Optional[str] = None,
project_name: Optional[str] = None,
source_ipam_pool_id: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[IpamPoolTagArgs]] = None,
update_time: Optional[str] = None) -> IpamPoolfunc GetIpamPool(ctx *Context, name string, id IDInput, state *IpamPoolState, opts ...ResourceOption) (*IpamPool, error)public static IpamPool Get(string name, Input<string> id, IpamPoolState? state, CustomResourceOptions? opts = null)public static IpamPool get(String name, Output<String> id, IpamPoolState state, CustomResourceOptions options)resources: _: type: volcenginecc:vpc:IpamPool get: id: ${id}import {
to = volcenginecc_vpc_ipam_pool.example
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.
- Account
Id string - Account ID
- Allocation
Default intCidr Mask - Default mask length when allocating CIDR
- Allocation
Max intCidr Mask - Maximum allocation mask bits
- Allocation
Min intCidr Mask - Minimum allocation mask bits
- Auto
Import bool - Whether to automatically import resources
- Clear
Allocation boolDefault Cidr Mask - Whether to clear the default network mask of the IPAM address pool. ClearAllocationDefaultCidrMask and AllocationDefaultCidrMask cannot be used together
- Create
Time string - IPAM address pool creation time
- Description string
- IPAM address pool description
- Has
Sub boolPool - Whether there are child address pools
- Ip
Version string - Address pool IP version
- Ipam
Id string - IPAM ID。
- Ipam
Pool stringId - IPAM address pool ID
- Ipam
Pool stringName - IPAM address pool name
- Ipam
Region stringId - IPAM region ID
- Ipam
Scope stringId - IPAM scope ID
- Ipam
Scope stringType - IPAM scope type
- Pool
Depth int - Address pool depth
- Pool
Region stringId - Address pool region ID
- Project
Name string - IPAM address pool project name
- Source
Ipam stringPool Id - Parent address pool ID
- Status string
- IPAM address pool status
-
List<Volcengine.
Ipam Pool Tag> - IPAM address pool tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Update
Time string - IPAM address pool update time
- Account
Id string - Account ID
- Allocation
Default intCidr Mask - Default mask length when allocating CIDR
- Allocation
Max intCidr Mask - Maximum allocation mask bits
- Allocation
Min intCidr Mask - Minimum allocation mask bits
- Auto
Import bool - Whether to automatically import resources
- Clear
Allocation boolDefault Cidr Mask - Whether to clear the default network mask of the IPAM address pool. ClearAllocationDefaultCidrMask and AllocationDefaultCidrMask cannot be used together
- Create
Time string - IPAM address pool creation time
- Description string
- IPAM address pool description
- Has
Sub boolPool - Whether there are child address pools
- Ip
Version string - Address pool IP version
- Ipam
Id string - IPAM ID。
- Ipam
Pool stringId - IPAM address pool ID
- Ipam
Pool stringName - IPAM address pool name
- Ipam
Region stringId - IPAM region ID
- Ipam
Scope stringId - IPAM scope ID
- Ipam
Scope stringType - IPAM scope type
- Pool
Depth int - Address pool depth
- Pool
Region stringId - Address pool region ID
- Project
Name string - IPAM address pool project name
- Source
Ipam stringPool Id - Parent address pool ID
- Status string
- IPAM address pool status
-
[]Ipam
Pool Tag Args - IPAM address pool tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- Update
Time string - IPAM address pool update time
- account_
id string - Account ID
- allocation_
default_ numbercidr_ mask - Default mask length when allocating CIDR
- allocation_
max_ numbercidr_ mask - Maximum allocation mask bits
- allocation_
min_ numbercidr_ mask - Minimum allocation mask bits
- auto_
import bool - Whether to automatically import resources
- clear_
allocation_ booldefault_ cidr_ mask - Whether to clear the default network mask of the IPAM address pool. ClearAllocationDefaultCidrMask and AllocationDefaultCidrMask cannot be used together
- create_
time string - IPAM address pool creation time
- description string
- IPAM address pool description
- has_
sub_ boolpool - Whether there are child address pools
- ip_
version string - Address pool IP version
- ipam_
id string - IPAM ID。
- ipam_
pool_ stringid - IPAM address pool ID
- ipam_
pool_ stringname - IPAM address pool name
- ipam_
region_ stringid - IPAM region ID
- ipam_
scope_ stringid - IPAM scope ID
- ipam_
scope_ stringtype - IPAM scope type
- pool_
depth number - Address pool depth
- pool_
region_ stringid - Address pool region ID
- project_
name string - IPAM address pool project name
- source_
ipam_ stringpool_ id - Parent address pool ID
- status string
- IPAM address pool status
- list(object)
- IPAM address pool tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- update_
time string - IPAM address pool update time
- account
Id String - Account ID
- allocation
Default IntegerCidr Mask - Default mask length when allocating CIDR
- allocation
Max IntegerCidr Mask - Maximum allocation mask bits
- allocation
Min IntegerCidr Mask - Minimum allocation mask bits
- auto
Import Boolean - Whether to automatically import resources
- clear
Allocation BooleanDefault Cidr Mask - Whether to clear the default network mask of the IPAM address pool. ClearAllocationDefaultCidrMask and AllocationDefaultCidrMask cannot be used together
- create
Time String - IPAM address pool creation time
- description String
- IPAM address pool description
- has
Sub BooleanPool - Whether there are child address pools
- ip
Version String - Address pool IP version
- ipam
Id String - IPAM ID。
- ipam
Pool StringId - IPAM address pool ID
- ipam
Pool StringName - IPAM address pool name
- ipam
Region StringId - IPAM region ID
- ipam
Scope StringId - IPAM scope ID
- ipam
Scope StringType - IPAM scope type
- pool
Depth Integer - Address pool depth
- pool
Region StringId - Address pool region ID
- project
Name String - IPAM address pool project name
- source
Ipam StringPool Id - Parent address pool ID
- status String
- IPAM address pool status
-
List<Ipam
Pool Tag> - IPAM address pool tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- update
Time String - IPAM address pool update time
- account
Id string - Account ID
- allocation
Default numberCidr Mask - Default mask length when allocating CIDR
- allocation
Max numberCidr Mask - Maximum allocation mask bits
- allocation
Min numberCidr Mask - Minimum allocation mask bits
- auto
Import boolean - Whether to automatically import resources
- clear
Allocation booleanDefault Cidr Mask - Whether to clear the default network mask of the IPAM address pool. ClearAllocationDefaultCidrMask and AllocationDefaultCidrMask cannot be used together
- create
Time string - IPAM address pool creation time
- description string
- IPAM address pool description
- has
Sub booleanPool - Whether there are child address pools
- ip
Version string - Address pool IP version
- ipam
Id string - IPAM ID。
- ipam
Pool stringId - IPAM address pool ID
- ipam
Pool stringName - IPAM address pool name
- ipam
Region stringId - IPAM region ID
- ipam
Scope stringId - IPAM scope ID
- ipam
Scope stringType - IPAM scope type
- pool
Depth number - Address pool depth
- pool
Region stringId - Address pool region ID
- project
Name string - IPAM address pool project name
- source
Ipam stringPool Id - Parent address pool ID
- status string
- IPAM address pool status
-
Ipam
Pool Tag[] - IPAM address pool tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- update
Time string - IPAM address pool update time
- account_
id str - Account ID
- allocation_
default_ intcidr_ mask - Default mask length when allocating CIDR
- allocation_
max_ intcidr_ mask - Maximum allocation mask bits
- allocation_
min_ intcidr_ mask - Minimum allocation mask bits
- auto_
import bool - Whether to automatically import resources
- clear_
allocation_ booldefault_ cidr_ mask - Whether to clear the default network mask of the IPAM address pool. ClearAllocationDefaultCidrMask and AllocationDefaultCidrMask cannot be used together
- create_
time str - IPAM address pool creation time
- description str
- IPAM address pool description
- has_
sub_ boolpool - Whether there are child address pools
- ip_
version str - Address pool IP version
- ipam_
id str - IPAM ID。
- ipam_
pool_ strid - IPAM address pool ID
- ipam_
pool_ strname - IPAM address pool name
- ipam_
region_ strid - IPAM region ID
- ipam_
scope_ strid - IPAM scope ID
- ipam_
scope_ strtype - IPAM scope type
- pool_
depth int - Address pool depth
- pool_
region_ strid - Address pool region ID
- project_
name str - IPAM address pool project name
- source_
ipam_ strpool_ id - Parent address pool ID
- status str
- IPAM address pool status
-
Sequence[Ipam
Pool Tag Args] - IPAM address pool tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- update_
time str - IPAM address pool update time
- account
Id String - Account ID
- allocation
Default NumberCidr Mask - Default mask length when allocating CIDR
- allocation
Max NumberCidr Mask - Maximum allocation mask bits
- allocation
Min NumberCidr Mask - Minimum allocation mask bits
- auto
Import Boolean - Whether to automatically import resources
- clear
Allocation BooleanDefault Cidr Mask - Whether to clear the default network mask of the IPAM address pool. ClearAllocationDefaultCidrMask and AllocationDefaultCidrMask cannot be used together
- create
Time String - IPAM address pool creation time
- description String
- IPAM address pool description
- has
Sub BooleanPool - Whether there are child address pools
- ip
Version String - Address pool IP version
- ipam
Id String - IPAM ID。
- ipam
Pool StringId - IPAM address pool ID
- ipam
Pool StringName - IPAM address pool name
- ipam
Region StringId - IPAM region ID
- ipam
Scope StringId - IPAM scope ID
- ipam
Scope StringType - IPAM scope type
- pool
Depth Number - Address pool depth
- pool
Region StringId - Address pool region ID
- project
Name String - IPAM address pool project name
- source
Ipam StringPool Id - Parent address pool ID
- status String
- IPAM address pool status
- List<Property Map>
- IPAM address pool tags Important Note: When using SetNestedAttribute, you must fully define all attributes of its nested structure. Incomplete definitions may cause Terraform to detect unexpected differences during plan comparison, triggering unnecessary resource updates and affecting resource stability and predictability.
- update
Time String - IPAM address pool update time
Supporting Types
IpamPoolTag, IpamPoolTagArgs
Import
$ pulumi import volcenginecc:vpc/ipamPool:IpamPool example "ipam_pool_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Monday, Aug 24, 2026 by Volcengine