v2

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 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 GenReqDefForBatchCreateResources added in v0.1.12

func GenReqDefForBatchCreateResources() *def.HttpRequestDef

func GenReqDefForBatchDeleteAlarmRules added in v0.0.99

func GenReqDefForBatchDeleteAlarmRules() *def.HttpRequestDef

func GenReqDefForBatchDeleteAlarmTemplates added in v0.1.12

func GenReqDefForBatchDeleteAlarmTemplates() *def.HttpRequestDef

func GenReqDefForBatchDeleteResourceGroups added in v0.1.12

func GenReqDefForBatchDeleteResourceGroups() *def.HttpRequestDef

func GenReqDefForBatchDeleteResources added in v0.1.12

func GenReqDefForBatchDeleteResources() *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 GenReqDefForCreateAlarmTemplate added in v0.1.12

func GenReqDefForCreateAlarmTemplate() *def.HttpRequestDef

func GenReqDefForCreateResourceGroup added in v0.1.12

func GenReqDefForCreateResourceGroup() *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 GenReqDefForListAlarmTemplateAssociationAlarms added in v0.1.12

func GenReqDefForListAlarmTemplateAssociationAlarms() *def.HttpRequestDef

func GenReqDefForListAlarmTemplates added in v0.1.12

func GenReqDefForListAlarmTemplates() *def.HttpRequestDef

func GenReqDefForListResourceGroups added in v0.1.12

func GenReqDefForListResourceGroups() *def.HttpRequestDef

func GenReqDefForListResourceGroupsServicesResources added in v0.1.12

func GenReqDefForListResourceGroupsServicesResources() *def.HttpRequestDef

func GenReqDefForShowAlarmTemplate added in v0.1.12

func GenReqDefForShowAlarmTemplate() *def.HttpRequestDef

func GenReqDefForShowResourceGroup added in v0.1.12

func GenReqDefForShowResourceGroup() *def.HttpRequestDef

func GenReqDefForUpdateAlarmRulePolicies added in v0.0.99

func GenReqDefForUpdateAlarmRulePolicies() *def.HttpRequestDef

func GenReqDefForUpdateAlarmTemplate added in v0.1.12

func GenReqDefForUpdateAlarmTemplate() *def.HttpRequestDef

func GenReqDefForUpdateResourceGroup added in v0.1.12

func GenReqDefForUpdateResourceGroup() *def.HttpRequestDef

Types

type AddAlarmRuleResourcesInvoker added in v0.0.99

type AddAlarmRuleResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*AddAlarmRuleResourcesInvoker) Invoke added in v0.0.99

type BatchCreateResourcesInvoker added in v0.1.12

type BatchCreateResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchCreateResourcesInvoker) Invoke added in v0.1.12

type BatchDeleteAlarmRulesInvoker added in v0.0.99

type BatchDeleteAlarmRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteAlarmRulesInvoker) Invoke added in v0.0.99

type BatchDeleteAlarmTemplatesInvoker added in v0.1.12

type BatchDeleteAlarmTemplatesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteAlarmTemplatesInvoker) Invoke added in v0.1.12

type BatchDeleteResourceGroupsInvoker added in v0.1.12

type BatchDeleteResourceGroupsInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteResourceGroupsInvoker) Invoke added in v0.1.12

type BatchDeleteResourcesInvoker added in v0.1.12

type BatchDeleteResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*BatchDeleteResourcesInvoker) Invoke added in v0.1.12

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 批量增加告警规则资源

批量增加告警规则资源(资源分组类型的告警规则不支持),资源分组类型的修改请使用资源分组管理相关接口

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) BatchCreateResources added in v0.1.12

BatchCreateResources 自定义资源分组批量增加关联资源

给自定义资源分组,即类型为手动添加的资源分组,批量增加关联资源

Please refer to HUAWEI cloud API Explorer for details.

func (*CesClient) BatchCreateResourcesInvoker added in v0.1.12

func (c *CesClient) BatchCreateResourcesInvoker(request *model.BatchCreateResourcesRequest) *BatchCreateResourcesInvoker

BatchCreateResourcesInvoker 自定义资源分组批量增加关联资源

func (*CesClient) BatchDeleteAlarmRules added in v0.0.99

BatchDeleteAlarmRules 批量删除告警规则

批量删除告警规则V2接口

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) BatchDeleteAlarmTemplates added in v0.1.12

BatchDeleteAlarmTemplates 批量删除自定义告警模板

批量删除自定义告警模板

Please refer to HUAWEI cloud API Explorer for details.

func (*CesClient) BatchDeleteAlarmTemplatesInvoker added in v0.1.12

func (c *CesClient) BatchDeleteAlarmTemplatesInvoker(request *model.BatchDeleteAlarmTemplatesRequest) *BatchDeleteAlarmTemplatesInvoker

