Vasa Provider Vasa Provider Refresh Certificate Task

Vasa Provider Vasa Provider Refresh Certificate Task

Refresh a CA signed certificate for the provider.

This API will be used when provider certificate is about to expire, but still within soft or hard limit window. If the provider is 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}/VasaProviderRefreshCertificate_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

CertificateRefreshFailed: if an error is encountered while refreshing CA signed certificate for the provider.

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

providerId