v2

package
v0.1.57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AomClientBuilder

func AomClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForAddActionRule added in v0.1.13

func GenReqDefForAddActionRule() *def.HttpRequestDef

func GenReqDefForAddAlarmRule

func GenReqDefForAddAlarmRule() *def.HttpRequestDef

func GenReqDefForAddEvent2alarmRule added in v0.1.13

func GenReqDefForAddEvent2alarmRule() *def.HttpRequestDef

func GenReqDefForAddMetricData

func GenReqDefForAddMetricData() *def.HttpRequestDef

func GenReqDefForAddMuteRules added in v0.1.13

func GenReqDefForAddMuteRules() *def.HttpRequestDef

func GenReqDefForAddOrUpdateServiceDiscoveryRules

func GenReqDefForAddOrUpdateServiceDiscoveryRules() *def.HttpRequestDef

func GenReqDefForCountEvents

func GenReqDefForCountEvents() *def.HttpRequestDef

func GenReqDefForDeleteActionRule added in v0.1.13

func GenReqDefForDeleteActionRule() *def.HttpRequestDef

func GenReqDefForDeleteAlarmRule

func GenReqDefForDeleteAlarmRule() *def.HttpRequestDef

func GenReqDefForDeleteAlarmRules

func GenReqDefForDeleteAlarmRules() *def.HttpRequestDef

func GenReqDefForDeleteEvent2alarmRule added in v0.1.13

func GenReqDefForDeleteEvent2alarmRule() *def.HttpRequestDef

func GenReqDefForDeleteMuteRules added in v0.1.13

func GenReqDefForDeleteMuteRules() *def.HttpRequestDef

func GenReqDefForDeleteserviceDiscoveryRules

func GenReqDefForDeleteserviceDiscoveryRules() *def.HttpRequestDef

func GenReqDefForListActionRule added in v0.1.13

func GenReqDefForListActionRule() *def.HttpRequestDef

func GenReqDefForListAlarmRule

func GenReqDefForListAlarmRule() *def.HttpRequestDef

func GenReqDefForListEvent2alarmRule added in v0.1.13

func GenReqDefForListEvent2alarmRule() *def.HttpRequestDef

func GenReqDefForListEvents

func GenReqDefForListEvents() *def.HttpRequestDef

func GenReqDefForListInstantQueryAomPromGet

func GenReqDefForListInstantQueryAomPromGet() *def.HttpRequestDef

func GenReqDefForListInstantQueryAomPromPost

func GenReqDefForListInstantQueryAomPromPost() *def.HttpRequestDef

func GenReqDefForListLabelValuesAomPromGet

func GenReqDefForListLabelValuesAomPromGet() *def.HttpRequestDef

func GenReqDefForListLabelsAomPromGet

func GenReqDefForListLabelsAomPromGet() *def.HttpRequestDef

func GenReqDefForListLabelsAomPromPost

func GenReqDefForListLabelsAomPromPost() *def.HttpRequestDef

func GenReqDefForListLogItems

func GenReqDefForListLogItems() *def.HttpRequestDef

func GenReqDefForListMetadataAomPromGet

func GenReqDefForListMetadataAomPromGet() *def.HttpRequestDef

func GenReqDefForListMetricItems

func GenReqDefForListMetricItems() *def.HttpRequestDef

func GenReqDefForListMuteRule added in v0.1.13

func GenReqDefForListMuteRule() *def.HttpRequestDef

func GenReqDefForListNotifiedHistories added in v0.1.13

func GenReqDefForListNotifiedHistories() *def.HttpRequestDef

func GenReqDefForListRangeQueryAomPromGet

func GenReqDefForListRangeQueryAomPromGet() *def.HttpRequestDef

func GenReqDefForListRangeQueryAomPromPost

func GenReqDefForListRangeQueryAomPromPost() *def.HttpRequestDef

func GenReqDefForListSample

func GenReqDefForListSample() *def.HttpRequestDef

func GenReqDefForListSeries

func GenReqDefForListSeries() *def.HttpRequestDef

func GenReqDefForListServiceDiscoveryRules

func GenReqDefForListServiceDiscoveryRules() *def.HttpRequestDef

func GenReqDefForPushEvents

