Class: TencentCloud::Cvm::V20170312::SpotPaidQuota

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/models.rb

Overview

竞价实例配额

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(usedquota = nil, remainingquota = nil, totalquota = nil, zone = nil) ⇒ SpotPaidQuota

Returns a new instance of SpotPaidQuota.



8400
8401
8402
8403
8404
8405
# File 'lib/v20170312/models.rb', line 8400

def initialize(usedquota=nil, remainingquota=nil, totalquota=nil, zone=nil)
  @UsedQuota = usedquota
  @RemainingQuota = remainingquota
  @TotalQuota = totalquota
  @Zone = zone
end

Instance Attribute Details

#RemainingQuotaObject

Parameters:

  • UsedQuota:

    已使用配额,单位:vCPU核心数

  • RemainingQuota:

    剩余配额,单位:vCPU核心数

  • TotalQuota:

    总配额,单位:vCPU核心数

  • Zone:

    可用区



8398
8399
8400
# File 'lib/v20170312/models.rb', line 8398

def RemainingQuota
  @RemainingQuota
end

#TotalQuotaObject

Parameters:

  • UsedQuota:

    已使用配额,单位:vCPU核心数

  • RemainingQuota:

    剩余配额,单位:vCPU核心数

  • TotalQuota:

    总配额,单位:vCPU核心数

  • Zone:

    可用区



8398
8399
8400
# File 'lib/v20170312/models.rb', line 8398

def TotalQuota
  @TotalQuota
end

#UsedQuotaObject

Parameters:

  • UsedQuota:

    已使用配额,单位:vCPU核心数

  • RemainingQuota:

    剩余配额,单位:vCPU核心数

  • TotalQuota:

    总配额,单位:vCPU核心数

  • Zone:

    可用区



8398
8399
8400
# File 'lib/v20170312/models.rb', line 8398

def UsedQuota
  @UsedQuota
end

#ZoneObject

Parameters:

  • UsedQuota:

    已使用配额,单位:vCPU核心数

  • RemainingQuota:

    剩余配额,单位:vCPU核心数

  • TotalQuota:

    总配额,单位:vCPU核心数

  • Zone:

    可用区



8398
8399
8400
# File 'lib/v20170312/models.rb', line 8398

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



8407
8408
8409
8410
8411
8412
# File 'lib/v20170312/models.rb', line 8407

def deserialize(params)
  @UsedQuota = params['UsedQuota']
  @RemainingQuota = params['RemainingQuota']
  @TotalQuota = params['TotalQuota']
  @Zone = params['Zone']
end