Vcenter

Create

post

Create a new VCenter Provider server to a site. The VDI agent will be installed on the server by default. You can optionally skip the agent installation by including the noInstall parameter.

Query parameters
noInstallbooleanOptional

Specifies not to install the VDI agent on the server. If this parameter is omitted, the agent will be push installed on the server using your RAS admin credentials. To specify different credentials for push installation, specify the Username and Password parameters.

usernamestringOptional

An administrator account for push installing the VDI agent on the server. If this parameter is omitted, your RAS admin username (and password) will be used.

passwordstringOptional

The password of the account specified in the Username parameter.

noRestartbooleanOptional

Specifies not to restart the server after the RAS VDI Agent is installed when installing the VDI Agent. If this parameter is omitted, the server will be restarted if required.

noFireWallRulesbooleanOptional

Specifies not to add firewall rules to allow the RAS VDI Agent to communicate when installing the VDI Agent. If this parameter is omitted, the firewall rules will not be added.

Body

Create provider of type VCenter

namestring | nullableOptional

The name of the Provider.

serverstring | nullableOptional

A Provider server FQDN or IP addresses.

siteIdinteger · int32Optional

The site ID to which to add the specified server. If the parameter is omitted, the Licensing Server site ID will be used.

vdiAgentstring | nullableOptional

FQDN or IP address of the server where the RAS VDI Agent is running.

providerUsernamestring | nullableRequired

A user account to log in to the hypervisor management tool (e.g. VMware vCenter). In case of Azure, it is an ID of the application which will be used by VDI agent to manage Azure resources.

providerPasswordstring | nullableRequired

The password of the account specified in the ProviderUsername parameter. In case of Azure, it is a secret key of the application which will be used by VDI agent to manage Azure resources.

portinteger · int32 | nullableOptional

The port to communicate with the Provider specified in Server parameter. In case of Azure, it is not required.

preferredBrokerIdinteger · int32 | nullableOptional

The preferred Connection Broker ID.

useAllGuestsboolean | nullableOptional

Use all guests.

vCenterVersionstring · enumRequired

Vmware VCenter Version

Possible values:
Responses
201
Created
application/json; api-version=1.0
post
POST /api/Provider/vcenter HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 361

{
  "name": "text",
  "server": "text",
  "siteId": 1,
  "vdiAgent": "text",
  "providerUsername": "text",
  "providerPassword": "text",
  "port": 1,
  "preferredBrokerId": 1,
  "useAllGuests": true,
  "vCenterVersion": [
    "0 = VmwareVCenter",
    "7 = v6_5",
    "8 = v6_7",
    "9 = v7_0",
    "10 = v8_0",
    "983040 = VmwareVCenter_Depr",
    "983047 = v6_5_Depr",
    "983048 = v6_7_Depr",
    "983049 = v7_0_Depr",
    "983050 = v8_0_Depr"
  ]
}
{
  "id": 1,
  "adminCreate": "text",
  "adminLastMod": "text",
  "timeCreate": "2025-07-04T00:30:54.425Z",
  "timeLastMod": "2025-07-04T00:30:54.425Z",
  "enabled": true,
  "description": "text",
  "siteId": 1,
  "inheritDefaultAgentSettings": true,
  "vdiAgent": "text",
  "preferredBrokerId": 1,
  "server": "text",
  "name": "text",
  "type": [
    "9 = HyperV",
    "10 = VMwareESXi",
    "15 = VMwarevCenter",
    "16 = HyperVFailover",
    "18 = Nutanix",
    "20 = ScaleComputing",
    "21 = Azure",
    "22 = AVD",
    "23 = RemotePCStatic",
    "24 = RemotePCDynamic",
    "25 = AWSEC2"
  ],
  "providerUsername": "text",
  "hostPort": 1,
  "vdiPort": 1,
  "directAddress": "text",
  "sessionTimeout": 1,
  "sessionLogoffTimeout": 1,
  "allowURLAndMailRedirection": [
    "0 = Disabled",
    "1 = Enabled",
    "2 = EnabledWithAppRegistration"
  ],
  "supportShellURLNamespaceObjects": true,
  "allowDragAndDrop": true,
  "allowRemoteExec": true,
  "enableAppMonitoring": true,
  "useRemoteApps": true,
  "allowFileTransfer": true,
  "fileTransferMode": [
    "0 = Disabled",
    "1 = ClientToServer",
    "2 = ServerToClient",
    "3 = Bidirectional"
  ],
  "fileTransferLocation": "text",
  "fileTransferLockLocation": true,
  "enablePrinting": true,
  "enableTWAIN": true,
  "enableWIA": true,
  "useDefaultPrinterSettings": true,
  "removeClientNameFromPrinterName": true,
  "removeSessionNumberFromPrinterName": true,
  "printerNameFormat": [
    "0 = PrnFormat_PRN_CMP_SES",
    "1 = PrnFormat_SES_CMP_PRN",
    "2 = PrnFormat_PRN_REDSES"
  ],
  "enableDriveRedirectionCache": true,
  "manageRDPTransportProtocol": [
    "0 = Disabled",
    "1 = BothUDPTCP",
    "2 = OnlyTCP",
    "3 = EitherUDPTCP"
  ],
  "useAllGuests": true,
  "useDedicatedVDIAgent": true,
  "adminCredentials": [
    {
      "enabled": true,
      "priority": 1,
      "username": "text"
    }
  ],
  "version": [
    "0 = VmwareVCenter",
    "7 = v6_5",
    "8 = v6_7",
    "9 = v7_0",
    "10 = v8_0",
    "983040 = VmwareVCenter_Depr",
    "983047 = v6_5_Depr",
    "983048 = v6_7_Depr",
    "983049 = v7_0_Depr",
    "983050 = v8_0_Depr"
  ],
  "resourcePool": "text"
}

Was this helpful?