BatchDeleteAlarmTemplatesInvoker 批量删除自定义告警模板

func (*CesClient) BatchDeleteResourceGroups added in v0.1.12

BatchDeleteResourceGroups 批量删除资源分组

批量删除资源分组

Please refer to HUAWEI cloud API Explorer for details.

func (*CesClient) BatchDeleteResourceGroupsInvoker added in v0.1.12

func (c *CesClient) BatchDeleteResourceGroupsInvoker(request *model.BatchDeleteResourceGroupsRequest) *BatchDeleteResourceGroupsInvoker

BatchDeleteResourceGroupsInvoker 批量删除资源分组

func (*CesClient) BatchDeleteResources added in v0.1.12

BatchDeleteResources 自定义资源分组批量删除关联资源

给自定义资源分组,即类型为手动添加的资源分组,批量删除关联资源

Please refer to HUAWEI cloud API Explorer for details.

func (*CesClient) BatchDeleteResourcesInvoker added in v0.1.12

func (c *CesClient) BatchDeleteResourcesInvoker(request *model.BatchDeleteResourcesRequest) *BatchDeleteResourcesInvoker

BatchDeleteResourcesInvoker 自定义资源分组批量删除关联资源

func (*CesClient) BatchEnableAlarmRules added in v0.0.99

BatchEnableAlarmRules 批量启停告警规则

批量启停告警规则

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 创建告警规则

创建告警规则

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) CreateAlarmTemplate added in v0.1.12

CreateAlarmTemplate 创建自定义告警模板

创建自定义告警模板

Please refer to HUAWEI cloud API Explorer for details.

func (*CesClient) CreateAlarmTemplateInvoker added in v0.1.12

func (c *CesClient) CreateAlarmTemplateInvoker(request *model.CreateAlarmTemplateRequest) *CreateAlarmTemplateInvoker

CreateAlarmTemplateInvoker 创建自定义告警模板

func (*CesClient) CreateResourceGroup added in v0.1.12

CreateResourceGroup 创建资源分组

创建资源分组

Please refer to HUAWEI cloud API Explorer for details.

func (*CesClient) CreateResourceGroupInvoker added in v0.1.12

func (c *CesClient) CreateResourceGroupInvoker(request *model.CreateResourceGroupRequest) *CreateResourceGroupInvoker

CreateResourceGroupInvoker 创建资源分组

func (*CesClient) DeleteAlarmRuleResources added in v0.0.99

DeleteAlarmRuleResources 批量删除告警规则资源

批量删除告警规则资源(资源分组类型的告警规则不支持),资源分组类型的修改请使用资源分组管理相关接口

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控制器维度指标信息。

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 查询告警记录列表

查询告警记录列表

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查询策略列表

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查询告警规则资源列表

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 查询告警规则列表

查询告警规则列表

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) ListAlarmTemplateAssociationAlarms added in v0.1.12

ListAlarmTemplateAssociationAlarms 查询告警模板关联的告警规则列表

查询告警模板关联的告警规则列表

Please refer to HUAWEI cloud API Explorer for details.

func (*CesClient) ListAlarmTemplateAssociationAlarmsInvoker added in v0.1.12

func (c *CesClient) ListAlarmTemplateAssociationAlarmsInvoker(request *model.ListAlarmTemplateAssociationAlarmsRequest) *ListAlarmTemplateAssociationAlarmsInvoker

ListAlarmTemplateAssociationAlarmsInvoker 查询告警模板关联的告警规则列表

func (*CesClient) ListAlarmTemplates added in v0.1.12

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.1.12

func (c *CesClient) ListAlarmTemplatesInvoker(request *model.ListAlarmTemplatesRequest) *ListAlarmTemplatesInvoker

ListAlarmTemplatesInvoker 查询告警模板列表

func (*CesClient) ListResourceGroups added in v0.1.12

func (c *CesClient) ListResourceGroups(request *model.ListResourceGroupsRequest) (*model.ListResourceGroupsResponse, error)

ListResourceGroups 查询资源分组列表

查询资源分组列表

Please refer to HUAWEI cloud API Explorer for details.

func (*CesClient) ListResourceGroupsInvoker added in v0.1.12

func (c *CesClient) ListResourceGroupsInvoker(request *model.ListResourceGroupsRequest) *ListResourceGroupsInvoker

ListResourceGroupsInvoker 查询资源分组列表

func (*CesClient) ListResourceGroupsServicesResources added in v0.1.12

ListResourceGroupsServicesResources 查询资源分组下指定服务类别特定维度的资源列表

查询资源分组下指定服务类别特定维度的资源列表

Please refer to HUAWEI cloud API Explorer for details.

func (*CesClient) ListResourceGroupsServicesResourcesInvoker added in v0.1.12

