Class: TencentCloud::Tke::V20180525::DescribeClusterKubeconfigRequest

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

Overview

DescribeClusterKubeconfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, isextranet = nil) ⇒ DescribeClusterKubeconfigRequest

Returns a new instance of DescribeClusterKubeconfigRequest.



5989
5990
5991
5992
# File 'lib/v20180525/models.rb', line 5989

def initialize(clusterid=nil, isextranet=nil)
  @ClusterId = clusterid
  @IsExtranet = isextranet
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • IsExtranet:

    默认false 获取内网,是否获取外网访问的kubeconfig



5987
5988
5989
# File 'lib/v20180525/models.rb', line 5987

def ClusterId
  @ClusterId
end

#IsExtranetObject

Parameters:

  • ClusterId:

    集群ID

  • IsExtranet:

    默认false 获取内网,是否获取外网访问的kubeconfig



5987
5988
5989
# File 'lib/v20180525/models.rb', line 5987

def IsExtranet
  @IsExtranet
end

Instance Method Details

#deserialize(params) ⇒ Object



5994
5995
5996
5997
# File 'lib/v20180525/models.rb', line 5994

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