diff --git a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/misc/OperationsList.json b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/misc/OperationsList.json similarity index 73% rename from specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/misc/OperationsList.json rename to specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/misc/OperationsList.json index ed1291b6c369..96b82b82c9e5 100644 --- a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/misc/OperationsList.json +++ b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/misc/OperationsList.json @@ -7,30 +7,30 @@ "body": { "value": [ { - "name": "Microsoft.StorageTasks/storageTasks/read", + "name": "Microsoft.StorageActions/storageTasks/read", "isDataAction": false, "display": { - "provider": "Microsoft StorageTask", + "provider": "Microsoft StorageActions", "resource": "StorageTasks", "operation": "Get or List StorageTask resource(s).", "description": "Gets or Lists existing StorageTask resource(s)." } }, { - "name": "Microsoft.StorageTasks/storageTasks/write", + "name": "Microsoft.StorageActions/storageTasks/write", "isDataAction": false, "display": { - "provider": "Microsoft StorageTask", + "provider": "Microsoft StorageActions", "resource": "StorageTasks", "operation": "Create or Update StorageTask resource.", "description": "Creates or Updates StorageTask resource." } }, { - "name": "Microsoft.StorageTasks/storageTasks/delete", + "name": "Microsoft.StorageActions/storageTasks/delete", "isDataAction": false, "display": { - "provider": "Microsoft StorageTask", + "provider": "Microsoft StorageActions", "resource": "StorageTasks", "operation": "Delete StorageTask resource.", "description": "Deletes StorageTask resource." diff --git a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/misc/PerformStorageTaskActionsPreview.json b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/misc/PerformStorageTaskActionsPreview.json similarity index 99% rename from specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/misc/PerformStorageTaskActionsPreview.json rename to specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/misc/PerformStorageTaskActionsPreview.json index 5ae8ec3a123c..585b92d2bce2 100644 --- a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/misc/PerformStorageTaskActionsPreview.json +++ b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/misc/PerformStorageTaskActionsPreview.json @@ -2,6 +2,7 @@ "parameters": { "subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616", "api-version": "2023-01-01", + "location": "eastus", "monitor": "true", "parameters": { "properties": { diff --git a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksCrud/DeleteStorageTask.json b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/DeleteStorageTask.json similarity index 79% rename from specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksCrud/DeleteStorageTask.json rename to specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/DeleteStorageTask.json index ec59c890f854..615e85280fb5 100644 --- a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksCrud/DeleteStorageTask.json +++ b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/DeleteStorageTask.json @@ -9,7 +9,7 @@ "responses": { "202": { "headers": { - "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.StorageTasks/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-01-01" + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.StorageActions/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-01-01" } }, "204": {} diff --git a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksCrud/GetStorageTask.json b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/GetStorageTask.json similarity index 90% rename from specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksCrud/GetStorageTask.json rename to specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/GetStorageTask.json index acb05eed3866..51b4c999b343 100644 --- a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksCrud/GetStorageTask.json +++ b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/GetStorageTask.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageTasks/storageTasks/mytask1", + "id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", "name": "mytask1", - "type": "Microsoft.StorageTasks/storageTasks", + "type": "Microsoft.StorageActions/storageTasks", "location": "westus", "properties": { "enabled": true, diff --git a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksCrud/PatchStorageTask.json b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/PatchStorageTask.json similarity index 86% rename from specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksCrud/PatchStorageTask.json rename to specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/PatchStorageTask.json index 081c32bab6ad..f6d23470e41d 100644 --- a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksCrud/PatchStorageTask.json +++ b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/PatchStorageTask.json @@ -39,12 +39,12 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.StorageTasks/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-01-01" + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.StorageActions/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-01-01" }, "body": { - "id": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/res4228/providers/Microsoft.StorageTasks/storageTasks/mytask1", + "id": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", "name": "mytask1", - "type": "Microsoft.StorageTasks/storageTasks", + "type": "Microsoft.StorageActions/storageTasks", "location": "westus", "properties": { "enabled": true, @@ -81,7 +81,7 @@ }, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.StorageTasks/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-01-01" + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.StorageActions/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-01-01" } } } diff --git a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksCrud/PutStorageTask.json b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/PutStorageTask.json similarity index 85% rename from specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksCrud/PutStorageTask.json rename to specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/PutStorageTask.json index 50a0f4477805..6845e78207cf 100644 --- a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksCrud/PutStorageTask.json +++ b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksCrud/PutStorageTask.json @@ -40,12 +40,12 @@ "responses": { "200": { "headers": { - "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.StorageTasks/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-01-01" + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.StorageActions/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-01-01" }, "body": { - "id": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/res4228/providers/Microsoft.StorageTasks/storageTasks/mytask1", + "id": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", "name": "mytask1", - "type": "Microsoft.StorageTasks/storageTasks", + "type": "Microsoft.StorageActions/storageTasks", "location": "westus", "properties": { "enabled": true, @@ -82,12 +82,12 @@ }, "201": { "headers": { - "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.StorageTasks/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-01-01" + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.StorageActions/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-01-01" }, "body": { - "id": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/res4228/providers/Microsoft.StorageTasks/storageTasks/mytask1", + "id": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", "name": "mytask1", - "type": "Microsoft.StorageTasks/storageTasks", + "type": "Microsoft.StorageActions/storageTasks", "location": "westus", "properties": { "enabled": true, @@ -124,7 +124,7 @@ }, "202": { "headers": { - "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.StorageTasks/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-01-01" + "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.StorageActions/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-01-01" } } } diff --git a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksList/ListStorageTaskAssignmentIds.json b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTaskAssignmentIds.json similarity index 100% rename from specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksList/ListStorageTaskAssignmentIds.json rename to specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTaskAssignmentIds.json diff --git a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksList/ListStorageTasksByResourceGroup.json b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTasksByResourceGroup.json similarity index 89% rename from specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksList/ListStorageTasksByResourceGroup.json rename to specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTasksByResourceGroup.json index d99c8b061ac9..e2ed0d28c225 100644 --- a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksList/ListStorageTasksByResourceGroup.json +++ b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTasksByResourceGroup.json @@ -9,9 +9,9 @@ "body": { "value": [ { - "id": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/res6117/providers/Microsoft.StorageTasks/storageTasks/mytask1", + "id": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/res6117/providers/Microsoft.StorageActions/storageTasks/mytask1", "name": "mytask1", - "type": "Microsoft.StorageTasks/storageTasks", + "type": "Microsoft.StorageActions/storageTasks", "location": "eastus", "identity": { "principalId": "2fd475e8-8923-4597-842f-7ce1adfc6c4a", @@ -39,9 +39,9 @@ } }, { - "id": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/res6117/providers/Microsoft.StorageTasks/storageTasks/mytask2", + "id": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/res6117/providers/Microsoft.StorageActions/storageTasks/mytask2", "name": "mytask2", - "type": "Microsoft.StorageTasks/storageTasks", + "type": "Microsoft.StorageActions/storageTasks", "location": "westus", "properties": { "enabled": true, diff --git a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksList/ListStorageTasksBySubscription.json b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTasksBySubscription.json similarity index 88% rename from specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksList/ListStorageTasksBySubscription.json rename to specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTasksBySubscription.json index 3102f296ae4b..7399d9eb5597 100644 --- a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksList/ListStorageTasksBySubscription.json +++ b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTasksBySubscription.json @@ -8,9 +8,9 @@ "body": { "value": [ { - "id": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/res6117/providers/Microsoft.StorageTasks/storageTasks/mytask1", + "id": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/res6117/providers/Microsoft.StorageActions/storageTasks/mytask1", "name": "mytask1", - "type": "Microsoft.StorageTasks/storageTasks", + "type": "Microsoft.StorageActions/storageTasks", "location": "eastus", "identity": { "principalId": "2fd475e8-8923-4597-842f-7ce1adfc6c4a", @@ -38,9 +38,9 @@ } }, { - "id": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/res6117/providers/Microsoft.StorageTasks/storageTasks/mytask2", + "id": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/res6117/providers/Microsoft.StorageActions/storageTasks/mytask2", "name": "mytask2", - "type": "Microsoft.StorageTasks/storageTasks", + "type": "Microsoft.StorageActions/storageTasks", "location": "westus", "properties": { "enabled": true, diff --git a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksList/ListStorageTasksRunReportSummary.json b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTasksRunReportSummary.json similarity index 83% rename from specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksList/ListStorageTasksRunReportSummary.json rename to specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTasksRunReportSummary.json index c84f901139da..41fc76fa0406 100644 --- a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/examples/storageTasksList/ListStorageTasksRunReportSummary.json +++ b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/examples/storageTasksList/ListStorageTasksRunReportSummary.json @@ -11,9 +11,9 @@ "body": { "value": [ { - "id": "/subscriptions/9d6baee9-681f-44d8-99f7-d06d180af6bb/resourcegroups/rgroup1/providers/Microsoft.StorageTasks/storageTasks/myTaskName/reports/instance1", + "id": "/subscriptions/9d6baee9-681f-44d8-99f7-d06d180af6bb/resourcegroups/rgroup1/providers/Microsoft.StorageActions/storageTasks/myTaskName/reports/instance1", "name": "instance1", - "type": "Microsoft.StorageTasks/storageTasks/reports", + "type": "Microsoft.StorageActions/storageTasks/reports", "properties": { "taskAssignmentId": "/subscriptions/9d6baee9-681f-44d8-99f7-d06d180af6bb/resourcegroups/rgroup1/providers/Microsoft.Storage/storageAccounts/acc123/storageTaskAssignments/assign1", "storageAccountId": "/subscriptions/9d6baee9-681f-44d8-99f7-d06d180af6bb/resourcegroups/rgroup1/providers/Microsoft.Storage/storageAccounts/acc123", @@ -26,15 +26,15 @@ "runStatusError": "0", "runStatusEnum": "Finished", "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", - "taskId": "/subscriptions/9d6baee9-681f-44d8-99f7-d06d180af6bb/resourcegroups/rgroup1/providers/Microsoft.StorageTasks/storageTasks/mytask1", + "taskId": "/subscriptions/9d6baee9-681f-44d8-99f7-d06d180af6bb/resourcegroups/rgroup1/providers/Microsoft.StorageActions/storageTasks/mytask1", "taskVersion": "1", "runResult": "Succeeded" } }, { - "id": "/subscriptions/9d6baee9-681f-44d8-99f7-d06d180af6bb/resourcegroups/rgroup1/providers/Microsoft.StorageTasks/storageTasks/myTaskName/reports/instance2", + "id": "/subscriptions/9d6baee9-681f-44d8-99f7-d06d180af6bb/resourcegroups/rgroup1/providers/Microsoft.StorageActions/storageTasks/myTaskName/reports/instance2", "name": "instance2", - "type": "Microsoft.StorageTasks/storageTasks/reports", + "type": "Microsoft.StorageActions/storageTasks/reports", "properties": { "taskAssignmentId": "/subscriptions/9d6baee9-681f-44d8-99f7-d06d180af6bb/resourcegroups/rgroup1/providers/Microsoft.Storage/storageAccounts/acc123/storageTaskAssignments/assign1", "storageAccountId": "/subscriptions/9d6baee9-681f-44d8-99f7-d06d180af6bb/resourcegroups/rgroup1/providers/Microsoft.Storage/storageAccounts/acc123", @@ -47,7 +47,7 @@ "runStatusError": "0", "runStatusEnum": "Finished", "summaryReportPath": "https://acc123.blob.core.windows.net/result-container/{folderpath}/SummaryReport.json", - "taskId": "/subscriptions/9d6baee9-681f-44d8-99f7-d06d180af6bb/resourcegroups/rgroup1/providers/Microsoft.StorageTasks/storageTasks/mytask1", + "taskId": "/subscriptions/9d6baee9-681f-44d8-99f7-d06d180af6bb/resourcegroups/rgroup1/providers/Microsoft.StorageActions/storageTasks/mytask1", "taskVersion": "1", "runResult": "Succeeded" } diff --git a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/storagetasks.json b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/storageactions.json similarity index 97% rename from specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/storagetasks.json rename to specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/storageactions.json index 4727ca81d16e..2a0dec438f9c 100644 --- a/specification/storagetasks/resource-manager/Microsoft.StorageTasks/stable/2023-01-01/storagetasks.json +++ b/specification/storageactions/resource-manager/Microsoft.StorageActions/stable/2023-01-01/storageactions.json @@ -1,8 +1,8 @@ { "swagger": "2.0", "info": { - "title": "StorageTasksManagementClient", - "description": "The Azure Storage Tasks Management API.", + "title": "StorageActionsManagementClient", + "description": "The Azure Storage Actions Management API.", "version": "2023-01-01" }, "host": "management.azure.com", @@ -16,12 +16,12 @@ "application/json" ], "paths": { - "/providers/Microsoft.StorageTasks/operations": { + "/providers/Microsoft.StorageActions/operations": { "get": { "tags": [ - "Storage Tasks Operations" + "Storage Actions Operations" ], - "description": "Lists all of the available Storage Tasks Rest API operations.", + "description": "Lists all of the available Storage Actions Rest API operations.", "operationId": "Operations_List", "x-ms-examples": { "OperationsList": { @@ -52,7 +52,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageTasks/storageTasks/{storageTaskName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}": { "put": { "tags": [ "StorageTasks" @@ -271,7 +271,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StorageTasks/storageTasks": { + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageActions/storageTasks": { "get": { "tags": [ "StorageTasks" @@ -310,7 +310,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageTasks/storageTasks": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks": { "get": { "tags": [ "StorageTasks" @@ -352,7 +352,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageTasks/storageTasks/{storageTaskName}/storageTaskAssignments": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}/storageTaskAssignments": { "get": { "tags": [ "StorageTasks" @@ -403,7 +403,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageTasks/storageTasks/{storageTaskName}/reports": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageActions/storageTasks/{storageTaskName}/reports": { "get": { "tags": [ "StorageTasks" @@ -460,7 +460,7 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.StorageTasks/previewActions": { + "/subscriptions/{subscriptionId}/providers/Microsoft.StorageActions/locations/{location}/previewActions": { "post": { "tags": [ "StorageTasks" @@ -479,6 +479,13 @@ { "$ref": "../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" }, + { + "name": "location", + "in": "path", + "required": true, + "type": "string", + "description": "The location to perform preview of the actions." + }, { "name": "parameters", "in": "body", @@ -890,7 +897,7 @@ "x-ms-arm-id-details": { "allowedResources": [ { - "type": "Microsoft.StorageTasks/storageTasks" + "type": "Microsoft.StorageActions/storageTasks" } ] }, diff --git a/specification/storagetasks/resource-manager/readme.az.md b/specification/storageactions/resource-manager/readme.az.md similarity index 58% rename from specification/storagetasks/resource-manager/readme.az.md rename to specification/storageactions/resource-manager/readme.az.md index 0fedbd2d5ab6..ca48697a2eab 100644 --- a/specification/storagetasks/resource-manager/readme.az.md +++ b/specification/storageactions/resource-manager/readme.az.md @@ -6,11 +6,11 @@ For new Resource Provider. It is highly recommended to onboard Azure CLI extensi ``` yaml $(az) && $(target-mode) != 'core' az: - extensions: storagetasks - namespace: azure.mgmt.storagetasks - package-name: azure-mgmt-storagetasks -az-output-folder: $(azure-cli-extension-folder)/src/storagetasks -python-sdk-output-folder: "$(az-output-folder)/azext_storagetasks/vendored_sdks/storagetasks" + extensions: storageactions + namespace: azure.mgmt.storageactions + package-name: azure-mgmt-storageactions +az-output-folder: $(azure-cli-extension-folder)/src/storageactions +python-sdk-output-folder: "$(az-output-folder)/azext_storageactions/vendored_sdks/storageactions" # add additional configuration here specific for Azure CLI # refer to the faq.md for more details ``` @@ -20,9 +20,9 @@ python-sdk-output-folder: "$(az-output-folder)/azext_storagetasks/vendored_sdks/ This is for command modules that already in azure cli main repo. ``` yaml $(az) && $(target-mode) == 'core' az: - extensions: storagetasks - namespace: azure.mgmt.storagetasks - package-name: azure-mgmt-storagetasks -az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/storagetasks -python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/storagetasks" + extensions: storageactions + namespace: azure.mgmt.storageactions + package-name: azure-mgmt-storageactions +az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/storageactions +python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/storageactions" ``` \ No newline at end of file diff --git a/specification/storagetasks/resource-manager/readme.cli.md b/specification/storageactions/resource-manager/readme.cli.md similarity index 100% rename from specification/storagetasks/resource-manager/readme.cli.md rename to specification/storageactions/resource-manager/readme.cli.md diff --git a/specification/storagetasks/resource-manager/readme.csharp.md b/specification/storageactions/resource-manager/readme.csharp.md similarity index 69% rename from specification/storagetasks/resource-manager/readme.csharp.md rename to specification/storageactions/resource-manager/readme.csharp.md index 37dfc2d9a40b..69ff26b4eedc 100644 --- a/specification/storagetasks/resource-manager/readme.csharp.md +++ b/specification/storageactions/resource-manager/readme.csharp.md @@ -10,6 +10,6 @@ csharp: payload-flattening-threshold: 2 clear-output-folder: true client-side-validation: false - namespace: Microsoft.Azure.Management.StorageTasks - output-folder: $(csharp-sdks-folder)/StorageTasks/Microsoft.Azure.Management.StorageTasks/src/Generated + namespace: Microsoft.Azure.Management.StorageActions + output-folder: $(csharp-sdks-folder)/StorageActions/Microsoft.Azure.Management.StorageActions/src/Generated ``` diff --git a/specification/storagetasks/resource-manager/readme.go.md b/specification/storageactions/resource-manager/readme.go.md similarity index 80% rename from specification/storagetasks/resource-manager/readme.go.md rename to specification/storageactions/resource-manager/readme.go.md index 935ff6020b90..c14d5a2d35dc 100644 --- a/specification/storagetasks/resource-manager/readme.go.md +++ b/specification/storageactions/resource-manager/readme.go.md @@ -5,7 +5,7 @@ These settings apply only when `--go` is specified on the command line. ```yaml $(go) && $(track2) azure-arm: true license-header: MICROSOFT_MIT_NO_VERSION -module-name: sdk/resourcemanager/storagetasks/armstoragetasks +module-name: sdk/resourcemanager/storageactions/armstorageactions module: github.com/Azure/azure-sdk-for-go/$(module-name) output-folder: $(go-sdk-folder)/$(module-name) ``` \ No newline at end of file diff --git a/specification/storagetasks/resource-manager/readme.md b/specification/storageactions/resource-manager/readme.md similarity index 91% rename from specification/storagetasks/resource-manager/readme.md rename to specification/storageactions/resource-manager/readme.md index 4aa4434d1739..c65b6105fa31 100644 --- a/specification/storagetasks/resource-manager/readme.md +++ b/specification/storageactions/resource-manager/readme.md @@ -22,7 +22,7 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor ### Basic Information -These are the global settings for the storagetasks. +These are the global settings for the storageactions. ```yaml openapi-type: arm @@ -35,7 +35,7 @@ These settings apply only when `--tag=package-2023-01-01` is specified on the co ```yaml $(tag) == 'package-2023-01-01' input-file: - - Microsoft.StorageTasks/stable/2023-01-01/storagetasks.json + - Microsoft.StorageActions/stable/2023-01-01/storageactions.json ``` --- @@ -55,7 +55,7 @@ swagger-to-sdk: - repo: azure-sdk-for-go - repo: azure-sdk-for-js after_scripts: - - bundle install && rake arm:regen_all_profiles['azure_mgmt_storagetasks'] + - bundle install && rake arm:regen_all_profiles['azure_mgmt_storageactions'] ``` ## Go diff --git a/specification/storagetasks/resource-manager/readme.python.md b/specification/storageactions/resource-manager/readme.python.md similarity index 67% rename from specification/storagetasks/resource-manager/readme.python.md rename to specification/storageactions/resource-manager/readme.python.md index ef3ca50efcf9..e89a4a87929f 100644 --- a/specification/storagetasks/resource-manager/readme.python.md +++ b/specification/storageactions/resource-manager/readme.python.md @@ -6,13 +6,13 @@ Please also specify `--python-sdks-folder=