Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
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) AllowlistsResultOutputpublic 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 dictionaryThe following arguments are supported:
- Allow
List stringCategory - The category of the postgresql allow list. Valid values: Ordinary, Default.
- Allow
List stringDesc - The description of the postgresql allow list. Perform a fuzzy search based on the description information.
- Allow
List stringId - The id of the postgresql allow list.
- Allow
List stringName - The name of the postgresql allow list.
- Instance
Id string - The id of the postgresql Instance.
- Ip
Address string - The IP address to be added to the allow list.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- Allow
List stringCategory - The category of the postgresql allow list. Valid values: Ordinary, Default.
- Allow
List stringDesc - The description of the postgresql allow list. Perform a fuzzy search based on the description information.
- Allow
List stringId - The id of the postgresql allow list.
- Allow
List stringName - The name of the postgresql allow list.
- Instance
Id string - The id of the postgresql Instance.
- Ip
Address string - The IP address to be added to the allow list.
- Name
Regex string - A Name Regex of Resource.
- Output
File string - File name where to save data source results.
- allow
List StringCategory - The category of the postgresql allow list. Valid values: Ordinary, Default.
- allow
List StringDesc - The description of the postgresql allow list. Perform a fuzzy search based on the description information.
- allow
List StringId - The id of the postgresql allow list.
- allow
List StringName - The name of the postgresql allow list.
- instance
Id String - The id of the postgresql Instance.
- ip
Address String - The IP address to be added to the allow list.
- name
Regex String - A Name Regex of Resource.
- output
File String - File name where to save data source results.
- allow
List stringCategory - The category of the postgresql allow list. Valid values: Ordinary, Default.
- allow
List stringDesc - The description of the postgresql allow list. Perform a fuzzy search based on the description information.
- allow
List stringId - The id of the postgresql allow list.
- allow
List stringName - The name of the postgresql allow list.
- instance
Id string - The id of the postgresql Instance.
- ip
Address string - The IP address to be added to the allow list.
- name
Regex string - A Name Regex of Resource.
- output
File string - File name where to save data source results.
- allow_
list_ strcategory - The category of the postgresql allow list. Valid values: Ordinary, Default.
- allow_
list_ strdesc - The description of the postgresql allow list. Perform a fuzzy search based on the description information.
- allow_
list_ strid - The id of the postgresql allow list.
- allow_
list_ strname - 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.
- allow
List StringCategory - The category of the postgresql allow list. Valid values: Ordinary, Default.
- allow
List StringDesc - The description of the postgresql allow list. Perform a fuzzy search based on the description information.
- allow
List StringId - The id of the postgresql allow list.
- allow
List StringName - The name of the postgresql allow list.
- instance
Id String - The id of the postgresql Instance.
- ip
Address String - The IP address to be added to the allow list.
- name
Regex String - A Name Regex of Resource.
- output
File 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.
- Postgresql
Allow List<AllowlistsLists Postgresql Allow List> - The list of postgresql allowed list.
- Total
Count int - The total count of query.
- Allow
List stringCategory - The category of the postgresql allow list.
- Allow
List stringDesc - The description of the postgresql allow list.
- Allow
List stringId - The id of the postgresql allow list.
- Allow
List stringName - The name of the postgresql allow list.
- Instance
Id string - The id of the postgresql instance.
- Ip
Address string - Name
Regex string - Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Postgresql
Allow []AllowlistsLists Postgresql Allow List - The list of postgresql allowed list.
- Total
Count int - The total count of query.
- Allow
List stringCategory - The category of the postgresql allow list.
- Allow
List stringDesc - The description of the postgresql allow list.
- Allow
List stringId - The id of the postgresql allow list.
- Allow
List stringName - The name of the postgresql allow list.
- Instance
Id string - The id of the postgresql instance.
- Ip
Address string - Name
Regex string - Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- postgresql
Allow List<AllowlistsLists Postgresql Allow List> - The list of postgresql allowed list.
- total
Count Integer - The total count of query.
- allow
List StringCategory - The category of the postgresql allow list.
- allow
List StringDesc - The description of the postgresql allow list.
- allow
List StringId - The id of the postgresql allow list.
- allow
List StringName - The name of the postgresql allow list.
- instance
Id String - The id of the postgresql instance.
- ip
Address String - name
Regex String - output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- postgresql
Allow AllowlistsLists Postgresql Allow List[] - The list of postgresql allowed list.
- total
Count number - The total count of query.
- allow
List stringCategory - The category of the postgresql allow list.
- allow
List stringDesc - The description of the postgresql allow list.
- allow
List stringId - The id of the postgresql allow list.
- allow
List stringName - The name of the postgresql allow list.
- instance
Id string - The id of the postgresql instance.
- ip
Address string - name
Regex string - output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- postgresql_
allow_ Sequence[Allowlistslists Postgresql Allow List] - The list of postgresql allowed list.
- total_
count int - The total count of query.
- allow_
list_ strcategory - The category of the postgresql allow list.
- allow_
list_ strdesc - The description of the postgresql allow list.
- allow_
list_ strid - The id of the postgresql allow list.
- allow_
list_ strname - 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.
- postgresql
Allow List<Property Map>Lists - The list of postgresql allowed list.
- total
Count Number - The total count of query.
- allow
List StringCategory - The category of the postgresql allow list.
- allow
List StringDesc - The description of the postgresql allow list.
- allow
List StringId - The id of the postgresql allow list.
- allow
List StringName - The name of the postgresql allow list.
- instance
Id String - The id of the postgresql instance.
- ip
Address String - name
Regex String - output
File String
Supporting Types
AllowlistsPostgresqlAllowList
- Allow
List stringCategory - The category of the postgresql allow list. Valid values: Ordinary, Default.
- Allow
List stringDesc - The description of the postgresql allow list. Perform a fuzzy search based on the description information.
- Allow
List stringId - The id of the postgresql allow list.
- Allow
List intIp Num - The total number of IP addresses (or address ranges) in the whitelist.
- Allow
List stringName - The name of the postgresql allow list.
- Allow
List stringType - The type of the postgresql allow list.
- Allow
Lists List<string> - The IP address or a range of IP addresses in CIDR format.
- Associated
Instance intNum - The total number of instances bound under the whitelist.
- Associated
Instances List<AllowlistsPostgresql Allow List Associated Instance> - The list of postgresql instances.
- Id string
- The id of the postgresql allow list.
- Security
Group List<AllowlistsBind Infos Postgresql Allow List Security Group Bind Info> - The information of the security group bound by the allowlist.
- User
Allow List<string>Lists - IP addresses outside the security group and added to the allowlist.
- Allow
List stringCategory - The category of the postgresql allow list. Valid values: Ordinary, Default.
- Allow
List stringDesc - The description of the postgresql allow list. Perform a fuzzy search based on the description information.
- Allow
List stringId - The id of the postgresql allow list.
- Allow
List intIp Num - The total number of IP addresses (or address ranges) in the whitelist.
- Allow
List stringName - The name of the postgresql allow list.
- Allow
List stringType - The type of the postgresql allow list.
- Allow
Lists []string - The IP address or a range of IP addresses in CIDR format.
- Associated
Instance intNum - The total number of instances bound under the whitelist.
- Associated
Instances []AllowlistsPostgresql Allow List Associated Instance - The list of postgresql instances.
- Id string
- The id of the postgresql allow list.
- Security
Group []AllowlistsBind Infos Postgresql Allow List Security Group Bind Info - The information of the security group bound by the allowlist.
- User
Allow []stringLists - IP addresses outside the security group and added to the allowlist.
- allow
List StringCategory - The category of the postgresql allow list. Valid values: Ordinary, Default.
- allow
List StringDesc - The description of the postgresql allow list. Perform a fuzzy search based on the description information.
- allow
List StringId - The id of the postgresql allow list.
- allow
List IntegerIp Num - The total number of IP addresses (or address ranges) in the whitelist.
- allow
List StringName - The name of the postgresql allow list.
- allow
List StringType - The type of the postgresql allow list.
- allow
Lists List<String> - The IP address or a range of IP addresses in CIDR format.
- associated
Instance IntegerNum - The total number of instances bound under the whitelist.
- associated
Instances List<AllowlistsPostgresql Allow List Associated Instance> - The list of postgresql instances.
- id String
- The id of the postgresql allow list.
- security
Group List<AllowlistsBind Infos Postgresql Allow List Security Group Bind Info> - The information of the security group bound by the allowlist.
- user
Allow List<String>Lists - IP addresses outside the security group and added to the allowlist.
- allow
List stringCategory - The category of the postgresql allow list. Valid values: Ordinary, Default.
- allow
List stringDesc - The description of the postgresql allow list. Perform a fuzzy search based on the description information.
- allow
List stringId - The id of the postgresql allow list.
- allow
List numberIp Num - The total number of IP addresses (or address ranges) in the whitelist.
- allow
List stringName - The name of the postgresql allow list.
- allow
List stringType - The type of the postgresql allow list.
- allow
Lists string[] - The IP address or a range of IP addresses in CIDR format.
- associated
Instance numberNum - The total number of instances bound under the whitelist.
- associated
Instances AllowlistsPostgresql Allow List Associated Instance[] - The list of postgresql instances.
- id string
- The id of the postgresql allow list.
- security
Group AllowlistsBind Infos Postgresql Allow List Security Group Bind Info[] - The information of the security group bound by the allowlist.
- user
Allow string[]Lists - IP addresses outside the security group and added to the allowlist.
- allow_
list_ strcategory - The category of the postgresql allow list. Valid values: Ordinary, Default.
- allow_
list_ strdesc - The description of the postgresql allow list. Perform a fuzzy search based on the description information.
- allow_
list_ strid - The id of the postgresql allow list.
- allow_
list_ intip_ num - The total number of IP addresses (or address ranges) in the whitelist.
- allow_
list_ strname - The name of the postgresql allow list.
- allow_
list_ strtype - 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_ intnum - The total number of instances bound under the whitelist.
- associated_
instances Sequence[AllowlistsPostgresql Allow List Associated Instance] - The list of postgresql instances.
- id str
- The id of the postgresql allow list.
- security_
group_ Sequence[Allowlistsbind_ infos Postgresql Allow List Security Group Bind Info] - The information of the security group bound by the allowlist.
- user_
allow_ Sequence[str]lists - IP addresses outside the security group and added to the allowlist.
- allow
List StringCategory - The category of the postgresql allow list. Valid values: Ordinary, Default.
- allow
List StringDesc - The description of the postgresql allow list. Perform a fuzzy search based on the description information.
- allow
List StringId - The id of the postgresql allow list.
- allow
List NumberIp Num - The total number of IP addresses (or address ranges) in the whitelist.
- allow
List StringName - The name of the postgresql allow list.
- allow
List StringType - The type of the postgresql allow list.
- allow
Lists List<String> - The IP address or a range of IP addresses in CIDR format.
- associated
Instance NumberNum - The total number of instances bound under the whitelist.
- associated
Instances List<Property Map> - The list of postgresql instances.
- id String
- The id of the postgresql allow list.
- security
Group List<Property Map>Bind Infos - The information of the security group bound by the allowlist.
- user
Allow List<String>Lists - IP addresses outside the security group and added to the allowlist.
AllowlistsPostgresqlAllowListAssociatedInstance
- Instance
Id string - The id of the postgresql Instance.
- Instance
Name string - The name of the postgresql instance.
- Vpc string
- The id of the vpc.
- Instance
Id string - The id of the postgresql Instance.
- Instance
Name string - The name of the postgresql instance.
- Vpc string
- The id of the vpc.
- instance
Id String - The id of the postgresql Instance.
- instance
Name String - The name of the postgresql instance.
- vpc String
- The id of the vpc.
- instance
Id string - The id of the postgresql Instance.
- instance
Name 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.
- instance
Id String - The id of the postgresql Instance.
- instance
Name String - The name of the postgresql instance.
- vpc String
- The id of the vpc.
AllowlistsPostgresqlAllowListSecurityGroupBindInfo
- Bind
Mode string - The binding mode of the security group.
- Ip
Lists List<string> - IP addresses in the security group.
- Security
Group stringId - The ID of the security group.
- Security
Group stringName - The name of the security group.
- Bind
Mode string - The binding mode of the security group.
- Ip
Lists []string - IP addresses in the security group.
- Security
Group stringId - The ID of the security group.
- Security
Group stringName - The name of the security group.
- bind
Mode String - The binding mode of the security group.
- ip
Lists List<String> - IP addresses in the security group.
- security
Group StringId - The ID of the security group.
- security
Group StringName - The name of the security group.
- bind
Mode string - The binding mode of the security group.
- ip
Lists string[] - IP addresses in the security group.
- security
Group stringId - The ID of the security group.
- security
Group stringName - 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_ strid - The ID of the security group.
- security_
group_ strname - The name of the security group.
- bind
Mode String - The binding mode of the security group.
- ip
Lists List<String> - IP addresses in the security group.
- security
Group StringId - The ID of the security group.
- security
Group StringName - 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
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
