Help Page Home

# ValidationResultModel<CreateSessionMachineCatalogModel>

The result of validation of an operation.

### Properties

Name | Description | Additional information
--- | --- | ---
Href | See Hypermedia. | Type: String
RelatedActions | See Hypermedia. | Type: Array of RelationModel
Input | The input object, with all of the default values filled in based on the data both as passed in, and already existing configuration. This represents the "real" validated object, and enables the caller to both determine defaults that rely on partial state, and to determine why some kinds of validation errors might occur by allowing visibility into what exactly was validated. | Type: CreateSessionMachineCatalogModel
Errors | A list of errors that were encountered. If there were no errors, this list will be empty. | Type: Array of ValidationErrorModel

### Sample

#### application/json

Sample:

    {
      "Input": {
        "Name": "catalog 1",
        "ShortName": "catalog1",
        "Description": "my session machine catalog",
        "MachineType": "SingleUserVda",
        "AllocationType": "Random",
        "LoadBalancingSettings": {
          "IncludeCpuMemory": true
        },
        "AutoProvision": true,
        "AutoProvisioningSettings": {
          "ResetOnReboot": false,
          "PVDiskSizeGB": 10,
          "PVDiskLetter": "V",
          "NamingConvention": "SRV_####",
          "NamingConventionType": "Numerical",
          "VCpus": 2,
          "MemoryMB": 4096,
          "Template": "win8_base_os"
        },
        "Tags": [
          "tag"
        ],
        "CustomProperties": [
          {
            "Name": "myProperty",
            "Value": "myValue"
          }
        ]
      },
      "Errors": [
        {
          "MemberNames": [
            "Name"
          ],
          "ErrorMessage": "Required",
          "ErrorCode": "Required"
        }
      ]
    }