Class: TencentCloud::Tke::V20180525::PodLimitsInstance
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::PodLimitsInstance
- Defined in:
- lib/v20180525/models.rb
Overview
机型信息和其可支持的最大VPC-CNI模式Pod数量信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, instancefamily = nil, instancetype = nil, podlimits = nil) ⇒ PodLimitsInstance
constructor
A new instance of PodLimitsInstance.
Constructor Details
#initialize(zone = nil, instancefamily = nil, instancetype = nil, podlimits = nil) ⇒ PodLimitsInstance
Returns a new instance of PodLimitsInstance.
16901 16902 16903 16904 16905 16906 |
# File 'lib/v20180525/models.rb', line 16901 def initialize(zone=nil, instancefamily=nil, instancetype=nil, podlimits=nil) @Zone = zone @InstanceFamily = instancefamily @InstanceType = instancetype @PodLimits = podlimits end |
Instance Attribute Details
#InstanceFamily ⇒ Object
16899 16900 16901 |
# File 'lib/v20180525/models.rb', line 16899 def InstanceFamily @InstanceFamily end |
#InstanceType ⇒ Object
16899 16900 16901 |
# File 'lib/v20180525/models.rb', line 16899 def InstanceType @InstanceType end |
#PodLimits ⇒ Object
16899 16900 16901 |
# File 'lib/v20180525/models.rb', line 16899 def PodLimits @PodLimits end |
#Zone ⇒ Object
16899 16900 16901 |
# File 'lib/v20180525/models.rb', line 16899 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
16908 16909 16910 16911 16912 16913 16914 16915 16916 |
# File 'lib/v20180525/models.rb', line 16908 def deserialize(params) @Zone = params['Zone'] @InstanceFamily = params['InstanceFamily'] @InstanceType = params['InstanceType'] unless params['PodLimits'].nil? @PodLimits = PodLimitsByType.new @PodLimits.deserialize(params['PodLimits']) end end |