REST API knowledge exchange
Post Reply
adapterer
Expert
Posts: 227
Liked: 46 times
Joined: Oct 12, 2015 11:24 pm
Contact:

Feature Request: List Cloud Connect Tenant Replicas

Post by adapterer »

Hello,

Currently with the API there appears to be no way to associate a given replica with a cloud connect tenant, can this please be logged as a feature request?

We have a support case open 01929940.

Thanks.
veremin
Product Manager
Posts: 20406
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Feature Request: List Cloud Connect Tenant Replicas

Post by veremin »

Tenants' VMs have a prefix "$TenantName_". Thus, in order to get replicas belonging to specific tenant you have tou can query your infrastructure via lookup service using $TenantName as search mask.

A rough example:

Code: Select all

GET http://localhost:9399/api/lookup?host={hostUID}&name=$TenantName_&type=VM
Thanks.
paulmcnally
Service Provider
Posts: 14
Liked: never
Joined: Feb 26, 2020 10:19 am
Full Name: Paul McNally
Contact:

Re: Feature Request: List Cloud Connect Tenant Replicas

Post by paulmcnally »

Thanks very much, this worked for me with a wildcard:

Code: Select all

GET http://localhost:9399/api/lookup?host={hostUID}&name=TenantName_*&type=Vm
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests