Class: TencentCloud::Tdcpg::V20211118::Instance
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdcpg::V20211118::Instance
- Defined in:
- lib/v20211118/models.rb
Overview
集群下的实例信息
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
同一集群下付费模式需要保持一致。.
-
#CPU ⇒ Object
同一集群下付费模式需要保持一致。.
-
#CreateTime ⇒ Object
同一集群下付费模式需要保持一致。.
-
#DBKernelVersion ⇒ Object
同一集群下付费模式需要保持一致。.
-
#DBMajorVersion ⇒ Object
同一集群下付费模式需要保持一致。.
-
#DBVersion ⇒ Object
同一集群下付费模式需要保持一致。.
-
#EndpointId ⇒ Object
同一集群下付费模式需要保持一致。.
-
#InstanceId ⇒ Object
同一集群下付费模式需要保持一致。.
-
#InstanceName ⇒ Object
同一集群下付费模式需要保持一致。.
-
#InstanceType ⇒ Object
同一集群下付费模式需要保持一致。.
-
#Memory ⇒ Object
同一集群下付费模式需要保持一致。.
-
#PayMode ⇒ Object
同一集群下付费模式需要保持一致。.
-
#PayPeriodEndTime ⇒ Object
同一集群下付费模式需要保持一致。.
-
#Region ⇒ Object
同一集群下付费模式需要保持一致。.
-
#Status ⇒ Object
同一集群下付费模式需要保持一致。.
-
#StatusDesc ⇒ Object
同一集群下付费模式需要保持一致。.
-
#Zone ⇒ Object
同一集群下付费模式需要保持一致。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, instancename = nil, clusterid = nil, endpointid = nil, region = nil, zone = nil, dbversion = nil, status = nil, statusdesc = nil, createtime = nil, paymode = nil, payperiodendtime = nil, cpu = nil, memory = nil, instancetype = nil, dbmajorversion = nil, dbkernelversion = nil) ⇒ Instance
constructor
A new instance of Instance.
Constructor Details
#initialize(instanceid = nil, instancename = nil, clusterid = nil, endpointid = nil, region = nil, zone = nil, dbversion = nil, status = nil, statusdesc = nil, createtime = nil, paymode = nil, payperiodendtime = nil, cpu = nil, memory = nil, instancetype = nil, dbmajorversion = nil, dbkernelversion = nil) ⇒ Instance
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 |
# File 'lib/v20211118/models.rb', line 1099 def initialize(instanceid=nil, instancename=nil, clusterid=nil, endpointid=nil, region=nil, zone=nil, dbversion=nil, status=nil, statusdesc=nil, createtime=nil, paymode=nil, payperiodendtime=nil, cpu=nil, memory=nil, instancetype=nil, dbmajorversion=nil, dbkernelversion=nil) @InstanceId = instanceid @InstanceName = instancename @ClusterId = clusterid @EndpointId = endpointid @Region = region @Zone = zone @DBVersion = dbversion @Status = status @StatusDesc = statusdesc @CreateTime = createtime @PayMode = paymode @PayPeriodEndTime = payperiodendtime @CPU = cpu @Memory = memory @InstanceType = instancetype @DBMajorVersion = dbmajorversion @DBKernelVersion = dbkernelversion end |
Instance Attribute Details
#ClusterId ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def ClusterId @ClusterId end |
#CPU ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def CPU @CPU end |
#CreateTime ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def CreateTime @CreateTime end |
#DBKernelVersion ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def DBKernelVersion @DBKernelVersion end |
#DBMajorVersion ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def DBMajorVersion @DBMajorVersion end |
#DBVersion ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def DBVersion @DBVersion end |
#EndpointId ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def EndpointId @EndpointId end |
#InstanceId ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def InstanceId @InstanceId end |
#InstanceName ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def InstanceName @InstanceName end |
#InstanceType ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def InstanceType @InstanceType end |
#Memory ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def Memory @Memory end |
#PayMode ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def PayMode @PayMode end |
#PayPeriodEndTime ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def PayPeriodEndTime @PayPeriodEndTime end |
#Region ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def Region @Region end |
#Status ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def Status @Status end |
#StatusDesc ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def StatusDesc @StatusDesc end |
#Zone ⇒ Object
同一集群下付费模式需要保持一致。
1097 1098 1099 |
# File 'lib/v20211118/models.rb', line 1097 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 |
# File 'lib/v20211118/models.rb', line 1119 def deserialize(params) @InstanceId = params['InstanceId'] @InstanceName = params['InstanceName'] @ClusterId = params['ClusterId'] @EndpointId = params['EndpointId'] @Region = params['Region'] @Zone = params['Zone'] @DBVersion = params['DBVersion'] @Status = params['Status'] @StatusDesc = params['StatusDesc'] @CreateTime = params['CreateTime'] @PayMode = params['PayMode'] @PayPeriodEndTime = params['PayPeriodEndTime'] @CPU = params['CPU'] @Memory = params['Memory'] @InstanceType = params['InstanceType'] @DBMajorVersion = params['DBMajorVersion'] @DBKernelVersion = params['DBKernelVersion'] end |