检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
{ "response": [ { "id": "616fb98f-46ca-475e-917e-2563e5a8cd19
cat /etc/fstab | grep 磁盘分区的UUID 以查询磁盘分区的UUID“e7100f3e-af65-49da-a013-c4ace8e5aba7”为例,命令如下: cat /etc/fstab | grep e7100f3e-af65-49da-a013-c4ace8e5aba7
40cd-ab9e-129db56bc05d" } ], "id": "3a64bd37-955e-40cd-ab9e-129db56bc05d" },
-45cc-b5bd-68864209e5c 响应示例 { "instanceAction": { "instance_uuid": "e723eb40-f56e-40f9-8c8c-caa517fe06ba", "user_id": "752be40780484291a9cc7ae50fff3e6d
以下是PCR8实例: EXTEND_PCR: index: 8 EXTEND_PCR: data: c5b3e075e00c261e7fc364f1541067b2a42d4b793225ab10e5cfb8eaca31b3d598af9dd2e491828c2569a9953401abcb
": "fa:16:3e:37:de:ee", "OS-EXT-IPS:type": "floating", "OS-EXT-IPS:port_id": "390b39b0-9a77-4ec2-ae1e-3af358f78999" }] }, "flavor
locked":false, "config_drive":"", "tenant_id":"edcb94a885a84ed3a3fdf8ea4d2741da", "user_id":"eb4698fe015848e9a3e86cc9956e54fa
{ "response": [ { "id": "616fb98f-46ca-475e-917e-2563e5a8cd19
GET https://{endpoint}/v2.1/{project_id}/servers 响应示例 { "servers": [ { "id": "616fb98f-46ca-475e-917e-2563e5a8cd19",
917e-2563e5a8cd19" } } 返回值 请参考通用请求返回值。
cat /etc/fstab | grep 磁盘分区的UUID 以查询磁盘分区的UUID“11e39b6b-07fc-4675-8302-04c7ce7e30bd”为例,命令如下: cat /etc/fstab | grep 11e39b6b-07fc-4675-8302-04c7ce7e30bd
", "links": [ { "href": "http://xxx/v2/d9ebe43510414ef590a4aa158605329e/images/ee10f19c-503c-44af-af2f-73d5e42f7a17
/{endpoint}/v2/{project_id}/cloudservers/{server_id}/changeos { "os-change": { "adminpass": "$ADMIN_PASS", "userid": "7e25b1da389f4697a79df3a0e5bd494e
{ "projects": [ { "domain_id": "65382450e8f64ac0870cd180d14e684b", "is_domain": false, "parent_id
"href": "http://xxx/d9ebe43510414ef590a4aa158605329e/images/ee10f19c-503c-44af-af2f-73d5e42f7a17", "rel": "alternate",
endpoint}/v2/{project_id}/cloudservers/{server_id}/reinstallos { "os-reinstall": { "adminpass": "$ADMIN_PASS", "userid": "7e25b1da389f4697a79df3a0e5bd494e
52:**:**:**:**:**:**:**:**:**", "id": 1, "name": "keypair-3582d8b7-e588-4aad-b7f7-f4e76f0e4314", "public_key": "ssh-rsa
removeFloatingIp参数信息 参数 是否必选 参数类型 描述 address 是 String 浮动IP的IP地址 响应消息 无 请求示例 POST https://{endpoint}/v2.1/9c53a566cb3443ab910cf0daebca90c4/servers/47e9be4e-a7b9
UUID=b9a07b7b-9322-4e05-ab9b-14b8050cd8cc /data1 ext4 defaults 0 0 其中, UUID=b9a07b7b-9322-4e05-ab9b-14b8050cd8cc:磁盘的分区的UUID。
请求示例 添加网络ID为“d32019d3-bc6e-4319-9c1d-6722fc136a23”,安全组ID为“f0ac4394-7e4a-4409-9701-ba8be283dbc3”的网卡至云服务器。