RESTful knowledge exchange
Post Reply
jamesmanning
Service Provider
Posts: 7
Liked: never
Joined: Oct 29, 2019 1:51 pm
Full Name: James Manning
Contact:

possible to get Rental*BackupCount values for cloud tenants in a single call?

Post by jamesmanning »

Currently in order to get these values from the cloud tenants, I have to make the 'top level' api/cloud/tenants?format=Entity call (port 9398), then call each tenant's freelicenseCounters for each tenant.

However, when looking at how the Get-VBRCloudTenant cmdlet works, it seems like it's able to get these values across all tenants in a single query against TenantsView in the database

This made me wonder if there's a different API or different way of calling api/cloud/tenants that I'm missing so that I could make just 1 call and still get the rental count fields (RentalVMBackupCount, RentalWorkstationBackupCount, RentalServerBackupCount) instead of the N+1 calls I need to make now.

This is related to support case 03920440 FWIW

Thanks!
chris.arceneaux
VeeaMVP
Posts: 667
Liked: 358 times
Joined: Jun 24, 2019 1:39 pm
Full Name: Chris Arceneaux
Location: Georgia, USA
Contact:

Re: possible to get Rental*BackupCount values for cloud tenants in a single call?

Post by chris.arceneaux » 1 person likes this post

Hi James,

You've got the API calls correct. There isn't an API call that you're missing.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests