弹性云服务器 ECS-元数据管理

时间:2024-11-14 15:10:23

元数据管理

权限

对应的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

-

×

×

support.huaweicloud.com/api-ecs/ecs_06_0011.html