lib/v20190107/client.rb in tencentcloud-sdk-cynosdb-3.0.644 vs lib/v20190107/client.rb in tencentcloud-sdk-cynosdb-3.0.645
- old
+ new
@@ -51,11 +51,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 增加从可用区
+ # 开启多可用区部署
# @param request: Request instance for AddClusterSlaveZone.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::AddClusterSlaveZoneRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::AddClusterSlaveZoneResponse`
def AddClusterSlaveZone(request)
@@ -267,11 +267,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 创建账号
+ # 创建用户账号
# @param request: Request instance for CreateAccounts.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::CreateAccountsRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::CreateAccountsResponse`
def CreateAccounts(request)
@@ -507,11 +507,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 删除账号
+ # 删除用户账号
# @param request: Request instance for DeleteAccounts.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DeleteAccountsRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DeleteAccountsResponse`
def DeleteAccounts(request)
@@ -651,11 +651,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 账号所有权限
+ # 查询账号所有可授予权限
# @param request: Request instance for DescribeAccountAllGrantPrivileges.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeAccountAllGrantPrivilegesRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeAccountAllGrantPrivilegesResponse`
def DescribeAccountAllGrantPrivileges(request)
@@ -699,11 +699,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 本接口(DescribeAccounts)用于查询数据库管理账号。
+ # 本接口(DescribeAccounts)用于查询数据库账号列表
# @param request: Request instance for DescribeAccounts.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeAccountsRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeAccountsResponse`
def DescribeAccounts(request)
@@ -1035,11 +1035,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 本接口(DescribeClusterParamLogs)查询参数修改日志
+ # 本接口(DescribeClusterParamLogs)查询参数修改记录
# @param request: Request instance for DescribeClusterParamLogs.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterParamLogsRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeClusterParamLogsResponse`
def DescribeClusterParamLogs(request)
@@ -1227,11 +1227,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 该接口(DescribeInstanceParams)查询实例参数列表
+ # 该接口(DescribeInstanceParams)查询实例参数
# @param request: Request instance for DescribeInstanceParams.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeInstanceParamsRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeInstanceParamsResponse`
def DescribeInstanceParams(request)
@@ -1251,11 +1251,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 此接口(DescribeInstanceSlowQueries)用于查询实例慢查询日志。
+ # 此接口(DescribeInstanceSlowQueries)用于查询实例慢日志详情。
# @param request: Request instance for DescribeInstanceSlowQueries.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeInstanceSlowQueriesRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeInstanceSlowQueriesResponse`
def DescribeInstanceSlowQueries(request)
@@ -1563,11 +1563,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 根据计费订单id查询资源列表
+ # 查询订单关联实例
# @param request: Request instance for DescribeResourcesByDealName.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeResourcesByDealNameRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeResourcesByDealNameResponse`
def DescribeResourcesByDealName(request)
@@ -1587,11 +1587,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 查询指定集群有效回滚时间范围
+ # 查询回档时间范围
# @param request: Request instance for DescribeRollbackTimeRange.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::DescribeRollbackTimeRangeRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::DescribeRollbackTimeRangeResponse`
def DescribeRollbackTimeRange(request)
@@ -1923,11 +1923,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 修改账号参数
+ # 修改账号配置
# @param request: Request instance for ModifyAccountParams.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::ModifyAccountParamsRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::ModifyAccountParamsResponse`
def ModifyAccountParams(request)
@@ -1947,11 +1947,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 修改账号权限
+ # 修改账号库表权限
# @param request: Request instance for ModifyAccountPrivileges.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::ModifyAccountPrivilegesRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::ModifyAccountPrivilegesResponse`
def ModifyAccountPrivileges(request)
@@ -2187,11 +2187,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 修改从可用区
+ # 变更备可用区
# @param request: Request instance for ModifyClusterSlaveZone.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::ModifyClusterSlaveZoneRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::ModifyClusterSlaveZoneResponse`
def ModifyClusterSlaveZone(request)
@@ -2715,11 +2715,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 删除从可用区
+ # 关闭多可用区部署
# @param request: Request instance for RemoveClusterSlaveZone.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::RemoveClusterSlaveZoneRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::RemoveClusterSlaveZoneResponse`
def RemoveClusterSlaveZone(request)
@@ -2739,11 +2739,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 本接口(ResetAccountPassword)用于重置实例的数据库账号密码。
+ # 本接口(ResetAccountPassword)用于修改数据库账号密码
# @param request: Request instance for ResetAccountPassword.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::ResetAccountPasswordRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::ResetAccountPasswordResponse`
def ResetAccountPassword(request)
@@ -2835,11 +2835,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 本接口(RollBackCluster)用于回档集群
+ # 本接口(RollBackCluster)用于集群回档
# @param request: Request instance for RollBackCluster.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::RollBackClusterRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::RollBackClusterResponse`
def RollBackCluster(request)
@@ -2955,10 +2955,10 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 切换到从可用区
+ # 主备可用区切换
# @param request: Request instance for SwitchClusterZone.
# @type request: :class:`Tencentcloud::cynosdb::V20190107::SwitchClusterZoneRequest`
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::SwitchClusterZoneResponse`
def SwitchClusterZone(request)
\ No newline at end of file