POST DeliverySites

Create a new delivery site.

Request Information

Request body type

CreateDeliverySiteModel

Request body formats

application/json, text/json

Sample:
{
  "Name": "delivery site 1",
  "DataCenterId": "af1fc9c4-dee5-4b0d-836c-9e1c5b57a88a",
  "DomainId": "241b45cc-261d-47d0-81d7-a0a41c54c760",
  "Servers": [
    "controller1",
    "controller2"
  ],
  "AdministratorUserName": "DOMAIN\\user",
  "AdministratorPasswordBase64": "cGFzc3dvcmQ=",
  "AdministratorGroup": "DOMAIN\\delivery site 1 admins",
  "NetworkName": "Shared Controller Management Network",
  "ProductType": "XenDesktop71",
  "LicensingModel": "UserDevice",
  "SiteDatabaseServerInstanceName": "sql1.csp.com",
  "SiteDatabaseName": "ds1_site",
  "DatabaseUserName": "DOMAIN\\sqladmin",
  "DatabasePasswordBase64": "cGFzc3dvcmQ=",
  "ConfigLoggingDatabaseName": "ds1_configlog",
  "ConfigLoggingDatabaseServerInstanceName": "sql1.csp.com\\configlog",
  "MonitorDatabaseName": "ds1_monitoring",
  "MonitorDatabaseServerInstanceName": "sql2.csp.com\\ds1monitor",
  "Description": "my delivery site",
  "Tags": [
    "tag"
  ],
  "CustomProperties": [
    {
      "Name": "myProperty",
      "Value": "myValue"
    }
  ]
}

Response Information

The newly created delivery site.

Response type

DeliverySiteModel

Response body formats

application/json, text/json

Sample:
{
  "Href": "[api:DeliverySites(0ef3e68d-bb8e-4b69-9c30-ae3fac533996)]",
  "Id": "0ef3e68d-bb8e-4b69-9c30-ae3fac533996",
  "ChangeId": "11",
  "Name": "site1",
  "Description": "my delivery site",
  "Tags": [
    "tag"
  ],
  "CustomProperties": [
    {
      "Name": "myProperty",
      "Value": "myValue"
    }
  ],
  "DeleteState": "NotDeleted",
  "IsShared": false,
  "ProductType": "XenDesktop71",
  "DeliveryControllerArchitecture": "FMA",
  "Tenant": {
    "Href": "[api:Tenants(91ade655-feb5-47d3-9585-a5827ad50132)]",
    "Name": "Tenant 1",
    "Id": "91ade655-feb5-47d3-9585-a5827ad50132"
  },
  "AllocationStatus": "Allocated",
  "DataCenter": {
    "Href": "[api:DataCenters(af1fc9c4-dee5-4b0d-836c-9e1c5b57a88a)]",
    "Name": "datacenter1",
    "Id": "af1fc9c4-dee5-4b0d-836c-9e1c5b57a88a"
  },
  "HealthSummary": {
    "ActiveCount": 0,
    "ErrorCount": 0,
    "WarningCount": 0,
    "InfoCount": 1,
    "Messages": [
      {
        "Text": "Attempting to reach desired capacity",
        "IsError": false,
        "IsWarning": false,
        "IsInfo": false,
        "IsActive": true,
        "Type": "Allocation"
      }
    ]
  },
  "Domain": {
    "Href": "[api:Domains(241b45cc-261d-47d0-81d7-a0a41c54c760)]",
    "Name": "domain1.local",
    "Id": "241b45cc-261d-47d0-81d7-a0a41c54c760"
  },
  "NetworkName": "Shared Controller Management Network",
  "NumSessionMachines": 10,
  "MaxSessionMachines": 10000,
  "AdministratorUserName": "DOMAIN\\ctxadmin",
  "AdministratorGroup": "DOMAIN\\CitrixAdmins",
  "DeliverySiteUsageType": "Managed",
  "DBServerName": "sqlserver.csp.local",
  "DBName": "site1"
}