1. Packages
  2. Volcengine
  3. API Docs
  4. rds_postgresql
  5. Allowlists
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
volcengine logo
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
    Deprecated: volcengine.rds_postgresql.Allowlists has been deprecated in favor of volcengine.rds_postgresql.getAllowlists

    Use this data source to query detailed information of rds postgresql allowlists

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.rds_postgresql.getAllowlists({
        allowListCategory: "Ordinary",
        allowListDesc: "test allow list",
        allowListId: "acl-e7846436e1e741edbd385868fa657436",
        allowListName: "test",
        ipAddress: "100.64.0.0/10",
        nameRegex: ".*allowlist.*",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.rds_postgresql.get_allowlists(allow_list_category="Ordinary",
        allow_list_desc="test allow list",
        allow_list_id="acl-e7846436e1e741edbd385868fa657436",
        allow_list_name="test",
        ip_address="100.64.0.0/10",
        name_regex=".*allowlist.*")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_postgresql"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := rds_postgresql.GetAllowlists(ctx, &rds_postgresql.GetAllowlistsArgs{
    			AllowListCategory: pulumi.StringRef("Ordinary"),
    			AllowListDesc:     pulumi.StringRef("test allow list"),
    			AllowListId:       pulumi.StringRef("acl-e7846436e1e741edbd385868fa657436"),
    			AllowListName:     pulumi.StringRef("test"),
    			IpAddress:         pulumi.StringRef("100.64.0.0/10"),
    			NameRegex:         pulumi.StringRef(".*allowlist.*"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Rds_postgresql.GetAllowlists.Invoke(new()
        {
            AllowListCategory = "Ordinary",
            AllowListDesc = "test allow list",
            AllowListId = "acl-e7846436e1e741edbd385868fa657436",
            AllowListName = "test",
            IpAddress = "100.64.0.0/10",
            NameRegex = ".*allowlist.*",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.rds_postgresql.Rds_postgresqlFunctions;
    import com.pulumi.volcengine.rds_postgresql.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) {
            final var default = Rds_postgresqlFunctions.getAllowlists(GetAllowlistsArgs.builder()
                .allowListCategory("Ordinary")
                .allowListDesc("test allow list")
                .allowListId("acl-e7846436e1e741edbd385868fa657436")
                .allowListName("test")
                .ipAddress("100.64.0.0/10")
                .nameRegex(".*allowlist.*")
                .build());
    
        }
    }
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:rds_postgresql:getAllowlists
          Arguments:
            allowListCategory: Ordinary
            allowListDesc: test allow list
            allowListId: acl-e7846436e1e741edbd385868fa657436
            allowListName: test
            ipAddress: 100.64.0.0/10
            nameRegex: .*allowlist.*
    

    Using Allowlists

    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 allowlists(args: AllowlistsArgs, opts?: InvokeOptions): Promise<AllowlistsResult>
    function allowlistsOutput(args: AllowlistsOutputArgs, opts?: InvokeOptions): Output<AllowlistsResult>
    def allowlists(allow_list_category: Optional[str] = None,
                   allow_list_desc: Optional[str] = None,
                   allow_list_id: Optional[str] = None,
                   allow_list_name: Optional[str] = None,
                   instance_id: Optional[str] = None,
                   ip_address: Optional[str] = None,
                   name_regex: Optional[str] = None,
                   output_file: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> AllowlistsResult
    def allowlists_output(allow_list_category: Optional[pulumi.Input[str]] = None,
                   allow_list_desc: Optional[pulumi.Input[str]] = None,
                   allow_list_id: Optional[pulumi.Input[str]] = None,
                   allow_list_name: Optional[pulumi.Input[str]] = None,
                   instance_id: Optional[pulumi.Input[str]] = None,
                   ip_address: Optional[pulumi.Input[str]] = None,
                   name_regex: Optional[pulumi.Input[str]] = None,
                   output_file: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[AllowlistsResult]
    func Allowlists(ctx *Context, args *AllowlistsArgs, opts ...InvokeOption) (*AllowlistsResult, error)
    func AllowlistsOutput(ctx *Context, args *AllowlistsOutputArgs, opts ...InvokeOption) AllowlistsResultOutput
    public static class Allowlists 
    {
        public static Task<AllowlistsResult> InvokeAsync(AllowlistsArgs args, InvokeOptions? opts = null)
        public static Output<AllowlistsResult> Invoke(AllowlistsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<AllowlistsResult> allowlists(AllowlistsArgs args, InvokeOptions options)
    public static Output<AllowlistsResult> allowlists(AllowlistsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:rds_postgresql:Allowlists
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AllowListCategory string
    The category of the postgresql allow list. Valid values: Ordinary, Default.
    AllowListDesc string
    The description of the postgresql allow list. Perform a fuzzy search based on the description information.
    AllowListId string
    The id of the postgresql allow list.
    AllowListName string
    The name of the postgresql allow list.
    InstanceId string
    The id of the postgresql Instance.
    IpAddress string
    The IP address to be added to the allow list.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    AllowListCategory string
    The category of the postgresql allow list. Valid values: Ordinary, Default.
    AllowListDesc string
    The description of the postgresql allow list. Perform a fuzzy search based on the description information.
    AllowListId string
    The id of the postgresql allow list.
    AllowListName string
    The name of the postgresql allow list.
    InstanceId string
    The id of the postgresql Instance.
    IpAddress string
    The IP address to be added to the allow list.
    NameRegex string
    A Name Regex of Resource.
    OutputFile string
    File name where to save data source results.
    allowListCategory String
    The category of the postgresql allow list. Valid values: Ordinary, Default.
    allowListDesc String
    The description of the postgresql allow list. Perform a fuzzy search based on the description information.
    allowListId String
    The id of the postgresql allow list.
    allowListName String
    The name of the postgresql allow list.
    instanceId String
    The id of the postgresql Instance.
    ipAddress String
    The IP address to be added to the allow list.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.
    allowListCategory string
    The category of the postgresql allow list. Valid values: Ordinary, Default.
    allowListDesc string
    The description of the postgresql allow list. Perform a fuzzy search based on the description information.
    allowListId string
    The id of the postgresql allow list.
    allowListName string
    The name of the postgresql allow list.
    instanceId string
    The id of the postgresql Instance.
    ipAddress string
    The IP address to be added to the allow list.
    nameRegex string
    A Name Regex of Resource.
    outputFile string
    File name where to save data source results.
    allow_list_category str
    The category of the postgresql allow list. Valid values: Ordinary, Default.
    allow_list_desc str
    The description of the postgresql allow list. Perform a fuzzy search based on the description information.
    allow_list_id str
    The id of the postgresql allow list.
    allow_list_name str
    The name of the postgresql allow list.
    instance_id str
    The id of the postgresql Instance.
    ip_address str
    The IP address to be added to the allow list.
    name_regex str
    A Name Regex of Resource.
    output_file str
    File name where to save data source results.
    allowListCategory String
    The category of the postgresql allow list. Valid values: Ordinary, Default.
    allowListDesc String
    The description of the postgresql allow list. Perform a fuzzy search based on the description information.
    allowListId String
    The id of the postgresql allow list.
    allowListName String
    The name of the postgresql allow list.
    instanceId String
    The id of the postgresql Instance.
    ipAddress String
    The IP address to be added to the allow list.
    nameRegex String
    A Name Regex of Resource.
    outputFile String
    File name where to save data source results.

    Allowlists Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    PostgresqlAllowLists List<AllowlistsPostgresqlAllowList>
    The list of postgresql allowed list.
    TotalCount int
    The total count of query.
    AllowListCategory string
    The category of the postgresql allow list.
    AllowListDesc string
    The description of the postgresql allow list.
    AllowListId string
    The id of the postgresql allow list.
    AllowListName string
    The name of the postgresql allow list.
    InstanceId string
    The id of the postgresql instance.
    IpAddress string
    NameRegex string
    OutputFile string
    Id string
    The provider-assigned unique ID for this managed resource.
    PostgresqlAllowLists []AllowlistsPostgresqlAllowList
    The list of postgresql allowed list.
    TotalCount int
    The total count of query.
    AllowListCategory string
    The category of the postgresql allow list.
    AllowListDesc string
    The description of the postgresql allow list.
    AllowListId string
    The id of the postgresql allow list.
    AllowListName string
    The name of the postgresql allow list.
    InstanceId string
    The id of the postgresql instance.
    IpAddress string
    NameRegex string
    OutputFile string
    id String
    The provider-assigned unique ID for this managed resource.
    postgresqlAllowLists List<AllowlistsPostgresqlAllowList>
    The list of postgresql allowed list.
    totalCount Integer
    The total count of query.
    allowListCategory String
    The category of the postgresql allow list.
    allowListDesc String
    The description of the postgresql allow list.
    allowListId String
    The id of the postgresql allow list.
    allowListName String
    The name of the postgresql allow list.
    instanceId String
    The id of the postgresql instance.
    ipAddress String
    nameRegex String
    outputFile String
    id string
    The provider-assigned unique ID for this managed resource.
    postgresqlAllowLists AllowlistsPostgresqlAllowList[]
    The list of postgresql allowed list.
    totalCount number
    The total count of query.
    allowListCategory string
    The category of the postgresql allow list.
    allowListDesc string
    The description of the postgresql allow list.
    allowListId string
    The id of the postgresql allow list.
    allowListName string
    The name of the postgresql allow list.
    instanceId string
    The id of the postgresql instance.
    ipAddress string
    nameRegex string
    outputFile string
    id str
    The provider-assigned unique ID for this managed resource.
    postgresql_allow_lists Sequence[AllowlistsPostgresqlAllowList]
    The list of postgresql allowed list.
    total_count int
    The total count of query.
    allow_list_category str
    The category of the postgresql allow list.
    allow_list_desc str
    The description of the postgresql allow list.
    allow_list_id str
    The id of the postgresql allow list.
    allow_list_name str
    The name of the postgresql allow list.
    instance_id str
    The id of the postgresql instance.
    ip_address str
    name_regex str
    output_file str
    id String
    The provider-assigned unique ID for this managed resource.
    postgresqlAllowLists List<Property Map>
    The list of postgresql allowed list.
    totalCount Number
    The total count of query.
    allowListCategory String
    The category of the postgresql allow list.
    allowListDesc String
    The description of the postgresql allow list.
    allowListId String
    The id of the postgresql allow list.
    allowListName String
    The name of the postgresql allow list.
    instanceId String
    The id of the postgresql instance.
    ipAddress String
    nameRegex String
    outputFile String

    Supporting Types

    AllowlistsPostgresqlAllowList

    AllowListCategory string
    The category of the postgresql allow list. Valid values: Ordinary, Default.
    AllowListDesc string
    The description of the postgresql allow list. Perform a fuzzy search based on the description information.
    AllowListId string
    The id of the postgresql allow list.
    AllowListIpNum int
    The total number of IP addresses (or address ranges) in the whitelist.
    AllowListName string
    The name of the postgresql allow list.
    AllowListType string
    The type of the postgresql allow list.
    AllowLists List<string>
    The IP address or a range of IP addresses in CIDR format.
    AssociatedInstanceNum int
    The total number of instances bound under the whitelist.
    AssociatedInstances List<AllowlistsPostgresqlAllowListAssociatedInstance>
    The list of postgresql instances.
    Id string
    The id of the postgresql allow list.
    SecurityGroupBindInfos List<AllowlistsPostgresqlAllowListSecurityGroupBindInfo>
    The information of the security group bound by the allowlist.
    UserAllowLists List<string>
    IP addresses outside the security group and added to the allowlist.
    AllowListCategory string
    The category of the postgresql allow list. Valid values: Ordinary, Default.
    AllowListDesc string
    The description of the postgresql allow list. Perform a fuzzy search based on the description information.
    AllowListId string
    The id of the postgresql allow list.
    AllowListIpNum int
    The total number of IP addresses (or address ranges) in the whitelist.
    AllowListName string
    The name of the postgresql allow list.
    AllowListType string
    The type of the postgresql allow list.
    AllowLists []string
    The IP address or a range of IP addresses in CIDR format.
    AssociatedInstanceNum int
    The total number of instances bound under the whitelist.
    AssociatedInstances []AllowlistsPostgresqlAllowListAssociatedInstance
    The list of postgresql instances.
    Id string
    The id of the postgresql allow list.
    SecurityGroupBindInfos []AllowlistsPostgresqlAllowListSecurityGroupBindInfo
    The information of the security group bound by the allowlist.
    UserAllowLists []string
    IP addresses outside the security group and added to the allowlist.
    allowListCategory String
    The category of the postgresql allow list. Valid values: Ordinary, Default.
    allowListDesc String
    The description of the postgresql allow list. Perform a fuzzy search based on the description information.
    allowListId String
    The id of the postgresql allow list.
    allowListIpNum Integer
    The total number of IP addresses (or address ranges) in the whitelist.
    allowListName String
    The name of the postgresql allow list.
    allowListType String
    The type of the postgresql allow list.
    allowLists List<String>
    The IP address or a range of IP addresses in CIDR format.
    associatedInstanceNum Integer
    The total number of instances bound under the whitelist.
    associatedInstances List<AllowlistsPostgresqlAllowListAssociatedInstance>
    The list of postgresql instances.
    id String
    The id of the postgresql allow list.
    securityGroupBindInfos List<AllowlistsPostgresqlAllowListSecurityGroupBindInfo>
    The information of the security group bound by the allowlist.
    userAllowLists List<String>
    IP addresses outside the security group and added to the allowlist.
    allowListCategory string
    The category of the postgresql allow list. Valid values: Ordinary, Default.
    allowListDesc string
    The description of the postgresql allow list. Perform a fuzzy search based on the description information.
    allowListId string
    The id of the postgresql allow list.
    allowListIpNum number
    The total number of IP addresses (or address ranges) in the whitelist.
    allowListName string
    The name of the postgresql allow list.
    allowListType string
    The type of the postgresql allow list.
    allowLists string[]
    The IP address or a range of IP addresses in CIDR format.
    associatedInstanceNum number
    The total number of instances bound under the whitelist.
    associatedInstances AllowlistsPostgresqlAllowListAssociatedInstance[]
    The list of postgresql instances.
    id string
    The id of the postgresql allow list.
    securityGroupBindInfos AllowlistsPostgresqlAllowListSecurityGroupBindInfo[]
    The information of the security group bound by the allowlist.
    userAllowLists string[]
    IP addresses outside the security group and added to the allowlist.
    allow_list_category str
    The category of the postgresql allow list. Valid values: Ordinary, Default.
    allow_list_desc str
    The description of the postgresql allow list. Perform a fuzzy search based on the description information.
    allow_list_id str
    The id of the postgresql allow list.
    allow_list_ip_num int
    The total number of IP addresses (or address ranges) in the whitelist.
    allow_list_name str
    The name of the postgresql allow list.
    allow_list_type str
    The type of the postgresql allow list.
    allow_lists Sequence[str]
    The IP address or a range of IP addresses in CIDR format.
    associated_instance_num int
    The total number of instances bound under the whitelist.
    associated_instances Sequence[AllowlistsPostgresqlAllowListAssociatedInstance]
    The list of postgresql instances.
    id str
    The id of the postgresql allow list.
    security_group_bind_infos Sequence[AllowlistsPostgresqlAllowListSecurityGroupBindInfo]
    The information of the security group bound by the allowlist.
    user_allow_lists Sequence[str]
    IP addresses outside the security group and added to the allowlist.
    allowListCategory String
    The category of the postgresql allow list. Valid values: Ordinary, Default.
    allowListDesc String
    The description of the postgresql allow list. Perform a fuzzy search based on the description information.
    allowListId String
    The id of the postgresql allow list.
    allowListIpNum Number
    The total number of IP addresses (or address ranges) in the whitelist.
    allowListName String
    The name of the postgresql allow list.
    allowListType String
    The type of the postgresql allow list.
    allowLists List<String>
    The IP address or a range of IP addresses in CIDR format.
    associatedInstanceNum Number
    The total number of instances bound under the whitelist.
    associatedInstances List<Property Map>
    The list of postgresql instances.
    id String
    The id of the postgresql allow list.
    securityGroupBindInfos List<Property Map>
    The information of the security group bound by the allowlist.
    userAllowLists List<String>
    IP addresses outside the security group and added to the allowlist.

    AllowlistsPostgresqlAllowListAssociatedInstance

    InstanceId string
    The id of the postgresql Instance.
    InstanceName string
    The name of the postgresql instance.
    Vpc string
    The id of the vpc.
    InstanceId string
    The id of the postgresql Instance.
    InstanceName string
    The name of the postgresql instance.
    Vpc string
    The id of the vpc.
    instanceId String
    The id of the postgresql Instance.
    instanceName String
    The name of the postgresql instance.
    vpc String
    The id of the vpc.
    instanceId string
    The id of the postgresql Instance.
    instanceName string
    The name of the postgresql instance.
    vpc string
    The id of the vpc.
    instance_id str
    The id of the postgresql Instance.
    instance_name str
    The name of the postgresql instance.
    vpc str
    The id of the vpc.
    instanceId String
    The id of the postgresql Instance.
    instanceName String
    The name of the postgresql instance.
    vpc String
    The id of the vpc.

    AllowlistsPostgresqlAllowListSecurityGroupBindInfo

    BindMode string
    The binding mode of the security group.
    IpLists List<string>
    IP addresses in the security group.
    SecurityGroupId string
    The ID of the security group.
    SecurityGroupName string
    The name of the security group.
    BindMode string
    The binding mode of the security group.
    IpLists []string
    IP addresses in the security group.
    SecurityGroupId string
    The ID of the security group.
    SecurityGroupName string
    The name of the security group.
    bindMode String
    The binding mode of the security group.
    ipLists List<String>
    IP addresses in the security group.
    securityGroupId String
    The ID of the security group.
    securityGroupName String
    The name of the security group.
    bindMode string
    The binding mode of the security group.
    ipLists string[]
    IP addresses in the security group.
    securityGroupId string
    The ID of the security group.
    securityGroupName string
    The name of the security group.
    bind_mode str
    The binding mode of the security group.
    ip_lists Sequence[str]
    IP addresses in the security group.
    security_group_id str
    The ID of the security group.
    security_group_name str
    The name of the security group.
    bindMode String
    The binding mode of the security group.
    ipLists List<String>
    IP addresses in the security group.
    securityGroupId String
    The ID of the security group.
    securityGroupName String
    The name of the security group.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate