Documentation ¶
Index ¶
- func CesClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForBatchListMetricData() *def.HttpRequestDef
- func GenReqDefForCreateAlarm() *def.HttpRequestDef
- func GenReqDefForCreateAlarmTemplate() *def.HttpRequestDef
- func GenReqDefForCreateEvents() *def.HttpRequestDef
- func GenReqDefForCreateMetricData() *def.HttpRequestDef
- func GenReqDefForCreateResourceGroup() *def.HttpRequestDef
- func GenReqDefForDeleteAlarm() *def.HttpRequestDef
- func GenReqDefForDeleteAlarmTemplate() *def.HttpRequestDef
- func GenReqDefForDeleteResourceGroup() *def.HttpRequestDef
- func GenReqDefForListAlarmHistories() *def.HttpRequestDef
- func GenReqDefForListAlarmTemplates() *def.HttpRequestDef
- func GenReqDefForListAlarms() *def.HttpRequestDef
- func GenReqDefForListEventDetail() *def.HttpRequestDef
- func GenReqDefForListEvents() *def.HttpRequestDef
- func GenReqDefForListMetrics() *def.HttpRequestDef
- func GenReqDefForListResourceGroup() *def.HttpRequestDef
- func GenReqDefForShowAlarm() *def.HttpRequestDef
- func GenReqDefForShowEventData() *def.HttpRequestDef
- func GenReqDefForShowMetricData() *def.HttpRequestDef
- func GenReqDefForShowQuotas() *def.HttpRequestDef
- func GenReqDefForShowResourceGroup() *def.HttpRequestDef
- func GenReqDefForUpdateAlarm() *def.HttpRequestDef
- func GenReqDefForUpdateAlarmAction() *def.HttpRequestDef
- func GenReqDefForUpdateAlarmTemplate() *def.HttpRequestDef
- func GenReqDefForUpdateResourceGroup() *def.HttpRequestDef
- type BatchListMetricDataInvoker
- type CesClient
- func (c *CesClient) BatchListMetricData(request *model.BatchListMetricDataRequest) (*model.BatchListMetricDataResponse, error)
- func (c *CesClient) BatchListMetricDataInvoker(request *model.BatchListMetricDataRequest) *BatchListMetricDataInvoker
- func (c *CesClient) CreateAlarm(request *model.CreateAlarmRequest) (*model.CreateAlarmResponse, error)
- func (c *CesClient) CreateAlarmInvoker(request *model.CreateAlarmRequest) *CreateAlarmInvoker
- func (c *CesClient) CreateAlarmTemplate(request *model.CreateAlarmTemplateRequest) (*model.CreateAlarmTemplateResponse, error)
- func (c *CesClient) CreateAlarmTemplateInvoker(request *model.CreateAlarmTemplateRequest) *CreateAlarmTemplateInvoker
- func (c *CesClient) CreateEvents(request *model.CreateEventsRequest) (*model.CreateEventsResponse, error)
- func (c *CesClient) CreateEventsInvoker(request *model.CreateEventsRequest) *CreateEventsInvoker
- func (c *CesClient) CreateMetricData(request *model.CreateMetricDataRequest) (*model.CreateMetricDataResponse, error)
- func (c *CesClient) CreateMetricDataInvoker(request *model.CreateMetricDataRequest) *CreateMetricDataInvoker
- func (c *CesClient) CreateResourceGroup(request *model.CreateResourceGroupRequest) (*model.CreateResourceGroupResponse, error)
- func (c *CesClient) CreateResourceGroupInvoker(request *model.CreateResourceGroupRequest) *CreateResourceGroupInvoker
- func (c *CesClient) DeleteAlarm(request *model.DeleteAlarmRequest) (*model.DeleteAlarmResponse, error)
- func (c *CesClient) DeleteAlarmInvoker(request *model.DeleteAlarmRequest) *DeleteAlarmInvoker
- func (c *CesClient) DeleteAlarmTemplate(request *model.DeleteAlarmTemplateRequest) (*model.DeleteAlarmTemplateResponse, error)
- func (c *CesClient) DeleteAlarmTemplateInvoker(request *model.DeleteAlarmTemplateRequest) *DeleteAlarmTemplateInvoker
- func (c *CesClient) DeleteResourceGroup(request *model.DeleteResourceGroupRequest) (*model.DeleteResourceGroupResponse, error)
- func (c *CesClient) DeleteResourceGroupInvoker(request *model.DeleteResourceGroupRequest) *DeleteResourceGroupInvoker
- func (c *CesClient) ListAlarmHistories(request *model.ListAlarmHistoriesRequest) (*model.ListAlarmHistoriesResponse, error)
- func (c *CesClient) ListAlarmHistoriesInvoker(request *model.ListAlarmHistoriesRequest) *ListAlarmHistoriesInvoker
- func (c *CesClient) ListAlarmTemplates(request *model.ListAlarmTemplatesRequest) (*model.ListAlarmTemplatesResponse, error)
- func (c *CesClient) ListAlarmTemplatesInvoker(request *model.ListAlarmTemplatesRequest) *ListAlarmTemplatesInvoker
- func (c *CesClient) ListAlarms(request *model.ListAlarmsRequest) (*model.ListAlarmsResponse, error)
- func (c *CesClient) ListAlarmsInvoker(request *model.ListAlarmsRequest) *ListAlarmsInvoker
- func (c *CesClient) ListEventDetail(request *model.ListEventDetailRequest) (*model.ListEventDetailResponse, error)
- func (c *CesClient) ListEventDetailInvoker(request *model.ListEventDetailRequest) *ListEventDetailInvoker
- func (c *CesClient) ListEvents(request *model.ListEventsRequest) (*model.ListEventsResponse, error)
- func (c *CesClient) ListEventsInvoker(request *model.ListEventsRequest) *ListEventsInvoker
- func (c *CesClient) ListMetrics(request *model.ListMetricsRequest) (*model.ListMetricsResponse, error)
- func (c *CesClient) ListMetricsInvoker(request *model.ListMetricsRequest) *ListMetricsInvoker
- func (c *CesClient) ListResourceGroup(request *model.ListResourceGroupRequest) (*model.ListResourceGroupResponse, error)
- func (c *CesClient) ListResourceGroupInvoker(request *model.ListResourceGroupRequest) *ListResourceGroupInvoker
- func (c *CesClient) ShowAlarm(request *model.ShowAlarmRequest) (*model.ShowAlarmResponse, error)
- func (c *CesClient) ShowAlarmInvoker(request *model.ShowAlarmRequest) *ShowAlarmInvoker
- func (c *CesClient) ShowEventData(request *model.ShowEventDataRequest) (*model.ShowEventDataResponse, error)
- func (c *CesClient) ShowEventDataInvoker(request *model.ShowEventDataRequest) *ShowEventDataInvoker
- func (c *CesClient) ShowMetricData(request *model.ShowMetricDataRequest) (*model.ShowMetricDataResponse, error)
- func (c *CesClient) ShowMetricDataInvoker(request *model.ShowMetricDataRequest) *ShowMetricDataInvoker
- func (c *CesClient) ShowQuotas(request *model.ShowQuotasRequest) (*model.ShowQuotasResponse, error)
- func (c *CesClient) ShowQuotasInvoker(request *model.ShowQuotasRequest) *ShowQuotasInvoker
- func (c *CesClient) ShowResourceGroup(request *model.ShowResourceGroupRequest) (*model.ShowResourceGroupResponse, error)
- func (c *CesClient) ShowResourceGroupInvoker(request *model.ShowResourceGroupRequest) *ShowResourceGroupInvoker
- func (c *CesClient) UpdateAlarm(request *model.UpdateAlarmRequest) (*model.UpdateAlarmResponse, error)
- func (c *CesClient) UpdateAlarmAction(request *model.UpdateAlarmActionRequest) (*model.UpdateAlarmActionResponse, error)
- func (c *CesClient) UpdateAlarmActionInvoker(request *model.UpdateAlarmActionRequest) *UpdateAlarmActionInvoker
- func (c *CesClient) UpdateAlarmInvoker(request *model.UpdateAlarmRequest) *UpdateAlarmInvoker
- func (c *CesClient) UpdateAlarmTemplate(request *model.UpdateAlarmTemplateRequest) (*model.UpdateAlarmTemplateResponse, error)
- func (c *CesClient) UpdateAlarmTemplateInvoker(request *model.UpdateAlarmTemplateRequest) *UpdateAlarmTemplateInvoker
- func (c *CesClient) UpdateResourceGroup(request *model.UpdateResourceGroupRequest) (*model.UpdateResourceGroupResponse, error)
- func (c *CesClient) UpdateResourceGroupInvoker(request *model.UpdateResourceGroupRequest) *UpdateResourceGroupInvoker
- type CreateAlarmInvoker
- type CreateAlarmTemplateInvoker
- type CreateEventsInvoker
- type CreateMetricDataInvoker
- type CreateResourceGroupInvoker
- type DeleteAlarmInvoker
- type DeleteAlarmTemplateInvoker
- type DeleteResourceGroupInvoker
- type ListAlarmHistoriesInvoker
- type ListAlarmTemplatesInvoker
- type ListAlarmsInvoker
- type ListEventDetailInvoker
- type ListEventsInvoker
- type ListMetricsInvoker
- type ListResourceGroupInvoker
- type ShowAlarmInvoker
- type ShowEventDataInvoker
- type ShowMetricDataInvoker
- type ShowQuotasInvoker
- type ShowResourceGroupInvoker
- type UpdateAlarmActionInvoker
- type UpdateAlarmInvoker
- type UpdateAlarmTemplateInvoker
- type UpdateResourceGroupInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CesClientBuilder ¶
func CesClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForBatchListMetricData ¶
func GenReqDefForBatchListMetricData() *def.HttpRequestDef
func GenReqDefForCreateAlarm ¶
func GenReqDefForCreateAlarm() *def.HttpRequestDef
func GenReqDefForCreateAlarmTemplate ¶
func GenReqDefForCreateAlarmTemplate() *def.HttpRequestDef
func GenReqDefForCreateEvents ¶
func GenReqDefForCreateEvents() *def.HttpRequestDef
func GenReqDefForCreateMetricData ¶
func GenReqDefForCreateMetricData() *def.HttpRequestDef
func GenReqDefForCreateResourceGroup ¶
func GenReqDefForCreateResourceGroup() *def.HttpRequestDef
func GenReqDefForDeleteAlarm ¶
func GenReqDefForDeleteAlarm() *def.HttpRequestDef
func GenReqDefForDeleteAlarmTemplate ¶
func GenReqDefForDeleteAlarmTemplate() *def.HttpRequestDef
func GenReqDefForDeleteResourceGroup ¶
func GenReqDefForDeleteResourceGroup() *def.HttpRequestDef
func GenReqDefForListAlarmHistories ¶
func GenReqDefForListAlarmHistories() *def.HttpRequestDef
func GenReqDefForListAlarmTemplates ¶
func GenReqDefForListAlarmTemplates() *def.HttpRequestDef
func GenReqDefForListAlarms ¶
func GenReqDefForListAlarms() *def.HttpRequestDef
func GenReqDefForListEventDetail ¶
func GenReqDefForListEventDetail() *def.HttpRequestDef
func GenReqDefForListEvents ¶
func GenReqDefForListEvents() *def.HttpRequestDef
func GenReqDefForListMetrics ¶
func GenReqDefForListMetrics() *def.HttpRequestDef
func GenReqDefForListResourceGroup ¶
func GenReqDefForListResourceGroup() *def.HttpRequestDef
func GenReqDefForShowAlarm ¶
func GenReqDefForShowAlarm() *def.HttpRequestDef
func GenReqDefForShowEventData ¶
func GenReqDefForShowEventData() *def.HttpRequestDef
func GenReqDefForShowMetricData ¶
func GenReqDefForShowMetricData() *def.HttpRequestDef
func GenReqDefForShowQuotas ¶
func GenReqDefForShowQuotas() *def.HttpRequestDef
func GenReqDefForShowResourceGroup ¶
func GenReqDefForShowResourceGroup() *def.HttpRequestDef
func GenReqDefForUpdateAlarm ¶
func GenReqDefForUpdateAlarm() *def.HttpRequestDef
func GenReqDefForUpdateAlarmAction ¶
func GenReqDefForUpdateAlarmAction() *def.HttpRequestDef
func GenReqDefForUpdateAlarmTemplate ¶
func GenReqDefForUpdateAlarmTemplate() *def.HttpRequestDef
func GenReqDefForUpdateResourceGroup ¶
func GenReqDefForUpdateResourceGroup() *def.HttpRequestDef
Types ¶
type BatchListMetricDataInvoker ¶ added in v0.0.90
type BatchListMetricDataInvoker struct {
*invoker.BaseInvoker
}
func (*BatchListMetricDataInvoker) Invoke ¶ added in v0.0.90
func (i *BatchListMetricDataInvoker) Invoke() (*model.BatchListMetricDataResponse, error)
type CesClient ¶
type CesClient struct {
HcClient *http_client.HcHttpClient
}
func NewCesClient ¶
func NewCesClient(hcClient *http_client.HcHttpClient) *CesClient
func (*CesClient) BatchListMetricData ¶
func (c *CesClient) BatchListMetricData(request *model.BatchListMetricDataRequest) (*model.BatchListMetricDataResponse, error)
BatchListMetricData 批量查询监控数据
批量查询指定时间范围内指定指标的指定粒度的监控数据,目前最多支持500指标的批量查询。 对于不同的period取值和查询的指标数量,默认的最大查询区间(to-from)不同。 规则为\"指标数量*(to-from)/监控周期<=3000\",若超出阈值,会自动调整from以满足规则。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) BatchListMetricDataInvoker ¶ added in v0.0.90
func (c *CesClient) BatchListMetricDataInvoker(request *model.BatchListMetricDataRequest) *BatchListMetricDataInvoker
BatchListMetricDataInvoker 批量查询监控数据
func (*CesClient) CreateAlarm ¶
func (c *CesClient) CreateAlarm(request *model.CreateAlarmRequest) (*model.CreateAlarmResponse, error)
CreateAlarm 创建告警规则
创建一条告警规则。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) CreateAlarmInvoker ¶ added in v0.0.90
func (c *CesClient) CreateAlarmInvoker(request *model.CreateAlarmRequest) *CreateAlarmInvoker
CreateAlarmInvoker 创建告警规则
func (*CesClient) CreateAlarmTemplate ¶
func (c *CesClient) CreateAlarmTemplate(request *model.CreateAlarmTemplateRequest) (*model.CreateAlarmTemplateResponse, error)
CreateAlarmTemplate 创建自定义告警模板
创建自定义告警模板。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) CreateAlarmTemplateInvoker ¶ added in v0.0.90
func (c *CesClient) CreateAlarmTemplateInvoker(request *model.CreateAlarmTemplateRequest) *CreateAlarmTemplateInvoker
CreateAlarmTemplateInvoker 创建自定义告警模板
func (*CesClient) CreateEvents ¶
func (c *CesClient) CreateEvents(request *model.CreateEventsRequest) (*model.CreateEventsResponse, error)
CreateEvents 上报事件
上报自定义事件。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) CreateEventsInvoker ¶ added in v0.0.90
func (c *CesClient) CreateEventsInvoker(request *model.CreateEventsRequest) *CreateEventsInvoker
CreateEventsInvoker 上报事件
func (*CesClient) CreateMetricData ¶
func (c *CesClient) CreateMetricData(request *model.CreateMetricDataRequest) (*model.CreateMetricDataResponse, error)
CreateMetricData 添加监控数据
添加一条或多条指标监控数据。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) CreateMetricDataInvoker ¶ added in v0.0.90
func (c *CesClient) CreateMetricDataInvoker(request *model.CreateMetricDataRequest) *CreateMetricDataInvoker
CreateMetricDataInvoker 添加监控数据
func (*CesClient) CreateResourceGroup ¶
func (c *CesClient) CreateResourceGroup(request *model.CreateResourceGroupRequest) (*model.CreateResourceGroupResponse, error)
CreateResourceGroup 创建资源分组
创建资源分组,资源分组支持将各类资源按照业务集中进行分组管理,可以从分组角度查看监控与告警信息,以提升运维效率。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) CreateResourceGroupInvoker ¶ added in v0.0.90
func (c *CesClient) CreateResourceGroupInvoker(request *model.CreateResourceGroupRequest) *CreateResourceGroupInvoker
CreateResourceGroupInvoker 创建资源分组
func (*CesClient) DeleteAlarm ¶
func (c *CesClient) DeleteAlarm(request *model.DeleteAlarmRequest) (*model.DeleteAlarmResponse, error)
DeleteAlarm 删除告警规则
删除一条告警规则。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) DeleteAlarmInvoker ¶ added in v0.0.90
func (c *CesClient) DeleteAlarmInvoker(request *model.DeleteAlarmRequest) *DeleteAlarmInvoker
DeleteAlarmInvoker 删除告警规则
func (*CesClient) DeleteAlarmTemplate ¶
func (c *CesClient) DeleteAlarmTemplate(request *model.DeleteAlarmTemplateRequest) (*model.DeleteAlarmTemplateResponse, error)
DeleteAlarmTemplate 删除自定义告警模板
根据ID删除自定义告警模板。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) DeleteAlarmTemplateInvoker ¶ added in v0.0.90
func (c *CesClient) DeleteAlarmTemplateInvoker(request *model.DeleteAlarmTemplateRequest) *DeleteAlarmTemplateInvoker
DeleteAlarmTemplateInvoker 删除自定义告警模板
func (*CesClient) DeleteResourceGroup ¶
func (c *CesClient) DeleteResourceGroup(request *model.DeleteResourceGroupRequest) (*model.DeleteResourceGroupResponse, error)
DeleteResourceGroup 删除资源分组
删除一条资源分组。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) DeleteResourceGroupInvoker ¶ added in v0.0.90
func (c *CesClient) DeleteResourceGroupInvoker(request *model.DeleteResourceGroupRequest) *DeleteResourceGroupInvoker
DeleteResourceGroupInvoker 删除资源分组
func (*CesClient) ListAlarmHistories ¶
func (c *CesClient) ListAlarmHistories(request *model.ListAlarmHistoriesRequest) (*model.ListAlarmHistoriesResponse, error)
ListAlarmHistories 查询告警历史
查询告警历史列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) ListAlarmHistoriesInvoker ¶ added in v0.0.90
func (c *CesClient) ListAlarmHistoriesInvoker(request *model.ListAlarmHistoriesRequest) *ListAlarmHistoriesInvoker
ListAlarmHistoriesInvoker 查询告警历史
func (*CesClient) ListAlarmTemplates ¶
func (c *CesClient) ListAlarmTemplates(request *model.ListAlarmTemplatesRequest) (*model.ListAlarmTemplatesResponse, error)
ListAlarmTemplates 查询自定义告警模板列表
查询自定义告警模板列表
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) ListAlarmTemplatesInvoker ¶ added in v0.0.90
func (c *CesClient) ListAlarmTemplatesInvoker(request *model.ListAlarmTemplatesRequest) *ListAlarmTemplatesInvoker
ListAlarmTemplatesInvoker 查询自定义告警模板列表
func (*CesClient) ListAlarms ¶
func (c *CesClient) ListAlarms(request *model.ListAlarmsRequest) (*model.ListAlarmsResponse, error)
ListAlarms 查询告警规则列表
查询告警规则列表,可以指定分页条件限制结果数量,可以指定排序规则。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) ListAlarmsInvoker ¶ added in v0.0.90
func (c *CesClient) ListAlarmsInvoker(request *model.ListAlarmsRequest) *ListAlarmsInvoker
ListAlarmsInvoker 查询告警规则列表
func (*CesClient) ListEventDetail ¶
func (c *CesClient) ListEventDetail(request *model.ListEventDetailRequest) (*model.ListEventDetailResponse, error)
ListEventDetail 查询某一事件监控详情
根据事件监控名称,查询该事件发生的详细信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) ListEventDetailInvoker ¶ added in v0.0.90
func (c *CesClient) ListEventDetailInvoker(request *model.ListEventDetailRequest) *ListEventDetailInvoker
ListEventDetailInvoker 查询某一事件监控详情
func (*CesClient) ListEvents ¶
func (c *CesClient) ListEvents(request *model.ListEventsRequest) (*model.ListEventsResponse, error)
ListEvents 查询事件监控列表
查询事件监控列表,包括系统事件和自定义事件。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) ListEventsInvoker ¶ added in v0.0.90
func (c *CesClient) ListEventsInvoker(request *model.ListEventsRequest) *ListEventsInvoker
ListEventsInvoker 查询事件监控列表
func (*CesClient) ListMetrics ¶
func (c *CesClient) ListMetrics(request *model.ListMetricsRequest) (*model.ListMetricsResponse, error)
ListMetrics 查询指标列表
查询系统当前可监控指标列表,可以指定指标命名空间、指标名称、维度、排序方式,起始记录和最大记录条数过滤查询结果。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) ListMetricsInvoker ¶ added in v0.0.90
func (c *CesClient) ListMetricsInvoker(request *model.ListMetricsRequest) *ListMetricsInvoker
ListMetricsInvoker 查询指标列表
func (*CesClient) ListResourceGroup ¶
func (c *CesClient) ListResourceGroup(request *model.ListResourceGroupRequest) (*model.ListResourceGroupResponse, error)
ListResourceGroup 查询所有资源分组
查询所创建的所有资源分组。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) ListResourceGroupInvoker ¶ added in v0.0.90
func (c *CesClient) ListResourceGroupInvoker(request *model.ListResourceGroupRequest) *ListResourceGroupInvoker
ListResourceGroupInvoker 查询所有资源分组
func (*CesClient) ShowAlarm ¶
func (c *CesClient) ShowAlarm(request *model.ShowAlarmRequest) (*model.ShowAlarmResponse, error)
ShowAlarm 查询单条告警规则信息
根据告警ID查询告警规则信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) ShowAlarmInvoker ¶ added in v0.0.90
func (c *CesClient) ShowAlarmInvoker(request *model.ShowAlarmRequest) *ShowAlarmInvoker
ShowAlarmInvoker 查询单条告警规则信息
func (*CesClient) ShowEventData ¶
func (c *CesClient) ShowEventData(request *model.ShowEventDataRequest) (*model.ShowEventDataResponse, error)
ShowEventData 查询主机配置数据
查询指定时间范围指定事件类型的主机配置数据,可以通过参数指定需要查询的数据维度。注意:该接口提供给HANA场景下SAP Monitor查询主机配置数据,其他场景下查不到主机配置数据。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) ShowEventDataInvoker ¶ added in v0.0.90
func (c *CesClient) ShowEventDataInvoker(request *model.ShowEventDataRequest) *ShowEventDataInvoker
ShowEventDataInvoker 查询主机配置数据
func (*CesClient) ShowMetricData ¶
func (c *CesClient) ShowMetricData(request *model.ShowMetricDataRequest) (*model.ShowMetricDataResponse, error)
ShowMetricData 查询监控数据
查询指定时间范围指定指标的指定粒度的监控数据,可以通过参数指定需要查询的数据维度。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) ShowMetricDataInvoker ¶ added in v0.0.90
func (c *CesClient) ShowMetricDataInvoker(request *model.ShowMetricDataRequest) *ShowMetricDataInvoker
ShowMetricDataInvoker 查询监控数据
func (*CesClient) ShowQuotas ¶
func (c *CesClient) ShowQuotas(request *model.ShowQuotasRequest) (*model.ShowQuotasResponse, error)
ShowQuotas 查询配额
查询用户可以创建的资源配额总数及当前使用量,当前仅有告警规则一种资源类型。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) ShowQuotasInvoker ¶ added in v0.0.90
func (c *CesClient) ShowQuotasInvoker(request *model.ShowQuotasRequest) *ShowQuotasInvoker
ShowQuotasInvoker 查询配额
func (*CesClient) ShowResourceGroup ¶
func (c *CesClient) ShowResourceGroup(request *model.ShowResourceGroupRequest) (*model.ShowResourceGroupResponse, error)
ShowResourceGroup 查询资源分组下的资源
根据资源分组ID查询资源分组下的资源。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) ShowResourceGroupInvoker ¶ added in v0.0.90
func (c *CesClient) ShowResourceGroupInvoker(request *model.ShowResourceGroupRequest) *ShowResourceGroupInvoker
ShowResourceGroupInvoker 查询资源分组下的资源
func (*CesClient) UpdateAlarm ¶
func (c *CesClient) UpdateAlarm(request *model.UpdateAlarmRequest) (*model.UpdateAlarmResponse, error)
UpdateAlarm 修改告警规则
修改告警规则。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) UpdateAlarmAction ¶
func (c *CesClient) UpdateAlarmAction(request *model.UpdateAlarmActionRequest) (*model.UpdateAlarmActionResponse, error)
UpdateAlarmAction 启停告警规则
启动或停止一条告警规则。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) UpdateAlarmActionInvoker ¶ added in v0.0.90
func (c *CesClient) UpdateAlarmActionInvoker(request *model.UpdateAlarmActionRequest) *UpdateAlarmActionInvoker
UpdateAlarmActionInvoker 启停告警规则
func (*CesClient) UpdateAlarmInvoker ¶ added in v0.0.90
func (c *CesClient) UpdateAlarmInvoker(request *model.UpdateAlarmRequest) *UpdateAlarmInvoker
UpdateAlarmInvoker 修改告警规则
func (*CesClient) UpdateAlarmTemplate ¶
func (c *CesClient) UpdateAlarmTemplate(request *model.UpdateAlarmTemplateRequest) (*model.UpdateAlarmTemplateResponse, error)
UpdateAlarmTemplate 更新自定义告警模板
更新自定义告警模板。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) UpdateAlarmTemplateInvoker ¶ added in v0.0.90
func (c *CesClient) UpdateAlarmTemplateInvoker(request *model.UpdateAlarmTemplateRequest) *UpdateAlarmTemplateInvoker
UpdateAlarmTemplateInvoker 更新自定义告警模板
func (*CesClient) UpdateResourceGroup ¶
func (c *CesClient) UpdateResourceGroup(request *model.UpdateResourceGroupRequest) (*model.UpdateResourceGroupResponse, error)
UpdateResourceGroup 更新资源分组
更新资源分组,资源分组支持将各类资源按照业务集中进行分组管理,可以从分组角度查看监控与告警信息,以提升运维效率。
Please refer to HUAWEI cloud API Explorer for details.
func (*CesClient) UpdateResourceGroupInvoker ¶ added in v0.0.90
func (c *CesClient) UpdateResourceGroupInvoker(request *model.UpdateResourceGroupRequest) *UpdateResourceGroupInvoker
UpdateResourceGroupInvoker 更新资源分组
type CreateAlarmInvoker ¶ added in v0.0.90
type CreateAlarmInvoker struct {
*invoker.BaseInvoker
}
func (*CreateAlarmInvoker) Invoke ¶ added in v0.0.90
func (i *CreateAlarmInvoker) Invoke() (*model.CreateAlarmResponse, error)
type CreateAlarmTemplateInvoker ¶ added in v0.0.90
type CreateAlarmTemplateInvoker struct {
*invoker.BaseInvoker
}
func (*CreateAlarmTemplateInvoker) Invoke ¶ added in v0.0.90
func (i *CreateAlarmTemplateInvoker) Invoke() (*model.CreateAlarmTemplateResponse, error)
type CreateEventsInvoker ¶ added in v0.0.90
type CreateEventsInvoker struct {
*invoker.BaseInvoker
}
func (*CreateEventsInvoker) Invoke ¶ added in v0.0.90
func (i *CreateEventsInvoker) Invoke() (*model.CreateEventsResponse, error)
type CreateMetricDataInvoker ¶ added in v0.0.90
type CreateMetricDataInvoker struct {
*invoker.BaseInvoker
}
func (*CreateMetricDataInvoker) Invoke ¶ added in v0.0.90
func (i *CreateMetricDataInvoker) Invoke() (*model.CreateMetricDataResponse, error)
type CreateResourceGroupInvoker ¶ added in v0.0.90
type CreateResourceGroupInvoker struct {
*invoker.BaseInvoker
}
func (*CreateResourceGroupInvoker) Invoke ¶ added in v0.0.90
func (i *CreateResourceGroupInvoker) Invoke() (*model.CreateResourceGroupResponse, error)
type DeleteAlarmInvoker ¶ added in v0.0.90
type DeleteAlarmInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteAlarmInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteAlarmInvoker) Invoke() (*model.DeleteAlarmResponse, error)
type DeleteAlarmTemplateInvoker ¶ added in v0.0.90
type DeleteAlarmTemplateInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteAlarmTemplateInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteAlarmTemplateInvoker) Invoke() (*model.DeleteAlarmTemplateResponse, error)
type DeleteResourceGroupInvoker ¶ added in v0.0.90
type DeleteResourceGroupInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteResourceGroupInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteResourceGroupInvoker) Invoke() (*model.DeleteResourceGroupResponse, error)
type ListAlarmHistoriesInvoker ¶ added in v0.0.90
type ListAlarmHistoriesInvoker struct {
*invoker.BaseInvoker
}
func (*ListAlarmHistoriesInvoker) Invoke ¶ added in v0.0.90
func (i *ListAlarmHistoriesInvoker) Invoke() (*model.ListAlarmHistoriesResponse, error)
type ListAlarmTemplatesInvoker ¶ added in v0.0.90
type ListAlarmTemplatesInvoker struct {
*invoker.BaseInvoker
}
func (*ListAlarmTemplatesInvoker) Invoke ¶ added in v0.0.90
func (i *ListAlarmTemplatesInvoker) Invoke() (*model.ListAlarmTemplatesResponse, error)
type ListAlarmsInvoker ¶ added in v0.0.90
type ListAlarmsInvoker struct {
*invoker.BaseInvoker
}
func (*ListAlarmsInvoker) Invoke ¶ added in v0.0.90
func (i *ListAlarmsInvoker) Invoke() (*model.ListAlarmsResponse, error)
type ListEventDetailInvoker ¶ added in v0.0.90
type ListEventDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ListEventDetailInvoker) Invoke ¶ added in v0.0.90
func (i *ListEventDetailInvoker) Invoke() (*model.ListEventDetailResponse, 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 ListMetricsInvoker ¶ added in v0.0.90
type ListMetricsInvoker struct {
*invoker.BaseInvoker
}
func (*ListMetricsInvoker) Invoke ¶ added in v0.0.90
func (i *ListMetricsInvoker) Invoke() (*model.ListMetricsResponse, error)
type ListResourceGroupInvoker ¶ added in v0.0.90
type ListResourceGroupInvoker struct {
*invoker.BaseInvoker
}
func (*ListResourceGroupInvoker) Invoke ¶ added in v0.0.90
func (i *ListResourceGroupInvoker) Invoke() (*model.ListResourceGroupResponse, error)
type ShowAlarmInvoker ¶ added in v0.0.90
type ShowAlarmInvoker struct {
*invoker.BaseInvoker
}
func (*ShowAlarmInvoker) Invoke ¶ added in v0.0.90
func (i *ShowAlarmInvoker) Invoke() (*model.ShowAlarmResponse, error)
type ShowEventDataInvoker ¶ added in v0.0.90
type ShowEventDataInvoker struct {
*invoker.BaseInvoker
}
func (*ShowEventDataInvoker) Invoke ¶ added in v0.0.90
func (i *ShowEventDataInvoker) Invoke() (*model.ShowEventDataResponse, error)
type ShowMetricDataInvoker ¶ added in v0.0.90
type ShowMetricDataInvoker struct {
*invoker.BaseInvoker
}
func (*ShowMetricDataInvoker) Invoke ¶ added in v0.0.90
func (i *ShowMetricDataInvoker) Invoke() (*model.ShowMetricDataResponse, error)
type ShowQuotasInvoker ¶ added in v0.0.90
type ShowQuotasInvoker struct {
*invoker.BaseInvoker
}
func (*ShowQuotasInvoker) Invoke ¶ added in v0.0.90
func (i *ShowQuotasInvoker) Invoke() (*model.ShowQuotasResponse, error)
type ShowResourceGroupInvoker ¶ added in v0.0.90
type ShowResourceGroupInvoker struct {
*invoker.BaseInvoker
}
func (*ShowResourceGroupInvoker) Invoke ¶ added in v0.0.90
func (i *ShowResourceGroupInvoker) Invoke() (*model.ShowResourceGroupResponse, error)
type UpdateAlarmActionInvoker ¶ added in v0.0.90
type UpdateAlarmActionInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateAlarmActionInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateAlarmActionInvoker) Invoke() (*model.UpdateAlarmActionResponse, error)
type UpdateAlarmInvoker ¶ added in v0.0.90
type UpdateAlarmInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateAlarmInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateAlarmInvoker) Invoke() (*model.UpdateAlarmResponse, error)
type UpdateAlarmTemplateInvoker ¶ added in v0.0.90
type UpdateAlarmTemplateInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateAlarmTemplateInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateAlarmTemplateInvoker) Invoke() (*model.UpdateAlarmTemplateResponse, error)
type UpdateResourceGroupInvoker ¶ added in v0.0.90
type UpdateResourceGroupInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateResourceGroupInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateResourceGroupInvoker) Invoke() (*model.UpdateResourceGroupResponse, error)