Documentation ¶
Index ¶
- func AomClientBuilder() *httpclient.HcHttpClientBuilder
- func GenReqDefForAddActionRule() *def.HttpRequestDef
- func GenReqDefForAddAlarmRule() *def.HttpRequestDef
- func GenReqDefForAddEvent2alarmRule() *def.HttpRequestDef
- func GenReqDefForAddMetricData() *def.HttpRequestDef
- func GenReqDefForAddMuteRules() *def.HttpRequestDef
- func GenReqDefForAddOrUpdateServiceDiscoveryRules() *def.HttpRequestDef
- func GenReqDefForCountEvents() *def.HttpRequestDef
- func GenReqDefForCreatePromInstance() *def.HttpRequestDef
- func GenReqDefForCreateRecordingRule() *def.HttpRequestDef
- func GenReqDefForDeleteActionRule() *def.HttpRequestDef
- func GenReqDefForDeleteAlarmRule() *def.HttpRequestDef
- func GenReqDefForDeleteAlarmRules() *def.HttpRequestDef
- func GenReqDefForDeleteEvent2alarmRule() *def.HttpRequestDef
- func GenReqDefForDeleteMuteRules() *def.HttpRequestDef
- func GenReqDefForDeletePromInstance() *def.HttpRequestDef
- func GenReqDefForDeleteserviceDiscoveryRules() *def.HttpRequestDef
- func GenReqDefForListAccessCode() *def.HttpRequestDef
- func GenReqDefForListActionRule() *def.HttpRequestDef
- func GenReqDefForListAgents() *def.HttpRequestDef
- func GenReqDefForListAlarmRule() *def.HttpRequestDef
- func GenReqDefForListEvent2alarmRule() *def.HttpRequestDef
- func GenReqDefForListEvents() *def.HttpRequestDef
- func GenReqDefForListInstantQueryAomPromGet() *def.HttpRequestDef
- func GenReqDefForListInstantQueryAomPromPost() *def.HttpRequestDef
- func GenReqDefForListLabelValuesAomPromGet() *def.HttpRequestDef
- func GenReqDefForListLabelsAomPromGet() *def.HttpRequestDef
- func GenReqDefForListLabelsAomPromPost() *def.HttpRequestDef
- func GenReqDefForListLogItems() *def.HttpRequestDef
- func GenReqDefForListMetadataAomPromGet() *def.HttpRequestDef
- func GenReqDefForListMetricItems() *def.HttpRequestDef
- func GenReqDefForListMuteRule() *def.HttpRequestDef
- func GenReqDefForListNotifiedHistories() *def.HttpRequestDef
- func GenReqDefForListPermissions() *def.HttpRequestDef
- func GenReqDefForListPromInstance() *def.HttpRequestDef
- func GenReqDefForListRangeQueryAomPromGet() *def.HttpRequestDef
- func GenReqDefForListRangeQueryAomPromPost() *def.HttpRequestDef
- func GenReqDefForListSample() *def.HttpRequestDef
- func GenReqDefForListSeries() *def.HttpRequestDef
- func GenReqDefForListServiceDiscoveryRules() *def.HttpRequestDef
- func GenReqDefForPushEvents() *def.HttpRequestDef
- func GenReqDefForShowActionRule() *def.HttpRequestDef
- func GenReqDefForShowAlarmRule() *def.HttpRequestDef
- func GenReqDefForShowMetricsData() *def.HttpRequestDef
- func GenReqDefForUpdateActionRule() *def.HttpRequestDef
- func GenReqDefForUpdateAlarmRule() *def.HttpRequestDef
- func GenReqDefForUpdateEventRule() *def.HttpRequestDef
- func GenReqDefForUpdateMuteRule() *def.HttpRequestDef
- type AddActionRuleInvoker
- type AddAlarmRuleInvoker
- type AddEvent2alarmRuleInvoker
- type AddMetricDataInvoker
- type AddMuteRulesInvoker
- type AddOrUpdateServiceDiscoveryRulesInvoker
- type AomClient
- func (c *AomClient) AddActionRule(request *model.AddActionRuleRequest) (*model.AddActionRuleResponse, error)
- func (c *AomClient) AddActionRuleInvoker(request *model.AddActionRuleRequest) *AddActionRuleInvoker
- func (c *AomClient) AddAlarmRule(request *model.AddAlarmRuleRequest) (*model.AddAlarmRuleResponse, error)
- func (c *AomClient) AddAlarmRuleInvoker(request *model.AddAlarmRuleRequest) *AddAlarmRuleInvoker
- func (c *AomClient) AddEvent2alarmRule(request *model.AddEvent2alarmRuleRequest) (*model.AddEvent2alarmRuleResponse, error)
- func (c *AomClient) AddEvent2alarmRuleInvoker(request *model.AddEvent2alarmRuleRequest) *AddEvent2alarmRuleInvoker
- func (c *AomClient) AddMetricData(request *model.AddMetricDataRequest) (*model.AddMetricDataResponse, error)
- func (c *AomClient) AddMetricDataInvoker(request *model.AddMetricDataRequest) *AddMetricDataInvoker
- func (c *AomClient) AddMuteRules(request *model.AddMuteRulesRequest) (*model.AddMuteRulesResponse, error)
- func (c *AomClient) AddMuteRulesInvoker(request *model.AddMuteRulesRequest) *AddMuteRulesInvoker
- func (c *AomClient) AddOrUpdateServiceDiscoveryRules(request *model.AddOrUpdateServiceDiscoveryRulesRequest) (*model.AddOrUpdateServiceDiscoveryRulesResponse, error)
- func (c *AomClient) AddOrUpdateServiceDiscoveryRulesInvoker(request *model.AddOrUpdateServiceDiscoveryRulesRequest) *AddOrUpdateServiceDiscoveryRulesInvoker
- func (c *AomClient) CountEvents(request *model.CountEventsRequest) (*model.CountEventsResponse, error)
- func (c *AomClient) CountEventsInvoker(request *model.CountEventsRequest) *CountEventsInvoker
- func (c *AomClient) CreatePromInstance(request *model.CreatePromInstanceRequest) (*model.CreatePromInstanceResponse, error)
- func (c *AomClient) CreatePromInstanceInvoker(request *model.CreatePromInstanceRequest) *CreatePromInstanceInvoker
- func (c *AomClient) CreateRecordingRule(request *model.CreateRecordingRuleRequest) (*model.CreateRecordingRuleResponse, error)
- func (c *AomClient) CreateRecordingRuleInvoker(request *model.CreateRecordingRuleRequest) *CreateRecordingRuleInvoker
- func (c *AomClient) DeleteActionRule(request *model.DeleteActionRuleRequest) (*model.DeleteActionRuleResponse, error)
- func (c *AomClient) DeleteActionRuleInvoker(request *model.DeleteActionRuleRequest) *DeleteActionRuleInvoker
- func (c *AomClient) DeleteAlarmRule(request *model.DeleteAlarmRuleRequest) (*model.DeleteAlarmRuleResponse, error)
- func (c *AomClient) DeleteAlarmRuleInvoker(request *model.DeleteAlarmRuleRequest) *DeleteAlarmRuleInvoker
- func (c *AomClient) DeleteAlarmRules(request *model.DeleteAlarmRulesRequest) (*model.DeleteAlarmRulesResponse, error)
- func (c *AomClient) DeleteAlarmRulesInvoker(request *model.DeleteAlarmRulesRequest) *DeleteAlarmRulesInvoker
- func (c *AomClient) DeleteEvent2alarmRule(request *model.DeleteEvent2alarmRuleRequest) (*model.DeleteEvent2alarmRuleResponse, error)
- func (c *AomClient) DeleteEvent2alarmRuleInvoker(request *model.DeleteEvent2alarmRuleRequest) *DeleteEvent2alarmRuleInvoker
- func (c *AomClient) DeleteMuteRules(request *model.DeleteMuteRulesRequest) (*model.DeleteMuteRulesResponse, error)
- func (c *AomClient) DeleteMuteRulesInvoker(request *model.DeleteMuteRulesRequest) *DeleteMuteRulesInvoker
- func (c *AomClient) DeletePromInstance(request *model.DeletePromInstanceRequest) (*model.DeletePromInstanceResponse, error)
- func (c *AomClient) DeletePromInstanceInvoker(request *model.DeletePromInstanceRequest) *DeletePromInstanceInvoker
- func (c *AomClient) DeleteserviceDiscoveryRules(request *model.DeleteserviceDiscoveryRulesRequest) (*model.DeleteserviceDiscoveryRulesResponse, error)
- func (c *AomClient) DeleteserviceDiscoveryRulesInvoker(request *model.DeleteserviceDiscoveryRulesRequest) *DeleteserviceDiscoveryRulesInvoker
- func (c *AomClient) ListAccessCode(request *model.ListAccessCodeRequest) (*model.ListAccessCodeResponse, error)
- func (c *AomClient) ListAccessCodeInvoker(request *model.ListAccessCodeRequest) *ListAccessCodeInvoker
- func (c *AomClient) ListActionRule(request *model.ListActionRuleRequest) (*model.ListActionRuleResponse, error)
- func (c *AomClient) ListActionRuleInvoker(request *model.ListActionRuleRequest) *ListActionRuleInvoker
- func (c *AomClient) ListAgents(request *model.ListAgentsRequest) (*model.ListAgentsResponse, error)
- func (c *AomClient) ListAgentsInvoker(request *model.ListAgentsRequest) *ListAgentsInvoker
- func (c *AomClient) ListAlarmRule(request *model.ListAlarmRuleRequest) (*model.ListAlarmRuleResponse, error)
- func (c *AomClient) ListAlarmRuleInvoker(request *model.ListAlarmRuleRequest) *ListAlarmRuleInvoker
- func (c *AomClient) ListEvent2alarmRule(request *model.ListEvent2alarmRuleRequest) (*model.ListEvent2alarmRuleResponse, error)
- func (c *AomClient) ListEvent2alarmRuleInvoker(request *model.ListEvent2alarmRuleRequest) *ListEvent2alarmRuleInvoker
- func (c *AomClient) ListEvents(request *model.ListEventsRequest) (*model.ListEventsResponse, error)
- func (c *AomClient) ListEventsInvoker(request *model.ListEventsRequest) *ListEventsInvoker
- func (c *AomClient) ListInstantQueryAomPromGet(request *model.ListInstantQueryAomPromGetRequest) (*model.ListInstantQueryAomPromGetResponse, error)
- func (c *AomClient) ListInstantQueryAomPromGetInvoker(request *model.ListInstantQueryAomPromGetRequest) *ListInstantQueryAomPromGetInvoker
- func (c *AomClient) ListInstantQueryAomPromPost(request *model.ListInstantQueryAomPromPostRequest) (*model.ListInstantQueryAomPromPostResponse, error)
- func (c *AomClient) ListInstantQueryAomPromPostInvoker(request *model.ListInstantQueryAomPromPostRequest) *ListInstantQueryAomPromPostInvoker
- func (c *AomClient) ListLabelValuesAomPromGet(request *model.ListLabelValuesAomPromGetRequest) (*model.ListLabelValuesAomPromGetResponse, error)
- func (c *AomClient) ListLabelValuesAomPromGetInvoker(request *model.ListLabelValuesAomPromGetRequest) *ListLabelValuesAomPromGetInvoker
- func (c *AomClient) ListLabelsAomPromGet(request *model.ListLabelsAomPromGetRequest) (*model.ListLabelsAomPromGetResponse, error)
- func (c *AomClient) ListLabelsAomPromGetInvoker(request *model.ListLabelsAomPromGetRequest) *ListLabelsAomPromGetInvoker
- func (c *AomClient) ListLabelsAomPromPost(request *model.ListLabelsAomPromPostRequest) (*model.ListLabelsAomPromPostResponse, error)
- func (c *AomClient) ListLabelsAomPromPostInvoker(request *model.ListLabelsAomPromPostRequest) *ListLabelsAomPromPostInvoker
- func (c *AomClient) ListLogItems(request *model.ListLogItemsRequest) (*model.ListLogItemsResponse, error)
- func (c *AomClient) ListLogItemsInvoker(request *model.ListLogItemsRequest) *ListLogItemsInvoker
- func (c *AomClient) ListMetadataAomPromGet(request *model.ListMetadataAomPromGetRequest) (*model.ListMetadataAomPromGetResponse, error)
- func (c *AomClient) ListMetadataAomPromGetInvoker(request *model.ListMetadataAomPromGetRequest) *ListMetadataAomPromGetInvoker
- func (c *AomClient) ListMetricItems(request *model.ListMetricItemsRequest) (*model.ListMetricItemsResponse, error)
- func (c *AomClient) ListMetricItemsInvoker(request *model.ListMetricItemsRequest) *ListMetricItemsInvoker
- func (c *AomClient) ListMuteRule(request *model.ListMuteRuleRequest) (*model.ListMuteRuleResponse, error)
- func (c *AomClient) ListMuteRuleInvoker(request *model.ListMuteRuleRequest) *ListMuteRuleInvoker
- func (c *AomClient) ListNotifiedHistories(request *model.ListNotifiedHistoriesRequest) (*model.ListNotifiedHistoriesResponse, error)
- func (c *AomClient) ListNotifiedHistoriesInvoker(request *model.ListNotifiedHistoriesRequest) *ListNotifiedHistoriesInvoker
- func (c *AomClient) ListPermissions(request *model.ListPermissionsRequest) (*model.ListPermissionsResponse, error)
- func (c *AomClient) ListPermissionsInvoker(request *model.ListPermissionsRequest) *ListPermissionsInvoker
- func (c *AomClient) ListPromInstance(request *model.ListPromInstanceRequest) (*model.ListPromInstanceResponse, error)
- func (c *AomClient) ListPromInstanceInvoker(request *model.ListPromInstanceRequest) *ListPromInstanceInvoker
- func (c *AomClient) ListRangeQueryAomPromGet(request *model.ListRangeQueryAomPromGetRequest) (*model.ListRangeQueryAomPromGetResponse, error)
- func (c *AomClient) ListRangeQueryAomPromGetInvoker(request *model.ListRangeQueryAomPromGetRequest) *ListRangeQueryAomPromGetInvoker
- func (c *AomClient) ListRangeQueryAomPromPost(request *model.ListRangeQueryAomPromPostRequest) (*model.ListRangeQueryAomPromPostResponse, error)
- func (c *AomClient) ListRangeQueryAomPromPostInvoker(request *model.ListRangeQueryAomPromPostRequest) *ListRangeQueryAomPromPostInvoker
- func (c *AomClient) ListSample(request *model.ListSampleRequest) (*model.ListSampleResponse, error)
- func (c *AomClient) ListSampleInvoker(request *model.ListSampleRequest) *ListSampleInvoker
- func (c *AomClient) ListSeries(request *model.ListSeriesRequest) (*model.ListSeriesResponse, error)
- func (c *AomClient) ListSeriesInvoker(request *model.ListSeriesRequest) *ListSeriesInvoker
- func (c *AomClient) ListServiceDiscoveryRules(request *model.ListServiceDiscoveryRulesRequest) (*model.ListServiceDiscoveryRulesResponse, error)
- func (c *AomClient) ListServiceDiscoveryRulesInvoker(request *model.ListServiceDiscoveryRulesRequest) *ListServiceDiscoveryRulesInvoker
- func (c *AomClient) PushEvents(request *model.PushEventsRequest) (*model.PushEventsResponse, error)
- func (c *AomClient) PushEventsInvoker(request *model.PushEventsRequest) *PushEventsInvoker
- func (c *AomClient) ShowActionRule(request *model.ShowActionRuleRequest) (*model.ShowActionRuleResponse, error)
- func (c *AomClient) ShowActionRuleInvoker(request *model.ShowActionRuleRequest) *ShowActionRuleInvoker
- func (c *AomClient) ShowAlarmRule(request *model.ShowAlarmRuleRequest) (*model.ShowAlarmRuleResponse, error)
- func (c *AomClient) ShowAlarmRuleInvoker(request *model.ShowAlarmRuleRequest) *ShowAlarmRuleInvoker
- func (c *AomClient) ShowMetricsData(request *model.ShowMetricsDataRequest) (*model.ShowMetricsDataResponse, error)
- func (c *AomClient) ShowMetricsDataInvoker(request *model.ShowMetricsDataRequest) *ShowMetricsDataInvoker
- func (c *AomClient) UpdateActionRule(request *model.UpdateActionRuleRequest) (*model.UpdateActionRuleResponse, error)
- func (c *AomClient) UpdateActionRuleInvoker(request *model.UpdateActionRuleRequest) *UpdateActionRuleInvoker
- func (c *AomClient) UpdateAlarmRule(request *model.UpdateAlarmRuleRequest) (*model.UpdateAlarmRuleResponse, error)
- func (c *AomClient) UpdateAlarmRuleInvoker(request *model.UpdateAlarmRuleRequest) *UpdateAlarmRuleInvoker
- func (c *AomClient) UpdateEventRule(request *model.UpdateEventRuleRequest) (*model.UpdateEventRuleResponse, error)
- func (c *AomClient) UpdateEventRuleInvoker(request *model.UpdateEventRuleRequest) *UpdateEventRuleInvoker
- func (c *AomClient) UpdateMuteRule(request *model.UpdateMuteRuleRequest) (*model.UpdateMuteRuleResponse, error)
- func (c *AomClient) UpdateMuteRuleInvoker(request *model.UpdateMuteRuleRequest) *UpdateMuteRuleInvoker
- type CountEventsInvoker
- type CreatePromInstanceInvoker
- type CreateRecordingRuleInvoker
- type DeleteActionRuleInvoker
- type DeleteAlarmRuleInvoker
- type DeleteAlarmRulesInvoker
- type DeleteEvent2alarmRuleInvoker
- type DeleteMuteRulesInvoker
- type DeletePromInstanceInvoker
- type DeleteserviceDiscoveryRulesInvoker
- type ListAccessCodeInvoker
- type ListActionRuleInvoker
- type ListAgentsInvoker
- type ListAlarmRuleInvoker
- type ListEvent2alarmRuleInvoker
- type ListEventsInvoker
- type ListInstantQueryAomPromGetInvoker
- type ListInstantQueryAomPromPostInvoker
- type ListLabelValuesAomPromGetInvoker
- type ListLabelsAomPromGetInvoker
- type ListLabelsAomPromPostInvoker
- type ListLogItemsInvoker
- type ListMetadataAomPromGetInvoker
- type ListMetricItemsInvoker
- type ListMuteRuleInvoker
- type ListNotifiedHistoriesInvoker
- type ListPermissionsInvoker
- type ListPromInstanceInvoker
- type ListRangeQueryAomPromGetInvoker
- type ListRangeQueryAomPromPostInvoker
- type ListSampleInvoker
- type ListSeriesInvoker
- type ListServiceDiscoveryRulesInvoker
- type PushEventsInvoker
- type ShowActionRuleInvoker
- type ShowAlarmRuleInvoker
- type ShowMetricsDataInvoker
- type UpdateActionRuleInvoker
- type UpdateAlarmRuleInvoker
- type UpdateEventRuleInvoker
- type UpdateMuteRuleInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AomClientBuilder ¶
func AomClientBuilder() *httpclient.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 GenReqDefForCreatePromInstance ¶ added in v0.1.68
func GenReqDefForCreatePromInstance() *def.HttpRequestDef
func GenReqDefForCreateRecordingRule ¶ added in v0.1.68
func GenReqDefForCreateRecordingRule() *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 GenReqDefForDeletePromInstance ¶ added in v0.1.68
func GenReqDefForDeletePromInstance() *def.HttpRequestDef
func GenReqDefForDeleteserviceDiscoveryRules ¶
func GenReqDefForDeleteserviceDiscoveryRules() *def.HttpRequestDef
func GenReqDefForListAccessCode ¶ added in v0.1.68
func GenReqDefForListAccessCode() *def.HttpRequestDef
func GenReqDefForListActionRule ¶ added in v0.1.13
func GenReqDefForListActionRule() *def.HttpRequestDef
func GenReqDefForListAgents ¶ added in v0.1.68
func GenReqDefForListAgents() *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 GenReqDefForListPermissions ¶ added in v0.1.68
func GenReqDefForListPermissions() *def.HttpRequestDef
func GenReqDefForListPromInstance ¶ added in v0.1.68
func GenReqDefForListPromInstance() *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
func (i *AddActionRuleInvoker) Invoke() (*model.AddActionRuleResponse, error)
type AddAlarmRuleInvoker ¶ added in v0.0.90
type AddAlarmRuleInvoker struct {
*invoker.BaseInvoker
}
func (*AddAlarmRuleInvoker) Invoke ¶ added in v0.0.90
func (i *AddAlarmRuleInvoker) Invoke() (*model.AddAlarmRuleResponse, error)
type AddEvent2alarmRuleInvoker ¶ added in v0.1.13
type AddEvent2alarmRuleInvoker struct {
*invoker.BaseInvoker
}
func (*AddEvent2alarmRuleInvoker) Invoke ¶ added in v0.1.13
func (i *AddEvent2alarmRuleInvoker) Invoke() (*model.AddEvent2alarmRuleResponse, error)
type AddMetricDataInvoker ¶ added in v0.0.90
type AddMetricDataInvoker struct {
*invoker.BaseInvoker
}
func (*AddMetricDataInvoker) Invoke ¶ added in v0.0.90
func (i *AddMetricDataInvoker) Invoke() (*model.AddMetricDataResponse, error)
type AddMuteRulesInvoker ¶ added in v0.1.13
type AddMuteRulesInvoker struct {
*invoker.BaseInvoker
}
func (*AddMuteRulesInvoker) Invoke ¶ added in v0.1.13
func (i *AddMuteRulesInvoker) Invoke() (*model.AddMuteRulesResponse, error)
type AddOrUpdateServiceDiscoveryRulesInvoker ¶ added in v0.0.90
type AddOrUpdateServiceDiscoveryRulesInvoker struct {
*invoker.BaseInvoker
}
func (*AddOrUpdateServiceDiscoveryRulesInvoker) Invoke ¶ added in v0.0.90
func (i *AddOrUpdateServiceDiscoveryRulesInvoker) Invoke() (*model.AddOrUpdateServiceDiscoveryRulesResponse, error)
type AomClient ¶
type AomClient struct {
HcClient *httpclient.HcHttpClient
}
func NewAomClient ¶
func NewAomClient(hcClient *httpclient.HcHttpClient) *AomClient
func (*AomClient) AddActionRule ¶ added in v0.1.13
func (c *AomClient) AddActionRule(request *model.AddActionRuleRequest) (*model.AddActionRuleResponse, error)
AddActionRule 新增告警行动规则
新增告警行动规则。
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 添加阈值规则
该接口用于添加一条阈值规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
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 新增一条事件类告警规则
新增一条事件类告警规则。
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 添加监控数据
该接口用于向服务端添加一条或多条监控数据。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
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 新增静默规则
新增静默规则。
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 ¶
func (c *AomClient) AddOrUpdateServiceDiscoveryRules(request *model.AddOrUpdateServiceDiscoveryRulesRequest) (*model.AddOrUpdateServiceDiscoveryRulesResponse, error)
AddOrUpdateServiceDiscoveryRules 添加或修改服务发现规则
该接口用于添加或修改一条或多条服务发现规则。同一projectid下可添加的规则上限为100条。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
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) CreatePromInstance ¶ added in v0.1.68
func (c *AomClient) CreatePromInstance(request *model.CreatePromInstanceRequest) (*model.CreatePromInstanceResponse, error)
CreatePromInstance 新增Prometheus实例
该接口用于新增Prometheus实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*AomClient) CreatePromInstanceInvoker ¶ added in v0.1.68
func (c *AomClient) CreatePromInstanceInvoker(request *model.CreatePromInstanceRequest) *CreatePromInstanceInvoker
CreatePromInstanceInvoker 新增Prometheus实例
func (*AomClient) CreateRecordingRule ¶ added in v0.1.68
func (c *AomClient) CreateRecordingRule(request *model.CreateRecordingRuleRequest) (*model.CreateRecordingRuleResponse, error)
CreateRecordingRule 创建Prometheus实例的预聚合规则
该接口用于给Prometheus实例创建预聚合规则。
Please refer to HUAWEI cloud API Explorer for details.
func (*AomClient) CreateRecordingRuleInvoker ¶ added in v0.1.68
func (c *AomClient) CreateRecordingRuleInvoker(request *model.CreateRecordingRuleRequest) *CreateRecordingRuleInvoker
CreateRecordingRuleInvoker 创建Prometheus实例的预聚合规则
func (*AomClient) DeleteActionRule ¶ added in v0.1.13
func (c *AomClient) DeleteActionRule(request *model.DeleteActionRuleRequest) (*model.DeleteActionRuleResponse, error)
DeleteActionRule 删除告警行动规则
删除告警行动规则。
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 删除阈值规则
该接口用于删除阈值规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
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 批量删除阈值规则
批量删除阈值规则[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
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
func (c *AomClient) DeleteEvent2alarmRule(request *model.DeleteEvent2alarmRuleRequest) (*model.DeleteEvent2alarmRuleResponse, error)
DeleteEvent2alarmRule 删除事件类告警规则
删除一条事件类告警规则。
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 删除静默规则
删除静默规则。
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) DeletePromInstance ¶ added in v0.1.68
func (c *AomClient) DeletePromInstance(request *model.DeletePromInstanceRequest) (*model.DeletePromInstanceResponse, error)
DeletePromInstance 卸载托管Prometheus实例
该接口用于卸载托管Prometheus实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*AomClient) DeletePromInstanceInvoker ¶ added in v0.1.68
func (c *AomClient) DeletePromInstanceInvoker(request *model.DeletePromInstanceRequest) *DeletePromInstanceInvoker
DeletePromInstanceInvoker 卸载托管Prometheus实例
func (*AomClient) DeleteserviceDiscoveryRules ¶
func (c *AomClient) DeleteserviceDiscoveryRules(request *model.DeleteserviceDiscoveryRulesRequest) (*model.DeleteserviceDiscoveryRulesResponse, error)
DeleteserviceDiscoveryRules 删除服务发现规则
该接口用于删除服务发现规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
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) ListAccessCode ¶ added in v0.1.68
func (c *AomClient) ListAccessCode(request *model.ListAccessCodeRequest) (*model.ListAccessCodeResponse, error)
ListAccessCode 获取Prometheus实例调用凭证
该接口用于获取Prometheus实例调用凭证。
Please refer to HUAWEI cloud API Explorer for details.
func (*AomClient) ListAccessCodeInvoker ¶ added in v0.1.68
func (c *AomClient) ListAccessCodeInvoker(request *model.ListAccessCodeRequest) *ListAccessCodeInvoker
ListAccessCodeInvoker 获取Prometheus实例调用凭证
func (*AomClient) ListActionRule ¶ added in v0.1.13
func (c *AomClient) ListActionRule(request *model.ListActionRuleRequest) (*model.ListActionRuleResponse, error)
ListActionRule 获取告警行动规则列表
获取告警行动规则列表。
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) ListAgents ¶ added in v0.1.68
func (c *AomClient) ListAgents(request *model.ListAgentsRequest) (*model.ListAgentsResponse, error)
ListAgents 查询集群主机安装的ICAgent信息
该接口用于查询集群主机安装的ICAgent信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*AomClient) ListAgentsInvoker ¶ added in v0.1.68
func (c *AomClient) ListAgentsInvoker(request *model.ListAgentsRequest) *ListAgentsInvoker
ListAgentsInvoker 查询集群主机安装的ICAgent信息
func (*AomClient) ListAlarmRule ¶
func (c *AomClient) ListAlarmRule(request *model.ListAlarmRuleRequest) (*model.ListAlarmRuleResponse, error)
ListAlarmRule 查询阈值规则列表
该接口用于查询阈值规则列表。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
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
func (c *AomClient) ListEvent2alarmRule(request *model.ListEvent2alarmRuleRequest) (*model.ListEvent2alarmRuleResponse, error)
ListEvent2alarmRule 查询事件类告警规则列表
查询事件类告警规则列表。
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 ¶
func (c *AomClient) ListInstantQueryAomPromGet(request *model.ListInstantQueryAomPromGetRequest) (*model.ListInstantQueryAomPromGetResponse, error)
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 ¶
func (c *AomClient) ListInstantQueryAomPromPost(request *model.ListInstantQueryAomPromPostRequest) (*model.ListInstantQueryAomPromPostResponse, error)
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 ¶
func (c *AomClient) ListLabelValuesAomPromGet(request *model.ListLabelValuesAomPromGetRequest) (*model.ListLabelValuesAomPromGetResponse, error)
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 ¶
func (c *AomClient) ListLabelsAomPromGet(request *model.ListLabelsAomPromGetRequest) (*model.ListLabelsAomPromGetResponse, error)
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 ¶
func (c *AomClient) ListLabelsAomPromPost(request *model.ListLabelsAomPromPostRequest) (*model.ListLabelsAomPromPostResponse, error)
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 ¶
func (c *AomClient) ListMetadataAomPromGet(request *model.ListMetadataAomPromGetRequest) (*model.ListMetadataAomPromGetResponse, error)
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),分页查询的起始位置和返回的最大记录条数。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
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 获取静默规则列表
获取静默规则列表。
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
func (c *AomClient) ListNotifiedHistories(request *model.ListNotifiedHistoriesRequest) (*model.ListNotifiedHistoriesResponse, error)
ListNotifiedHistories 获取告警发送结果
获取告警发送结果。
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) ListPermissions ¶ added in v0.1.68
func (c *AomClient) ListPermissions(request *model.ListPermissionsRequest) (*model.ListPermissionsResponse, error)
ListPermissions 查询aom2.0相关云服务授权信息
该接口用于查询aom2.0相关云服务授权信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*AomClient) ListPermissionsInvoker ¶ added in v0.1.68
func (c *AomClient) ListPermissionsInvoker(request *model.ListPermissionsRequest) *ListPermissionsInvoker
ListPermissionsInvoker 查询aom2.0相关云服务授权信息
func (*AomClient) ListPromInstance ¶ added in v0.1.68
func (c *AomClient) ListPromInstance(request *model.ListPromInstanceRequest) (*model.ListPromInstanceResponse, error)
ListPromInstance 查询Prometheus实例
该接口用于查询Prometheus实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*AomClient) ListPromInstanceInvoker ¶ added in v0.1.68
func (c *AomClient) ListPromInstanceInvoker(request *model.ListPromInstanceRequest) *ListPromInstanceInvoker
ListPromInstanceInvoker 查询Prometheus实例
func (*AomClient) ListRangeQueryAomPromGet ¶
func (c *AomClient) ListRangeQueryAomPromGet(request *model.ListRangeQueryAomPromGetRequest) (*model.ListRangeQueryAomPromGetResponse, error)
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 ¶
func (c *AomClient) ListRangeQueryAomPromPost(request *model.ListRangeQueryAomPromPostRequest) (*model.ListRangeQueryAomPromPostResponse, error)
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 查询时序数据
该接口用于查询指定时间范围内的监控时序数据,可以通过参数指定需要查询的数据维度,数据周期等。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
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),分页查询的起始位置和返回的最大记录条数。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
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 ¶
func (c *AomClient) ListServiceDiscoveryRules(request *model.ListServiceDiscoveryRulesRequest) (*model.ListServiceDiscoveryRulesResponse, error)
ListServiceDiscoveryRules 查询系统中已有服务发现规则
该接口用于查询系统当前已存在的服务发现规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
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 通过规则名称获取告警行动规则
通过规则名称获取告警行动规则。
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 查询单条阈值规则
该接口用于查询单条阈值规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
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 查询监控数据
该接口用于查询指定时间范围内指标的监控数据,可以通过参数指定需要查询的数据维度,数据周期等。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
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 修改告警行动规则
修改告警行动规则。
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 修改阈值规则
该接口用于修改一条阈值规则。[(当前接口未上线墨西哥城二、圣地亚哥、圣保罗一)](tag:hws,hws_hk)
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 更新事件类告警规则
更新事件类告警规则。
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 修改静默规则
修改静默规则。
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
func (i *CountEventsInvoker) Invoke() (*model.CountEventsResponse, error)
type CreatePromInstanceInvoker ¶ added in v0.1.68
type CreatePromInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*CreatePromInstanceInvoker) Invoke ¶ added in v0.1.68
func (i *CreatePromInstanceInvoker) Invoke() (*model.CreatePromInstanceResponse, error)
type CreateRecordingRuleInvoker ¶ added in v0.1.68
type CreateRecordingRuleInvoker struct {
*invoker.BaseInvoker
}
func (*CreateRecordingRuleInvoker) Invoke ¶ added in v0.1.68
func (i *CreateRecordingRuleInvoker) Invoke() (*model.CreateRecordingRuleResponse, error)
type DeleteActionRuleInvoker ¶ added in v0.1.13
type DeleteActionRuleInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteActionRuleInvoker) Invoke ¶ added in v0.1.13
func (i *DeleteActionRuleInvoker) Invoke() (*model.DeleteActionRuleResponse, error)
type DeleteAlarmRuleInvoker ¶ added in v0.0.90
type DeleteAlarmRuleInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteAlarmRuleInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteAlarmRuleInvoker) Invoke() (*model.DeleteAlarmRuleResponse, error)
type DeleteAlarmRulesInvoker ¶ added in v0.0.90
type DeleteAlarmRulesInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteAlarmRulesInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteAlarmRulesInvoker) Invoke() (*model.DeleteAlarmRulesResponse, error)
type DeleteEvent2alarmRuleInvoker ¶ added in v0.1.13
type DeleteEvent2alarmRuleInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteEvent2alarmRuleInvoker) Invoke ¶ added in v0.1.13
func (i *DeleteEvent2alarmRuleInvoker) Invoke() (*model.DeleteEvent2alarmRuleResponse, error)
type DeleteMuteRulesInvoker ¶ added in v0.1.13
type DeleteMuteRulesInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteMuteRulesInvoker) Invoke ¶ added in v0.1.13
func (i *DeleteMuteRulesInvoker) Invoke() (*model.DeleteMuteRulesResponse, error)
type DeletePromInstanceInvoker ¶ added in v0.1.68
type DeletePromInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*DeletePromInstanceInvoker) Invoke ¶ added in v0.1.68
func (i *DeletePromInstanceInvoker) Invoke() (*model.DeletePromInstanceResponse, error)
type DeleteserviceDiscoveryRulesInvoker ¶ added in v0.0.90
type DeleteserviceDiscoveryRulesInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteserviceDiscoveryRulesInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteserviceDiscoveryRulesInvoker) Invoke() (*model.DeleteserviceDiscoveryRulesResponse, error)
type ListAccessCodeInvoker ¶ added in v0.1.68
type ListAccessCodeInvoker struct {
*invoker.BaseInvoker
}
func (*ListAccessCodeInvoker) Invoke ¶ added in v0.1.68
func (i *ListAccessCodeInvoker) Invoke() (*model.ListAccessCodeResponse, error)
type ListActionRuleInvoker ¶ added in v0.1.13
type ListActionRuleInvoker struct {
*invoker.BaseInvoker
}
func (*ListActionRuleInvoker) Invoke ¶ added in v0.1.13
func (i *ListActionRuleInvoker) Invoke() (*model.ListActionRuleResponse, error)
type ListAgentsInvoker ¶ added in v0.1.68
type ListAgentsInvoker struct {
*invoker.BaseInvoker
}
func (*ListAgentsInvoker) Invoke ¶ added in v0.1.68
func (i *ListAgentsInvoker) Invoke() (*model.ListAgentsResponse, error)
type ListAlarmRuleInvoker ¶ added in v0.0.90
type ListAlarmRuleInvoker struct {
*invoker.BaseInvoker
}
func (*ListAlarmRuleInvoker) Invoke ¶ added in v0.0.90
func (i *ListAlarmRuleInvoker) Invoke() (*model.ListAlarmRuleResponse, error)
type ListEvent2alarmRuleInvoker ¶ added in v0.1.13
type ListEvent2alarmRuleInvoker struct {
*invoker.BaseInvoker
}
func (*ListEvent2alarmRuleInvoker) Invoke ¶ added in v0.1.13
func (i *ListEvent2alarmRuleInvoker) Invoke() (*model.ListEvent2alarmRuleResponse, error)
type ListEventsInvoker ¶ added in v0.0.90
type ListEventsInvoker struct {
*invoker.BaseInvoker
}
func (*ListEventsInvoker) Invoke ¶ added in v0.0.90
func (i *ListEventsInvoker) Invoke() (*model.ListEventsResponse, error)
type ListInstantQueryAomPromGetInvoker ¶ added in v0.0.90
type ListInstantQueryAomPromGetInvoker struct {
*invoker.BaseInvoker
}
func (*ListInstantQueryAomPromGetInvoker) Invoke ¶ added in v0.0.90
func (i *ListInstantQueryAomPromGetInvoker) Invoke() (*model.ListInstantQueryAomPromGetResponse, error)
type ListInstantQueryAomPromPostInvoker ¶ added in v0.0.90
type ListInstantQueryAomPromPostInvoker struct {
*invoker.BaseInvoker
}
func (*ListInstantQueryAomPromPostInvoker) Invoke ¶ added in v0.0.90
func (i *ListInstantQueryAomPromPostInvoker) Invoke() (*model.ListInstantQueryAomPromPostResponse, error)
type ListLabelValuesAomPromGetInvoker ¶ added in v0.0.90
type ListLabelValuesAomPromGetInvoker struct {
*invoker.BaseInvoker
}
func (*ListLabelValuesAomPromGetInvoker) Invoke ¶ added in v0.0.90
func (i *ListLabelValuesAomPromGetInvoker) Invoke() (*model.ListLabelValuesAomPromGetResponse, error)
type ListLabelsAomPromGetInvoker ¶ added in v0.0.90
type ListLabelsAomPromGetInvoker struct {
*invoker.BaseInvoker
}
func (*ListLabelsAomPromGetInvoker) Invoke ¶ added in v0.0.90
func (i *ListLabelsAomPromGetInvoker) Invoke() (*model.ListLabelsAomPromGetResponse, error)
type ListLabelsAomPromPostInvoker ¶ added in v0.0.90
type ListLabelsAomPromPostInvoker struct {
*invoker.BaseInvoker
}
func (*ListLabelsAomPromPostInvoker) Invoke ¶ added in v0.0.90
func (i *ListLabelsAomPromPostInvoker) Invoke() (*model.ListLabelsAomPromPostResponse, error)
type ListLogItemsInvoker ¶ added in v0.0.90
type ListLogItemsInvoker struct {
*invoker.BaseInvoker
}
func (*ListLogItemsInvoker) Invoke ¶ added in v0.0.90
func (i *ListLogItemsInvoker) Invoke() (*model.ListLogItemsResponse, error)
type ListMetadataAomPromGetInvoker ¶ added in v0.0.90
type ListMetadataAomPromGetInvoker struct {
*invoker.BaseInvoker
}
func (*ListMetadataAomPromGetInvoker) Invoke ¶ added in v0.0.90
func (i *ListMetadataAomPromGetInvoker) Invoke() (*model.ListMetadataAomPromGetResponse, error)
type ListMetricItemsInvoker ¶ added in v0.0.90
type ListMetricItemsInvoker struct {
*invoker.BaseInvoker
}
func (*ListMetricItemsInvoker) Invoke ¶ added in v0.0.90
func (i *ListMetricItemsInvoker) Invoke() (*model.ListMetricItemsResponse, error)
type ListMuteRuleInvoker ¶ added in v0.1.13
type ListMuteRuleInvoker struct {
*invoker.BaseInvoker
}
func (*ListMuteRuleInvoker) Invoke ¶ added in v0.1.13
func (i *ListMuteRuleInvoker) Invoke() (*model.ListMuteRuleResponse, error)
type ListNotifiedHistoriesInvoker ¶ added in v0.1.13
type ListNotifiedHistoriesInvoker struct {
*invoker.BaseInvoker
}
func (*ListNotifiedHistoriesInvoker) Invoke ¶ added in v0.1.13
func (i *ListNotifiedHistoriesInvoker) Invoke() (*model.ListNotifiedHistoriesResponse, error)
type ListPermissionsInvoker ¶ added in v0.1.68
type ListPermissionsInvoker struct {
*invoker.BaseInvoker
}
func (*ListPermissionsInvoker) Invoke ¶ added in v0.1.68
func (i *ListPermissionsInvoker) Invoke() (*model.ListPermissionsResponse, error)
type ListPromInstanceInvoker ¶ added in v0.1.68
type ListPromInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*ListPromInstanceInvoker) Invoke ¶ added in v0.1.68
func (i *ListPromInstanceInvoker) Invoke() (*model.ListPromInstanceResponse, error)
type ListRangeQueryAomPromGetInvoker ¶ added in v0.0.90
type ListRangeQueryAomPromGetInvoker struct {
*invoker.BaseInvoker
}
func (*ListRangeQueryAomPromGetInvoker) Invoke ¶ added in v0.0.90
func (i *ListRangeQueryAomPromGetInvoker) Invoke() (*model.ListRangeQueryAomPromGetResponse, error)
type ListRangeQueryAomPromPostInvoker ¶ added in v0.0.90
type ListRangeQueryAomPromPostInvoker struct {
*invoker.BaseInvoker
}
func (*ListRangeQueryAomPromPostInvoker) Invoke ¶ added in v0.0.90
func (i *ListRangeQueryAomPromPostInvoker) Invoke() (*model.ListRangeQueryAomPromPostResponse, error)
type ListSampleInvoker ¶ added in v0.0.90
type ListSampleInvoker struct {
*invoker.BaseInvoker
}
func (*ListSampleInvoker) Invoke ¶ added in v0.0.90
func (i *ListSampleInvoker) Invoke() (*model.ListSampleResponse, error)
type ListSeriesInvoker ¶ added in v0.0.90
type ListSeriesInvoker struct {
*invoker.BaseInvoker
}
func (*ListSeriesInvoker) Invoke ¶ added in v0.0.90
func (i *ListSeriesInvoker) Invoke() (*model.ListSeriesResponse, error)
type ListServiceDiscoveryRulesInvoker ¶ added in v0.0.90
type ListServiceDiscoveryRulesInvoker struct {
*invoker.BaseInvoker
}
func (*ListServiceDiscoveryRulesInvoker) Invoke ¶ added in v0.0.90
func (i *ListServiceDiscoveryRulesInvoker) Invoke() (*model.ListServiceDiscoveryRulesResponse, error)
type PushEventsInvoker ¶ added in v0.0.90
type PushEventsInvoker struct {
*invoker.BaseInvoker
}
func (*PushEventsInvoker) Invoke ¶ added in v0.0.90
func (i *PushEventsInvoker) Invoke() (*model.PushEventsResponse, error)
type ShowActionRuleInvoker ¶ added in v0.1.13
type ShowActionRuleInvoker struct {
*invoker.BaseInvoker
}
func (*ShowActionRuleInvoker) Invoke ¶ added in v0.1.13
func (i *ShowActionRuleInvoker) Invoke() (*model.ShowActionRuleResponse, error)
type ShowAlarmRuleInvoker ¶ added in v0.0.90
type ShowAlarmRuleInvoker struct {
*invoker.BaseInvoker
}
func (*ShowAlarmRuleInvoker) Invoke ¶ added in v0.0.90
func (i *ShowAlarmRuleInvoker) Invoke() (*model.ShowAlarmRuleResponse, error)
type ShowMetricsDataInvoker ¶ added in v0.0.90
type ShowMetricsDataInvoker struct {
*invoker.BaseInvoker
}
func (*ShowMetricsDataInvoker) Invoke ¶ added in v0.0.90
func (i *ShowMetricsDataInvoker) Invoke() (*model.ShowMetricsDataResponse, error)
type UpdateActionRuleInvoker ¶ added in v0.1.13
type UpdateActionRuleInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateActionRuleInvoker) Invoke ¶ added in v0.1.13
func (i *UpdateActionRuleInvoker) Invoke() (*model.UpdateActionRuleResponse, error)
type UpdateAlarmRuleInvoker ¶ added in v0.0.90
type UpdateAlarmRuleInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateAlarmRuleInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateAlarmRuleInvoker) Invoke() (*model.UpdateAlarmRuleResponse, error)
type UpdateEventRuleInvoker ¶ added in v0.1.13
type UpdateEventRuleInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateEventRuleInvoker) Invoke ¶ added in v0.1.13
func (i *UpdateEventRuleInvoker) Invoke() (*model.UpdateEventRuleResponse, error)
type UpdateMuteRuleInvoker ¶ added in v0.1.13
type UpdateMuteRuleInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateMuteRuleInvoker) Invoke ¶ added in v0.1.13
func (i *UpdateMuteRuleInvoker) Invoke() (*model.UpdateMuteRuleResponse, error)