Create Global Desktop Entitlement V2

Create Global Desktop Entitlement V2

Note: CPA must be initialized for the pod for invoking this API.
All the listed privileges are required -

Privileges Description
FEDERATED_LDAP_MANAGE Caller should have permission to this privilege, on the associated federated access group to manage the global desktop entitlement.
Request
URI
POST
https://{api_host}//localhost/rest/inventory/v2/global-desktop-entitlements
COPY
Request Body

Global Desktop Entitlement object to be created.

GlobalDesktopEntitlementCreateSpecV2 of type(s) application/json
Required
{
    "allow_multiple_sessions_per_user": true,
    "allow_users_to_choose_protocol": true,
    "allow_users_to_reset_machines": true,
    "category_folder_name": "dir1\\dir2\\dir3\\dir4",
    "cloud_managed": false,
    "cs_restriction_tags": [
        "Internal",
        "External"
    ],
    "dedicated": true,
    "default_display_protocol": "PCOIP",
    "description": "global desktop entitlement description",
    "display_assigned_machine_name": false,
    "display_machine_alias": false,
    "display_name": "global-desktop-entitlement",
    "enable_client_restrictions": false,
    "enabled": true,
    "federated_access_group_id": "310927ee-1195-44c3-b877-5b194b4b4ea8",
    "multiple_session_auto_clean": false,
    "name": "global-desktop-entitlement",
    "require_home_site": false,
    "scope": "ALL_SITES",
    "session_collaboration_enabled": false,
    "shortcut_locations_v2": [
        "DESKTOP"
    ],
    "use_home_site": false
}
boolean
allow_multiple_sessions_per_user
Optional

Indicates whether users can have multiple sessions when accessed from different client devices, this is also called Class room mode and applicable only to floating user assignment. If value is set to true, the desktop pools that are associated with this Global Desktop Entitlement must also allow users to have multiple sessions with allowMultipleSessionsPerUser. Default value is false.

boolean
allow_users_to_choose_protocol
Optional

Indicates whether the users can choose the protocol used. If set to true, the desktop pools that are associated with this Global Desktop Entitlement must also allow users to choose display protocol with allowUsersToChooseProtocol. Default value is true.

boolean
allow_users_to_reset_machines
Optional

Indicates whether users are allowed to reset/restart their machines. If set to true, the desktop pools that are associated with this Global Desktop Entitlement must also allow users to reset/restart machines with allowUsersToResetMachines. Default value is false.

string
category_folder_name
Optional

Name of the category folder in the user's OS containing a shortcut to the entitlement. Unset if the entitlement does not belong to a category.

boolean
cloud_managed
Optional

Indicates whether this global desktop entitlement is managed from cloud. Default value is false.

array of string
cs_restriction_tags
Optional

List of connection server restriction tags to which the access to the global desktop entitlement is restricted. Empty or null list means that entitlement can be accessed from any connection server

boolean
dedicated
Optional

Indicates whether global desktop entitlement is dedicated. If so, only dedicated desktop pools can be associated with this Global Desktop Entitlement. Otherwise, only floating desktop pools, can be associated with it. Can only be set at time of creation. Default value is false.

string
default_display_protocol
Optional

The default display protocol for the Global Desktop Entitlement. Clients connecting through this Global Desktop Entitlement that do not specify a protocol will use this value, not the value specified directly on the desktop pool to which they connect (if different).This property has a default value of "PCOIP".

  • RDP: Microsoft Remote Desktop Protocol.
  • PCOIP: PCoIP protocol.
  • BLAST: BLAST protocol.
Possible values are : RDP, PCOIP, BLAST,
string
description
Optional

Description of Global Desktop Entitlement.

boolean
display_assigned_machine_name
Optional

Indicates whether users should see the hostname of the machine assigned to them instead of displayName when they connect using Horizon Client. This is applicable for dedicated Global Desktop Entitlements only. If no machine is assigned to the user then "display_name (No machine assigned)" will be displayed in the client. Default value is false.

