Volcengine v0.0.34 published on Wednesday, Jul 2, 2025 by Volcengine
volcengine.redis.getAllowLists
Explore with Pulumi AI
Use this data source to query detailed information of redis allow lists
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
import * as volcengine from "@volcengine/pulumi";
const fooAllowList = new volcengine.redis.AllowList("fooAllowList", {
allowLists: ["192.168.0.0/24"],
allowListName: "acc-test-allowlist",
});
const fooZones = volcengine.ecs.getZones({});
const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
vpcName: "acc-test-vpc",
cidrBlock: "172.16.0.0/16",
});
const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
subnetName: "acc-test-subnet",
cidrBlock: "172.16.0.0/24",
zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
vpcId: fooVpc.id,
});
const fooInstance = new volcengine.redis.Instance("fooInstance", {
zoneIds: [fooZones.then(fooZones => fooZones.zones?.[0]?.id)],
instanceName: "acc-test-tf-redis",
shardedCluster: 1,
password: "1qaz!QAZ12",
nodeNumber: 2,
shardCapacity: 1024,
shardNumber: 2,
engineVersion: "5.0",
subnetId: fooSubnet.id,
deletionProtection: "disabled",
vpcAuthMode: "close",
chargeType: "PostPaid",
port: 6381,
projectName: "default",
});
const fooAllowListAssociate = new volcengine.redis.AllowListAssociate("fooAllowListAssociate", {
allowListId: fooAllowList.id,
instanceId: fooInstance.id,
});
const fooAllowLists = volcengine.redis.getAllowListsOutput({
instanceId: fooAllowListAssociate.instanceId,
regionId: "cn-beijing",
nameRegex: fooAllowList.allowListName,
});
import pulumi
import pulumi_volcengine as volcengine
foo_allow_list = volcengine.redis.AllowList("fooAllowList",
allow_lists=["192.168.0.0/24"],
allow_list_name="acc-test-allowlist")
foo_zones = volcengine.ecs.get_zones()
foo_vpc = volcengine.vpc.Vpc("fooVpc",
vpc_name="acc-test-vpc",
cidr_block="172.16.0.0/16")
foo_subnet = volcengine.vpc.Subnet("fooSubnet",
subnet_name="acc-test-subnet",
cidr_block="172.16.0.0/24",
zone_id=foo_zones.zones[0].id,
vpc_id=foo_vpc.id)
foo_instance = volcengine.redis.Instance("fooInstance",
zone_ids=[foo_zones.zones[0].id],
instance_name="acc-test-tf-redis",
sharded_cluster=1,
password="1qaz!QAZ12",
node_number=2,
shard_capacity=1024,
shard_number=2,
engine_version="5.0",
subnet_id=foo_subnet.id,
deletion_protection="disabled",
vpc_auth_mode="close",
charge_type="PostPaid",
port=6381,
project_name="default")
foo_allow_list_associate = volcengine.redis.AllowListAssociate("fooAllowListAssociate",
allow_list_id=foo_allow_list.id,
instance_id=foo_instance.id)
foo_allow_lists = volcengine.redis.get_allow_lists_output(instance_id=foo_allow_list_associate.instance_id,
region_id="cn-beijing",
name_regex=foo_allow_list.allow_list_name)
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/ecs"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/redis"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/vpc"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
fooAllowList, err := redis.NewAllowList(ctx, "fooAllowList", &redis.AllowListArgs{
AllowLists: pulumi.StringArray{
pulumi.String("192.168.0.0/24"),
},
AllowListName: pulumi.String("acc-test-allowlist"),
})
if err != nil {
return err
}
fooZones, err := ecs.GetZones(ctx, nil, nil)
if err != nil {
return err
}
fooVpc, err := vpc.NewVpc(ctx, "fooVpc", &vpc.VpcArgs{
VpcName: pulumi.String("acc-test-vpc"),
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
fooSubnet, err := vpc.NewSubnet(ctx, "fooSubnet", &vpc.SubnetArgs{
SubnetName: pulumi.String("acc-test-subnet"),
CidrBlock: pulumi.String("172.16.0.0/24"),
ZoneId: pulumi.String(fooZones.Zones[0].Id),
VpcId: fooVpc.ID(),
})
if err != nil {
return err
}
fooInstance, err := redis.NewInstance(ctx, "fooInstance", &redis.InstanceArgs{
ZoneIds: pulumi.StringArray{
pulumi.String(fooZones.Zones[0].Id),
},
InstanceName: pulumi.String("acc-test-tf-redis"),
ShardedCluster: pulumi.Int(1),
Password: pulumi.String("1qaz!QAZ12"),
NodeNumber: pulumi.Int(2),
ShardCapacity: pulumi.Int(1024),
ShardNumber: pulumi.Int(2),
EngineVersion: pulumi.String("5.0"),
SubnetId: fooSubnet.ID(),
DeletionProtection: pulumi.String("disabled"),
VpcAuthMode: pulumi.String("close"),
ChargeType: pulumi.String("PostPaid"),
Port: pulumi.Int(6381),
ProjectName: pulumi.String("default"),
})
if err != nil {
return err
}
fooAllowListAssociate, err := redis.NewAllowListAssociate(ctx, "fooAllowListAssociate", &redis.AllowListAssociateArgs{
AllowListId: fooAllowList.ID(),
InstanceId: fooInstance.ID(),
})
if err != nil {
return err
}
_ = redis.GetAllowListsOutput(ctx, redis.GetAllowListsOutputArgs{
InstanceId: fooAllowListAssociate.InstanceId,
RegionId: pulumi.String("cn-beijing"),
NameRegex: fooAllowList.AllowListName,
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var fooAllowList = new Volcengine.Redis.AllowList("fooAllowList", new()
{
AllowLists = new[]
{
"192.168.0.0/24",
},
AllowListName = "acc-test-allowlist",
});
var fooZones = Volcengine.Ecs.GetZones.Invoke();
var fooVpc = new Volcengine.Vpc.Vpc("fooVpc", new()
{
VpcName = "acc-test-vpc",
CidrBlock = "172.16.0.0/16",
});
var fooSubnet = new Volcengine.Vpc.Subnet("fooSubnet", new()
{
SubnetName = "acc-test-subnet",
CidrBlock = "172.16.0.0/24",
ZoneId = fooZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
VpcId = fooVpc.Id,
});
var fooInstance = new Volcengine.Redis.Instance("fooInstance", new()
{
ZoneIds = new[]
{
fooZones.Apply(getZonesResult => getZonesResult.Zones[0]?.Id),
},
InstanceName = "acc-test-tf-redis",
ShardedCluster = 1,
Password = "1qaz!QAZ12",
NodeNumber = 2,
ShardCapacity = 1024,
ShardNumber = 2,
EngineVersion = "5.0",
SubnetId = fooSubnet.Id,
DeletionProtection = "disabled",
VpcAuthMode = "close",
ChargeType = "PostPaid",
Port = 6381,
ProjectName = "default",
});
var fooAllowListAssociate = new Volcengine.Redis.AllowListAssociate("fooAllowListAssociate", new()
{
AllowListId = fooAllowList.Id,
InstanceId = fooInstance.Id,
});
var fooAllowLists = Volcengine.Redis.GetAllowLists.Invoke(new()
{
InstanceId = fooAllowListAssociate.InstanceId,
RegionId = "cn-beijing",
NameRegex = fooAllowList.AllowListName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.redis.AllowList;
import com.pulumi.volcengine.redis.AllowListArgs;
import com.pulumi.volcengine.ecs.EcsFunctions;
import com.pulumi.volcengine.ecs.inputs.GetZonesArgs;
import com.pulumi.volcengine.vpc.Vpc;
import com.pulumi.volcengine.vpc.VpcArgs;
import com.pulumi.volcengine.vpc.Subnet;
import com.pulumi.volcengine.vpc.SubnetArgs;
import com.pulumi.volcengine.redis.Instance;
import com.pulumi.volcengine.redis.InstanceArgs;
import com.pulumi.volcengine.redis.AllowListAssociate;
import com.pulumi.volcengine.redis.AllowListAssociateArgs;
import com.pulumi.volcengine.redis.RedisFunctions;
import com.pulumi.volcengine.redis.inputs.GetAllowListsArgs;
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 fooAllowList = new AllowList("fooAllowList", AllowListArgs.builder()
.allowLists("192.168.0.0/24")
.allowListName("acc-test-allowlist")
.build());
final var fooZones = EcsFunctions.getZones();
var fooVpc = new Vpc("fooVpc", VpcArgs.builder()
.vpcName("acc-test-vpc")
.cidrBlock("172.16.0.0/16")
.build());
var fooSubnet = new Subnet("fooSubnet", SubnetArgs.builder()
.subnetName("acc-test-subnet")
.cidrBlock("172.16.0.0/24")
.zoneId(fooZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
.vpcId(fooVpc.id())
.build());
var fooInstance = new Instance("fooInstance", InstanceArgs.builder()
.zoneIds(fooZones.applyValue(getZonesResult -> getZonesResult.zones()[0].id()))
.instanceName("acc-test-tf-redis")
.shardedCluster(1)
.password("1qaz!QAZ12")
.nodeNumber(2)
.shardCapacity(1024)
.shardNumber(2)
.engineVersion("5.0")
.subnetId(fooSubnet.id())
.deletionProtection("disabled")
.vpcAuthMode("close")
.chargeType("PostPaid")
.port(6381)
.projectName("default")
.build());
var fooAllowListAssociate = new AllowListAssociate("fooAllowListAssociate", AllowListAssociateArgs.builder()
.allowListId(fooAllowList.id())
.instanceId(fooInstance.id())
.build());
final var fooAllowLists = RedisFunctions.getAllowLists(GetAllowListsArgs.builder()
.instanceId(fooAllowListAssociate.instanceId())
.regionId("cn-beijing")
.nameRegex(fooAllowList.allowListName())
.build());
}
}
resources:
fooAllowList:
type: volcengine:redis:AllowList
properties:
allowLists:
- 192.168.0.0/24
allowListName: acc-test-allowlist
fooVpc:
type: volcengine:vpc:Vpc
properties:
vpcName: acc-test-vpc
cidrBlock: 172.16.0.0/16
fooSubnet:
type: volcengine:vpc:Subnet
properties:
subnetName: acc-test-subnet
cidrBlock: 172.16.0.0/24
zoneId: ${fooZones.zones[0].id}
vpcId: ${fooVpc.id}
fooInstance:
type: volcengine:redis:Instance
properties:
zoneIds:
- ${fooZones.zones[0].id}
instanceName: acc-test-tf-redis
shardedCluster: 1
password: 1qaz!QAZ12
nodeNumber: 2
shardCapacity: 1024
shardNumber: 2
engineVersion: '5.0'
subnetId: ${fooSubnet.id}
deletionProtection: disabled
vpcAuthMode: close
chargeType: PostPaid
port: 6381
projectName: default
fooAllowListAssociate:
type: volcengine:redis:AllowListAssociate
properties:
allowListId: ${fooAllowList.id}
instanceId: ${fooInstance.id}
variables:
fooZones:
fn::invoke:
Function: volcengine:ecs:getZones
Arguments: {}
fooAllowLists:
fn::invoke:
Function: volcengine:redis:getAllowLists
Arguments:
instanceId: ${fooAllowListAssociate.instanceId}
regionId: cn-beijing
nameRegex: ${fooAllowList.allowListName}
Using getAllowLists
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 getAllowLists(args: GetAllowListsArgs, opts?: InvokeOptions): Promise<GetAllowListsResult>
function getAllowListsOutput(args: GetAllowListsOutputArgs, opts?: InvokeOptions): Output<GetAllowListsResult>
def get_allow_lists(instance_id: Optional[str] = None,
ip_address: Optional[str] = None,
ip_segment: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
project_name: Optional[str] = None,
query_default: Optional[bool] = None,
region_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAllowListsResult
def get_allow_lists_output(instance_id: Optional[pulumi.Input[str]] = None,
ip_address: Optional[pulumi.Input[str]] = None,
ip_segment: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
project_name: Optional[pulumi.Input[str]] = None,
query_default: Optional[pulumi.Input[bool]] = None,
region_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAllowListsResult]
func GetAllowLists(ctx *Context, args *GetAllowListsArgs, opts ...InvokeOption) (*GetAllowListsResult, error)
func GetAllowListsOutput(ctx *Context, args *GetAllowListsOutputArgs, opts ...InvokeOption) GetAllowListsResultOutput
> Note: This function is named GetAllowLists
in the Go SDK.
public static class GetAllowLists
{
public static Task<GetAllowListsResult> InvokeAsync(GetAllowListsArgs args, InvokeOptions? opts = null)
public static Output<GetAllowListsResult> Invoke(GetAllowListsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAllowListsResult> getAllowLists(GetAllowListsArgs args, InvokeOptions options)
public static Output<GetAllowListsResult> getAllowLists(GetAllowListsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:redis/getAllowLists:getAllowLists
arguments:
# arguments dictionary
The following arguments are supported:
- Region
Id string - The Id of region.
- Instance
Id string - The Id of instance.
- Ip
Address string - Filter out the whitelist that meets the conditions based on the IP address. When using IPAddress query, it will precisely match this IP address and filter the IP address segments containing this IP address.
- Ip
Segment string - Screen out the whitelist that meets the conditions based on the IP address segment. When using IPSegment queries, the IP address segment will be precisely matched for filtering.
- Name
Regex string - A Name Regex of Allow List.
- Output
File string - File name where to save data source results.
- Project
Name string - The name of the project to which the white list belongs.
- Query
Default bool - Filter whether to query only the default whitelist based on the type of whitelist.
- Region
Id string - The Id of region.
- Instance
Id string - The Id of instance.
- Ip
Address string - Filter out the whitelist that meets the conditions based on the IP address. When using IPAddress query, it will precisely match this IP address and filter the IP address segments containing this IP address.
- Ip
Segment string - Screen out the whitelist that meets the conditions based on the IP address segment. When using IPSegment queries, the IP address segment will be precisely matched for filtering.
- Name
Regex string - A Name Regex of Allow List.
- Output
File string - File name where to save data source results.
- Project
Name string - The name of the project to which the white list belongs.
- Query
Default bool - Filter whether to query only the default whitelist based on the type of whitelist.
- region
Id String - The Id of region.
- instance
Id String - The Id of instance.
- ip
Address String - Filter out the whitelist that meets the conditions based on the IP address. When using IPAddress query, it will precisely match this IP address and filter the IP address segments containing this IP address.
- ip
Segment String - Screen out the whitelist that meets the conditions based on the IP address segment. When using IPSegment queries, the IP address segment will be precisely matched for filtering.
- name
Regex String - A Name Regex of Allow List.
- output
File String - File name where to save data source results.
- project
Name String - The name of the project to which the white list belongs.
- query
Default Boolean - Filter whether to query only the default whitelist based on the type of whitelist.
- region
Id string - The Id of region.
- instance
Id string - The Id of instance.
- ip
Address string - Filter out the whitelist that meets the conditions based on the IP address. When using IPAddress query, it will precisely match this IP address and filter the IP address segments containing this IP address.
- ip
Segment string - Screen out the whitelist that meets the conditions based on the IP address segment. When using IPSegment queries, the IP address segment will be precisely matched for filtering.
- name
Regex string - A Name Regex of Allow List.
- output
File string - File name where to save data source results.
- project
Name string - The name of the project to which the white list belongs.
- query
Default boolean - Filter whether to query only the default whitelist based on the type of whitelist.
- region_
id str - The Id of region.
- instance_
id str - The Id of instance.
- ip_
address str - Filter out the whitelist that meets the conditions based on the IP address. When using IPAddress query, it will precisely match this IP address and filter the IP address segments containing this IP address.
- ip_
segment str - Screen out the whitelist that meets the conditions based on the IP address segment. When using IPSegment queries, the IP address segment will be precisely matched for filtering.
- name_
regex str - A Name Regex of Allow List.
- output_
file str - File name where to save data source results.
- project_
name str - The name of the project to which the white list belongs.
- query_
default bool - Filter whether to query only the default whitelist based on the type of whitelist.
- region
Id String - The Id of region.
- instance
Id String - The Id of instance.
- ip
Address String - Filter out the whitelist that meets the conditions based on the IP address. When using IPAddress query, it will precisely match this IP address and filter the IP address segments containing this IP address.
- ip
Segment String - Screen out the whitelist that meets the conditions based on the IP address segment. When using IPSegment queries, the IP address segment will be precisely matched for filtering.
- name
Regex String - A Name Regex of Allow List.
- output
File String - File name where to save data source results.
- project
Name String - The name of the project to which the white list belongs.
- query
Default Boolean - Filter whether to query only the default whitelist based on the type of whitelist.
getAllowLists Result
The following output properties are available:
- Allow
Lists List<GetAllow Lists Allow List> - Information of list of allow list.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Id string - Total
Count int - The total count of allow list query.
- Instance
Id string - Id of instance.
- Ip
Address string - Ip
Segment string - Name
Regex string - Output
File string - Project
Name string - The name of the project to which the white list belongs.
- Query
Default bool
- Allow
Lists []GetAllow Lists Allow List - Information of list of allow list.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Id string - Total
Count int - The total count of allow list query.
- Instance
Id string - Id of instance.
- Ip
Address string - Ip
Segment string - Name
Regex string - Output
File string - Project
Name string - The name of the project to which the white list belongs.
- Query
Default bool
- allow
Lists List<GetAllow Lists Allow List> - Information of list of allow list.
- id String
- The provider-assigned unique ID for this managed resource.
- region
Id String - total
Count Integer - The total count of allow list query.
- instance
Id String - Id of instance.
- ip
Address String - ip
Segment String - name
Regex String - output
File String - project
Name String - The name of the project to which the white list belongs.
- query
Default Boolean
- allow
Lists GetAllow Lists Allow List[] - Information of list of allow list.
- id string
- The provider-assigned unique ID for this managed resource.
- region
Id string - total
Count number - The total count of allow list query.
- instance
Id string - Id of instance.
- ip
Address string - ip
Segment string - name
Regex string - output
File string - project
Name string - The name of the project to which the white list belongs.
- query
Default boolean
- allow_
lists Sequence[GetAllow Lists Allow List] - Information of list of allow list.
- id str
- The provider-assigned unique ID for this managed resource.
- region_
id str - total_
count int - The total count of allow list query.
- instance_
id str - Id of instance.
- ip_
address str - ip_
segment str - name_
regex str - output_
file str - project_
name str - The name of the project to which the white list belongs.
- query_
default bool
- allow
Lists List<Property Map> - Information of list of allow list.
- id String
- The provider-assigned unique ID for this managed resource.
- region
Id String - total
Count Number - The total count of allow list query.
- instance
Id String - Id of instance.
- ip
Address String - ip
Segment String - name
Regex String - output
File String - project
Name String - The name of the project to which the white list belongs.
- query
Default Boolean
Supporting Types
GetAllowListsAllowList
- Allow
List stringCategory - The type of the whitelist.
- Allow
List stringDesc - Description of allow list.
- Allow
List stringId - Id of allow list.
- Allow
List intIp Num - The IP number of allow list.
- Allow
List stringName - Name of allow list.
- Allow
List stringType - Type of allow list.
- Allow
Lists List<string> - Ip list of allow list.
- Associated
Instance intNum - The number of instance that associated to allow list.
- Associated
Instances List<GetAllow Lists Allow List Associated Instance> - Instances associated by this allow list.
- Project
Name string - The name of the project to which the white list belongs.
- Security
Group List<GetBind Infos Allow Lists Allow List Security Group Bind Info> - The current whitelist is the list of security group information that has been associated.
- Allow
List stringCategory - The type of the whitelist.
- Allow
List stringDesc - Description of allow list.
- Allow
List stringId - Id of allow list.
- Allow
List intIp Num - The IP number of allow list.
- Allow
List stringName - Name of allow list.
- Allow
List stringType - Type of allow list.
- Allow
Lists []string - Ip list of allow list.
- Associated
Instance intNum - The number of instance that associated to allow list.
- Associated
Instances []GetAllow Lists Allow List Associated Instance - Instances associated by this allow list.
- Project
Name string - The name of the project to which the white list belongs.
- Security
Group []GetBind Infos Allow Lists Allow List Security Group Bind Info - The current whitelist is the list of security group information that has been associated.
- allow
List StringCategory - The type of the whitelist.
- allow
List StringDesc - Description of allow list.
- allow
List StringId - Id of allow list.
- allow
List IntegerIp Num - The IP number of allow list.
- allow
List StringName - Name of allow list.
- allow
List StringType - Type of allow list.
- allow
Lists List<String> - Ip list of allow list.
- associated
Instance IntegerNum - The number of instance that associated to allow list.
- associated
Instances List<GetAllow Lists Allow List Associated Instance> - Instances associated by this allow list.
- project
Name String - The name of the project to which the white list belongs.
- security
Group List<GetBind Infos Allow Lists Allow List Security Group Bind Info> - The current whitelist is the list of security group information that has been associated.
- allow
List stringCategory - The type of the whitelist.
- allow
List stringDesc - Description of allow list.
- allow
List stringId - Id of allow list.
- allow
List numberIp Num - The IP number of allow list.
- allow
List stringName - Name of allow list.
- allow
List stringType - Type of allow list.
- allow
Lists string[] - Ip list of allow list.
- associated
Instance numberNum - The number of instance that associated to allow list.
- associated
Instances GetAllow Lists Allow List Associated Instance[] - Instances associated by this allow list.
- project
Name string - The name of the project to which the white list belongs.
- security
Group GetBind Infos Allow Lists Allow List Security Group Bind Info[] - The current whitelist is the list of security group information that has been associated.
- allow_
list_ strcategory - The type of the whitelist.
- allow_
list_ strdesc - Description of allow list.
- allow_
list_ strid - Id of allow list.
- allow_
list_ intip_ num - The IP number of allow list.
- allow_
list_ strname - Name of allow list.
- allow_
list_ strtype - Type of allow list.
- allow_
lists Sequence[str] - Ip list of allow list.
- associated_
instance_ intnum - The number of instance that associated to allow list.
- associated_
instances Sequence[GetAllow Lists Allow List Associated Instance] - Instances associated by this allow list.
- project_
name str - The name of the project to which the white list belongs.
- security_
group_ Sequence[Getbind_ infos Allow Lists Allow List Security Group Bind Info] - The current whitelist is the list of security group information that has been associated.
- allow
List StringCategory - The type of the whitelist.
- allow
List StringDesc - Description of allow list.
- allow
List StringId - Id of allow list.
- allow
List NumberIp Num - The IP number of allow list.
- allow
List StringName - Name of allow list.
- allow
List StringType - Type of allow list.
- allow
Lists List<String> - Ip list of allow list.
- associated
Instance NumberNum - The number of instance that associated to allow list.
- associated
Instances List<Property Map> - Instances associated by this allow list.
- project
Name String - The name of the project to which the white list belongs.
- security
Group List<Property Map>Bind Infos - The current whitelist is the list of security group information that has been associated.
GetAllowListsAllowListAssociatedInstance
- Instance
Id string - The Id of instance.
- Instance
Name string - Name of instance.
- Vpc string
- Id of virtual private cloud.
- Instance
Id string - The Id of instance.
- Instance
Name string - Name of instance.
- Vpc string
- Id of virtual private cloud.
- instance
Id String - The Id of instance.
- instance
Name String - Name of instance.
- vpc String
- Id of virtual private cloud.
- instance
Id string - The Id of instance.
- instance
Name string - Name of instance.
- vpc string
- Id of virtual private cloud.
- instance_
id str - The Id of instance.
- instance_
name str - Name of instance.
- vpc str
- Id of virtual private cloud.
- instance
Id String - The Id of instance.
- instance
Name String - Name of instance.
- vpc String
- Id of virtual private cloud.
GetAllowListsAllowListSecurityGroupBindInfo
- Bind
Mode string - Security group association mode. The value range is as follows: IngressDirectionIp: The input direction IP, which is the IP involved in the TCP protocol and ALL protocol in the source address of the secure group input direction to access the database. If the source address is configured as a secure group, it will be ignored. AssociateEcsIp: Associate ECS IP, which allows cloud servers within the security group to access the database. Currently, only the IP information of the main network card is supported for import.
- Ip
Lists List<string> - The list of ips in the associated security group has been linked.
- Security
Group stringId - The associated security group ID.
- Security
Group stringName - The name of the associated security group.
- Bind
Mode string - Security group association mode. The value range is as follows: IngressDirectionIp: The input direction IP, which is the IP involved in the TCP protocol and ALL protocol in the source address of the secure group input direction to access the database. If the source address is configured as a secure group, it will be ignored. AssociateEcsIp: Associate ECS IP, which allows cloud servers within the security group to access the database. Currently, only the IP information of the main network card is supported for import.
- Ip
Lists []string - The list of ips in the associated security group has been linked.
- Security
Group stringId - The associated security group ID.
- Security
Group stringName - The name of the associated security group.
- bind
Mode String - Security group association mode. The value range is as follows: IngressDirectionIp: The input direction IP, which is the IP involved in the TCP protocol and ALL protocol in the source address of the secure group input direction to access the database. If the source address is configured as a secure group, it will be ignored. AssociateEcsIp: Associate ECS IP, which allows cloud servers within the security group to access the database. Currently, only the IP information of the main network card is supported for import.
- ip
Lists List<String> - The list of ips in the associated security group has been linked.
- security
Group StringId - The associated security group ID.
- security
Group StringName - The name of the associated security group.
- bind
Mode string - Security group association mode. The value range is as follows: IngressDirectionIp: The input direction IP, which is the IP involved in the TCP protocol and ALL protocol in the source address of the secure group input direction to access the database. If the source address is configured as a secure group, it will be ignored. AssociateEcsIp: Associate ECS IP, which allows cloud servers within the security group to access the database. Currently, only the IP information of the main network card is supported for import.
- ip
Lists string[] - The list of ips in the associated security group has been linked.
- security
Group stringId - The associated security group ID.
- security
Group stringName - The name of the associated security group.
- bind_
mode str - Security group association mode. The value range is as follows: IngressDirectionIp: The input direction IP, which is the IP involved in the TCP protocol and ALL protocol in the source address of the secure group input direction to access the database. If the source address is configured as a secure group, it will be ignored. AssociateEcsIp: Associate ECS IP, which allows cloud servers within the security group to access the database. Currently, only the IP information of the main network card is supported for import.
- ip_
lists Sequence[str] - The list of ips in the associated security group has been linked.
- security_
group_ strid - The associated security group ID.
- security_
group_ strname - The name of the associated security group.
- bind
Mode String - Security group association mode. The value range is as follows: IngressDirectionIp: The input direction IP, which is the IP involved in the TCP protocol and ALL protocol in the source address of the secure group input direction to access the database. If the source address is configured as a secure group, it will be ignored. AssociateEcsIp: Associate ECS IP, which allows cloud servers within the security group to access the database. Currently, only the IP information of the main network card is supported for import.
- ip
Lists List<String> - The list of ips in the associated security group has been linked.
- security
Group StringId - The associated security group ID.
- security
Group StringName - The name of the associated security group.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengine
Terraform Provider.