InlineNsxCondition1
InlineNsxCondition1
JSON Example
{
"key": "string",
"member_type": "string",
"operator": "string",
"scope_operator": "string",
"value": "string"
}
string
key
Required
Key
Enumeration:
ALL,
Tag,
Scope,
Name,
OSName,
ComputerName,
NodeType,
GroupType,
IPAddress,
PodCidr,
ManagementInterface,
OSVersion
string
member_type
Required
Group member type
Enumeration:
IPSet,
VirtualMachine,
LogicalPort,
LogicalSwitch,
Segment,
SegmentPort,
Pod,
Service,
Namespace,
TransportNode,
Group,
DVPG,
DVPort,
IPAddress,
VpcSubnet,
KubernetesCluster,
KubernetesNamespace,
AntreaEgress,
AntreaIPPool,
KubernetesIngress,
KubernetesGateway,
KubernetesService,
KubernetesNode,
VpcSubnetPort
string
operator
Optional
Operator is made non-mandatory to support Segment and SegmentPort tag based expression. To evaluate expression for other types, operator value should be provided.
Enumeration:
EQUALS,
CONTAINS,
STARTSWITH,
ENDSWITH,
NOTEQUALS,
NOTIN,
IN,
MATCHES
string
scope_operator
Optional
Default operator when not specified explicitly would be considered as EQUALS. If value for Condition is empty, then condition will not be evaluated. For example, Condition with key as Tag and value as "|tag" would be evaluated for tag value not for empty scope value.
Enumeration:
EQUALS,
NOTEQUALS
string
value
Required
Constraints:
minLength: 1
Value