Class: TencentCloud::Clb::V20180317::SpecAvailability
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::SpecAvailability
- Defined in:
- lib/v20180317/models.rb
Overview
规格可用性
Instance Attribute Summary collapse
-
#Availability ⇒ Object
<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>.
-
#SpecType ⇒ Object
<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>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(spectype = nil, availability = nil) ⇒ SpecAvailability
constructor
A new instance of SpecAvailability.
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
#Availability ⇒ Object
<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>
8232 8233 8234 |
# File 'lib/v20180317/models.rb', line 8232 def Availability @Availability end |
#SpecType ⇒ Object
<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>
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 |