vcenter host features tech preview: update
Sets the status to enabled/disabled for the Tech Preview feature switches passed in the input key/value pairs. 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
PATCH https://{server}/rest/vcenter/host/{host}/features/tech-preview
Path Parameters
Name | Type | Description |
---|---|---|
Required | ||
host | string | Identifier for the host on which Tech Preview information will be set. |
Request Body Structure:
{
"feature_status" : [
{
"value" : "DISABLED",
"key" : "string"
}
]
}
"feature_status" : [
{
"value" : "DISABLED",
"key" : "string"
}
]
}
Request Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
feature_status | list | Key/value pairs of feature names and their desired status. If a feature name is not present in the key/value pairs the status of that feature will not be changed. If an unknown feature name is specified a {@link com.vmware.vapi.std.errors.NotFound error} will be reported.List of {"key": string, "value": string} |
feature_status[].key | string | |
feature_status[].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. |
Response:
HTTP Status Code: 200
NoneErrors:
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. |