bytepluscc v0.0.15 published on Monday, Mar 2, 2026 by Byteplus
bytepluscc v0.0.15 published on Monday, Mar 2, 2026 by Byteplus
Data Source schema for Byteplus::RDSMySQL::Endpoint
Using getEndpoint
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 getEndpoint(args: GetEndpointArgs, opts?: InvokeOptions): Promise<GetEndpointResult>
function getEndpointOutput(args: GetEndpointOutputArgs, opts?: InvokeOptions): Output<GetEndpointResult>def get_endpoint(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEndpointResult
def get_endpoint_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEndpointResult]func LookupEndpoint(ctx *Context, args *LookupEndpointArgs, opts ...InvokeOption) (*LookupEndpointResult, error)
func LookupEndpointOutput(ctx *Context, args *LookupEndpointOutputArgs, opts ...InvokeOption) LookupEndpointResultOutput> Note: This function is named LookupEndpoint in the Go SDK.
public static class GetEndpoint
{
public static Task<GetEndpointResult> InvokeAsync(GetEndpointArgs args, InvokeOptions? opts = null)
public static Output<GetEndpointResult> Invoke(GetEndpointInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEndpointResult> getEndpoint(GetEndpointArgs args, InvokeOptions options)
public static Output<GetEndpointResult> getEndpoint(GetEndpointArgs args, InvokeOptions options)
fn::invoke:
function: bytepluscc:rdsmysql/getEndpoint:getEndpoint
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.
getEndpoint Result
The following output properties are available:
- Addresses
List<Byteplus.
Get Endpoint Address> - 终端节点地址列表。
- Auto
Add boolNew Nodes - 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:true:自动加入。false:不自动加入(默认)。
- Connect
All boolSlave Nodes - 是否关联所有的备节点。取值:true:是。默认值。false:否。说明仅多节点实例的只读终端支持该配置。仅在实例有两个或更多备节点时才能关闭此功能。
- List<string>
- 连接终端标签。
- Connection
Mode string - 连接终端类型。取值:Proxy:代理终端。Direct:直连终端。说明如实例的数据库代理功能已开启,可以取值为 Proxy 或 Direct。如实例的数据库代理功能未开启,仅可以取值为 Direct。可调用 DescribeDBInstanceDetail 接口查询实例数据库代理功能的开启状态。
- Connection
Pool stringType - 代理终端的连接池类型。取值:Transaction:事务级连接池。默认值。Direct:直连模式。说明单节点实例不支持该功能。
- Custom
Route Byteplus.Strategy Get Endpoint Custom Route Strategy - 连接终端的 SQL 转发规则。
- Description string
- 备注。
- Enable
Connection boolPersistent - 是否开启连接终端的连接保持功能。取值:true:是。false:否。说明仅代理终端支持该设置。
- Enable
Read stringOnly - 是否已开启全局只读,取值:Enable:开启。Disable:未开启。
- Endpoint
Id string - 实例连接终端 ID。
- Endpoint
Name string - 实例连接终端名称。
- Endpoint
Type string - 终端类型。取值为 Custom,自定义终端。
- Id string
- Uniquely identifies the resource.
- Idle
Connection boolReclaim - 空闲连接回收功能是否开启。true:开启。false:不开启。说明仅代理终端会返回该字段。
- Implicit
Trans boolSplit - 是否开启事务分离。取值:true:是。false:否。说明仅代理终端会返回该字段。
- Instance
Id string - 实例 ID。
- Master
Node boolRouting - 是否开启主节点路由。取值:true:是。false:否。说明仅代理终端会返回该字段。
- Master
Protector intTimeout - 过载保护超时时间。取值范围为 60~7200 之间的整数,单位为秒。说明仅代理终端会返回该字段。
- Multi
Statements stringMode - 代理终端的 Multi-Statements 模式。取值:Strict:Strict 模式。默认值。Loose:Loose 模式。
- Nodes string
- 连接终端配置的节点 ID 列表。当 EndpointType 为 Custom 时必选。说明如需将主节点加入终端,不需填写主节点 ID,只需填写 Primary。多个节点 ID 之间用英文逗号(,)分隔。
- Overload
Protection bool - 是否开启过载保护。取值:true:是。false:否。说明仅代理终端会返回该字段。
- Read
Only stringNode Distribution Type - 读权重分配模式。当开通读写分离设置为 true 时需要传入此参数。在 CreateDBEndpoint 和 ModifyDBEndpoint 接口中做请求参数时,取值范围如下:LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。在 DescribeDBInstanceDetail 接口中做返回参数时,取值范围如下:Default:按规格权重自动分配。Custom:自定义分配权重。RoundRobin:轮询调度。LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。
- Read
Only intNode Max Delay Time - 只读节点延迟阈值。取值范围为 1~3600,默认为 30,单位为秒。
- Read
Only List<Byteplus.Node Weights Get Endpoint Read Only Node Weight> - 连接终端配置的节点列表及对应的只读权重。
- Read
Write stringMode - 读写模式:ReadWrite:读写。ReadOnly:只读。
- Read
Write boolSpliting - 是否开启读写分离。取值:true:是。默认值。false:否。
- Addresses
[]Get
Endpoint Address - 终端节点地址列表。
- Auto
Add boolNew Nodes - 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:true:自动加入。false:不自动加入(默认)。
- Connect
All boolSlave Nodes - 是否关联所有的备节点。取值:true:是。默认值。false:否。说明仅多节点实例的只读终端支持该配置。仅在实例有两个或更多备节点时才能关闭此功能。
- []string
- 连接终端标签。
- Connection
Mode string - 连接终端类型。取值:Proxy:代理终端。Direct:直连终端。说明如实例的数据库代理功能已开启,可以取值为 Proxy 或 Direct。如实例的数据库代理功能未开启,仅可以取值为 Direct。可调用 DescribeDBInstanceDetail 接口查询实例数据库代理功能的开启状态。
- Connection
Pool stringType - 代理终端的连接池类型。取值:Transaction:事务级连接池。默认值。Direct:直连模式。说明单节点实例不支持该功能。
- Custom
Route GetStrategy Endpoint Custom Route Strategy - 连接终端的 SQL 转发规则。
- Description string
- 备注。
- Enable
Connection boolPersistent - 是否开启连接终端的连接保持功能。取值:true:是。false:否。说明仅代理终端支持该设置。
- Enable
Read stringOnly - 是否已开启全局只读,取值:Enable:开启。Disable:未开启。
- Endpoint
Id string - 实例连接终端 ID。
- Endpoint
Name string - 实例连接终端名称。
- Endpoint
Type string - 终端类型。取值为 Custom,自定义终端。
- Id string
- Uniquely identifies the resource.
- Idle
Connection boolReclaim - 空闲连接回收功能是否开启。true:开启。false:不开启。说明仅代理终端会返回该字段。
- Implicit
Trans boolSplit - 是否开启事务分离。取值:true:是。false:否。说明仅代理终端会返回该字段。
- Instance
Id string - 实例 ID。
- Master
Node boolRouting - 是否开启主节点路由。取值:true:是。false:否。说明仅代理终端会返回该字段。
- Master
Protector intTimeout - 过载保护超时时间。取值范围为 60~7200 之间的整数,单位为秒。说明仅代理终端会返回该字段。
- Multi
Statements stringMode - 代理终端的 Multi-Statements 模式。取值:Strict:Strict 模式。默认值。Loose:Loose 模式。
- Nodes string
- 连接终端配置的节点 ID 列表。当 EndpointType 为 Custom 时必选。说明如需将主节点加入终端,不需填写主节点 ID,只需填写 Primary。多个节点 ID 之间用英文逗号(,)分隔。
- Overload
Protection bool - 是否开启过载保护。取值:true:是。false:否。说明仅代理终端会返回该字段。
- Read
Only stringNode Distribution Type - 读权重分配模式。当开通读写分离设置为 true 时需要传入此参数。在 CreateDBEndpoint 和 ModifyDBEndpoint 接口中做请求参数时,取值范围如下:LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。在 DescribeDBInstanceDetail 接口中做返回参数时,取值范围如下:Default:按规格权重自动分配。Custom:自定义分配权重。RoundRobin:轮询调度。LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。
- Read
Only intNode Max Delay Time - 只读节点延迟阈值。取值范围为 1~3600,默认为 30,单位为秒。
- Read
Only []GetNode Weights Endpoint Read Only Node Weight - 连接终端配置的节点列表及对应的只读权重。
- Read
Write stringMode - 读写模式:ReadWrite:读写。ReadOnly:只读。
- Read
Write boolSpliting - 是否开启读写分离。取值:true:是。默认值。false:否。
- addresses
List<Get
Endpoint Address> - 终端节点地址列表。
- auto
Add BooleanNew Nodes - 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:true:自动加入。false:不自动加入(默认)。
- connect
All BooleanSlave Nodes - 是否关联所有的备节点。取值:true:是。默认值。false:否。说明仅多节点实例的只读终端支持该配置。仅在实例有两个或更多备节点时才能关闭此功能。
- List<String>
- 连接终端标签。
- connection
Mode String - 连接终端类型。取值:Proxy:代理终端。Direct:直连终端。说明如实例的数据库代理功能已开启,可以取值为 Proxy 或 Direct。如实例的数据库代理功能未开启,仅可以取值为 Direct。可调用 DescribeDBInstanceDetail 接口查询实例数据库代理功能的开启状态。
- connection
Pool StringType - 代理终端的连接池类型。取值:Transaction:事务级连接池。默认值。Direct:直连模式。说明单节点实例不支持该功能。
- custom
Route GetStrategy Endpoint Custom Route Strategy - 连接终端的 SQL 转发规则。
- description String
- 备注。
- enable
Connection BooleanPersistent - 是否开启连接终端的连接保持功能。取值:true:是。false:否。说明仅代理终端支持该设置。
- enable
Read StringOnly - 是否已开启全局只读,取值:Enable:开启。Disable:未开启。
- endpoint
Id String - 实例连接终端 ID。
- endpoint
Name String - 实例连接终端名称。
- endpoint
Type String - 终端类型。取值为 Custom,自定义终端。
- id String
- Uniquely identifies the resource.
- idle
Connection BooleanReclaim - 空闲连接回收功能是否开启。true:开启。false:不开启。说明仅代理终端会返回该字段。
- implicit
Trans BooleanSplit - 是否开启事务分离。取值:true:是。false:否。说明仅代理终端会返回该字段。
- instance
Id String - 实例 ID。
- master
Node BooleanRouting - 是否开启主节点路由。取值:true:是。false:否。说明仅代理终端会返回该字段。
- master
Protector IntegerTimeout - 过载保护超时时间。取值范围为 60~7200 之间的整数,单位为秒。说明仅代理终端会返回该字段。
- multi
Statements StringMode - 代理终端的 Multi-Statements 模式。取值:Strict:Strict 模式。默认值。Loose:Loose 模式。
- nodes String
- 连接终端配置的节点 ID 列表。当 EndpointType 为 Custom 时必选。说明如需将主节点加入终端,不需填写主节点 ID,只需填写 Primary。多个节点 ID 之间用英文逗号(,)分隔。
- overload
Protection Boolean - 是否开启过载保护。取值:true:是。false:否。说明仅代理终端会返回该字段。
- read
Only StringNode Distribution Type - 读权重分配模式。当开通读写分离设置为 true 时需要传入此参数。在 CreateDBEndpoint 和 ModifyDBEndpoint 接口中做请求参数时,取值范围如下:LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。在 DescribeDBInstanceDetail 接口中做返回参数时,取值范围如下:Default:按规格权重自动分配。Custom:自定义分配权重。RoundRobin:轮询调度。LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。
- read
Only IntegerNode Max Delay Time - 只读节点延迟阈值。取值范围为 1~3600,默认为 30,单位为秒。
- read
Only List<GetNode Weights Endpoint Read Only Node Weight> - 连接终端配置的节点列表及对应的只读权重。
- read
Write StringMode - 读写模式:ReadWrite:读写。ReadOnly:只读。
- read
Write BooleanSpliting - 是否开启读写分离。取值:true:是。默认值。false:否。
- addresses
Get
Endpoint Address[] - 终端节点地址列表。
- auto
Add booleanNew Nodes - 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:true:自动加入。false:不自动加入(默认)。
- connect
All booleanSlave Nodes - 是否关联所有的备节点。取值:true:是。默认值。false:否。说明仅多节点实例的只读终端支持该配置。仅在实例有两个或更多备节点时才能关闭此功能。
- string[]
- 连接终端标签。
- connection
Mode string - 连接终端类型。取值:Proxy:代理终端。Direct:直连终端。说明如实例的数据库代理功能已开启,可以取值为 Proxy 或 Direct。如实例的数据库代理功能未开启,仅可以取值为 Direct。可调用 DescribeDBInstanceDetail 接口查询实例数据库代理功能的开启状态。
- connection
Pool stringType - 代理终端的连接池类型。取值:Transaction:事务级连接池。默认值。Direct:直连模式。说明单节点实例不支持该功能。
- custom
Route GetStrategy Endpoint Custom Route Strategy - 连接终端的 SQL 转发规则。
- description string
- 备注。
- enable
Connection booleanPersistent - 是否开启连接终端的连接保持功能。取值:true:是。false:否。说明仅代理终端支持该设置。
- enable
Read stringOnly - 是否已开启全局只读,取值:Enable:开启。Disable:未开启。
- endpoint
Id string - 实例连接终端 ID。
- endpoint
Name string - 实例连接终端名称。
- endpoint
Type string - 终端类型。取值为 Custom,自定义终端。
- id string
- Uniquely identifies the resource.
- idle
Connection booleanReclaim - 空闲连接回收功能是否开启。true:开启。false:不开启。说明仅代理终端会返回该字段。
- implicit
Trans booleanSplit - 是否开启事务分离。取值:true:是。false:否。说明仅代理终端会返回该字段。
- instance
Id string - 实例 ID。
- master
Node booleanRouting - 是否开启主节点路由。取值:true:是。false:否。说明仅代理终端会返回该字段。
- master
Protector numberTimeout - 过载保护超时时间。取值范围为 60~7200 之间的整数,单位为秒。说明仅代理终端会返回该字段。
- multi
Statements stringMode - 代理终端的 Multi-Statements 模式。取值:Strict:Strict 模式。默认值。Loose:Loose 模式。
- nodes string
- 连接终端配置的节点 ID 列表。当 EndpointType 为 Custom 时必选。说明如需将主节点加入终端,不需填写主节点 ID,只需填写 Primary。多个节点 ID 之间用英文逗号(,)分隔。
- overload
Protection boolean - 是否开启过载保护。取值:true:是。false:否。说明仅代理终端会返回该字段。
- read
Only stringNode Distribution Type - 读权重分配模式。当开通读写分离设置为 true 时需要传入此参数。在 CreateDBEndpoint 和 ModifyDBEndpoint 接口中做请求参数时,取值范围如下:LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。在 DescribeDBInstanceDetail 接口中做返回参数时,取值范围如下:Default:按规格权重自动分配。Custom:自定义分配权重。RoundRobin:轮询调度。LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。
- read
Only numberNode Max Delay Time - 只读节点延迟阈值。取值范围为 1~3600,默认为 30,单位为秒。
- read
Only GetNode Weights Endpoint Read Only Node Weight[] - 连接终端配置的节点列表及对应的只读权重。
- read
Write stringMode - 读写模式:ReadWrite:读写。ReadOnly:只读。
- read
Write booleanSpliting - 是否开启读写分离。取值:true:是。默认值。false:否。
- addresses
Sequence[Get
Endpoint Address] - 终端节点地址列表。
- auto_
add_ boolnew_ nodes - 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:true:自动加入。false:不自动加入(默认)。
- connect_
all_ boolslave_ nodes - 是否关联所有的备节点。取值:true:是。默认值。false:否。说明仅多节点实例的只读终端支持该配置。仅在实例有两个或更多备节点时才能关闭此功能。
- Sequence[str]
- 连接终端标签。
- connection_
mode str - 连接终端类型。取值:Proxy:代理终端。Direct:直连终端。说明如实例的数据库代理功能已开启,可以取值为 Proxy 或 Direct。如实例的数据库代理功能未开启,仅可以取值为 Direct。可调用 DescribeDBInstanceDetail 接口查询实例数据库代理功能的开启状态。
- connection_
pool_ strtype - 代理终端的连接池类型。取值:Transaction:事务级连接池。默认值。Direct:直连模式。说明单节点实例不支持该功能。
- custom_
route_ Getstrategy Endpoint Custom Route Strategy - 连接终端的 SQL 转发规则。
- description str
- 备注。
- enable_
connection_ boolpersistent - 是否开启连接终端的连接保持功能。取值:true:是。false:否。说明仅代理终端支持该设置。
- enable_
read_ stronly - 是否已开启全局只读,取值:Enable:开启。Disable:未开启。
- endpoint_
id str - 实例连接终端 ID。
- endpoint_
name str - 实例连接终端名称。
- endpoint_
type str - 终端类型。取值为 Custom,自定义终端。
- id str
- Uniquely identifies the resource.
- idle_
connection_ boolreclaim - 空闲连接回收功能是否开启。true:开启。false:不开启。说明仅代理终端会返回该字段。
- implicit_
trans_ boolsplit - 是否开启事务分离。取值:true:是。false:否。说明仅代理终端会返回该字段。
- instance_
id str - 实例 ID。
- master_
node_ boolrouting - 是否开启主节点路由。取值:true:是。false:否。说明仅代理终端会返回该字段。
- master_
protector_ inttimeout - 过载保护超时时间。取值范围为 60~7200 之间的整数,单位为秒。说明仅代理终端会返回该字段。
- multi_
statements_ strmode - 代理终端的 Multi-Statements 模式。取值:Strict:Strict 模式。默认值。Loose:Loose 模式。
- nodes str
- 连接终端配置的节点 ID 列表。当 EndpointType 为 Custom 时必选。说明如需将主节点加入终端,不需填写主节点 ID,只需填写 Primary。多个节点 ID 之间用英文逗号(,)分隔。
- overload_
protection bool - 是否开启过载保护。取值:true:是。false:否。说明仅代理终端会返回该字段。
- read_
only_ strnode_ distribution_ type - 读权重分配模式。当开通读写分离设置为 true 时需要传入此参数。在 CreateDBEndpoint 和 ModifyDBEndpoint 接口中做请求参数时,取值范围如下:LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。在 DescribeDBInstanceDetail 接口中做返回参数时,取值范围如下:Default:按规格权重自动分配。Custom:自定义分配权重。RoundRobin:轮询调度。LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。
- read_
only_ intnode_ max_ delay_ time - 只读节点延迟阈值。取值范围为 1~3600,默认为 30,单位为秒。
- read_
only_ Sequence[Getnode_ weights Endpoint Read Only Node Weight] - 连接终端配置的节点列表及对应的只读权重。
- read_
write_ strmode - 读写模式:ReadWrite:读写。ReadOnly:只读。
- read_
write_ boolspliting - 是否开启读写分离。取值:true:是。默认值。false:否。
- addresses List<Property Map>
- 终端节点地址列表。
- auto
Add BooleanNew Nodes - 当终端类型为读写终端或只读终端时,支持设置新节点是否自动加入。取值:true:自动加入。false:不自动加入(默认)。
- connect
All BooleanSlave Nodes - 是否关联所有的备节点。取值:true:是。默认值。false:否。说明仅多节点实例的只读终端支持该配置。仅在实例有两个或更多备节点时才能关闭此功能。
- List<String>
- 连接终端标签。
- connection
Mode String - 连接终端类型。取值:Proxy:代理终端。Direct:直连终端。说明如实例的数据库代理功能已开启,可以取值为 Proxy 或 Direct。如实例的数据库代理功能未开启,仅可以取值为 Direct。可调用 DescribeDBInstanceDetail 接口查询实例数据库代理功能的开启状态。
- connection
Pool StringType - 代理终端的连接池类型。取值:Transaction:事务级连接池。默认值。Direct:直连模式。说明单节点实例不支持该功能。
- custom
Route Property MapStrategy - 连接终端的 SQL 转发规则。
- description String
- 备注。
- enable
Connection BooleanPersistent - 是否开启连接终端的连接保持功能。取值:true:是。false:否。说明仅代理终端支持该设置。
- enable
Read StringOnly - 是否已开启全局只读,取值:Enable:开启。Disable:未开启。
- endpoint
Id String - 实例连接终端 ID。
- endpoint
Name String - 实例连接终端名称。
- endpoint
Type String - 终端类型。取值为 Custom,自定义终端。
- id String
- Uniquely identifies the resource.
- idle
Connection BooleanReclaim - 空闲连接回收功能是否开启。true:开启。false:不开启。说明仅代理终端会返回该字段。
- implicit
Trans BooleanSplit - 是否开启事务分离。取值:true:是。false:否。说明仅代理终端会返回该字段。
- instance
Id String - 实例 ID。
- master
Node BooleanRouting - 是否开启主节点路由。取值:true:是。false:否。说明仅代理终端会返回该字段。
- master
Protector NumberTimeout - 过载保护超时时间。取值范围为 60~7200 之间的整数,单位为秒。说明仅代理终端会返回该字段。
- multi
Statements StringMode - 代理终端的 Multi-Statements 模式。取值:Strict:Strict 模式。默认值。Loose:Loose 模式。
- nodes String
- 连接终端配置的节点 ID 列表。当 EndpointType 为 Custom 时必选。说明如需将主节点加入终端,不需填写主节点 ID,只需填写 Primary。多个节点 ID 之间用英文逗号(,)分隔。
- overload
Protection Boolean - 是否开启过载保护。取值:true:是。false:否。说明仅代理终端会返回该字段。
- read
Only StringNode Distribution Type - 读权重分配模式。当开通读写分离设置为 true 时需要传入此参数。在 CreateDBEndpoint 和 ModifyDBEndpoint 接口中做请求参数时,取值范围如下:LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。在 DescribeDBInstanceDetail 接口中做返回参数时,取值范围如下:Default:按规格权重自动分配。Custom:自定义分配权重。RoundRobin:轮询调度。LoadSchedule:负载调度。RoundRobinCustom:自定义权重的轮询调度。RoundRobinAuto:自动分配权重的轮询调度。
- read
Only NumberNode Max Delay Time - 只读节点延迟阈值。取值范围为 1~3600,默认为 30,单位为秒。
- read
Only List<Property Map>Node Weights - 连接终端配置的节点列表及对应的只读权重。
- read
Write StringMode - 读写模式:ReadWrite:读写。ReadOnly:只读。
- read
Write BooleanSpliting - 是否开启读写分离。取值:true:是。默认值。false:否。
Supporting Types
GetEndpointAddress
- Dns
Visibility bool - false:火山引擎私网解析(默认)。true:火山引擎私网以及公网解析。
- Domain string
- 连接域名。
- Domain
Prefix string - 连接地址前缀。连接地址的前缀需满足以下规则:以小写字母开头,以小写字母或数字结尾。由小写字母、数字和中划线(-)中的至少两种组成。连接地址前缀应至少包含 8 个字符,连接地址总长度(前缀+后缀)不得超过 63个字符。
- Eip
Id string - EIP 的 ID,仅对 Public 地址有效。
- Eip
Locked bool - 连接终端使用的 EIP 是否因欠费关停。取值:true:是。false:否。
- Internet
Protocol string - IP 协议版本。取值为 IPv4。
- Ip
Address string - IP 地址。
- Network
Type string - 网络地址类型,取值为:Private:私网地址。Public:公网地址。
- Port string
- 端口。
- Subnet
Id string - 子网 ID,仅对 Private 地址有效。
- Dns
Visibility bool - false:火山引擎私网解析(默认)。true:火山引擎私网以及公网解析。
- Domain string
- 连接域名。
- Domain
Prefix string - 连接地址前缀。连接地址的前缀需满足以下规则:以小写字母开头,以小写字母或数字结尾。由小写字母、数字和中划线(-)中的至少两种组成。连接地址前缀应至少包含 8 个字符,连接地址总长度(前缀+后缀)不得超过 63个字符。
- Eip
Id string - EIP 的 ID,仅对 Public 地址有效。
- Eip
Locked bool - 连接终端使用的 EIP 是否因欠费关停。取值:true:是。false:否。
- Internet
Protocol string - IP 协议版本。取值为 IPv4。
- Ip
Address string - IP 地址。
- Network
Type string - 网络地址类型,取值为:Private:私网地址。Public:公网地址。
- Port string
- 端口。
- Subnet
Id string - 子网 ID,仅对 Private 地址有效。
- dns
Visibility Boolean - false:火山引擎私网解析(默认)。true:火山引擎私网以及公网解析。
- domain String
- 连接域名。
- domain
Prefix String - 连接地址前缀。连接地址的前缀需满足以下规则:以小写字母开头,以小写字母或数字结尾。由小写字母、数字和中划线(-)中的至少两种组成。连接地址前缀应至少包含 8 个字符,连接地址总长度(前缀+后缀)不得超过 63个字符。
- eip
Id String - EIP 的 ID,仅对 Public 地址有效。
- eip
Locked Boolean - 连接终端使用的 EIP 是否因欠费关停。取值:true:是。false:否。
- internet
Protocol String - IP 协议版本。取值为 IPv4。
- ip
Address String - IP 地址。
- network
Type String - 网络地址类型,取值为:Private:私网地址。Public:公网地址。
- port String
- 端口。
- subnet
Id String - 子网 ID,仅对 Private 地址有效。
- dns
Visibility boolean - false:火山引擎私网解析(默认)。true:火山引擎私网以及公网解析。
- domain string
- 连接域名。
- domain
Prefix string - 连接地址前缀。连接地址的前缀需满足以下规则:以小写字母开头,以小写字母或数字结尾。由小写字母、数字和中划线(-)中的至少两种组成。连接地址前缀应至少包含 8 个字符,连接地址总长度(前缀+后缀)不得超过 63个字符。
- eip
Id string - EIP 的 ID,仅对 Public 地址有效。
- eip
Locked boolean - 连接终端使用的 EIP 是否因欠费关停。取值:true:是。false:否。
- internet
Protocol string - IP 协议版本。取值为 IPv4。
- ip
Address string - IP 地址。
- network
Type string - 网络地址类型,取值为:Private:私网地址。Public:公网地址。
- port string
- 端口。
- subnet
Id string - 子网 ID,仅对 Private 地址有效。
- dns_
visibility bool - false:火山引擎私网解析(默认)。true:火山引擎私网以及公网解析。
- domain str
- 连接域名。
- domain_
prefix str - 连接地址前缀。连接地址的前缀需满足以下规则:以小写字母开头,以小写字母或数字结尾。由小写字母、数字和中划线(-)中的至少两种组成。连接地址前缀应至少包含 8 个字符,连接地址总长度(前缀+后缀)不得超过 63个字符。
- eip_
id str - EIP 的 ID,仅对 Public 地址有效。
- eip_
locked bool - 连接终端使用的 EIP 是否因欠费关停。取值:true:是。false:否。
- internet_
protocol str - IP 协议版本。取值为 IPv4。
- ip_
address str - IP 地址。
- network_
type str - 网络地址类型,取值为:Private:私网地址。Public:公网地址。
- port str
- 端口。
- subnet_
id str - 子网 ID,仅对 Private 地址有效。
- dns
Visibility Boolean - false:火山引擎私网解析(默认)。true:火山引擎私网以及公网解析。
- domain String
- 连接域名。
- domain
Prefix String - 连接地址前缀。连接地址的前缀需满足以下规则:以小写字母开头,以小写字母或数字结尾。由小写字母、数字和中划线(-)中的至少两种组成。连接地址前缀应至少包含 8 个字符,连接地址总长度(前缀+后缀)不得超过 63个字符。
- eip
Id String - EIP 的 ID,仅对 Public 地址有效。
- eip
Locked Boolean - 连接终端使用的 EIP 是否因欠费关停。取值:true:是。false:否。
- internet
Protocol String - IP 协议版本。取值为 IPv4。
- ip
Address String - IP 地址。
- network
Type String - 网络地址类型,取值为:Private:私网地址。Public:公网地址。
- port String
- 端口。
- subnet
Id String - 子网 ID,仅对 Private 地址有效。
GetEndpointCustomRouteStrategy
- keyword
Route List<Property Map>Strategies - 自定义路由策略列表。
GetEndpointCustomRouteStrategyKeywordRouteStrategy
- Node
Type string - SQL 转发规则的转发目标。取值:Primary:主节点。Secondary:备节点。ReadOnly:只读节点。说明如实例为双节点实例,可选择主节点或只读节点。如实例为多节点实例,可选择主节点或备节点。
- Sql
Keyword string - 转发规则的关键字。SQL 关键字的设置规则如下:单个规则最多可包含 20 个关键字。最大长度为 64 个字符,可包含英文字母、数字、下划线 _、@、#、:= 和中文字符。
- Node
Type string - SQL 转发规则的转发目标。取值:Primary:主节点。Secondary:备节点。ReadOnly:只读节点。说明如实例为双节点实例,可选择主节点或只读节点。如实例为多节点实例,可选择主节点或备节点。
- Sql
Keyword string - 转发规则的关键字。SQL 关键字的设置规则如下:单个规则最多可包含 20 个关键字。最大长度为 64 个字符,可包含英文字母、数字、下划线 _、@、#、:= 和中文字符。
- node
Type String - SQL 转发规则的转发目标。取值:Primary:主节点。Secondary:备节点。ReadOnly:只读节点。说明如实例为双节点实例,可选择主节点或只读节点。如实例为多节点实例,可选择主节点或备节点。
- sql
Keyword String - 转发规则的关键字。SQL 关键字的设置规则如下:单个规则最多可包含 20 个关键字。最大长度为 64 个字符,可包含英文字母、数字、下划线 _、@、#、:= 和中文字符。
- node
Type string - SQL 转发规则的转发目标。取值:Primary:主节点。Secondary:备节点。ReadOnly:只读节点。说明如实例为双节点实例,可选择主节点或只读节点。如实例为多节点实例,可选择主节点或备节点。
- sql
Keyword string - 转发规则的关键字。SQL 关键字的设置规则如下:单个规则最多可包含 20 个关键字。最大长度为 64 个字符,可包含英文字母、数字、下划线 _、@、#、:= 和中文字符。
- node_
type str - SQL 转发规则的转发目标。取值:Primary:主节点。Secondary:备节点。ReadOnly:只读节点。说明如实例为双节点实例,可选择主节点或只读节点。如实例为多节点实例,可选择主节点或备节点。
- sql_
keyword str - 转发规则的关键字。SQL 关键字的设置规则如下:单个规则最多可包含 20 个关键字。最大长度为 64 个字符,可包含英文字母、数字、下划线 _、@、#、:= 和中文字符。
- node
Type String - SQL 转发规则的转发目标。取值:Primary:主节点。Secondary:备节点。ReadOnly:只读节点。说明如实例为双节点实例,可选择主节点或只读节点。如实例为多节点实例,可选择主节点或备节点。
- sql
Keyword String - 转发规则的关键字。SQL 关键字的设置规则如下:单个规则最多可包含 20 个关键字。最大长度为 64 个字符,可包含英文字母、数字、下划线 _、@、#、:= 和中文字符。
GetEndpointReadOnlyNodeWeight
Package Details
- Repository
- bytepluscc byteplus-sdk/pulumi-bytepluscc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
byteplusccTerraform Provider.
bytepluscc v0.0.15 published on Monday, Mar 2, 2026 by Byteplus
