RESTful knowledge exchange
Post Reply
HalYaman
Influencer
Posts: 12
Liked: 1 time
Joined: Feb 13, 2022 11:02 am
Full Name: Hal
Contact:

Source - individual VM size - API

Post by HalYaman »

Hi All,

Is there a way to get each individual VM size on the job using the API (EM)? (not the total size)

Thanks in advance
HY

HannesK
Veeam Software
Posts: 11031
Liked: 2096 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Source - individual VM size - API

Post by HannesK »

Hello,
I would try VCenter APIs for details about VMs

Best regards,
Hannes

neerajkhosla
Novice
Posts: 4
Liked: 1 time
Joined: Feb 20, 2022 9:32 am
Full Name: Neeraj Khosla
Contact:

Re: Source - individual VM size - API

Post by neerajkhosla »

Thanks Hannes

I am not aware of VCenter APIs. Can you please provide some more information which API to use ?

Thanks
Neeraj

wishr
Expert
Posts: 3077
Liked: 448 times
Joined: Aug 07, 2018 3:11 pm
Full Name: Fedor Maslov
Contact:

Re: Source - individual VM size - API

Post by wishr »

Hi,

This information is available in the vSphere documentation.

Thanks

oleg.feoktistov
Veeam Software
Posts: 1503
Liked: 495 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Source - individual VM size - API

Post by oleg.feoktistov »

Hi Neeraj,

This info is, indeed, not implemented in EM REST. The closest place I could find where it is supported is in VBR REST. See this reference. Otherwise, as my colleagues suggested above, VCenter API could be the way to go here.

Best regards,
Oleg

HalYaman
Influencer
Posts: 12
Liked: 1 time
Joined: Feb 13, 2022 11:02 am
Full Name: Hal
Contact:

Re: Source - individual VM size - API

Post by HalYaman »

Thanks, @HannesK,

I was hoping the Veeam API would provide such info.

Thanks a lot, we will keep digging for the best solution :)

HY.

neerajkhosla
Novice
Posts: 4
Liked: 1 time
Joined: Feb 20, 2022 9:32 am
Full Name: Neeraj Khosla
Contact:

Re: Source - individual VM size - API

Post by neerajkhosla » 1 person likes this post

This forum is proving a life saver for me. Thanks for the help.

I am able to get the VM sizes for VMs included in a backup job, but how to get the size of VM for an agent job ? Also, is there a way to get the NAS size too ?

Thanks in advance
Neeraj

oleg.feoktistov
Veeam Software
Posts: 1503
Liked: 495 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Source - individual VM size - API

Post by oleg.feoktistov »

Hi,

I'm afraid this info is not available via EM REST as it is not even in EM UI. Usually would involve adding it there first. However, it makes sense to add such info to VBR REST API as original size is reflected in VBR UI, so noted.

Thanks,
Oleg

HalYaman
Influencer
Posts: 12
Liked: 1 time
Joined: Feb 13, 2022 11:02 am
Full Name: Hal
Contact:

Re: Source - individual VM size - API

Post by HalYaman »

Thanks Oleg,

If this is something you/Veeam are looking to add, any ETA?

Thanks
HY.

oleg.feoktistov
Veeam Software
Posts: 1503
Liked: 495 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Source - individual VM size - API

Post by oleg.feoktistov »

Can't share any ETA, but we didn't plan this for VBR REST API in v12 as we didn't plan on adding any nas/agent support yet. Nonetheless, I noted it for future releases. Thanks!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests