diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json index 8f67d62d9e3a..57463c160d62 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/DeleteStorageTaskAssignment.json @@ -9,6 +9,7 @@ "responses": { "202": { "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/ActionsRPOperationStatuses/00000000-0000-0000-0000-000000000000*00000?api-version=2025-01-01", "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-01-01" } }, diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json index d985a434a973..1643853795a5 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PatchStorageTaskAssignment.json @@ -64,6 +64,7 @@ }, "202": { "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/ActionsRPOperationStatuses/00000000-0000-0000-0000-000000000000*00000?api-version=2025-01-01", "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-01-01" } } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json index 4422d48b45af..b2666d7b45e4 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignment.json @@ -96,6 +96,7 @@ }, "202": { "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/ActionsRPOperationStatuses/00000000-0000-0000-0000-000000000000*00000?api-version=2025-01-01", "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-01-01" } } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json index 6aa0540468c1..f5a26e55f9f7 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.json @@ -75,6 +75,7 @@ }, "202": { "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscription-id}/providers/Microsoft.Storage/locations/eastus/ActionsRPOperationStatuses/00000000-0000-0000-0000-000000000000*00000?api-version=2025-01-01", "location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-01-01" } } diff --git a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storageTaskAssignments.json b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storageTaskAssignments.json index 6469a6f3194e..4f3788b81c5b 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storageTaskAssignments.json +++ b/specification/storage/resource-manager/Microsoft.Storage/stable/2025-01-01/storageTaskAssignments.json @@ -73,6 +73,9 @@ "202": { "description": "Accepted -- Create or update request accepted; operation will complete asynchronously.", "headers": { + "Azure-AsyncOperation": { + "type": "string" + }, "Location": { "type": "string" } @@ -87,7 +90,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "azure-async-operation" } }, "patch": { @@ -137,6 +140,9 @@ "202": { "description": "Accepted -- update request accepted; operation will complete asynchronously.", "headers": { + "Azure-AsyncOperation": { + "type": "string" + }, "Location": { "type": "string" } @@ -151,7 +157,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "azure-async-operation" } }, "get": { @@ -229,6 +235,9 @@ "202": { "description": "Accepted -- Delete request accepted; operation will complete asynchronously.", "headers": { + "Azure-AsyncOperation": { + "type": "string" + }, "Location": { "type": "string" } @@ -246,7 +255,7 @@ }, "x-ms-long-running-operation": true, "x-ms-long-running-operation-options": { - "final-state-via": "location" + "final-state-via": "azure-async-operation" } } }, @@ -594,7 +603,7 @@ "startOn": { "type": "string", "format": "date-time", - "description": "When to start task execution. This is an optional field when ExecutionTrigger.properties.type is 'RunOnce'; this property should not be present when ExecutionTrigger.properties.type is 'OnSchedule'" + "description": "When to start task execution. This is a required field when ExecutionTrigger.properties.type is 'RunOnce'; this property should not be present when ExecutionTrigger.properties.type is 'OnSchedule'" } }, "description": "The trigger parameters update for the storage task assignment execution"