REST API - get

vcenter host features tech preview: get

Returns the current status of the feature switches in Tech Preview mode for the feature names in the input set. If the input set is empty, returns the status of all the features. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Request:

HTTP request

GET https://{server}/rest/vcenter/host/{host}/features/tech-preview

?features.1=string
&features.2=string

Path Parameters

Name Type Description
Required
host string Identifier for the host from which Tech Preview information will be retrieved.

Request Query Parameters:

Name Type Description
bold = required
features string[] Optional. Features for which status is to be retrieved.

Response:

HTTP Status Code: 200

Representation:

{
    "value"[
        {
            "value""DISABLED",
            "key""string"
        }
    ]
}

Response Type:

Name Type Description
bold = required
value list Mapping of feature names to their switch status.List of {"key": string, "value": string}
value[].key string
value[].value string Defines the possible states of a feature state switch. 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. Value is one of:
DISABLED: Feature state switch is disabled. 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.
ENABLED: Feature state switch is enabled. 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.

Errors:

HTTP Status Code Type Description
500 error if the feature names list is not accessible.
404 not_found if a feature state switch name is not found.
401 unauthenticated if the caller is not authenticated.