func GenReqDefForPushEvents() *def.HttpRequestDef

func GenReqDefForShowActionRule added in v0.1.13

func GenReqDefForShowActionRule() *def.HttpRequestDef

func GenReqDefForShowAlarmRule

func GenReqDefForShowAlarmRule() *def.HttpRequestDef

func GenReqDefForShowMetricsData

func GenReqDefForShowMetricsData() *def.HttpRequestDef

func GenReqDefForUpdateActionRule added in v0.1.13

func GenReqDefForUpdateActionRule() *def.HttpRequestDef

func GenReqDefForUpdateAlarmRule

func GenReqDefForUpdateAlarmRule() *def.HttpRequestDef

func GenReqDefForUpdateEventRule added in v0.1.13

func GenReqDefForUpdateEventRule() *def.HttpRequestDef

func GenReqDefForUpdateMuteRule added in v0.1.13

func GenReqDefForUpdateMuteRule() *def.HttpRequestDef

Types

type AddActionRuleInvoker added in v0.1.13

type AddActionRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*AddActionRuleInvoker) Invoke added in v0.1.13

type AddAlarmRuleInvoker added in v0.0.90

type AddAlarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*AddAlarmRuleInvoker) Invoke added in v0.0.90

type AddEvent2alarmRuleInvoker added in v0.1.13

type AddEvent2alarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*AddEvent2alarmRuleInvoker) Invoke added in v0.1.13

type AddMetricDataInvoker added in v0.0.90

type AddMetricDataInvoker struct {
	*invoker.BaseInvoker
}

func (*AddMetricDataInvoker) Invoke added in v0.0.90

type AddMuteRulesInvoker added in v0.1.13

type AddMuteRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*AddMuteRulesInvoker) Invoke added in v0.1.13

type AddOrUpdateServiceDiscoveryRulesInvoker added in v0.0.90

type AddOrUpdateServiceDiscoveryRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*AddOrUpdateServiceDiscoveryRulesInvoker) Invoke added in v0.0.90

type AomClient

type AomClient struct {
	HcClient *http_client.HcHttpClient
}

func NewAomClient

func NewAomClient(hcClient *http_client.HcHttpClient) *AomClient

func (*AomClient) AddActionRule added in v0.1.13

func (c *AomClient) AddActionRule(request *model.AddActionRuleRequest) (*model.AddActionRuleResponse, error)

AddActionRule 新增告警行动规则

新增告警行动规则。(注:接口目前开放的region为:上海一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) AddActionRuleInvoker added in v0.1.13

func (c *AomClient) AddActionRuleInvoker(request *model.AddActionRuleRequest) *AddActionRuleInvoker

AddActionRuleInvoker 新增告警行动规则

func (*AomClient) AddAlarmRule

func (c *AomClient) AddAlarmRule(request *model.AddAlarmRuleRequest) (*model.AddAlarmRuleResponse, error)

AddAlarmRule 添加阈值规则

该接口用于添加一条阈值规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) AddAlarmRuleInvoker added in v0.0.90

func (c *AomClient) AddAlarmRuleInvoker(request *model.AddAlarmRuleRequest) *AddAlarmRuleInvoker

AddAlarmRuleInvoker 添加阈值规则

func (*AomClient) AddEvent2alarmRule added in v0.1.13

func (c *AomClient) AddEvent2alarmRule(request *model.AddEvent2alarmRuleRequest) (*model.AddEvent2alarmRuleResponse, error)

AddEvent2alarmRule 新增一条事件类告警规则

新增一条事件类告警规则。(注:接口目前开放的region为:上海一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) AddEvent2alarmRuleInvoker added in v0.1.13

func (c *AomClient) AddEvent2alarmRuleInvoker(request *model.AddEvent2alarmRuleRequest) *AddEvent2alarmRuleInvoker

AddEvent2alarmRuleInvoker 新增一条事件类告警规则

func (*AomClient) AddMetricData

func (c *AomClient) AddMetricData(request *model.AddMetricDataRequest) (*model.AddMetricDataResponse, error)

AddMetricData 添加监控数据

该接口用于向服务端添加一条或多条监控数据。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) AddMetricDataInvoker added in v0.0.90

