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.



12867
12868
12869
12870
12871
# File 'lib/v20180525/models.rb', line 12867

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



12865
12866
12867
# File 'lib/v20180525/models.rb', line 12865

def ClusterId
  @ClusterId
end

#ClusterTypeObject

Parameters:

  • ClusterId:

    TKE集群ID

  • KubeletRootDir:

    kubelet根目录

  • ClusterType:

    集群类型 tke/eks,默认tke



12865
12866
12867
# File 'lib/v20180525/models.rb', line 12865

def ClusterType
  @ClusterType
end

#KubeletRootDirObject

Parameters:

  • ClusterId:

    TKE集群ID

  • KubeletRootDir:

    kubelet根目录

  • ClusterType:

    集群类型 tke/eks,默认tke



12865
12866
12867
# File 'lib/v20180525/models.rb', line 12865

def KubeletRootDir
  @KubeletRootDir
end

Instance Method Details

#deserialize(params) ⇒ Object



12873
12874
12875
12876
12877
# File 'lib/v20180525/models.rb', line 12873

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