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

volcenginecc.vpc.getPrefixList

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

    Data Source schema for Volcengine::VPC::PrefixList

    Using getPrefixList

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPrefixList(args: GetPrefixListArgs, opts?: InvokeOptions): Promise<GetPrefixListResult>
    function getPrefixListOutput(args: GetPrefixListOutputArgs, opts?: InvokeOptions): Output<GetPrefixListResult>
    def get_prefix_list(id: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetPrefixListResult
    def get_prefix_list_output(id: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetPrefixListResult]
    func LookupPrefixList(ctx *Context, args *LookupPrefixListArgs, opts ...InvokeOption) (*LookupPrefixListResult, error)
    func LookupPrefixListOutput(ctx *Context, args *LookupPrefixListOutputArgs, opts ...InvokeOption) LookupPrefixListResultOutput

    > Note: This function is named LookupPrefixList in the Go SDK.

    public static class GetPrefixList 
    {
        public static Task<GetPrefixListResult> InvokeAsync(GetPrefixListArgs args, InvokeOptions? opts = null)
        public static Output<GetPrefixListResult> Invoke(GetPrefixListInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPrefixListResult> getPrefixList(GetPrefixListArgs args, InvokeOptions options)
    public static Output<GetPrefixListResult> getPrefixList(GetPrefixListArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcenginecc:vpc/getPrefixList:getPrefixList
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getPrefixList Result

    The following output properties are available:

    AssociationCount int
    前缀列表关联的资源数量。
    AssociationsRouteTables List<Volcengine.GetPrefixListAssociationsRouteTable>
    前缀列表关联的路由表信息。
    AssociationsSecurityGroups List<Volcengine.GetPrefixListAssociationsSecurityGroup>
    前缀列表关联的安全组信息。
    CreatedTime string
    前缀列表的创建时间。
    Description string
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    Id string
    Uniquely identifies the resource.
    IpVersion string
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    MaxEntries int
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    PrefixListEntries List<Volcengine.GetPrefixListPrefixListEntry>
    前缀列表条目的CIDR。
    PrefixListId string
    前缀列表的ID。
    PrefixListName string
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    ProjectName string
    前缀列表所属项目的名称,不填默认加入default项目。
    Status string
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    Tags List<Volcengine.GetPrefixListTag>
    标签列表。
    UpdatedTime string
    前缀列表的最近一次修改时间。
    AssociationCount int
    前缀列表关联的资源数量。
    AssociationsRouteTables []GetPrefixListAssociationsRouteTable
    前缀列表关联的路由表信息。
    AssociationsSecurityGroups []GetPrefixListAssociationsSecurityGroup
    前缀列表关联的安全组信息。
    CreatedTime string
    前缀列表的创建时间。
    Description string
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    Id string
    Uniquely identifies the resource.
    IpVersion string
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    MaxEntries int
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    PrefixListEntries []GetPrefixListPrefixListEntry
    前缀列表条目的CIDR。
    PrefixListId string
    前缀列表的ID。
    PrefixListName string
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    ProjectName string
    前缀列表所属项目的名称,不填默认加入default项目。
    Status string
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    Tags []GetPrefixListTag
    标签列表。
    UpdatedTime string
    前缀列表的最近一次修改时间。
    associationCount Integer
    前缀列表关联的资源数量。
    associationsRouteTables List<GetPrefixListAssociationsRouteTable>
    前缀列表关联的路由表信息。
    associationsSecurityGroups List<GetPrefixListAssociationsSecurityGroup>
    前缀列表关联的安全组信息。
    createdTime String
    前缀列表的创建时间。
    description String
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    id String
    Uniquely identifies the resource.
    ipVersion String
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    maxEntries Integer
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    prefixListEntries List<GetPrefixListPrefixListEntry>
    前缀列表条目的CIDR。
    prefixListId String
    前缀列表的ID。
    prefixListName String
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    projectName String
    前缀列表所属项目的名称,不填默认加入default项目。
    status String
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    tags List<GetPrefixListTag>
    标签列表。
    updatedTime String
    前缀列表的最近一次修改时间。
    associationCount number
    前缀列表关联的资源数量。
    associationsRouteTables GetPrefixListAssociationsRouteTable[]
    前缀列表关联的路由表信息。
    associationsSecurityGroups GetPrefixListAssociationsSecurityGroup[]
    前缀列表关联的安全组信息。
    createdTime string
    前缀列表的创建时间。
    description string
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    id string
    Uniquely identifies the resource.
    ipVersion string
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    maxEntries number
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    prefixListEntries GetPrefixListPrefixListEntry[]
    前缀列表条目的CIDR。
    prefixListId string
    前缀列表的ID。
    prefixListName string
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    projectName string
    前缀列表所属项目的名称,不填默认加入default项目。
    status string
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    tags GetPrefixListTag[]
    标签列表。
    updatedTime string
    前缀列表的最近一次修改时间。
    association_count int
    前缀列表关联的资源数量。
    associations_route_tables Sequence[GetPrefixListAssociationsRouteTable]
    前缀列表关联的路由表信息。
    associations_security_groups Sequence[GetPrefixListAssociationsSecurityGroup]
    前缀列表关联的安全组信息。
    created_time str
    前缀列表的创建时间。
    description str
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    id str
    Uniquely identifies the resource.
    ip_version str
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    max_entries int
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    prefix_list_entries Sequence[GetPrefixListPrefixListEntry]
    前缀列表条目的CIDR。
    prefix_list_id str
    前缀列表的ID。
    prefix_list_name str
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    project_name str
    前缀列表所属项目的名称,不填默认加入default项目。
    status str
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    tags Sequence[GetPrefixListTag]
    标签列表。
    updated_time str
    前缀列表的最近一次修改时间。
    associationCount Number
    前缀列表关联的资源数量。
    associationsRouteTables List<Property Map>
    前缀列表关联的路由表信息。
    associationsSecurityGroups List<Property Map>
    前缀列表关联的安全组信息。
    createdTime String
    前缀列表的创建时间。
    description String
    前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
    id String
    Uniquely identifies the resource.
    ipVersion String
    IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
    maxEntries Number
    最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
    prefixListEntries List<Property Map>
    前缀列表条目的CIDR。
    prefixListId String
    前缀列表的ID。
    prefixListName String
    前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
    projectName String
    前缀列表所属项目的名称,不填默认加入default项目。
    status String
    前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
    tags List<Property Map>
    标签列表。
    updatedTime String
    前缀列表的最近一次修改时间。

    Supporting Types

    GetPrefixListAssociationsRouteTable

    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:安全组。

    GetPrefixListAssociationsSecurityGroup

    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:安全组。

    GetPrefixListPrefixListEntry

    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个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。

    GetPrefixListTag

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

    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