Got it

How Do I Query FusionCompute VM Information Through APIs?

Created: Jun 2, 2022 09:10:17Latest reply: Jun 3, 2022 18:52:04 149 3 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello, everyone!

I want to download the information about the status of FusionCompute VM, do you know how to query FusionCompute VM information through APIs?

Please help me, thanks!

  • x
  • convention:

Featured Answers
olive.zhao
Admin Created Jun 2, 2022 09:17:40

Yes, Helen,

You can use the API command to check the VM information.

Get <vm_uri>/<vmid> HTTP/1.1

Host https://<ip>:<port>

Accept application/json;version=<version>; charset=UTF-8

X-Auth-Token: <Authen_TOKEN>

For more details, see FusionCompute 8.0.0.SPC1 VRM APIs 01.

View more
  • x
  • convention:

All Answers
olive.zhao
olive.zhao Admin Created Jun 2, 2022 09:17:40

Yes, Helen,

You can use the API command to check the VM information.

Get <vm_uri>/<vmid> HTTP/1.1

Host https://<ip>:<port>

Accept application/json;version=<version>; charset=UTF-8

X-Auth-Token: <Authen_TOKEN>

For more details, see FusionCompute 8.0.0.SPC1 VRM APIs 01.

View more
  • x
  • convention:

Saqibaz
Saqibaz Created Jun 3, 2022 18:52:04

Good answer
View more
  • x
  • convention:

olive.zhao
olive.zhao Created Jun 6, 2022 08:31:30 (0) (0)
Thanks!  

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.