Class: TencentCloud::Tke::V20180525::CreateCLSLogConfigRequest

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

Overview

CreateCLSLogConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(logconfig = nil, clusterid = nil, logsetid = nil, clustertype = nil) ⇒ CreateCLSLogConfigRequest

Returns a new instance of CreateCLSLogConfigRequest.



1922
1923
1924
1925
1926
1927
# File 'lib/v20180525/models.rb', line 1922

def initialize(logconfig=nil, clusterid=nil, logsetid=nil, clustertype=nil)
  @LogConfig = logconfig
  @ClusterId = clusterid
  @LogsetId = logsetid
  @ClusterType = clustertype
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • LogConfig:

    日志采集配置的json表达

  • ClusterId:

    集群ID

  • LogsetId:

    CLS日志集ID

  • ClusterType:

    当前集群类型支持tke、eks



1920
1921
1922
# File 'lib/v20180525/models.rb', line 1920

def ClusterId
  @ClusterId
end

#ClusterTypeObject

Parameters:

  • LogConfig:

    日志采集配置的json表达

  • ClusterId:

    集群ID

  • LogsetId:

    CLS日志集ID

  • ClusterType:

    当前集群类型支持tke、eks



1920
1921
1922
# File 'lib/v20180525/models.rb', line 1920

def ClusterType
  @ClusterType
end

#LogConfigObject

Parameters:

  • LogConfig:

    日志采集配置的json表达

  • ClusterId:

    集群ID

  • LogsetId:

    CLS日志集ID

  • ClusterType:

    当前集群类型支持tke、eks



1920
1921
1922
# File 'lib/v20180525/models.rb', line 1920

def LogConfig
  @LogConfig
end

#LogsetIdObject

Parameters:

  • LogConfig:

    日志采集配置的json表达

  • ClusterId:

    集群ID

  • LogsetId:

    CLS日志集ID

  • ClusterType:

    当前集群类型支持tke、eks



1920
1921
1922
# File 'lib/v20180525/models.rb', line 1920

def LogsetId
  @LogsetId
end

Instance Method Details

#deserialize(params) ⇒ Object



1929
1930
1931
1932
1933
1934
# File 'lib/v20180525/models.rb', line 1929

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