boolean
display_machine_alias
Optional

Indicates whether users should see the alias of the machine assigned to them instead of display_name when they connect using Horizon Client. This is applicable for dedicated Global Desktop Entitlements only. Default value is false.

string
display_name
Optional

Name that users will see when they connect using Horizon Client. If display_name is left blank, it defaults to name.

boolean
enable_client_restrictions
Optional

Indicates whether client restrictions to be applied to Global Desktop Entitlement. Currently it is valid for RDSH pools. Default value is false.

boolean
enabled
Optional

Indicates if this Global Desktop Entitlement is enabled.Default value is true.

string
federated_access_group_id
Required

ID of the federated access group with which the global desktop entitlement is to be associated. They can also be used for delegated administration.

boolean
multiple_session_auto_clean
Optional

Indicates if automatic session clean up is enabled. This cannot be enabled when this Global Desktop Entitlement is associated with a Desktop pool that has dedicated user assignment. Default value is false.

string
name
Required

Unique name used to identify the Global Desktop Entitlement.

boolean
require_home_site
Optional

Indicates whether we fail if a home site isn't defined for this Global Desktop Entitlement. Default value is false.

string
scope
Optional

Scope for this global desktop entitlement. Visibility and Placement policies are defined by this value. This property has a default value of "ALL_SITES".

  • WITHIN_POD: Within POD Policy: Local pod will be used for this policy. If this policy is for visibility, search for existing session will happen only in local pod. If this policy is for placement, session will always be placed on local pod.
  • WITHIN_SITE: Within Site Policy: Site will be used for this policy. If this policy is for visibility, search for existing session will happen only from site. If this policy is for placement, session will be placed on site.
  • ALL_SITES: All Sites Policy: Any pod can be used for this action. If this policy is for visibility, search for existing session will span all pods in LMV set. If this policy is for placement, session can be placed on any pod in LMV set.
Possible values are : WITHIN_POD, WITHIN_SITE, ALL_SITES,
boolean
session_collaboration_enabled
Optional

Session collaboration allows a user to share their remote session with other users. Blast must be configured as a supported protocol. Indicates if the desktop pools that are associated with this Global Desktop Entitlement must also have session collaboration enabled with enableCollaboration. Default value is false.

array of string
shortcut_locations_v2
Optional

Locations of the category folder in the user's OS containing a shortcut to the desktop. This property is required if category_folder_name is set.

Possible values are : START_MENU, DESKTOP,
boolean
use_home_site
Optional

Indicates whether a pod in the user's home site is used to start the search or the current site is used. Default value is false.

Authentication
This operation uses the following authentication methods.
Responses
201

Created

Operation doesn't return any data structure

400

Bad Request

Operation doesn't return any data structure

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

404

Not Found

Operation doesn't return any data structure

409

Conflict | CPA not initialized for the pod

Operation doesn't return any data structure

