Modify Custom Group
NOTE: Method is enabled for user groups only
The custom group definition
Show optional properties
{
"membershipDefinition": {},
"resourceKey": {
"adapterKindKey": "string",
"name": "string",
"resourceKindKey": "string"
}
}
"{\n \"id\" : \"433b0861-e935-40ad-a0c1-79fc8e65aa94\",\n \"resourceKey\" : {\n \"name\" : \"Sample Custom Group with Metric Key Condition\",\n \"adapterKindKey\" : \"Container\",\n \"resourceKindKey\" : \"Environment\"\n },\n \"autoResolveMembership\" : true,\n \"membershipDefinition\" : {\n \"includedResources\" : [ ],\n \"excludedResources\" : [ ],\n \"custom-group-properties\" : [ ],\n \"rules\" : [ {\n \"resourceKindKey\" : {\n \"resourceKind\" : \"VirtualMachine\",\n \"adapterKind\" : \"VMWARE\"\n },\n \"statConditionRules\" : [ {\n \"key\" : \"cpu|usage_average\",\n \"doubleValue\" : 85.0,\n \"compareOperator\" : \"GT\"\n } ],\n \"propertyConditionRules\" : [ ],\n \"resourceNameConditionRules\" : [ ],\n \"relationshipConditionRules\" : [ ],\n \"resourceTagConditionRules\" : [ ]\n } ]\n }\n}"
Automatically update membership
Identifier of custom group
Represents a HTTP 'link' element.
It is implicit that all the link tags support http 'GET' method.
Custom group membership definition
Policy identifier
Represents a composite key for uniquely identifying a Resource.
The updated custom group
"No Custom Example is Available"
Automatically update membership
Identifier of custom group
Represents a HTTP 'link' element.
It is implicit that all the link tags support http 'GET' method.
Custom group membership definition
Policy identifier
Represents a composite key for uniquely identifying a Resource.
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"membershipDefinition":"object","resourceKey":"object"}' https://{api_host}/suite-api/api/resources/groups