v2

package
v0.0.107 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

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

type BatchDeleteAlarmRulesInvoker added in v0.0.99

type BatchDeleteAlarmRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteAlarmRulesInvoker) Invoke added in v0.0.99

type BatchEnableAlarmRulesInvoker added in v0.0.99

type BatchEnableAlarmRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchEnableAlarmRulesInvoker) Invoke added in v0.0.99

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

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

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

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

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

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

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

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

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

type DeleteAlarmRuleResourcesInvoker added in v0.0.99

type DeleteAlarmRuleResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteAlarmRuleResourcesInvoker) Invoke added in v0.0.99

type ListAgentDimensionInfoInvoker added in v0.0.99

type ListAgentDimensionInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAgentDimensionInfoInvoker) Invoke added in v0.0.99

type ListAlarmHistoriesInvoker added in v0.0.90

type ListAlarmHistoriesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAlarmHistoriesInvoker) Invoke added in v0.0.90

type ListAlarmRulePoliciesInvoker added in v0.0.99

type ListAlarmRulePoliciesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAlarmRulePoliciesInvoker) Invoke added in v0.0.99

type ListAlarmRuleResourcesInvoker added in v0.0.99

type ListAlarmRuleResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAlarmRuleResourcesInvoker) Invoke added in v0.0.99

type ListAlarmRulesInvoker added in v0.0.99

type ListAlarmRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAlarmRulesInvoker) Invoke added in v0.0.99

type UpdateAlarmRulePoliciesInvoker added in v0.0.99

type UpdateAlarmRulePoliciesInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateAlarmRulePoliciesInvoker) Invoke added in v0.0.99

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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