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.



8304
8305
8306
8307
8308
8309
# File 'lib/v20170312/models.rb', line 8304

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

Instance Attribute Details

#RemainingQuota ⇒ Object

Parameters:

  • UsedQuota: —

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

  • RemainingQuota: —

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

  • TotalQuota: —

    总配额,单位:vCPU核心数

  • Zone: —

    可用区



8302
8303
8304
# File 'lib/v20170312/models.rb', line 8302

def RemainingQuota
  @RemainingQuota
end

#TotalQuota ⇒ Object

Parameters:

  • UsedQuota: —

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

  • RemainingQuota: —

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

  • TotalQuota: —

    总配额,单位:vCPU核心数

  • Zone: —

    可用区



8302
8303
8304
# File 'lib/v20170312/models.rb', line 8302

def TotalQuota
  @TotalQuota
end

#UsedQuota ⇒ Object

Parameters:

  • UsedQuota: —

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

  • RemainingQuota: —

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

  • TotalQuota: —

    总配额,单位:vCPU核心数

  • Zone: —

    可用区



8302
8303
8304
# File 'lib/v20170312/models.rb', line 8302

def UsedQuota
  @UsedQuota
end

#Zone ⇒ Object

Parameters:

  • UsedQuota: —

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

  • RemainingQuota: —

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

  • TotalQuota: —

    总配额,单位:vCPU核心数

  • Zone: —

    可用区



8302
8303
8304
# File 'lib/v20170312/models.rb', line 8302

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



8311
8312
8313
8314
8315
8316
# File 'lib/v20170312/models.rb', line 8311

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