Class: TencentCloud::Tke::V20180525::PodLimitsInstance

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

Overview

机型信息和其可支持的最大VPC-CNI模式Pod数量信息

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#InstanceFamilyObject

Parameters:

  • Zone:

    机型所在可用区

  • InstanceFamily:

    机型所属机型族

  • InstanceType:

    实例机型名称

  • PodLimits:

    机型可支持的最大VPC-CNI模式Pod数量信息



16899
16900
16901
# File 'lib/v20180525/models.rb', line 16899

def InstanceFamily
  @InstanceFamily
end

#InstanceTypeObject

Parameters:

  • Zone:

    机型所在可用区

  • InstanceFamily:

    机型所属机型族

  • InstanceType:

    实例机型名称

  • PodLimits:

    机型可支持的最大VPC-CNI模式Pod数量信息



16899
16900
16901
# File 'lib/v20180525/models.rb', line 16899

def InstanceType
  @InstanceType
end

#PodLimitsObject

Parameters:

  • Zone:

    机型所在可用区

  • InstanceFamily:

    机型所属机型族

  • InstanceType:

    实例机型名称

  • PodLimits:

    机型可支持的最大VPC-CNI模式Pod数量信息



16899
16900
16901
# File 'lib/v20180525/models.rb', line 16899

def PodLimits
  @PodLimits
end

#ZoneObject

Parameters:

  • Zone:

    机型所在可用区

  • InstanceFamily:

    机型所属机型族

  • InstanceType:

    实例机型名称

  • PodLimits:

    机型可支持的最大VPC-CNI模式Pod数量信息



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