检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Request Parameters None Example Request Query details about a flavor (ID: physical.o2.medium) 1 GET https://{ECS Endpoint}/v2.1/c685484a8cc2416b97260938705deb65/flavors/physical.o2.medium Response Parameters Parameter Type Description flavor Object Specifies a BMS flavor.
Request Parameters None Example Request Querying details about extra_specs parameters of a flavor (ID: physical.s2.medium) 1 GET https://{ECS Endpoint}/v2.1/c685484a8cc2416b97260938705deb65/flavors/physical.s2.medium/os-extra_specs Response Parameters Parameter Type Description extra_specs
5c464453c043) with the public key ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQC9mC3WZN9UGLxgPBpP7H5jZMc6pKwOoSgre8yun6REFktn/Kz7DUt9jaR1UJyRzHxITfCfAIgSxPdGqB/oF1suMyWgu5i0625vavLB5z5kC8Hq3qZJ9zJO1poE1kyD+htiTtPWJ88e12xuH2XB/CZN9OpEiF98hAagiOE0EnOS5Q== Generated by Nova\n 1 POST https://{ECS
Example Request Querying details about BMSs 1 https://{ECS Endpoint}/v2.1/bbf1946d374b44a0a2a95533562ba954/servers/detail Querying details about BMSs with the __type_baremetal tag 1 https://{ECS Endpoint}/v2.1/bbf1946d374b44a0a2a95533562ba954/servers/detail?
Basic monitoring refers to monitoring of ECS metrics automatically reported (BMS does not support basic monitoring). OS monitoring provides system-wide, active, and fine-grained (10-second interval) monitoring for BMSs, on which Agent is installed.
When using native OpenStack APIs, you must use the endpoints registered by the ECS service. In the current version, long HTTP connections cannot be used to call native OpenStack APIs.
Example Request Changing the name of a BMS (ID: 95bf2490-5428-432c-ad9b-5e3406f869dd) to new-server-test 1 PUT https://{ECS Endpoint}/v2.1/c685484a8cc2416b97260938705deb65/servers/95bf2490-5428-432c-ad9b-5e3406f869dd 1 2 3 4 5 { "server": { "name": "new-server-test"
Request Parameters None Example Request Querying details about a BMS (ID: 9ab74d89-61e7-4259-8546-465fdebe4944) 1 GET https://{ECS Endpoint}/v2.1/bbf1946d374b44a0a2a95533562ba954/servers/9ab74d89-61e7-4259-8546-465fdebe4944 Response Parameters Parameter Type Description server Object
If a virtual IP address is bound to an ECS: leave the value of mac_address blank or set the MAC address of the NIC bound to the ECS. set allowed_address_pairs of the ECS to 1.1.1.1/0.