弹性伸缩策略
权限 |
对应API接口 |
授权项 |
IAM项目 (Project) |
---|---|---|---|
创建弹性伸缩策略 |
POST /autoscaling-api/v1/{project_id}/scaling_policy |
as:policies:create |
√ |
修改弹性伸缩策略 |
PUT /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id} |
as:policies:update |
√ |
查询弹性伸缩策略列表 |
GET /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_group_id}/list |
as:policies:list |
√ |
查询弹性伸缩策略详情 |
GET /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id} |
as:policies:get |
√ |
执行或启用或停止弹性伸缩策略 |
POST /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id}/action |
as:policies:action |
√ |
删除弹性伸缩策略 |
DELETE /autoscaling-api/v1/{project_id}/scaling_policy/{scaling_policy_id} |
as:policies:delete |
√ |
创建弹性伸缩策略 |
POST /autoscaling-api/v2/{project_id}/scaling_policy |
as:policies:create |
√ |
修改弹性伸缩策略 |
PUT /autoscaling-api/v2/{project_id}/scaling_policy/{scaling_policy_id} |
as:policies:update |
√ |
查询弹性伸缩策略列表 |
GET /autoscaling-api/v2/{project_id}/scaling_policy/{scaling_resource_id}/list |
as:policies:list |
√ |
查询弹性伸缩策略列表 |
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 |
√ |
查询弹性伸缩策略详情 |
GET /autoscaling-api/v2/{project_id}/scaling_policy/{scaling_policy_id} |
as:policies:get |
√ |
批量操作弹性伸缩策略 |
POST /autoscaling-api/v1/{project_id}/scaling_policies/action |
as:policies:batchAction |
√ |