@alicloud/ess20220222 1.4.0 → 1.4.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 +64 -46
- package/dist/client.js +72 -46
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +76 -46
package/dist/client.js
CHANGED
|
@@ -3701,6 +3701,7 @@ class DetachInstancesRequest extends $tea.Model {
|
|
|
3701
3701
|
clientToken: 'ClientToken',
|
|
3702
3702
|
decreaseDesiredCapacity: 'DecreaseDesiredCapacity',
|
|
3703
3703
|
detachOption: 'DetachOption',
|
|
3704
|
+
ignoreInvalidInstance: 'IgnoreInvalidInstance',
|
|
3704
3705
|
instanceIds: 'InstanceIds',
|
|
3705
3706
|
lifecycleHook: 'LifecycleHook',
|
|
3706
3707
|
ownerAccount: 'OwnerAccount',
|
|
@@ -3715,6 +3716,7 @@ class DetachInstancesRequest extends $tea.Model {
|
|
|
3715
3716
|
clientToken: 'string',
|
|
3716
3717
|
decreaseDesiredCapacity: 'boolean',
|
|
3717
3718
|
detachOption: 'string',
|
|
3719
|
+
ignoreInvalidInstance: 'boolean',
|
|
3718
3720
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
3719
3721
|
lifecycleHook: 'boolean',
|
|
3720
3722
|
ownerAccount: 'string',
|
|
@@ -5766,6 +5768,7 @@ class RemoveInstancesRequest extends $tea.Model {
|
|
|
5766
5768
|
return {
|
|
5767
5769
|
clientToken: 'ClientToken',
|
|
5768
5770
|
decreaseDesiredCapacity: 'DecreaseDesiredCapacity',
|
|
5771
|
+
ignoreInvalidInstance: 'IgnoreInvalidInstance',
|
|
5769
5772
|
instanceIds: 'InstanceIds',
|
|
5770
5773
|
ownerAccount: 'OwnerAccount',
|
|
5771
5774
|
ownerId: 'OwnerId',
|
|
@@ -5780,6 +5783,7 @@ class RemoveInstancesRequest extends $tea.Model {
|
|
|
5780
5783
|
return {
|
|
5781
5784
|
clientToken: 'string',
|
|
5782
5785
|
decreaseDesiredCapacity: 'boolean',
|
|
5786
|
+
ignoreInvalidInstance: 'boolean',
|
|
5783
5787
|
instanceIds: { 'type': 'array', 'itemType': 'string' },
|
|
5784
5788
|
ownerAccount: 'string',
|
|
5785
5789
|
ownerId: 'number',
|
|
@@ -14159,7 +14163,7 @@ class Client extends openapi_client_1.default {
|
|
|
14159
14163
|
return await this.deactivateScalingConfigurationWithOptions(request, runtime);
|
|
14160
14164
|
}
|
|
14161
14165
|
/**
|
|
14162
|
-
* @summary Deletes an event-triggered task.
|
|
14166
|
+
* @summary Deletes an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you no longer need an event-triggered task, you can call the DeleteAlarm operation to delete it.
|
|
14163
14167
|
*
|
|
14164
14168
|
* @param request DeleteAlarmRequest
|
|
14165
14169
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14197,7 +14201,7 @@ class Client extends openapi_client_1.default {
|
|
|
14197
14201
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAlarmResponse({}));
|
|
14198
14202
|
}
|
|
14199
14203
|
/**
|
|
14200
|
-
* @summary Deletes an event-triggered task.
|
|
14204
|
+
* @summary Deletes an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you no longer need an event-triggered task, you can call the DeleteAlarm operation to delete it.
|
|
14201
14205
|
*
|
|
14202
14206
|
* @param request DeleteAlarmRequest
|
|
14203
14207
|
* @return DeleteAlarmResponse
|
|
@@ -14207,11 +14211,11 @@ class Client extends openapi_client_1.default {
|
|
|
14207
14211
|
return await this.deleteAlarmWithOptions(request, runtime);
|
|
14208
14212
|
}
|
|
14209
14213
|
/**
|
|
14210
|
-
* @summary Deletes a scaling configuration
|
|
14214
|
+
* @summary Deletes a scaling configuration of the Elastic Container Instance type. If the scaling configuration of a scaling group is in the Inactive state and the scaling group contains no elastic container instances created from the scaling configuration, you can call the DeleteEciScalingConfiguration operation to delete the scaling configuration to free up the scaling configuration quota.
|
|
14211
14215
|
*
|
|
14212
|
-
* @description You cannot
|
|
14216
|
+
* @description You cannot call this operation to delete a scaling configuration in the following scenarios:
|
|
14213
14217
|
* * The scaling configuration is in the Active state.
|
|
14214
|
-
* * The scaling group contains elastic container instances
|
|
14218
|
+
* * The scaling group contains elastic container instances created from the scaling configuration.
|
|
14215
14219
|
*
|
|
14216
14220
|
* @param request DeleteEciScalingConfigurationRequest
|
|
14217
14221
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14252,11 +14256,11 @@ class Client extends openapi_client_1.default {
|
|
|
14252
14256
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteEciScalingConfigurationResponse({}));
|
|
14253
14257
|
}
|
|
14254
14258
|
/**
|
|
14255
|
-
* @summary Deletes a scaling configuration
|
|
14259
|
+
* @summary Deletes a scaling configuration of the Elastic Container Instance type. If the scaling configuration of a scaling group is in the Inactive state and the scaling group contains no elastic container instances created from the scaling configuration, you can call the DeleteEciScalingConfiguration operation to delete the scaling configuration to free up the scaling configuration quota.
|
|
14256
14260
|
*
|
|
14257
|
-
* @description You cannot
|
|
14261
|
+
* @description You cannot call this operation to delete a scaling configuration in the following scenarios:
|
|
14258
14262
|
* * The scaling configuration is in the Active state.
|
|
14259
|
-
* * The scaling group contains elastic container instances
|
|
14263
|
+
* * The scaling group contains elastic container instances created from the scaling configuration.
|
|
14260
14264
|
*
|
|
14261
14265
|
* @param request DeleteEciScalingConfigurationRequest
|
|
14262
14266
|
* @return DeleteEciScalingConfigurationResponse
|
|
@@ -14331,7 +14335,7 @@ class Client extends openapi_client_1.default {
|
|
|
14331
14335
|
return await this.deleteLifecycleHookWithOptions(request, runtime);
|
|
14332
14336
|
}
|
|
14333
14337
|
/**
|
|
14334
|
-
* @summary Deletes
|
|
14338
|
+
* @summary Deletes event notification rules. The event notification feature facilitates efficient issue identification and event management by automatically forwarding notifications from Auto Scaling to designated endpoints such as CloudMonitor or Message Service (MNS) topics and queues. If you no longer require an event notification rule, you can call the DeleteNotificationConfiguration operation to delete it.
|
|
14335
14339
|
*
|
|
14336
14340
|
* @param request DeleteNotificationConfigurationRequest
|
|
14337
14341
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14372,7 +14376,7 @@ class Client extends openapi_client_1.default {
|
|
|
14372
14376
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteNotificationConfigurationResponse({}));
|
|
14373
14377
|
}
|
|
14374
14378
|
/**
|
|
14375
|
-
* @summary Deletes
|
|
14379
|
+
* @summary Deletes event notification rules. The event notification feature facilitates efficient issue identification and event management by automatically forwarding notifications from Auto Scaling to designated endpoints such as CloudMonitor or Message Service (MNS) topics and queues. If you no longer require an event notification rule, you can call the DeleteNotificationConfiguration operation to delete it.
|
|
14376
14380
|
*
|
|
14377
14381
|
* @param request DeleteNotificationConfigurationRequest
|
|
14378
14382
|
* @return DeleteNotificationConfigurationResponse
|
|
@@ -14438,11 +14442,18 @@ class Client extends openapi_client_1.default {
|
|
|
14438
14442
|
return await this.deleteScalingConfigurationWithOptions(request, runtime);
|
|
14439
14443
|
}
|
|
14440
14444
|
/**
|
|
14441
|
-
* @summary Deletes a scaling group.
|
|
14445
|
+
* @summary Deletes a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can create scaling groups to manage your computing power with ease. The computing power refers to the instances that provide the computing capability. If you no longer require a scaling group, you can call the DeleteScalingGroup operation to delete it to free up the scaling group quota.
|
|
14442
14446
|
*
|
|
14443
|
-
* @description Before you
|
|
14444
|
-
* *
|
|
14445
|
-
* *
|
|
14447
|
+
* @description Before you call the DeleteScalingGroup operation, take note of the following items:
|
|
14448
|
+
* * If you delete a scaling group, the scaling configurations, scaling rules, scaling activities, and scaling requests related to the scaling group are also deleted.
|
|
14449
|
+
* * If you delete a scaling group, the scheduled tasks and event-triggered tasks of the scaling group are not deleted. The Server Load Balancer (SLB) instances and ApsaraDB RDS instances that are attached to the scaling group are also not deleted.
|
|
14450
|
+
* * If the scaling group that you want to delete contains ECS instances or elastic container instances that are in the In Service state, Auto Scaling stops the instances and then removes all manually added instances from the scaling group or releases all automatically created instances in the scaling group before the scaling group is deleted.
|
|
14451
|
+
* **
|
|
14452
|
+
* **Note** Before you delete a scaling group, make sure that the Deletion Protection feature is disabled. If you have enabled the Deletion Protection feature for a scaling group, disable the feature on the Modify Scaling Group page before you delete the scaling group.
|
|
14453
|
+
* * If you do not disable the Deletion Protection feature for a scaling group, you cannot delete the scaling group by using the Auto Scaling console or calling this operation. The Deletion Protection feature is an effective measure to safeguard scaling groups against unintended deletion.
|
|
14454
|
+
* * Prior to deleting a scaling group, make sure that your ECS instances within the scaling group are safeguarded against unintended release. Even if you have already enabled the Release Protection feature for the ECS instances, you must manually put these ECS instances into the Protected state. Doing so guarantees that the ECS instances will not be forcibly released during the deletion process of the scaling group, providing an extra layer of security.
|
|
14455
|
+
* **
|
|
14456
|
+
* **Note** Before you delete a scaling group, we recommend that you enable the Deletion Protection feature for ECS instances that you want to retain. This action guarantees that the ECS instances are not forcibly released after you delete the scaling group. For more information, see [SetInstancesProtection](https://help.aliyun.com/document_detail/459342.html).
|
|
14446
14457
|
*
|
|
14447
14458
|
* @param request DeleteScalingGroupRequest
|
|
14448
14459
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14486,11 +14497,18 @@ class Client extends openapi_client_1.default {
|
|
|
14486
14497
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScalingGroupResponse({}));
|
|
14487
14498
|
}
|
|
14488
14499
|
/**
|
|
14489
|
-
* @summary Deletes a scaling group.
|
|
14500
|
+
* @summary Deletes a scaling group. If you want to enable policy-based automatic addition or removal of instances of a specific type to meet evolving business requirements, you can create scaling groups to manage your computing power with ease. The computing power refers to the instances that provide the computing capability. If you no longer require a scaling group, you can call the DeleteScalingGroup operation to delete it to free up the scaling group quota.
|
|
14490
14501
|
*
|
|
14491
|
-
* @description Before you
|
|
14492
|
-
* *
|
|
14493
|
-
* *
|
|
14502
|
+
* @description Before you call the DeleteScalingGroup operation, take note of the following items:
|
|
14503
|
+
* * If you delete a scaling group, the scaling configurations, scaling rules, scaling activities, and scaling requests related to the scaling group are also deleted.
|
|
14504
|
+
* * If you delete a scaling group, the scheduled tasks and event-triggered tasks of the scaling group are not deleted. The Server Load Balancer (SLB) instances and ApsaraDB RDS instances that are attached to the scaling group are also not deleted.
|
|
14505
|
+
* * If the scaling group that you want to delete contains ECS instances or elastic container instances that are in the In Service state, Auto Scaling stops the instances and then removes all manually added instances from the scaling group or releases all automatically created instances in the scaling group before the scaling group is deleted.
|
|
14506
|
+
* **
|
|
14507
|
+
* **Note** Before you delete a scaling group, make sure that the Deletion Protection feature is disabled. If you have enabled the Deletion Protection feature for a scaling group, disable the feature on the Modify Scaling Group page before you delete the scaling group.
|
|
14508
|
+
* * If you do not disable the Deletion Protection feature for a scaling group, you cannot delete the scaling group by using the Auto Scaling console or calling this operation. The Deletion Protection feature is an effective measure to safeguard scaling groups against unintended deletion.
|
|
14509
|
+
* * Prior to deleting a scaling group, make sure that your ECS instances within the scaling group are safeguarded against unintended release. Even if you have already enabled the Release Protection feature for the ECS instances, you must manually put these ECS instances into the Protected state. Doing so guarantees that the ECS instances will not be forcibly released during the deletion process of the scaling group, providing an extra layer of security.
|
|
14510
|
+
* **
|
|
14511
|
+
* **Note** Before you delete a scaling group, we recommend that you enable the Deletion Protection feature for ECS instances that you want to retain. This action guarantees that the ECS instances are not forcibly released after you delete the scaling group. For more information, see [SetInstancesProtection](https://help.aliyun.com/document_detail/459342.html).
|
|
14494
14512
|
*
|
|
14495
14513
|
* @param request DeleteScalingGroupRequest
|
|
14496
14514
|
* @return DeleteScalingGroupResponse
|
|
@@ -14551,7 +14569,7 @@ class Client extends openapi_client_1.default {
|
|
|
14551
14569
|
return await this.deleteScalingRuleWithOptions(request, runtime);
|
|
14552
14570
|
}
|
|
14553
14571
|
/**
|
|
14554
|
-
* @summary Deletes a scheduled task.
|
|
14572
|
+
* @summary Deletes scheduled tasks. For workloads with predictable patterns, you can create scheduled tasks to align with your business requirements and optimize resource utilization for cost savings. These tasks automatically ensure that sufficient computing resources are provisioned in anticipation of peak hours and efficiently release unused resources during off-peak hours, thereby streamlining operational efficiency and reducing expenses. If you no longer require a scheduled task, you can call the DeleteScheduledTask operation to delete it.
|
|
14555
14573
|
*
|
|
14556
14574
|
* @param request DeleteScheduledTaskRequest
|
|
14557
14575
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14592,7 +14610,7 @@ class Client extends openapi_client_1.default {
|
|
|
14592
14610
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteScheduledTaskResponse({}));
|
|
14593
14611
|
}
|
|
14594
14612
|
/**
|
|
14595
|
-
* @summary Deletes a scheduled task.
|
|
14613
|
+
* @summary Deletes scheduled tasks. For workloads with predictable patterns, you can create scheduled tasks to align with your business requirements and optimize resource utilization for cost savings. These tasks automatically ensure that sufficient computing resources are provisioned in anticipation of peak hours and efficiently release unused resources during off-peak hours, thereby streamlining operational efficiency and reducing expenses. If you no longer require a scheduled task, you can call the DeleteScheduledTask operation to delete it.
|
|
14596
14614
|
*
|
|
14597
14615
|
* @param request DeleteScheduledTaskRequest
|
|
14598
14616
|
* @return DeleteScheduledTaskResponse
|
|
@@ -15095,7 +15113,7 @@ class Client extends openapi_client_1.default {
|
|
|
15095
15113
|
return await this.describePatternTypesWithOptions(request, runtime);
|
|
15096
15114
|
}
|
|
15097
15115
|
/**
|
|
15098
|
-
* @summary Queries the regions
|
|
15116
|
+
* @summary Queries regions. Before you activate Auto Scaling, you can call the DescribeRegions operation to query the regions where Auto Scaling is officially launched. This preliminary step facilitates the strategic selection of both the optimal region and availability zones for activating Auto Scaling, thereby guaranteeing the finest access speeds and operational efficiency within your chosen geographical area.
|
|
15099
15117
|
*
|
|
15100
15118
|
* @param request DescribeRegionsRequest
|
|
15101
15119
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15133,7 +15151,7 @@ class Client extends openapi_client_1.default {
|
|
|
15133
15151
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
15134
15152
|
}
|
|
15135
15153
|
/**
|
|
15136
|
-
* @summary Queries the regions
|
|
15154
|
+
* @summary Queries regions. Before you activate Auto Scaling, you can call the DescribeRegions operation to query the regions where Auto Scaling is officially launched. This preliminary step facilitates the strategic selection of both the optimal region and availability zones for activating Auto Scaling, thereby guaranteeing the finest access speeds and operational efficiency within your chosen geographical area.
|
|
15137
15155
|
*
|
|
15138
15156
|
* @param request DescribeRegionsRequest
|
|
15139
15157
|
* @return DescribeRegionsResponse
|
|
@@ -15834,6 +15852,9 @@ class Client extends openapi_client_1.default {
|
|
|
15834
15852
|
if (!tea_util_1.default.isUnset(request.detachOption)) {
|
|
15835
15853
|
query["DetachOption"] = request.detachOption;
|
|
15836
15854
|
}
|
|
15855
|
+
if (!tea_util_1.default.isUnset(request.ignoreInvalidInstance)) {
|
|
15856
|
+
query["IgnoreInvalidInstance"] = request.ignoreInvalidInstance;
|
|
15857
|
+
}
|
|
15837
15858
|
if (!tea_util_1.default.isUnset(request.instanceIds)) {
|
|
15838
15859
|
query["InstanceIds"] = request.instanceIds;
|
|
15839
15860
|
}
|
|
@@ -16079,7 +16100,9 @@ class Client extends openapi_client_1.default {
|
|
|
16079
16100
|
return await this.detachVServerGroupsWithOptions(request, runtime);
|
|
16080
16101
|
}
|
|
16081
16102
|
/**
|
|
16082
|
-
* @summary Disables an event-triggered task.
|
|
16103
|
+
* @summary Disables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you currently do not need an event-triggered task, you can call the DisableAlarm operation to disable it.
|
|
16104
|
+
*
|
|
16105
|
+
* @description Before you disable an event-triggered task, make sure that the task is in the `Normal`, `Alert`, or `Insufficient Data` state.
|
|
16083
16106
|
*
|
|
16084
16107
|
* @param request DisableAlarmRequest
|
|
16085
16108
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16117,7 +16140,9 @@ class Client extends openapi_client_1.default {
|
|
|
16117
16140
|
return $tea.cast(await this.callApi(params, req, runtime), new DisableAlarmResponse({}));
|
|
16118
16141
|
}
|
|
16119
16142
|
/**
|
|
16120
|
-
* @summary Disables an event-triggered task.
|
|
16143
|
+
* @summary Disables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you currently do not need an event-triggered task, you can call the DisableAlarm operation to disable it.
|
|
16144
|
+
*
|
|
16145
|
+
* @description Before you disable an event-triggered task, make sure that the task is in the `Normal`, `Alert`, or `Insufficient Data` state.
|
|
16121
16146
|
*
|
|
16122
16147
|
* @param request DisableAlarmRequest
|
|
16123
16148
|
* @return DisableAlarmResponse
|
|
@@ -16186,7 +16211,7 @@ class Client extends openapi_client_1.default {
|
|
|
16186
16211
|
return await this.disableScalingGroupWithOptions(request, runtime);
|
|
16187
16212
|
}
|
|
16188
16213
|
/**
|
|
16189
|
-
* @summary Enables an event-triggered task.
|
|
16214
|
+
* @summary Enables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you want to reuse an event-triggered task that is in the Disabled state, you can call the EnableAlarm operation to enable it.
|
|
16190
16215
|
*
|
|
16191
16216
|
* @param request EnableAlarmRequest
|
|
16192
16217
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16224,7 +16249,7 @@ class Client extends openapi_client_1.default {
|
|
|
16224
16249
|
return $tea.cast(await this.callApi(params, req, runtime), new EnableAlarmResponse({}));
|
|
16225
16250
|
}
|
|
16226
16251
|
/**
|
|
16227
|
-
* @summary Enables an event-triggered task.
|
|
16252
|
+
* @summary Enables an event-triggered task. If your business pattern is unpredictable or prone to unforeseen traffic spikes, you can create event-triggered tasks by associating CloudMonitor metrics to effectively monitor fluctuations in your business workload. Upon detecting that the criteria for alerts, as specified in event-triggered tasks, are fulfilled, Auto Scaling promptly issues alerts and executes the scaling rules predefined within those tasks. This process occurs within the predefined effective time windows of the tasks, thereby facilitating the automatic increase or decrease of Elastic Compute Service (ECS) instances or elastic container instances within your scaling groups. Ultimately, this mechanism ensures the dynamic optimization of resources based on real-time workload demands. If you want to reuse an event-triggered task that is in the Disabled state, you can call the EnableAlarm operation to enable it.
|
|
16228
16253
|
*
|
|
16229
16254
|
* @param request EnableAlarmRequest
|
|
16230
16255
|
* @return EnableAlarmResponse
|
|
@@ -16639,7 +16664,7 @@ class Client extends openapi_client_1.default {
|
|
|
16639
16664
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
16640
16665
|
}
|
|
16641
16666
|
/**
|
|
16642
|
-
* @summary Queries tag
|
|
16667
|
+
* @summary Queries the tag keys associated with Auto Scaling resources to facilitate a deeper comprehension of those resources. By doing so, you can categorize and manage your Auto Scaling resources more efficiently.
|
|
16643
16668
|
*
|
|
16644
16669
|
* @param request ListTagValuesRequest
|
|
16645
16670
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16686,7 +16711,7 @@ class Client extends openapi_client_1.default {
|
|
|
16686
16711
|
return $tea.cast(await this.callApi(params, req, runtime), new ListTagValuesResponse({}));
|
|
16687
16712
|
}
|
|
16688
16713
|
/**
|
|
16689
|
-
* @summary Queries tag
|
|
16714
|
+
* @summary Queries the tag keys associated with Auto Scaling resources to facilitate a deeper comprehension of those resources. By doing so, you can categorize and manage your Auto Scaling resources more efficiently.
|
|
16690
16715
|
*
|
|
16691
16716
|
* @param request ListTagValuesRequest
|
|
16692
16717
|
* @return ListTagValuesResponse
|
|
@@ -17902,6 +17927,9 @@ class Client extends openapi_client_1.default {
|
|
|
17902
17927
|
if (!tea_util_1.default.isUnset(request.decreaseDesiredCapacity)) {
|
|
17903
17928
|
query["DecreaseDesiredCapacity"] = request.decreaseDesiredCapacity;
|
|
17904
17929
|
}
|
|
17930
|
+
if (!tea_util_1.default.isUnset(request.ignoreInvalidInstance)) {
|
|
17931
|
+
query["IgnoreInvalidInstance"] = request.ignoreInvalidInstance;
|
|
17932
|
+
}
|
|
17905
17933
|
if (!tea_util_1.default.isUnset(request.instanceIds)) {
|
|
17906
17934
|
query["InstanceIds"] = request.instanceIds;
|
|
17907
17935
|
}
|
|
@@ -18214,13 +18242,12 @@ class Client extends openapi_client_1.default {
|
|
|
18214
18242
|
return await this.setInstanceHealthWithOptions(request, runtime);
|
|
18215
18243
|
}
|
|
18216
18244
|
/**
|
|
18217
|
-
* @summary Puts
|
|
18245
|
+
* @summary Puts Elastic Compute Service (ECS) instances into the Protected state. When ECS instances are put into the Protected state, they become immune to manual deletion attempts by using the Auto Scaling console or API operations. This operation serves as a robust safeguard, efficiently preventing any inadvertent instance release that could lead to irreversible consequences.
|
|
18218
18246
|
*
|
|
18219
|
-
* @description
|
|
18220
|
-
*
|
|
18221
|
-
* *
|
|
18222
|
-
* *
|
|
18223
|
-
* * After you put an ECS instance into the Protected state, Auto Scaling does not update the health status of the instance when the instance is stopped or restarted.
|
|
18247
|
+
* @description Once ECS instances enter the Protected state, they become subject to the following restrictions:
|
|
18248
|
+
* * ECS instances will persist in the Protected state, unless you deliberately remove them from this state.
|
|
18249
|
+
* * Even in scenarios where automatic scale-in actions are initiated due to fluctuations in the number of ECS instances or the execution of event-triggered tasks, Auto Scaling does not remove ECS instances that are in the Protected state from their respective scaling groups. Only after being manually removed from their respective scaling groups can ECS instances that are in the Protected state be released. For more information, see [Remove an ECS instance](https://help.aliyun.com/document_detail/25955.html).
|
|
18250
|
+
* * ECS instances in the Protected state maintain their existing health status even when they undergo stopping or restarting processes.
|
|
18224
18251
|
*
|
|
18225
18252
|
* @param request SetInstancesProtectionRequest
|
|
18226
18253
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18261,13 +18288,12 @@ class Client extends openapi_client_1.default {
|
|
|
18261
18288
|
return $tea.cast(await this.callApi(params, req, runtime), new SetInstancesProtectionResponse({}));
|
|
18262
18289
|
}
|
|
18263
18290
|
/**
|
|
18264
|
-
* @summary Puts
|
|
18291
|
+
* @summary Puts Elastic Compute Service (ECS) instances into the Protected state. When ECS instances are put into the Protected state, they become immune to manual deletion attempts by using the Auto Scaling console or API operations. This operation serves as a robust safeguard, efficiently preventing any inadvertent instance release that could lead to irreversible consequences.
|
|
18265
18292
|
*
|
|
18266
|
-
* @description
|
|
18267
|
-
*
|
|
18268
|
-
* *
|
|
18269
|
-
* *
|
|
18270
|
-
* * After you put an ECS instance into the Protected state, Auto Scaling does not update the health status of the instance when the instance is stopped or restarted.
|
|
18293
|
+
* @description Once ECS instances enter the Protected state, they become subject to the following restrictions:
|
|
18294
|
+
* * ECS instances will persist in the Protected state, unless you deliberately remove them from this state.
|
|
18295
|
+
* * Even in scenarios where automatic scale-in actions are initiated due to fluctuations in the number of ECS instances or the execution of event-triggered tasks, Auto Scaling does not remove ECS instances that are in the Protected state from their respective scaling groups. Only after being manually removed from their respective scaling groups can ECS instances that are in the Protected state be released. For more information, see [Remove an ECS instance](https://help.aliyun.com/document_detail/25955.html).
|
|
18296
|
+
* * ECS instances in the Protected state maintain their existing health status even when they undergo stopping or restarting processes.
|
|
18271
18297
|
*
|
|
18272
18298
|
* @param request SetInstancesProtectionRequest
|
|
18273
18299
|
* @return SetInstancesProtectionResponse
|
|
@@ -18277,7 +18303,7 @@ class Client extends openapi_client_1.default {
|
|
|
18277
18303
|
return await this.setInstancesProtectionWithOptions(request, runtime);
|
|
18278
18304
|
}
|
|
18279
18305
|
/**
|
|
18280
|
-
* @summary Suspends processes
|
|
18306
|
+
* @summary Suspends scaling processes. This operation empowers you to selectively pause distinct scaling processes within a particular scaling group, enabling you to carry out alternative tasks and achieve more granular management over your scaling operations.
|
|
18281
18307
|
*
|
|
18282
18308
|
* @param request SuspendProcessesRequest
|
|
18283
18309
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18321,7 +18347,7 @@ class Client extends openapi_client_1.default {
|
|
|
18321
18347
|
return $tea.cast(await this.callApi(params, req, runtime), new SuspendProcessesResponse({}));
|
|
18322
18348
|
}
|
|
18323
18349
|
/**
|
|
18324
|
-
* @summary Suspends processes
|
|
18350
|
+
* @summary Suspends scaling processes. This operation empowers you to selectively pause distinct scaling processes within a particular scaling group, enabling you to carry out alternative tasks and achieve more granular management over your scaling operations.
|
|
18325
18351
|
*
|
|
18326
18352
|
* @param request SuspendProcessesRequest
|
|
18327
18353
|
* @return SuspendProcessesResponse
|
|
@@ -18385,7 +18411,7 @@ class Client extends openapi_client_1.default {
|
|
|
18385
18411
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
18386
18412
|
}
|
|
18387
18413
|
/**
|
|
18388
|
-
* @summary Removes tags from
|
|
18414
|
+
* @summary Removes tags from Auto Scaling resources simultaneously. This operation streamlines resource management activities, enhances system efficiency, and mitigates potential security vulnerabilities. Once a tag is removed from a particular resource, and if it is not re-added to any other resource, the system will automatically delete the unused tag.
|
|
18389
18415
|
*
|
|
18390
18416
|
* @param request UntagResourcesRequest
|
|
18391
18417
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18432,7 +18458,7 @@ class Client extends openapi_client_1.default {
|
|
|
18432
18458
|
return $tea.cast(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
18433
18459
|
}
|
|
18434
18460
|
/**
|
|
18435
|
-
* @summary Removes tags from
|
|
18461
|
+
* @summary Removes tags from Auto Scaling resources simultaneously. This operation streamlines resource management activities, enhances system efficiency, and mitigates potential security vulnerabilities. Once a tag is removed from a particular resource, and if it is not re-added to any other resource, the system will automatically delete the unused tag.
|
|
18436
18462
|
*
|
|
18437
18463
|
* @param request UntagResourcesRequest
|
|
18438
18464
|
* @return UntagResourcesResponse
|
|
@@ -18493,7 +18519,7 @@ class Client extends openapi_client_1.default {
|
|
|
18493
18519
|
return await this.verifyAuthenticationWithOptions(request, runtime);
|
|
18494
18520
|
}
|
|
18495
18521
|
/**
|
|
18496
|
-
* @summary
|
|
18522
|
+
* @summary Verifies whether Auto Scaling is activated. This operation guarantees that in response to shifts in business workloads or variations in incoming traffic, the system will automatically adjust resource provisioning. This auto-scaling capability enhances the overall system performance, ensuring high availability and improved flexibility to accommodate dynamic demands.
|
|
18497
18523
|
*
|
|
18498
18524
|
* @param request VerifyUserRequest
|
|
18499
18525
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18531,7 +18557,7 @@ class Client extends openapi_client_1.default {
|
|
|
18531
18557
|
return $tea.cast(await this.callApi(params, req, runtime), new VerifyUserResponse({}));
|
|
18532
18558
|
}
|
|
18533
18559
|
/**
|
|
18534
|
-
* @summary
|
|
18560
|
+
* @summary Verifies whether Auto Scaling is activated. This operation guarantees that in response to shifts in business workloads or variations in incoming traffic, the system will automatically adjust resource provisioning. This auto-scaling capability enhances the overall system performance, ensuring high availability and improved flexibility to accommodate dynamic demands.
|
|
18535
18561
|
*
|
|
18536
18562
|
* @param request VerifyUserRequest
|
|
18537
18563
|
* @return VerifyUserResponse
|