-
- Service Provider
- Posts: 14
- Liked: never
- Joined: Feb 26, 2020 10:19 am
- Full Name: Paul McNally
- Contact:
Filter failover plans to a tenant UID
Hi, I'm having trouble filtering failover plans to ones linked to a specific tenant,
I've tried the following:
GET /api/cloud/cloudFailoverPlans?format=Entity&filter=TenantUid=="urn:veeam:CloudTenant:4333f8f4-2d47-4856-b5f1-74af0dcab3cd"
GET /api/cloud/cloudFailoverPlans?format=Entity&filter=TenantUid==4333f8f4-2d47-4856-b5f1-74af0dcab3cd
but it looks like no filtering is applied and all failover plans are returned.
Can anyone help me apply the filtering? Thanks
I've tried the following:
GET /api/cloud/cloudFailoverPlans?format=Entity&filter=TenantUid=="urn:veeam:CloudTenant:4333f8f4-2d47-4856-b5f1-74af0dcab3cd"
GET /api/cloud/cloudFailoverPlans?format=Entity&filter=TenantUid==4333f8f4-2d47-4856-b5f1-74af0dcab3cd
but it looks like no filtering is applied and all failover plans are returned.
Can anyone help me apply the filtering? Thanks
-
- VP, Product Management
- Posts: 27377
- Liked: 2800 times
- Joined: Mar 30, 2009 9:13 am
- Full Name: Vitaliy Safarov
- Contact:
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Filter failover plans to a tenant UID
What happens, if you replace TenantUID with CloudTenantUID? Thanks!
-
- Service Provider
- Posts: 14
- Liked: never
- Joined: Feb 26, 2020 10:19 am
- Full Name: Paul McNally
- Contact:
Re: Filter failover plans to a tenant UID
Hi guys,
/api/cloud/CloudFailoverPlans?format=Entity&filter=TenantName=="SomeTenantName" didnt work either
neither did
api/cloud/CloudFailoverPlans?format=Entity&filter=CloudTenantUid==urn:veeam:CloudTenant:108531af-fa08-42ed-bd45-830afc49bd67
Just seems like no filtering is applied.
/api/cloud/CloudFailoverPlans?format=Entity&filter=TenantName=="SomeTenantName" didnt work either
neither did
api/cloud/CloudFailoverPlans?format=Entity&filter=CloudTenantUid==urn:veeam:CloudTenant:108531af-fa08-42ed-bd45-830afc49bd67
Just seems like no filtering is applied.
-
- Veeam Vanguard
- Posts: 282
- Liked: 113 times
- Joined: Apr 20, 2017 4:19 pm
- Full Name: Joe Houghes
- Location: Castle Rock, CO
- Contact:
Re: Filter failover plans to a tenant UID
The correct name filter is 'CloudTenantName', not just 'TenantName'.
Can you try that?
Can you try that?
Husband, Father, Solutions Architect, Geek | @DenverVMUG & @DenverPSUG leader | International Speaker | Veeam Vanguard | vExpert (PRO) | Cisco Champion
-
- Service Provider
- Posts: 14
- Liked: never
- Joined: Feb 26, 2020 10:19 am
- Full Name: Paul McNally
- Contact:
Re: Filter failover plans to a tenant UID
Hi, so I managed to get filtering working if I use the /query endpoint instead of /cloud/cloudFailoverPlans
However the filtering only works on the basic properties such as the "Name" property but not the extra properties that are returned using "format=entities".
This means I can't filter failover plans by TenantUid or TenantName so not very useful. When I try and filter on these properties all the results are returned.
Is there a way to make the filtering work on the format=entities properties such as TenantUid or TenantName that I'm missing? Thanks
Code: Select all
/api/query?type=CloudFailoverPlan&filter=Name=="Internal Test"&format=entities
This means I can't filter failover plans by TenantUid or TenantName so not very useful. When I try and filter on these properties all the results are returned.
Is there a way to make the filtering work on the format=entities properties such as TenantUid or TenantName that I'm missing? Thanks
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Filter failover plans to a tenant UID
In the already referenced documentation we document properties that you can use for querying CloudFailoverPlan, those properties include CloudTenantUid and CloudTenantName.
If you construct proper query request and still do not get anything queried, kindly, reach our support team for further assistance.
Thanks!
If you construct proper query request and still do not get anything queried, kindly, reach our support team for further assistance.
Thanks!
Who is online
Users browsing this forum: No registered users and 3 guests