Datastore Datastore Exit Maintenance Mode Task

Datastore Datastore Exit Maintenance Mode Task

Takes the datastore out of maintenance mode.

The task is cancellable.

Required privileges: Datastore.Config

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/Datastore/{moId}/DatastoreExitMaintenanceMode_Task
COPY
Path Parameters
string
moId
Required

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 Datastore/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 8.0.2.0 APIs.


Authentication
This operation uses the following authentication methods.
Responses
200

This method returns a Task object with which to monitor the operation.

Returns MoRefTask of type(s) application/json
"MoRefTask Object"

500

InvalidState: if the datastore is not in maintenance mode.

Returns InvalidState of type(s) application/json
"InvalidState Object"

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' https://{api_host}/sdk/vim25/{release}/Datastore/{moId}/DatastoreExitMaintenanceMode_Task