AS Policies¶
Permission | API | Action | IAM Project | Enterprise Project |
---|---|---|---|---|
Creating an AS policy | POST /autoscaling-api/v1/{project_id}/scaling_policy | as:policies:create | Y | Y |
Modifying an AS policy | PUT /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id} | as:policies:update | Y | Y |
Querying AS policies | GET /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_group_id}/list | as:policies:list | Y | Y |
Querying AS policy details | GET /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id} | as:policies:get | Y | Y |
Executing, enabling, or disabling an AS policy | POST /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id}/action | as:policies:action | Y | Y |
Deleting an AS policy | DELETE /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id} | as:policies:delete | Y | Y |
Creating an AS policy | POST /autoscaling-api/v2/{project_id}/scaling_policy | as:policies:create | Y | Y |
Modifying an AS policy | PUT /autoscaling-api/v2/{project_id}/scaling_policy/{scaling_policy_id} | as:policies:update | Y | Y |
Querying AS policies | GET /autoscaling-api/v2/{project_id}/scaling_policy/{scaling_resource_id}/list | as:policies:list | Y | Y |
Querying AS policies | GET /autoscaling-api/v2/{project_id}/scaling_policy{? scaling_resource_id, scaling_resource_type ,scaling_policy_name, scaling_policy_id,scaling_policy_type,start_number,limit,sort_by,order,enterprise_project_id} | as:groups:get as:policies:list | Y | Y |
Querying AS policy details | GET /autoscaling-api/v2/{project_id}/scaling_policy/{scaling_policy_id} | as:policies:get | Y | Y |
Performing operations on AS policies in batches | POST /autoscaling-api/v1/{project_id}/scaling_policies/action | as:policies:batchAction | Y | Y |