Class: TencentCloud::Clb::V20180317::SpecAvailability

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

Overview

规格可用性

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(spectype = nil, availability = nil) ⇒ SpecAvailability

Returns a new instance of SpecAvailability.



8234
8235
8236
8237
# File 'lib/v20180317/models.rb', line 8234

def initialize(spectype=nil, availability=nil)
  @SpecType = spectype
  @Availability = availability
end

Instance Attribute Details

#AvailabilityObject

<li>clb.c2.medium(标准型)</li><li>clb.c3.small(高阶型1)</li><li>clb.c3.medium(高阶型2)</li> <li>clb.c4.small(超强型1)</li><li>clb.c4.medium(超强型2)</li><li>clb.c4.large(超强型3)</li><li>clb.c4.xlarge(超强型4)</li><li>shared(共享型)</li>

Parameters:

  • SpecType:

    规格类型。

  • Availability:

    规格可用性。资源可用性,“Available”:可用,“Unavailable”:不可用



8232
8233
8234
# File 'lib/v20180317/models.rb', line 8232

def Availability
  @Availability
end

#SpecTypeObject

<li>clb.c2.medium(标准型)</li><li>clb.c3.small(高阶型1)</li><li>clb.c3.medium(高阶型2)</li> <li>clb.c4.small(超强型1)</li><li>clb.c4.medium(超强型2)</li><li>clb.c4.large(超强型3)</li><li>clb.c4.xlarge(超强型4)</li><li>shared(共享型)</li>

Parameters:

  • SpecType:

    规格类型。

  • Availability:

    规格可用性。资源可用性,“Available”:可用,“Unavailable”:不可用



8232
8233
8234
# File 'lib/v20180317/models.rb', line 8232

def SpecType
  @SpecType
end

Instance Method Details

#deserialize(params) ⇒ Object



8239
8240
8241
8242
# File 'lib/v20180317/models.rb', line 8239

def deserialize(params)
  @SpecType = params['SpecType']
  @Availability = params['Availability']
end