public class CreateCdbProxyRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateCdbProxyRequest() |
CreateCdbProxyRequest(CreateCdbProxyRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getConnectionPoolLimit()
Get 连接池阈值
注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
String |
getDesc()
Get 描述
|
String |
getInstanceId()
Get 实例ID
|
ProxyNodeCustom[] |
getProxyNodeCustom()
Get 节点规格配置。
示例中参数说明:
NodeCount:节点个数。
Region:节点地域。
Zone:节点可用区。
Cpu:单个代理节点核数(单位:核)。
Mem:单个代理节点内存数(单位:MB)。
备注:
1.
|
String |
getProxyVersion()
Get 指定要购买的 proxy 内核版本。不填则默认发货最新版本的 proxy。
|
String[] |
getSecurityGroup()
Get 安全组
|
String |
getUniqSubnetId()
Get 私有子网ID
|
String |
getUniqVpcId()
Get 私有网络ID
|
void |
setConnectionPoolLimit(Long ConnectionPoolLimit)
Set 连接池阈值
注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。
|
void |
setDesc(String Desc)
Set 描述
|
void |
setInstanceId(String InstanceId)
Set 实例ID
|
void |
setProxyNodeCustom(ProxyNodeCustom[] ProxyNodeCustom)
Set 节点规格配置。
示例中参数说明:
NodeCount:节点个数。
Region:节点地域。
Zone:节点可用区。
Cpu:单个代理节点核数(单位:核)。
Mem:单个代理节点内存数(单位:MB)。
备注:
1.
|
void |
setProxyVersion(String ProxyVersion)
Set 指定要购买的 proxy 内核版本。不填则默认发货最新版本的 proxy。
|
void |
setSecurityGroup(String[] SecurityGroup)
Set 安全组
|
void |
setUniqSubnetId(String UniqSubnetId)
Set 私有子网ID
|
void |
setUniqVpcId(String UniqVpcId)
Set 私有网络ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateCdbProxyRequest()
public CreateCdbProxyRequest(CreateCdbProxyRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 实例IDpublic String getUniqVpcId()
public void setUniqVpcId(String UniqVpcId)
UniqVpcId
- 私有网络IDpublic String getUniqSubnetId()
public void setUniqSubnetId(String UniqSubnetId)
UniqSubnetId
- 私有子网IDpublic ProxyNodeCustom[] getProxyNodeCustom()
public void setProxyNodeCustom(ProxyNodeCustom[] ProxyNodeCustom)
ProxyNodeCustom
- 节点规格配置。
示例中参数说明:
NodeCount:节点个数。
Region:节点地域。
Zone:节点可用区。
Cpu:单个代理节点核数(单位:核)。
Mem:单个代理节点内存数(单位:MB)。
备注:
1. 数据库代理支持的节点规格为:2C4000MB、4C8000MB、8C16000MB。
2. 上述参数项(如节点个数、可用区等)均为必填,在调用接口时如未填写完整,可能会创建失败。public String[] getSecurityGroup()
public void setSecurityGroup(String[] SecurityGroup)
SecurityGroup
- 安全组public String getDesc()
public void setDesc(String Desc)
Desc
- 描述public Long getConnectionPoolLimit()
public void setConnectionPoolLimit(Long ConnectionPoolLimit)
ConnectionPoolLimit
- 连接池阈值
注意:如需使用数据库代理连接池能力,MySQL 8.0 主实例的内核小版本要大于等于 MySQL 8.0 20230630。public String getProxyVersion()
public void setProxyVersion(String ProxyVersion)
ProxyVersion
- 指定要购买的 proxy 内核版本。不填则默认发货最新版本的 proxy。Copyright © 2024. All rights reserved.