Documentation ¶
Index ¶
- func CesClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForAddAlarmRuleResources() *def.HttpRequestDef
- func GenReqDefForBatchDeleteAlarmRules() *def.HttpRequestDef
- func GenReqDefForBatchEnableAlarmRules() *def.HttpRequestDef
- func GenReqDefForCreateAlarmRules() *def.HttpRequestDef
- func GenReqDefForDeleteAlarmRuleResources() *def.HttpRequestDef
- func GenReqDefForListAgentDimensionInfo() *def.HttpRequestDef
- func GenReqDefForListAlarmHistories() *def.HttpRequestDef
- func GenReqDefForListAlarmRulePolicies() *def.HttpRequestDef
- func GenReqDefForListAlarmRuleResources() *def.HttpRequestDef
- func GenReqDefForListAlarmRules() *def.HttpRequestDef
- func GenReqDefForUpdateAlarmRulePolicies() *def.HttpRequestDef
- type AddAlarmRuleResourcesInvoker
- type BatchDeleteAlarmRulesInvoker
- type BatchEnableAlarmRulesInvoker
- type CesClient
- func (c *CesClient) AddAlarmRuleResources(request *model.AddAlarmRuleResourcesRequest) (*model.AddAlarmRuleResourcesResponse, error)
- func (c *CesClient) AddAlarmRuleResourcesInvoker(request *model.AddAlarmRuleResourcesRequest) *AddAlarmRuleResourcesInvoker
- func (c *CesClient) BatchDeleteAlarmRules(request *model.BatchDeleteAlarmRulesRequest) (*model.BatchDeleteAlarmRulesResponse, error)
- func (c *CesClient) BatchDeleteAlarmRulesInvoker(request *model.BatchDeleteAlarmRulesRequest) *BatchDeleteAlarmRulesInvoker
- func (c *CesClient) BatchEnableAlarmRules(request *model.BatchEnableAlarmRulesRequest) (*model.BatchEnableAlarmRulesResponse, error)
- func (c *CesClient) BatchEnableAlarmRulesInvoker(request *model.BatchEnableAlarmRulesRequest) *BatchEnableAlarmRulesInvoker
- func (c *CesClient) CreateAlarmRules(request *model.CreateAlarmRulesRequest) (*model.CreateAlarmRulesResponse, error)
- func (c *CesClient) CreateAlarmRulesInvoker(request *model.CreateAlarmRulesRequest) *CreateAlarmRulesInvoker
- func (c *CesClient) DeleteAlarmRuleResources(request *model.DeleteAlarmRuleResourcesRequest) (*model.DeleteAlarmRuleResourcesResponse, error)
- func (c *CesClient) DeleteAlarmRuleResourcesInvoker(request *model.DeleteAlarmRuleResourcesRequest) *DeleteAlarmRuleResourcesInvoker
- func (c *CesClient) ListAgentDimensionInfo(request *model.ListAgentDimensionInfoRequest) (*model.ListAgentDimensionInfoResponse, error)
- func (c *CesClient) ListAgentDimensionInfoInvoker(request *model.ListAgentDimensionInfoRequest) *ListAgentDimensionInfoInvoker
- func (c *CesClient) ListAlarmHistories(request *model.ListAlarmHistoriesRequest) (*model.ListAlarmHistoriesResponse, error)
- func (c *CesClient) ListAlarmHistoriesInvoker(request *model.ListAlarmHistoriesRequest) *ListAlarmHistoriesInvoker
- func (c *CesClient) ListAlarmRulePolicies(request *model.ListAlarmRulePoliciesRequest) (*model.ListAlarmRulePoliciesResponse, error)
- func (c *CesClient) ListAlarmRulePoliciesInvoker(request *model.ListAlarmRulePoliciesRequest) *ListAlarmRulePoliciesInvoker
- func (c *CesClient) ListAlarmRuleResources(request *model.ListAlarmRuleResourcesRequest) (*model.ListAlarmRuleResourcesResponse, error)
- func (c *CesClient) ListAlarmRuleResourcesInvoker(request *model.ListAlarmRuleResourcesRequest) *ListAlarmRuleResourcesInvoker
- func (c *CesClient) ListAlarmRules(request *model.ListAlarmRulesRequest) (*model.ListAlarmRulesResponse, error)
- func (c *CesClient) ListAlarmRulesInvoker(request *model.ListAlarmRulesRequest) *ListAlarmRulesInvoker
- func (c *CesClient) UpdateAlarmRulePolicies(request *model.UpdateAlarmRulePoliciesRequest) (*model.UpdateAlarmRulePoliciesResponse, error)
- func (c *CesClient) UpdateAlarmRulePoliciesInvoker(request *model.UpdateAlarmRulePoliciesRequest) *UpdateAlarmRulePoliciesInvoker
- type CreateAlarmRulesInvoker
- type DeleteAlarmRuleResourcesInvoker
- type ListAgentDimensionInfoInvoker
- type ListAlarmHistoriesInvoker
- type ListAlarmRulePoliciesInvoker
- type ListAlarmRuleResourcesInvoker
- type ListAlarmRulesInvoker
- type UpdateAlarmRulePoliciesInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CesClientBuilder ¶
func CesClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForAddAlarmRuleResources ¶ added in v0.0.99
func GenReqDefForAddAlarmRuleResources() *def.HttpRequestDef
func GenReqDefForBatchDeleteAlarmRules ¶ added in v0.0.99
func GenReqDefForBatchDeleteAlarmRules() *def.HttpRequestDef
func GenReqDefForBatchEnableAlarmRules ¶ added in v0.0.99
func GenReqDefForBatchEnableAlarmRules() *def.HttpRequestDef
func GenReqDefForCreateAlarmRules ¶ added in v0.0.99
func GenReqDefForCreateAlarmRules() *def.HttpRequestDef
func GenReqDefForDeleteAlarmRuleResources ¶ added in v0.0.99
func GenReqDefForDeleteAlarmRuleResources() *def.HttpRequestDef
func GenReqDefForListAgentDimensionInfo ¶ added in v0.0.99
func GenReqDefForListAgentDimensionInfo() *def.HttpRequestDef
func GenReqDefForListAlarmHistories ¶
func GenReqDefForListAlarmHistories() *def.HttpRequestDef
func GenReqDefForListAlarmRulePolicies ¶ added in v0.0.99
func GenReqDefForListAlarmRulePolicies() *def.HttpRequestDef
func GenReqDefForListAlarmRuleResources ¶ added in v0.0.99
func GenReqDefForListAlarmRuleResources() *def.HttpRequestDef
func GenReqDefForListAlarmRules ¶ added in v0.0.99
func GenReqDefForListAlarmRules() *def.HttpRequestDef
func GenReqDefForUpdateAlarmRulePolicies ¶ added in v0.0.99
func GenReqDefForUpdateAlarmRulePolicies() *def.HttpRequestDef
Types ¶
type AddAlarmRuleResourcesInvoker ¶ added in v0.0.99
type AddAlarmRuleResourcesInvoker struct {
*invoker.BaseInvoker
}
func (*AddAlarmRuleResourcesInvoker) Invoke ¶ added in v0.0.99
func (i *AddAlarmRuleResourcesInvoker) Invoke() (*model.AddAlarmRuleResourcesResponse, error)
type BatchDeleteAlarmRulesInvoker ¶ added in v0.0.99
type BatchDeleteAlarmRulesInvoker struct {
*invoker.BaseInvoker
}
func (*BatchDeleteAlarmRulesInvoker) Invoke ¶ added in v0.0.99
func (i *BatchDeleteAlarmRulesInvoker) Invoke() (*model.BatchDeleteAlarmRulesResponse, error)
type BatchEnableAlarmRulesInvoker ¶ added in v0.0.99
type BatchEnableAlarmRulesInvoker struct {
*invoker.BaseInvoker
}
func (*BatchEnableAlarmRulesInvoker) Invoke ¶ added in v0.0.99
func (i *BatchEnableAlarmRulesInvoker) Invoke() (*model.BatchEnableAlarmRulesResponse, error)
type CesClient ¶
type CesClient struct {
HcClient *http_client.HcHttpClient
}
func NewCesClient ¶
func NewCesClient(hcClient *http_client.HcHttpClient) *CesClient
func (*CesClient) AddAlarmRuleResources ¶ added in v0.0.99
func (c *CesClient) AddAlarmRuleResources(request *model.AddAlarmRuleResourcesRequest) (*model.AddAlarmRuleResourcesResponse, error)
AddAlarmRuleResources 批量增加告警规则资源
批量增加告警规则资源(资源分组类型的告警规则不支持),资源分组类型的修改请使用资源分组管理相关接口
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CesClient) AddAlarmRuleResourcesInvoker ¶ added in v0.0.99
func (c *CesClient) AddAlarmRuleResourcesInvoker(request *model.AddAlarmRuleResourcesRequest) *AddAlarmRuleResourcesInvoker
AddAlarmRuleResourcesInvoker 批量增加告警规则资源
func (*CesClient) BatchDeleteAlarmRules ¶ added in v0.0.99
func (c *CesClient) BatchDeleteAlarmRules(request *model.BatchDeleteAlarmRulesRequest) (*model.BatchDeleteAlarmRulesResponse, error)
BatchDeleteAlarmRules 批量删除告警规则
批量删除告警规则V2接口
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CesClient) BatchDeleteAlarmRulesInvoker ¶ added in v0.0.99
func (c *CesClient) BatchDeleteAlarmRulesInvoker(request *model.BatchDeleteAlarmRulesRequest) *BatchDeleteAlarmRulesInvoker
BatchDeleteAlarmRulesInvoker 批量删除告警规则
func (*CesClient) BatchEnableAlarmRules ¶ added in v0.0.99
func (c *CesClient) BatchEnableAlarmRules(request *model.BatchEnableAlarmRulesRequest) (*model.BatchEnableAlarmRulesResponse, error)
BatchEnableAlarmRules 批量启停告警规则
批量启停告警规则
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CesClient) BatchEnableAlarmRulesInvoker ¶ added in v0.0.99
func (c *CesClient) BatchEnableAlarmRulesInvoker(request *model.BatchEnableAlarmRulesRequest) *BatchEnableAlarmRulesInvoker
BatchEnableAlarmRulesInvoker 批量启停告警规则
func (*CesClient) CreateAlarmRules ¶ added in v0.0.99
func (c *CesClient) CreateAlarmRules(request *model.CreateAlarmRulesRequest) (*model.CreateAlarmRulesResponse, error)
CreateAlarmRules 创建告警规则
创建告警规则
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CesClient) CreateAlarmRulesInvoker ¶ added in v0.0.99
func (c *CesClient) CreateAlarmRulesInvoker(request *model.CreateAlarmRulesRequest) *CreateAlarmRulesInvoker
CreateAlarmRulesInvoker 创建告警规则
func (*CesClient) DeleteAlarmRuleResources ¶ added in v0.0.99
func (c *CesClient) DeleteAlarmRuleResources(request *model.DeleteAlarmRuleResourcesRequest) (*model.DeleteAlarmRuleResourcesResponse, error)
DeleteAlarmRuleResources 批量删除告警规则资源
批量删除告警规则资源(资源分组类型的告警规则不支持),资源分组类型的修改请使用资源分组管理相关接口
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CesClient) DeleteAlarmRuleResourcesInvoker ¶ added in v0.0.99
func (c *CesClient) DeleteAlarmRuleResourcesInvoker(request *model.DeleteAlarmRuleResourcesRequest) *DeleteAlarmRuleResourcesInvoker
DeleteAlarmRuleResourcesInvoker 批量删除告警规则资源
func (*CesClient) ListAgentDimensionInfo ¶ added in v0.0.99
func (c *CesClient) ListAgentDimensionInfo(request *model.ListAgentDimensionInfoRequest) (*model.ListAgentDimensionInfoResponse, error)
ListAgentDimensionInfo 查询主机监控维度指标信息
根据ECS/BMS资源ID查询磁盘、挂载点、进程、显卡、RAID控制器维度指标信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CesClient) ListAgentDimensionInfoInvoker ¶ added in v0.0.99
func (c *CesClient) ListAgentDimensionInfoInvoker(request *model.ListAgentDimensionInfoRequest) *ListAgentDimensionInfoInvoker
ListAgentDimensionInfoInvoker 查询主机监控维度指标信息
func (*CesClient) ListAlarmHistories ¶
func (c *CesClient) ListAlarmHistories(request *model.ListAlarmHistoriesRequest) (*model.ListAlarmHistoriesResponse, error)
ListAlarmHistories 查询告警记录列表
查询告警记录列表
详细说明请参考华为云API Explorer。 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) ListAlarmRulePolicies ¶ added in v0.0.99
func (c *CesClient) ListAlarmRulePolicies(request *model.ListAlarmRulePoliciesRequest) (*model.ListAlarmRulePoliciesResponse, error)
ListAlarmRulePolicies 查询告警规则策略列表
根据告警规则ID查询策略列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CesClient) ListAlarmRulePoliciesInvoker ¶ added in v0.0.99
func (c *CesClient) ListAlarmRulePoliciesInvoker(request *model.ListAlarmRulePoliciesRequest) *ListAlarmRulePoliciesInvoker
ListAlarmRulePoliciesInvoker 查询告警规则策略列表
func (*CesClient) ListAlarmRuleResources ¶ added in v0.0.99
func (c *CesClient) ListAlarmRuleResources(request *model.ListAlarmRuleResourcesRequest) (*model.ListAlarmRuleResourcesResponse, error)
ListAlarmRuleResources 查询告警规则资源列表
根据告警规则ID查询告警规则资源列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CesClient) ListAlarmRuleResourcesInvoker ¶ added in v0.0.99
func (c *CesClient) ListAlarmRuleResourcesInvoker(request *model.ListAlarmRuleResourcesRequest) *ListAlarmRuleResourcesInvoker
ListAlarmRuleResourcesInvoker 查询告警规则资源列表
func (*CesClient) ListAlarmRules ¶ added in v0.0.99
func (c *CesClient) ListAlarmRules(request *model.ListAlarmRulesRequest) (*model.ListAlarmRulesResponse, error)
ListAlarmRules 查询告警规则列表
查询告警规则列表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CesClient) ListAlarmRulesInvoker ¶ added in v0.0.99
func (c *CesClient) ListAlarmRulesInvoker(request *model.ListAlarmRulesRequest) *ListAlarmRulesInvoker
ListAlarmRulesInvoker 查询告警规则列表
func (*CesClient) UpdateAlarmRulePolicies ¶ added in v0.0.99
func (c *CesClient) UpdateAlarmRulePolicies(request *model.UpdateAlarmRulePoliciesRequest) (*model.UpdateAlarmRulePoliciesResponse, error)
UpdateAlarmRulePolicies 修改告警规则策略(全量修改)
修改告警规则策略(全量修改)
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*CesClient) UpdateAlarmRulePoliciesInvoker ¶ added in v0.0.99
func (c *CesClient) UpdateAlarmRulePoliciesInvoker(request *model.UpdateAlarmRulePoliciesRequest) *UpdateAlarmRulePoliciesInvoker
UpdateAlarmRulePoliciesInvoker 修改告警规则策略(全量修改)
type CreateAlarmRulesInvoker ¶ added in v0.0.99
type CreateAlarmRulesInvoker struct {
*invoker.BaseInvoker
}
func (*CreateAlarmRulesInvoker) Invoke ¶ added in v0.0.99
func (i *CreateAlarmRulesInvoker) Invoke() (*model.CreateAlarmRulesResponse, error)
type DeleteAlarmRuleResourcesInvoker ¶ added in v0.0.99
type DeleteAlarmRuleResourcesInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteAlarmRuleResourcesInvoker) Invoke ¶ added in v0.0.99
func (i *DeleteAlarmRuleResourcesInvoker) Invoke() (*model.DeleteAlarmRuleResourcesResponse, error)
type ListAgentDimensionInfoInvoker ¶ added in v0.0.99
type ListAgentDimensionInfoInvoker struct {
*invoker.BaseInvoker
}
func (*ListAgentDimensionInfoInvoker) Invoke ¶ added in v0.0.99
func (i *ListAgentDimensionInfoInvoker) Invoke() (*model.ListAgentDimensionInfoResponse, 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 ListAlarmRulePoliciesInvoker ¶ added in v0.0.99
type ListAlarmRulePoliciesInvoker struct {
*invoker.BaseInvoker
}
func (*ListAlarmRulePoliciesInvoker) Invoke ¶ added in v0.0.99
func (i *ListAlarmRulePoliciesInvoker) Invoke() (*model.ListAlarmRulePoliciesResponse, error)
type ListAlarmRuleResourcesInvoker ¶ added in v0.0.99
type ListAlarmRuleResourcesInvoker struct {
*invoker.BaseInvoker
}
func (*ListAlarmRuleResourcesInvoker) Invoke ¶ added in v0.0.99
func (i *ListAlarmRuleResourcesInvoker) Invoke() (*model.ListAlarmRuleResourcesResponse, error)
type ListAlarmRulesInvoker ¶ added in v0.0.99
type ListAlarmRulesInvoker struct {
*invoker.BaseInvoker
}
func (*ListAlarmRulesInvoker) Invoke ¶ added in v0.0.99
func (i *ListAlarmRulesInvoker) Invoke() (*model.ListAlarmRulesResponse, error)
type UpdateAlarmRulePoliciesInvoker ¶ added in v0.0.99
type UpdateAlarmRulePoliciesInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateAlarmRulePoliciesInvoker) Invoke ¶ added in v0.0.99
func (i *UpdateAlarmRulePoliciesInvoker) Invoke() (*model.UpdateAlarmRulePoliciesResponse, error)