Vasa Provider Vasa Provider Sync Task

Vasa Provider Vasa Provider Sync Task

Issue a sync for the given Storage Array.

Required privileges: StorageViews.View

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/sms/VasaProvider/{moId}/VasaProviderSync_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 VasaProvider/{moId}.

string
release
Required

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


Request Body
VasaProviderSyncRequestType of type(s) application/json
Required
"VasaProviderSyncRequestType Object"
string
arrayId
Optional

arrayId

Authentication
This operation uses the following authentication methods.
Responses
200

OK

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

500

InvalidArgument: if invalid input is provided.

ProviderSyncFailed: if an error is encountered while executing sync operation for the provider.

Returns ProviderSyncFailed of type(s) application/json
This response body class contains all of the following: InlineProviderSyncFailed0
"ProviderSyncFailed Object"

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/sms/VasaProvider/{moId}/VasaProviderSync_Task