检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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.
Data Disk Delete With this option, when the instance is removed from the AS group, all data disks attached to the instance will be deleted Health Check Method ECS health check With this method, AS checks whether instances are running.
Deleting a Lifecycle Hook On the Lifecycle Hooks page, locate the target lifecycle hook and click Delete in the Operation column. Parent topic: Scaling Action
You can query, modify, and delete an AS group based on the obtained scaling_group_id. Parent topic: Getting Started
For details, see Notifications. 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.
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.
Request Table 2 Request parameters Parameter Mandatory Type Description instances_id Yes Array of strings Specifies the ECS ID. instance_delete No String Specifies whether to delete an instance when it is removed from an AS group.
For details, see Notifications. delete_publicip Boolean Specifies whether to delete the EIP bound to the ECS when deleting the ECS. delete_volume Boolean Specifies whether to delete the data disks attached to the ECS when deleting the ECS. cloud_location_id String This parameter is
Commercial use Bandwidth Scaling 3 Changing the AZs of an enabled AS group You can add, change, and delete the AZs of an AS group when the group is enabled, without interrupting your services.
Commercial use Bandwidth Scaling 3 Changing the AZs of an enabled AS group You can add, change, and delete the AZs of an AS group when the group is enabled, without interrupting your services. Commercial use N/A May 2019 No.
Example request This example shows how to remove and delete instances with IDs instance_id_1 and instance_id_2 from the AS group with ID e5d27f5c-dd76-4a61-b4bc-a67c5686719a in a batch.
You can configure notifications for the AS group by referring to Notifications. delete_publicip No Boolean Specifies whether to delete the EIPs bound to ECS instances when the instances are removed from the AS group during scale-in actions. The value can be true or false.
For details, see Notifications. delete_publicip Boolean Specifies whether to delete the EIP bound to the ECS when deleting the ECS. delete_volume Boolean Specifies whether to delete the data disks attached to the ECS when deleting the ECS. cloud_location_id String This parameter is
It does not delete the instance.
It does not delete the instance. If multiple manually added instances must be removed, AS preferentially removes the earliest-added instance first.
Will a Yearly/Monthly ECS Instance Be Deleted If It Becomes Unhealthy? No. If a yearly/monthly ECS becomes unhealthy, it will be removed from the AS group, but will not be deleted. Parent topic: Instance
Will a Yearly/Monthly ECS Instance Be Deleted If It Becomes Unhealthy? No. If a yearly/monthly ECS becomes unhealthy, it will be removed from the AS group, but will not be deleted. Parent topic: Instance
When an Instance Is Removed from an AS Group and Deleted, Is the Application Data Saved? No. You must ensure that instances in the AS group do not store application status information or other important data, such as sessions, databases, and logs, or the data will be lost when AS
Why Instances in an AS Group Keep Failing Health Checks and Getting Deleted and Recreated? The rules of security group that the instances are in must allow access from the 100.125.0.0/16 network segment over the protocol and port used by ELB for health checks, or the health checks
Why Instances in an AS Group Keep Failing Health Checks and Getting Deleted and Recreated? The rules of security group that the instances are in must allow access from the 100.125.0.0/16 network segment over the protocol and port used by ELB for health checks, or the health checks