检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Request None Example Request This example removes the instance with ID b25c1589-c96c-465b-9fef-d06540d1945c from the AS group but does not delete the instance. DELETE https://{Endpoint}/autoscaling-api/v1/{project_id}/scaling_group_instance/b25c1589-c96c-465b-9fef-d06540d1945c?
/autoscaling-api/v1/{project_id}/scaling_group/{scaling_group_id} as:groups:delete √ √ Enabling or disabling an AS group POST /autoscaling-api/v1/{project_id}/scaling_group/{scaling_group_id}/action as:groups:action √ √ Parent topic: Permissions and Supported Actions
On the displayed page, locate the row containing the target AS policy and choose More > Delete in the Operation column. To concurrently delete multiple AS policies, select these AS policies and click Delete in the upper part of the AS policy list.
Can AS Automatically Delete ECS Instances Added Based on an AS Policy When They Are Not Required? What Is the Expected Number of Instances? How Do I Delete an ECS Instance Created in a Scaling Action? Will Yearly/Monthly ECS Instances Be Deleted If They Become Unhealthy?
/autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id}/{lifecycle_hook_name} as:lifecycleHooks:delete √ √ Parent topic: Permissions and Supported Actions
For example, you can assign permissions to allow some software developers to use AS resources but disallow them to delete or perform any high-risk operations on the resources.
Example Custom Policies Example 1: Grant permissions to remove instances from AS groups and create AS configurations. { "Version": "1.1", "Statement": [ { "Effect": "Allow", "Action": [ "as:instances:delete
Locate the row that contains the tag and click Edit or Delete in the Operation column. After clicking Edit, configure required parameters. For details, see Table 1. After you click Delete, the added tag will be deleted.
policy details GET /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id} as:policies:get √ √ Executing, enabling, or disabling an AS policy POST /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id}/action as:policies:action √ √ Deleting an AS policy DELETE
Do not stop or delete instances that have been added to an AS group on the ECS console as they will be marked as unhealthy and automatically removed from the AS group.
Do not stop or delete instances that have been added to an AS group on the ECS console as they will be marked as unhealthy and automatically removed from the AS group.
Lifecycle Use Restrictions Region and AZ 03 Be a Power User Describes how you can view, modify, or delete your resources, or perform other operations.
If this error code is returned, use parameter Message to obtain the instance ID and the failure cause. 400 AS.4030 Failed to delete instances in a batch. Failed to delete instances in batches.
Handling method: Change the notification subject used by the lifecycle hook or delete the lifecycle hook. Then enable the AS group. Issue description: The subnet you select does not have enough private IP addresses.
Handling method: Change the notification subject used by the lifecycle hook or delete the lifecycle hook. Then enable the AS group. Issue description: The subnet you select does not have enough private IP addresses.
Handling method: Change the notification subject used by the lifecycle hook or delete the lifecycle hook. Then enable the AS group. Issue description: The subnet you select does not have enough private IP addresses.
Handling method: Change the notification subject used by the lifecycle hook or delete the lifecycle hook. Then enable the AS group. Issue description: The subnet you select does not have enough private IP addresses.
It does not delete the instance. If multiple manually added ECS instances must be removed, AS preferentially removes the earliest-added instance first. Parent topic: Scaling Action
For details, see Querying AS Configurations. delete_publicip No Boolean Specifies whether to delete the EIP bound to the ECS when deleting the ECS. If you do not want to delete the EIP, set this parameter to false.
DELETE Requests the server to delete specified resources, for example, an object. HEAD Same as GET except that the server must return only the response header. PATCH Requests the server to update partial content of a specified resource.