Class: TencentCloud::Tke::V20180525::DeletePrometheusConfigRequest

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

Overview

DeletePrometheusConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, clustertype = nil, clusterid = nil, servicemonitors = nil, podmonitors = nil, rawjobs = nil, probes = nil) ⇒ DeletePrometheusConfigRequest

Returns a new instance of DeletePrometheusConfigRequest.



4797
4798
4799
4800
4801
4802
4803
4804
4805
# File 'lib/v20180525/models.rb', line 4797

def initialize(instanceid=nil, clustertype=nil, clusterid=nil, servicemonitors=nil, podmonitors=nil, rawjobs=nil, probes=nil)
  @InstanceId = instanceid
  @ClusterType = clustertype
  @ClusterId = clusterid
  @ServiceMonitors = servicemonitors
  @PodMonitors = podmonitors
  @RawJobs = rawjobs
  @Probes = probes
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • InstanceId:

    实例id

  • ClusterType:

    集群类型

  • ClusterId:

    集群id

  • ServiceMonitors:

    要删除的ServiceMonitor名字列表

  • PodMonitors:

    要删除的PodMonitor名字列表

  • RawJobs:

    要删除的RawJobs名字列表

  • Probes:

    要删除的Probe名字列表



4795
4796
4797
# File 'lib/v20180525/models.rb', line 4795

def ClusterId
  @ClusterId
end

#ClusterTypeObject

Parameters:

  • InstanceId:

    实例id

  • ClusterType:

    集群类型

  • ClusterId:

    集群id

  • ServiceMonitors:

    要删除的ServiceMonitor名字列表

  • PodMonitors:

    要删除的PodMonitor名字列表

  • RawJobs:

    要删除的RawJobs名字列表

  • Probes:

    要删除的Probe名字列表



4795
4796
4797
# File 'lib/v20180525/models.rb', line 4795

def ClusterType
  @ClusterType
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例id

  • ClusterType:

    集群类型

  • ClusterId:

    集群id

  • ServiceMonitors:

    要删除的ServiceMonitor名字列表

  • PodMonitors:

    要删除的PodMonitor名字列表

  • RawJobs:

    要删除的RawJobs名字列表

  • Probes:

    要删除的Probe名字列表



4795
4796
4797
# File 'lib/v20180525/models.rb', line 4795

def InstanceId
  @InstanceId
end

#PodMonitorsObject

Parameters:

  • InstanceId:

    实例id

  • ClusterType:

    集群类型

  • ClusterId:

    集群id

  • ServiceMonitors:

    要删除的ServiceMonitor名字列表

  • PodMonitors:

    要删除的PodMonitor名字列表

  • RawJobs:

    要删除的RawJobs名字列表

  • Probes:

    要删除的Probe名字列表



4795
4796
4797
# File 'lib/v20180525/models.rb', line 4795

def PodMonitors
  @PodMonitors
end

#ProbesObject

Parameters:

  • InstanceId:

    实例id

  • ClusterType:

    集群类型

  • ClusterId:

    集群id

  • ServiceMonitors:

    要删除的ServiceMonitor名字列表

  • PodMonitors:

    要删除的PodMonitor名字列表

  • RawJobs:

    要删除的RawJobs名字列表

  • Probes:

    要删除的Probe名字列表



4795
4796
4797
# File 'lib/v20180525/models.rb', line 4795

def Probes
  @Probes
end

#RawJobsObject

Parameters:

  • InstanceId:

    实例id

  • ClusterType:

    集群类型

  • ClusterId:

    集群id

  • ServiceMonitors:

    要删除的ServiceMonitor名字列表

  • PodMonitors:

    要删除的PodMonitor名字列表

  • RawJobs:

    要删除的RawJobs名字列表

  • Probes:

    要删除的Probe名字列表



4795
4796
4797
# File 'lib/v20180525/models.rb', line 4795

def RawJobs
  @RawJobs
end

#ServiceMonitorsObject

Parameters:

  • InstanceId:

    实例id

  • ClusterType:

    集群类型

  • ClusterId:

    集群id

  • ServiceMonitors:

    要删除的ServiceMonitor名字列表

  • PodMonitors:

    要删除的PodMonitor名字列表

  • RawJobs:

    要删除的RawJobs名字列表

  • Probes:

    要删除的Probe名字列表



4795
4796
4797
# File 'lib/v20180525/models.rb', line 4795

def ServiceMonitors
  @ServiceMonitors
end

Instance Method Details

#deserialize(params) ⇒ Object



4807
4808
4809
4810
4811
4812
4813
4814
4815
# File 'lib/v20180525/models.rb', line 4807

def deserialize(params)
  @InstanceId = params['InstanceId']
  @ClusterType = params['ClusterType']
  @ClusterId = params['ClusterId']
  @ServiceMonitors = params['ServiceMonitors']
  @PodMonitors = params['PodMonitors']
  @RawJobs = params['RawJobs']
  @Probes = params['Probes']
end