Class: TencentCloud::Emr::V20190103::SLInstance
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Emr::V20190103::SLInstance
- Defined in:
- lib/v20190103/models.rb
Overview
Serverless Instance
Instance Attribute Summary collapse
- #AutoRenewFlag ⇒ Object
- #ClusterId ⇒ Object
- #CreateTime ⇒ Object
- #DeployRole ⇒ Object
- #DiskSize ⇒ Object
- #DiskType ⇒ Object
- #ExpireTime ⇒ Object
- #InstanceId ⇒ Object
- #InstanceName ⇒ Object
- #IsolateTime ⇒ Object
- #NodeNum ⇒ Object
- #NodeType ⇒ Object
- #PayMode ⇒ Object
- #RegionId ⇒ Object
- #Status ⇒ Object
- #Tags ⇒ Object
- #Zone ⇒ Object
- #ZoneSettings ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, clusterid = nil, instancename = nil, regionid = nil, zone = nil, paymode = nil, disktype = nil, disksize = nil, nodetype = nil, nodenum = nil, expiretime = nil, isolatetime = nil, createtime = nil, autorenewflag = nil, status = nil, zonesettings = nil, tags = nil, deployrole = nil) ⇒ SLInstance
constructor
A new instance of SLInstance.
Constructor Details
#initialize(instanceid = nil, clusterid = nil, instancename = nil, regionid = nil, zone = nil, paymode = nil, disktype = nil, disksize = nil, nodetype = nil, nodenum = nil, expiretime = nil, isolatetime = nil, createtime = nil, autorenewflag = nil, status = nil, zonesettings = nil, tags = nil, deployrole = nil) ⇒ SLInstance
Returns a new instance of SLInstance.
12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 |
# File 'lib/v20190103/models.rb', line 12388 def initialize(instanceid=nil, clusterid=nil, instancename=nil, regionid=nil, zone=nil, paymode=nil, disktype=nil, disksize=nil, nodetype=nil, nodenum=nil, expiretime=nil, isolatetime=nil, createtime=nil, autorenewflag=nil, status=nil, zonesettings=nil, =nil, deployrole=nil) @InstanceId = instanceid @ClusterId = clusterid @InstanceName = instancename @RegionId = regionid @Zone = zone @PayMode = paymode @DiskType = disktype @DiskSize = disksize @NodeType = nodetype @NodeNum = nodenum @ExpireTime = expiretime @IsolateTime = isolatetime @CreateTime = createtime @AutoRenewFlag = autorenewflag @Status = status @ZoneSettings = zonesettings @Tags = @DeployRole = deployrole end |
Instance Attribute Details
#AutoRenewFlag ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def AutoRenewFlag @AutoRenewFlag end |
#ClusterId ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def ClusterId @ClusterId end |
#CreateTime ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def CreateTime @CreateTime end |
#DeployRole ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def DeployRole @DeployRole end |
#DiskSize ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def DiskSize @DiskSize end |
#DiskType ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def DiskType @DiskType end |
#ExpireTime ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def ExpireTime @ExpireTime end |
#InstanceId ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def InstanceId @InstanceId end |
#InstanceName ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def InstanceName @InstanceName end |
#IsolateTime ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def IsolateTime @IsolateTime end |
#NodeNum ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def NodeNum @NodeNum end |
#NodeType ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def NodeType @NodeType end |
#PayMode ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def PayMode @PayMode end |
#RegionId ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def RegionId @RegionId end |
#Status ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def Status @Status end |
#Tags ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def Tags @Tags end |
#Zone ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def Zone @Zone end |
#ZoneSettings ⇒ Object
12386 12387 12388 |
# File 'lib/v20190103/models.rb', line 12386 def ZoneSettings @ZoneSettings end |
Instance Method Details
#deserialize(params) ⇒ Object
12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 |
# File 'lib/v20190103/models.rb', line 12409 def deserialize(params) @InstanceId = params['InstanceId'] @ClusterId = params['ClusterId'] @InstanceName = params['InstanceName'] @RegionId = params['RegionId'] @Zone = params['Zone'] @PayMode = params['PayMode'] @DiskType = params['DiskType'] @DiskSize = params['DiskSize'] @NodeType = params['NodeType'] @NodeNum = params['NodeNum'] @ExpireTime = params['ExpireTime'] @IsolateTime = params['IsolateTime'] @CreateTime = params['CreateTime'] @AutoRenewFlag = params['AutoRenewFlag'] @Status = params['Status'] unless params['ZoneSettings'].nil? @ZoneSettings = [] params['ZoneSettings'].each do |i| zonesetting_tmp = ZoneSetting.new zonesetting_tmp.deserialize(i) @ZoneSettings << zonesetting_tmp end end unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @DeployRole = params['DeployRole'] end |