更新时间:2024-04-18 GMT+08:00

状态管理

权限

对应的API接口

授权项(Action)

依赖的授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

切换弹性云服务器操作系统

POST /v2/{project_id}/cloudservers/{server_id}/changeos

ecs:cloudServers:changeOS

-

切换弹性云服务器操作系统

POST /v1/{project_id}/cloudservers/{server_id}/changeos

ecs:cloudServers:changeOS

-

重装弹性云服务器操作系统

POST /v2/{project_id}/cloudservers/{server_id}/reinstallos

ecs:cloudServers:rebuild

-

重装弹性云服务器操作系统

POST /v1/{project_id}/cloudservers/{server_id}/reinstallos

ecs:cloudServers:rebuild

-

变更云服务器规格(V1.1)

POST /v1.1/{project_id}/cloudservers/{server_id}/resize

ecs:cloudServers:resize

-

变更云服务器规格(按需)

POST /v1/{project_id}/cloudservers/{server_id}/resize

ecs:cloudServers:resize

-

冷迁移云服务器

POST /v1/{project_id}/cloudservers/{server_id}/migrate

ecs:cloudServers:migrate

-

启动云服务器(OpenStack原生)

POST /v2.1/{project_id}/servers/{server_id}/action

ecs:servers:start

ecs:servers:list

×

关闭云服务器(OpenStack原生)

POST /v2.1/{project_id}/servers/{server_id}/action

ecs:servers:stop

ecs:servers:list

×

重启云服务器(OpenStack原生)

POST /v2.1/{project_id}/servers/{server_id}/action

ecs:servers:reboot

ecs:servers:list

×

变更云服务器规格(OpenStack原生)

POST /v2.1/{project_id}/servers/{server_id}/action

ecs:servers:resize

ecs:servers:list

ecs:flavors:get

ims:images:get

evs:volumes:list

evs:volumes:create

evs:volumes:get

evs:volumes:attach

evs:volumes:detach

evs:volumes:manage

vpc:ports:get

vpc:ports:update

vpc:ports:create

vpc:ports:delete

×

锁定云服务器(OpenStack原生)

POST /v2.1/{project_id}/servers/{server_id}/action

ecs:servers:lock

ecs:servers:list

×

解锁定云服务器(OpenStack原生)

POST /v2.1/{project_id}/servers/{server_id}/action

ecs:servers:unlock

ecs:servers:list

×