Class: TencentCloud::Tke::V20180525::ReservedInstance
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ReservedInstance
- Defined in:
- lib/v20180525/models.rb
Overview
预留实例
Instance Attribute Summary collapse
- #ActiveAt ⇒ Object
- #AutoRenewFlag ⇒ Object
- #ClusterId ⇒ Object
- #Cpu ⇒ Object
- #CreatedAt ⇒ Object
- #DeductStatus ⇒ Object
- #ExpireAt ⇒ Object
- #GpuCount ⇒ Object
- #Memory ⇒ Object
- #NodeName ⇒ Object
- #ReservedInstanceId ⇒ Object
- #ReservedInstanceName ⇒ Object
- #ResourceType ⇒ Object
- #Scope ⇒ Object
- #Status ⇒ Object
- #TimeSpan ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(reservedinstanceid = nil, reservedinstancename = nil, status = nil, timespan = nil, resourcetype = nil, cpu = nil, memory = nil, scope = nil, createdat = nil, activeat = nil, expireat = nil, gpucount = nil, autorenewflag = nil, clusterid = nil, nodename = nil, deductstatus = nil) ⇒ ReservedInstance
constructor
A new instance of ReservedInstance.
Constructor Details
#initialize(reservedinstanceid = nil, reservedinstancename = nil, status = nil, timespan = nil, resourcetype = nil, cpu = nil, memory = nil, scope = nil, createdat = nil, activeat = nil, expireat = nil, gpucount = nil, autorenewflag = nil, clusterid = nil, nodename = nil, deductstatus = nil) ⇒ ReservedInstance
Returns a new instance of ReservedInstance.
17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 |
# File 'lib/v20180525/models.rb', line 17444 def initialize(reservedinstanceid=nil, reservedinstancename=nil, status=nil, timespan=nil, resourcetype=nil, cpu=nil, memory=nil, scope=nil, createdat=nil, activeat=nil, expireat=nil, gpucount=nil, autorenewflag=nil, clusterid=nil, nodename=nil, deductstatus=nil) @ReservedInstanceId = reservedinstanceid @ReservedInstanceName = reservedinstancename @Status = status @TimeSpan = timespan @ResourceType = resourcetype @Cpu = cpu @Memory = memory @Scope = scope @CreatedAt = createdat @ActiveAt = activeat @ExpireAt = expireat @GpuCount = gpucount @AutoRenewFlag = autorenewflag @ClusterId = clusterid @NodeName = nodename @DeductStatus = deductstatus end |
Instance Attribute Details
#ActiveAt ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def ActiveAt @ActiveAt end |
#AutoRenewFlag ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def AutoRenewFlag @AutoRenewFlag end |
#ClusterId ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def ClusterId @ClusterId end |
#Cpu ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def Cpu @Cpu end |
#CreatedAt ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def CreatedAt @CreatedAt end |
#DeductStatus ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def DeductStatus @DeductStatus end |
#ExpireAt ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def ExpireAt @ExpireAt end |
#GpuCount ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def GpuCount @GpuCount end |
#Memory ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def Memory @Memory end |
#NodeName ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def NodeName @NodeName end |
#ReservedInstanceId ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def ReservedInstanceId @ReservedInstanceId end |
#ReservedInstanceName ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def ReservedInstanceName @ReservedInstanceName end |
#ResourceType ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def ResourceType @ResourceType end |
#Scope ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def Scope @Scope end |
#Status ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def Status @Status end |
#TimeSpan ⇒ Object
17442 17443 17444 |
# File 'lib/v20180525/models.rb', line 17442 def TimeSpan @TimeSpan end |
Instance Method Details
#deserialize(params) ⇒ Object
17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 |
# File 'lib/v20180525/models.rb', line 17463 def deserialize(params) @ReservedInstanceId = params['ReservedInstanceId'] @ReservedInstanceName = params['ReservedInstanceName'] @Status = params['Status'] @TimeSpan = params['TimeSpan'] @ResourceType = params['ResourceType'] @Cpu = params['Cpu'] @Memory = params['Memory'] @Scope = params['Scope'] @CreatedAt = params['CreatedAt'] @ActiveAt = params['ActiveAt'] @ExpireAt = params['ExpireAt'] @GpuCount = params['GpuCount'] @AutoRenewFlag = params['AutoRenewFlag'] @ClusterId = params['ClusterId'] @NodeName = params['NodeName'] @DeductStatus = params['DeductStatus'] end |