检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Can AS Automatically Delete ECS Instances Added Based on an AS Policy When They Are Not Required? Yes. AS can do it if an AS policy has been added to trigger scaling actions to delete the ECS instances. Parent topic: Instance
Can the System Automatically Delete the Instances Added Based on an AS Policy When They Are Not Required? Yes. They can be automatically deleted if an AS policy has been added to trigger scaling actions to delete the instances. Parent topic: Instance
Batch Deleting AS Configurations Function This interface is used to batch delete AS configurations. AS configurations used by AS groups cannot be deleted. A maximum of 50 AS configurations can be deleted at a time.
Locate the row that contains the instance and click Remove and Delete in the Operation column. To delete multiple instances, select the check boxes in front of them and click Remove and Delete. Method 2 Log in to the AS console. Click the AS group name on the AS Groups page.
Locate the row that contains the instance and click Remove and Delete in the Operation column. To delete multiple instances, select the check boxes in front of them and click Remove and Delete. Method 2 Log in to the management console. Under Compute, click Auto Scaling.
/{instance_id} as:instances:delete √ √ Performing operations on instances in batches POST /autoscaling-api/v1/{project_id}/scaling_group_instance/{scaling_group_id}/action as:instances:batchAction √ √ Parent topic: Permissions and Supported Actions
Deleting an AS Configuration Scenarios When you no longer need an AS configuration, you can delete it as long as the AS configuration is not used by an AS group. You can delete a single AS configuration or delete them in batches. Procedure Log in to the AS console.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies as:scalingConfig:delete write scalingConfig* - as:configs:delete - URI DELETE /autoscaling-api/v1/{project_id}/scaling_configuration/{scaling_configuration_id} Table 1 Parameter description Parameter
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies as:scalingPolicy:delete write scalingPolicy* g:EnterpriseProjectId as:policies:delete - URI DELETE /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id} Table 1 Parameter description Parameter
The options are as follows: delete: deletes AS policies. resume: enables AS policies. pause: disables AS policies. force_delete No String Specifies whether to forcibly delete an AS policy. If the value is set to no, in-progress AS policies cannot be deleted.
Deleting a Planned Task Function This API is used to delete a planned task of an AS group.
Grant the permission to delete an AS configuration. write scalingConfig* - as:configs:delete as:scalingConfig:batchDelete Grant the permission to delete AS configurations. write scalingConfig* - as:configs:batchDelete as:scalingConfig:list Grant the permission to list AS configurations
In the displayed Delete Bandwidth Scaling Policy dialog box, click Yes. You can also select one or more scaling policies and click Delete above the list to delete one or more scaling policies. You can delete a bandwidth scaling policy when you no longer need it.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies as:scalingGroup:delete write scalingGroup* g:EnterpriseProjectId g:ResourceTag/<tag-key> as:groups:delete - URI DELETE /autoscaling-api/v1/{project_id}/scaling_group/{scaling_group_id} Table 1 Parameter
Deleting an AS Group Scenarios You can delete an AS group when it is no longer needed. If an AS group is not required during a specified period, you are advised to disable it but not delete it.
Creating or Deleting a Tag Function This API is used to create or delete a tag. Each AS group can have a maximum of 10 tags added to it.
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies as:scalingGroup:deleteNotification write scalingGroup* g:EnterpriseProjectId g:ResourceTag/<tag-key> as:notifications:delete - URI DELETE /autoscaling-api/v1/{project_id}/scaling_notification/{scaling_group_id
Action Access Level Resource Type (*: required) Condition Key Alias Dependencies as:scalingGroup:deleteLifecycleHook write scalingGroup* g:EnterpriseProjectId g:ResourceTag/<tag-key> as:lifecycleHooks:delete - URI DELETE /autoscaling-api/v1/{project_id}/scaling_lifecycle_hook/{scaling_group_id
Table 1 AS APIs Function Description AS group Create, query, modify, and delete AS groups. AS configuration Create, query, and delete AS configurations. Instance Query instances and remove instances from AS groups. AS policy Create, query, modify, and delete AS policies.
/autoscaling-api/v1/{project_id}/scaling_notification/{scaling_group_id}/{topic_urn} as:notifications:delete √ √ Parent topic: Permissions and Supported Actions