PUT ComputeResources({id})/Validate

Validate the update for a compute resource. See Validation.

Request Information

Parameters

NameDescriptionAdditional information
id

ID of the compute resource to validate the update for.

Type: String

Request body type

UpdateComputeResourceModel

Request body formats

application/json, text/json

Sample:
{
  "Description": "My SCVMM cluster",
  "Address": "https://10.1.1.10",
  "Tags": [
    "tag"
  ],
  "CustomProperties": [
    {
      "Name": "myProperty",
      "Value": "myValue"
    }
  ]
}

Response Information

See Validation.

Response type

ValidationResultModel<UpdateComputeResourceModel>

Response body formats

application/json, text/json

Sample:
{
  "Input": {
    "Description": "My SCVMM cluster",
    "Address": "https://10.1.1.10",
    "Tags": [
      "tag"
    ],
    "CustomProperties": [
      {
        "Name": "myProperty",
        "Value": "myValue"
      }
    ]
  },
  "Errors": [
    {
      "MemberNames": [
        "Name"
      ],
      "ErrorMessage": "Name already in use",
      "ErrorCode": "Conflict"
    }
  ]
}