[{"label":"Latest (8.10.0)","version":"latest"},{"version":"8.6.3"}]
vrealize-operations

Patch Adapter Instance

Description

This is typically used to indicate vRealize operations manager that the certificates presented by the (data source for which the adapter instance) was created are indeed valid certificates. Typically the response of the POST /api/adapters API in its entirety needs to be sent as request body when making this PATCH /api/adapters API invocation. NOTE: In case the provided certificate list is empty, the adapter instance self-signed certificates will be reset.

Request

Request

URL

URL


patch
https://localhost/suite-api/api/adapters
Copy

Request Body

Request Body

adapter-instance of type(s) application/json, application/xml Required

The adapter instance creation request.

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns AdapterInstance of type(s) application/json, application/xml

The adapter instance that was updated

Errors

Errors

400

If patch ‘adapter instance’ failed. Typically the service will return extra information as to why update failed.

Code Samples

Code Samples

cURL Command

curl -X PATCH -H "Content-Type: application/json" -d '{"adapter-certificates":[{"certificateDetails":"string","expires":"string","issuedBy":"string","issuedTo":"string","thumbprint":"string"}],"collectorGroupId":"string","collectorId":0,"credentialInstanceId":"string","description":"string","id":"string","lastCollected":"string","lastHeartbeat":"string","links":[{"description":"string","href":"string","name":"string","rel":"NEXT"}],"messageFromAdapterInstance":"string","monitoringInterval":0,"monitoringIntervalMinutes":0,"monitoringIntervalSeconds":0,"numberOfMetricsCollected":0,"numberOfResourcesCollected":0,"resourceKey":{"adapterKindKey":"string","extension":{"anyObjects":{}},"links":[{"description":"string","href":"string","name":"string","rel":"NEXT"}],"name":"string","resourceIdentifiers":[{"identifierType":{"dataType":"STRING","extension":{"anyObjects":{}},"isPartOfUniqueness":false,"links":[{"description":"string","href":"string","name":"string","rel":"NEXT"}],"name":"string"},"key":"string","links":[{"description":"string","href":"string","name":"string","rel":"NEXT"}],"name":"string","uniquelyIdentifying":false,"value":"string"}],"resourceKindKey":"string"}}' https://localhost/suite-api/api/adapters


Feedback

Was this page helpful?