func (c *AomClient) AddMetricDataInvoker(request *model.AddMetricDataRequest) *AddMetricDataInvoker

AddMetricDataInvoker 添加监控数据

func (*AomClient) AddMuteRules added in v0.1.13

func (c *AomClient) AddMuteRules(request *model.AddMuteRulesRequest) (*model.AddMuteRulesResponse, error)

AddMuteRules 新增静默规则

新增静默规则。(注:接口目前开放的region为:上海一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) AddMuteRulesInvoker added in v0.1.13

func (c *AomClient) AddMuteRulesInvoker(request *model.AddMuteRulesRequest) *AddMuteRulesInvoker

AddMuteRulesInvoker 新增静默规则

func (*AomClient) AddOrUpdateServiceDiscoveryRules

AddOrUpdateServiceDiscoveryRules 添加或修改服务发现规则

该接口用于添加或修改一条或多条服务发现规则。同一projectid下可添加的规则上限为100条。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) AddOrUpdateServiceDiscoveryRulesInvoker added in v0.0.90

func (c *AomClient) AddOrUpdateServiceDiscoveryRulesInvoker(request *model.AddOrUpdateServiceDiscoveryRulesRequest) *AddOrUpdateServiceDiscoveryRulesInvoker

AddOrUpdateServiceDiscoveryRulesInvoker 添加或修改服务发现规则

func (*AomClient) CountEvents

func (c *AomClient) CountEvents(request *model.CountEventsRequest) (*model.CountEventsResponse, error)

CountEvents 统计事件告警信息

该接口用于分段统计指定条件下的事件、告警。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) CountEventsInvoker added in v0.0.90

func (c *AomClient) CountEventsInvoker(request *model.CountEventsRequest) *CountEventsInvoker

CountEventsInvoker 统计事件告警信息

func (*AomClient) DeleteActionRule added in v0.1.13

func (c *AomClient) DeleteActionRule(request *model.DeleteActionRuleRequest) (*model.DeleteActionRuleResponse, error)

DeleteActionRule 删除告警行动规则

删除告警行动规则。(注:接口目前开放的region为:上海一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) DeleteActionRuleInvoker added in v0.1.13

func (c *AomClient) DeleteActionRuleInvoker(request *model.DeleteActionRuleRequest) *DeleteActionRuleInvoker

DeleteActionRuleInvoker 删除告警行动规则

func (*AomClient) DeleteAlarmRule

func (c *AomClient) DeleteAlarmRule(request *model.DeleteAlarmRuleRequest) (*model.DeleteAlarmRuleResponse, error)

DeleteAlarmRule 删除阈值规则

该接口用于删除阈值规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) DeleteAlarmRuleInvoker added in v0.0.90

func (c *AomClient) DeleteAlarmRuleInvoker(request *model.DeleteAlarmRuleRequest) *DeleteAlarmRuleInvoker

DeleteAlarmRuleInvoker 删除阈值规则

func (*AomClient) DeleteAlarmRules

func (c *AomClient) DeleteAlarmRules(request *model.DeleteAlarmRulesRequest) (*model.DeleteAlarmRulesResponse, error)

DeleteAlarmRules 批量删除阈值规则

批量删除阈值规则

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) DeleteAlarmRulesInvoker added in v0.0.90

func (c *AomClient) DeleteAlarmRulesInvoker(request *model.DeleteAlarmRulesRequest) *DeleteAlarmRulesInvoker

DeleteAlarmRulesInvoker 批量删除阈值规则

func (*AomClient) DeleteEvent2alarmRule added in v0.1.13

DeleteEvent2alarmRule 删除事件类告警规则

删除一条事件类告警规则。(注:接口目前开放的region为:上海一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) DeleteEvent2alarmRuleInvoker added in v0.1.13

func (c *AomClient) DeleteEvent2alarmRuleInvoker(request *model.DeleteEvent2alarmRuleRequest) *DeleteEvent2alarmRuleInvoker

DeleteEvent2alarmRuleInvoker 删除事件类告警规则

func (*AomClient) DeleteMuteRules added in v0.1.13

func (c *AomClient) DeleteMuteRules(request *model.DeleteMuteRulesRequest) (*model.DeleteMuteRulesResponse, error)

DeleteMuteRules 删除静默规则

