published on Thursday, Mar 26, 2026 by Volcengine
published on Thursday, Mar 26, 2026 by Volcengine
vedbm访问白名单。
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
resources:
vEDBMAllowListDemo:
type: volcenginecc:vedbm:AllowList
name: VEDBMAllowListDemo
properties:
allowListType: IPv4
allowList: 192.168.0.0/27,192.168.1.0/26
allowListName: test
allowListDesc: test
projectName: default
associatedInstances:
- instance_id: vedbm-7chs5mtj2***
- instance_id: vedbm-a5nwhmtj***
modifyMode: Cover
Create AllowList Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AllowList(name: string, args: AllowListArgs, opts?: CustomResourceOptions);@overload
def AllowList(resource_name: str,
args: AllowListArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AllowList(resource_name: str,
opts: Optional[ResourceOptions] = None,
allow_list_name: Optional[str] = None,
allow_list: Optional[str] = None,
allow_list_desc: Optional[str] = None,
allow_list_type: Optional[str] = None,
associated_instances: Optional[Sequence[AllowListAssociatedInstanceArgs]] = None,
modify_mode: Optional[str] = None,
project_name: Optional[str] = None)func NewAllowList(ctx *Context, name string, args AllowListArgs, opts ...ResourceOption) (*AllowList, error)public AllowList(string name, AllowListArgs args, CustomResourceOptions? opts = null)
public AllowList(String name, AllowListArgs args)
public AllowList(String name, AllowListArgs args, CustomResourceOptions options)
type: volcenginecc:vedbm:AllowList
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 AllowListArgs
- 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 AllowListArgs
- 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 AllowListArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AllowListArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AllowListArgs
- 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 exampleallowListResourceResourceFromVedbmallowList = new Volcenginecc.Vedbm.AllowList("exampleallowListResourceResourceFromVedbmallowList", new()
{
AllowListName = "string",
AllowListValue = "string",
AllowListDesc = "string",
AllowListType = "string",
AssociatedInstances = new[]
{
new Volcenginecc.Vedbm.Inputs.AllowListAssociatedInstanceArgs
{
InstanceId = "string",
},
},
ModifyMode = "string",
ProjectName = "string",
});
example, err := vedbm.NewAllowList(ctx, "exampleallowListResourceResourceFromVedbmallowList", &vedbm.AllowListArgs{
AllowListName: pulumi.String("string"),
AllowList: pulumi.String("string"),
AllowListDesc: pulumi.String("string"),
AllowListType: pulumi.String("string"),
AssociatedInstances: vedbm.AllowListAssociatedInstanceArray{
&vedbm.AllowListAssociatedInstanceArgs{
InstanceId: pulumi.String("string"),
},
},
ModifyMode: pulumi.String("string"),
ProjectName: pulumi.String("string"),
})
var exampleallowListResourceResourceFromVedbmallowList = new com.volcengine.volcenginecc.vedbm.AllowList("exampleallowListResourceResourceFromVedbmallowList", com.volcengine.volcenginecc.vedbm.AllowListArgs.builder()
.allowListName("string")
.allowList("string")
.allowListDesc("string")
.allowListType("string")
.associatedInstances(AllowListAssociatedInstanceArgs.builder()
.instanceId("string")
.build())
.modifyMode("string")
.projectName("string")
.build());
exampleallow_list_resource_resource_from_vedbmallow_list = volcenginecc.vedbm.AllowList("exampleallowListResourceResourceFromVedbmallowList",
allow_list_name="string",
allow_list="string",
allow_list_desc="string",
allow_list_type="string",
associated_instances=[{
"instance_id": "string",
}],
modify_mode="string",
project_name="string")
const exampleallowListResourceResourceFromVedbmallowList = new volcenginecc.vedbm.AllowList("exampleallowListResourceResourceFromVedbmallowList", {
allowListName: "string",
allowList: "string",
allowListDesc: "string",
allowListType: "string",
associatedInstances: [{
instanceId: "string",
}],
modifyMode: "string",
projectName: "string",
});
type: volcenginecc:vedbm:AllowList
properties:
allowList: string
allowListDesc: string
allowListName: string
allowListType: string
associatedInstances:
- instanceId: string
modifyMode: string
projectName: string
AllowList 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 AllowList resource accepts the following input properties:
- Allow
List stringName - 白名单名称。
- Allow
List stringDesc - 白名单描述。
- Allow
List stringType - 白名单内的IP地址类型,当前仅支持IPv4。
- Allow
List stringValue - IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
- Associated
Instances List<Volcengine.Allow List Associated Instance> - Modify
Mode string - 修改白名单的方式,支持设置为:Cover(默认):使用 AllowList 参数中的值覆盖原白名单。Append:在原白名单中增加 AllowList 参数中输入的 IP 地址。Delete:在原白名单中删除 AllowList 参数中输入的 IP 地址。至少需要保留一个 IP 地址。
- Project
Name string - 白名单所属的项目名称,当该参数留空时,新建的白名单默认加入 default 项目
- Allow
List stringName - 白名单名称。
- Allow
List string - IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
- Allow
List stringDesc - 白名单描述。
- Allow
List stringType - 白名单内的IP地址类型,当前仅支持IPv4。
- Associated
Instances []AllowList Associated Instance Args - Modify
Mode string - 修改白名单的方式,支持设置为:Cover(默认):使用 AllowList 参数中的值覆盖原白名单。Append:在原白名单中增加 AllowList 参数中输入的 IP 地址。Delete:在原白名单中删除 AllowList 参数中输入的 IP 地址。至少需要保留一个 IP 地址。
- Project
Name string - 白名单所属的项目名称,当该参数留空时,新建的白名单默认加入 default 项目
- allow
List StringName - 白名单名称。
- allow
List String - IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
- allow
List StringDesc - 白名单描述。
- allow
List StringType - 白名单内的IP地址类型,当前仅支持IPv4。
- associated
Instances List<AllowList Associated Instance> - modify
Mode String - 修改白名单的方式,支持设置为:Cover(默认):使用 AllowList 参数中的值覆盖原白名单。Append:在原白名单中增加 AllowList 参数中输入的 IP 地址。Delete:在原白名单中删除 AllowList 参数中输入的 IP 地址。至少需要保留一个 IP 地址。
- project
Name String - 白名单所属的项目名称,当该参数留空时,新建的白名单默认加入 default 项目
- allow
List stringName - 白名单名称。
- allow
List string - IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
- allow
List stringDesc - 白名单描述。
- allow
List stringType - 白名单内的IP地址类型,当前仅支持IPv4。
- associated
Instances AllowList Associated Instance[] - modify
Mode string - 修改白名单的方式,支持设置为:Cover(默认):使用 AllowList 参数中的值覆盖原白名单。Append:在原白名单中增加 AllowList 参数中输入的 IP 地址。Delete:在原白名单中删除 AllowList 参数中输入的 IP 地址。至少需要保留一个 IP 地址。
- project
Name string - 白名单所属的项目名称,当该参数留空时,新建的白名单默认加入 default 项目
- allow_
list_ strname - 白名单名称。
- allow_
list str - IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
- allow_
list_ strdesc - 白名单描述。
- allow_
list_ strtype - 白名单内的IP地址类型,当前仅支持IPv4。
- associated_
instances Sequence[AllowList Associated Instance Args] - modify_
mode str - 修改白名单的方式,支持设置为:Cover(默认):使用 AllowList 参数中的值覆盖原白名单。Append:在原白名单中增加 AllowList 参数中输入的 IP 地址。Delete:在原白名单中删除 AllowList 参数中输入的 IP 地址。至少需要保留一个 IP 地址。
- project_
name str - 白名单所属的项目名称,当该参数留空时,新建的白名单默认加入 default 项目
- allow
List StringName - 白名单名称。
- allow
List String - IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
- allow
List StringDesc - 白名单描述。
- allow
List StringType - 白名单内的IP地址类型,当前仅支持IPv4。
- associated
Instances List<Property Map> - modify
Mode String - 修改白名单的方式,支持设置为:Cover(默认):使用 AllowList 参数中的值覆盖原白名单。Append:在原白名单中增加 AllowList 参数中输入的 IP 地址。Delete:在原白名单中删除 AllowList 参数中输入的 IP 地址。至少需要保留一个 IP 地址。
- project
Name String - 白名单所属的项目名称,当该参数留空时,新建的白名单默认加入 default 项目
Outputs
All input properties are implicitly available as output properties. Additionally, the AllowList resource produces the following output properties:
- Allow
List stringId - 白名单的id。
- Allow
List intIp Num - 白名单内的 IP 地址(或地址段)总数。
- Associated
Instance intNum - 白名单下绑定的实例总数
- Id string
- The provider-assigned unique ID for this managed resource.
- Allow
List stringId - 白名单的id。
- Allow
List intIp Num - 白名单内的 IP 地址(或地址段)总数。
- Associated
Instance intNum - 白名单下绑定的实例总数
- Id string
- The provider-assigned unique ID for this managed resource.
- allow
List StringId - 白名单的id。
- allow
List IntegerIp Num - 白名单内的 IP 地址(或地址段)总数。
- associated
Instance IntegerNum - 白名单下绑定的实例总数
- id String
- The provider-assigned unique ID for this managed resource.
- allow
List stringId - 白名单的id。
- allow
List numberIp Num - 白名单内的 IP 地址(或地址段)总数。
- associated
Instance numberNum - 白名单下绑定的实例总数
- id string
- The provider-assigned unique ID for this managed resource.
- allow_
list_ strid - 白名单的id。
- allow_
list_ intip_ num - 白名单内的 IP 地址(或地址段)总数。
- associated_
instance_ intnum - 白名单下绑定的实例总数
- id str
- The provider-assigned unique ID for this managed resource.
- allow
List StringId - 白名单的id。
- allow
List NumberIp Num - 白名单内的 IP 地址(或地址段)总数。
- associated
Instance NumberNum - 白名单下绑定的实例总数
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AllowList Resource
Get an existing AllowList 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?: AllowListState, opts?: CustomResourceOptions): AllowList@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allow_list: Optional[str] = None,
allow_list_desc: Optional[str] = None,
allow_list_id: Optional[str] = None,
allow_list_ip_num: Optional[int] = None,
allow_list_name: Optional[str] = None,
allow_list_type: Optional[str] = None,
associated_instance_num: Optional[int] = None,
associated_instances: Optional[Sequence[AllowListAssociatedInstanceArgs]] = None,
modify_mode: Optional[str] = None,
project_name: Optional[str] = None) -> AllowListfunc GetAllowList(ctx *Context, name string, id IDInput, state *AllowListState, opts ...ResourceOption) (*AllowList, error)public static AllowList Get(string name, Input<string> id, AllowListState? state, CustomResourceOptions? opts = null)public static AllowList get(String name, Output<String> id, AllowListState state, CustomResourceOptions options)resources: _: type: volcenginecc:vedbm:AllowList 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.
- Allow
List stringDesc - 白名单描述。
- Allow
List stringId - 白名单的id。
- Allow
List intIp Num - 白名单内的 IP 地址(或地址段)总数。
- Allow
List stringName - 白名单名称。
- Allow
List stringType - 白名单内的IP地址类型,当前仅支持IPv4。
- Allow
List stringValue - IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
- Associated
Instance intNum - 白名单下绑定的实例总数
- Associated
Instances List<Volcengine.Allow List Associated Instance> - Modify
Mode string - 修改白名单的方式,支持设置为:Cover(默认):使用 AllowList 参数中的值覆盖原白名单。Append:在原白名单中增加 AllowList 参数中输入的 IP 地址。Delete:在原白名单中删除 AllowList 参数中输入的 IP 地址。至少需要保留一个 IP 地址。
- Project
Name string - 白名单所属的项目名称,当该参数留空时,新建的白名单默认加入 default 项目
- Allow
List string - IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
- Allow
List stringDesc - 白名单描述。
- Allow
List stringId - 白名单的id。
- Allow
List intIp Num - 白名单内的 IP 地址(或地址段)总数。
- Allow
List stringName - 白名单名称。
- Allow
List stringType - 白名单内的IP地址类型,当前仅支持IPv4。
- Associated
Instance intNum - 白名单下绑定的实例总数
- Associated
Instances []AllowList Associated Instance Args - Modify
Mode string - 修改白名单的方式,支持设置为:Cover(默认):使用 AllowList 参数中的值覆盖原白名单。Append:在原白名单中增加 AllowList 参数中输入的 IP 地址。Delete:在原白名单中删除 AllowList 参数中输入的 IP 地址。至少需要保留一个 IP 地址。
- Project
Name string - 白名单所属的项目名称,当该参数留空时,新建的白名单默认加入 default 项目
- allow
List String - IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
- allow
List StringDesc - 白名单描述。
- allow
List StringId - 白名单的id。
- allow
List IntegerIp Num - 白名单内的 IP 地址(或地址段)总数。
- allow
List StringName - 白名单名称。
- allow
List StringType - 白名单内的IP地址类型,当前仅支持IPv4。
- associated
Instance IntegerNum - 白名单下绑定的实例总数
- associated
Instances List<AllowList Associated Instance> - modify
Mode String - 修改白名单的方式,支持设置为:Cover(默认):使用 AllowList 参数中的值覆盖原白名单。Append:在原白名单中增加 AllowList 参数中输入的 IP 地址。Delete:在原白名单中删除 AllowList 参数中输入的 IP 地址。至少需要保留一个 IP 地址。
- project
Name String - 白名单所属的项目名称,当该参数留空时,新建的白名单默认加入 default 项目
- allow
List string - IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
- allow
List stringDesc - 白名单描述。
- allow
List stringId - 白名单的id。
- allow
List numberIp Num - 白名单内的 IP 地址(或地址段)总数。
- allow
List stringName - 白名单名称。
- allow
List stringType - 白名单内的IP地址类型,当前仅支持IPv4。
- associated
Instance numberNum - 白名单下绑定的实例总数
- associated
Instances AllowList Associated Instance[] - modify
Mode string - 修改白名单的方式,支持设置为:Cover(默认):使用 AllowList 参数中的值覆盖原白名单。Append:在原白名单中增加 AllowList 参数中输入的 IP 地址。Delete:在原白名单中删除 AllowList 参数中输入的 IP 地址。至少需要保留一个 IP 地址。
- project
Name string - 白名单所属的项目名称,当该参数留空时,新建的白名单默认加入 default 项目
- allow_
list str - IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
- allow_
list_ strdesc - 白名单描述。
- allow_
list_ strid - 白名单的id。
- allow_
list_ intip_ num - 白名单内的 IP 地址(或地址段)总数。
- allow_
list_ strname - 白名单名称。
- allow_
list_ strtype - 白名单内的IP地址类型,当前仅支持IPv4。
- associated_
instance_ intnum - 白名单下绑定的实例总数
- associated_
instances Sequence[AllowList Associated Instance Args] - modify_
mode str - 修改白名单的方式,支持设置为:Cover(默认):使用 AllowList 参数中的值覆盖原白名单。Append:在原白名单中增加 AllowList 参数中输入的 IP 地址。Delete:在原白名单中删除 AllowList 参数中输入的 IP 地址。至少需要保留一个 IP 地址。
- project_
name str - 白名单所属的项目名称,当该参数留空时,新建的白名单默认加入 default 项目
- allow
List String - IP 白名单,多个 IP 地址请以英文逗号(,)隔开,不可重复。
- allow
List StringDesc - 白名单描述。
- allow
List StringId - 白名单的id。
- allow
List NumberIp Num - 白名单内的 IP 地址(或地址段)总数。
- allow
List StringName - 白名单名称。
- allow
List StringType - 白名单内的IP地址类型,当前仅支持IPv4。
- associated
Instance NumberNum - 白名单下绑定的实例总数
- associated
Instances List<Property Map> - modify
Mode String - 修改白名单的方式,支持设置为:Cover(默认):使用 AllowList 参数中的值覆盖原白名单。Append:在原白名单中增加 AllowList 参数中输入的 IP 地址。Delete:在原白名单中删除 AllowList 参数中输入的 IP 地址。至少需要保留一个 IP 地址。
- project
Name String - 白名单所属的项目名称,当该参数留空时,新建的白名单默认加入 default 项目
Supporting Types
AllowListAssociatedInstance, AllowListAssociatedInstanceArgs
- Instance
Id string - 实例ID。
- Instance
Id string - 实例ID。
- instance
Id String - 实例ID。
- instance
Id string - 实例ID。
- instance_
id str - 实例ID。
- instance
Id String - 实例ID。
Import
$ pulumi import volcenginecc:vedbm/allowList:AllowList example "allow_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.
published on Thursday, Mar 26, 2026 by Volcengine
