Package cn.ucloud.cloudwatch.client
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 - 绑定告警策略CreateAlertStrategy - 创建告警策略CreateAlertStrategyTemplate - 新建条件模板DeleteAlertStrategyTemplate - 删除告警条件模板EnableAlertStrategy - 是否启用告警策略GetProductMetrics - 获取云产品关联的指标列表listAlertRecord(ListAlertRecordRequest request) ListAlertRecord - 告警记录ListAlertStrategy - 获取告警策略列表ListAlertStrategyTemplate - 条件模板列表ListMonitorProduct - 获取监控对象类型列表ModifyAlertStrategyRemark - 修改告警策略备注QueryMetricDataSet - 查询监控指标数据集QueryMetricDataSummary - 获取资源看图属性列表UnBindAlertStrategy - 解绑告警策略UpdateAlertStrategy - 更新告警策略UpdateAlertStrategyTemplate - 编辑条件模板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
-
createAlertStrategy
public CreateAlertStrategyResponse createAlertStrategy(CreateAlertStrategyRequest request) throws UCloudException CreateAlertStrategy - 创建告警策略- Specified by:
createAlertStrategyin 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
-
enableAlertStrategy
public EnableAlertStrategyResponse enableAlertStrategy(EnableAlertStrategyRequest request) throws UCloudException EnableAlertStrategy - 是否启用告警策略- Specified by:
enableAlertStrategyin 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
-
listAlertStrategyTemplate
public ListAlertStrategyTemplateResponse listAlertStrategyTemplate(ListAlertStrategyTemplateRequest request) throws UCloudException ListAlertStrategyTemplate - 条件模板列表- Specified by:
listAlertStrategyTemplatein 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
-
modifyAlertStrategyRemark
public ModifyAlertStrategyRemarkResponse modifyAlertStrategyRemark(ModifyAlertStrategyRemarkRequest request) throws UCloudException ModifyAlertStrategyRemark - 修改告警策略备注- Specified by:
modifyAlertStrategyRemarkin 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
-
updateAlertStrategy
public UpdateAlertStrategyResponse updateAlertStrategy(UpdateAlertStrategyRequest request) throws UCloudException UpdateAlertStrategy - 更新告警策略- Specified by:
updateAlertStrategyin interfaceCloudWatchClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateAlertStrategyTemplate
public UpdateAlertStrategyTemplateResponse updateAlertStrategyTemplate(UpdateAlertStrategyTemplateRequest request) throws UCloudException UpdateAlertStrategyTemplate - 编辑条件模板- Specified by:
updateAlertStrategyTemplatein interfaceCloudWatchClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-