Class: TencentCloud::Tke::V20180525::DescribePrometheusGlobalConfigRequest

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

Overview

DescribePrometheusGlobalConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, disablestatistics = nil) ⇒ DescribePrometheusGlobalConfigRequest

Returns a new instance of DescribePrometheusGlobalConfigRequest.



8965
8966
8967
8968
# File 'lib/v20180525/models.rb', line 8965

def initialize(instanceid=nil, disablestatistics=nil)
  @InstanceId = instanceid
  @DisableStatistics = disablestatistics
end

Instance Attribute Details

#DisableStatisticsObject

Parameters:

  • InstanceId:

    实例级别抓取配置

  • DisableStatistics:

    是否禁用统计



8963
8964
8965
# File 'lib/v20180525/models.rb', line 8963

def DisableStatistics
  @DisableStatistics
end

#InstanceIdObject

Parameters:

  • InstanceId:

    实例级别抓取配置

  • DisableStatistics:

    是否禁用统计



8963
8964
8965
# File 'lib/v20180525/models.rb', line 8963

def InstanceId
  @InstanceId
end

Instance Method Details

#deserialize(params) ⇒ Object



8970
8971
8972
8973
# File 'lib/v20180525/models.rb', line 8970

def deserialize(params)
  @InstanceId = params['InstanceId']
  @DisableStatistics = params['DisableStatistics']
end