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.
9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 |
# File 'lib/v20170320/models.rb', line 9928 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
9926 9927 9928 |
# File 'lib/v20170320/models.rb', line 9926 def Cpu @Cpu end |
#DeviceType ⇒ Object
9926 9927 9928 |
# File 'lib/v20170320/models.rb', line 9926 def DeviceType @DeviceType end |
#DiskType ⇒ Object
9926 9927 9928 |
# File 'lib/v20170320/models.rb', line 9926 def DiskType @DiskType end |
#Memory ⇒ Object
9926 9927 9928 |
# File 'lib/v20170320/models.rb', line 9926 def Memory @Memory end |
#RoGroupId ⇒ Object
9926 9927 9928 |
# File 'lib/v20170320/models.rb', line 9926 def RoGroupId @RoGroupId end |
#RoInstanceId ⇒ Object
9926 9927 9928 |
# File 'lib/v20170320/models.rb', line 9926 def RoInstanceId @RoInstanceId end |
#SrcAlarmPolicyList ⇒ Object
9926 9927 9928 |
# File 'lib/v20170320/models.rb', line 9926 def SrcAlarmPolicyList @SrcAlarmPolicyList end |
#Volume ⇒ Object
9926 9927 9928 |
# File 'lib/v20170320/models.rb', line 9926 def Volume @Volume end |
#Zone ⇒ Object
9926 9927 9928 |
# File 'lib/v20170320/models.rb', line 9926 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 |
# File 'lib/v20170320/models.rb', line 9940 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 |