List Pod Assignments

List Pod Assignments

Pod assignments represent data about which pod contains resource assignments for a given user and global entitlement. This assigned pod helps brokering make good decisions when trying to launch a resource for a user, especially in cases where a pod is offline and new resource assignment for an existing user and persistent global entitlement is to be avoided. This data is automatically calculated and created when a new user and global entitlement requests brokering. This API supports Pagination and Filters.
For full information on using Filters, refer to 'Horizon Server REST Pagination and Filter Guide' of 'VMware Horizon Server API' in code.vmware.com All the listed privileges are required -

Privileges Description
FEDERATED_LDAP_VIEW Caller should have permission to this privilege, to perform this operation.
Request
URI
GET
https://{api_host}//localhost/rest/federation/v1/pod-assignments
COPY
Query Parameters
string
filter
Optional

filter expression built using fields with 'supported filters' as described in output model schema of this API.

filter example
{"type":"And", "filters":[{"type":"Equals", "name":"<>", "value":"<>"}] }
integer
page
Optional

page, if passed should be > 0.

page example
1
integer
size
Optional

size, if passed should be > 0.

size example
10

Authentication
This operation uses the following authentication methods.
Responses
200

OK

[
    {
        "global_application_entitlement_id": "e285ebe1-194b-4563-80e0-0ad21134c503",
        "global_desktop_entitlement_id": "7493bfc7-834a-4d9b-ac7d-b5f60893a3a6",
        "id": "28deeb70-97d5-409e-abb4-497196f1ee18",
        "pod_id": "32a5ea06-cd09-4609-b3e5-df8379e99c13",
        "user_id": "S-1-1-1-3965912346-1012345398-3123456564-123"
    }
]

401

User is not authenticated

Operation doesn't return any data structure

403

Access to the resource is forbidden

Operation doesn't return any data structure

409

Conflict | CPA not initialized for the pod

Operation doesn't return any data structure