Getting full information from a certain TerminalPolicy

Format

MethodGET
URL

/vdi/terminalpolicies/$TERMINAL_POLICY_ID

Request contentsEmpty
Successful answerTerminalPolicyInfo Object
Non-successful answerErrorMessage Object
Unexpected answerHTTP 500

TerminalPolicyInfo Object

Schema

terminal_policy_idStringTerminalPolicy's unique identifier
stateStringTerminalPolicy's current status. Either "active" or "inactive"
desktop_protoStringAuthentication mode. Either "vdi" or "kiosk_spice"
auth_modeStringLegacy
rdp_server_ipStringLegacy
ad_server_ipStringLDAP/AD server's IP address
ad_server_portStringLDAP/AD server's port
ad_proxy_userStringLDAP/AD proxy user (a user with search permissions on the directory)
ad_proxy_passStringLDAP/AD proxy password
ad_realmStringLDAP/AD realm
ad_rdn_attrStringAttribute to be used as RDN for the LDAP/AD
desktop_policy_attrStringLDAP/AD's attribute which holds the DesktopPolicy's definition for each entry. Can be empty
desktop_policy_defaultStringDefault DesktopPolicy definition to be used when desktop_policy_attr is empty or doesn't exists. Can be empty
terminalsTerminalInfo ArrayList of Terminals registered on this TerminalPolicy.

JSON example

 

{
    "ad_rdn_attr": "cn",
    "state": "active",
    "auth_mode": "active_directory",
    "terminal_policy_id": "default",
    "terminals": [{
        "terminal_id": "h5-92fc15f6-dc24-7582-466c-eabc5827cb56",
        "last_access": "2015-12-15 16:12:29 (accepted)"
    }],
    "desktop_proto": "vdi",
    "ad_proxy_pass": "password",
    "ad_server_ip": "10.111.8.12",
    "desktop_policy_attr": "description",
    "desktop_policy_default": "windows7_public=Windows 7,opensuse421_public=OpenSUSE 42.1",
    "ad_server_port": "389",
    "ad_proxy_user": "cn=Administrator,cn=Users,dc=flexvdi,dc=demo",
    "rdp_server_ip": "",
    "ad_realm": "cn=Users,dc=flexvdi,dc=demo"
}

 

TerminalInfo Object

Schema

 

terminal_idStringTerminal's unique identifier
last_accessStringLast access date, and if was or not accepted

JSON example

 

{
    "terminal_id": "h5-92fc15f6-dc24-7582-466c-eabc5827cb56",
    "last_access": "2015-12-15 16:12:29 (accepted)"
}