Class: TencentCloud::Dbdc::V20201029::InstanceExpand
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbdc::V20201029::InstanceExpand
- Defined in:
- lib/v20201029/models.rb
Overview
集群扩展信息。
Instance Attribute Summary collapse
- #AppId ⇒ Object
- #AutoRenewFlag ⇒ Object
- #CreateTime ⇒ Object
- #InstanceDetail ⇒ Object
- #InstanceId ⇒ Object
- #InstanceName ⇒ Object
- #InstanceStatus ⇒ Object
- #InstanceType ⇒ Object
- #Machine ⇒ Object
- #PeriodEndTime ⇒ Object
- #Pid ⇒ Object
- #Region ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, instancename = nil, appid = nil, region = nil, zone = nil, instancetype = nil, instancestatus = nil, createtime = nil, autorenewflag = nil, machine = nil, periodendtime = nil, instancedetail = nil, pid = nil) ⇒ InstanceExpand
constructor
A new instance of InstanceExpand.
Constructor Details
#initialize(instanceid = nil, instancename = nil, appid = nil, region = nil, zone = nil, instancetype = nil, instancestatus = nil, createtime = nil, autorenewflag = nil, machine = nil, periodendtime = nil, instancedetail = nil, pid = nil) ⇒ InstanceExpand
Returns a new instance of InstanceExpand.
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 |
# File 'lib/v20201029/models.rb', line 997 def initialize(instanceid=nil, instancename=nil, appid=nil, region=nil, zone=nil, instancetype=nil, instancestatus=nil, createtime=nil, autorenewflag=nil, machine=nil, periodendtime=nil, instancedetail=nil, pid=nil) @InstanceId = instanceid @InstanceName = instancename @AppId = appid @Region = region @Zone = zone @InstanceType = instancetype @InstanceStatus = instancestatus @CreateTime = createtime @AutoRenewFlag = autorenewflag @Machine = machine @PeriodEndTime = periodendtime @InstanceDetail = instancedetail @Pid = pid end |
Instance Attribute Details
#AppId ⇒ Object
995 996 997 |
# File 'lib/v20201029/models.rb', line 995 def AppId @AppId end |
#AutoRenewFlag ⇒ Object
995 996 997 |
# File 'lib/v20201029/models.rb', line 995 def AutoRenewFlag @AutoRenewFlag end |
#CreateTime ⇒ Object
995 996 997 |
# File 'lib/v20201029/models.rb', line 995 def CreateTime @CreateTime end |
#InstanceDetail ⇒ Object
995 996 997 |
# File 'lib/v20201029/models.rb', line 995 def InstanceDetail @InstanceDetail end |
#InstanceId ⇒ Object
995 996 997 |
# File 'lib/v20201029/models.rb', line 995 def InstanceId @InstanceId end |
#InstanceName ⇒ Object
995 996 997 |
# File 'lib/v20201029/models.rb', line 995 def InstanceName @InstanceName end |
#InstanceStatus ⇒ Object
995 996 997 |
# File 'lib/v20201029/models.rb', line 995 def InstanceStatus @InstanceStatus end |
#InstanceType ⇒ Object
995 996 997 |
# File 'lib/v20201029/models.rb', line 995 def InstanceType @InstanceType end |
#Machine ⇒ Object
995 996 997 |
# File 'lib/v20201029/models.rb', line 995 def Machine @Machine end |
#PeriodEndTime ⇒ Object
995 996 997 |
# File 'lib/v20201029/models.rb', line 995 def PeriodEndTime @PeriodEndTime end |
#Pid ⇒ Object
995 996 997 |
# File 'lib/v20201029/models.rb', line 995 def Pid @Pid end |
#Region ⇒ Object
995 996 997 |
# File 'lib/v20201029/models.rb', line 995 def Region @Region end |
#Zone ⇒ Object
995 996 997 |
# File 'lib/v20201029/models.rb', line 995 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 |
# File 'lib/v20201029/models.rb', line 1013 def deserialize(params) @InstanceId = params['InstanceId'] @InstanceName = params['InstanceName'] @AppId = params['AppId'] @Region = params['Region'] @Zone = params['Zone'] @InstanceType = params['InstanceType'] @InstanceStatus = params['InstanceStatus'] @CreateTime = params['CreateTime'] @AutoRenewFlag = params['AutoRenewFlag'] @Machine = params['Machine'] @PeriodEndTime = params['PeriodEndTime'] unless params['InstanceDetail'].nil? @InstanceDetail = InstanceDetail.new @InstanceDetail.deserialize(params['InstanceDetail']) end @Pid = params['Pid'] end |