lib/v20180411/models.rb in tencentcloud-sdk-dcdb-3.0.443 vs lib/v20180411/models.rb in tencentcloud-sdk-dcdb-3.0.444
- old
+ new
@@ -3222,10 +3222,42 @@
@InstanceIds = params['InstanceIds']
@RequestId = params['RequestId']
end
end
+ # IsolateDedicatedDBInstance请求参数结构体
+ class IsolateDedicatedDBInstanceRequest < TencentCloud::Common::AbstractModel
+ # @param InstanceId: 实例 Id,形如:dcdbt-ow728lmc。
+ # @type InstanceId: String
+
+ attr_accessor :InstanceId
+
+ def initialize(instanceid=nil)
+ @InstanceId = instanceid
+ end
+
+ def deserialize(params)
+ @InstanceId = params['InstanceId']
+ end
+ end
+
+ # IsolateDedicatedDBInstance返回参数结构体
+ class IsolateDedicatedDBInstanceResponse < TencentCloud::Common::AbstractModel
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
+ # @type RequestId: String
+
+ attr_accessor :RequestId
+
+ def initialize(requestid=nil)
+ @RequestId = requestid
+ end
+
+ def deserialize(params)
+ @RequestId = params['RequestId']
+ end
+ end
+
# IsolateHourDCDBInstance请求参数结构体
class IsolateHourDCDBInstanceRequest < TencentCloud::Common::AbstractModel
# @param InstanceIds: 实例uuid列表
# @type InstanceIds: Array
@@ -4766,22 +4798,26 @@
# @type Zone: String
# @param ZoneId: 可用区数字ID
# @type ZoneId: Integer
# @param ZoneName: 可用区中文名
# @type ZoneName: String
+ # @param OnSale: 是否在售
+ # @type OnSale: Boolean
- attr_accessor :Zone, :ZoneId, :ZoneName
+ attr_accessor :Zone, :ZoneId, :ZoneName, :OnSale
- def initialize(zone=nil, zoneid=nil, zonename=nil)
+ def initialize(zone=nil, zoneid=nil, zonename=nil, onsale=nil)
@Zone = zone
@ZoneId = zoneid
@ZoneName = zonename
+ @OnSale = onsale
end
def deserialize(params)
@Zone = params['Zone']
@ZoneId = params['ZoneId']
@ZoneName = params['ZoneName']
+ @OnSale = params['OnSale']
end
end
end
end