删除静默规则。(注:接口目前开放的region为:上海一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) DeleteMuteRulesInvoker added in v0.1.13

func (c *AomClient) DeleteMuteRulesInvoker(request *model.DeleteMuteRulesRequest) *DeleteMuteRulesInvoker

DeleteMuteRulesInvoker 删除静默规则

func (*AomClient) DeleteserviceDiscoveryRules

DeleteserviceDiscoveryRules 删除服务发现规则

该接口用于删除服务发现规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) DeleteserviceDiscoveryRulesInvoker added in v0.0.90

func (c *AomClient) DeleteserviceDiscoveryRulesInvoker(request *model.DeleteserviceDiscoveryRulesRequest) *DeleteserviceDiscoveryRulesInvoker

DeleteserviceDiscoveryRulesInvoker 删除服务发现规则

func (*AomClient) ListActionRule added in v0.1.13

func (c *AomClient) ListActionRule(request *model.ListActionRuleRequest) (*model.ListActionRuleResponse, error)

ListActionRule 获取告警行动规则列表

获取告警行动规则列表。(注:接口目前开放的region为:上海一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListActionRuleInvoker added in v0.1.13

func (c *AomClient) ListActionRuleInvoker(request *model.ListActionRuleRequest) *ListActionRuleInvoker

ListActionRuleInvoker 获取告警行动规则列表

func (*AomClient) ListAlarmRule

func (c *AomClient) ListAlarmRule(request *model.ListAlarmRuleRequest) (*model.ListAlarmRuleResponse, error)

ListAlarmRule 查询阈值规则列表

该接口用于查询阈值规则列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListAlarmRuleInvoker added in v0.0.90

func (c *AomClient) ListAlarmRuleInvoker(request *model.ListAlarmRuleRequest) *ListAlarmRuleInvoker

ListAlarmRuleInvoker 查询阈值规则列表

func (*AomClient) ListEvent2alarmRule added in v0.1.13

ListEvent2alarmRule 查询事件类告警规则列表

查询事件类告警规则列表。(注:接口目前开放的region为:上海一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListEvent2alarmRuleInvoker added in v0.1.13

func (c *AomClient) ListEvent2alarmRuleInvoker(request *model.ListEvent2alarmRuleRequest) *ListEvent2alarmRuleInvoker

ListEvent2alarmRuleInvoker 查询事件类告警规则列表

func (*AomClient) ListEvents

func (c *AomClient) ListEvents(request *model.ListEventsRequest) (*model.ListEventsResponse, error)

ListEvents 查询事件告警信息

该接口用于查询对应用户的事件、告警。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListEventsInvoker added in v0.0.90

func (c *AomClient) ListEventsInvoker(request *model.ListEventsRequest) *ListEventsInvoker

ListEventsInvoker 查询事件告警信息

func (*AomClient) ListInstantQueryAomPromGet

ListInstantQueryAomPromGet 瞬时数据查询

该接口用于查询PromQL(Prometheus Query Language)在特定时间点下的计算结果。(注:接口目前开放的region为:北京四、上海一和广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListInstantQueryAomPromGetInvoker added in v0.0.90

func (c *AomClient) ListInstantQueryAomPromGetInvoker(request *model.ListInstantQueryAomPromGetRequest) *ListInstantQueryAomPromGetInvoker

ListInstantQueryAomPromGetInvoker 瞬时数据查询

func (*AomClient) ListInstantQueryAomPromPost

ListInstantQueryAomPromPost 瞬时数据查询

该接口用于查询PromQL(Prometheus Query Language) 在特定时间点下的计算结果。(注:接口目前开放的region为:北京四、上海一和广州)

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListInstantQueryAomPromPostInvoker added in v0.0.90

func (c *AomClient) ListInstantQueryAomPromPostInvoker(request *model.ListInstantQueryAomPromPostRequest) *ListInstantQueryAomPromPostInvoker

ListInstantQueryAomPromPostInvoker 瞬时数据查询

func (*AomClient) ListLabelValuesAomPromGet

ListLabelValuesAomPromGet 查询标签值

该接口用于查询带有指定标签的时间序列列表。(注:接口目前开放的region为:北京四、上海一和广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListLabelValuesAomPromGetInvoker added in v0.0.90

func (c *AomClient) ListLabelValuesAomPromGetInvoker(request *model.ListLabelValuesAomPromGetRequest) *ListLabelValuesAomPromGetInvoker

ListLabelValuesAomPromGetInvoker 查询标签值

func (*AomClient) ListLabelsAomPromGet

ListLabelsAomPromGet 获取标签名列表

该接口用于获取标签名列表。(注:接口目前开放的region为:北京四、上海一和广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListLabelsAomPromGetInvoker added in v0.0.90

func (c *AomClient) ListLabelsAomPromGetInvoker(request *model.ListLabelsAomPromGetRequest) *ListLabelsAomPromGetInvoker

ListLabelsAomPromGetInvoker 获取标签名列表

func (*AomClient) ListLabelsAomPromPost

ListLabelsAomPromPost 获取标签名列表

该接口用于获取标签名列表。(注:接口目前开放的region为:北京四、上海一和广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListLabelsAomPromPostInvoker added in v0.0.90

func (c *AomClient) ListLabelsAomPromPostInvoker(request *model.ListLabelsAomPromPostRequest) *ListLabelsAomPromPostInvoker

ListLabelsAomPromPostInvoker 获取标签名列表

func (*AomClient) ListLogItems

func (c *AomClient) ListLogItems(request *model.ListLogItemsRequest) (*model.ListLogItemsResponse, error)

ListLogItems 查询日志

该接口用于查询不同维度(例如集群、IP、应用等)下的日志内容,支持分页查询。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListLogItemsInvoker added in v0.0.90

func (c *AomClient) ListLogItemsInvoker(request *model.ListLogItemsRequest) *ListLogItemsInvoker

ListLogItemsInvoker 查询日志

func (*AomClient) ListMetadataAomPromGet

ListMetadataAomPromGet 元数据查询

该接口用于查询序列及序列标签的元数据。(注:接口目前开放的region为:北京四、上海一和广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListMetadataAomPromGetInvoker added in v0.0.90

func (c *AomClient) ListMetadataAomPromGetInvoker(request *model.ListMetadataAomPromGetRequest) *ListMetadataAomPromGetInvoker

ListMetadataAomPromGetInvoker 元数据查询

func (*AomClient) ListMetricItems

func (c *AomClient) ListMetricItems(request *model.ListMetricItemsRequest) (*model.ListMetricItemsResponse, error)

ListMetricItems 查询指标

该接口用于查询系统当前可监控的指标列表,可以指定指标命名空间、指标名称、维度、所属资源的编号(格式为:resType_resId),分页查询的起始位置和返回的最大记录条数。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListMetricItemsInvoker added in v0.0.90

func (c *AomClient) ListMetricItemsInvoker(request *model.ListMetricItemsRequest) *ListMetricItemsInvoker

ListMetricItemsInvoker 查询指标

func (*AomClient) ListMuteRule added in v0.1.13

func (c *AomClient) ListMuteRule(request *model.ListMuteRuleRequest) (*model.ListMuteRuleResponse, error)

ListMuteRule 获取静默规则列表

获取静默规则列表。(注:接口目前开放的region为:上海一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListMuteRuleInvoker added in v0.1.13

func (c *AomClient) ListMuteRuleInvoker(request *model.ListMuteRuleRequest) *ListMuteRuleInvoker

ListMuteRuleInvoker 获取静默规则列表

func (*AomClient) ListNotifiedHistories added in v0.1.13

ListNotifiedHistories 获取告警发送结果

获取告警发送结果。(注:接口目前开放的region为:上海一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListNotifiedHistoriesInvoker added in v0.1.13

func (c *AomClient) ListNotifiedHistoriesInvoker(request *model.ListNotifiedHistoriesRequest) *ListNotifiedHistoriesInvoker

ListNotifiedHistoriesInvoker 获取告警发送结果

func (*AomClient) ListRangeQueryAomPromGet

ListRangeQueryAomPromGet 区间数据查询

该接口用于查询PromQL(Prometheus Query Language)在一段时间返回内的计算结果。(注:接口目前开放的region为:北京四、上海一和广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListRangeQueryAomPromGetInvoker added in v0.0.90

func (c *AomClient) ListRangeQueryAomPromGetInvoker(request *model.ListRangeQueryAomPromGetRequest) *ListRangeQueryAomPromGetInvoker

ListRangeQueryAomPromGetInvoker 区间数据查询

func (*AomClient) ListRangeQueryAomPromPost

ListRangeQueryAomPromPost 区间数据查询

该接口用于查询PromQL(Prometheus Query Language)在一段时间返回内的计算结果。(注:接口目前开放的region为:北京四、上海一和广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListRangeQueryAomPromPostInvoker added in v0.0.90

func (c *AomClient) ListRangeQueryAomPromPostInvoker(request *model.ListRangeQueryAomPromPostRequest) *ListRangeQueryAomPromPostInvoker

ListRangeQueryAomPromPostInvoker 区间数据查询

func (*AomClient) ListSample

func (c *AomClient) ListSample(request *model.ListSampleRequest) (*model.ListSampleResponse, error)

ListSample 查询时序数据

该接口用于查询指定时间范围内的监控时序数据,可以通过参数指定需要查询的数据维度,数据周期等。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListSampleInvoker added in v0.0.90

func (c *AomClient) ListSampleInvoker(request *model.ListSampleRequest) *ListSampleInvoker

ListSampleInvoker 查询时序数据

func (*AomClient) ListSeries

func (c *AomClient) ListSeries(request *model.ListSeriesRequest) (*model.ListSeriesResponse, error)

ListSeries 查询时间序列

该接口用于查询系统当前可监控的时间序列列表,可以指定时间序列命名空间、名称、维度、所属资源的编号(格式为:resType_resId),分页查询的起始位置和返回的最大记录条数。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListSeriesInvoker added in v0.0.90

func (c *AomClient) ListSeriesInvoker(request *model.ListSeriesRequest) *ListSeriesInvoker

ListSeriesInvoker 查询时间序列

func (*AomClient) ListServiceDiscoveryRules

ListServiceDiscoveryRules 查询系统中已有服务发现规则

该接口用于查询系统当前已存在的服务发现规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListServiceDiscoveryRulesInvoker added in v0.0.90

func (c *AomClient) ListServiceDiscoveryRulesInvoker(request *model.ListServiceDiscoveryRulesRequest) *ListServiceDiscoveryRulesInvoker

ListServiceDiscoveryRulesInvoker 查询系统中已有服务发现规则

func (*AomClient) PushEvents

func (c *AomClient) PushEvents(request *model.PushEventsRequest) (*model.PushEventsResponse, error)

PushEvents 上报事件告警信息

该接口用于上报对应用户的事件、告警。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) PushEventsInvoker added in v0.0.90

func (c *AomClient) PushEventsInvoker(request *model.PushEventsRequest) *PushEventsInvoker

PushEventsInvoker 上报事件告警信息

func (*AomClient) ShowActionRule added in v0.1.13

func (c *AomClient) ShowActionRule(request *model.ShowActionRuleRequest) (*model.ShowActionRuleResponse, error)

ShowActionRule 通过规则名称获取告警行动规则

通过规则名称获取告警行动规则。(注:接口目前开放的region为:上海一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ShowActionRuleInvoker added in v0.1.13

func (c *AomClient) ShowActionRuleInvoker(request *model.ShowActionRuleRequest) *ShowActionRuleInvoker

ShowActionRuleInvoker 通过规则名称获取告警行动规则

func (*AomClient) ShowAlarmRule

func (c *AomClient) ShowAlarmRule(request *model.ShowAlarmRuleRequest) (*model.ShowAlarmRuleResponse, error)

ShowAlarmRule 查询单条阈值规则

该接口用于查询单条阈值规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ShowAlarmRuleInvoker added in v0.0.90

func (c *AomClient) ShowAlarmRuleInvoker(request *model.ShowAlarmRuleRequest) *ShowAlarmRuleInvoker

ShowAlarmRuleInvoker 查询单条阈值规则

func (*AomClient) ShowMetricsData

func (c *AomClient) ShowMetricsData(request *model.ShowMetricsDataRequest) (*model.ShowMetricsDataResponse, error)

ShowMetricsData 查询监控数据

该接口用于查询指定时间范围内指标的监控数据,可以通过参数指定需要查询的数据维度,数据周期等。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ShowMetricsDataInvoker added in v0.0.90

func (c *AomClient) ShowMetricsDataInvoker(request *model.ShowMetricsDataRequest) *ShowMetricsDataInvoker

ShowMetricsDataInvoker 查询监控数据

func (*AomClient) UpdateActionRule added in v0.1.13

func (c *AomClient) UpdateActionRule(request *model.UpdateActionRuleRequest) (*model.UpdateActionRuleResponse, error)

UpdateActionRule 修改告警行动规则

修改告警行动规则。(注:接口目前开放的region为:上海一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) UpdateActionRuleInvoker added in v0.1.13

func (c *AomClient) UpdateActionRuleInvoker(request *model.UpdateActionRuleRequest) *UpdateActionRuleInvoker

UpdateActionRuleInvoker 修改告警行动规则

func (*AomClient) UpdateAlarmRule

func (c *AomClient) UpdateAlarmRule(request *model.UpdateAlarmRuleRequest) (*model.UpdateAlarmRuleResponse, error)

UpdateAlarmRule 修改阈值规则

该接口用于修改一条阈值规则。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) UpdateAlarmRuleInvoker added in v0.0.90

func (c *AomClient) UpdateAlarmRuleInvoker(request *model.UpdateAlarmRuleRequest) *UpdateAlarmRuleInvoker

UpdateAlarmRuleInvoker 修改阈值规则

func (*AomClient) UpdateEventRule added in v0.1.13

func (c *AomClient) UpdateEventRule(request *model.UpdateEventRuleRequest) (*model.UpdateEventRuleResponse, error)

UpdateEventRule 更新事件类告警规则

更新事件类告警规则。(注:接口目前开放的region为:上海一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) UpdateEventRuleInvoker added in v0.1.13

func (c *AomClient) UpdateEventRuleInvoker(request *model.UpdateEventRuleRequest) *UpdateEventRuleInvoker

UpdateEventRuleInvoker 更新事件类告警规则

func (*AomClient) UpdateMuteRule added in v0.1.13

func (c *AomClient) UpdateMuteRule(request *model.UpdateMuteRuleRequest) (*model.UpdateMuteRuleResponse, error)

UpdateMuteRule 修改静默规则

修改静默规则。(注:接口目前开放的region为:上海一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) UpdateMuteRuleInvoker added in v0.1.13

func (c *AomClient) UpdateMuteRuleInvoker(request *model.UpdateMuteRuleRequest) *UpdateMuteRuleInvoker

UpdateMuteRuleInvoker 修改静默规则

type CountEventsInvoker added in v0.0.90

type CountEventsInvoker struct {
	*invoker.BaseInvoker
}

func (*CountEventsInvoker) Invoke added in v0.0.90

type DeleteActionRuleInvoker added in v0.1.13

type DeleteActionRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteActionRuleInvoker) Invoke added in v0.1.13

type DeleteAlarmRuleInvoker added in v0.0.90

type DeleteAlarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteAlarmRuleInvoker) Invoke added in v0.0.90

type DeleteAlarmRulesInvoker added in v0.0.90

type DeleteAlarmRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteAlarmRulesInvoker) Invoke added in v0.0.90

type DeleteEvent2alarmRuleInvoker added in v0.1.13

type DeleteEvent2alarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteEvent2alarmRuleInvoker) Invoke added in v0.1.13

type DeleteMuteRulesInvoker added in v0.1.13

type DeleteMuteRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteMuteRulesInvoker) Invoke added in v0.1.13

type DeleteserviceDiscoveryRulesInvoker added in v0.0.90

type DeleteserviceDiscoveryRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteserviceDiscoveryRulesInvoker) Invoke added in v0.0.90

type ListActionRuleInvoker added in v0.1.13

type ListActionRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListActionRuleInvoker) Invoke added in v0.1.13

type ListAlarmRuleInvoker added in v0.0.90

type ListAlarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAlarmRuleInvoker) Invoke added in v0.0.90

type ListEvent2alarmRuleInvoker added in v0.1.13

type ListEvent2alarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEvent2alarmRuleInvoker) Invoke added in v0.1.13

type ListEventsInvoker added in v0.0.90

type ListEventsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEventsInvoker) Invoke added in v0.0.90