Inventory Operations
POST
Add Custom Icon
POST
Add Local Application Pools To GAE
POST
Add Local Desktop Pools To GDE
POST
Add Machines
POST
Add Machines By Name
POST
Add Rds Servers
POST
Archive Machines
POST
Assign Machine Aliases
POST
Assign Users
POST
Cancel Desktop Pool Task
POST
Cancel Scheduled Maintenance
POST
Cancel Scheduled Push Image
POST
Check Application Pool Name Availability
POST
Check Desktop Pool Name Availability
POST
Check Farm Name Availability
POST
Check Machine Prefix Availability
POST
Check RDS Server Prefix Availability
POST
Create Application Icon
POST
Create Application Pool
POST
Create Application Pool V2
POST
Create Desktop Pool
POST
Create Desktop Pool V2
POST
Create Farm
POST
Create Farm V2
POST
Create Farm V3
POST
Create Global Application Entitlement
POST
Create Global Desktop Entitlement
POST
Create Global Desktop Entitlement V2
DELETE
Delete Application Pool
DELETE
Delete Desktop Pool
DELETE
Delete Farm
DELETE
Delete Global Application Entitlement
DELETE
Delete Global Desktop Entitlement
DELETE
Delete Machine
DELETE
Delete Machines
DELETE
Delete Physical Machine
DELETE
Delete RDS Server
POST
Desktop Pool Apply Image
POST
Desktop Pool Promote Pending Image
POST
Disconnect Global Sessions
POST
Disconnect Sessions
POST
Enter Maintenance
POST
Exit Maintenance
POST
Farm Apply Image
POST
Farm Promote Pending Image
GET
Get Application Icon
GET
Get Application Pool
GET
Get Application Pool V2
GET
Get Application Pool V3
GET
Get Desktop Pool
GET
Get Desktop Pool Task
GET
Get Desktop Pool V2
GET
Get Desktop Pool V3
GET
Get Desktop Pool V4
GET
Get Desktop Pool V5
GET
Get Desktop Pool V6
GET
Get Farm
GET
Get Farm V2
GET
Get Farm V3
GET
Get Farm V4
GET
Get Global Application Entitlement
GET
Get Global Application Entitlement V2
GET
Get Global Desktop Entitlement
GET
Get Global Desktop Entitlement V2
GET
Get Machine
GET
Get Machine V2
GET
Get Machine V3
GET
Get Physical Machine
GET
Get Physical Machine V2
GET
Get RDS Server
GET
Get Session Info
GET
List Application Icons
GET
List Application Pools
GET
List Application Pools V2
GET
List Application Pools V3
GET
List Compatible Backup GA Es
GET
List Compatible Backup GD Es
GET
List Compatible Local Application Pools
GET
List Compatible Local Desktop Pools
GET
List Desktop Pools
GET
List Desktop Pools V2
GET
List Desktop Pools V3
GET
List Desktop Pools V4
GET
List Desktop Pools V5
GET
List Desktop Pools V6
GET
List Desktop Pool Tasks
GET
List Farms
GET
List Farms V2
GET
List Farms V3
GET
List Farms V4
GET
List Global Application Entitlements
GET
List Global Application Entitlements V2
GET
List Global Desktop Entitlements
GET
List Global Desktop Entitlements V2
GET
List Installed Applications On Desktop Pool
GET
List Installed Applications On Farm
GET
List Local Application Pools
GET
List Local Desktop Pools
GET
List Machines
GET
List Machines V2
GET
List Machines V3
GET
List Physical Machines
GET
List Physical Machines V2
GET
List RDS Servers
GET
List Session Info
POST
Log Off Global Sessions
POST
Log Off Sessions
POST
Pause Desktop Pool Task
GET
Query Global Sessions
POST
Rebuild Machines
POST
Recover Machines
POST
Recover RDS Servers
POST
Register Physical Machine
POST
Register RDS Server
POST
Remove Custom Icon
DELETE
Remove Local Application Pools From GAE
DELETE
Remove Local Desktop Pools From GDE
POST
Remove Machines
POST
Remove Rds Servers
POST
Reset Global Sessions
POST
Reset Machines
POST
Reset Sessions
POST
Restart Global Sessions
POST
Restart Machines
POST
Restart Sessions
POST
Resume Desktop Pool Task
POST
Schedule Maintenance
POST
Schedule Maintenance V2
POST
Schedule Push Image
POST
Schedule Push Image V2
POST
Send Message To Global Sessions
POST
Send Message To Sessions
POST
Unassign Machine Aliases
POST
Unassign Users
PUT
Update Application Pool
PUT
Update Application Pool V2
PUT
Update Desktop Pool
PUT
Update Farm
PUT
Update Farm V2
PUT
Update Farm V3
PUT
Update Global Application Entitlement
PUT
Update Global Desktop Entitlement
PUT
Update RDS Server
POST
Validate Installed Applications On Desktop Pool
POST
Validate Installed Applications On Farm
POST
Validate Specified Names