membership-rule-group

membership-rule-group
membership-rule-group

Group membership rule. Requires the resource kind key to specify a resource kind to be included in the group. Optionally the included resources can be filtered by metric key/property rules, relationship rules or resource name rules.

JSON Example
{
    "propertyConditionRules": [
        {
            "compareOperator": "string",
            "doubleValue": "number",
            "key": "string",
            "stringValue": "string"
        }
    ],
    "relationshipConditionRules": [
        {
            "compareOperator": "string",
            "name": "string",
            "relation": "string",
            "travesalSpecId": "string"
        }
    ],
    "resourceKindKey": {
        "adapterKind": "string",
        "resourceKind": "string"
    },
    "resourceNameConditionRules": [
        {
            "compareOperator": "string",
            "name": "string"
        }
    ],
    "resourceTagConditionRules": [
        {
            "category": "string",
            "compareOperator": "string",
            "stringValue": "string"
        }
    ],
    "statConditionRules": [
        {
            "compareOperator": "string",
            "doubleValue": "number",
            "key": "string",
            "stringValue": "string"
        }
    ]
}
propertyConditionRules
Optional

Collection of property conditions for a custom group

relationshipConditionRules
Optional

Collection of relationship rules for a custom group

resourceKindKey
Required

Resource type details.(adapter kind, resource kinds)

resourceNameConditionRules
Optional

Collection of resource name rules for a custom group

resourceTagConditionRules
Optional

Collection of resource tag rules for a custom group

statConditionRules
Optional

Collection of metric conditions for a custom group