func (c *CesClient) ListResourceGroupsServicesResourcesInvoker(request *model.ListResourceGroupsServicesResourcesRequest) *ListResourceGroupsServicesResourcesInvoker

ListResourceGroupsServicesResourcesInvoker 查询资源分组下指定服务类别特定维度的资源列表

func (*CesClient) ShowAlarmTemplate added in v0.1.12

func (c *CesClient) ShowAlarmTemplate(request *model.ShowAlarmTemplateRequest) (*model.ShowAlarmTemplateResponse, error)

ShowAlarmTemplate 查询告警模板详情

查询告警模板详情

Please refer to HUAWEI cloud API Explorer for details.

func (*CesClient) ShowAlarmTemplateInvoker added in v0.1.12

func (c *CesClient) ShowAlarmTemplateInvoker(request *model.ShowAlarmTemplateRequest) *ShowAlarmTemplateInvoker

ShowAlarmTemplateInvoker 查询告警模板详情

func (*CesClient) ShowResourceGroup added in v0.1.12

func (c *CesClient) ShowResourceGroup(request *model.ShowResourceGroupRequest) (*model.ShowResourceGroupResponse, error)

ShowResourceGroup 查询指定资源分组详情

查询指定资源分组详情

Please refer to HUAWEI cloud API Explorer for details.

func (*CesClient) ShowResourceGroupInvoker added in v0.1.12

func (c *CesClient) ShowResourceGroupInvoker(request *model.ShowResourceGroupRequest) *ShowResourceGroupInvoker

ShowResourceGroupInvoker 查询指定资源分组详情

func (*CesClient) UpdateAlarmRulePolicies added in v0.0.99

UpdateAlarmRulePolicies 修改告警规则策略(全量修改)

修改告警规则策略(全量修改)

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 修改告警规则策略(全量修改)

func (*CesClient) UpdateAlarmTemplate added in v0.1.12

UpdateAlarmTemplate 修改自定义告警模板

修改自定义告警模板

Please refer to HUAWEI cloud API Explorer for details.

func (*CesClient) UpdateAlarmTemplateInvoker added in v0.1.12

func (c *CesClient) UpdateAlarmTemplateInvoker(request *model.UpdateAlarmTemplateRequest) *UpdateAlarmTemplateInvoker

UpdateAlarmTemplateInvoker 修改自定义告警模板

func (*CesClient) UpdateResourceGroup added in v0.1.12

UpdateResourceGroup 修改资源分组

修改资源分组

Please refer to HUAWEI cloud API Explorer for details.

func (*CesClient) UpdateResourceGroupInvoker added in v0.1.12

func (c *CesClient) UpdateResourceGroupInvoker(request *model.UpdateResourceGroupRequest) *UpdateResourceGroupInvoker

UpdateResourceGroupInvoker 修改资源分组

type CreateAlarmRulesInvoker added in v0.0.99

type CreateAlarmRulesInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateAlarmRulesInvoker) Invoke added in v0.0.99

type CreateAlarmTemplateInvoker added in v0.1.12

type CreateAlarmTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateAlarmTemplateInvoker) Invoke added in v0.1.12

type CreateResourceGroupInvoker added in v0.1.12

type CreateResourceGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateResourceGroupInvoker) Invoke added in v0.1.12

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 ListAlarmTemplateAssociationAlarmsInvoker added in v0.1.12

type ListAlarmTemplateAssociationAlarmsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAlarmTemplateAssociationAlarmsInvoker) Invoke added in v0.1.12

type ListAlarmTemplatesInvoker added in v0.1.12

type ListAlarmTemplatesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAlarmTemplatesInvoker) Invoke added in v0.1.12

type ListResourceGroupsInvoker added in v0.1.12

type ListResourceGroupsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourceGroupsInvoker) Invoke added in v0.1.12

type ListResourceGroupsServicesResourcesInvoker added in v0.1.12

type ListResourceGroupsServicesResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourceGroupsServicesResourcesInvoker) Invoke added in v0.1.12

type ShowAlarmTemplateInvoker added in v0.1.12

type ShowAlarmTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowAlarmTemplateInvoker) Invoke added in v0.1.12

type ShowResourceGroupInvoker added in v0.1.12

type ShowResourceGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowResourceGroupInvoker) Invoke added in v0.1.12

type UpdateAlarmRulePoliciesInvoker added in v0.0.99

type UpdateAlarmRulePoliciesInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateAlarmRulePoliciesInvoker) Invoke added in v0.0.99

type UpdateAlarmTemplateInvoker added in v0.1.12

type UpdateAlarmTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateAlarmTemplateInvoker) Invoke added in v0.1.12

type UpdateResourceGroupInvoker added in v0.1.12

type UpdateResourceGroupInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateResourceGroupInvoker) Invoke added in v0.1.12

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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