type ListInstantQueryAomPromGetInvoker added in v0.0.90

type ListInstantQueryAomPromGetInvoker struct {
	*invoker.BaseInvoker
}

func (*ListInstantQueryAomPromGetInvoker) Invoke added in v0.0.90

type ListInstantQueryAomPromPostInvoker added in v0.0.90

type ListInstantQueryAomPromPostInvoker struct {
	*invoker.BaseInvoker
}

func (*ListInstantQueryAomPromPostInvoker) Invoke added in v0.0.90

type ListLabelValuesAomPromGetInvoker added in v0.0.90

type ListLabelValuesAomPromGetInvoker struct {
	*invoker.BaseInvoker
}

func (*ListLabelValuesAomPromGetInvoker) Invoke added in v0.0.90

type ListLabelsAomPromGetInvoker added in v0.0.90

type ListLabelsAomPromGetInvoker struct {
	*invoker.BaseInvoker
}

func (*ListLabelsAomPromGetInvoker) Invoke added in v0.0.90

type ListLabelsAomPromPostInvoker added in v0.0.90

type ListLabelsAomPromPostInvoker struct {
	*invoker.BaseInvoker
}

func (*ListLabelsAomPromPostInvoker) Invoke added in v0.0.90

type ListLogItemsInvoker added in v0.0.90

type ListLogItemsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListLogItemsInvoker) Invoke added in v0.0.90

type ListMetadataAomPromGetInvoker added in v0.0.90

type ListMetadataAomPromGetInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMetadataAomPromGetInvoker) Invoke added in v0.0.90

type ListMetricItemsInvoker added in v0.0.90

type ListMetricItemsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMetricItemsInvoker) Invoke added in v0.0.90

type ListMuteRuleInvoker added in v0.1.13

type ListMuteRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMuteRuleInvoker) Invoke added in v0.1.13

type ListNotifiedHistoriesInvoker added in v0.1.13

type ListNotifiedHistoriesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListNotifiedHistoriesInvoker) Invoke added in v0.1.13

type ListRangeQueryAomPromGetInvoker added in v0.0.90

type ListRangeQueryAomPromGetInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRangeQueryAomPromGetInvoker) Invoke added in v0.0.90

type ListRangeQueryAomPromPostInvoker added in v0.0.90

type ListRangeQueryAomPromPostInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRangeQueryAomPromPostInvoker) Invoke added in v0.0.90

type ListSampleInvoker added in v0.0.90

type ListSampleInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSampleInvoker) Invoke added in v0.0.90

type ListSeriesInvoker added in v0.0.90

type ListSeriesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSeriesInvoker) Invoke added in v0.0.90

