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.



12709
12710
12711
12712
12713
# File 'lib/v20180525/models.rb', line 12709

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



12707
12708
12709
# File 'lib/v20180525/models.rb', line 12707

def ClusterId
  @ClusterId
end

#ClusterTypeObject

Parameters:

  • ClusterId:

    TKE集群ID

  • KubeletRootDir:

    kubelet根目录

  • ClusterType:

    集群类型 tke/eks,默认tke



12707
12708
12709
# File 'lib/v20180525/models.rb', line 12707

def ClusterType
  @ClusterType
end

#KubeletRootDirObject

Parameters:

  • ClusterId:

    TKE集群ID

  • KubeletRootDir:

    kubelet根目录

  • ClusterType:

    集群类型 tke/eks,默认tke



12707
12708
12709
# File 'lib/v20180525/models.rb', line 12707

def KubeletRootDir
  @KubeletRootDir
end

Instance Method Details

#deserialize(params) ⇒ Object



12715
12716
12717
12718
12719
# File 'lib/v20180525/models.rb', line 12715

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