Package | Description |
---|---|
com.tencentcloudapi.postgres.v20170312 | |
com.tencentcloudapi.postgres.v20170312.models |
Modifier and Type | Method and Description |
---|---|
SwitchDBInstancePrimaryResponse |
PostgresClient.SwitchDBInstancePrimary(SwitchDBInstancePrimaryRequest req)
本接口(SwitchDBInstancePrimary)用于切换实例主备关系。
通过主动发起切换,可以验证业务能否正确处理实例主备切换的场景
通过使用强制切换,可以在备节点延迟不满足切换条件时,强制发起主从切换
只有主实例可以执行该操作
|
Constructor and Description |
---|
SwitchDBInstancePrimaryResponse(SwitchDBInstancePrimaryResponse 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.
|
Copyright © 2024. All rights reserved.