Virtual Machine Apply Evc Mode VM Task
Applies the EVC mode masks to the virtual machine.
Existing masks will be replaced by the input masks. If the mask parameter is not set, then the masks on the virtual machine are removed. See featureMask for the list of masks to provide. These can be retrieved from supportedEVCMode, which is accessible in capability.
This operation is only supported if perVmEvcSupported is true.
Required privileges: VirtualMachine.Config.Settings
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case VirtualMachine/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"mask": [
{
"_typeName": "string",
"key": "string",
"featureName": "string",
"value": "string"
}
],
"completeMasks": false
}
The feature masks to apply to the virtual machine. An empty set of masks will clear EVC settings.
Defaults to true if not set. A true value implies that any unspecified feature will not be exposed to the guest. A false value will expose any unspecified feature to the guest with the value of the host.
OK
{
"_typeName": "string",
"type": "string",
"value": "string"
}
InvalidPowerState: if the power state is not poweredOff.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}