Class: TencentCloud::Cdb::V20170320::DescribeRoMinScaleRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170320/models.rb

Overview

DescribeRoMinScale请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(roinstanceid = nil, masterinstanceid = nil) ⇒ DescribeRoMinScaleRequest

Returns a new instance of DescribeRoMinScaleRequest.



7952
7953
7954
7955
# File 'lib/v20170320/models.rb', line 7952

def initialize(roinstanceid=nil, masterinstanceid=nil)
  @RoInstanceId = roinstanceid
  @MasterInstanceId = masterinstanceid
end

Instance Attribute Details

#MasterInstanceIdObject

Parameters:

  • RoInstanceId:

    只读实例ID,格式如:cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同,该参数与MasterInstanceId参数不能同时为空。

  • MasterInstanceId:

    主实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同,该参数与RoInstanceId参数不能同时为空。注意,当传入参数包含RoInstanceId时,返回值为只读实例升级时的最小规格;当传入参数只包含MasterInstanceId时,返回值为只读实例购买时的最小规格。



7950
7951
7952
# File 'lib/v20170320/models.rb', line 7950

def MasterInstanceId
  @MasterInstanceId
end

#RoInstanceIdObject

Parameters:

  • RoInstanceId:

    只读实例ID,格式如:cdbro-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同,该参数与MasterInstanceId参数不能同时为空。

  • MasterInstanceId:

    主实例ID,格式如:cdb-c1nl9rpv,与云数据库控制台页面中显示的实例ID相同,该参数与RoInstanceId参数不能同时为空。注意,当传入参数包含RoInstanceId时,返回值为只读实例升级时的最小规格;当传入参数只包含MasterInstanceId时,返回值为只读实例购买时的最小规格。



7950
7951
7952
# File 'lib/v20170320/models.rb', line 7950

def RoInstanceId
  @RoInstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



7957
7958
7959
7960
# File 'lib/v20170320/models.rb', line 7957

def deserialize(params)
  @RoInstanceId = params['RoInstanceId']
  @MasterInstanceId = params['MasterInstanceId']
end