View API
|
| Local Methods | ||
| Service Types | Data Object Types | All Properties | All Methods |
Service - GlobalSessionQueryService
- Class
- VMware.Hv.GlobalSessionQueryService
- See also
- DesktopId, GlobalEntitlementId, GlobalSessionPodSessionCounter, GlobalSessionQueryServiceCountSpec, GlobalSessionQueryServiceQuerySpec, PodId, QueryId, QueryResults, UserOrGroupId
- Since
- Horizon View 6.0
Service Description
Service that supports a pre-defined set of global session queries.Methods
GlobalSessionQueryService_Delete
Deletes the server-side state associated with query. To be used after queryByuser, queryByPod, queryByBrokeringPod, queryByDesktop and queryBySpec.Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the GlobalSessionQueryService used to make the method call. |
| id | QueryId |
from a result set.
|
Return Value
| Type | Description |
|---|---|
| None | |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Show WSDL type definition
GlobalSessionQueryService_GetCount
Deprecated. use #getCountWithSpec(CountSpec) instead Returns global session count for combination of parameters. All criteria are optional, though at least one must be specified.Privileges
| Privilege | Description |
|---|---|
| FEDERATED_SESSIONS_VIEW | Global session read is required to return a count of query results. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the GlobalSessionQueryService used to make the method call. |
| user | UserOrGroupId |
unique identifier for user or group
|
| pod | PodId |
unique identifier for pod
|
| brokeringPod | PodId |
unique identifier for brokering pod
|
| globalEntitlement | GlobalEntitlementId |
unique identifier for global entitlement
|
Return Value
| Type | Description |
|---|---|
| GlobalSessionPodSessionCounter[] | PodSessionCounter with session counts broken down by pods |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Show WSDL type definition
GlobalSessionQueryService_GetCountWithSpec
Returns global session count for combination of parameters. All criteria are optional, though at least one must be specified.Privileges
| Privilege | Description |
|---|---|
| FEDERATED_SESSIONS_VIEW | Global session read is required to return a count of query results. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the GlobalSessionQueryService used to make the method call. |
| countSpec | GlobalSessionQueryServiceCountSpec |
|
Return Value
| Type | Description |
|---|---|
| GlobalSessionPodSessionCounter[] | PodSessionCounter with session counts broken down by pods |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidRequest | Thrown if both globalEntitlement and globalApplicationEntitlement are set to non null values. If any two or more fields of user, pod, brokeringPod, desktop, clientName are set to non null values. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Show WSDL type definition
GlobalSessionQueryService_GetNext
Gets next page from query. To be used with queryByUser, queryByPod, queryByBrokeringPod, queryByDesktop and queryBySpec.Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the GlobalSessionQueryService used to make the method call. |
| id | QueryId |
from a result set.
|
Return Value
| Type | Description |
|---|---|
| QueryResults | next page of results. |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Show WSDL type definition
GlobalSessionQueryService_QueryByBrokeringPod
Deprecated. use #queryWithSpec(QuerySpec) instead Queries global sessions by brokering pod. Create a cursor for iterating though query results efficiently, and return the first set of results. Creates server-side state which should be explicitly deleted. Server side state will also time out eventually.Privileges
| Privilege | Description |
|---|---|
| FEDERATED_SESSIONS_VIEW | Global session read is required to query by brokering pod. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the GlobalSessionQueryService used to make the method call. |
| pod | PodId |
unique identifier for brokering pod
|
| globalEntitlement | GlobalEntitlementId |
unique identifier for global entitlement
|
| sortBy | xsd:string |
Member name to sort results by.
|
| sortDescending | xsd:boolean |
Sort order: false (ascending) by default.
|
| maxPageSize | xsd:int |
Maximum page size to return (the server may use a smaller size).
|
Return Value
| Type | Description |
|---|---|
| QueryResults | one page of results. |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Show WSDL type definition
GlobalSessionQueryService_QueryByDesktop
Deprecated. use #queryWithSpec(QuerySpec) instead Queries global sessions by desktop and GE for local pod. Create a cursor for iterating though query results efficiently, and return the first set of results. Creates server-side state which should be explicitly deleted. Server side state will also time out eventually.Privileges
| Privilege | Description |
|---|---|
| FEDERATED_SESSIONS_VIEW | Global session read is required to query by desktop. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the GlobalSessionQueryService used to make the method call. |
| desktop | DesktopId |
unique identifier for desktop
|
| globalEntitlement | GlobalEntitlementId |
unique identifier for global entitlement
|
| sortBy | xsd:string |
Member name to sort results by.
|
| sortDescending | xsd:boolean |
Sort order: false (ascending) by default.
|
| maxPageSize | xsd:int |
Maximum page size to return (the server may use a smaller size).
|
Return Value
| Type | Description |
|---|---|
| QueryResults | one page of results. |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Show WSDL type definition
GlobalSessionQueryService_QueryByPod
Deprecated. use #queryWithSpec(QuerySpec) instead Queries sessions by resource/destination pod. Create a cursor for iterating though query results efficiently, and return the first set of results. Creates server-side state which should be explicitly deleted. Server side state will also time out eventually.Privileges
| Privilege | Description |
|---|---|
| FEDERATED_SESSIONS_VIEW | Global session read is required to query by resource/destination pod. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the GlobalSessionQueryService used to make the method call. |
| pod | PodId |
unique identifier for pod
|
| globalEntitlement | GlobalEntitlementId |
unique identifier for global entitlement
|
| sortBy | xsd:string |
Member name to sort results by.
|
| sortDescending | xsd:boolean |
Sort order: false (ascending) by default.
|
| maxPageSize | xsd:int |
Maximum page size to return (the server may use a smaller size).
|
Return Value
| Type | Description |
|---|---|
| QueryResults | one page of results. |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Show WSDL type definition
GlobalSessionQueryService_QueryByUser
Deprecated. use #queryWithSpec(QuerySpec) instead Queries global sessions by user. Create a cursor for iterating though query results efficiently, and return the first set of results. Creates server-side state which should be explicitly deleted. Server side state will also time out eventually.Privileges
| Privilege | Description |
|---|---|
| FEDERATED_SESSIONS_VIEW | Global session read is required to query by user. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the GlobalSessionQueryService used to make the method call. |
| user | UserOrGroupId |
unique identifier for user
|
| globalEntitlement | GlobalEntitlementId |
unique identifier for global entitlement
|
| sortBy | xsd:string |
Member name to sort results by.
|
| sortDescending | xsd:boolean |
Sort order: false (ascending) by default.
|
| maxPageSize | xsd:int |
Maximum page size to return (the server may use a smaller size).
|
Return Value
| Type | Description |
|---|---|
| QueryResults | one page of results. |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Show WSDL type definition
GlobalSessionQueryService_QueryWithSpec
Queries global sessions based on QuerySpec . Creates a cursor for iterating though query results efficiently, and return the first set of results. Creates server-side state which should be explicitly deleted. Server side state will also time out eventually.Privileges
| Privilege | Description |
|---|---|
| FEDERATED_SESSIONS_VIEW | Global session read is required to query by user. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the GlobalSessionQueryService used to make the method call. |
| querySpec | GlobalSessionQueryServiceQuerySpec |
querySpec to filter the results
|
Return Value
| Type | Description |
|---|---|
| QueryResults | one page of results. |
Faults
| Type | Description |
|---|---|
| EntityNotFound | Thrown if any specified entity cannot be found. |
| InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
| InvalidArgument | Thrown if any specified argument is invalid. |
| InvalidRequest | Thrown if both globalEntitlement and globalApplicationEntitlement are set to non null values. If any two or more fields of user, pod, brokeringPod, desktop, clientName are set to non null values. |
| InvalidType | Thrown if the type of any specified argument is invalid. |
| UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Show WSDL type definition
| Top of page | Local Methods | ||
| Service Types | Data Object Types | All Properties | All Methods |