Class CloudWatchClient
java.lang.Object
cn.ucloud.common.client.DefaultClient
cn.ucloud.cloudwatch.client.CloudWatchClient
- All Implemented Interfaces:
CloudWatchClientInterface,Client,Closeable,AutoCloseable
This client is used to call actions of **CloudWatch** service
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBindAlertStrategy - 绑定告警策略CreateAlertStrategyTemplate - 新建条件模板DeleteAlertStrategyTemplate - 删除告警策略模板GetProductMetrics - 获取云产品关联的指标列表listAlertRecord(ListAlertRecordRequest request) ListAlertRecord - 告警记录ListAlertStrategy - 获取告警策略列表ListMonitorProduct - 获取监控对象类型列表QueryMetricDataSet - 查询监控指标数据集QueryMetricDataSummary - 获取资源看图属性列表UnBindAlertStrategy - 解绑告警策略Methods inherited from class cn.ucloud.common.client.DefaultClient
close, getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
Constructor Details
-
CloudWatchClient
-
-
Method Details
-
bindAlertStrategy
public BindAlertStrategyResponse bindAlertStrategy(BindAlertStrategyRequest request) throws UCloudException BindAlertStrategy - 绑定告警策略- Specified by:
bindAlertStrategyin interfaceCloudWatchClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createAlertStrategyTemplate
public CreateAlertStrategyTemplateResponse createAlertStrategyTemplate(CreateAlertStrategyTemplateRequest request) throws UCloudException CreateAlertStrategyTemplate - 新建条件模板- Specified by:
createAlertStrategyTemplatein interfaceCloudWatchClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteAlertStrategyTemplate
public DeleteAlertStrategyTemplateResponse deleteAlertStrategyTemplate(DeleteAlertStrategyTemplateRequest request) throws UCloudException DeleteAlertStrategyTemplate - 删除告警策略模板- Specified by:
deleteAlertStrategyTemplatein interfaceCloudWatchClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getProductMetrics
public GetProductMetricsResponse getProductMetrics(GetProductMetricsRequest request) throws UCloudException GetProductMetrics - 获取云产品关联的指标列表- Specified by:
getProductMetricsin interfaceCloudWatchClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listAlertRecord
public ListAlertRecordResponse listAlertRecord(ListAlertRecordRequest request) throws UCloudException ListAlertRecord - 告警记录- Specified by:
listAlertRecordin interfaceCloudWatchClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listAlertStrategy
public ListAlertStrategyResponse listAlertStrategy(ListAlertStrategyRequest request) throws UCloudException ListAlertStrategy - 获取告警策略列表- Specified by:
listAlertStrategyin interfaceCloudWatchClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
listMonitorProduct
public ListMonitorProductResponse listMonitorProduct(ListMonitorProductRequest request) throws UCloudException ListMonitorProduct - 获取监控对象类型列表- Specified by:
listMonitorProductin interfaceCloudWatchClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
queryMetricDataSet
public QueryMetricDataSetResponse queryMetricDataSet(QueryMetricDataSetRequest request) throws UCloudException QueryMetricDataSet - 查询监控指标数据集- Specified by:
queryMetricDataSetin interfaceCloudWatchClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
queryMetricDataSummary
public QueryMetricDataSummaryResponse queryMetricDataSummary(QueryMetricDataSummaryRequest request) throws UCloudException QueryMetricDataSummary - 获取资源看图属性列表- Specified by:
queryMetricDataSummaryin interfaceCloudWatchClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
unBindAlertStrategy
public UnBindAlertStrategyResponse unBindAlertStrategy(UnBindAlertStrategyRequest request) throws UCloudException UnBindAlertStrategy - 解绑告警策略- Specified by:
unBindAlertStrategyin interfaceCloudWatchClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-