Class: TencentCloud::Monitor::V20180724::DescribePrometheusAlertGroupsRequest

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

Overview

DescribePrometheusAlertGroups请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, limit = nil, offset = nil, groupid = nil, groupname = nil) ⇒ DescribePrometheusAlertGroupsRequest

Returns a new instance of DescribePrometheusAlertGroupsRequest.



8125
8126
8127
8128
8129
8130
8131
# File 'lib/v20180724/models.rb', line 8125

def initialize(instanceid=nil, limit=nil, offset=nil, groupid=nil, groupname=nil)
  @InstanceId = instanceid
  @Limit = limit
  @Offset = offset
  @GroupId = groupid
  @GroupName = groupname
end

Instance Attribute Details

#GroupIdObject

查询给定ID的告警分组 查询名称中包含给定字符串的告警分组

Parameters:

  • Prometheus 实例 ID

  • 返回数量,默认为 20,最大值为 100

  • 偏移量,默认为 0

  • 告警分组ID,形如alert-xxxx。

  • 告警分组名称。



8123
8124
8125
# File 'lib/v20180724/models.rb', line 8123

def GroupId
  @GroupId
end

#GroupNameObject

查询给定ID的告警分组 查询名称中包含给定字符串的告警分组

Parameters:

  • Prometheus 实例 ID

  • 返回数量,默认为 20,最大值为 100

  • 偏移量,默认为 0

  • 告警分组ID,形如alert-xxxx。

  • 告警分组名称。



8123
8124
8125
# File 'lib/v20180724/models.rb', line 8123

def GroupName
  @GroupName
end

#InstanceIdObject

查询给定ID的告警分组 查询名称中包含给定字符串的告警分组

Parameters:

  • Prometheus 实例 ID

  • 返回数量,默认为 20,最大值为 100

  • 偏移量,默认为 0

  • 告警分组ID,形如alert-xxxx。

  • 告警分组名称。



8123
8124
8125
# File 'lib/v20180724/models.rb', line 8123

def InstanceId
  @InstanceId
end

#LimitObject

查询给定ID的告警分组 查询名称中包含给定字符串的告警分组

Parameters:

  • Prometheus 实例 ID

  • 返回数量,默认为 20,最大值为 100

  • 偏移量,默认为 0

  • 告警分组ID,形如alert-xxxx。

  • 告警分组名称。



8123
8124
8125
# File 'lib/v20180724/models.rb', line 8123

def Limit
  @Limit
end

#OffsetObject

查询给定ID的告警分组 查询名称中包含给定字符串的告警分组

Parameters:

  • Prometheus 实例 ID

  • 返回数量,默认为 20,最大值为 100

  • 偏移量,默认为 0

  • 告警分组ID,形如alert-xxxx。

  • 告警分组名称。



8123
8124
8125
# File 'lib/v20180724/models.rb', line 8123

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



8133
8134
8135
8136
8137
8138
8139
# File 'lib/v20180724/models.rb', line 8133

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Limit = params['Limit']
  @Offset = params['Offset']
  @GroupId = params['GroupId']
  @GroupName = params['GroupName']
end