Esx.Settings.Hosts.Configuration.DetailedValidationError.ErrorType

Esx.Settings.Hosts.Configuration.DetailedValidationError.ErrorType
Esx.Settings.Hosts.Configuration.DetailedValidationError.ErrorType

The Esx.Settings.Hosts.Configuration.DetailedValidationError.ErrorType enum contains the possible types of errors related to property validation.

Possible values:

  • GENERIC: A generic error. Check the message property for more information.
  • ADDITIONAL_PROPERTY: A property that is not specified in the schema was found.
  • INVALID_ENUM_OPTION: The value of an enum property does not match one of the allowed values.
  • INVALID_TYPE: The value of a property is not the expected type.
  • MAX_STRING_LENGTH: The length of a string is larger than the maximum allowed.
  • MIN_STRING_LENGTH: The length of a string is smaller than the minimum allowed.
  • MISSING_REQUIRED: A required property is missing.
  • INVALID_UNION_TAG: A property that is dependent on another property is invalid.
  • DUPLICATE_INSTANCE_ID: An instance has an instance ID that was already used in another instance.
  • MAX_ARRAY_LENGTH: The length of an array is larger than the maximum allowed.
  • MIN_ARRAY_LENGTH: The length of an array is smaller than the minimum allowed.
  • MAX_VALUE: The value of a numeric property is larger than the maximum allowed.
  • MIN_VALUE: The value of a numeric property is smaller than the minimum allowed.
  • PATTERN_MISMATCH: The value of a string property does not match the allowed pattern.
  • SCHEMA_NOT_FOUND: A configuration was found for software that is not in the image associated with the host.
  • NULL_VALUE: A property has a null value.
  • INVALID_DELETE_DEFAULT: The property is only valid for mutable default configurations.
  • HOST_SPECIFIC_IN_PROFILE: The property is host-specific, but was found in the profile section.
  • NOT_HOST_SPECIFIC: The property is not host-specific, but was found in the host-specific section.
  • MISSING_INSTANCE_ID: An instance does not have the required ID property.
  • EMPTY_PROPERTY: An object or array property is empty.
  • KEY_IN_HOST_OVERRIDE: The configuration exists in both host-override and host-specific sections.
  • PLACEHOLDER_FOUND: The property contains a placeholder that must be replaced.
  • PROPERTY_NAME_MISMATCH: A property name does not match the required pattern.
  • MISSING_REQUIRED_PROFILE_INSTANCE: The host-specific configuration refers to an instance that does not exist in the profile section.
  • MISSING_REQUIRED_PROFILE_KEY: The host-specific configuration refers to a configuration key that does not exist in the profile section.
  • HOST_SPECIFIC_KEY_IN_OVERRIDE: A host-specific configuration was found in the host-override section.
  • UNION_CASE_WITHOUT_UNION_TAG: A union-case property was provided, but the corresponding union tag property was not set.
  • MISSING_UNION_CASE: A union-case property is missing when the corresponding union tag property is set.

Warning: this constant is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Warning: this enumeration is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

This data structure has no properties.
Enumeration: GENERIC, ADDITIONAL_PROPERTY, INVALID_ENUM_OPTION, INVALID_TYPE, MAX_STRING_LENGTH, MIN_STRING_LENGTH, MISSING_REQUIRED, INVALID_UNION_TAG, DUPLICATE_INSTANCE_ID, MAX_ARRAY_LENGTH, MIN_ARRAY_LENGTH, MAX_VALUE, MIN_VALUE, PATTERN_MISMATCH, SCHEMA_NOT_FOUND, NULL_VALUE, INVALID_DELETE_DEFAULT, HOST_SPECIFIC_IN_PROFILE, NOT_HOST_SPECIFIC, MISSING_INSTANCE_ID, EMPTY_PROPERTY, KEY_IN_HOST_OVERRIDE, PLACEHOLDER_FOUND, PROPERTY_NAME_MISMATCH, MISSING_REQUIRED_PROFILE_INSTANCE, MISSING_REQUIRED_PROFILE_KEY, HOST_SPECIFIC_KEY_IN_OVERRIDE, UNION_CASE_WITHOUT_UNION_TAG, MISSING_UNION_CASE,