Viewing docs for volcenginecc v0.0.24
published on Monday, Mar 9, 2026 by Volcengine
published on Monday, Mar 9, 2026 by Volcengine
Viewing docs for volcenginecc v0.0.24
published on Monday, Mar 9, 2026 by Volcengine
published on Monday, Mar 9, 2026 by Volcengine
Data Source schema for Volcengine::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: volcenginecc: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<Volcengine.
Get Db Endpoint Address> - 地址列表。
- Auto
Add stringNew Nodes - 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:Enable:自动加入。Disable:不自动加入(默认)。
- Description string
- 地址描述。
- Enable
Read stringOnly - 是否已开启全局只读。Enable:开启。Disable:未开启。
- Enable
Read stringWrite Splitting - 是否已开启读写分离,取值:Enable:开启。Disable:未开启。
- Endpoint
Id string - 实例连接终端 ID。
- Endpoint
Name string - 实例连接终端名称。
- Endpoint
Type string - 终端类型:Cluster:默认终端(默认创建)。Custom:自定义终端。
- Id string
- Uniquely identifies the resource.
- Instance
Id string - 实例 ID。
- Nodes string
- 连接终端配置的节点列表。说明当 EndpointType 为 Custom 时必选。主节点无需传节点 ID,传入 Primary 字符串即可。
- Read
Only stringNode Distribution Type - 只读权重分配模式。取值:Default:标准权重分配(默认值)。Custom:自定义权重分配。
- Read
Only intNode Max Delay Time - 只读节点的最大延迟阈值,当只读节点延迟时间超过该值时,读取流量不发往该节点,单位:秒。取值:0~3600。默认值:30。说明支持对开通了读写分离的默认终端设置此参数。
- Read
Only List<Volcengine.Node Weights Get Db Endpoint Read Only Node Weight> - 连接终端配置的节点列表及对应的只读权重。
- Read
Write stringMode - 读写模式:ReadWrite:读写。ReadOnly:只读。
- Read
Write intProxy Connection - 终端开启读写分离后,为终端设置的代理连接数。代理连接数的取值下限为 20。代理连接数的取值上限取决于实例主节点的规格,不同规格支持的代理连接数上限不同,详细信息请参见产品规格。
- Write
Node boolHalt Writing - 终端是否将写请求发送给写节点(目前仅主节点为写节点)。取值:true:是。默认值。false:否。
- Addresses
[]Get
Db Endpoint Address - 地址列表。
- Auto
Add stringNew Nodes - 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:Enable:自动加入。Disable:不自动加入(默认)。
- Description string
- 地址描述。
- Enable
Read stringOnly - 是否已开启全局只读。Enable:开启。Disable:未开启。
- Enable
Read stringWrite Splitting - 是否已开启读写分离,取值:Enable:开启。Disable:未开启。
- Endpoint
Id string - 实例连接终端 ID。
- Endpoint
Name string - 实例连接终端名称。
- Endpoint
Type string - 终端类型:Cluster:默认终端(默认创建)。Custom:自定义终端。
- Id string
- Uniquely identifies the resource.
- Instance
Id string - 实例 ID。
- Nodes string
- 连接终端配置的节点列表。说明当 EndpointType 为 Custom 时必选。主节点无需传节点 ID,传入 Primary 字符串即可。
- Read
Only stringNode Distribution Type - 只读权重分配模式。取值:Default:标准权重分配(默认值)。Custom:自定义权重分配。
- Read
Only intNode Max Delay Time - 只读节点的最大延迟阈值,当只读节点延迟时间超过该值时,读取流量不发往该节点,单位:秒。取值:0~3600。默认值:30。说明支持对开通了读写分离的默认终端设置此参数。
- Read
Only []GetNode Weights Db Endpoint Read Only Node Weight - 连接终端配置的节点列表及对应的只读权重。
- Read
Write stringMode - 读写模式:ReadWrite:读写。ReadOnly:只读。
- Read
Write intProxy Connection - 终端开启读写分离后,为终端设置的代理连接数。代理连接数的取值下限为 20。代理连接数的取值上限取决于实例主节点的规格,不同规格支持的代理连接数上限不同,详细信息请参见产品规格。
- Write
Node boolHalt Writing - 终端是否将写请求发送给写节点(目前仅主节点为写节点)。取值:true:是。默认值。false:否。
- addresses
List<Get
Db Endpoint Address> - 地址列表。
- auto
Add StringNew Nodes - 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:Enable:自动加入。Disable:不自动加入(默认)。
- description String
- 地址描述。
- enable
Read StringOnly - 是否已开启全局只读。Enable:开启。Disable:未开启。
- enable
Read StringWrite Splitting - 是否已开启读写分离,取值:Enable:开启。Disable:未开启。
- endpoint
Id String - 实例连接终端 ID。
- endpoint
Name String - 实例连接终端名称。
- endpoint
Type String - 终端类型:Cluster:默认终端(默认创建)。Custom:自定义终端。
- id String
- Uniquely identifies the resource.
- instance
Id String - 实例 ID。
- nodes String
- 连接终端配置的节点列表。说明当 EndpointType 为 Custom 时必选。主节点无需传节点 ID,传入 Primary 字符串即可。
- read
Only StringNode Distribution Type - 只读权重分配模式。取值:Default:标准权重分配(默认值)。Custom:自定义权重分配。
- read
Only IntegerNode Max Delay Time - 只读节点的最大延迟阈值,当只读节点延迟时间超过该值时,读取流量不发往该节点,单位:秒。取值:0~3600。默认值:30。说明支持对开通了读写分离的默认终端设置此参数。
- read
Only List<GetNode Weights Db Endpoint Read Only Node Weight> - 连接终端配置的节点列表及对应的只读权重。
- read
Write StringMode - 读写模式:ReadWrite:读写。ReadOnly:只读。
- read
Write IntegerProxy Connection - 终端开启读写分离后,为终端设置的代理连接数。代理连接数的取值下限为 20。代理连接数的取值上限取决于实例主节点的规格,不同规格支持的代理连接数上限不同,详细信息请参见产品规格。
- write
Node BooleanHalt Writing - 终端是否将写请求发送给写节点(目前仅主节点为写节点)。取值:true:是。默认值。false:否。
- addresses
Get
Db Endpoint Address[] - 地址列表。
- auto
Add stringNew Nodes - 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:Enable:自动加入。Disable:不自动加入(默认)。
- description string
- 地址描述。
- enable
Read stringOnly - 是否已开启全局只读。Enable:开启。Disable:未开启。
- enable
Read stringWrite Splitting - 是否已开启读写分离,取值:Enable:开启。Disable:未开启。
- endpoint
Id string - 实例连接终端 ID。
- endpoint
Name string - 实例连接终端名称。
- endpoint
Type string - 终端类型:Cluster:默认终端(默认创建)。Custom:自定义终端。
- id string
- Uniquely identifies the resource.
- instance
Id string - 实例 ID。
- nodes string
- 连接终端配置的节点列表。说明当 EndpointType 为 Custom 时必选。主节点无需传节点 ID,传入 Primary 字符串即可。
- read
Only stringNode Distribution Type - 只读权重分配模式。取值:Default:标准权重分配(默认值)。Custom:自定义权重分配。
- read
Only numberNode Max Delay Time - 只读节点的最大延迟阈值,当只读节点延迟时间超过该值时,读取流量不发往该节点,单位:秒。取值:0~3600。默认值:30。说明支持对开通了读写分离的默认终端设置此参数。
- read
Only GetNode Weights Db Endpoint Read Only Node Weight[] - 连接终端配置的节点列表及对应的只读权重。
- read
Write stringMode - 读写模式:ReadWrite:读写。ReadOnly:只读。
- read
Write numberProxy Connection - 终端开启读写分离后,为终端设置的代理连接数。代理连接数的取值下限为 20。代理连接数的取值上限取决于实例主节点的规格,不同规格支持的代理连接数上限不同,详细信息请参见产品规格。
- write
Node booleanHalt Writing - 终端是否将写请求发送给写节点(目前仅主节点为写节点)。取值:true:是。默认值。false:否。
- addresses
Sequence[Get
Db Endpoint Address] - 地址列表。
- auto_
add_ strnew_ nodes - 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:Enable:自动加入。Disable:不自动加入(默认)。
- description str
- 地址描述。
- enable_
read_ stronly - 是否已开启全局只读。Enable:开启。Disable:未开启。
- enable_
read_ strwrite_ splitting - 是否已开启读写分离,取值:Enable:开启。Disable:未开启。
- endpoint_
id str - 实例连接终端 ID。
- endpoint_
name str - 实例连接终端名称。
- endpoint_
type str - 终端类型:Cluster:默认终端(默认创建)。Custom:自定义终端。
- id str
- Uniquely identifies the resource.
- instance_
id str - 实例 ID。
- nodes str
- 连接终端配置的节点列表。说明当 EndpointType 为 Custom 时必选。主节点无需传节点 ID,传入 Primary 字符串即可。
- read_
only_ strnode_ distribution_ type - 只读权重分配模式。取值:Default:标准权重分配(默认值)。Custom:自定义权重分配。
- read_
only_ intnode_ max_ delay_ time - 只读节点的最大延迟阈值,当只读节点延迟时间超过该值时,读取流量不发往该节点,单位:秒。取值:0~3600。默认值:30。说明支持对开通了读写分离的默认终端设置此参数。
- read_
only_ Sequence[Getnode_ weights Db Endpoint Read Only Node Weight] - 连接终端配置的节点列表及对应的只读权重。
- read_
write_ strmode - 读写模式:ReadWrite:读写。ReadOnly:只读。
- read_
write_ intproxy_ connection - 终端开启读写分离后,为终端设置的代理连接数。代理连接数的取值下限为 20。代理连接数的取值上限取决于实例主节点的规格,不同规格支持的代理连接数上限不同,详细信息请参见产品规格。
- write_
node_ boolhalt_ writing - 终端是否将写请求发送给写节点(目前仅主节点为写节点)。取值:true:是。默认值。false:否。
- addresses List<Property Map>
- 地址列表。
- auto
Add StringNew Nodes - 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:Enable:自动加入。Disable:不自动加入(默认)。
- description String
- 地址描述。
- enable
Read StringOnly - 是否已开启全局只读。Enable:开启。Disable:未开启。
- enable
Read StringWrite Splitting - 是否已开启读写分离,取值:Enable:开启。Disable:未开启。
- endpoint
Id String - 实例连接终端 ID。
- endpoint
Name String - 实例连接终端名称。
- endpoint
Type String - 终端类型:Cluster:默认终端(默认创建)。Custom:自定义终端。
- id String
- Uniquely identifies the resource.
- instance
Id String - 实例 ID。
- nodes String
- 连接终端配置的节点列表。说明当 EndpointType 为 Custom 时必选。主节点无需传节点 ID,传入 Primary 字符串即可。
- read
Only StringNode Distribution Type - 只读权重分配模式。取值:Default:标准权重分配(默认值)。Custom:自定义权重分配。
- read
Only NumberNode Max Delay Time - 只读节点的最大延迟阈值,当只读节点延迟时间超过该值时,读取流量不发往该节点,单位:秒。取值:0~3600。默认值:30。说明支持对开通了读写分离的默认终端设置此参数。
- read
Only List<Property Map>Node Weights - 连接终端配置的节点列表及对应的只读权重。
- read
Write StringMode - 读写模式:ReadWrite:读写。ReadOnly:只读。
- read
Write NumberProxy Connection - 终端开启读写分离后,为终端设置的代理连接数。代理连接数的取值下限为 20。代理连接数的取值上限取决于实例主节点的规格,不同规格支持的代理连接数上限不同,详细信息请参见产品规格。
- write
Node BooleanHalt Writing - 终端是否将写请求发送给写节点(目前仅主节点为写节点)。取值:true:是。默认值。false:否。
Supporting Types
GetDbEndpointAddress
- Cross
Region stringDomain - 可跨地域访问的私网地址。说明无此地址时则不返回该字段。
- Dns
Visibility bool - 是否开启公网解析。取值为:false:默认值,私网解析。true:私网以及公网解析。
- Domain string
- 连接域名。
- Domain
Prefix string - 新的访问地址前缀。访问地址前缀应满足以下规则:由小写字母、数字和中划线(-)组成。至少包含 8 个字符,总长度(含后缀)不得超过 63 个字符。以小写字母开头,以小写字母或数字结尾。
- Domain
Visibility stringSetting - 私网地址类型。取值:LocalDomain:本地域域名。CrossRegionDomain:可跨地域访问域名。
- Eip
Id string - EIP 的 ID,仅对 Public 地址有效。
- Ip
Address string - IP 地址。
- Network
Type string - 网络地址类型,取值为:Private:私网连接地址。Public:公网连接地址。Inner:公共服务区地址。
- Port string
- 端口号。
- Subnet
Id string - 子网 ID。
- Cross
Region stringDomain - 可跨地域访问的私网地址。说明无此地址时则不返回该字段。
- Dns
Visibility bool - 是否开启公网解析。取值为:false:默认值,私网解析。true:私网以及公网解析。
- Domain string
- 连接域名。
- Domain
Prefix string - 新的访问地址前缀。访问地址前缀应满足以下规则:由小写字母、数字和中划线(-)组成。至少包含 8 个字符,总长度(含后缀)不得超过 63 个字符。以小写字母开头,以小写字母或数字结尾。
- Domain
Visibility stringSetting - 私网地址类型。取值:LocalDomain:本地域域名。CrossRegionDomain:可跨地域访问域名。
- Eip
Id string - EIP 的 ID,仅对 Public 地址有效。
- Ip
Address string - IP 地址。
- Network
Type string - 网络地址类型,取值为:Private:私网连接地址。Public:公网连接地址。Inner:公共服务区地址。
- Port string
- 端口号。
- Subnet
Id string - 子网 ID。
- cross
Region StringDomain - 可跨地域访问的私网地址。说明无此地址时则不返回该字段。
- dns
Visibility Boolean - 是否开启公网解析。取值为:false:默认值,私网解析。true:私网以及公网解析。
- domain String
- 连接域名。
- domain
Prefix String - 新的访问地址前缀。访问地址前缀应满足以下规则:由小写字母、数字和中划线(-)组成。至少包含 8 个字符,总长度(含后缀)不得超过 63 个字符。以小写字母开头,以小写字母或数字结尾。
- domain
Visibility StringSetting - 私网地址类型。取值:LocalDomain:本地域域名。CrossRegionDomain:可跨地域访问域名。
- eip
Id String - EIP 的 ID,仅对 Public 地址有效。
- ip
Address String - IP 地址。
- network
Type String - 网络地址类型,取值为:Private:私网连接地址。Public:公网连接地址。Inner:公共服务区地址。
- port String
- 端口号。
- subnet
Id String - 子网 ID。
- cross
Region stringDomain - 可跨地域访问的私网地址。说明无此地址时则不返回该字段。
- dns
Visibility boolean - 是否开启公网解析。取值为:false:默认值,私网解析。true:私网以及公网解析。
- domain string
- 连接域名。
- domain
Prefix string - 新的访问地址前缀。访问地址前缀应满足以下规则:由小写字母、数字和中划线(-)组成。至少包含 8 个字符,总长度(含后缀)不得超过 63 个字符。以小写字母开头,以小写字母或数字结尾。
- domain
Visibility stringSetting - 私网地址类型。取值:LocalDomain:本地域域名。CrossRegionDomain:可跨地域访问域名。
- eip
Id string - EIP 的 ID,仅对 Public 地址有效。
- ip
Address string - IP 地址。
- network
Type string - 网络地址类型,取值为:Private:私网连接地址。Public:公网连接地址。Inner:公共服务区地址。
- port string
- 端口号。
- subnet
Id string - 子网 ID。
- cross_
region_ strdomain - 可跨地域访问的私网地址。说明无此地址时则不返回该字段。
- dns_
visibility bool - 是否开启公网解析。取值为:false:默认值,私网解析。true:私网以及公网解析。
- domain str
- 连接域名。
- domain_
prefix str - 新的访问地址前缀。访问地址前缀应满足以下规则:由小写字母、数字和中划线(-)组成。至少包含 8 个字符,总长度(含后缀)不得超过 63 个字符。以小写字母开头,以小写字母或数字结尾。
- domain_
visibility_ strsetting - 私网地址类型。取值:LocalDomain:本地域域名。CrossRegionDomain:可跨地域访问域名。
- eip_
id str - EIP 的 ID,仅对 Public 地址有效。
- ip_
address str - IP 地址。
- network_
type str - 网络地址类型,取值为:Private:私网连接地址。Public:公网连接地址。Inner:公共服务区地址。
- port str
- 端口号。
- subnet_
id str - 子网 ID。
- cross
Region StringDomain - 可跨地域访问的私网地址。说明无此地址时则不返回该字段。
- dns
Visibility Boolean - 是否开启公网解析。取值为:false:默认值,私网解析。true:私网以及公网解析。
- domain String
- 连接域名。
- domain
Prefix String - 新的访问地址前缀。访问地址前缀应满足以下规则:由小写字母、数字和中划线(-)组成。至少包含 8 个字符,总长度(含后缀)不得超过 63 个字符。以小写字母开头,以小写字母或数字结尾。
- domain
Visibility StringSetting - 私网地址类型。取值:LocalDomain:本地域域名。CrossRegionDomain:可跨地域访问域名。
- eip
Id String - EIP 的 ID,仅对 Public 地址有效。
- ip
Address String - IP 地址。
- network
Type String - 网络地址类型,取值为:Private:私网连接地址。Public:公网连接地址。Inner:公共服务区地址。
- port String
- 端口号。
- subnet
Id String - 子网 ID。
GetDbEndpointReadOnlyNodeWeight
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
Viewing docs for volcenginecc v0.0.24
published on Monday, Mar 9, 2026 by Volcengine
published on Monday, Mar 9, 2026 by Volcengine
