POST DataCenters/Validate
Validate the details of a datacenter to create. See Validation.
Request Information
Request body type
Request body formats
application/json, text/json
Sample:
{
"Name": "datacenter1",
"ShortName": "datacenter1",
"Description": "my datacenter",
"Tags": [
"tag"
],
"CustomProperties": [
{
"Name": "myProperty",
"Value": "myValue"
}
],
"LicenseServerAddress": "ctxlicense.csp.com",
"LicenseServerAddressPort": 27000,
"NetScalerGatewayAddress": "https://ag.datacenter1.csp.com"
}
Response Information
See Validation.
Response type
ValidationResultModel<CreateDataCenterModel>
Response body formats
application/json, text/json
Sample:
{
"Input": {
"Name": "datacenter1",
"ShortName": "datacenter1",
"Description": "my datacenter",
"Tags": [
"tag"
],
"CustomProperties": [
{
"Name": "myProperty",
"Value": "myValue"
}
],
"LicenseServerAddress": "ctxlicense.csp.com",
"LicenseServerAddressPort": 27000,
"NetScalerGatewayAddress": "https://ag.datacenter1.csp.com"
},
"Errors": [
{
"MemberNames": [
"Name"
],
"ErrorMessage": "Required",
"ErrorCode": "Required"
}
]
}