tencentcloud-sdk-nodejs-as 4.1.136 → 4.1.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -317,8 +317,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
317
317
|
*/
|
|
318
318
|
EnterStandby(req: EnterStandbyRequest, cb?: (error: string, rep: EnterStandbyResponse) => void): Promise<EnterStandbyResponse>;
|
|
319
319
|
/**
|
|
320
|
-
|
|
321
|
-
|
|
320
|
+
* 本接口(CreateScalingPolicy)用于创建告警触发策略。
|
|
321
|
+
- 目标追踪策略触发扩容的条件为,指定类型指标连续 3 个周期高于阈值(目标值),每个周期 1 分钟;触发缩容的条件为,指定类型指标连续 15 个周期低于阈值(目标值的80%),每个周期 1 分钟。
|
|
322
|
+
*/
|
|
322
323
|
CreateScalingPolicy(req: CreateScalingPolicyRequest, cb?: (error: string, rep: CreateScalingPolicyResponse) => void): Promise<CreateScalingPolicyResponse>;
|
|
323
324
|
/**
|
|
324
325
|
* 本接口(DeleteLaunchConfiguration)用于删除启动配置。
|
|
@@ -425,8 +425,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
425
425
|
return this.request("EnterStandby", req, cb);
|
|
426
426
|
}
|
|
427
427
|
/**
|
|
428
|
-
|
|
429
|
-
|
|
428
|
+
* 本接口(CreateScalingPolicy)用于创建告警触发策略。
|
|
429
|
+
- 目标追踪策略触发扩容的条件为,指定类型指标连续 3 个周期高于阈值(目标值),每个周期 1 分钟;触发缩容的条件为,指定类型指标连续 15 个周期低于阈值(目标值的80%),每个周期 1 分钟。
|
|
430
|
+
*/
|
|
430
431
|
async CreateScalingPolicy(req, cb) {
|
|
431
432
|
return this.request("CreateScalingPolicy", req, cb);
|
|
432
433
|
}
|