Skip to content

Commit 8ebecf4

Browse files
committed
Some tweaks
1 parent dbfca4a commit 8ebecf4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

articles/storage-actions/storage-tasks/storage-task-conditions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ This article describes the format of a storage task condition and the properties
2020
> Azure Storage Actions is currently in PREVIEW and is available these [regions](../overview.md#supported-regions).
2121
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
2222
23-
## Condition format
24-
2523
A storage task contains a set of conditions and operations in a JSON document. The following image shows how a single condition and operation appear in a the document.
2624

2725
> [!div class="mx-imgBorder"]
2826
> ![Location of conditions and operations in a JSON snippet.](../media/storage-tasks/storage-task-operations/storage-task-operations-location-of-conditions-and-operations.png)
2927
28+
## Condition format
29+
3030
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.
3131

3232
> [!div class="mx-imgBorder"]

articles/storage-actions/storage-tasks/storage-task-operations.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ An operation is an action that a storage task performs on each object that meets
1919
> Azure Storage Actions is currently in PREVIEW and is available these [regions](../overview.md#supported-regions).
2020
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
2121
22-
## Operation format
23-
2422
A storage task contains a set of conditions and operations in a JSON document. The following image shows how a single condition and operation appear in a the document.
2523

2624
> [!div class="mx-imgBorder"]
2725
> ![Location of conditions and operations in a JSON snippet.](../media/storage-tasks/storage-task-operations/storage-task-operations-location-of-conditions-and-operations.png)
28-
29-
An operation is defined by the following JSON elements:
26+
27+
## Operation format
28+
29+
An operation has a name along with zero, one, or multiple parameters. The following table describes each element that makes up the operation definition.
3030

3131
| Element | Description |
3232
|---|--|
3333
| `name` | The name of the operation. For a full list of names, see the [Supported operations](#supported-operations) section of this article. |
34-
| `parameters` | The names and values of each parameter separated by a comma. To see which parameters are available with each operation, see the [Supported operations](#supported-operations) section of this article. |
34+
| `parameters` | A collection of one or more parameters. Each parameter has parameter name and a parameter value. For a list of parameters and parameter values, see the [Supported operations](#supported-operations) section of this article. |
3535
| `onSuccess` | The action to take when the operation is successful for an object. `continue` is the only allowable value during the preview. |
3636
| `onFailure` | The action to take when the operation fails for a object. `break` is the only allowable value during the preview. |
3737

@@ -73,7 +73,7 @@ The following JSON shows two operations separate by a comma.
7373
"name": "SetBlobImmutabilityPolicy",
7474
"parameters": {
7575
"untilDate": "2024-11-15T21:54:22",
76-
"mode": "unlocked"
76+
"mode": "locked"
7777
},
7878
"onSuccess": "continue",
7979
"onFailure": "break"

0 commit comments

Comments
 (0)