Class: TencentCloud::Tke::V20180525::DescribeClusterKubeconfigResponse

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(kubeconfig = nil, requestid = nil) ⇒ DescribeClusterKubeconfigResponse

Returns a new instance of DescribeClusterKubeconfigResponse.



6443
6444
6445
6446
# File 'lib/v20180525/models.rb', line 6443

def initialize(kubeconfig=nil, requestid=nil)
  @Kubeconfig = kubeconfig
  @RequestId = requestid
end

Instance Attribute Details

#KubeconfigObject

Parameters:

  • Kubeconfig:

    子账户kubeconfig文件,可用于直接访问集群kube-apiserver(入参IsExtranet为false,返回内网访问的kubeconfig,没开内网的情况下server会是一个默认域名;入参IsExtranet为true,返回外网的kubeconfig,没开外网的情况下server会是一个默认域名。默认域名默认不可达,需要自行处理)

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6441
6442
6443
# File 'lib/v20180525/models.rb', line 6441

def Kubeconfig
  @Kubeconfig
end

#RequestIdObject

Parameters:

  • Kubeconfig:

    子账户kubeconfig文件,可用于直接访问集群kube-apiserver(入参IsExtranet为false,返回内网访问的kubeconfig,没开内网的情况下server会是一个默认域名;入参IsExtranet为true,返回外网的kubeconfig,没开外网的情况下server会是一个默认域名。默认域名默认不可达,需要自行处理)

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



6441
6442
6443
# File 'lib/v20180525/models.rb', line 6441

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



6448
6449
6450
6451
# File 'lib/v20180525/models.rb', line 6448

def deserialize(params)
  @Kubeconfig = params['Kubeconfig']
  @RequestId = params['RequestId']
end