Class: TencentCloud::Cdwch::V20200915::CNResource
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdwch::V20200915::CNResource
- Defined in:
- lib/v20200915/models.rb
Overview
资源信息
Instance Attribute Summary collapse
- #AppID ⇒ Object
- #Component ⇒ Object
- #CPU ⇒ Object
- #CreateTime ⇒ Object
- #DeployMode ⇒ Object
- #Details ⇒ Object
- #ExpireTime ⇒ Object
- #ID ⇒ Object
- #InstanceID ⇒ Object
- #IP ⇒ Object
- #Memory ⇒ Object
- #ModifyTime ⇒ Object
- #Region ⇒ Object
- #ResourceID ⇒ Object
- #SpecName ⇒ Object
- #Status ⇒ Object
- #Storage ⇒ Object
- #Uin ⇒ Object
- #UUID ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(id = nil, instanceid = nil, appid = nil, uin = nil, component = nil, deploymode = nil, specname = nil, resourceid = nil, status = nil, ip = nil, cpu = nil, memory = nil, storage = nil, uuid = nil, region = nil, zone = nil, details = nil, createtime = nil, modifytime = nil, expiretime = nil) ⇒ CNResource
constructor
A new instance of CNResource.
Constructor Details
#initialize(id = nil, instanceid = nil, appid = nil, uin = nil, component = nil, deploymode = nil, specname = nil, resourceid = nil, status = nil, ip = nil, cpu = nil, memory = nil, storage = nil, uuid = nil, region = nil, zone = nil, details = nil, createtime = nil, modifytime = nil, expiretime = nil) ⇒ CNResource
Returns a new instance of CNResource.
225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 |
# File 'lib/v20200915/models.rb', line 225 def initialize(id=nil, instanceid=nil, appid=nil, uin=nil, component=nil, deploymode=nil, specname=nil, resourceid=nil, status=nil, ip=nil, cpu=nil, memory=nil, storage=nil, uuid=nil, region=nil, zone=nil, details=nil, createtime=nil, modifytime=nil, expiretime=nil) @ID = id @InstanceID = instanceid @AppID = appid @Uin = uin @Component = component @DeployMode = deploymode @SpecName = specname @ResourceID = resourceid @Status = status @IP = ip @CPU = cpu @Memory = memory @Storage = storage @UUID = uuid @Region = region @Zone = zone @Details = details @CreateTime = createtime @ModifyTime = modifytime @ExpireTime = expiretime end |
Instance Attribute Details
#AppID ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def AppID @AppID end |
#Component ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def Component @Component end |
#CPU ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def CPU @CPU end |
#CreateTime ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def CreateTime @CreateTime end |
#DeployMode ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def DeployMode @DeployMode end |
#Details ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def Details @Details end |
#ExpireTime ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def ExpireTime @ExpireTime end |
#ID ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def ID @ID end |
#InstanceID ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def InstanceID @InstanceID end |
#IP ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def IP @IP end |
#Memory ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def Memory @Memory end |
#ModifyTime ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def ModifyTime @ModifyTime end |
#Region ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def Region @Region end |
#ResourceID ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def ResourceID @ResourceID end |
#SpecName ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def SpecName @SpecName end |
#Status ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def Status @Status end |
#Storage ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def Storage @Storage end |
#Uin ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def Uin @Uin end |
#UUID ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def UUID @UUID end |
#Zone ⇒ Object
223 224 225 |
# File 'lib/v20200915/models.rb', line 223 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 |
# File 'lib/v20200915/models.rb', line 248 def deserialize(params) @ID = params['ID'] @InstanceID = params['InstanceID'] @AppID = params['AppID'] @Uin = params['Uin'] @Component = params['Component'] @DeployMode = params['DeployMode'] @SpecName = params['SpecName'] @ResourceID = params['ResourceID'] @Status = params['Status'] @IP = params['IP'] @CPU = params['CPU'] @Memory = params['Memory'] @Storage = params['Storage'] @UUID = params['UUID'] @Region = params['Region'] @Zone = params['Zone'] @Details = params['Details'] @CreateTime = params['CreateTime'] @ModifyTime = params['ModifyTime'] @ExpireTime = params['ExpireTime'] end |