PUT DataCenters({id})/Validate

Validate the update for a datacenter. See Validation.

Request Information

Parameters

NameDescriptionAdditional information
id

ID of the datacenter to validate the update for.

Type: String

Request body type

UpdateDataCenterModel

Request body formats

application/json, text/json

Sample:
{
  "Name": "datacenter 1",
  "Description": "datacenter 1",
  "Tags": [
    "tag"
  ],
  "CustomProperties": [
    {
      "Name": "myProperty",
      "Value": "myValue"
    }
  ],
  "LicenseServerAddress": "ctxlicense.csp.com",
  "LicenseServerAddressPort": 27000,
  "NetScalerGatewayAddress": "https://ag.datacenter1.csp.com",
  "AacFarmName": "tenant1"
}

Response Information

See Validation.

Response type

ValidationResultModel<UpdateDataCenterModel>

Response body formats

application/json, text/json

Sample:
{
  "Input": {
    "Name": "datacenter 1",
    "Description": "datacenter 1",
    "Tags": [
      "tag"
    ],
    "CustomProperties": [
      {
        "Name": "myProperty",
        "Value": "myValue"
      }
    ],
    "LicenseServerAddress": "ctxlicense.csp.com",
    "LicenseServerAddressPort": 27000,
    "NetScalerGatewayAddress": "https://ag.datacenter1.csp.com",
    "AacFarmName": "tenant1"
  },
  "Errors": [
    {
      "MemberNames": [
        "Name"
      ],
      "ErrorMessage": "Name already in use",
      "ErrorCode": "Conflict"
    }
  ]
}