NSGroupTagExpression (schema)

TAG expressions to represent NSGroup membership

Includes both scope and tag attribute of Tag. The scope and tag expressions
are logically 'AND' with each other.
eg- tag.scope = "S1" AND tag.tag = 'T1'
Name Description Type Notes
resource_type Must be set to the value NSGroupTagExpression string Required
Enum: NSGroupSimpleExpression, NSGroupComplexExpression, NSGroupTagExpression
scope The tag.scope attribute of the object string Maximum length: 128
scope_op Operator of the scope expression eg- tag.scope = "S1". string Enum: EQUALS
Default: "EQUALS"
tag The tag.tag attribute of the object string Maximum length: 256
tag_op Operator of the tag expression eg- tag.tag = "Production"

Target_type VirtualMachine supports all specified operators for
tag expression while LogicalSwitch and LogicalPort supports only
EQUALS operator.
All operators perform a case insensitive match.
string Enum: EQUALS, CONTAINS, STARTSWITH, ENDSWITH
Default: "EQUALS"
target_type Type of the resource on which this expression is evaluated string Required
Enum: LogicalSwitch, LogicalPort, VirtualMachine, IPSet