Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Commands/storage/account/task-assignment/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@ Create a new storage task assignment sub-resource with the specified parameters.
```bash
storage account task-assignment create -g rg_name -n task_assignment_name --account-name storage_account_name --description 'My Storage task assignment' --enabled false --task-id 'task_id' --report '{prefix:container1}' --execution-context '{trigger:{type:OnSchedule,parameters:{start-from:'2024-08-14T21:52:47Z',end-by:'2024-09-04T21:52:47.203074Z',interval:10,interval-unit:Days}},target:{prefix:[prefix1,prefix2],exclude-prefix:[prefix3]}}'
```

### [2025-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9zdG9yYWdldGFza2Fzc2lnbm1lbnRzL3t9/2025-08-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/storagetaskassignments/{} 2025-08-01 -->

#### examples

- Create Storage TaskAssignment
```bash
storage account task-assignment create -g rg_name -n task_assignment_name --account-name storage_account_name --description 'My Storage task assignment' --enabled false --task-id 'task_id' --report '{prefix:container1}' --execution-context '{trigger:{type:OnSchedule,parameters:{start-from:'2024-08-14T21:52:47Z',end-by:'2024-09-04T21:52:47.203074Z',interval:10,interval-unit:Days}},target:{prefix:[prefix1,prefix2],exclude-prefix:[prefix3]}}'
```
11 changes: 11 additions & 0 deletions Commands/storage/account/task-assignment/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@ Delete the storage task assignment sub-resource
```bash
storage account task-assignment delete --resource-group res4228 --account-name sto4445 --storage-task-assignment-name myassignment1
```

### [2025-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9zdG9yYWdldGFza2Fzc2lnbm1lbnRzL3t9/2025-08-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/storagetaskassignments/{} 2025-08-01 -->

#### examples

- Delete Storage TaskAssignment
```bash
storage account task-assignment delete --resource-group res4228 --account-name sto4445 --storage-task-assignment-name myassignment1
```
11 changes: 11 additions & 0 deletions Commands/storage/account/task-assignment/_list-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@ List the report summary of a single storage task assignment's instances
```bash
storage account task-assignment list-report --resource-group res4228 --account-name sto4445 --storage-task-assignment-name myassignment1
```

### [2025-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9zdG9yYWdldGFza2Fzc2lnbm1lbnRzL3t9L3JlcG9ydHM=/2025-08-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/storagetaskassignments/{}/reports 2025-08-01 -->

#### examples

- List Storage TaskAssignment InstancesReportSummary
```bash
storage account task-assignment list-report --resource-group res4228 --account-name sto4445 --storage-task-assignment-name myassignment1
```
11 changes: 11 additions & 0 deletions Commands/storage/account/task-assignment/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@ List all the storage task assignments in an account
```bash
storage account task-assignment list --resource-group res4228 --account-name sto4445
```

### [2025-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9zdG9yYWdldGFza2Fzc2lnbm1lbnRz/2025-08-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/storagetaskassignments 2025-08-01 -->

#### examples

- List Storage TaskAssignments
```bash
storage account task-assignment list --resource-group res4228 --account-name sto4445
```
11 changes: 11 additions & 0 deletions Commands/storage/account/task-assignment/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@ Get the storage task assignment properties
```bash
storage account task-assignment show -g rg_name -n task_assignment_name --account-name storage_account_name
```

### [2025-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9zdG9yYWdldGFza2Fzc2lnbm1lbnRzL3t9/2025-08-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/storagetaskassignments/{} 2025-08-01 -->

#### examples

- Get Storage TaskAssignment
```bash
storage account task-assignment show -g rg_name -n task_assignment_name --account-name storage_account_name
```
11 changes: 11 additions & 0 deletions Commands/storage/account/task-assignment/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,14 @@ Update a new storage task assignment sub-resource with the specified parameters.
```bash
storage account task-assignment update -g rg_name -n task_assignment_name --account-name storage_account_name --description 'My Storage task assignment' --enabled true --task-id 'task_id' --report '{prefix:container1}' --execution-context '{trigger:{type:OnSchedule,parameters:{start-from:'2024-08-15T21:52:47Z',end-by:'2024-09-05T21:52:47.203074Z',interval:10,interval-unit:Days}},target:{prefix:[prefix1,prefix2],exclude-prefix:[prefix3]}}'
```

### [2025-08-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5zdG9yYWdlL3N0b3JhZ2VhY2NvdW50cy97fS9zdG9yYWdldGFza2Fzc2lnbm1lbnRzL3t9/2025-08-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/storagetaskassignments/{} 2025-08-01 -->

#### examples

