Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
Data Source schema for Byteplus::RDSPostgreSQL::DBEndpoint
Using getDbEndpoint
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 getDbEndpoint(args: GetDbEndpointArgs, opts?: InvokeOptions): Promise<GetDbEndpointResult>
function getDbEndpointOutput(args: GetDbEndpointOutputArgs, opts?: InvokeOptions): Output<GetDbEndpointResult>def get_db_endpoint(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbEndpointResult
def get_db_endpoint_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDbEndpointResult]func LookupDbEndpoint(ctx *Context, args *LookupDbEndpointArgs, opts ...InvokeOption) (*LookupDbEndpointResult, error)
func LookupDbEndpointOutput(ctx *Context, args *LookupDbEndpointOutputArgs, opts ...InvokeOption) LookupDbEndpointResultOutput> Note: This function is named LookupDbEndpoint in the Go SDK.
public static class GetDbEndpoint
{
public static Task<GetDbEndpointResult> InvokeAsync(GetDbEndpointArgs args, InvokeOptions? opts = null)
public static Output<GetDbEndpointResult> Invoke(GetDbEndpointInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbEndpointResult> getDbEndpoint(GetDbEndpointArgs args, InvokeOptions options)
public static Output<GetDbEndpointResult> getDbEndpoint(GetDbEndpointArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:rdspostgresql/getDbEndpoint:getDbEndpoint
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Uniquely identifies the resource.
- Id string
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
- id string
- Uniquely identifies the resource.
- id str
- Uniquely identifies the resource.
- id String
- Uniquely identifies the resource.
getDbEndpoint Result
The following output properties are available:
- Addresses
List<Byteplus.
Get Db Endpoint Address> - Address list.
- Auto
Add stringNew Nodes - 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).
- Description string
- Address description
- Enable
Read stringOnly - Whether global read-only is enabled. Enable: Enabled. Disable: Not enabled.
- Enable
Read stringWrite Splitting - Whether read/write splitting is enabled. Values: Enable: Enabled. Disable: Not enabled.
- Endpoint
Id string - Instance connection endpoint ID.
- Endpoint
Name string - Instance connection endpoint name.
- Endpoint
Type string - Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.
- Id string
- Uniquely identifies the resource.
- Instance
Id string - Instance ID.
- Nodes 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'.
- Read
Only stringNode Distribution Type - Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.
- Read
Only intNode Max Delay Time - 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.
- Read
Only List<Byteplus.Node Weights Get Db Endpoint Read Only Node Weight> - List of nodes configured for the connection endpoint and their corresponding read-only weights.
- Read
Write stringMode - Read/write mode: ReadWrite: read/write. ReadOnly: read-only.
- Read
Write intProxy Connection - 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.
- Write
Node boolHalt Writing - 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.
- Addresses
[]Get
Db Endpoint Address - Address list.
- Auto
Add stringNew Nodes - 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).
- Description string
- Address description
- Enable
Read stringOnly - Whether global read-only is enabled. Enable: Enabled. Disable: Not enabled.
- Enable
Read stringWrite Splitting - Whether read/write splitting is enabled. Values: Enable: Enabled. Disable: Not enabled.
- Endpoint
Id string - Instance connection endpoint ID.
- Endpoint
Name string - Instance connection endpoint name.
- Endpoint
Type string - Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.
- Id string
- Uniquely identifies the resource.
- Instance
Id string - Instance ID.
- Nodes 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'.
- Read
Only stringNode Distribution Type - Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.
- Read
Only intNode Max Delay Time - 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.
- Read
Only []GetNode Weights Db Endpoint Read Only Node Weight - List of nodes configured for the connection endpoint and their corresponding read-only weights.
- Read
Write stringMode - Read/write mode: ReadWrite: read/write. ReadOnly: read-only.
- Read
Write intProxy Connection - 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.
- Write
Node boolHalt Writing - 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.
- addresses
List<Get
Db Endpoint Address> - Address list.
- auto
Add StringNew Nodes - 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).
- description String
- Address description
- enable
Read StringOnly - Whether global read-only is enabled. Enable: Enabled. Disable: Not enabled.
- enable
Read StringWrite Splitting - Whether read/write splitting is enabled. Values: Enable: Enabled. Disable: Not enabled.
- endpoint
Id String - Instance connection endpoint ID.
- endpoint
Name String - Instance connection endpoint name.
- endpoint
Type String - Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.
- id String
- Uniquely identifies the resource.
- instance
Id String - Instance ID.
- nodes 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'.
- read
Only StringNode Distribution Type - Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.
- read
Only IntegerNode Max Delay Time - 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.
- read
Only List<GetNode Weights Db Endpoint Read Only Node Weight> - List of nodes configured for the connection endpoint and their corresponding read-only weights.
- read
Write StringMode - Read/write mode: ReadWrite: read/write. ReadOnly: read-only.
- read
Write IntegerProxy Connection - 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.
- write
Node BooleanHalt Writing - 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.
- addresses
Get
Db Endpoint Address[] - Address list.
- auto
Add stringNew Nodes - 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).
- description string
- Address description
- enable
Read stringOnly - Whether global read-only is enabled. Enable: Enabled. Disable: Not enabled.
- enable
Read stringWrite Splitting - Whether read/write splitting is enabled. Values: Enable: Enabled. Disable: Not enabled.
- endpoint
Id string - Instance connection endpoint ID.
- endpoint
Name string - Instance connection endpoint name.
- endpoint
Type string - Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.
- id string
- Uniquely identifies the resource.
- instance
Id string - Instance ID.
- nodes 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'.
- read
Only stringNode Distribution Type - Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.
- read
Only numberNode Max Delay Time - 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.
- read
Only GetNode Weights Db Endpoint Read Only Node Weight[] - List of nodes configured for the connection endpoint and their corresponding read-only weights.
- read
Write stringMode - Read/write mode: ReadWrite: read/write. ReadOnly: read-only.
- read
Write numberProxy Connection - 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.
- write
Node booleanHalt Writing - 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.
- addresses
Sequence[Get
Db Endpoint Address] - Address list.
- auto_
add_ strnew_ nodes - 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).
- description str
- Address description
- enable_
read_ stronly - Whether global read-only is enabled. Enable: Enabled. Disable: Not enabled.
- enable_
read_ strwrite_ splitting - Whether read/write splitting is enabled. Values: Enable: Enabled. Disable: Not enabled.
- endpoint_
id str - Instance connection endpoint ID.
- endpoint_
name str - Instance connection endpoint name.
- endpoint_
type str - Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.
- id str
- Uniquely identifies the resource.
- instance_
id str - Instance ID.
- nodes str
- 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'.
- read_
only_ strnode_ distribution_ type - Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.
- read_
only_ intnode_ max_ delay_ time - 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.
- read_
only_ Sequence[Getnode_ weights Db Endpoint Read Only Node Weight] - List of nodes configured for the connection endpoint and their corresponding read-only weights.
- read_
write_ strmode - Read/write mode: ReadWrite: read/write. ReadOnly: read-only.
- read_
write_ intproxy_ connection - 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.
- write_
node_ boolhalt_ writing - 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.
- addresses List<Property Map>
- Address list.
- auto
Add StringNew Nodes - 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).
- description String
- Address description
- enable
Read StringOnly - Whether global read-only is enabled. Enable: Enabled. Disable: Not enabled.
- enable
Read StringWrite Splitting - Whether read/write splitting is enabled. Values: Enable: Enabled. Disable: Not enabled.
- endpoint
Id String - Instance connection endpoint ID.
- endpoint
Name String - Instance connection endpoint name.
- endpoint
Type String - Endpoint type: Cluster: default endpoint (created by default). Custom: custom endpoint.
- id String
- Uniquely identifies the resource.
- instance
Id String - Instance ID.
- nodes 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'.
- read
Only StringNode Distribution Type - Read-only weight allocation mode. Values: Default: standard weight allocation (default). Custom: custom weight allocation.
- read
Only NumberNode Max Delay Time - 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.
- read
Only List<Property Map>Node Weights - List of nodes configured for the connection endpoint and their corresponding read-only weights.
- read
Write StringMode - Read/write mode: ReadWrite: read/write. ReadOnly: read-only.
- read
Write NumberProxy Connection - 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.
- write
Node BooleanHalt Writing - 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.
Supporting Types
GetDbEndpointAddress
- Cross
Region stringDomain - Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
- Dns
Visibility bool - Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
- Domain string
- Connection domain name
- Domain
Prefix string - New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
- Domain
Visibility stringSetting - Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
- Eip
Id string - EIP ID, valid only for Public addresses.
- Ip
Address string - IP address
- Network
Type string - Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
- Port string
- Port number.
- Subnet
Id string - Subnet ID
- Cross
Region stringDomain - Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
- Dns
Visibility bool - Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
- Domain string
- Connection domain name
- Domain
Prefix string - New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
- Domain
Visibility stringSetting - Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
- Eip
Id string - EIP ID, valid only for Public addresses.
- Ip
Address string - IP address
- Network
Type string - Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
- Port string
- Port number.
- Subnet
Id string - Subnet ID
- cross
Region StringDomain - Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
- dns
Visibility Boolean - Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
- domain String
- Connection domain name
- domain
Prefix String - New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
- domain
Visibility StringSetting - Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
- eip
Id String - EIP ID, valid only for Public addresses.
- ip
Address String - IP address
- network
Type String - Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
- port String
- Port number.
- subnet
Id String - Subnet ID
- cross
Region stringDomain - Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
- dns
Visibility boolean - Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
- domain string
- Connection domain name
- domain
Prefix string - New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
- domain
Visibility stringSetting - Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
- eip
Id string - EIP ID, valid only for Public addresses.
- ip
Address string - IP address
- network
Type string - Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
- port string
- Port number.
- subnet
Id string - Subnet ID
- cross_
region_ strdomain - Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
- dns_
visibility bool - Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
- domain str
- Connection domain name
- domain_
prefix str - New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
- domain_
visibility_ strsetting - Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
- eip_
id str - EIP ID, valid only for Public addresses.
- ip_
address str - IP address
- network_
type str - Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
- port str
- Port number.
- subnet_
id str - Subnet ID
- cross
Region StringDomain - Private network address accessible across regions. Note: If this address is unavailable, this field will not be returned.
- dns
Visibility Boolean - Whether public network resolution is enabled. Values: false: Default, private network resolution. true: Both private and public network resolution.
- domain String
- Connection domain name
- domain
Prefix String - New access address prefix. The access address prefix must meet the following rules: consists of lowercase letters, numbers, and hyphens (-). Must contain at least 8 characters. The total length (including suffix) must not exceed 63 characters. Must start with a lowercase letter and end with a lowercase letter or number.
- domain
Visibility StringSetting - Type of private network address. Values: LocalDomain: Local region domain name. CrossRegionDomain: Domain name accessible across regions.
- eip
Id String - EIP ID, valid only for Public addresses.
- ip
Address String - IP address
- network
Type String - Network address type. Values: Private: private network connection address. Public: public network connection address. Inner: public service zone address.
- port String
- Port number.
- subnet
Id String - Subnet ID
GetDbEndpointReadOnlyNodeWeight
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
published on Thursday, Apr 2, 2026 by Byteplus
