Class: TencentCloud::Tke::V20180525::InstallLogAgentRequest

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

Overview

InstallLogAgent请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, kubeletrootdir = nil, clustertype = nil) ⇒ InstallLogAgentRequest

Returns a new instance of InstallLogAgentRequest.



13946
13947
13948
13949
13950
# File 'lib/v20180525/models.rb', line 13946

def initialize(clusterid=nil, kubeletrootdir=nil, clustertype=nil)
  @ClusterId = clusterid
  @KubeletRootDir = kubeletrootdir
  @ClusterType = clustertype
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    TKE集群ID

  • KubeletRootDir:

    kubelet根目录

  • ClusterType:

    集群类型 tke/eks,默认tke



13944
13945
13946
# File 'lib/v20180525/models.rb', line 13944

def ClusterId
  @ClusterId
end

#ClusterTypeObject

Parameters:

  • ClusterId:

    TKE集群ID

  • KubeletRootDir:

    kubelet根目录

  • ClusterType:

    集群类型 tke/eks,默认tke



13944
13945
13946
# File 'lib/v20180525/models.rb', line 13944

def ClusterType
  @ClusterType
end

#KubeletRootDirObject

Parameters:

  • ClusterId:

    TKE集群ID

  • KubeletRootDir:

    kubelet根目录

  • ClusterType:

    集群类型 tke/eks,默认tke



13944
13945
13946
# File 'lib/v20180525/models.rb', line 13944

def KubeletRootDir
  @KubeletRootDir
end

Instance Method Details

#deserialize(params) ⇒ Object



13952
13953
13954
13955
13956
# File 'lib/v20180525/models.rb', line 13952

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