[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Collector Group Operation

Description

Operations on vROps Collector Groups

Request

Request

URL

URL


post
https://localhost:8080/lcm/lcops/api/v2/environments/{environmentId}/products/{productId}/collectorgroups
Copy

Path Parameters

Path Parameters

string
environmentId Required

environmentId


string
productId Required

productId


Request Body

Request Body

CollectorGroupDTO of type(s) application/json Required

collectorGroupDTO

{
	"collectorGroups": [
		{
			"description": "string",
			"id": "d7d5624a-f975-48c0-864b-868ca883d979",
			"name": "test collector group",
			"nodes": [
				{
					"properties": {
						"key": "string"
					},
					"type": "vrava-primary"
				}
			]
		}
	],
	"collectorsName": [
		"string"
	],
	"operationType": "add"
}
array of CollectorGroup
collectorGroups Optional

array of string
collectorsName Optional

string
operationType Optional

operation type

Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

201 Created returns array of GenericRequestResponse of type(s) application/json
{
	"requestId": "a0d8d8cd-ac87-4b5c-ba8b-7a0173c56b55"
}
string
requestId Optional

Request ID

Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"collectorGroups":[{"description":"string","id":"d7d5624a-f975-48c0-864b-868ca883d979","name":"test collector group","nodes":[{"properties":{"key":"string"},"type":"vrava-primary"}]}],"collectorsName":["string"],"operationType":"add"}' https://localhost:8080/lcm/lcops/api/v2/environments/{environmentId}/products/{productId}/collectorgroups


Feedback

Was this page helpful?