lib/v20180724/client.rb in tencentcloud-sdk-monitor-3.0.728 vs lib/v20180724/client.rb in tencentcloud-sdk-monitor-3.0.729
- old
+ new
@@ -365,11 +365,11 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 创建告警策略
+ # 创建 Prometheus 告警策略(将逐步废弃,建议使用 CreatePrometheusAlertGroup 创建告警策略)
# @param request: Request instance for CreatePrometheusAlertPolicy.
# @type request: :class:`Tencentcloud::monitor::V20180724::CreatePrometheusAlertPolicyRequest`
# @rtype: :class:`Tencentcloud::monitor::V20180724::CreatePrometheusAlertPolicyResponse`
def CreatePrometheusAlertPolicy(request)
@@ -437,10 +437,10 @@
raise e
rescue StandardError => e
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
end
- # 创建全局告警通知渠道
+ # 创建全局告警通知渠道。集群内创建的告警规则如果未配置告警通知渠道,默认走全局告警通知渠道(建议在控制台创建告警,集群内创建告警不易维护)
# @param request: Request instance for CreatePrometheusGlobalNotification.
# @type request: :class:`Tencentcloud::monitor::V20180724::CreatePrometheusGlobalNotificationRequest`
# @rtype: :class:`Tencentcloud::monitor::V20180724::CreatePrometheusGlobalNotificationResponse`
def CreatePrometheusGlobalNotification(request)
\ No newline at end of file