You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage-actions/storage-tasks/storage-task-conditions.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ This article focuses on **conditions**. To learn more about **operations**, see
27
27
A condition a collection of one or more _clauses_. Each clause contains a _property_, a _value_, and an _operator_. When the storage task runs, it uses the operator to compare a property with a value to determine whether a clause is met by the target object. In a clause, the **operator** always appears first followed by the **property**, and then the **value**. The following image shows how each element is positioned in the expression.
28
28
29
29
> [!div class="mx-imgBorder"]
30
-
> 
30
+
> 
31
31
32
32
The following clause allows operations only on Microsoft Word documents. This clause targets all documents that end with the file extension `.docx`. Therefore, the operator is `endsWith`, the property is `Name`, and the value is `.docx`.
33
33
@@ -44,7 +44,7 @@ For a complete list of operator and property names, see the [Supported operators
44
44
A condition can contain multiple clauses separated by a comma along with either the string `and` or `or`. The string `and` targets objects that meet the criteria in all clauses in the condition while `or` targets objects that meet the criterion in any of the clauses in the condition. The following image shows the position of the `and` and `or` string along with two clauses.
45
45
46
46
> [!div class="mx-imgBorder"]
47
-
> 
47
+
> 
48
48
49
49
The following JSON shows a condition that contains two clauses. Because the `and` string is used in this expression, both clauses must evaluate to `true` before an operation is performed on the object.
50
50
@@ -61,7 +61,7 @@ Grouped clauses operate as a single unit separate from the rest of the clauses.
61
61
The following image shows two clauses grouped together.
62
62
63
63
> [!div class="mx-imgBorder"]
64
-
> 
64
+
> 
65
65
66
66
The following condition allows operations only on Microsoft Word documents where the `readyForLegalHold` tag of the document is set to a value of `Yes`. Operations are also performed on objects that are greater than 100 bytes even if the other two conditions aren't true.
Copy file name to clipboardExpand all lines: articles/storage-actions/storage-tasks/storage-task-operations.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ This article focuses on **operations**. To learn more about **conditions**, see
26
26
An operation has a name along with zero, one, or multiple parameters. The following image shows how these elements appear for an operation in the JSON template of a storage task.
27
27
28
28
> [!div class="mx-imgBorder"]
29
-
> 
29
+
> 
30
30
31
31
The following table describes each element.
32
32
@@ -62,7 +62,7 @@ The following operation applies a time-based immutability policy to the object.
62
62
Separate multiple operations by using a comma. The following image shows the position of two operations in list of operations.
63
63
64
64
> [!div class="mx-imgBorder"]
65
-
> 
65
+
> 
66
66
67
67
The following JSON shows two operations separate by a comma.
0 commit comments