1. Packages
  2. Volcenginecc Provider
  3. API Docs
  4. vpc
  5. PrefixList
volcenginecc v0.0.4 published on Monday, Nov 3, 2025 by Volcengine

volcenginecc.vpc.PrefixList

Get Started
volcenginecc logo
volcenginecc v0.0.4 published on Monday, Nov 3, 2025 by Volcengine

    前缀列表是一组CIDR地址块的集合,用于简化安全组规则、路由表条目的配置。当前缀列表修改时,所有关联它的资源均会同步修改。

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
    
    const prefixlistDemo = new volcenginecc.vpc.PrefixList("PrefixlistDemo", {
        description: "PrefixlistDemo Example",
        ipVersion: "IPv4",
        maxEntries: 20,
        prefixListName: "my-prefix-list",
        projectName: "default",
        prefixListEntries: [{
            cidr: "192.168.0.0/*",
            description: "privite description",
        }],
        tags: [{
            key: "env",
            value: "test",
        }],
    });
    
    import pulumi
    import pulumi_volcenginecc as volcenginecc
    
    prefixlist_demo = volcenginecc.vpc.PrefixList("PrefixlistDemo",
        description="PrefixlistDemo Example",
        ip_version="IPv4",
        max_entries=20,
        prefix_list_name="my-prefix-list",
        project_name="default",
        prefix_list_entries=[{
            "cidr": "192.168.0.0/*",
            "description": "privite description",
        }],
        tags=[{
            "key": "env",
            "value": "test",
        }])
    
    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.NewPrefixList(ctx, "PrefixlistDemo", &vpc.PrefixListArgs{
    			Description:    pulumi.String("PrefixlistDemo Example"),
    			IpVersion:      pulumi.String("IPv4"),
    			MaxEntries:     pulumi.Int(20),
    			PrefixListName: pulumi.String("my-prefix-list"),
    			ProjectName:    pulumi.String("default"),
    			PrefixListEntries: vpc.PrefixListPrefixListEntryArray{
    				&vpc.PrefixListPrefixListEntryArgs{
    					Cidr:        pulumi.String("192.168.0.0/*"),
    					Description: pulumi.String("privite description"),
    				},
    			},
    			Tags: vpc.PrefixListTagArray{
    				&vpc.PrefixListTagArgs{
    					Key:   pulumi.String("env"),
    					Value: pulumi.String("test"),
    				},
    			},
    		})
    		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 prefixlistDemo = new Volcenginecc.Vpc.PrefixList("PrefixlistDemo", new()
        {
            Description = "PrefixlistDemo Example",
            IpVersion = "IPv4",
            MaxEntries = 20,
            PrefixListName = "my-prefix-list",
            ProjectName = "default",
            PrefixListEntries = new[]
            {
                new Volcenginecc.Vpc.Inputs.PrefixListPrefixListEntryArgs
                {
                    Cidr = "192.168.0.0/*",
                    Description = "privite description",
                },
            },
            Tags = new[]
            {
                new Volcenginecc.Vpc.Inputs.PrefixListTagArgs
                {
                    Key = "env",
                    Value = "test",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.volcengine.volcenginecc.vpc.PrefixList;
    import com.volcengine.volcenginecc.vpc.PrefixListArgs;
    import com.pulumi.volcenginecc.vpc.inputs.PrefixListPrefixListEntryArgs;
    import com.pulumi.volcenginecc.vpc.inputs.PrefixListTagArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var prefixlistDemo = new PrefixList("prefixlistDemo", PrefixListArgs.builder()
                .description("PrefixlistDemo Example")
                .ipVersion("IPv4")
                .maxEntries(20)
                .prefixListName("my-prefix-list")
                .projectName("default")
                .prefixListEntries(PrefixListPrefixListEntryArgs.builder()
                    .cidr("192.168.0.0/*")
                    .description("privite description")
                    .build())
                .tags(PrefixListTagArgs.builder()
                    .key("env")
                    .value("test")
                    .build())
                .build());
    
        }
    }
    
    resources:
      prefixlistDemo:
        type: volcenginecc:vpc:PrefixList
        name: PrefixlistDemo
        properties:
          description: PrefixlistDemo Example
          ipVersion: IPv4
          maxEntries: 20
          prefixListName: my-prefix-list
          projectName: default
          prefixListEntries:
            - cidr: 192.168.0.0/*
              description: privite description
          tags:
            - key: env
              value: test
    

    Create PrefixList Resource

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

    Constructor syntax

    new PrefixList(name: string, args: PrefixListArgs, opts?: CustomResourceOptions);
    @overload
    def PrefixList(resource_name: str,
                   args: PrefixListArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def PrefixList(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   max_entries: Optional[int] = None,
                   description: Optional[str] = None,
                   ip_version: Optional[str] = None,
                   prefix_list_entries: Optional[Sequence[PrefixListPrefixListEntryArgs]] = None,
                   prefix_list_name: Optional[str] = None,
                   project_name: Optional[str] = None,
                   tags: Optional[Sequence[PrefixListTagArgs]] = None)
    func NewPrefixList(ctx *Context, name string, args PrefixListArgs, opts ...ResourceOption) (*PrefixList, error)
    public PrefixList(string name, PrefixListArgs args, CustomResourceOptions? opts = null)
    public PrefixList(String name, PrefixListArgs args)
    public PrefixList(String name, PrefixListArgs args, CustomResourceOptions options)
    
    type: volcenginecc:vpc:PrefixList
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PrefixListArgs
    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 PrefixListArgs
    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 PrefixListArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PrefixListArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PrefixListArgs
    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 prefixListResource = new Volcenginecc.Vpc.PrefixList("prefixListResource", new()
    {
        MaxEntries = 0,
        Description = "string",
        IpVersion = "string",
        PrefixListEntries = new[]
        {
            new Volcenginecc.Vpc.Inputs.PrefixListPrefixListEntryArgs
            {
                Cidr = "string",
                Description = "string",
            },
        },
        PrefixListName = "string",
        ProjectName = "string",
        Tags = new[]
        {
            new Volcenginecc.Vpc.Inputs.PrefixListTagArgs
            {
                Key = "string",
                Value = "string",
            },
        },
    });
    
    example, err := vpc.NewPrefixList(ctx, "prefixListResource", &vpc.PrefixListArgs{
    	MaxEntries:  pulumi.Int(0),
    	Description: pulumi.String("string"),
    	IpVersion:   pulumi.String("string"),
    	PrefixListEntries: vpc.PrefixListPrefixListEntryArray{
    		&vpc.PrefixListPrefixListEntryArgs{
    			Cidr:        pulumi.String("string"),
    			Description: pulumi.String("string"),
    		},
    	},
    	PrefixListName: pulumi.String("string"),
    	ProjectName:    pulumi.String("string"),
    	Tags: vpc.PrefixListTagArray{
    		&vpc.PrefixListTagArgs{
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    var prefixListResource = new PrefixList("prefixListResource", PrefixListArgs.builder()
        .maxEntries(0)
        .description("string")
        .ipVersion("string")
        .prefixListEntries(PrefixListPrefixListEntryArgs.builder()
            .cidr("string")
            .description("string")
            .build())
        .prefixListName("string")
        .projectName("string")
        .tags(PrefixListTagArgs.builder()
            .key("string")
            .value("string")
            .build())
        .build());
    
    prefix_list_resource = volcenginecc.vpc.PrefixList("prefixListResource",
        max_entries=0,
        description="string",
        ip_version="string",
        prefix_list_entries=[{
            "cidr": "string",
            "description": "string",
        }],
        prefix_list_name="string",
        project_name="string",
        tags=[{
            "key": "string",
            "value": "string",
        }])
    
    const prefixListResource = new volcenginecc.vpc.PrefixList("prefixListResource", {
        maxEntries: 0,
        description: "string",
        ipVersion: "string",
        prefixListEntries: [{
            cidr: "string",
            description: "string",
        }],
        prefixListName: "string",
        projectName: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    type: volcenginecc:vpc:PrefixList
    properties:
        description: string
        ipVersion: string
        maxEntries: 0
        prefixListEntries:
            - cidr: string
              description: string
        prefixListName: string
        projectName: string
        tags:
            - key: string
              value: string
    

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

    MaxEntries int
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    Description string
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    IpVersion string
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    PrefixListEntries List<Volcengine.PrefixListPrefixListEntry>
    PrefixListName string
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    ProjectName string
    前缀列表所属项目的名称,不填默认加入default项目。
    Tags List<Volcengine.PrefixListTag>
    MaxEntries int
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    Description string
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    IpVersion string
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    PrefixListEntries []PrefixListPrefixListEntryArgs
    PrefixListName string
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    ProjectName string
    前缀列表所属项目的名称,不填默认加入default项目。
    Tags []PrefixListTagArgs
    maxEntries Integer
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    description String
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    ipVersion String
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    prefixListEntries List<PrefixListPrefixListEntry>
    prefixListName String
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    projectName String
    前缀列表所属项目的名称,不填默认加入default项目。
    tags List<PrefixListTag>
    maxEntries number
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    description string
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    ipVersion string
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    prefixListEntries PrefixListPrefixListEntry[]
    prefixListName string
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    projectName string
    前缀列表所属项目的名称,不填默认加入default项目。
    tags PrefixListTag[]
    max_entries int
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    description str
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    ip_version str
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    prefix_list_entries Sequence[PrefixListPrefixListEntryArgs]
    prefix_list_name str
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    project_name str
    前缀列表所属项目的名称,不填默认加入default项目。
    tags Sequence[PrefixListTagArgs]
    maxEntries Number
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    description String
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    ipVersion String
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    prefixListEntries List<Property Map>
    prefixListName String
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    projectName String
    前缀列表所属项目的名称,不填默认加入default项目。
    tags List<Property Map>

    Outputs

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

    AssociationCount int
    前缀列表关联的资源数量。
    AssociationsRouteTables List<Volcengine.PrefixListAssociationsRouteTable>
    AssociationsSecurityGroups List<Volcengine.PrefixListAssociationsSecurityGroup>
    CreatedTime string
    前缀列表的创建时间。
    Id string
    The provider-assigned unique ID for this managed resource.
    PrefixListId string
    前缀列表的ID。
    Status string
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    UpdatedTime string
    前缀列表的最近一次修改时间。
    AssociationCount int
    前缀列表关联的资源数量。
    AssociationsRouteTables []PrefixListAssociationsRouteTable
    AssociationsSecurityGroups []PrefixListAssociationsSecurityGroup
    CreatedTime string
    前缀列表的创建时间。
    Id string
    The provider-assigned unique ID for this managed resource.
    PrefixListId string
    前缀列表的ID。
    Status string
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    UpdatedTime string
    前缀列表的最近一次修改时间。
    associationCount Integer
    前缀列表关联的资源数量。
    associationsRouteTables List<PrefixListAssociationsRouteTable>
    associationsSecurityGroups List<PrefixListAssociationsSecurityGroup>
    createdTime String
    前缀列表的创建时间。
    id String
    The provider-assigned unique ID for this managed resource.
    prefixListId String
    前缀列表的ID。
    status String
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    updatedTime String
    前缀列表的最近一次修改时间。
    associationCount number
    前缀列表关联的资源数量。
    associationsRouteTables PrefixListAssociationsRouteTable[]
    associationsSecurityGroups PrefixListAssociationsSecurityGroup[]
    createdTime string
    前缀列表的创建时间。
    id string
    The provider-assigned unique ID for this managed resource.
    prefixListId string
    前缀列表的ID。
    status string
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    updatedTime string
    前缀列表的最近一次修改时间。
    association_count int
    前缀列表关联的资源数量。
    associations_route_tables Sequence[PrefixListAssociationsRouteTable]
    associations_security_groups Sequence[PrefixListAssociationsSecurityGroup]
    created_time str
    前缀列表的创建时间。
    id str
    The provider-assigned unique ID for this managed resource.
    prefix_list_id str
    前缀列表的ID。
    status str
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    updated_time str
    前缀列表的最近一次修改时间。
    associationCount Number
    前缀列表关联的资源数量。
    associationsRouteTables List<Property Map>
    associationsSecurityGroups List<Property Map>
    createdTime String
    前缀列表的创建时间。
    id String
    The provider-assigned unique ID for this managed resource.
    prefixListId String
    前缀列表的ID。
    status String
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    updatedTime String
    前缀列表的最近一次修改时间。

    Look up Existing PrefixList Resource

    Get an existing PrefixList 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?: PrefixListState, opts?: CustomResourceOptions): PrefixList
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            association_count: Optional[int] = None,
            associations_route_tables: Optional[Sequence[PrefixListAssociationsRouteTableArgs]] = None,
            associations_security_groups: Optional[Sequence[PrefixListAssociationsSecurityGroupArgs]] = None,
            created_time: Optional[str] = None,
            description: Optional[str] = None,
            ip_version: Optional[str] = None,
            max_entries: Optional[int] = None,
            prefix_list_entries: Optional[Sequence[PrefixListPrefixListEntryArgs]] = None,
            prefix_list_id: Optional[str] = None,
            prefix_list_name: Optional[str] = None,
            project_name: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[PrefixListTagArgs]] = None,
            updated_time: Optional[str] = None) -> PrefixList
    func GetPrefixList(ctx *Context, name string, id IDInput, state *PrefixListState, opts ...ResourceOption) (*PrefixList, error)
    public static PrefixList Get(string name, Input<string> id, PrefixListState? state, CustomResourceOptions? opts = null)
    public static PrefixList get(String name, Output<String> id, PrefixListState state, CustomResourceOptions options)
    resources:  _:    type: volcenginecc:vpc:PrefixList    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AssociationCount int
    前缀列表关联的资源数量。
    AssociationsRouteTables List<Volcengine.PrefixListAssociationsRouteTable>
    AssociationsSecurityGroups List<Volcengine.PrefixListAssociationsSecurityGroup>
    CreatedTime string
    前缀列表的创建时间。
    Description string
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    IpVersion string
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    MaxEntries int
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    PrefixListEntries List<Volcengine.PrefixListPrefixListEntry>
    PrefixListId string
    前缀列表的ID。
    PrefixListName string
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    ProjectName string
    前缀列表所属项目的名称,不填默认加入default项目。
    Status string
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    Tags List<Volcengine.PrefixListTag>
    UpdatedTime string
    前缀列表的最近一次修改时间。
    AssociationCount int
    前缀列表关联的资源数量。
    AssociationsRouteTables []PrefixListAssociationsRouteTableArgs
    AssociationsSecurityGroups []PrefixListAssociationsSecurityGroupArgs
    CreatedTime string
    前缀列表的创建时间。
    Description string
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    IpVersion string
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    MaxEntries int
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    PrefixListEntries []PrefixListPrefixListEntryArgs
    PrefixListId string
    前缀列表的ID。
    PrefixListName string
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    ProjectName string
    前缀列表所属项目的名称,不填默认加入default项目。
    Status string
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    Tags []PrefixListTagArgs
    UpdatedTime string
    前缀列表的最近一次修改时间。
    associationCount Integer
    前缀列表关联的资源数量。
    associationsRouteTables List<PrefixListAssociationsRouteTable>
    associationsSecurityGroups List<PrefixListAssociationsSecurityGroup>
    createdTime String
    前缀列表的创建时间。
    description String
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    ipVersion String
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    maxEntries Integer
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    prefixListEntries List<PrefixListPrefixListEntry>
    prefixListId String
    前缀列表的ID。
    prefixListName String
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    projectName String
    前缀列表所属项目的名称,不填默认加入default项目。
    status String
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    tags List<PrefixListTag>
    updatedTime String
    前缀列表的最近一次修改时间。
    associationCount number
    前缀列表关联的资源数量。
    associationsRouteTables PrefixListAssociationsRouteTable[]
    associationsSecurityGroups PrefixListAssociationsSecurityGroup[]
    createdTime string
    前缀列表的创建时间。
    description string
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    ipVersion string
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    maxEntries number
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    prefixListEntries PrefixListPrefixListEntry[]
    prefixListId string
    前缀列表的ID。
    prefixListName string
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    projectName string
    前缀列表所属项目的名称,不填默认加入default项目。
    status string
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    tags PrefixListTag[]
    updatedTime string
    前缀列表的最近一次修改时间。
    association_count int
    前缀列表关联的资源数量。
    associations_route_tables Sequence[PrefixListAssociationsRouteTableArgs]
    associations_security_groups Sequence[PrefixListAssociationsSecurityGroupArgs]
    created_time str
    前缀列表的创建时间。
    description str
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    ip_version str
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    max_entries int
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    prefix_list_entries Sequence[PrefixListPrefixListEntryArgs]
    prefix_list_id str
    前缀列表的ID。
    prefix_list_name str
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    project_name str
    前缀列表所属项目的名称,不填默认加入default项目。
    status str
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    tags Sequence[PrefixListTagArgs]
    updated_time str
    前缀列表的最近一次修改时间。
    associationCount Number
    前缀列表关联的资源数量。
    associationsRouteTables List<Property Map>
    associationsSecurityGroups List<Property Map>
    createdTime String
    前缀列表的创建时间。
    description String
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    ipVersion String
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    maxEntries Number
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    prefixListEntries List<Property Map>
    prefixListId String
    前缀列表的ID。
    prefixListName String
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    projectName String
    前缀列表所属项目的名称,不填默认加入default项目。
    status String
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    tags List<Property Map>
    updatedTime String
    前缀列表的最近一次修改时间。

    Supporting Types

    PrefixListAssociationsRouteTable, PrefixListAssociationsRouteTableArgs

    ResourceId string
    关联资源的ID。
    ResourceType string
    关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
    ResourceId string
    关联资源的ID。
    ResourceType string
    关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
    resourceId String
    关联资源的ID。
    resourceType String
    关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
    resourceId string
    关联资源的ID。
    resourceType string
    关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
    resource_id str
    关联资源的ID。
    resource_type str
    关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
    resourceId String
    关联资源的ID。
    resourceType String
    关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。

    PrefixListAssociationsSecurityGroup, PrefixListAssociationsSecurityGroupArgs

    ResourceId string
    关联资源的ID。
    ResourceType string
    关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
    ResourceId string
    关联资源的ID。
    ResourceType string
    关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
    resourceId String
    关联资源的ID。
    resourceType String
    关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
    resourceId string
    关联资源的ID。
    resourceType string
    关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
    resource_id str
    关联资源的ID。
    resource_type str
    关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
    resourceId String
    关联资源的ID。
    resourceType String
    关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。

    PrefixListPrefixListEntry, PrefixListPrefixListEntryArgs

    Cidr string
    前缀列表条目的CIDR。
    Description string
    前缀列表条目的描述。长度限制为0~255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    Cidr string
    前缀列表条目的CIDR。
    Description string
    前缀列表条目的描述。长度限制为0~255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    cidr String
    前缀列表条目的CIDR。
    description String
    前缀列表条目的描述。长度限制为0~255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    cidr string
    前缀列表条目的CIDR。
    description string
    前缀列表条目的描述。长度限制为0~255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    cidr str
    前缀列表条目的CIDR。
    description str
    前缀列表条目的描述。长度限制为0~255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    cidr String
    前缀列表条目的CIDR。
    description String
    前缀列表条目的描述。长度限制为0~255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。

    PrefixListTag, PrefixListTagArgs

    Key string
    用户标签的标签键。
    Value string
    用户标签的标签值。
    Key string
    用户标签的标签键。
    Value string
    用户标签的标签值。
    key String
    用户标签的标签键。
    value String
    用户标签的标签值。
    key string
    用户标签的标签键。
    value string
    用户标签的标签值。
    key str
    用户标签的标签键。
    value str
    用户标签的标签值。
    key String
    用户标签的标签键。
    value String
    用户标签的标签值。

    Import

    $ pulumi import volcenginecc:vpc/prefixList:PrefixList example "prefix_list_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 volcenginecc Terraform Provider.
    volcenginecc logo
    volcenginecc v0.0.4 published on Monday, Nov 3, 2025 by Volcengine
      Meet Neo: Your AI Platform Teammate