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.
9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 |
# File 'lib/v20170320/models.rb', line 9963 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
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def DeviceType @DeviceType end |
#ExClusterId ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def ExClusterId @ExClusterId end |
#ExClusterName ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def ExClusterName @ExClusterName end |
#InstanceId ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def InstanceId @InstanceId end |
#InstanceName ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def InstanceName @InstanceName end |
#InstanceType ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def InstanceType @InstanceType end |
#Memory ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def Memory @Memory end |
#Qps ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def Qps @Qps end |
#Region ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def Region @Region end |
#RegionId ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def RegionId @RegionId end |
#ResourceId ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def ResourceId @ResourceId end |
#Status ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def Status @Status end |
#SubnetId ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def SubnetId @SubnetId end |
#TaskStatus ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def TaskStatus @TaskStatus end |
#Volume ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def Volume @Volume end |
#VpcId ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def VpcId @VpcId end |
#Zone ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def Zone @Zone end |
#ZoneId ⇒ Object
9961 9962 9963 |
# File 'lib/v20170320/models.rb', line 9961 def ZoneId @ZoneId end |
Instance Method Details
#deserialize(params) ⇒ Object
9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 |
# File 'lib/v20170320/models.rb', line 9984 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 |