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

元数据管理

权限

对应的API接口

授权项(Action)

依赖的授权项

IAM项目

(Project)

企业项目

(Enterprise Project)

实例授权

标签授权

查询云服务器元数据列表(OpenStack原生)

GET /v2.1/{project_id}/servers/{server_id}/metadata

ecs:servers:listMetadata

-

×

×

×

获取云服务器指定Key的元数据(OpenStack原生)

GET /v2.1/{project_id}/servers/{server_id}/metadata/{key}

ecs:servers:getMetadata

ecs:servers:get

×

×

×

删除云服务器指定元数据(OpenStack原生)

DELETE /v2.1/{project_id}/servers/{server_id}/metadata/{key}

ecs:servers:setMetadata

-

×

×

×

修改云服务器指定Key的元数据(OpenStack原生)

PUT /v2.1/{project_id}/servers/{server_id}/metadata/{key}

ecs:servers:setMetadata

-

×

×

×

更新云服务器元数据(OpenStack原生)

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

ecs:servers:setMetadata

-

×

×

×

设置云服务器元数据(OpenStack原生)

PUT /v2.1/{project_id}/servers/{server_id}/metadata

ecs:servers:setMetadata

ecs:servers:get

×

×

×

更新云服务器元数据

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

ecs:cloudServers:updateMetadata

-

×

×

删除云服务器指定元数据

DELETE /v1/{project_id}/cloudservers/{server_id}/metadata/{key}

ecs:cloudServers:deleteMetadata

-

×

×