Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
Use this data source to query detailed information of rds postgresql database endpoints
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const example = volcengine.rds_postgresql.getDatabaseEndpoints({
instanceId: "postgres-72715e0d9f58",
nameRegex: "默认.*",
});
import pulumi
import pulumi_volcengine as volcengine
example = volcengine.rds_postgresql.get_database_endpoints(instance_id="postgres-72715e0d9f58",
name_regex="默认.*")
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.GetDatabaseEndpoints(ctx, &rds_postgresql.GetDatabaseEndpointsArgs{
InstanceId: pulumi.StringRef("postgres-72715e0d9f58"),
NameRegex: pulumi.StringRef("默认.*"),
}, 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 example = Volcengine.Rds_postgresql.GetDatabaseEndpoints.Invoke(new()
{
InstanceId = "postgres-72715e0d9f58",
NameRegex = "默认.*",
});
});
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.GetDatabaseEndpointsArgs;
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 example = Rds_postgresqlFunctions.getDatabaseEndpoints(GetDatabaseEndpointsArgs.builder()
.instanceId("postgres-72715e0d9f58")
.nameRegex("默认.*")
.build());
}
}
variables:
example:
fn::invoke:
Function: volcengine:rds_postgresql:getDatabaseEndpoints
Arguments:
instanceId: postgres-72715e0d9f58
nameRegex: 默认.*
Using getDatabaseEndpoints
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 getDatabaseEndpoints(args: GetDatabaseEndpointsArgs, opts?: InvokeOptions): Promise<GetDatabaseEndpointsResult>
function getDatabaseEndpointsOutput(args: GetDatabaseEndpointsOutputArgs, opts?: InvokeOptions): Output<GetDatabaseEndpointsResult>def get_database_endpoints(instance_id: Optional[str] = None,
name_regex: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseEndpointsResult
def get_database_endpoints_output(instance_id: Optional[pulumi.Input[str]] = None,
name_regex: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseEndpointsResult]func GetDatabaseEndpoints(ctx *Context, args *GetDatabaseEndpointsArgs, opts ...InvokeOption) (*GetDatabaseEndpointsResult, error)
func GetDatabaseEndpointsOutput(ctx *Context, args *GetDatabaseEndpointsOutputArgs, opts ...InvokeOption) GetDatabaseEndpointsResultOutput> Note: This function is named GetDatabaseEndpoints in the Go SDK.
public static class GetDatabaseEndpoints
{
public static Task<GetDatabaseEndpointsResult> InvokeAsync(GetDatabaseEndpointsArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseEndpointsResult> Invoke(GetDatabaseEndpointsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabaseEndpointsResult> getDatabaseEndpoints(GetDatabaseEndpointsArgs args, InvokeOptions options)
public static Output<GetDatabaseEndpointsResult> getDatabaseEndpoints(GetDatabaseEndpointsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:rds_postgresql/getDatabaseEndpoints:getDatabaseEndpoints
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - The ID of the RDS PostgreSQL instance.
- Name
Regex string - The name of the endpoint to filter.
- Output
File string - File name where to save data source results.
- Instance
Id string - The ID of the RDS PostgreSQL instance.
- Name
Regex string - The name of the endpoint to filter.
- Output
File string - File name where to save data source results.
- instance
Id String - The ID of the RDS PostgreSQL instance.
- name
Regex String - The name of the endpoint to filter.
- output
File String - File name where to save data source results.
- instance
Id string - The ID of the RDS PostgreSQL instance.
- name
Regex string - The name of the endpoint to filter.
- output
File string - File name where to save data source results.
- instance_
id str - The ID of the RDS PostgreSQL instance.
- name_
regex str - The name of the endpoint to filter.
- output_
file str - File name where to save data source results.
- instance
Id String - The ID of the RDS PostgreSQL instance.
- name
Regex String - The name of the endpoint to filter.
- output
File String - File name where to save data source results.
getDatabaseEndpoints Result
The following output properties are available:
- Endpoints
List<Get
Database Endpoints Endpoint> - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Instance
Id string - Name
Regex string - Output
File string
- Endpoints
[]Get
Database Endpoints Endpoint - The collection of query.
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- Instance
Id string - Name
Regex string - Output
File string
- endpoints
List<Get
Database Endpoints Endpoint> - The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- instance
Id String - name
Regex String - output
File String
- endpoints
Get
Database Endpoints Endpoint[] - The collection of query.
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- instance
Id string - name
Regex string - output
File string
- endpoints
Sequence[Get
Database Endpoints Endpoint] - The collection of query.
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- instance_
id str - name_
regex str - output_
file str
- endpoints List<Property Map>
- The collection of query.
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- instance
Id String - name
Regex String - output
File String
Supporting Types
GetDatabaseEndpointsEndpoint
- Cross
Region stringDomain - Cross-region domain for private address.
- Dns
Visibility bool - Whether to enable public network resolution.
- Domain string
- Connect domain name.
- Endpoint
Id string - The ID of the RDS PostgreSQL database endpoint.
- Endpoint
Name string - The name of the RDS PostgreSQL database endpoint.
- Endpoint
Type string - The type of the RDS PostgreSQL database endpoint. Valid values:
Custom(custom endpoint),Cluster(default endpoint). - Port string
- The endpoint port.
- Read
Only stringNode Distribution Type - The distribution type of the read-only nodes.
- Read
Only intNode Max Delay Time - ReadOnly node max delay seconds.
- Read
Write stringMode - ReadWrite or ReadOnly. Default value is ReadOnly.
- Read
Write intProxy Connection - The number of proxy connections set for the terminal.
- Write
Node boolHalt Writing - Whether the endpoint sends write requests to the write node.
- Cross
Region stringDomain - Cross-region domain for private address.
- Dns
Visibility bool - Whether to enable public network resolution.
- Domain string
- Connect domain name.
- Endpoint
Id string - The ID of the RDS PostgreSQL database endpoint.
- Endpoint
Name string - The name of the RDS PostgreSQL database endpoint.
- Endpoint
Type string - The type of the RDS PostgreSQL database endpoint. Valid values:
Custom(custom endpoint),Cluster(default endpoint). - Port string
- The endpoint port.
- Read
Only stringNode Distribution Type - The distribution type of the read-only nodes.
- Read
Only intNode Max Delay Time - ReadOnly node max delay seconds.
- Read
Write stringMode - ReadWrite or ReadOnly. Default value is ReadOnly.
- Read
Write intProxy Connection - The number of proxy connections set for the terminal.
- Write
Node boolHalt Writing - Whether the endpoint sends write requests to the write node.
- cross
Region StringDomain - Cross-region domain for private address.
- dns
Visibility Boolean - Whether to enable public network resolution.
- domain String
- Connect domain name.
- endpoint
Id String - The ID of the RDS PostgreSQL database endpoint.
- endpoint
Name String - The name of the RDS PostgreSQL database endpoint.
- endpoint
Type String - The type of the RDS PostgreSQL database endpoint. Valid values:
Custom(custom endpoint),Cluster(default endpoint). - port String
- The endpoint port.
- read
Only StringNode Distribution Type - The distribution type of the read-only nodes.
- read
Only IntegerNode Max Delay Time - ReadOnly node max delay seconds.
- read
Write StringMode - ReadWrite or ReadOnly. Default value is ReadOnly.
- read
Write IntegerProxy Connection - The number of proxy connections set for the terminal.
- write
Node BooleanHalt Writing - Whether the endpoint sends write requests to the write node.
- cross
Region stringDomain - Cross-region domain for private address.
- dns
Visibility boolean - Whether to enable public network resolution.
- domain string
- Connect domain name.
- endpoint
Id string - The ID of the RDS PostgreSQL database endpoint.
- endpoint
Name string - The name of the RDS PostgreSQL database endpoint.
- endpoint
Type string - The type of the RDS PostgreSQL database endpoint. Valid values:
Custom(custom endpoint),Cluster(default endpoint). - port string
- The endpoint port.
- read
Only stringNode Distribution Type - The distribution type of the read-only nodes.
- read
Only numberNode Max Delay Time - ReadOnly node max delay seconds.
- read
Write stringMode - ReadWrite or ReadOnly. Default value is ReadOnly.
- read
Write numberProxy Connection - The number of proxy connections set for the terminal.
- write
Node booleanHalt Writing - Whether the endpoint sends write requests to the write node.
- cross_
region_ strdomain - Cross-region domain for private address.
- dns_
visibility bool - Whether to enable public network resolution.
- domain str
- Connect domain name.
- endpoint_
id str - The ID of the RDS PostgreSQL database endpoint.
- endpoint_
name str - The name of the RDS PostgreSQL database endpoint.
- endpoint_
type str - The type of the RDS PostgreSQL database endpoint. Valid values:
Custom(custom endpoint),Cluster(default endpoint). - port str
- The endpoint port.
- read_
only_ strnode_ distribution_ type - The distribution type of the read-only nodes.
- read_
only_ intnode_ max_ delay_ time - ReadOnly node max delay seconds.
- read_
write_ strmode - ReadWrite or ReadOnly. Default value is ReadOnly.
- read_
write_ intproxy_ connection - The number of proxy connections set for the terminal.
- write_
node_ boolhalt_ writing - Whether the endpoint sends write requests to the write node.
- cross
Region StringDomain - Cross-region domain for private address.
- dns
Visibility Boolean - Whether to enable public network resolution.
- domain String
- Connect domain name.
- endpoint
Id String - The ID of the RDS PostgreSQL database endpoint.
- endpoint
Name String - The name of the RDS PostgreSQL database endpoint.
- endpoint
Type String - The type of the RDS PostgreSQL database endpoint. Valid values:
Custom(custom endpoint),Cluster(default endpoint). - port String
- The endpoint port.
- read
Only StringNode Distribution Type - The distribution type of the read-only nodes.
- read
Only NumberNode Max Delay Time - ReadOnly node max delay seconds.
- read
Write StringMode - ReadWrite or ReadOnly. Default value is ReadOnly.
- read
Write NumberProxy Connection - The number of proxy connections set for the terminal.
- write
Node BooleanHalt Writing - Whether the endpoint sends write requests to the write node.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
