Host Datastore System Update Local Swap Datastore
Choose the localSwapDatastore for this host.
Any change to this setting will affect virtual machines that subsequently power on or resume from a suspended state at this host, or that migrate to this host while powered on; virtual machines that are currently powered on at this host will not yet be affected.
Required privileges: Host.Config.Storage
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 HostDatastoreSystem/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.
{
"datastore": {
"_typeName": "string",
"type": "string",
"value": "string"
}
}
No Content
NotSupported: if the datastore argument is set and the localSwapDatastoreSupported capability is not true for the host.
InaccessibleDatastore: if the datastore argument is set and the host cannot access the indicated datastore.
DatastoreNotWritableOnHost: if the datastore argument is set and the host cannot write to the indicated datastore.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
],
"datastore": {
"_typeName": "string",
"type": "string",
"value": "string"
},
"name": "string"
}
The name of the datastore that is invalid.