Class: TencentCloud::Cdb::V20170320::MasterInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::MasterInfo
- Defined in:
- lib/v20170320/models.rb
Overview
主实例信息
Instance Attribute Summary collapse
- #DeviceType ⇒ Object
- #ExClusterId ⇒ Object
- #ExClusterName ⇒ Object
- #InstanceId ⇒ Object
- #InstanceName ⇒ Object
- #InstanceType ⇒ Object
- #Memory ⇒ Object
- #Qps ⇒ Object
- #Region ⇒ Object
- #RegionId ⇒ Object
- #ResourceId ⇒ Object
- #Status ⇒ Object
- #SubnetId ⇒ Object
- #TaskStatus ⇒ Object
- #Volume ⇒ Object
- #VpcId ⇒ Object
- #Zone ⇒ Object
- #ZoneId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, regionid = nil, zoneid = nil, zone = nil, instanceid = nil, resourceid = nil, status = nil, instancename = nil, instancetype = nil, taskstatus = nil, memory = nil, volume = nil, devicetype = nil, qps = nil, vpcid = nil, subnetid = nil, exclusterid = nil, exclustername = nil) ⇒ MasterInfo
constructor
A new instance of MasterInfo.
Constructor Details
#initialize(region = nil, regionid = nil, zoneid = nil, zone = nil, instanceid = nil, resourceid = nil, status = nil, instancename = nil, instancetype = nil, taskstatus = nil, memory = nil, volume = nil, devicetype = nil, qps = nil, vpcid = nil, subnetid = nil, exclusterid = nil, exclustername = nil) ⇒ MasterInfo
Returns a new instance of MasterInfo.
9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 |
# File 'lib/v20170320/models.rb', line 9793 def initialize(region=nil, regionid=nil, zoneid=nil, zone=nil, instanceid=nil, resourceid=nil, status=nil, instancename=nil, instancetype=nil, taskstatus=nil, memory=nil, volume=nil, devicetype=nil, qps=nil, vpcid=nil, subnetid=nil, exclusterid=nil, exclustername=nil) @Region = region @RegionId = regionid @ZoneId = zoneid @Zone = zone @InstanceId = instanceid @ResourceId = resourceid @Status = status @InstanceName = instancename @InstanceType = instancetype @TaskStatus = taskstatus @Memory = memory @Volume = volume @DeviceType = devicetype @Qps = qps @VpcId = vpcid @SubnetId = subnetid @ExClusterId = exclusterid @ExClusterName = exclustername end |
Instance Attribute Details
#DeviceType ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def DeviceType @DeviceType end |
#ExClusterId ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def ExClusterId @ExClusterId end |
#ExClusterName ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def ExClusterName @ExClusterName end |
#InstanceId ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def InstanceId @InstanceId end |
#InstanceName ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def InstanceName @InstanceName end |
#InstanceType ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def InstanceType @InstanceType end |
#Memory ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def Memory @Memory end |
#Qps ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def Qps @Qps end |
#Region ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def Region @Region end |
#RegionId ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def RegionId @RegionId end |
#ResourceId ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def ResourceId @ResourceId end |
#Status ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def Status @Status end |
#SubnetId ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def SubnetId @SubnetId end |
#TaskStatus ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def TaskStatus @TaskStatus end |
#Volume ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def Volume @Volume end |
#VpcId ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def VpcId @VpcId end |
#Zone ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def Zone @Zone end |
#ZoneId ⇒ Object
9791 9792 9793 |
# File 'lib/v20170320/models.rb', line 9791 def ZoneId @ZoneId end |
Instance Method Details
#deserialize(params) ⇒ Object
9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 |
# File 'lib/v20170320/models.rb', line 9814 def deserialize(params) @Region = params['Region'] @RegionId = params['RegionId'] @ZoneId = params['ZoneId'] @Zone = params['Zone'] @InstanceId = params['InstanceId'] @ResourceId = params['ResourceId'] @Status = params['Status'] @InstanceName = params['InstanceName'] @InstanceType = params['InstanceType'] @TaskStatus = params['TaskStatus'] @Memory = params['Memory'] @Volume = params['Volume'] @DeviceType = params['DeviceType'] @Qps = params['Qps'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @ExClusterId = params['ExClusterId'] @ExClusterName = params['ExClusterName'] end |