published on Monday, Aug 24, 2026 by Volcengine
published on Monday, Aug 24, 2026 by Volcengine
IP address pool resources.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const example = new volcenginecc.vpc.IpPool("example", {
isp: "BGP",
cidrMask: 28,
description: "ccapi ip pool with cidr mask",
name: "ccapi-ippool-cidr-mask",
projectName: "default",
tags: [{
key: "k1",
value: "v1",
}],
});
import pulumi
import pulumi_volcenginecc as volcenginecc
example = volcenginecc.vpc.IpPool("example",
isp="BGP",
cidr_mask=28,
description="ccapi ip pool with cidr mask",
name="ccapi-ippool-cidr-mask",
project_name="default",
tags=[{
"key": "k1",
"value": "v1",
}])
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.NewIpPool(ctx, "example", &vpc.IpPoolArgs{
Isp: pulumi.String("BGP"),
CidrMask: pulumi.Int(28),
Description: pulumi.String("ccapi ip pool with cidr mask"),
Name: pulumi.String("ccapi-ippool-cidr-mask"),
ProjectName: pulumi.String("default"),
Tags: vpc.IpPoolTagArray{
&vpc.IpPoolTagArgs{
Key: pulumi.String("k1"),
Value: pulumi.String("v1"),
},
},
})
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.IpPool("example", new()
{
Isp = "BGP",
CidrMask = 28,
Description = "ccapi ip pool with cidr mask",
Name = "ccapi-ippool-cidr-mask",
ProjectName = "default",
Tags = new[]
{
new Volcenginecc.Vpc.Inputs.IpPoolTagArgs
{
Key = "k1",
Value = "v1",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.vpc.IpPool;
import com.volcengine.volcenginecc.vpc.IpPoolArgs;
import com.pulumi.volcenginecc.vpc.inputs.IpPoolTagArgs;
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 IpPool("example", IpPoolArgs.builder()
.isp("BGP")
.cidrMask(28)
.description("ccapi ip pool with cidr mask")
.name("ccapi-ippool-cidr-mask")
.projectName("default")
.tags(IpPoolTagArgs.builder()
.key("k1")
.value("v1")
.build())
.build());
}
}
resources:
example:
type: volcenginecc:vpc:IpPool
properties:
isp: BGP
cidrMask: 28
description: ccapi ip pool with cidr mask
name: ccapi-ippool-cidr-mask
projectName: default
tags:
- key: k1
value: v1
pulumi {
required_providers {
volcenginecc = {
source = "pulumi/volcenginecc"
}
}
}
resource "volcenginecc_vpc_ippool" "example" {
isp = "BGP"
cidr_mask = 28
description = "ccapi ip pool with cidr mask"
name = "ccapi-ippool-cidr-mask"
project_name = "default"
tags {
key = "k1"
value = "v1"
}
}
Create IpPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IpPool(name: string, args: IpPoolArgs, opts?: CustomResourceOptions);@overload
def IpPool(resource_name: str,
args: IpPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IpPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
isp: Optional[str] = None,
cidr_block: Optional[str] = None,
cidr_mask: Optional[int] = None,
description: Optional[str] = None,
name: Optional[str] = None,
project_name: Optional[str] = None,
tags: Optional[Sequence[IpPoolTagArgs]] = None)func NewIpPool(ctx *Context, name string, args IpPoolArgs, opts ...ResourceOption) (*IpPool, error)public IpPool(string name, IpPoolArgs args, CustomResourceOptions? opts = null)
public IpPool(String name, IpPoolArgs args)
public IpPool(String name, IpPoolArgs args, CustomResourceOptions options)
type: volcenginecc:vpc:IpPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_vpc_ip_pool" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args IpPoolArgs
- 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 IpPoolArgs
- 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 IpPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IpPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IpPoolArgs
- 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 ipPoolResource = new Volcenginecc.Vpc.IpPool("ipPoolResource", new()
{
Isp = "string",
CidrBlock = "string",
CidrMask = 0,
Description = "string",
Name = "string",
ProjectName = "string",
Tags = new[]
{
new Volcenginecc.Vpc.Inputs.IpPoolTagArgs
{
Key = "string",
Value = "string",
},
},
});
example, err := vpc.NewIpPool(ctx, "ipPoolResource", &vpc.IpPoolArgs{
Isp: pulumi.String("string"),
CidrBlock: pulumi.String("string"),
CidrMask: pulumi.Int(0),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
ProjectName: pulumi.String("string"),
Tags: vpc.IpPoolTagArray{
&vpc.IpPoolTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
resource "volcenginecc_vpc_ip_pool" "ipPoolResource" {
lifecycle {
create_before_destroy = true
}
isp = "string"
cidr_block = "string"
cidr_mask = 0
description = "string"
name = "string"
project_name = "string"
tags {
key = "string"
value = "string"
}
}
var ipPoolResource = new IpPool("ipPoolResource", IpPoolArgs.builder()
.isp("string")
.cidrBlock("string")
.cidrMask(0)
.description("string")
.name("string")
.projectName("string")
.tags(IpPoolTagArgs.builder()
.key("string")
.value("string")
.build())
.build());
ip_pool_resource = volcenginecc.vpc.IpPool("ipPoolResource",
isp="string",
cidr_block="string",
cidr_mask=0,
description="string",
name="string",
project_name="string",
tags=[{
"key": "string",
"value": "string",
}])
const ipPoolResource = new volcenginecc.vpc.IpPool("ipPoolResource", {
isp: "string",
cidrBlock: "string",
cidrMask: 0,
description: "string",
name: "string",
projectName: "string",
tags: [{
key: "string",
value: "string",
}],
});
type: volcenginecc:vpc:IpPool
properties:
cidrBlock: string
cidrMask: 0
description: string
isp: string
name: string
projectName: string
tags:
- key: string
value: string
IpPool 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 IpPool resource accepts the following input properties:
- Isp string
- Line type. Valid values: BGP (multi-line), ChinaMobile (China Mobile static single line), ChinaTelecom (China Telecom static single line), ChinaUnicom (China Unicom static single line), SingleLineBGP (BGP single line), PremiumBGP (Premium BGP), FusionBGP (Fusion BGP), ChinaMobileValue (China Mobile Value static single line), ChinaUnicomValue (China Unicom Value static single line), ChinaTelecomValue (China Telecom Value static single line).
- Cidr
Block string - Example: 101.0.XX.XX/24, IP address range. Only IPv4 address ranges are supported and cannot start with 0. Mask range: 23–30. Note: Only one of CidrBlock or CidrMask can be configured.
- Cidr
Mask int - IP address range mask. Range: 24–28. After entering the mask, the IP address range will be automatically assigned. Note: Only one of CidrBlock or CidrMask can be configured.
- Description string
- Description of the IP address pool.
- Name string
- Name of the IP address pool.
- Project
Name string - Name of the project to which the IP address pool belongs.
-
List<Volcengine.
Ip Pool Tag> - Tag information of the IP address pool. 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.
- Isp string
- Line type. Valid values: BGP (multi-line), ChinaMobile (China Mobile static single line), ChinaTelecom (China Telecom static single line), ChinaUnicom (China Unicom static single line), SingleLineBGP (BGP single line), PremiumBGP (Premium BGP), FusionBGP (Fusion BGP), ChinaMobileValue (China Mobile Value static single line), ChinaUnicomValue (China Unicom Value static single line), ChinaTelecomValue (China Telecom Value static single line).
- Cidr
Block string - Example: 101.0.XX.XX/24, IP address range. Only IPv4 address ranges are supported and cannot start with 0. Mask range: 23–30. Note: Only one of CidrBlock or CidrMask can be configured.
- Cidr
Mask int - IP address range mask. Range: 24–28. After entering the mask, the IP address range will be automatically assigned. Note: Only one of CidrBlock or CidrMask can be configured.
- Description string
- Description of the IP address pool.
- Name string
- Name of the IP address pool.
- Project
Name string - Name of the project to which the IP address pool belongs.
-
[]Ip
Pool Tag Args - Tag information of the IP address pool. 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.
- isp string
- Line type. Valid values: BGP (multi-line), ChinaMobile (China Mobile static single line), ChinaTelecom (China Telecom static single line), ChinaUnicom (China Unicom static single line), SingleLineBGP (BGP single line), PremiumBGP (Premium BGP), FusionBGP (Fusion BGP), ChinaMobileValue (China Mobile Value static single line), ChinaUnicomValue (China Unicom Value static single line), ChinaTelecomValue (China Telecom Value static single line).
- cidr_
block string - Example: 101.0.XX.XX/24, IP address range. Only IPv4 address ranges are supported and cannot start with 0. Mask range: 23–30. Note: Only one of CidrBlock or CidrMask can be configured.
- cidr_
mask number - IP address range mask. Range: 24–28. After entering the mask, the IP address range will be automatically assigned. Note: Only one of CidrBlock or CidrMask can be configured.
- description string
- Description of the IP address pool.
- name string
- Name of the IP address pool.
- project_
name string - Name of the project to which the IP address pool belongs.
- list(object)
- Tag information of the IP address pool. 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.
- isp String
- Line type. Valid values: BGP (multi-line), ChinaMobile (China Mobile static single line), ChinaTelecom (China Telecom static single line), ChinaUnicom (China Unicom static single line), SingleLineBGP (BGP single line), PremiumBGP (Premium BGP), FusionBGP (Fusion BGP), ChinaMobileValue (China Mobile Value static single line), ChinaUnicomValue (China Unicom Value static single line), ChinaTelecomValue (China Telecom Value static single line).
- cidr
Block String - Example: 101.0.XX.XX/24, IP address range. Only IPv4 address ranges are supported and cannot start with 0. Mask range: 23–30. Note: Only one of CidrBlock or CidrMask can be configured.
- cidr
Mask Integer - IP address range mask. Range: 24–28. After entering the mask, the IP address range will be automatically assigned. Note: Only one of CidrBlock or CidrMask can be configured.
- description String
- Description of the IP address pool.
- name String
- Name of the IP address pool.
- project
Name String - Name of the project to which the IP address pool belongs.
-
List<Ip
Pool Tag> - Tag information of the IP address pool. 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.
- isp string
- Line type. Valid values: BGP (multi-line), ChinaMobile (China Mobile static single line), ChinaTelecom (China Telecom static single line), ChinaUnicom (China Unicom static single line), SingleLineBGP (BGP single line), PremiumBGP (Premium BGP), FusionBGP (Fusion BGP), ChinaMobileValue (China Mobile Value static single line), ChinaUnicomValue (China Unicom Value static single line), ChinaTelecomValue (China Telecom Value static single line).
- cidr
Block string - Example: 101.0.XX.XX/24, IP address range. Only IPv4 address ranges are supported and cannot start with 0. Mask range: 23–30. Note: Only one of CidrBlock or CidrMask can be configured.
- cidr
Mask number - IP address range mask. Range: 24–28. After entering the mask, the IP address range will be automatically assigned. Note: Only one of CidrBlock or CidrMask can be configured.
- description string
- Description of the IP address pool.
- name string
- Name of the IP address pool.
- project
Name string - Name of the project to which the IP address pool belongs.
-
Ip
Pool Tag[] - Tag information of the IP address pool. 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.
- isp str
- Line type. Valid values: BGP (multi-line), ChinaMobile (China Mobile static single line), ChinaTelecom (China Telecom static single line), ChinaUnicom (China Unicom static single line), SingleLineBGP (BGP single line), PremiumBGP (Premium BGP), FusionBGP (Fusion BGP), ChinaMobileValue (China Mobile Value static single line), ChinaUnicomValue (China Unicom Value static single line), ChinaTelecomValue (China Telecom Value static single line).
- cidr_
block str - Example: 101.0.XX.XX/24, IP address range. Only IPv4 address ranges are supported and cannot start with 0. Mask range: 23–30. Note: Only one of CidrBlock or CidrMask can be configured.
- cidr_
mask int - IP address range mask. Range: 24–28. After entering the mask, the IP address range will be automatically assigned. Note: Only one of CidrBlock or CidrMask can be configured.
- description str
- Description of the IP address pool.
- name str
- Name of the IP address pool.
- project_
name str - Name of the project to which the IP address pool belongs.
-
Sequence[Ip
Pool Tag Args] - Tag information of the IP address pool. 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.
- isp String
- Line type. Valid values: BGP (multi-line), ChinaMobile (China Mobile static single line), ChinaTelecom (China Telecom static single line), ChinaUnicom (China Unicom static single line), SingleLineBGP (BGP single line), PremiumBGP (Premium BGP), FusionBGP (Fusion BGP), ChinaMobileValue (China Mobile Value static single line), ChinaUnicomValue (China Unicom Value static single line), ChinaTelecomValue (China Telecom Value static single line).
- cidr
Block String - Example: 101.0.XX.XX/24, IP address range. Only IPv4 address ranges are supported and cannot start with 0. Mask range: 23–30. Note: Only one of CidrBlock or CidrMask can be configured.
- cidr
Mask Number - IP address range mask. Range: 24–28. After entering the mask, the IP address range will be automatically assigned. Note: Only one of CidrBlock or CidrMask can be configured.
- description String
- Description of the IP address pool.
- name String
- Name of the IP address pool.
- project
Name String - Name of the project to which the IP address pool belongs.
- List<Property Map>
- Tag information of the IP address pool. 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 IpPool resource produces the following output properties:
- Address
Source string - Address source.
- Business
Status string - Whether the IP address pool is locked. Normal: Normal. FinancialLocked: Financially locked.
- Cidr
Blocks List<string> - IP range information in the IP address pool.
- Creation
Time string - Creation time of the IP address pool.
- Deleted
Time string - Resource reclaim time. This parameter is returned only when the resource is shut down due to overdue payment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Address stringPool Id - ID of the IP address pool.
- Overdue
Time string - Resource freeze time. This parameter is returned only when the resource is frozen due to overdue payment.
- Specific
Egress string - Specific egress.
- Status string
- Status of the IP address pool. Creating: Creating. Available: Available. Deleting: Deleting. Pending: In configuration.
- Total
Ip intCount - Total number of IP addresses contained in the IP address pool.
- Update
Time string - Update time of the IP address pool.
- Used
Ip intCount - Number of IP addresses allocated as EIP in the IP address pool.
- Address
Source string - Address source.
- Business
Status string - Whether the IP address pool is locked. Normal: Normal. FinancialLocked: Financially locked.
- Cidr
Blocks []string - IP range information in the IP address pool.
- Creation
Time string - Creation time of the IP address pool.
- Deleted
Time string - Resource reclaim time. This parameter is returned only when the resource is shut down due to overdue payment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Address stringPool Id - ID of the IP address pool.
- Overdue
Time string - Resource freeze time. This parameter is returned only when the resource is frozen due to overdue payment.
- Specific
Egress string - Specific egress.
- Status string
- Status of the IP address pool. Creating: Creating. Available: Available. Deleting: Deleting. Pending: In configuration.
- Total
Ip intCount - Total number of IP addresses contained in the IP address pool.
- Update
Time string - Update time of the IP address pool.
- Used
Ip intCount - Number of IP addresses allocated as EIP in the IP address pool.
- address_
source string - Address source.
- business_
status string - Whether the IP address pool is locked. Normal: Normal. FinancialLocked: Financially locked.
- cidr_
blocks list(string) - IP range information in the IP address pool.
- creation_
time string - Creation time of the IP address pool.
- deleted_
time string - Resource reclaim time. This parameter is returned only when the resource is shut down due to overdue payment.
- id string
- The provider-assigned unique ID for this managed resource.
- ip_
address_ stringpool_ id - ID of the IP address pool.
- overdue_
time string - Resource freeze time. This parameter is returned only when the resource is frozen due to overdue payment.
- specific_
egress string - Specific egress.
- status string
- Status of the IP address pool. Creating: Creating. Available: Available. Deleting: Deleting. Pending: In configuration.
- total_
ip_ numbercount - Total number of IP addresses contained in the IP address pool.
- update_
time string - Update time of the IP address pool.
- used_
ip_ numbercount - Number of IP addresses allocated as EIP in the IP address pool.
- address
Source String - Address source.
- business
Status String - Whether the IP address pool is locked. Normal: Normal. FinancialLocked: Financially locked.
- cidr
Blocks List<String> - IP range information in the IP address pool.
- creation
Time String - Creation time of the IP address pool.
- deleted
Time String - Resource reclaim time. This parameter is returned only when the resource is shut down due to overdue payment.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Address StringPool Id - ID of the IP address pool.
- overdue
Time String - Resource freeze time. This parameter is returned only when the resource is frozen due to overdue payment.
- specific
Egress String - Specific egress.
- status String
- Status of the IP address pool. Creating: Creating. Available: Available. Deleting: Deleting. Pending: In configuration.
- total
Ip IntegerCount - Total number of IP addresses contained in the IP address pool.
- update
Time String - Update time of the IP address pool.
- used
Ip IntegerCount - Number of IP addresses allocated as EIP in the IP address pool.
- address
Source string - Address source.
- business
Status string - Whether the IP address pool is locked. Normal: Normal. FinancialLocked: Financially locked.
- cidr
Blocks string[] - IP range information in the IP address pool.
- creation
Time string - Creation time of the IP address pool.
- deleted
Time string - Resource reclaim time. This parameter is returned only when the resource is shut down due to overdue payment.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Address stringPool Id - ID of the IP address pool.
- overdue
Time string - Resource freeze time. This parameter is returned only when the resource is frozen due to overdue payment.
- specific
Egress string - Specific egress.
- status string
- Status of the IP address pool. Creating: Creating. Available: Available. Deleting: Deleting. Pending: In configuration.
- total
Ip numberCount - Total number of IP addresses contained in the IP address pool.
- update
Time string - Update time of the IP address pool.
- used
Ip numberCount - Number of IP addresses allocated as EIP in the IP address pool.
- address_
source str - Address source.
- business_
status str - Whether the IP address pool is locked. Normal: Normal. FinancialLocked: Financially locked.
- cidr_
blocks Sequence[str] - IP range information in the IP address pool.
- creation_
time str - Creation time of the IP address pool.
- deleted_
time str - Resource reclaim time. This parameter is returned only when the resource is shut down due to overdue payment.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
address_ strpool_ id - ID of the IP address pool.
- overdue_
time str - Resource freeze time. This parameter is returned only when the resource is frozen due to overdue payment.
- specific_
egress str - Specific egress.
- status str
- Status of the IP address pool. Creating: Creating. Available: Available. Deleting: Deleting. Pending: In configuration.
- total_
ip_ intcount - Total number of IP addresses contained in the IP address pool.
- update_
time str - Update time of the IP address pool.
- used_
ip_ intcount - Number of IP addresses allocated as EIP in the IP address pool.
- address
Source String - Address source.
- business
Status String - Whether the IP address pool is locked. Normal: Normal. FinancialLocked: Financially locked.
- cidr
Blocks List<String> - IP range information in the IP address pool.
- creation
Time String - Creation time of the IP address pool.
- deleted
Time String - Resource reclaim time. This parameter is returned only when the resource is shut down due to overdue payment.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Address StringPool Id - ID of the IP address pool.
- overdue
Time String - Resource freeze time. This parameter is returned only when the resource is frozen due to overdue payment.
- specific
Egress String - Specific egress.
- status String
- Status of the IP address pool. Creating: Creating. Available: Available. Deleting: Deleting. Pending: In configuration.
- total
Ip NumberCount - Total number of IP addresses contained in the IP address pool.
- update
Time String - Update time of the IP address pool.
- used
Ip NumberCount - Number of IP addresses allocated as EIP in the IP address pool.
Look up Existing IpPool Resource
Get an existing IpPool 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?: IpPoolState, opts?: CustomResourceOptions): IpPool@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
address_source: Optional[str] = None,
business_status: Optional[str] = None,
cidr_block: Optional[str] = None,
cidr_blocks: Optional[Sequence[str]] = None,
cidr_mask: Optional[int] = None,
creation_time: Optional[str] = None,
deleted_time: Optional[str] = None,
description: Optional[str] = None,
ip_address_pool_id: Optional[str] = None,
isp: Optional[str] = None,
name: Optional[str] = None,
overdue_time: Optional[str] = None,
project_name: Optional[str] = None,
specific_egress: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Sequence[IpPoolTagArgs]] = None,
total_ip_count: Optional[int] = None,
update_time: Optional[str] = None,
used_ip_count: Optional[int] = None) -> IpPoolfunc GetIpPool(ctx *Context, name string, id IDInput, state *IpPoolState, opts ...ResourceOption) (*IpPool, error)public static IpPool Get(string name, Input<string> id, IpPoolState? state, CustomResourceOptions? opts = null)public static IpPool get(String name, Output<String> id, IpPoolState state, CustomResourceOptions options)resources: _: type: volcenginecc:vpc:IpPool get: id: ${id}import {
to = volcenginecc_vpc_ip_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.
- Address
Source string - Address source.
- Business
Status string - Whether the IP address pool is locked. Normal: Normal. FinancialLocked: Financially locked.
- Cidr
Block string - Example: 101.0.XX.XX/24, IP address range. Only IPv4 address ranges are supported and cannot start with 0. Mask range: 23–30. Note: Only one of CidrBlock or CidrMask can be configured.
- Cidr
Blocks List<string> - IP range information in the IP address pool.
- Cidr
Mask int - IP address range mask. Range: 24–28. After entering the mask, the IP address range will be automatically assigned. Note: Only one of CidrBlock or CidrMask can be configured.
- Creation
Time string - Creation time of the IP address pool.
- Deleted
Time string - Resource reclaim time. This parameter is returned only when the resource is shut down due to overdue payment.
- Description string
- Description of the IP address pool.
- Ip
Address stringPool Id - ID of the IP address pool.
- Isp string
- Line type. Valid values: BGP (multi-line), ChinaMobile (China Mobile static single line), ChinaTelecom (China Telecom static single line), ChinaUnicom (China Unicom static single line), SingleLineBGP (BGP single line), PremiumBGP (Premium BGP), FusionBGP (Fusion BGP), ChinaMobileValue (China Mobile Value static single line), ChinaUnicomValue (China Unicom Value static single line), ChinaTelecomValue (China Telecom Value static single line).
- Name string
- Name of the IP address pool.
- Overdue
Time string - Resource freeze time. This parameter is returned only when the resource is frozen due to overdue payment.
- Project
Name string - Name of the project to which the IP address pool belongs.
- Specific
Egress string - Specific egress.
- Status string
- Status of the IP address pool. Creating: Creating. Available: Available. Deleting: Deleting. Pending: In configuration.
-
List<Volcengine.
Ip Pool Tag> - Tag information of the IP address pool. 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.
- Total
Ip intCount - Total number of IP addresses contained in the IP address pool.
- Update
Time string - Update time of the IP address pool.
- Used
Ip intCount - Number of IP addresses allocated as EIP in the IP address pool.
- Address
Source string - Address source.
- Business
Status string - Whether the IP address pool is locked. Normal: Normal. FinancialLocked: Financially locked.
- Cidr
Block string - Example: 101.0.XX.XX/24, IP address range. Only IPv4 address ranges are supported and cannot start with 0. Mask range: 23–30. Note: Only one of CidrBlock or CidrMask can be configured.
- Cidr
Blocks []string - IP range information in the IP address pool.
- Cidr
Mask int - IP address range mask. Range: 24–28. After entering the mask, the IP address range will be automatically assigned. Note: Only one of CidrBlock or CidrMask can be configured.
- Creation
Time string - Creation time of the IP address pool.
- Deleted
Time string - Resource reclaim time. This parameter is returned only when the resource is shut down due to overdue payment.
- Description string
- Description of the IP address pool.
- Ip
Address stringPool Id - ID of the IP address pool.
- Isp string
- Line type. Valid values: BGP (multi-line), ChinaMobile (China Mobile static single line), ChinaTelecom (China Telecom static single line), ChinaUnicom (China Unicom static single line), SingleLineBGP (BGP single line), PremiumBGP (Premium BGP), FusionBGP (Fusion BGP), ChinaMobileValue (China Mobile Value static single line), ChinaUnicomValue (China Unicom Value static single line), ChinaTelecomValue (China Telecom Value static single line).
- Name string
- Name of the IP address pool.
- Overdue
Time string - Resource freeze time. This parameter is returned only when the resource is frozen due to overdue payment.
- Project
Name string - Name of the project to which the IP address pool belongs.
- Specific
Egress string - Specific egress.
- Status string
- Status of the IP address pool. Creating: Creating. Available: Available. Deleting: Deleting. Pending: In configuration.
-
[]Ip
Pool Tag Args - Tag information of the IP address pool. 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.
- Total
Ip intCount - Total number of IP addresses contained in the IP address pool.
- Update
Time string - Update time of the IP address pool.
- Used
Ip intCount - Number of IP addresses allocated as EIP in the IP address pool.
- address_
source string - Address source.
- business_
status string - Whether the IP address pool is locked. Normal: Normal. FinancialLocked: Financially locked.
- cidr_
block string - Example: 101.0.XX.XX/24, IP address range. Only IPv4 address ranges are supported and cannot start with 0. Mask range: 23–30. Note: Only one of CidrBlock or CidrMask can be configured.
- cidr_
blocks list(string) - IP range information in the IP address pool.
- cidr_
mask number - IP address range mask. Range: 24–28. After entering the mask, the IP address range will be automatically assigned. Note: Only one of CidrBlock or CidrMask can be configured.
- creation_
time string - Creation time of the IP address pool.
- deleted_
time string - Resource reclaim time. This parameter is returned only when the resource is shut down due to overdue payment.
- description string
- Description of the IP address pool.
- ip_
address_ stringpool_ id - ID of the IP address pool.
- isp string
- Line type. Valid values: BGP (multi-line), ChinaMobile (China Mobile static single line), ChinaTelecom (China Telecom static single line), ChinaUnicom (China Unicom static single line), SingleLineBGP (BGP single line), PremiumBGP (Premium BGP), FusionBGP (Fusion BGP), ChinaMobileValue (China Mobile Value static single line), ChinaUnicomValue (China Unicom Value static single line), ChinaTelecomValue (China Telecom Value static single line).
- name string
- Name of the IP address pool.
- overdue_
time string - Resource freeze time. This parameter is returned only when the resource is frozen due to overdue payment.
- project_
name string - Name of the project to which the IP address pool belongs.
- specific_
egress string - Specific egress.
- status string
- Status of the IP address pool. Creating: Creating. Available: Available. Deleting: Deleting. Pending: In configuration.
- list(object)
- Tag information of the IP address pool. 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.
- total_
ip_ numbercount - Total number of IP addresses contained in the IP address pool.
- update_
time string - Update time of the IP address pool.
- used_
ip_ numbercount - Number of IP addresses allocated as EIP in the IP address pool.
- address
Source String - Address source.
- business
Status String - Whether the IP address pool is locked. Normal: Normal. FinancialLocked: Financially locked.
- cidr
Block String - Example: 101.0.XX.XX/24, IP address range. Only IPv4 address ranges are supported and cannot start with 0. Mask range: 23–30. Note: Only one of CidrBlock or CidrMask can be configured.
- cidr
Blocks List<String> - IP range information in the IP address pool.
- cidr
Mask Integer - IP address range mask. Range: 24–28. After entering the mask, the IP address range will be automatically assigned. Note: Only one of CidrBlock or CidrMask can be configured.
- creation
Time String - Creation time of the IP address pool.
- deleted
Time String - Resource reclaim time. This parameter is returned only when the resource is shut down due to overdue payment.
- description String
- Description of the IP address pool.
- ip
Address StringPool Id - ID of the IP address pool.
- isp String
- Line type. Valid values: BGP (multi-line), ChinaMobile (China Mobile static single line), ChinaTelecom (China Telecom static single line), ChinaUnicom (China Unicom static single line), SingleLineBGP (BGP single line), PremiumBGP (Premium BGP), FusionBGP (Fusion BGP), ChinaMobileValue (China Mobile Value static single line), ChinaUnicomValue (China Unicom Value static single line), ChinaTelecomValue (China Telecom Value static single line).
- name String
- Name of the IP address pool.
- overdue
Time String - Resource freeze time. This parameter is returned only when the resource is frozen due to overdue payment.
- project
Name String - Name of the project to which the IP address pool belongs.
- specific
Egress String - Specific egress.
- status String
- Status of the IP address pool. Creating: Creating. Available: Available. Deleting: Deleting. Pending: In configuration.
-
List<Ip
Pool Tag> - Tag information of the IP address pool. 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.
- total
Ip IntegerCount - Total number of IP addresses contained in the IP address pool.
- update
Time String - Update time of the IP address pool.
- used
Ip IntegerCount - Number of IP addresses allocated as EIP in the IP address pool.
- address
Source string - Address source.
- business
Status string - Whether the IP address pool is locked. Normal: Normal. FinancialLocked: Financially locked.
- cidr
Block string - Example: 101.0.XX.XX/24, IP address range. Only IPv4 address ranges are supported and cannot start with 0. Mask range: 23–30. Note: Only one of CidrBlock or CidrMask can be configured.
- cidr
Blocks string[] - IP range information in the IP address pool.
- cidr
Mask number - IP address range mask. Range: 24–28. After entering the mask, the IP address range will be automatically assigned. Note: Only one of CidrBlock or CidrMask can be configured.
- creation
Time string - Creation time of the IP address pool.
- deleted
Time string - Resource reclaim time. This parameter is returned only when the resource is shut down due to overdue payment.
- description string
- Description of the IP address pool.
- ip
Address stringPool Id - ID of the IP address pool.
- isp string
- Line type. Valid values: BGP (multi-line), ChinaMobile (China Mobile static single line), ChinaTelecom (China Telecom static single line), ChinaUnicom (China Unicom static single line), SingleLineBGP (BGP single line), PremiumBGP (Premium BGP), FusionBGP (Fusion BGP), ChinaMobileValue (China Mobile Value static single line), ChinaUnicomValue (China Unicom Value static single line), ChinaTelecomValue (China Telecom Value static single line).
- name string
- Name of the IP address pool.
- overdue
Time string - Resource freeze time. This parameter is returned only when the resource is frozen due to overdue payment.
- project
Name string - Name of the project to which the IP address pool belongs.
- specific
Egress string - Specific egress.
- status string
- Status of the IP address pool. Creating: Creating. Available: Available. Deleting: Deleting. Pending: In configuration.
-
Ip
Pool Tag[] - Tag information of the IP address pool. 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.
- total
Ip numberCount - Total number of IP addresses contained in the IP address pool.
- update
Time string - Update time of the IP address pool.
- used
Ip numberCount - Number of IP addresses allocated as EIP in the IP address pool.
- address_
source str - Address source.
- business_
status str - Whether the IP address pool is locked. Normal: Normal. FinancialLocked: Financially locked.
- cidr_
block str - Example: 101.0.XX.XX/24, IP address range. Only IPv4 address ranges are supported and cannot start with 0. Mask range: 23–30. Note: Only one of CidrBlock or CidrMask can be configured.
- cidr_
blocks Sequence[str] - IP range information in the IP address pool.
- cidr_
mask int - IP address range mask. Range: 24–28. After entering the mask, the IP address range will be automatically assigned. Note: Only one of CidrBlock or CidrMask can be configured.
- creation_
time str - Creation time of the IP address pool.
- deleted_
time str - Resource reclaim time. This parameter is returned only when the resource is shut down due to overdue payment.
- description str
- Description of the IP address pool.
- ip_
address_ strpool_ id - ID of the IP address pool.
- isp str
- Line type. Valid values: BGP (multi-line), ChinaMobile (China Mobile static single line), ChinaTelecom (China Telecom static single line), ChinaUnicom (China Unicom static single line), SingleLineBGP (BGP single line), PremiumBGP (Premium BGP), FusionBGP (Fusion BGP), ChinaMobileValue (China Mobile Value static single line), ChinaUnicomValue (China Unicom Value static single line), ChinaTelecomValue (China Telecom Value static single line).
- name str
- Name of the IP address pool.
- overdue_
time str - Resource freeze time. This parameter is returned only when the resource is frozen due to overdue payment.
- project_
name str - Name of the project to which the IP address pool belongs.
- specific_
egress str - Specific egress.
- status str
- Status of the IP address pool. Creating: Creating. Available: Available. Deleting: Deleting. Pending: In configuration.
-
Sequence[Ip
Pool Tag Args] - Tag information of the IP address pool. 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.
- total_
ip_ intcount - Total number of IP addresses contained in the IP address pool.
- update_
time str - Update time of the IP address pool.
- used_
ip_ intcount - Number of IP addresses allocated as EIP in the IP address pool.
- address
Source String - Address source.
- business
Status String - Whether the IP address pool is locked. Normal: Normal. FinancialLocked: Financially locked.
- cidr
Block String - Example: 101.0.XX.XX/24, IP address range. Only IPv4 address ranges are supported and cannot start with 0. Mask range: 23–30. Note: Only one of CidrBlock or CidrMask can be configured.
- cidr
Blocks List<String> - IP range information in the IP address pool.
- cidr
Mask Number - IP address range mask. Range: 24–28. After entering the mask, the IP address range will be automatically assigned. Note: Only one of CidrBlock or CidrMask can be configured.
- creation
Time String - Creation time of the IP address pool.
- deleted
Time String - Resource reclaim time. This parameter is returned only when the resource is shut down due to overdue payment.
- description String
- Description of the IP address pool.
- ip
Address StringPool Id - ID of the IP address pool.
- isp String
- Line type. Valid values: BGP (multi-line), ChinaMobile (China Mobile static single line), ChinaTelecom (China Telecom static single line), ChinaUnicom (China Unicom static single line), SingleLineBGP (BGP single line), PremiumBGP (Premium BGP), FusionBGP (Fusion BGP), ChinaMobileValue (China Mobile Value static single line), ChinaUnicomValue (China Unicom Value static single line), ChinaTelecomValue (China Telecom Value static single line).
- name String
- Name of the IP address pool.
- overdue
Time String - Resource freeze time. This parameter is returned only when the resource is frozen due to overdue payment.
- project
Name String - Name of the project to which the IP address pool belongs.
- specific
Egress String - Specific egress.
- status String
- Status of the IP address pool. Creating: Creating. Available: Available. Deleting: Deleting. Pending: In configuration.
- List<Property Map>
- Tag information of the IP address pool. 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.
- total
Ip NumberCount - Total number of IP addresses contained in the IP address pool.
- update
Time String - Update time of the IP address pool.
- used
Ip NumberCount - Number of IP addresses allocated as EIP in the IP address pool.
Supporting Types
IpPoolTag, IpPoolTagArgs
Import
$ pulumi import volcenginecc:vpc/ipPool:IpPool example "ip_address_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