Class: TencentCloud::Cdb::V20170320::MigrateClusterRoInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::MigrateClusterRoInfo
- Defined in:
- lib/v20170320/models.rb
Overview
一键迁移云盘版只读实例信息
Instance Attribute Summary collapse
- #Cpu ⇒ Object
- #DeviceType ⇒ Object
- #DiskType ⇒ Object
- #Memory ⇒ Object
- #RoGroupId ⇒ Object
- #RoInstanceId ⇒ Object
- #SrcAlarmPolicyList ⇒ Object
- #Volume ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(roinstanceid = nil, cpu = nil, memory = nil, volume = nil, disktype = nil, zone = nil, devicetype = nil, rogroupid = nil, srcalarmpolicylist = nil) ⇒ MigrateClusterRoInfo
constructor
A new instance of MigrateClusterRoInfo.
Constructor Details
#initialize(roinstanceid = nil, cpu = nil, memory = nil, volume = nil, disktype = nil, zone = nil, devicetype = nil, rogroupid = nil, srcalarmpolicylist = nil) ⇒ MigrateClusterRoInfo
Returns a new instance of MigrateClusterRoInfo.
10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 |
# File 'lib/v20170320/models.rb', line 10044 def initialize(roinstanceid=nil, cpu=nil, memory=nil, volume=nil, disktype=nil, zone=nil, devicetype=nil, rogroupid=nil, srcalarmpolicylist=nil) @RoInstanceId = roinstanceid @Cpu = cpu @Memory = memory @Volume = volume @DiskType = disktype @Zone = zone @DeviceType = devicetype @RoGroupId = rogroupid @SrcAlarmPolicyList = srcalarmpolicylist end |
Instance Attribute Details
#Cpu ⇒ Object
10042 10043 10044 |
# File 'lib/v20170320/models.rb', line 10042 def Cpu @Cpu end |
#DeviceType ⇒ Object
10042 10043 10044 |
# File 'lib/v20170320/models.rb', line 10042 def DeviceType @DeviceType end |
#DiskType ⇒ Object
10042 10043 10044 |
# File 'lib/v20170320/models.rb', line 10042 def DiskType @DiskType end |
#Memory ⇒ Object
10042 10043 10044 |
# File 'lib/v20170320/models.rb', line 10042 def Memory @Memory end |
#RoGroupId ⇒ Object
10042 10043 10044 |
# File 'lib/v20170320/models.rb', line 10042 def RoGroupId @RoGroupId end |
#RoInstanceId ⇒ Object
10042 10043 10044 |
# File 'lib/v20170320/models.rb', line 10042 def RoInstanceId @RoInstanceId end |
#SrcAlarmPolicyList ⇒ Object
10042 10043 10044 |
# File 'lib/v20170320/models.rb', line 10042 def SrcAlarmPolicyList @SrcAlarmPolicyList end |
#Volume ⇒ Object
10042 10043 10044 |
# File 'lib/v20170320/models.rb', line 10042 def Volume @Volume end |
#Zone ⇒ Object
10042 10043 10044 |
# File 'lib/v20170320/models.rb', line 10042 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 |
# File 'lib/v20170320/models.rb', line 10056 def deserialize(params) @RoInstanceId = params['RoInstanceId'] @Cpu = params['Cpu'] @Memory = params['Memory'] @Volume = params['Volume'] @DiskType = params['DiskType'] @Zone = params['Zone'] @DeviceType = params['DeviceType'] @RoGroupId = params['RoGroupId'] @SrcAlarmPolicyList = params['SrcAlarmPolicyList'] end |