I am creating an adapter instance on vROps 7.0 using REST API(POST https://vrealize.example.com/suite-api/api/adapters ) through postman.
Request raised to create an instance is executing successfully. But I am unable to get the expected response body which can be used later for patching Adapter instance using API (PATCH https://vrealize.example.com/suite-api/api/adapters).
As per vRealize Operation Manager API Programming guide, response from POST(https://vrealize.example.com/suite-api/api/adapters) request to should contain certificate details which will be then used in Patching the adapter instance to set default values.
But in my case I am getting response as below:
{
"resourceKey": {
"name": "Chassis",
"adapterKindKey": "ChassisAdapter",
"resourceKindKey": "ChassisAdapterInstance",
"resourceIdentifiers": [
{
"identifierType": {
"name": "OME-M_INTERFACE_URL",
"dataType": "STRING",
"isPartOfUniqueness": true
},
"value": "10.234.76.33"
},
{
"identifierType": {
"name": "server_processor_cpu_utilization_warning",
"dataType": "STRING",
"isPartOfUniqueness": false
},
"value": "70"
}
]
},
"description": "Chassis Adapter",
"collectorId": 1,
"collectorGroupId": "565d34ee-03a7-4a07-926a-f3ad3224a160",
"credentialInstanceId": "68cefb03-125f-4387-ae72-62b7bf475f67",
"monitoringInterval": 5,
"links": [
{
"href": "/suite-api/api/adapters/fb2791d2-4181-48d9-ab35-7602fe1c2d23",
"rel": "SELF",
"name": "linkToSelf"
},
{
"href": "/suite-api/api/credentials/68cefb03-125f-4387-ae72-62b7bf475f67",
"rel": "RELATED",
"name": "linkToCredential"
}
],
"id": "fb2791d2-4181-48d9-ab35-7602fe1c2d23"
}
Can anyone please help me how can i get certificate details into a response?