propertyRule resource type
Namespace: microsoft.graph.externalConnectors
Defines the set of conditions to display a displayTemplate. Rules use the format: (property from the item schema) + (operation) + (value). For example, a propertyRule can specify that "itemTitle" "contains" "contoso". Therefore, the displayTemplate will not be displayed unless itemTitle contains the value "contoso".
Properties
Property | Type | Description |
---|---|---|
operation | microsoft.graph.externalConnectors.ruleOperation | Specifies the operations to be performed during evaluation of a single propertyRule, where property and a string from the values collection are the respective operands. Possible values are: null , equals , notEquals , contains , notContains , lessThan , greaterThan , startsWith . Required. |
property | String | The property from the externalItem schema. Required. |
values | String collection | A collection with one or many strings. The specified string(s) will be matched with the specified property using the specified operation. Required. |
valuesJoinedBy | binaryOperator | The join operator for evaluating multiple propertyRules. For example, if and is specified, then all propertyRules must be true for the propertyRule to be true. Possible values are: or , and . Required. |
Relationships
None.
JSON representation
The following is a JSON representation of the resource.
{
"operation": "String",
"property": "String",
"values": [
"String"
],
"valuesJoinedBy": "String"
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for