@alicloud/ess20220222 1.3.0 → 1.3.1
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/dist/client.d.ts +43 -18
- package/dist/client.js +1447 -1409
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +43 -18
package/dist/client.d.ts
CHANGED
|
@@ -8279,7 +8279,7 @@ export default class Client extends OpenApi {
|
|
|
8279
8279
|
* A scaling group is a group of Elastic Compute Service (ECS) instances that can be used in similar business scenarios.
|
|
8280
8280
|
* You can create only a limited number of scaling groups in a region. Go to Quota Center to check the quota of the scaling groups.
|
|
8281
8281
|
* A scaling group does not immediately take effect after you create the scaling group. You must call the EnableScalingGroup operation to enable the scaling group. After you enable the scaling group, Auto Scaling can execute scaling rules to trigger scaling activities in the scaling group.
|
|
8282
|
-
* The Classic Load Balancer (CLB) instances and ApsaraDB RDS instances that you want to associate with a scaling group must reside in the same region as the scaling group. CLB instances are formerly known as Server Load Balancer (SLB) instances. For more information, see the
|
|
8282
|
+
* The Classic Load Balancer (CLB) instances and ApsaraDB RDS instances that you want to associate with a scaling group must reside in the same region as the scaling group. CLB instances are formerly known as Server Load Balancer (SLB) instances. For more information, see the [Regions and zones](~~40654~~) topic.
|
|
8283
8283
|
* If you associate a CLB instance when you create a scaling group, Auto Scaling automatically adds ECS instances in the scaling group to the backend server group of the associated CLB instance. You can specify a server group to which ECS instances can be added. You can add ECS instances to the following types of server groups:
|
|
8284
8284
|
* * Default server group: a group of ECS instances that are used to receive requests. If you do not specify a vServer group or a primary/secondary server group for a listener, requests are forwarded to the ECS instances in the default server group.
|
|
8285
8285
|
* * vServer group: If you want to forward requests to backend servers that are not in the default server group or configure domain name-based or URL-based forwarding rules, you can use vServer groups.
|
|
@@ -8308,7 +8308,7 @@ export default class Client extends OpenApi {
|
|
|
8308
8308
|
* A scaling group is a group of Elastic Compute Service (ECS) instances that can be used in similar business scenarios.
|
|
8309
8309
|
* You can create only a limited number of scaling groups in a region. Go to Quota Center to check the quota of the scaling groups.
|
|
8310
8310
|
* A scaling group does not immediately take effect after you create the scaling group. You must call the EnableScalingGroup operation to enable the scaling group. After you enable the scaling group, Auto Scaling can execute scaling rules to trigger scaling activities in the scaling group.
|
|
8311
|
-
* The Classic Load Balancer (CLB) instances and ApsaraDB RDS instances that you want to associate with a scaling group must reside in the same region as the scaling group. CLB instances are formerly known as Server Load Balancer (SLB) instances. For more information, see the
|
|
8311
|
+
* The Classic Load Balancer (CLB) instances and ApsaraDB RDS instances that you want to associate with a scaling group must reside in the same region as the scaling group. CLB instances are formerly known as Server Load Balancer (SLB) instances. For more information, see the [Regions and zones](~~40654~~) topic.
|
|
8312
8312
|
* If you associate a CLB instance when you create a scaling group, Auto Scaling automatically adds ECS instances in the scaling group to the backend server group of the associated CLB instance. You can specify a server group to which ECS instances can be added. You can add ECS instances to the following types of server groups:
|
|
8313
8313
|
* * Default server group: a group of ECS instances that are used to receive requests. If you do not specify a vServer group or a primary/secondary server group for a listener, requests are forwarded to the ECS instances in the default server group.
|
|
8314
8314
|
* * vServer group: If you want to forward requests to backend servers that are not in the default server group or configure domain name-based or URL-based forwarding rules, you can use vServer groups.
|
|
@@ -8662,11 +8662,11 @@ export default class Client extends OpenApi {
|
|
|
8662
8662
|
listTagValuesWithOptions(request: ListTagValuesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagValuesResponse>;
|
|
8663
8663
|
listTagValues(request: ListTagValuesRequest): Promise<ListTagValuesResponse>;
|
|
8664
8664
|
/**
|
|
8665
|
-
* * If you set MetricType to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Custom monitoring event-triggered tasks](~~74861~~).
|
|
8666
|
-
* * When you create an event-triggered task, you must specify MetricName, DimensionKey, and DimensionValue to determine the range of statistics that you want to aggregate for the metrics of the scaling group. For example, you can specify the user_id and scaling_group dimensions for an event-triggered task to aggregate monitoring data of all Elastic Compute Service (ECS) instances in a scaling group within an Alibaba Cloud account.
|
|
8667
|
-
* * If you set MetricType to custom, the valid values are your custom metrics.
|
|
8668
|
-
* * For information about the metrics that are supported if you set MetricType to system, see
|
|
8669
|
-
* > The user_id and scaling_group dimensions are automatically populated. You need to only specify the device and state dimensions. For more information, see `DimensionKey` and `DimensionValue` in the "Request parameters" section of this topic.
|
|
8665
|
+
* * If you set the MetricType parameter to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Custom monitoring event-triggered tasks](~~74861~~).
|
|
8666
|
+
* * When you create an event-triggered task, you must specify the MetricName, DimensionKey, and DimensionValue parameters to determine the range of statistics that you want to aggregate for the metrics of the scaling group. For example, you can specify the user_id and scaling_group dimensions for an event-triggered task to aggregate monitoring data of all Elastic Compute Service (ECS) instances or elastic container instances in a scaling group within an Alibaba Cloud account.
|
|
8667
|
+
* * If you set the MetricType parameter to custom, the valid values are your custom metrics.
|
|
8668
|
+
* * For information about the metrics that are supported if you set the MetricType parameter to system, see[ Event-triggered task for system monitoring](~~74854~~).
|
|
8669
|
+
* > The user_id and scaling_group dimensions are automatically populated. You need to only specify the device and state dimensions. For more information, see the `DimensionKey` and `DimensionValue` parameters in the "Request parameters" section of this topic.
|
|
8670
8670
|
*
|
|
8671
8671
|
* @param request ModifyAlarmRequest
|
|
8672
8672
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -8674,11 +8674,11 @@ export default class Client extends OpenApi {
|
|
|
8674
8674
|
*/
|
|
8675
8675
|
modifyAlarmWithOptions(request: ModifyAlarmRequest, runtime: $Util.RuntimeOptions): Promise<ModifyAlarmResponse>;
|
|
8676
8676
|
/**
|
|
8677
|
-
* * If you set MetricType to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Custom monitoring event-triggered tasks](~~74861~~).
|
|
8678
|
-
* * When you create an event-triggered task, you must specify MetricName, DimensionKey, and DimensionValue to determine the range of statistics that you want to aggregate for the metrics of the scaling group. For example, you can specify the user_id and scaling_group dimensions for an event-triggered task to aggregate monitoring data of all Elastic Compute Service (ECS) instances in a scaling group within an Alibaba Cloud account.
|
|
8679
|
-
* * If you set MetricType to custom, the valid values are your custom metrics.
|
|
8680
|
-
* * For information about the metrics that are supported if you set MetricType to system, see
|
|
8681
|
-
* > The user_id and scaling_group dimensions are automatically populated. You need to only specify the device and state dimensions. For more information, see `DimensionKey` and `DimensionValue` in the "Request parameters" section of this topic.
|
|
8677
|
+
* * If you set the MetricType parameter to custom, you must report your custom metrics to CloudMonitor before you can create event-triggered tasks by using the custom metrics. For more information, see [Custom monitoring event-triggered tasks](~~74861~~).
|
|
8678
|
+
* * When you create an event-triggered task, you must specify the MetricName, DimensionKey, and DimensionValue parameters to determine the range of statistics that you want to aggregate for the metrics of the scaling group. For example, you can specify the user_id and scaling_group dimensions for an event-triggered task to aggregate monitoring data of all Elastic Compute Service (ECS) instances or elastic container instances in a scaling group within an Alibaba Cloud account.
|
|
8679
|
+
* * If you set the MetricType parameter to custom, the valid values are your custom metrics.
|
|
8680
|
+
* * For information about the metrics that are supported if you set the MetricType parameter to system, see[ Event-triggered task for system monitoring](~~74854~~).
|
|
8681
|
+
* > The user_id and scaling_group dimensions are automatically populated. You need to only specify the device and state dimensions. For more information, see the `DimensionKey` and `DimensionValue` parameters in the "Request parameters" section of this topic.
|
|
8682
8682
|
*
|
|
8683
8683
|
* @param request ModifyAlarmRequest
|
|
8684
8684
|
* @return ModifyAlarmResponse
|
|
@@ -8741,10 +8741,9 @@ export default class Client extends OpenApi {
|
|
|
8741
8741
|
* * You cannot call this operation to modify the settings of the following parameters:
|
|
8742
8742
|
* * RegionId
|
|
8743
8743
|
* * LoadBalancerId
|
|
8744
|
-
*
|
|
8744
|
+
* > If you want to change the CLB instances that are associated with your scaling group, call the AttachLoadBalancers and DetachLoadBalancers operations.
|
|
8745
8745
|
* * DBInstanceId
|
|
8746
|
-
*
|
|
8747
|
-
* **Note**If you want to change the ApsaraDB RDS instances that are associated with your scaling group, call the AttachDBInstances and DetachDBInstances operations.
|
|
8746
|
+
* > If you want to change the ApsaraDB RDS instances that are associated with your scaling group, call the AttachDBInstances and DetachDBInstances operations.
|
|
8748
8747
|
* * You can modify only scaling groups that are in the Active or Inactive state.
|
|
8749
8748
|
* * If you enable a new scaling configuration, Elastic Compute Service (ECS) instances that are created based on the previous scaling configuration still run as expected in the scaling group.
|
|
8750
8749
|
* * If the total number of instances in the scaling group is greater than the allowed maximum number after you change the value of the MaxSize parameter, Auto Scaling automatically removes instances from the scaling group to ensure that the number of instances is within the new range.
|
|
@@ -8760,10 +8759,9 @@ export default class Client extends OpenApi {
|
|
|
8760
8759
|
* * You cannot call this operation to modify the settings of the following parameters:
|
|
8761
8760
|
* * RegionId
|
|
8762
8761
|
* * LoadBalancerId
|
|
8763
|
-
*
|
|
8762
|
+
* > If you want to change the CLB instances that are associated with your scaling group, call the AttachLoadBalancers and DetachLoadBalancers operations.
|
|
8764
8763
|
* * DBInstanceId
|
|
8765
|
-
*
|
|
8766
|
-
* **Note**If you want to change the ApsaraDB RDS instances that are associated with your scaling group, call the AttachDBInstances and DetachDBInstances operations.
|
|
8764
|
+
* > If you want to change the ApsaraDB RDS instances that are associated with your scaling group, call the AttachDBInstances and DetachDBInstances operations.
|
|
8767
8765
|
* * You can modify only scaling groups that are in the Active or Inactive state.
|
|
8768
8766
|
* * If you enable a new scaling configuration, Elastic Compute Service (ECS) instances that are created based on the previous scaling configuration still run as expected in the scaling group.
|
|
8769
8767
|
* * If the total number of instances in the scaling group is greater than the allowed maximum number after you change the value of the MaxSize parameter, Auto Scaling automatically removes instances from the scaling group to ensure that the number of instances is within the new range.
|
|
@@ -8814,7 +8812,34 @@ export default class Client extends OpenApi {
|
|
|
8814
8812
|
* @return RecordLifecycleActionHeartbeatResponse
|
|
8815
8813
|
*/
|
|
8816
8814
|
recordLifecycleActionHeartbeat(request: RecordLifecycleActionHeartbeatRequest): Promise<RecordLifecycleActionHeartbeatResponse>;
|
|
8815
|
+
/**
|
|
8816
|
+
* * Before you call this operation, make sure that the following requirements are met:
|
|
8817
|
+
* * The scaling group is in the Active state.
|
|
8818
|
+
* * No scaling activity is in progress within the scaling group.
|
|
8819
|
+
* > If no scaling activity is in progress within the scaling group, you can call the operation even within the cooldown period.
|
|
8820
|
+
* * If an ECS instance is automatically created by Auto Scaling, or if an ECS instance is manually added to a scaling group and managed by the scaling group, the ECS instance is stopped in economical mode or is released after the instance is removed from the scaling group.
|
|
8821
|
+
* * If an ECS instance is manually added to a scaling group and is not managed by the scaling group, the ECS instance is not stopped or released after the instance is removed from the scaling group.
|
|
8822
|
+
* * If the difference between the number of existing ECS instances specified by the TotalCapacity parameter and the number of ECS instances that you call this operation to remove is less than the value of the MinSize parameter, the call fails.
|
|
8823
|
+
* A successful call only means that Auto Scaling accepts the request. The scaling activity may still fail. You can obtain the status of a scaling activity based on the value of the ScalingActivityId parameter in the response.
|
|
8824
|
+
*
|
|
8825
|
+
* @param request RemoveInstancesRequest
|
|
8826
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
8827
|
+
* @return RemoveInstancesResponse
|
|
8828
|
+
*/
|
|
8817
8829
|
removeInstancesWithOptions(request: RemoveInstancesRequest, runtime: $Util.RuntimeOptions): Promise<RemoveInstancesResponse>;
|
|
8830
|
+
/**
|
|
8831
|
+
* * Before you call this operation, make sure that the following requirements are met:
|
|
8832
|
+
* * The scaling group is in the Active state.
|
|
8833
|
+
* * No scaling activity is in progress within the scaling group.
|
|
8834
|
+
* > If no scaling activity is in progress within the scaling group, you can call the operation even within the cooldown period.
|
|
8835
|
+
* * If an ECS instance is automatically created by Auto Scaling, or if an ECS instance is manually added to a scaling group and managed by the scaling group, the ECS instance is stopped in economical mode or is released after the instance is removed from the scaling group.
|
|
8836
|
+
* * If an ECS instance is manually added to a scaling group and is not managed by the scaling group, the ECS instance is not stopped or released after the instance is removed from the scaling group.
|
|
8837
|
+
* * If the difference between the number of existing ECS instances specified by the TotalCapacity parameter and the number of ECS instances that you call this operation to remove is less than the value of the MinSize parameter, the call fails.
|
|
8838
|
+
* A successful call only means that Auto Scaling accepts the request. The scaling activity may still fail. You can obtain the status of a scaling activity based on the value of the ScalingActivityId parameter in the response.
|
|
8839
|
+
*
|
|
8840
|
+
* @param request RemoveInstancesRequest
|
|
8841
|
+
* @return RemoveInstancesResponse
|
|
8842
|
+
*/
|
|
8818
8843
|
removeInstances(request: RemoveInstancesRequest): Promise<RemoveInstancesResponse>;
|
|
8819
8844
|
resumeProcessesWithOptions(request: ResumeProcessesRequest, runtime: $Util.RuntimeOptions): Promise<ResumeProcessesResponse>;
|
|
8820
8845
|
resumeProcesses(request: ResumeProcessesRequest): Promise<ResumeProcessesResponse>;
|