Vslm Storage Lifecycle Manager Vslm Sync Datastore

Vslm Storage Lifecycle Manager Vslm Sync Datastore

Sync the FCD info on the passed in datastore.

Required privileges: System.View

Request
URI
POST
https://{vcenter-host}/sdk/vim25/{release}/vslm/VslmStorageLifecycleManager/{moId}/VslmSyncDatastore
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 VslmStorageLifecycleManager/{moId}.

string
release
Required

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


Request Body
VslmSyncDatastoreRequestType of type(s) application/json
Required

Show optional properties

{
    "datastoreUrl": "string",
    "fullSync": false
}
{
    "datastoreUrl": "string",
    "fullSync": false,
    "fcdId": {
        "_typeName": "string",
        "id": "string"
    }
}
string
datastoreUrl
Required

The datastore URL as specified in DatastoreInfo.url

boolean
fullSync
Required

If this is set to true, all information for this datastore will be discarded from the catalog and reloaded from the datastore's catalog

fcdId
Optional

This data object type describes an identifier class which is globally unique to identify the associated object.

Authentication
This operation uses the following authentication methods.
Responses
204

No Content

Operation doesn't return any data structure

500

InvalidDatastore: If the operation cannot be performed on the datastore.

NotFound: If matching datastore could not be found for the given datastoreMoId.

VslmSyncFault: If an exception occured during datastore sync.

VslmFault: If a VSLM internal server error occurred.

Returns MethodFault of type(s) application/json
This response body class contains all of the following: Any
{
    "_typeName": "string",
    "faultCause": "MethodFault Object",
    "faultMessage": [
        {
            "_typeName": "string",
            "key": "string",
            "arg": [
                {
                    "_typeName": "string",
                    "key": "string",
                    "value": {
                        "_typeName": "string"
                    }
                }
            ],
            "message": "string"
        }
    ]
}
faultCause
Optional

The base data object type for all the object model faults that an application might handle.

faultMessage
Optional

Message which has details about the error Message can also contain a key to message catalog which can be used to generate better localized messages.