Class: TencentCloud::Cdb::V20170320::MigrateClusterRoInfo

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

Overview

一键迁移集群版只读实例信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(roinstanceid = nil, cpu = nil, memory = nil, volume = nil, disktype = nil, zone = nil, devicetype = nil, rogroupid = nil, srcalarmpolicylist = nil) ⇒ MigrateClusterRoInfo



9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
# File 'lib/v20170320/models.rb', line 9859

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

#CpuObject



9857
9858
9859
# File 'lib/v20170320/models.rb', line 9857

def Cpu
  @Cpu
end

#DeviceTypeObject



9857
9858
9859
# File 'lib/v20170320/models.rb', line 9857

def DeviceType
  @DeviceType
end

#DiskTypeObject



9857
9858
9859
# File 'lib/v20170320/models.rb', line 9857

def DiskType
  @DiskType
end

#MemoryObject



9857
9858
9859
# File 'lib/v20170320/models.rb', line 9857

def Memory
  @Memory
end

#RoGroupIdObject



9857
9858
9859
# File 'lib/v20170320/models.rb', line 9857

def RoGroupId
  @RoGroupId
end

#RoInstanceIdObject



9857
9858
9859
# File 'lib/v20170320/models.rb', line 9857

def RoInstanceId
  @RoInstanceId
end

#SrcAlarmPolicyListObject



9857
9858
9859
# File 'lib/v20170320/models.rb', line 9857

def SrcAlarmPolicyList
  @SrcAlarmPolicyList
end

#VolumeObject



9857
9858
9859
# File 'lib/v20170320/models.rb', line 9857

def Volume
  @Volume
end

#ZoneObject



9857
9858
9859
# File 'lib/v20170320/models.rb', line 9857

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
# File 'lib/v20170320/models.rb', line 9871

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