To create a vRealize Operations Manager endpoint, you make a POST request with a request body that includes vRealize Operations Manager specific parameters.
As a content developer, you use the API to create a
vRealize Operations Manager content endpoint.
Procedure
- Create an endpoint to capture vRealize Operations Manager content. For the server, use the FQDN, IP address, or host name of the vRealize Operations Manager instance that you are adding to vRealize Suite Lifecycle Manager.
curl -X POST \
'$url/lcm/cms/api/v1/endpoints' \
-H 'Authorization: Basic YWRtaW5AbG9jYWw6VGhpc0lzUGFzc3dvcmQ=' \
-H 'Content-Type: application/json' \
-d '{
"userName": "admin",
"sshUserName": "root",
"tagNames": [
"tag-1"
],
"endpointType": "CONTENT_ENDPOINT",
"category": "Operations",
"name": "vrops",
"server": "{<endpoint_IP_FQDN>}",
"password": "<example_password>",
"sshPassword": "<example_sshPassword>",
"supportCapture": true,
"supportTest": true,
"supportRelease": true,
"sourceControlEnvironment": false
}' | jq "."
- Examine the response.
{
"requestId":"fcb8040a-e44a-48b1-8cb4-ff7f793becf6",
"status":"IN_PROGRESS",
"message":"Endpoint Successfully Created",
"referenceId":"1e8be9df-893f-4545-b99a-432f90a88e10"
}
- Assign the reference ID of the endpoint to a variable name.
vROpsEndpoint = '<referenceID>'
- Get information about the vRealize Operations Manager endpoint.
curl -X GET \
'$url/lcm/cms/api/v1/endpoints/{$vROpsEndpoint}' \
-H 'Accept: application/json' \
-H 'Authorization: Basic YWRtaW5AbG9jYWw6VGhpc0lzUGFzc3dvcmQ=' \
-H 'Content-Type: application/json' | jq "."
- Examine the response for information about the vRealize Operations Manager endpoint.
Response:
{
"id": "1e8be9df-893f-4545-b99a-432f90a88e10",
"createdOn": 1573449661631,
"lastUpdatedOn": 1573449661712,
"errorMessage": "Endpoint test connection failed",
"tagNames": [
"tag-1"
],
"supportCapture": true,
"supportTest": true,
"supportRelease": true,
"supportTemplates": false,
"supportOnlySourceControlledContent": false,
"storeTemplates": false,
"requestedBy": "admin@local",
"name": "vrops",
"enabled": false,
"category": "Operations",
"systemEndpoint": false,
"server": "vROpsserver.my.company.com",
"userName": "[email protected]",
"password": "example_user_password",
"sshUserName": "ssh_user",
"sshPassword": "example_ssh_password",
"reviewRequired": false,
"endpointType": "CONTENT_ENDPOINT",
"userIdentity": "admin@local"
}
What to do next
Use your endpoint to manage the following types of
vRealize Operations Manager content:
- Operations-Dashboard
- Operations-Report
- Operations-ResourceKindMetricConfig
- Operations-SuperMetric
- Operations-Symptom
- Operations-TextWidgetContent
- Operations-TopoWidgetConfig
- Operations-View