1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. vedbm
  5. AllowList
Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus

    vedbm access allowlist.

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    resources:
      vEDBMAllowListDemo:
        type: bytepluscc: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: bytepluscc: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 Bytepluscc.Vedbm.AllowList("exampleallowListResourceResourceFromVedbmallowList", new()
    {
        AllowListName = "string",
        AllowListValue = "string",
        AllowListDesc = "string",
        AllowListType = "string",
        AssociatedInstances = new[]
        {
            new Bytepluscc.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.byteplus.bytepluscc.vedbm.AllowList("exampleallowListResourceResourceFromVedbmallowList", com.byteplus.bytepluscc.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 = bytepluscc.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 bytepluscc.vedbm.AllowList("exampleallowListResourceResourceFromVedbmallowList", {
        allowListName: "string",
        allowList: "string",
        allowListDesc: "string",
        allowListType: "string",
        associatedInstances: [{
            instanceId: "string",
        }],
        modifyMode: "string",
        projectName: "string",
    });
    
    type: bytepluscc: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:

    AllowListName string
    Allowlist name.
    AllowListDesc string
    Allowlist description.
    AllowListType string
    IP address type in the allowlist. Only IPv4 is currently supported.
    AllowListValue string
    IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed.
    AssociatedInstances List<Byteplus.AllowListAssociatedInstance>
    ModifyMode string
    How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain.
    ProjectName string
    Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project.
    AllowListName string
    Allowlist name.
    AllowList string
    IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed.
    AllowListDesc string
    Allowlist description.
    AllowListType string
    IP address type in the allowlist. Only IPv4 is currently supported.
    AssociatedInstances []AllowListAssociatedInstanceArgs
    ModifyMode string
    How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain.
    ProjectName string
    Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project.
    allowListName String
    Allowlist name.
    allowList String
    IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed.
    allowListDesc String
    Allowlist description.
    allowListType String
    IP address type in the allowlist. Only IPv4 is currently supported.
    associatedInstances List<AllowListAssociatedInstance>
    modifyMode String
    How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain.
    projectName String
    Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project.
    allowListName string
    Allowlist name.
    allowList string
    IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed.
    allowListDesc string
    Allowlist description.
    allowListType string
    IP address type in the allowlist. Only IPv4 is currently supported.
    associatedInstances AllowListAssociatedInstance[]
    modifyMode string
    How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain.
    projectName string
    Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project.
    allow_list_name str
    Allowlist name.
    allow_list str
    IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed.
    allow_list_desc str
    Allowlist description.
    allow_list_type str
    IP address type in the allowlist. Only IPv4 is currently supported.
    associated_instances Sequence[AllowListAssociatedInstanceArgs]
    modify_mode str
    How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain.
    project_name str
    Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project.
    allowListName String
    Allowlist name.
    allowList String
    IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed.
    allowListDesc String
    Allowlist description.
    allowListType String
    IP address type in the allowlist. Only IPv4 is currently supported.
    associatedInstances List<Property Map>
    modifyMode String
    How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain.
    projectName String
    Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project.

    Outputs

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

    AllowListId string
    Allowlist ID.
    AllowListIpNum int
    Total number of IP addresses (or address ranges) in the allowlist.
    AssociatedInstanceNum int
    Total number of instances bound to the allowlist.
    Id string
    The provider-assigned unique ID for this managed resource.
    AllowListId string
    Allowlist ID.
    AllowListIpNum int
    Total number of IP addresses (or address ranges) in the allowlist.
    AssociatedInstanceNum int
    Total number of instances bound to the allowlist.
    Id string
    The provider-assigned unique ID for this managed resource.
    allowListId String
    Allowlist ID.
    allowListIpNum Integer
    Total number of IP addresses (or address ranges) in the allowlist.
    associatedInstanceNum Integer
    Total number of instances bound to the allowlist.
    id String
    The provider-assigned unique ID for this managed resource.
    allowListId string
    Allowlist ID.
    allowListIpNum number
    Total number of IP addresses (or address ranges) in the allowlist.
    associatedInstanceNum number
    Total number of instances bound to the allowlist.
    id string
    The provider-assigned unique ID for this managed resource.
    allow_list_id str
    Allowlist ID.
    allow_list_ip_num int
    Total number of IP addresses (or address ranges) in the allowlist.
    associated_instance_num int
    Total number of instances bound to the allowlist.
    id str
    The provider-assigned unique ID for this managed resource.
    allowListId String
    Allowlist ID.
    allowListIpNum Number
    Total number of IP addresses (or address ranges) in the allowlist.
    associatedInstanceNum Number
    Total number of instances bound to the allowlist.
    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) -> AllowList
    func 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: bytepluscc: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.
    The following state arguments are supported:
    AllowListDesc string
    Allowlist description.
    AllowListId string
    Allowlist ID.
    AllowListIpNum int
    Total number of IP addresses (or address ranges) in the allowlist.
    AllowListName string
    Allowlist name.
    AllowListType string
    IP address type in the allowlist. Only IPv4 is currently supported.
    AllowListValue string
    IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed.
    AssociatedInstanceNum int
    Total number of instances bound to the allowlist.
    AssociatedInstances List<Byteplus.AllowListAssociatedInstance>
    ModifyMode string
    How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain.
    ProjectName string
    Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project.
    AllowList string
    IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed.
    AllowListDesc string
    Allowlist description.
    AllowListId string
    Allowlist ID.
    AllowListIpNum int
    Total number of IP addresses (or address ranges) in the allowlist.
    AllowListName string
    Allowlist name.
    AllowListType string
    IP address type in the allowlist. Only IPv4 is currently supported.
    AssociatedInstanceNum int
    Total number of instances bound to the allowlist.
    AssociatedInstances []AllowListAssociatedInstanceArgs
    ModifyMode string
    How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain.
    ProjectName string
    Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project.
    allowList String
    IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed.
    allowListDesc String
    Allowlist description.
    allowListId String
    Allowlist ID.
    allowListIpNum Integer
    Total number of IP addresses (or address ranges) in the allowlist.
    allowListName String
    Allowlist name.
    allowListType String
    IP address type in the allowlist. Only IPv4 is currently supported.
    associatedInstanceNum Integer
    Total number of instances bound to the allowlist.
    associatedInstances List<AllowListAssociatedInstance>
    modifyMode String
    How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain.
    projectName String
    Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project.
    allowList string
    IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed.
    allowListDesc string
    Allowlist description.
    allowListId string
    Allowlist ID.
    allowListIpNum number
    Total number of IP addresses (or address ranges) in the allowlist.
    allowListName string
    Allowlist name.
    allowListType string
    IP address type in the allowlist. Only IPv4 is currently supported.
    associatedInstanceNum number
    Total number of instances bound to the allowlist.
    associatedInstances AllowListAssociatedInstance[]
    modifyMode string
    How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain.
    projectName string
    Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project.
    allow_list str
    IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed.
    allow_list_desc str
    Allowlist description.
    allow_list_id str
    Allowlist ID.
    allow_list_ip_num int
    Total number of IP addresses (or address ranges) in the allowlist.
    allow_list_name str
    Allowlist name.
    allow_list_type str
    IP address type in the allowlist. Only IPv4 is currently supported.
    associated_instance_num int
    Total number of instances bound to the allowlist.
    associated_instances Sequence[AllowListAssociatedInstanceArgs]
    modify_mode str
    How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain.
    project_name str
    Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project.
    allowList String
    IP allowlist. Separate multiple IP addresses with commas (,). Duplicate entries are not allowed.
    allowListDesc String
    Allowlist description.
    allowListId String
    Allowlist ID.
    allowListIpNum Number
    Total number of IP addresses (or address ranges) in the allowlist.
    allowListName String
    Allowlist name.
    allowListType String
    IP address type in the allowlist. Only IPv4 is currently supported.
    associatedInstanceNum Number
    Total number of instances bound to the allowlist.
    associatedInstances List<Property Map>
    modifyMode String
    How to modify the allowlist. Supported settings: Cover (default): Overwrite the original allowlist with the values in the AllowList parameter. Append: Add IP addresses entered in the AllowList parameter to the original allowlist. Delete: Remove IP addresses entered in the AllowList parameter from the original allowlist. At least one IP address must remain.
    projectName String
    Project name associated with the allowlist. If left blank, the new allowlist will be added to the default project.

    Supporting Types

    AllowListAssociatedInstance, AllowListAssociatedInstanceArgs

    InstanceId string
    Instance ID.
    InstanceId string
    Instance ID.
    instanceId String
    Instance ID.
    instanceId string
    Instance ID.
    instance_id str
    Instance ID.
    instanceId String
    Instance ID.

    Import

    $ pulumi import bytepluscc:vedbm/allowList:AllowList example "allow_list_id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.21
    published on Thursday, Apr 2, 2026 by Byteplus
      Try Pulumi Cloud free. Your team will thank you.