client

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2018 License: Apache-2.0 Imports: 4 Imported by: 4 modules, 4 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MonitorClient

type MonitorClient struct {
	core.JDCloudClient
}

func NewMonitorClient

func NewMonitorClient(credential *core.Credential) *MonitorClient

func (*MonitorClient) CreateAlarm

创建报警规则,可以为某一个实例创建报警规则,也可以为多个实例同时创建报警规则。

func (*MonitorClient) DeleteAlarms

批量删除规则

func (*MonitorClient) DescribeAlarmHistory

查询报警历史

func (*MonitorClient) DescribeAlarms

查询监控规则

func (*MonitorClient) DescribeAlarmsByID

查询规则详情

func (*MonitorClient) DescribeMetricData

查看某资源的监控数据

func (*MonitorClient) DescribeMetrics

根据产品线查询可用监控项列表

func (*MonitorClient) DescribeMetricsForCreateAlarm

查询可用创建监控规则的指标列表

func (*MonitorClient) DisableAlarm

禁用报警规则。报警规则禁用后,将停止探测实例的监控项数据。

func (*MonitorClient) EnableAlarm

启用报警规则,当客户的报警规则处于停止状态时,可以使用此接口启用报警规则。

func (*MonitorClient) SetConfig

func (c *MonitorClient) SetConfig(config *core.Config)

func (*MonitorClient) SetLogger

func (c *MonitorClient) SetLogger(logger core.Logger)

func (*MonitorClient) UpdateAlarm

修改已创建的报警规则

Jump to

Keyboard shortcuts

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