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

Patch Test Connection

Description

This is typically used to indicate vRealize operations manager that the certificates presented by the (data source for which the adapter instance) was tested 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.

Request

Request

URL

URL


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

Request Body

Request Body

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

The adapter instance connection request

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

200 OK

The connection is successful.

Errors

Errors

400

If Patch ‘adapter instance connection’ 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/testConnection


Feedback

Was this page helpful?