Patch Test Connection Using PATCH
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.
The adapter instance connection request
{
"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": "string"
}
],
"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": "string"
}
],
"name": "string",
"resourceIdentifiers": [
{
"identifierType": {
"dataType": "string",
"extension": {
"anyObjects": [
{}
]
},
"isPartOfUniqueness": false,
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"name": "string"
},
"key": "string",
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"name": "string",
"uniquelyIdentifying": false,
"value": "string"
}
],
"resourceKindKey": "string"
}
}
The set of untrusted certificates returned by the adapter source
The ID of the collector group. If not specified, the system will choose an appropriate Collector group for you
The ID of the Collector that manages this adapter instance. This is optional and if not specified, system will choose an appropriate collector.
The Credential Instance identifier used by this adapter instance
Optional description of the Adapter instance
The UUID of the adapter instance
Last time adapter instance reported collection of resources/stats.
When was the last time this adapter instance communicated with vRealize Operations Manager Server.
Any message from the adapter instance.
Minutes part of the monitoring Interval of the Adapter Instance.
monitoringIntervalMinutes
Seconds part of the monitoring Interval of the Adapter Instance
The number of metrics reported by this adapter instance.
The number of resources being monitored by this resource.
The connection is successful.
If Patch 'adapter instance connection' failed. Typically the service will return extra information as to why update failed.