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.
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
#Cpu ⇒ Object
9857 9858 9859 |
# File 'lib/v20170320/models.rb', line 9857 def Cpu @Cpu end |
#DeviceType ⇒ Object
9857 9858 9859 |
# File 'lib/v20170320/models.rb', line 9857 def DeviceType @DeviceType end |
#DiskType ⇒ Object
9857 9858 9859 |
# File 'lib/v20170320/models.rb', line 9857 def DiskType @DiskType end |
#Memory ⇒ Object
9857 9858 9859 |
# File 'lib/v20170320/models.rb', line 9857 def Memory @Memory end |
#RoGroupId ⇒ Object
9857 9858 9859 |
# File 'lib/v20170320/models.rb', line 9857 def RoGroupId @RoGroupId end |
#RoInstanceId ⇒ Object
9857 9858 9859 |
# File 'lib/v20170320/models.rb', line 9857 def RoInstanceId @RoInstanceId end |
#SrcAlarmPolicyList ⇒ Object
9857 9858 9859 |
# File 'lib/v20170320/models.rb', line 9857 def SrcAlarmPolicyList @SrcAlarmPolicyList end |
#Volume ⇒ Object
9857 9858 9859 |
# File 'lib/v20170320/models.rb', line 9857 def Volume @Volume end |
#Zone ⇒ Object
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 |