InlineRelatedAttributeConditionalExpression1

InlineRelatedAttributeConditionalExpression1
InlineRelatedAttributeConditionalExpression1
JSON Example
{
    "condition": {
        "operator": "string",
        "rhs_value": [
            "string"
        ],
        "value_constraint": {
            "operator": "string",
            "values": [
                "string"
            ]
        }
    },
    "related_attribute": {
        "attribute": "string"
    }
}
condition
Required

Represents the leaf level expression to restrict the target attribute value based on the set of existing values. Generally, used in combination with RelatedAttributeConditionalExpression to constraint the values related to another attribute on the same resource. This object is always used in conjunction with some exression. Example - { "condition" : { "operator":"INCLUDES", "rhs_value": ["/infra/domains/mgw/groups/VCENTER", "/infra/domains/mgw/groups/SRM", "/infra/domains/mgw/groups/NSX"], "value_constraint": { "resource_type": "ValueConstraintExpression", "operator":"EXCLUDES", "values":["/infra/domains/mgw/groups/VCENTER", "/infra/domains/mgw/groups/SRM", "/infra/domains/mgw/groups/NSX"] } }

related_attribute
Required

Related attribute on the target resource for conditional constraints based on related attribute value. Example - destinationGroups/service/action is related attribute of sourceGroups in communcation entry.