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

Create Custom Group

Description

See different request examples with Metric Key, Property Key, Relationship and Resource Name Condition.

Request

Request

URL

URL


post
https://localhost/suite-api/api/resources/groups
Copy

Request Body

Request Body

custom-group of type(s) application/json, application/xml Required

The custom group definition

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

201 Created returns CustomGroup of type(s) application/json, application/xml

The newly created custom group

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"autoResolveMembership":false,"id":"string","links":[{"description":"string","href":"string","name":"string","rel":"NEXT"}],"membershipDefinition":{"custom-group-properties":[{"exclusionValue":"string","inclusionValue":"string","name":"string","type":"STRING"}],"excludedResources":["string"],"includedResources":["string"],"rules":[{"propertyConditionRules":[{"compareOperator":"EQ","doubleValue":0,"key":"string","stringValue":"string"}],"relationshipConditionRules":[{"compareOperator":"EQ","name":"string","relation":"PARENT","travesalSpecId":"string"}],"resourceKindKey":{"adapterKind":"string","resourceKind":"string"},"resourceNameConditionRules":[{"compareOperator":"EQ","name":"string"}],"resourceTagConditionRules":[{"category":"string","compareOperator":"EQ","stringValue":"string"}],"statConditionRules":[{"compareOperator":"EQ","doubleValue":0,"key":"string","stringValue":"string"}]}]},"policy":"string","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/resources/groups


Feedback

Was this page helpful?