type ListServiceDiscoveryRulesInvoker added in v0.0.90

type ListServiceDiscoveryRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListServiceDiscoveryRulesInvoker) Invoke added in v0.0.90

type PushEventsInvoker added in v0.0.90

type PushEventsInvoker struct {
	*invoker.BaseInvoker
}

func (*PushEventsInvoker) Invoke added in v0.0.90

type ShowActionRuleInvoker added in v0.1.13

type ShowActionRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowActionRuleInvoker) Invoke added in v0.1.13

type ShowAlarmRuleInvoker added in v0.0.90

type ShowAlarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAlarmRuleInvoker) Invoke added in v0.0.90

type ShowMetricsDataInvoker added in v0.0.90

type ShowMetricsDataInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowMetricsDataInvoker) Invoke added in v0.0.90

type UpdateActionRuleInvoker added in v0.1.13

type UpdateActionRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateActionRuleInvoker) Invoke added in v0.1.13

type UpdateAlarmRuleInvoker added in v0.0.90

type UpdateAlarmRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateAlarmRuleInvoker) Invoke added in v0.0.90

type UpdateEventRuleInvoker added in v0.1.13

type UpdateEventRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateEventRuleInvoker) Invoke added in v0.1.13

type UpdateMuteRuleInvoker added in v0.1.13

type UpdateMuteRuleInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateMuteRuleInvoker) Invoke added in v0.1.13

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL