Skip to content

Commit f69839f

Browse files
committed
Learn Editor: Update storage-task-assignment-create.md
1 parent 6e48bd7 commit f69839f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

articles/storage-actions/storage-tasks/storage-task-assignment-create.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ An assignment becomes a sub resource of the targeted storage account. Therefore,
135135
$task = Get-AzStorageActionTask -Name <"storage-task-name"> -ResourceGroupName "<resource-group>"
136136
```
137137

138-
1. Create a storage task assignment by using the `New-AzStorageTaskAssignment` command. The following assignment targets the `mycontainer` container of an account named `mystorageaccount`. This assignment specifies that the task will run only one time, and will save execution reports to a folder named `storage-tasks-report`. The task is scheduled to run `10` minutes from the present time.
138+
4. Create a storage task assignment by using the `New-AzStorageTaskAssignment` command. The following assignment targets the `mycontainer` container of an account named `mystorageaccount`. This assignment specifies that the task will run only one time, and will save execution reports to a folder named `storage-tasks-report`. The task is scheduled to run `10` minutes from the present time.
139139

140140
```powershell
141141
New-AzStorageTaskAssignment `
@@ -151,7 +151,7 @@ An assignment becomes a sub resource of the targeted storage account. Therefore,
151151
-TargetPrefix $targetPrefix
152152
```
153153

154-
2. Give the storage task permission to perform operations on the target storage account by assigning a role to the managed identity. You can choose the managed identity type (system-assigned or user-assigned) when you create the storage task.
154+
5. Give the storage task permission to perform operations on the target storage account by assigning a role to the managed identity. You can choose the managed identity type (system-assigned or user-assigned) when you create the storage task.
155155

156156
The following commands assign the role of `Storage Blob Data Owner` to the system-assigned managed identity of the storage task.
157157

0 commit comments

Comments
 (0)