Class: TencentCloud::Tke::V20180525::AddClusterCIDRRequest

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

Overview

AddClusterCIDR请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, clustercidrs = nil, ignoreclustercidrconflict = nil) ⇒ AddClusterCIDRRequest

Returns a new instance of AddClusterCIDRRequest.



63
64
65
66
67
# File 'lib/v20180525/models.rb', line 63

def initialize(clusterid=nil, clustercidrs=nil, ignoreclustercidrconflict=nil)
  @ClusterId = clusterid
  @ClusterCIDRs = clustercidrs
  @IgnoreClusterCIDRConflict = ignoreclustercidrconflict
end

Instance Attribute Details

#ClusterCIDRsObject

Parameters:

  • ClusterId:

    集群ID

  • ClusterCIDRs:

    增加的ClusterCIDR

  • IgnoreClusterCIDRConflict:

    是否忽略ClusterCIDR与VPC路由表的冲突



61
62
63
# File 'lib/v20180525/models.rb', line 61

def ClusterCIDRs
  @ClusterCIDRs
end

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • ClusterCIDRs:

    增加的ClusterCIDR

  • IgnoreClusterCIDRConflict:

    是否忽略ClusterCIDR与VPC路由表的冲突



61
62
63
# File 'lib/v20180525/models.rb', line 61

def ClusterId
  @ClusterId
end

#IgnoreClusterCIDRConflictObject

Parameters:

  • ClusterId:

    集群ID

  • ClusterCIDRs:

    增加的ClusterCIDR

  • IgnoreClusterCIDRConflict:

    是否忽略ClusterCIDR与VPC路由表的冲突



61
62
63
# File 'lib/v20180525/models.rb', line 61

def IgnoreClusterCIDRConflict
  @IgnoreClusterCIDRConflict
end

Instance Method Details

#deserialize(params) ⇒ Object



69
70
71
72
73
# File 'lib/v20180525/models.rb', line 69

def deserialize(params)
  @ClusterId = params['ClusterId']
  @ClusterCIDRs = params['ClusterCIDRs']
  @IgnoreClusterCIDRConflict = params['IgnoreClusterCIDRConflict']
end