import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Data Source schema for Volcengine::RDSPostgreSQL::DBEndpoint */ export declare function getDbEndpoint(args: GetDbEndpointArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDbEndpoint. */ export interface GetDbEndpointArgs { /** * Uniquely identifies the resource. */ id: string; } /** * A collection of values returned by getDbEndpoint. */ export interface GetDbEndpointResult { /** * When the endpoint type is read/write or read-only, you can configure whether new nodes are automatically added. Values: Enable: Automatically add. Disable: Do not automatically add (default). */ readonly autoAddNewNodes: string; /** * Address description */ readonly description: string; /** * Whether global read-only is enabled. Enable: Enabled. Disable: Not enabled. */ readonly enableReadOnly: string; /** * Whether read/write splitting is enabled. Values: Enable: Enabled. Disable: Not enabled. */ readonly enableReadWriteSplitting: string; /** * Instance connection endpoint ID. */ readonly endpointId: string; /** * Instance connection endpoint name. */ readonly endpointName: string; /** * Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint. */ readonly endpointType: string; /** * Uniquely identifies the resource. */ readonly id: string; /** * Public service zone connection address */ readonly innerAddresses: outputs.rdspostgresql.GetDbEndpointInnerAddresses; /** * Instance ID. */ readonly instanceId: string; /** * List of nodes configured for the connection endpoint. Note: Required when EndpointType is Custom. The primary node does not require a node ID; use the string 'Primary'. */ readonly nodes: string; /** * Private network connection address */ readonly privateAddresses: outputs.rdspostgresql.GetDbEndpointPrivateAddresses; /** * Public network connection address */ readonly publicAddresses: outputs.rdspostgresql.GetDbEndpointPublicAddresses; /** * Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation. */ readonly readOnlyNodeDistributionType: string; /** * Maximum latency threshold for read-only nodes. When the latency of a read-only node exceeds this value, read traffic will not be sent to that node. Unit: seconds. Range: 0~3600. Default: 30. Note: This parameter can be set for default endpoints with read/write splitting enabled. */ readonly readOnlyNodeMaxDelayTime: number; /** * List of nodes configured for the connection endpoint and their corresponding read-only weights. */ readonly readOnlyNodeWeights: outputs.rdspostgresql.GetDbEndpointReadOnlyNodeWeight[]; /** * Read/write mode: ReadWrite: read/write. ReadOnly: read-only. */ readonly readWriteMode: string; /** * After enabling read/write splitting for the endpoint, set the number of proxy connections for the endpoint. The minimum value for proxy connections is 20. The maximum value depends on the specifications of the primary node; different specifications support different maximum proxy connections. For details, see product specifications. */ readonly readWriteProxyConnection: number; /** * Whether the endpoint sends write requests to the write node (currently only the primary node is the write node). Values: true: Yes (default). false: No. */ readonly writeNodeHaltWriting: boolean; } /** * Data Source schema for Volcengine::RDSPostgreSQL::DBEndpoint */ export declare function getDbEndpointOutput(args: GetDbEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDbEndpoint. */ export interface GetDbEndpointOutputArgs { /** * Uniquely identifies the resource. */ id: pulumi.Input; }