Class: TencentCloud::Tke::V20180525::DisableControlPlaneLogsRequest

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

Overview

DisableControlPlaneLogs请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, clustertype = nil, componentnames = nil, deletelogsetandtopic = nil) ⇒ DisableControlPlaneLogsRequest

Returns a new instance of DisableControlPlaneLogsRequest.



11675
11676
11677
11678
11679
11680
# File 'lib/v20180525/models.rb', line 11675

def initialize(clusterid=nil, clustertype=nil, componentnames=nil, deletelogsetandtopic=nil)
  @ClusterId = clusterid
  @ClusterType = clustertype
  @ComponentNames = componentnames
  @DeleteLogSetAndTopic = deletelogsetandtopic
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • 集群ID

  • 集群类型。当前只支持tke

  • 组件名称列表,目前支持的组件有:cluster-autoscaler、kapenter

  • 是否删除日志集和topic。 如果日志集和topic被其他采集规则使用,则不会被删除



11673
11674
11675
# File 'lib/v20180525/models.rb', line 11673

def ClusterId
  @ClusterId
end

#ClusterTypeObject

Parameters:

  • 集群ID

  • 集群类型。当前只支持tke

  • 组件名称列表,目前支持的组件有:cluster-autoscaler、kapenter

  • 是否删除日志集和topic。 如果日志集和topic被其他采集规则使用,则不会被删除



11673
11674
11675
# File 'lib/v20180525/models.rb', line 11673

def ClusterType
  @ClusterType
end

#ComponentNamesObject

Parameters:

  • 集群ID

  • 集群类型。当前只支持tke

  • 组件名称列表,目前支持的组件有:cluster-autoscaler、kapenter

  • 是否删除日志集和topic。 如果日志集和topic被其他采集规则使用,则不会被删除



11673
11674
11675
# File 'lib/v20180525/models.rb', line 11673

def ComponentNames
  @ComponentNames
end

#DeleteLogSetAndTopicObject

Parameters:

  • 集群ID

  • 集群类型。当前只支持tke

  • 组件名称列表,目前支持的组件有:cluster-autoscaler、kapenter

  • 是否删除日志集和topic。 如果日志集和topic被其他采集规则使用,则不会被删除



11673
11674
11675
# File 'lib/v20180525/models.rb', line 11673

def DeleteLogSetAndTopic
  @DeleteLogSetAndTopic
end

Instance Method Details

#deserialize(params) ⇒ Object



11682
11683
11684
11685
11686
11687
# File 'lib/v20180525/models.rb', line 11682

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