Class: TencentCloud::Tke::V20180525::AddVpcCniSubnetsRequest

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

Overview

AddVpcCniSubnets请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, subnetids = nil, vpcid = nil, skipaddingnonmasqueradecidrs = nil) ⇒ AddVpcCniSubnetsRequest

Returns a new instance of AddVpcCniSubnetsRequest.



256
257
258
259
260
261
# File 'lib/v20180525/models.rb', line 256

def initialize(clusterid=nil, subnetids=nil, vpcid=nil, skipaddingnonmasqueradecidrs=nil)
  @ClusterId = clusterid
  @SubnetIds = subnetids
  @VpcId = vpcid
  @SkipAddingNonMasqueradeCIDRs = skipaddingnonmasqueradecidrs
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • SubnetIds:

    为集群容器网络增加的子网列表

  • VpcId:

    集群所属的VPC的ID

  • SkipAddingNonMasqueradeCIDRs:

    是否同步添加 vpc 网段到 ip-masq-agent-config 的 NonMasqueradeCIDRs 字段,默认 false 会同步添加



254
255
256
# File 'lib/v20180525/models.rb', line 254

def ClusterId
  @ClusterId
end

#SkipAddingNonMasqueradeCIDRsObject

Parameters:

  • ClusterId:

    集群ID

  • SubnetIds:

    为集群容器网络增加的子网列表

  • VpcId:

    集群所属的VPC的ID

  • SkipAddingNonMasqueradeCIDRs:

    是否同步添加 vpc 网段到 ip-masq-agent-config 的 NonMasqueradeCIDRs 字段,默认 false 会同步添加



254
255
256
# File 'lib/v20180525/models.rb', line 254

def SkipAddingNonMasqueradeCIDRs
  @SkipAddingNonMasqueradeCIDRs
end

#SubnetIdsObject

Parameters:

  • ClusterId:

    集群ID

  • SubnetIds:

    为集群容器网络增加的子网列表

  • VpcId:

    集群所属的VPC的ID

  • SkipAddingNonMasqueradeCIDRs:

    是否同步添加 vpc 网段到 ip-masq-agent-config 的 NonMasqueradeCIDRs 字段,默认 false 会同步添加



254
255
256
# File 'lib/v20180525/models.rb', line 254

def SubnetIds
  @SubnetIds
end

#VpcIdObject

Parameters:

  • ClusterId:

    集群ID

  • SubnetIds:

    为集群容器网络增加的子网列表

  • VpcId:

    集群所属的VPC的ID

  • SkipAddingNonMasqueradeCIDRs:

    是否同步添加 vpc 网段到 ip-masq-agent-config 的 NonMasqueradeCIDRs 字段,默认 false 会同步添加



254
255
256
# File 'lib/v20180525/models.rb', line 254

def VpcId
  @VpcId
end

Instance Method Details

#deserialize(params) ⇒ Object



263
264
265
266
267
268
# File 'lib/v20180525/models.rb', line 263

def deserialize(params)
  @ClusterId = params['ClusterId']
  @SubnetIds = params['SubnetIds']
  @VpcId = params['VpcId']
  @SkipAddingNonMasqueradeCIDRs = params['SkipAddingNonMasqueradeCIDRs']
end