- Update Storage TaskAssignment
```bash
storage account task-assignment update -g rg_name -n task_assignment_name --account-name storage_account_name --description 'My Storage task assignment' --enabled true --task-id 'task_id' --report '{prefix:container1}' --execution-context '{trigger:{type:OnSchedule,parameters:{start-from:'2024-08-15T21:52:47Z',end-by:'2024-09-05T21:52:47.203074Z',interval:10,interval-unit:Days}},target:{prefix:[prefix1,prefix2],exclude-prefix:[prefix3]}}'
```
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/storagetaskassignments", "version": "2025-08-01", "swagger": "mgmt-plane/storage/ResourceProviders/Microsoft.Storage/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMve2FjY291bnROYW1lfS9zdG9yYWdlVGFza0Fzc2lnbm1lbnRz/V/MjAyNS0wOC0wMQ=="}], "commandGroups": [{"name": "storage account task-assignment", "commands": [{"name": "list", "version": "2025-08-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.storage/storageaccounts/{}/storagetaskassignments", "version": "2025-08-01", "swagger": "mgmt-plane/storage/ResourceProviders/Microsoft.Storage/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9zdG9yYWdlQWNjb3VudHMve2FjY291bnROYW1lfS9zdG9yYWdlVGFza0Fzc2lnbm1lbnRz/V/MjAyNS0wOC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.accountName", "options": ["account-name"], "required": true, "idPart": "name", "help": {"short": "The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only."}, "format": {"pattern": "^[a-z0-9]+$", "maxLength": 24, "minLength": 3}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "integer32", "var": "$Query.top", "options": ["top"], "help": {"short": "Optional, specifies the maximum number of storage task assignment Ids to be included in the list response."}}]}], "operations": [{"operationId": "StorageTaskAssignments_List", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/storageTaskAssignments", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "accountName", "arg": "$Path.accountName", "required": true, "format": {"pattern": "^[a-z0-9]+$", "maxLength": 24, "minLength": 3}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "integer32", "name": "$top", "arg": "$Query.top"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2025-08-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"readOnly": true, "type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Storage/storageAccounts/{}/storageTaskAssignments/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description", "required": true}, {"type": "boolean", "name": "enabled", "required": true}, {"type": "object", "name": "executionContext", "required": true, "props": [{"type": "object", "name": "target", "props": [{"type": "array<string>", "name": "excludePrefix", "item": {"type": "string"}}, {"type": "array<string>", "name": "prefix", "item": {"type": "string"}}]}, {"type": "object", "name": "trigger", "required": true, "props": [{"type": "object", "name": "parameters", "required": true, "props": [{"type": "dateTime", "name": "endBy", "format": {"protocol": "iso"}}, {"type": "integer32", "name": "interval", "format": {"minimum": 1}}, {"type": "string", "name": "intervalUnit", "enum": {"items": [{"value": "Days"}]}}, {"type": "dateTime", "name": "startFrom", "format": {"protocol": "iso"}}, {"type": "dateTime", "name": "startOn", "format": {"protocol": "iso"}}]}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "MockRun"}, {"value": "OnSchedule"}, {"value": "RunOnce"}]}}]}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Accepted"}, {"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "ValidateSubscriptionQuotaBegin"}, {"value": "ValidateSubscriptionQuotaEnd"}]}}, {"type": "object", "name": "report", "required": true, "props": [{"type": "string", "name": "prefix", "required": true}]}, {"type": "object", "name": "runStatus", "props": [{"readOnly": true, "type": "string", "name": "finishTime"}, {"readOnly": true, "type": "string", "name": "objectFailedCount"}, {"readOnly": true, "type": "string", "name": "objectsOperatedOnCount"}, {"readOnly": true, "type": "string", "name": "objectsSucceededCount"}, {"readOnly": true, "type": "string", "name": "objectsTargetedCount"}, {"readOnly": true, "type": "string", "name": "runResult", "enum": {"items": [{"value": "Failed"}, {"value": "Succeeded"}]}}, {"readOnly": true, "type": "string", "name": "runStatusEnum", "enum": {"items": [{"value": "Finished"}, {"value": "InProgress"}]}}, {"readOnly": true, "type": "string", "name": "runStatusError"}, {"readOnly": true, "type": "string", "name": "startTime"}, {"readOnly": true, "type": "ResourceId", "name": "storageAccountId"}, {"readOnly": true, "type": "string", "name": "summaryReportPath"}, {"readOnly": true, "type": "ResourceId", "name": "taskAssignmentId"}, {"readOnly": true, "type": "ResourceId", "name": "taskId"}, {"readOnly": true, "type": "string", "name": "taskVersion"}]}, {"type": "ResourceId", "name": "taskId", "required": true}]}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}
Loading
Loading