List RDS Servers V2
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 At least one of the listed privileges is required -
Privileges | Description |
---|---|
MACHINE_VIEW | Returns results only for those RDS Servers, for which the caller has permission to this privilege, on the associated access group of RDS Server's farm. |
POOL_VIEW | Returns results only for those RDS Servers, for which the caller has permission to this privilege, on the associated access group of RDS Server's farm. |
GLOBAL_CONFIG_VIEW | Returns results only for those registered RDS Servers, that are part of farm, for which the caller needs permission to this privilege. |
page, if passed should be > 0.
1
size, if passed should be > 0.
10
filter expression built using fields with 'supported filters' as described in output model schema of this API.
[object Object]
Field that would be used to sort the results.
<property-name>
Determines the ordering of results.
ASC
OK
[
{
"access_group_id": "855ea6c5-720a-41e1-96f4-958c90e6e424",
"agent_build_number": "22673015",
"agent_upgrade_error_message": "true",
"agent_upgrade_result": "OK",
"agent_upgrade_state": "WAIT",
"agent_version": "7.12",
"base_vm_id": "vm-23",
"base_vm_snapshot_id": "snapshot-2",
"description": "New RDS Server.",
"dns_name": "machine1.example.com",
"enabled": true,
"farm_id": "855ea6c5-720a-41e1-96f4-958c90e6e424",
"id": "0103796c-102b-4ed3-953f-3dfe3d23e0fe",
"image_management_stream_id": "6f85b3a5-e7d0-4ad6-a1e3-37168dd1ed51",
"image_management_tag_id": "c9896e51-48a2-4d82-ae9e-a0246981b47d",
"load_index": 60,
"load_preference": "NORMAL",
"logoff_policy": "FORCE_LOGOFF",
"max_sessions_count": 123,
"max_sessions_count_configured": 123,
"max_sessions_type": "LIMITED",
"max_sessions_type_configured": "LIMITED",
"message_security_enhanced_mode_supported": true,
"message_security_mode": "MIXED",
"name": "server1",
"operating_system": "WINDOWS_SERVER_2012",
"operation": "REFRESH",
"operation_state": "AVAILABLE",
"pending_base_vm_id": "vm-8",
"pending_base_vm_snapshot_id": "snapshot-7",
"pending_image_management_stream_id": "ec88b3a5-e7d0-4ad6-a1e3-37168dd1fa25",
"pending_image_management_tag_id": "c9896e51-48a2-4d82-ae9e-a0246981b47d",
"remote_experience_agent_build_number": "32573985",
"remote_experience_agent_version": "7.12",
"session_count": 35,
"state": "AVAILABLE"
}
]
Bad Request
User is not authenticated
Access to the resource is forbidden