volcenginecc.vpc.PrefixList
前缀列表是一组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:
- Max
Entries int - 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
- Description string
- 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- Ip
Version string - IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
- Prefix
List List<Volcengine.Entries Prefix List Prefix List Entry> - Prefix
List stringName - 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
- Project
Name string - 前缀列表所属项目的名称,不填默认加入default项目。
-
List<Volcengine.
Prefix List Tag>
- Max
Entries int - 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
- Description string
- 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- Ip
Version string - IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
- Prefix
List []PrefixEntries List Prefix List Entry Args - Prefix
List stringName - 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
- Project
Name string - 前缀列表所属项目的名称,不填默认加入default项目。
-
[]Prefix
List Tag Args
- max
Entries Integer - 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
- description String
- 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- ip
Version String - IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
- prefix
List List<PrefixEntries List Prefix List Entry> - prefix
List StringName - 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
- project
Name String - 前缀列表所属项目的名称,不填默认加入default项目。
-
List<Prefix
List Tag>
- max
Entries number - 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
- description string
- 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- ip
Version string - IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
- prefix
List PrefixEntries List Prefix List Entry[] - prefix
List stringName - 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
- project
Name string - 前缀列表所属项目的名称,不填默认加入default项目。
-
Prefix
List Tag[]
- max_
entries int - 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
- description str
- 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- ip_
version str - IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
- prefix_
list_ Sequence[Prefixentries List Prefix List Entry Args] - prefix_
list_ strname - 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
- project_
name str - 前缀列表所属项目的名称,不填默认加入default项目。
-
Sequence[Prefix
List Tag Args]
- max
Entries Number - 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
- description String
- 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- ip
Version String - IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
- prefix
List List<Property Map>Entries - prefix
List StringName - 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
- project
Name String - 前缀列表所属项目的名称,不填默认加入default项目。
- List<Property Map>
Outputs
All input properties are implicitly available as output properties. Additionally, the PrefixList resource produces the following output properties:
- Association
Count int - 前缀列表关联的资源数量。
- Associations
Route List<Volcengine.Tables Prefix List Associations Route Table> - Associations
Security List<Volcengine.Groups Prefix List Associations Security Group> - Created
Time string - 前缀列表的创建时间。
- Id string
- The provider-assigned unique ID for this managed resource.
- Prefix
List stringId - 前缀列表的ID。
- Status string
- 前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
- Updated
Time string - 前缀列表的最近一次修改时间。
- Association
Count int - 前缀列表关联的资源数量。
- Associations
Route []PrefixTables List Associations Route Table - Associations
Security []PrefixGroups List Associations Security Group - Created
Time string - 前缀列表的创建时间。
- Id string
- The provider-assigned unique ID for this managed resource.
- Prefix
List stringId - 前缀列表的ID。
- Status string
- 前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
- Updated
Time string - 前缀列表的最近一次修改时间。
- association
Count Integer - 前缀列表关联的资源数量。
- associations
Route List<PrefixTables List Associations Route Table> - associations
Security List<PrefixGroups List Associations Security Group> - created
Time String - 前缀列表的创建时间。
- id String
- The provider-assigned unique ID for this managed resource.
- prefix
List StringId - 前缀列表的ID。
- status String
- 前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
- updated
Time String - 前缀列表的最近一次修改时间。
- association
Count number - 前缀列表关联的资源数量。
- associations
Route PrefixTables List Associations Route Table[] - associations
Security PrefixGroups List Associations Security Group[] - created
Time string - 前缀列表的创建时间。
- id string
- The provider-assigned unique ID for this managed resource.
- prefix
List stringId - 前缀列表的ID。
- status string
- 前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
- updated
Time string - 前缀列表的最近一次修改时间。
- association_
count int - 前缀列表关联的资源数量。
- associations_
route_ Sequence[Prefixtables List Associations Route Table] - associations_
security_ Sequence[Prefixgroups List Associations Security Group] - created_
time str - 前缀列表的创建时间。
- id str
- The provider-assigned unique ID for this managed resource.
- prefix_
list_ strid - 前缀列表的ID。
- status str
- 前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
- updated_
time str - 前缀列表的最近一次修改时间。
- association
Count Number - 前缀列表关联的资源数量。
- associations
Route List<Property Map>Tables - associations
Security List<Property Map>Groups - created
Time String - 前缀列表的创建时间。
- id String
- The provider-assigned unique ID for this managed resource.
- prefix
List StringId - 前缀列表的ID。
- status String
- 前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
- updated
Time 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) -> PrefixListfunc 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.
- Association
Count int - 前缀列表关联的资源数量。
- Associations
Route List<Volcengine.Tables Prefix List Associations Route Table> - Associations
Security List<Volcengine.Groups Prefix List Associations Security Group> - Created
Time string - 前缀列表的创建时间。
- Description string
- 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- Ip
Version string - IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
- Max
Entries int - 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
- Prefix
List List<Volcengine.Entries Prefix List Prefix List Entry> - Prefix
List stringId - 前缀列表的ID。
- Prefix
List stringName - 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
- Project
Name string - 前缀列表所属项目的名称,不填默认加入default项目。
- Status string
- 前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
-
List<Volcengine.
Prefix List Tag> - Updated
Time string - 前缀列表的最近一次修改时间。
- Association
Count int - 前缀列表关联的资源数量。
- Associations
Route []PrefixTables List Associations Route Table Args - Associations
Security []PrefixGroups List Associations Security Group Args - Created
Time string - 前缀列表的创建时间。
- Description string
- 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- Ip
Version string - IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
- Max
Entries int - 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
- Prefix
List []PrefixEntries List Prefix List Entry Args - Prefix
List stringId - 前缀列表的ID。
- Prefix
List stringName - 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
- Project
Name string - 前缀列表所属项目的名称,不填默认加入default项目。
- Status string
- 前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
-
[]Prefix
List Tag Args - Updated
Time string - 前缀列表的最近一次修改时间。
- association
Count Integer - 前缀列表关联的资源数量。
- associations
Route List<PrefixTables List Associations Route Table> - associations
Security List<PrefixGroups List Associations Security Group> - created
Time String - 前缀列表的创建时间。
- description String
- 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- ip
Version String - IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
- max
Entries Integer - 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
- prefix
List List<PrefixEntries List Prefix List Entry> - prefix
List StringId - 前缀列表的ID。
- prefix
List StringName - 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
- project
Name String - 前缀列表所属项目的名称,不填默认加入default项目。
- status String
- 前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
-
List<Prefix
List Tag> - updated
Time String - 前缀列表的最近一次修改时间。
- association
Count number - 前缀列表关联的资源数量。
- associations
Route PrefixTables List Associations Route Table[] - associations
Security PrefixGroups List Associations Security Group[] - created
Time string - 前缀列表的创建时间。
- description string
- 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- ip
Version string - IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
- max
Entries number - 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
- prefix
List PrefixEntries List Prefix List Entry[] - prefix
List stringId - 前缀列表的ID。
- prefix
List stringName - 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
- project
Name string - 前缀列表所属项目的名称,不填默认加入default项目。
- status string
- 前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
-
Prefix
List Tag[] - updated
Time string - 前缀列表的最近一次修改时间。
- association_
count int - 前缀列表关联的资源数量。
- associations_
route_ Sequence[Prefixtables List Associations Route Table Args] - associations_
security_ Sequence[Prefixgroups List Associations Security Group Args] - created_
time str - 前缀列表的创建时间。
- description str
- 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- ip_
version str - IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
- max_
entries int - 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
- prefix_
list_ Sequence[Prefixentries List Prefix List Entry Args] - prefix_
list_ strid - 前缀列表的ID。
- prefix_
list_ strname - 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
- project_
name str - 前缀列表所属项目的名称,不填默认加入default项目。
- status str
- 前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
-
Sequence[Prefix
List Tag Args] - updated_
time str - 前缀列表的最近一次修改时间。
- association
Count Number - 前缀列表关联的资源数量。
- associations
Route List<Property Map>Tables - associations
Security List<Property Map>Groups - created
Time String - 前缀列表的创建时间。
- description String
- 前缀列表的描述信息。长度限制为0~ 255个字符,需要以字母、中文或数字开头。可包含英文逗号(,)、点号(.)、下划线(_)、空格( )、等号(=)、短横线(-)、中文逗号(,)、中文句号(。)。
- ip
Version String - IP版本类型。取值:IPv4(默认值):IPv4类型。IPv6:IPv6类型。
- max
Entries Number - 最大条目数,即前缀列表最多可添加条目的数量。取值范围为1~200。
- prefix
List List<Property Map>Entries - prefix
List StringId - 前缀列表的ID。
- prefix
List StringName - 前缀列表的名称。需要以字母、中文或数字开头,可包含点号(.)、下划线(_)和短划线(-)。
- project
Name String - 前缀列表所属项目的名称,不填默认加入default项目。
- status String
- 前缀列表的状态。取值:Available:可用;Creating:创建中;Deleting:删除中;Pending:修改中。
- List<Property Map>
- updated
Time String - 前缀列表的最近一次修改时间。
Supporting Types
PrefixListAssociationsRouteTable, PrefixListAssociationsRouteTableArgs
- Resource
Id string - 关联资源的ID。
- Resource
Type string - 关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
- Resource
Id string - 关联资源的ID。
- Resource
Type string - 关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
- resource
Id String - 关联资源的ID。
- resource
Type String - 关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
- resource
Id string - 关联资源的ID。
- resource
Type string - 关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
- resource_
id str - 关联资源的ID。
- resource_
type str - 关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
- resource
Id String - 关联资源的ID。
- resource
Type String - 关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
PrefixListAssociationsSecurityGroup, PrefixListAssociationsSecurityGroupArgs
- Resource
Id string - 关联资源的ID。
- Resource
Type string - 关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
- Resource
Id string - 关联资源的ID。
- Resource
Type string - 关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
- resource
Id String - 关联资源的ID。
- resource
Type String - 关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
- resource
Id string - 关联资源的ID。
- resource
Type string - 关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
- resource_
id str - 关联资源的ID。
- resource_
type str - 关联资源的类型。VpcRouteTable:路由表;VpcSecurityGroup:安全组。
- resource
Id String - 关联资源的ID。
- resource
Type 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
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
volcengineccTerraform Provider.
