Vasa Provider Vasa Provider Reconnect Task

Vasa Provider Vasa Provider Reconnect Task

Reconnect to the provider.

This API will be used to reconnect to a provider that is in "disconnected" state. If reconnecting fails due to InvalidCertificate exception, that means the current provider certificate is expired or corrupted. Then user has to recover the provider following these steps: 1. Unregister the provider using UnregisterProvider_Task 2. Provision a new self signed certificate for the provider 3. Register the provider using RegisterProvider_Task If the provider is not in "disconnected" state, this operation will be a no-op. Note: This API works only for providers that support VASA 2.0 and onwards.

Required privileges: StorageViews.ConfigureService

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


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns MoRefTask of type(s) application/json
This response body class contains all of the following: MoRefExtensibleManagedObject
{
    "_typeName": "string",
    "type": "string",
    "value": "string"
}

500

InvalidCertificate: if the provider certificate is invalid

ProviderConnectionFailed: if an error is encountered while reconnecting to the provider.

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.