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.



12647
12648
12649
12650
12651
# File 'lib/v20180525/models.rb', line 12647

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



12645
12646
12647
# File 'lib/v20180525/models.rb', line 12645

def ClusterId
  @ClusterId
end

#ClusterTypeObject

Parameters:

  • ClusterId:

    TKE集群ID

  • KubeletRootDir:

    kubelet根目录

  • ClusterType:

    集群类型 tke/eks,默认tke



12645
12646
12647
# File 'lib/v20180525/models.rb', line 12645

def ClusterType
  @ClusterType
end

#KubeletRootDirObject

Parameters:

  • ClusterId:

    TKE集群ID

  • KubeletRootDir:

    kubelet根目录

  • ClusterType:

    集群类型 tke/eks,默认tke



12645
12646
12647
# File 'lib/v20180525/models.rb', line 12645

def KubeletRootDir
  @KubeletRootDir
end

Instance Method Details

#deserialize(params) ⇒ Object



12653
12654
12655
12656
12657
# File 'lib/v20180525/models.rb', line 12653

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