diff --git a/sdk/resourcemanager/api-specs.json b/sdk/resourcemanager/api-specs.json index 30c086ecc491e..5438394338342 100644 --- a/sdk/resourcemanager/api-specs.json +++ b/sdk/resourcemanager/api-specs.json @@ -408,7 +408,7 @@ "dir": "azure-resourcemanager-storage", "source": "specification/storage/resource-manager/readme.md", "package": "com.azure.resourcemanager.storage", - "args": "--tag=package-2021-04" + "args": "--tag=package-2021-08" }, "storage-hybrid": { "dir": "../resourcemanagerhybrid/azure-resourcemanager-storage", diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDFunctionApp.json b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDFunctionApp.json index d4f95b9808b1f..87dd6eb46b0a2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDFunctionApp.json +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDFunctionApp.json @@ -26,7 +26,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts/1e26a9dc373c4f6aa658?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts/1e26a9dc373c4f6aa658?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)", "Content-Type" : "application/json" @@ -46,7 +46,7 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200302T053045Z:43caddfd-34fd-432c-9d71-2725db2d1e11", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/88a31e7b-9db7-422a-9b5f-cbd1e99268f5?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/88a31e7b-9db7-422a-9b5f-cbd1e99268f5?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "88a31e7b-9db7-422a-9b5f-cbd1e99268f5", "Body" : "" @@ -81,7 +81,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/88a31e7b-9db7-422a-9b5f-cbd1e99268f5?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/88a31e7b-9db7-422a-9b5f-cbd1e99268f5?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -106,7 +106,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts/1e26a9dc373c4f6aa658?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts/1e26a9dc373c4f6aa658?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -189,7 +189,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts/1e26a9dc373c4f6aa658/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts/1e26a9dc373c4f6aa658/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -378,7 +378,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -403,7 +403,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts/1e26a9dc373c4f6aa658/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts/1e26a9dc373c4f6aa658/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -511,7 +511,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts/1e26a9dc373c4f6aa658/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts/1e26a9dc373c4f6aa658/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -732,7 +732,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts/1e26a9dc373c4f6aa658/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts/1e26a9dc373c4f6aa658/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -867,7 +867,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -892,7 +892,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts/1e26a9dc373c4f6aa658/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts/1e26a9dc373c4f6aa658/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -1297,7 +1297,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg0a2064065/providers/Microsoft.Storage/storageAccounts/javastorebe3078480?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg0a2064065/providers/Microsoft.Storage/storageAccounts/javastorebe3078480?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)", "Content-Type" : "application/json" @@ -1317,14 +1317,14 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200302T053434Z:52bdd799-453f-4679-a7bb-aa3ae13f8171", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a89b9667-127a-4f74-af8d-53e0f8358b98?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a89b9667-127a-4f74-af8d-53e0f8358b98?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "a89b9667-127a-4f74-af8d-53e0f8358b98", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a89b9667-127a-4f74-af8d-53e0f8358b98?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a89b9667-127a-4f74-af8d-53e0f8358b98?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -1349,7 +1349,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg0a2064065/providers/Microsoft.Storage/storageAccounts/javastorebe3078480?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg0a2064065/providers/Microsoft.Storage/storageAccounts/javastorebe3078480?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -1432,7 +1432,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg0a2064065/providers/Microsoft.Storage/storageAccounts/javastorebe3078480/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg0a2064065/providers/Microsoft.Storage/storageAccounts/javastorebe3078480/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -1594,7 +1594,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -1619,7 +1619,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg0a2064065/providers/Microsoft.Storage/storageAccounts/javastorebe3078480/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg0a2064065/providers/Microsoft.Storage/storageAccounts/javastorebe3078480/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -1644,7 +1644,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -1783,7 +1783,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrgb34761444/providers/Microsoft.Storage/storageAccounts?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -1862,7 +1862,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDLinuxFunctionApp.json b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDLinuxFunctionApp.json index 42093bdc7c313..220429e3c105c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDLinuxFunctionApp.json +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDLinuxFunctionApp.json @@ -25,7 +25,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/5a7de2059d894453b0c4?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/5a7de2059d894453b0c4?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" @@ -44,7 +44,7 @@ "x-content-type-options" : "nosniff", "x-ms-routing-request-id" : "SOUTHEASTASIA:20200609T031441Z:62441fe9-7fc2-40c8-a1c6-d82f8eef2f59", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/fe3cb9da-a0d8-482d-bf20-80bbab73aafc?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/fe3cb9da-a0d8-482d-bf20-80bbab73aafc?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "fe3cb9da-a0d8-482d-bf20-80bbab73aafc", "Body" : "" @@ -78,7 +78,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/fe3cb9da-a0d8-482d-bf20-80bbab73aafc?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/fe3cb9da-a0d8-482d-bf20-80bbab73aafc?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager/null (14.0.1; Windows 10 10.0)" }, @@ -102,7 +102,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/5a7de2059d894453b0c4?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/5a7de2059d894453b0c4?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" @@ -210,7 +210,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/5a7de2059d894453b0c4/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/5a7de2059d894453b0c4/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" @@ -452,7 +452,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/4e9628cc22c343959bb8?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/4e9628cc22c343959bb8?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" @@ -471,7 +471,7 @@ "x-content-type-options" : "nosniff", "x-ms-routing-request-id" : "SOUTHEASTASIA:20200609T031536Z:45c6c821-1d61-4382-bcb6-b91a4f6ca59c", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ee700a8f-231f-40bf-b8dd-8ef5f64ebf6e?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ee700a8f-231f-40bf-b8dd-8ef5f64ebf6e?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "ee700a8f-231f-40bf-b8dd-8ef5f64ebf6e", "Body" : "" @@ -505,7 +505,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ee700a8f-231f-40bf-b8dd-8ef5f64ebf6e?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ee700a8f-231f-40bf-b8dd-8ef5f64ebf6e?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager/null (14.0.1; Windows 10 10.0)" }, @@ -529,7 +529,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/4e9628cc22c343959bb8?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/4e9628cc22c343959bb8?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" @@ -637,7 +637,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/4e9628cc22c343959bb8/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/4e9628cc22c343959bb8/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" @@ -798,7 +798,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/d75719af0c634515832f?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/d75719af0c634515832f?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" @@ -817,14 +817,14 @@ "x-content-type-options" : "nosniff", "x-ms-routing-request-id" : "SOUTHEASTASIA:20200609T031630Z:ba8af1a2-c06f-4a42-94fe-257ceee60e97", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/de59fb83-d063-4983-827c-0903afd525c7?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/de59fb83-d063-4983-827c-0903afd525c7?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "de59fb83-d063-4983-827c-0903afd525c7", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/de59fb83-d063-4983-827c-0903afd525c7?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/de59fb83-d063-4983-827c-0903afd525c7?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager/null (14.0.1; Windows 10 10.0)" }, @@ -848,7 +848,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/d75719af0c634515832f?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/d75719af0c634515832f?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" @@ -956,7 +956,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/d75719af0c634515832f/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrga9394341a/providers/Microsoft.Storage/storageAccounts/d75719af0c634515832f/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDLinuxFunctionAppJava11.json b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDLinuxFunctionAppJava11.json index 7aeb13970fabd..ba4e19b6c6459 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDLinuxFunctionAppJava11.json +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDLinuxFunctionAppJava11.json @@ -25,7 +25,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg1d3019355/providers/Microsoft.Storage/storageAccounts/a7573fd3dd8647beaaf9?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg1d3019355/providers/Microsoft.Storage/storageAccounts/a7573fd3dd8647beaaf9?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" @@ -44,7 +44,7 @@ "x-content-type-options" : "nosniff", "x-ms-routing-request-id" : "SOUTHEASTASIA:20200609T020751Z:c7056f3a-4461-43e7-bd1e-e8f2ad136a84", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/3985bb33-961a-4720-bfd7-5305924f8336?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/3985bb33-961a-4720-bfd7-5305924f8336?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "3985bb33-961a-4720-bfd7-5305924f8336", "Body" : "" @@ -78,7 +78,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/3985bb33-961a-4720-bfd7-5305924f8336?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/3985bb33-961a-4720-bfd7-5305924f8336?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager/null (14.0.1; Windows 10 10.0)" }, @@ -102,7 +102,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg1d3019355/providers/Microsoft.Storage/storageAccounts/a7573fd3dd8647beaaf9?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg1d3019355/providers/Microsoft.Storage/storageAccounts/a7573fd3dd8647beaaf9?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" @@ -210,7 +210,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg1d3019355/providers/Microsoft.Storage/storageAccounts/a7573fd3dd8647beaaf9/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg1d3019355/providers/Microsoft.Storage/storageAccounts/a7573fd3dd8647beaaf9/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDLinuxFunctionAppPremium.json b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDLinuxFunctionAppPremium.json index e77dea6ef66dd..30618dc092b9c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDLinuxFunctionAppPremium.json +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionAppsTests.canCRUDLinuxFunctionAppPremium.json @@ -25,7 +25,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg8c2180506/providers/Microsoft.Storage/storageAccounts/b77260b6afe54ad7b421?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg8c2180506/providers/Microsoft.Storage/storageAccounts/b77260b6afe54ad7b421?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" @@ -44,7 +44,7 @@ "x-content-type-options" : "nosniff", "x-ms-routing-request-id" : "SOUTHEASTASIA:20200609T031020Z:28b2848b-d1db-4e2e-8946-01b95856e61c", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/6873949c-4356-4819-8f6d-9d0c442ff0dd?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/6873949c-4356-4819-8f6d-9d0c442ff0dd?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "6873949c-4356-4819-8f6d-9d0c442ff0dd", "Body" : "" @@ -78,7 +78,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/6873949c-4356-4819-8f6d-9d0c442ff0dd?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/6873949c-4356-4819-8f6d-9d0c442ff0dd?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager/null (14.0.1; Windows 10 10.0)" }, @@ -102,7 +102,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg8c2180506/providers/Microsoft.Storage/storageAccounts/b77260b6afe54ad7b421?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg8c2180506/providers/Microsoft.Storage/storageAccounts/b77260b6afe54ad7b421?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" @@ -210,7 +210,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg8c2180506/providers/Microsoft.Storage/storageAccounts/b77260b6afe54ad7b421/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg8c2180506/providers/Microsoft.Storage/storageAccounts/b77260b6afe54ad7b421/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0 (14.0.1; Windows 10 10.0)", "Content-Type" : "application/json" diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionDeploymentSlotsTests.canCRUDFunctionSlots.json b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionDeploymentSlotsTests.canCRUDFunctionSlots.json index 4e6208ad087cf..e45c50f2c5666 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionDeploymentSlotsTests.canCRUDFunctionSlots.json +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionDeploymentSlotsTests.canCRUDFunctionSlots.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg7957246d/providers/Microsoft.Storage/storageAccounts/d2709f1f97b748abbd9e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg7957246d/providers/Microsoft.Storage/storageAccounts/d2709f1f97b748abbd9e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage.implementation/2.0.0 (14.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0c6f28e2-4818-4f72-86c1-6b4ad183bde2", @@ -51,12 +51,12 @@ "Body" : "", "x-ms-client-request-id" : "0c6f28e2-4818-4f72-86c1-6b4ad183bde2", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/7ae4e8bc-d0e4-466b-a4a0-3f17b7693a94?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/7ae4e8bc-d0e4-466b-a4a0-3f17b7693a94?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/7ae4e8bc-d0e4-466b-a4a0-3f17b7693a94?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/7ae4e8bc-d0e4-466b-a4a0-3f17b7693a94?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (14.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "eeab6818-4ab1-4204-a79b-fea5ed6bf3df" @@ -112,7 +112,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg7957246d/providers/Microsoft.Storage/storageAccounts/d2709f1f97b748abbd9e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg7957246d/providers/Microsoft.Storage/storageAccounts/d2709f1f97b748abbd9e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage.implementation/2.0.0 (14.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c359e66b-00ee-459b-a880-ed3aea887ec8", @@ -200,7 +200,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg7957246d/providers/Microsoft.Storage/storageAccounts/d2709f1f97b748abbd9e/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg7957246d/providers/Microsoft.Storage/storageAccounts/d2709f1f97b748abbd9e/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage.implementation/2.0.0 (14.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "9d21c2a5-4db2-47bd-90bb-8ebeb4682bc8", diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionDeploymentSlotsTests.canCRUDFunctionSwapSlots.json b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionDeploymentSlotsTests.canCRUDFunctionSwapSlots.json index 3258b6002d458..f97fd710f01b0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionDeploymentSlotsTests.canCRUDFunctionSwapSlots.json +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/FunctionDeploymentSlotsTests.canCRUDFunctionSwapSlots.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg717304a0/providers/Microsoft.Storage/storageAccounts/5d0e3c238fb54536b430?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg717304a0/providers/Microsoft.Storage/storageAccounts/5d0e3c238fb54536b430?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage.fluent/2.0.0-beta.5 (14.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "17cb0d08-7e27-4855-a45d-41a82d5df500", @@ -51,7 +51,7 @@ "Body" : "", "x-ms-client-request-id" : "17cb0d08-7e27-4855-a45d-41a82d5df500", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/31f584b6-97d0-432b-ac59-ebf7244bd472?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/31f584b6-97d0-432b-ac59-ebf7244bd472?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -85,7 +85,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/31f584b6-97d0-432b-ac59-ebf7244bd472?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/31f584b6-97d0-432b-ac59-ebf7244bd472?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (14.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c378a2b8-a7e3-4c32-b761-887901c5cf11" @@ -112,7 +112,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg717304a0/providers/Microsoft.Storage/storageAccounts/5d0e3c238fb54536b430?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg717304a0/providers/Microsoft.Storage/storageAccounts/5d0e3c238fb54536b430?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage.fluent/2.0.0-beta.5 (14.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "87afc63c-8b54-48f5-ac9c-8d97c951681d", @@ -200,7 +200,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg717304a0/providers/Microsoft.Storage/storageAccounts/5d0e3c238fb54536b430/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg717304a0/providers/Microsoft.Storage/storageAccounts/5d0e3c238fb54536b430/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage.fluent/2.0.0-beta.5 (14.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "28f1015f-1e6b-4fae-9d66-531218252b70", diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/WebAppsTests.canListWebAppAndFunctionApp.json b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/WebAppsTests.canListWebAppAndFunctionApp.json index 516bec9440236..2aee93a67c0ee 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/WebAppsTests.canListWebAppAndFunctionApp.json +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/WebAppsTests.canListWebAppAndFunctionApp.json @@ -115,7 +115,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg12255966/providers/Microsoft.Storage/storageAccounts/3f3365e6d2de4fb29d77?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg12255966/providers/Microsoft.Storage/storageAccounts/3f3365e6d2de4fb29d77?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d5842f85-d2a0-4f07-ae4b-e725bdbe7e74", @@ -139,12 +139,12 @@ "Body" : "", "x-ms-client-request-id" : "d5842f85-d2a0-4f07-ae4b-e725bdbe7e74", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/907f9ed3-3242-40ca-8c27-29e9ba598b0c?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/907f9ed3-3242-40ca-8c27-29e9ba598b0c?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/907f9ed3-3242-40ca-8c27-29e9ba598b0c?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/907f9ed3-3242-40ca-8c27-29e9ba598b0c?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "fa37be42-ef41-450c-99c9-a39ad2f44d32" @@ -171,7 +171,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg12255966/providers/Microsoft.Storage/storageAccounts/3f3365e6d2de4fb29d77?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg12255966/providers/Microsoft.Storage/storageAccounts/3f3365e6d2de4fb29d77?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "fbd3fbf2-9d26-43ce-8072-1637af82f386", @@ -259,7 +259,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg12255966/providers/Microsoft.Storage/storageAccounts/3f3365e6d2de4fb29d77/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg12255966/providers/Microsoft.Storage/storageAccounts/3f3365e6d2de4fb29d77/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "092bc550-fb06-48ad-b5b5-464620e40c21", diff --git a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/ZipDeployTests.canZipDeployFunction.json b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/ZipDeployTests.canZipDeployFunction.json index fca3eb12c0886..3354a1f47864d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/ZipDeployTests.canZipDeployFunction.json +++ b/sdk/resourcemanager/azure-resourcemanager-appservice/src/test/resources/session-records/ZipDeployTests.canZipDeployFunction.json @@ -26,7 +26,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg043322922/providers/Microsoft.Storage/storageAccounts/a069fd2d04734282aa0d?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg043322922/providers/Microsoft.Storage/storageAccounts/a069fd2d04734282aa0d?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)", "Content-Type" : "application/json" @@ -46,7 +46,7 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200302T053043Z:e27fac67-4295-4e1f-a441-e68bad10b0d2", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/1361589e-4e7b-4843-830c-35c5b77f7cb4?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/1361589e-4e7b-4843-830c-35c5b77f7cb4?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "1361589e-4e7b-4843-830c-35c5b77f7cb4", "Body" : "" @@ -81,7 +81,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/1361589e-4e7b-4843-830c-35c5b77f7cb4?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/1361589e-4e7b-4843-830c-35c5b77f7cb4?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -106,7 +106,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg043322922/providers/Microsoft.Storage/storageAccounts/a069fd2d04734282aa0d?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg043322922/providers/Microsoft.Storage/storageAccounts/a069fd2d04734282aa0d?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -216,7 +216,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg043322922/providers/Microsoft.Storage/storageAccounts/a069fd2d04734282aa0d/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg043322922/providers/Microsoft.Storage/storageAccounts/a069fd2d04734282aa0d/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.bootDiagnosticsShouldUseUnManagedDisksExplicitStorage.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.bootDiagnosticsShouldUseUnManagedDisksExplicitStorage.json index 956eba3be5ef4..3fa90f3d63112 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.bootDiagnosticsShouldUseUnManagedDisksExplicitStorage.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.bootDiagnosticsShouldUseUnManagedDisksExplicitStorage.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg84930/providers/Microsoft.Storage/storageAccounts/st84318e86?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg84930/providers/Microsoft.Storage/storageAccounts/st84318e86?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "62fc376c-d277-417a-a7ef-cc9ef29aedef", @@ -51,12 +51,12 @@ "Body" : "", "x-ms-client-request-id" : "62fc376c-d277-417a-a7ef-cc9ef29aedef", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5a33f2b4-dc98-4fe6-909a-05950574e970?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5a33f2b4-dc98-4fe6-909a-05950574e970?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5a33f2b4-dc98-4fe6-909a-05950574e970?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5a33f2b4-dc98-4fe6-909a-05950574e970?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "b786e670-63f1-4770-bb47-3170c090ddc5" @@ -83,7 +83,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg84930/providers/Microsoft.Storage/storageAccounts/st84318e86?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg84930/providers/Microsoft.Storage/storageAccounts/st84318e86?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "0627787f-820d-4219-8842-019ebcfa905a", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.bootDiagnosticsShouldUsesOSUnManagedDiskImplicitStorage.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.bootDiagnosticsShouldUsesOSUnManagedDiskImplicitStorage.json index db664c52049c8..4a71b22a2a989 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.bootDiagnosticsShouldUsesOSUnManagedDiskImplicitStorage.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.bootDiagnosticsShouldUsesOSUnManagedDiskImplicitStorage.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41391/providers/Microsoft.Storage/storageAccounts/stg53100082807b6?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41391/providers/Microsoft.Storage/storageAccounts/stg53100082807b6?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "2a602a1e-84c5-45f7-80cb-acae74318331", @@ -51,7 +51,7 @@ "Body" : "", "x-ms-client-request-id" : "2a602a1e-84c5-45f7-80cb-acae74318331", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/122ea50a-5b0b-4025-b308-8de977d20c73?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/122ea50a-5b0b-4025-b308-8de977d20c73?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -172,7 +172,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/122ea50a-5b0b-4025-b308-8de977d20c73?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/122ea50a-5b0b-4025-b308-8de977d20c73?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "f513bb38-a628-47ce-b97b-cb3dcc6f401f" @@ -199,7 +199,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41391/providers/Microsoft.Storage/storageAccounts/stg53100082807b6?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg41391/providers/Microsoft.Storage/storageAccounts/stg53100082807b6?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "ccb80680-e305-4439-9863-3fedcae4053b", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canDisableBootDiagnostics.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canDisableBootDiagnostics.json index cba5942d84989..1b3fe7161f93d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canDisableBootDiagnostics.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canDisableBootDiagnostics.json @@ -58,7 +58,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg63902/providers/Microsoft.Storage/storageAccounts/stg96017545ac691?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg63902/providers/Microsoft.Storage/storageAccounts/stg96017545ac691?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "4ede450f-5e5b-4101-ade0-bd621523132c", @@ -82,7 +82,7 @@ "Body" : "", "x-ms-client-request-id" : "4ede450f-5e5b-4101-ade0-bd621523132c", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/d4f25bd5-0793-44fa-b60d-bd6b4c947c6d?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/d4f25bd5-0793-44fa-b60d-bd6b4c947c6d?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -175,7 +175,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/d4f25bd5-0793-44fa-b60d-bd6b4c947c6d?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/d4f25bd5-0793-44fa-b60d-bd6b4c947c6d?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "feeece73-d2cc-429a-af4f-ac5d8d49f63d" @@ -198,12 +198,12 @@ "Body" : "", "x-ms-client-request-id" : "feeece73-d2cc-429a-af4f-ac5d8d49f63d", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/d4f25bd5-0793-44fa-b60d-bd6b4c947c6d?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/d4f25bd5-0793-44fa-b60d-bd6b4c947c6d?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/d4f25bd5-0793-44fa-b60d-bd6b4c947c6d?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/d4f25bd5-0793-44fa-b60d-bd6b4c947c6d?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "5f95720a-7546-41de-85c1-3cdb5773e3d8" @@ -230,7 +230,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg63902/providers/Microsoft.Storage/storageAccounts/stg96017545ac691?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg63902/providers/Microsoft.Storage/storageAccounts/stg96017545ac691?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "36ad6f41-77a3-4101-b2a3-a85bb7256cda", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnManagedVMCreation.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnManagedVMCreation.json index fe3fca4a3fe55..b5b37a527744b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnManagedVMCreation.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnManagedVMCreation.json @@ -84,7 +84,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg33798/providers/Microsoft.Storage/storageAccounts/st90776afb?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg33798/providers/Microsoft.Storage/storageAccounts/st90776afb?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "83d4d2f5-accd-4326-ad72-b28ca7ff9fa3", @@ -108,7 +108,7 @@ "Body" : "", "x-ms-client-request-id" : "83d4d2f5-accd-4326-ad72-b28ca7ff9fa3", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/6c489cbd-33c1-46d4-a2c3-e9d91a9339ed?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/6c489cbd-33c1-46d4-a2c3-e9d91a9339ed?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -213,7 +213,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/6c489cbd-33c1-46d4-a2c3-e9d91a9339ed?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/6c489cbd-33c1-46d4-a2c3-e9d91a9339ed?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "7d4c6084-526a-490c-8b78-91f7c50e2dd7" @@ -240,7 +240,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg33798/providers/Microsoft.Storage/storageAccounts/st90776afb?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg33798/providers/Microsoft.Storage/storageAccounts/st90776afb?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "d54096ee-3cec-4c0f-b880-9cdaacb210bd", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnUnManagedVMCreation.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnUnManagedVMCreation.json index c8f908b811174..3b2d436b5b20b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnUnManagedVMCreation.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnUnManagedVMCreation.json @@ -84,7 +84,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg15966/providers/Microsoft.Storage/storageAccounts/st06309dc1?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg15966/providers/Microsoft.Storage/storageAccounts/st06309dc1?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "0bcd87a6-a862-41a0-a545-e717ecb15c20", @@ -108,12 +108,12 @@ "Body" : "", "x-ms-client-request-id" : "0bcd87a6-a862-41a0-a545-e717ecb15c20", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/dff923ef-914c-4600-bcfa-16b42d68f9bf?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/dff923ef-914c-4600-bcfa-16b42d68f9bf?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg15966/providers/Microsoft.Storage/storageAccounts/stg011082a84f335?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg15966/providers/Microsoft.Storage/storageAccounts/stg011082a84f335?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "57198335-af64-498b-92f9-f6de737be876", @@ -137,7 +137,7 @@ "Body" : "", "x-ms-client-request-id" : "57198335-af64-498b-92f9-f6de737be876", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/3976b8b1-07c4-4500-9ba5-c699e0e53a08?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/3976b8b1-07c4-4500-9ba5-c699e0e53a08?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -230,7 +230,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/dff923ef-914c-4600-bcfa-16b42d68f9bf?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/dff923ef-914c-4600-bcfa-16b42d68f9bf?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "9ce44ed2-c869-4de1-8fac-07b3faaab61a" @@ -257,7 +257,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/3976b8b1-07c4-4500-9ba5-c699e0e53a08?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/3976b8b1-07c4-4500-9ba5-c699e0e53a08?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "0a2f7a5c-47e9-4236-9329-458bc8814cd4" @@ -284,7 +284,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg15966/providers/Microsoft.Storage/storageAccounts/st06309dc1?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg15966/providers/Microsoft.Storage/storageAccounts/st06309dc1?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "10f9576d-aae6-4943-8bc0-f0c4744d28a6", @@ -312,7 +312,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg15966/providers/Microsoft.Storage/storageAccounts/stg011082a84f335?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg15966/providers/Microsoft.Storage/storageAccounts/stg011082a84f335?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "7fe0ab16-4b63-4e45-89a4-4dcd09e15066", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithExplicitStorageOnManagedVMCreation.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithExplicitStorageOnManagedVMCreation.json index 30daadf6d17d5..24c3ac2f4042e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithExplicitStorageOnManagedVMCreation.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithExplicitStorageOnManagedVMCreation.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg34574/providers/Microsoft.Storage/storageAccounts/st190697cb?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg34574/providers/Microsoft.Storage/storageAccounts/st190697cb?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "2648ef10-ae6a-471e-8cf4-5daa19af3d10", @@ -51,12 +51,12 @@ "Body" : "", "x-ms-client-request-id" : "2648ef10-ae6a-471e-8cf4-5daa19af3d10", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2d10ddf7-3bad-41b7-9138-578d774992ad?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2d10ddf7-3bad-41b7-9138-578d774992ad?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2d10ddf7-3bad-41b7-9138-578d774992ad?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2d10ddf7-3bad-41b7-9138-578d774992ad?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "c71978b8-ce32-4607-91a9-260b3994c62b" @@ -83,7 +83,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg34574/providers/Microsoft.Storage/storageAccounts/st190697cb?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg34574/providers/Microsoft.Storage/storageAccounts/st190697cb?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "b401c27b-c4b5-43a6-bbf0-86174177ff6a", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithImplicitStorageOnManagedVMCreation.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithImplicitStorageOnManagedVMCreation.json index a36d0ffb78f4c..3f0403f9da7c3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithImplicitStorageOnManagedVMCreation.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithImplicitStorageOnManagedVMCreation.json @@ -58,7 +58,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg92713/providers/Microsoft.Storage/storageAccounts/stg96476e152143f?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg92713/providers/Microsoft.Storage/storageAccounts/stg96476e152143f?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "e5ccff32-8af3-4443-9189-2a27d6e9c811", @@ -82,7 +82,7 @@ "Body" : "", "x-ms-client-request-id" : "e5ccff32-8af3-4443-9189-2a27d6e9c811", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/78f20c81-6575-4ee0-97f6-bf1dafa0d1ff?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/78f20c81-6575-4ee0-97f6-bf1dafa0d1ff?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -175,7 +175,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/78f20c81-6575-4ee0-97f6-bf1dafa0d1ff?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/78f20c81-6575-4ee0-97f6-bf1dafa0d1ff?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "5affa63e-35cc-4c23-ab68-54119ecd87ef" @@ -202,7 +202,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg92713/providers/Microsoft.Storage/storageAccounts/stg96476e152143f?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg92713/providers/Microsoft.Storage/storageAccounts/stg96476e152143f?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "8969a705-c001-4ba7-b914-58eb8f952658", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithImplicitStorageOnUnManagedVMCreation.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithImplicitStorageOnUnManagedVMCreation.json index 4ad2b576c30f0..430195fc24c36 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithImplicitStorageOnUnManagedVMCreation.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineBootDiagnosticsTests.canEnableBootDiagnosticsWithImplicitStorageOnUnManagedVMCreation.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg10841/providers/Microsoft.Storage/storageAccounts/stg718929d1639de?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg10841/providers/Microsoft.Storage/storageAccounts/stg718929d1639de?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "f4bf0734-c0fb-4be3-bab5-c27f94a8cc3a", @@ -51,7 +51,7 @@ "Body" : "", "x-ms-client-request-id" : "f4bf0734-c0fb-4be3-bab5-c27f94a8cc3a", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2caefadb-2ed7-4aa1-8ce0-c6b36e210b2f?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2caefadb-2ed7-4aa1-8ce0-c6b36e210b2f?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -175,7 +175,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2caefadb-2ed7-4aa1-8ce0-c6b36e210b2f?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2caefadb-2ed7-4aa1-8ce0-c6b36e210b2f?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "456174f1-0dd2-4a09-af2a-16dfd7b71465" @@ -202,7 +202,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg10841/providers/Microsoft.Storage/storageAccounts/stg718929d1639de?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg10841/providers/Microsoft.Storage/storageAccounts/stg718929d1639de?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "589fbabd-e048-42f6-8ee8-faa0d40e6466", @@ -567,7 +567,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg10841/providers/Microsoft.Storage/storageAccounts/stg264972eb3139e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg10841/providers/Microsoft.Storage/storageAccounts/stg264972eb3139e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "0d49cbaf-0fed-464b-82d4-aa313ad44546", @@ -591,7 +591,7 @@ "Body" : "", "x-ms-client-request-id" : "0d49cbaf-0fed-464b-82d4-aa313ad44546", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/461e979d-15a5-4919-9b10-ba232a4f47c0?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/461e979d-15a5-4919-9b10-ba232a4f47c0?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -715,7 +715,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/461e979d-15a5-4919-9b10-ba232a4f47c0?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/461e979d-15a5-4919-9b10-ba232a4f47c0?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "ea6a4a1a-e7ab-4aab-87b4-7530d5d89172" @@ -738,12 +738,12 @@ "Body" : "", "x-ms-client-request-id" : "ea6a4a1a-e7ab-4aab-87b4-7530d5d89172", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/461e979d-15a5-4919-9b10-ba232a4f47c0?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/461e979d-15a5-4919-9b10-ba232a4f47c0?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/461e979d-15a5-4919-9b10-ba232a4f47c0?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/461e979d-15a5-4919-9b10-ba232a4f47c0?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "9f798537-e506-4250-bdb9-e3c832aa9dd6" @@ -770,7 +770,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg10841/providers/Microsoft.Storage/storageAccounts/stg264972eb3139e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg10841/providers/Microsoft.Storage/storageAccounts/stg264972eb3139e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "ecc04b67-ade9-494c-9ccd-7c73c6512970", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineCustomImageOperationsTest.canCreateImageByCapturingVM.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineCustomImageOperationsTest.canCreateImageByCapturingVM.json index 177e2d83dce82..21c67dc966273 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineCustomImageOperationsTest.canCreateImageByCapturingVM.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineCustomImageOperationsTest.canCreateImageByCapturingVM.json @@ -146,7 +146,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg82844/providers/Microsoft.Storage/storageAccounts/stg098040c7a?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg82844/providers/Microsoft.Storage/storageAccounts/stg098040c7a?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "18fb0246-2c7a-4a32-9d2f-726cc79706f2", @@ -170,7 +170,7 @@ "Body" : "", "x-ms-client-request-id" : "18fb0246-2c7a-4a32-9d2f-726cc79706f2", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/9572e2d3-d7f4-43d6-b9c6-bddc7ba0168c?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/9572e2d3-d7f4-43d6-b9c6-bddc7ba0168c?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -263,7 +263,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/9572e2d3-d7f4-43d6-b9c6-bddc7ba0168c?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/9572e2d3-d7f4-43d6-b9c6-bddc7ba0168c?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "f454305e-f9c9-4789-8dc2-8d0d8afceb66" @@ -286,12 +286,12 @@ "Body" : "", "x-ms-client-request-id" : "f454305e-f9c9-4789-8dc2-8d0d8afceb66", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/9572e2d3-d7f4-43d6-b9c6-bddc7ba0168c?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/9572e2d3-d7f4-43d6-b9c6-bddc7ba0168c?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/9572e2d3-d7f4-43d6-b9c6-bddc7ba0168c?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/9572e2d3-d7f4-43d6-b9c6-bddc7ba0168c?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "f3686680-d457-44ca-91a0-c7a96e283ada" @@ -318,7 +318,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg82844/providers/Microsoft.Storage/storageAccounts/stg098040c7a?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg82844/providers/Microsoft.Storage/storageAccounts/stg098040c7a?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "40759f08-43ef-49d6-bdb7-389d0cf287bb", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineCustomImageOperationsTest.canCreateImageFromManagedDisk.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineCustomImageOperationsTest.canCreateImageFromManagedDisk.json index 86351d03ffc3d..0b52895539b64 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineCustomImageOperationsTest.canCreateImageFromManagedDisk.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineCustomImageOperationsTest.canCreateImageFromManagedDisk.json @@ -115,7 +115,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg25609/providers/Microsoft.Storage/storageAccounts/stg53442593f?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg25609/providers/Microsoft.Storage/storageAccounts/stg53442593f?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "cfa4b8e8-28a5-4420-85de-e6143fde859a", @@ -139,7 +139,7 @@ "Body" : "", "x-ms-client-request-id" : "cfa4b8e8-28a5-4420-85de-e6143fde859a", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a668c86c-e04e-41b8-93f5-2aa5c977e242?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a668c86c-e04e-41b8-93f5-2aa5c977e242?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -175,7 +175,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a668c86c-e04e-41b8-93f5-2aa5c977e242?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a668c86c-e04e-41b8-93f5-2aa5c977e242?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "f144a331-0485-4dc1-a599-8c188ba67f57" @@ -202,7 +202,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg25609/providers/Microsoft.Storage/storageAccounts/stg53442593f?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg25609/providers/Microsoft.Storage/storageAccounts/stg53442593f?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "68aa05a5-df88-4c15-b753-e4de6d6eec5d", @@ -573,7 +573,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg25609/providers/Microsoft.Storage/storageAccounts/stg53442593f?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg25609/providers/Microsoft.Storage/storageAccounts/stg53442593f?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "28f06289-fe3d-4118-ad8a-d1badb66f771", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineCustomImageOperationsTest.canCreateImageFromNativeVhd.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineCustomImageOperationsTest.canCreateImageFromNativeVhd.json index 7d1f82dac2775..efbf4b4dba36d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineCustomImageOperationsTest.canCreateImageFromNativeVhd.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineCustomImageOperationsTest.canCreateImageFromNativeVhd.json @@ -89,7 +89,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24454/providers/Microsoft.Storage/storageAccounts/stg407244a2a?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24454/providers/Microsoft.Storage/storageAccounts/stg407244a2a?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "5034a9c6-6a88-4512-8b8e-eda1303cbd52", @@ -113,7 +113,7 @@ "Body" : "", "x-ms-client-request-id" : "5034a9c6-6a88-4512-8b8e-eda1303cbd52", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2eb5709e-351c-4356-9c21-f521ccc7b1ba?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2eb5709e-351c-4356-9c21-f521ccc7b1ba?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -263,7 +263,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2eb5709e-351c-4356-9c21-f521ccc7b1ba?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2eb5709e-351c-4356-9c21-f521ccc7b1ba?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "65da66f0-7c1e-4112-badf-1942d10c1d71" @@ -290,7 +290,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24454/providers/Microsoft.Storage/storageAccounts/stg407244a2a?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24454/providers/Microsoft.Storage/storageAccounts/stg407244a2a?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "3925396a-ca78-4ea0-90c2-46b48b2e9ed3", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineExtensionOperationsTests.canEnableDiagnosticsExtension.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineExtensionOperationsTests.canEnableDiagnosticsExtension.json index e4136c1f7eabe..cff6a5b516426 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineExtensionOperationsTests.canEnableDiagnosticsExtension.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineExtensionOperationsTests.canEnableDiagnosticsExtension.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vmexttest84670/providers/Microsoft.Storage/storageAccounts/stg985434cd?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vmexttest84670/providers/Microsoft.Storage/storageAccounts/stg985434cd?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "e54473f1-cd37-4e00-98c2-0438134df426", @@ -51,12 +51,12 @@ "Body" : "", "x-ms-client-request-id" : "e54473f1-cd37-4e00-98c2-0438134df426", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/23db4e01-642b-4864-aa21-a2a20858bfe2?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/23db4e01-642b-4864-aa21-a2a20858bfe2?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/23db4e01-642b-4864-aa21-a2a20858bfe2?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/23db4e01-642b-4864-aa21-a2a20858bfe2?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "ba6085e4-5122-42cd-8779-03e073c075ce" @@ -83,7 +83,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vmexttest84670/providers/Microsoft.Storage/storageAccounts/stg985434cd?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vmexttest84670/providers/Microsoft.Storage/storageAccounts/stg985434cd?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "b1097471-2ed9-4648-996a-65948dc78f31", @@ -345,7 +345,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vmexttest84670/providers/Microsoft.Storage/storageAccounts/stg985434cd/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vmexttest84670/providers/Microsoft.Storage/storageAccounts/stg985434cd/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "f13a65d5-5284-423e-8e9b-558842550441", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineManagedDiskOperationsTests.canCreateVirtualMachineByAttachingManagedOsDisk.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineManagedDiskOperationsTests.canCreateVirtualMachineByAttachingManagedOsDisk.json index 3d2396c53ddf1..4754c682a707d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineManagedDiskOperationsTests.canCreateVirtualMachineByAttachingManagedOsDisk.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineManagedDiskOperationsTests.canCreateVirtualMachineByAttachingManagedOsDisk.json @@ -115,7 +115,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24037/providers/Microsoft.Storage/storageAccounts/stg169418019?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24037/providers/Microsoft.Storage/storageAccounts/stg169418019?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "24a1d1ef-cbcc-4907-b854-4d3e858f205a", @@ -139,7 +139,7 @@ "Body" : "", "x-ms-client-request-id" : "24a1d1ef-cbcc-4907-b854-4d3e858f205a", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/26c09173-0400-411d-970a-80b1c8472c1f?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/26c09173-0400-411d-970a-80b1c8472c1f?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -175,7 +175,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/26c09173-0400-411d-970a-80b1c8472c1f?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/26c09173-0400-411d-970a-80b1c8472c1f?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "29c273dd-5e67-4f31-943e-e6a745c77490" @@ -202,7 +202,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24037/providers/Microsoft.Storage/storageAccounts/stg169418019?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24037/providers/Microsoft.Storage/storageAccounts/stg169418019?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "940b4005-2ac2-484e-8dff-33b0f5d083c4", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineManagedServiceIdentityOperationsTests.canSetMSIOnNewVMWithMultipleRoleAssignments.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineManagedServiceIdentityOperationsTests.canSetMSIOnNewVMWithMultipleRoleAssignments.json index 57bd6a73a34de..bbaa43d34c518 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineManagedServiceIdentityOperationsTests.canSetMSIOnNewVMWithMultipleRoleAssignments.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineManagedServiceIdentityOperationsTests.canSetMSIOnNewVMWithMultipleRoleAssignments.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69172/providers/Microsoft.Storage/storageAccounts/javacsrg59514e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69172/providers/Microsoft.Storage/storageAccounts/javacsrg59514e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "de4b0278-12a6-4c1f-9a25-1051772d27ea", @@ -51,12 +51,12 @@ "Body" : "", "x-ms-client-request-id" : "de4b0278-12a6-4c1f-9a25-1051772d27ea", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/4e54d468-144d-400f-a904-282d12a1ea28?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/4e54d468-144d-400f-a904-282d12a1ea28?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/4e54d468-144d-400f-a904-282d12a1ea28?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/4e54d468-144d-400f-a904-282d12a1ea28?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "c82183c9-653d-4b25-aa76-88a541ec6844" @@ -83,7 +83,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69172/providers/Microsoft.Storage/storageAccounts/javacsrg59514e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69172/providers/Microsoft.Storage/storageAccounts/javacsrg59514e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "9ecebcdd-cf81-4bfb-9925-f6ded8d1c123", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateUpdatePriorityAndPrice.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateUpdatePriorityAndPrice.json index 03db0d43ffbb2..41b2984f9db16 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateUpdatePriorityAndPrice.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateUpdatePriorityAndPrice.json @@ -58,7 +58,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47950/providers/Microsoft.Storage/storageAccounts/stg550334799c12c?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47950/providers/Microsoft.Storage/storageAccounts/stg550334799c12c?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "b675060d-5689-4da9-b536-cad7daf48d99", @@ -82,7 +82,7 @@ "Body" : "", "x-ms-client-request-id" : "b675060d-5689-4da9-b536-cad7daf48d99", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/90cb59fc-6254-4678-891d-1b26d40b9bec?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/90cb59fc-6254-4678-891d-1b26d40b9bec?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -175,7 +175,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/90cb59fc-6254-4678-891d-1b26d40b9bec?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/90cb59fc-6254-4678-891d-1b26d40b9bec?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "0ff92d64-ad13-45f4-a1a1-585fb831eca8" @@ -202,7 +202,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47950/providers/Microsoft.Storage/storageAccounts/stg550334799c12c?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47950/providers/Microsoft.Storage/storageAccounts/stg550334799c12c?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "2d949be6-1549-4366-b721-c277bdfc9681", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachine.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachine.json index b294258d640b0..4cd9413e2c971 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachine.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachine.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg72857/providers/Microsoft.Storage/storageAccounts/stg134938d6dc155?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg72857/providers/Microsoft.Storage/storageAccounts/stg134938d6dc155?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "13540ee6-58e4-4f66-bf2f-c804893d80b7", @@ -51,7 +51,7 @@ "Body" : "", "x-ms-client-request-id" : "13540ee6-58e4-4f66-bf2f-c804893d80b7", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/06abbcbc-51da-4194-abe1-bf765ce72819?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/06abbcbc-51da-4194-abe1-bf765ce72819?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -175,7 +175,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/06abbcbc-51da-4194-abe1-bf765ce72819?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/06abbcbc-51da-4194-abe1-bf765ce72819?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "a01ad974-46fc-4ffc-adde-8a4d228131c5" @@ -202,7 +202,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg72857/providers/Microsoft.Storage/storageAccounts/stg134938d6dc155?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg72857/providers/Microsoft.Storage/storageAccounts/stg134938d6dc155?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "16d3fe51-3fb7-4d13-b16c-2bd79735fa71", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachineSyncPoll.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachineSyncPoll.json index 3e9b8b93e6d45..3cfec9a3b26c0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachineSyncPoll.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachineSyncPoll.json @@ -58,7 +58,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg25981/providers/Microsoft.Storage/storageAccounts/stg210640cabd37c?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg25981/providers/Microsoft.Storage/storageAccounts/stg210640cabd37c?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "a950c8aa-fa85-4b10-8751-7eb565a1c052", @@ -82,7 +82,7 @@ "Body" : "", "x-ms-client-request-id" : "a950c8aa-fa85-4b10-8751-7eb565a1c052", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/30f835db-70f8-4dfb-a440-1b6c091cf712?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/30f835db-70f8-4dfb-a440-1b6c091cf712?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -175,7 +175,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/30f835db-70f8-4dfb-a440-1b6c091cf712?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/30f835db-70f8-4dfb-a440-1b6c091cf712?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "3dc41393-307a-4d69-a468-cca696a3bb0f" @@ -202,7 +202,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg25981/providers/Microsoft.Storage/storageAccounts/stg210640cabd37c?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg25981/providers/Microsoft.Storage/storageAccounts/stg210640cabd37c?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "0fbf1b79-14d8-44a8-85dd-f75314912c98", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachinesAndAvailabilitySetInSameProximityPlacementGroup.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachinesAndAvailabilitySetInSameProximityPlacementGroup.json index 62dccce7b5300..09dd4caedc7b8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachinesAndAvailabilitySetInSameProximityPlacementGroup.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachinesAndAvailabilitySetInSameProximityPlacementGroup.json @@ -319,7 +319,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47972/providers/Microsoft.Storage/storageAccounts/stg75346db8e047d?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47972/providers/Microsoft.Storage/storageAccounts/stg75346db8e047d?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "1438e83b-8d4e-451f-a52e-acbdb45250b8", @@ -343,7 +343,7 @@ "Body" : "", "x-ms-client-request-id" : "1438e83b-8d4e-451f-a52e-acbdb45250b8", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/354c1a94-50d3-40eb-bc86-ee60c29430c0?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/354c1a94-50d3-40eb-bc86-ee60c29430c0?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -436,7 +436,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/354c1a94-50d3-40eb-bc86-ee60c29430c0?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/354c1a94-50d3-40eb-bc86-ee60c29430c0?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "a3e2c61f-0865-404f-8bc3-19b0252ba839" @@ -463,7 +463,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47972/providers/Microsoft.Storage/storageAccounts/stg75346db8e047d?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47972/providers/Microsoft.Storage/storageAccounts/stg75346db8e047d?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "984e377b-7930-4fc3-b761-9ac090e82d06", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachinesAndRelatedResourcesInParallel.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachinesAndRelatedResourcesInParallel.json index f587152eee3fe..812d82b107739 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachinesAndRelatedResourcesInParallel.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canCreateVirtualMachinesAndRelatedResourcesInParallel.json @@ -300,7 +300,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg33633/providers/Microsoft.Storage/storageAccounts/stg22580c1f4fb?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg33633/providers/Microsoft.Storage/storageAccounts/stg22580c1f4fb?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "0a2fcaf3-facd-4d26-a50e-d4619b2d25fc", @@ -324,7 +324,7 @@ "Body" : "", "x-ms-client-request-id" : "0a2fcaf3-facd-4d26-a50e-d4619b2d25fc", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/8c66f220-f9cb-4aa4-8270-1fab056f902a?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/8c66f220-f9cb-4aa4-8270-1fab056f902a?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -1091,7 +1091,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/8c66f220-f9cb-4aa4-8270-1fab056f902a?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/8c66f220-f9cb-4aa4-8270-1fab056f902a?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "77dd0add-01c0-4898-a23f-0935a4c3c77f" @@ -1118,7 +1118,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg33633/providers/Microsoft.Storage/storageAccounts/stg22580c1f4fb?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg33633/providers/Microsoft.Storage/storageAccounts/stg22580c1f4fb?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "5c2d72c2-48b7-4ec4-9cef-bdf5c561d0a1", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canSetStorageAccountForUnmanagedDisk.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canSetStorageAccountForUnmanagedDisk.json index 8757c58e90fa4..1a366515289fb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canSetStorageAccountForUnmanagedDisk.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canSetStorageAccountForUnmanagedDisk.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg94128/providers/Microsoft.Storage/storageAccounts/st69926dec?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg94128/providers/Microsoft.Storage/storageAccounts/st69926dec?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "3592b6d5-9f40-43a1-88be-ced5b8bb592d", @@ -51,12 +51,12 @@ "Body" : "", "x-ms-client-request-id" : "3592b6d5-9f40-43a1-88be-ced5b8bb592d", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/9a5aad47-89a3-45e7-b75f-ec567f4f1d57?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/9a5aad47-89a3-45e7-b75f-ec567f4f1d57?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/9a5aad47-89a3-45e7-b75f-ec567f4f1d57?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/9a5aad47-89a3-45e7-b75f-ec567f4f1d57?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "f348c38f-8d50-445f-8229-8888d629854b" @@ -83,7 +83,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg94128/providers/Microsoft.Storage/storageAccounts/st69926dec?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg94128/providers/Microsoft.Storage/storageAccounts/st69926dec?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "18fed0b6-b71f-4bf5-b2f6-fb79536b5070", @@ -111,7 +111,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg94128/providers/Microsoft.Storage/storageAccounts/stg90300ad2cd0a0?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg94128/providers/Microsoft.Storage/storageAccounts/stg90300ad2cd0a0?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "6e9b508d-5e3e-48b2-b303-1c4f75323956", @@ -135,7 +135,7 @@ "Body" : "", "x-ms-client-request-id" : "6e9b508d-5e3e-48b2-b303-1c4f75323956", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/8a95216c-091f-4a13-85b1-bc57256a30d8?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/8a95216c-091f-4a13-85b1-bc57256a30d8?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -259,7 +259,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/8a95216c-091f-4a13-85b1-bc57256a30d8?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/8a95216c-091f-4a13-85b1-bc57256a30d8?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "ae45a1b8-a4c7-490f-b164-ac6a2f79ce79" @@ -286,7 +286,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg94128/providers/Microsoft.Storage/storageAccounts/stg90300ad2cd0a0?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg94128/providers/Microsoft.Storage/storageAccounts/stg90300ad2cd0a0?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "23f84648-8d60-45ab-8167-fe5b93a5224c", @@ -572,7 +572,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg94128/providers/Microsoft.Storage/storageAccounts/stg545669d34488d?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg94128/providers/Microsoft.Storage/storageAccounts/stg545669d34488d?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "e7a0c5cc-163e-4433-b431-557642596850", @@ -596,7 +596,7 @@ "Body" : "", "x-ms-client-request-id" : "e7a0c5cc-163e-4433-b431-557642596850", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/1d27af60-3850-4a7a-b929-74cf1d27a67e?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/1d27af60-3850-4a7a-b929-74cf1d27a67e?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -689,7 +689,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/1d27af60-3850-4a7a-b929-74cf1d27a67e?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/1d27af60-3850-4a7a-b929-74cf1d27a67e?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "12104b06-b328-4c23-85f7-8a1de03937cc" @@ -716,7 +716,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg94128/providers/Microsoft.Storage/storageAccounts/stg545669d34488d?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg94128/providers/Microsoft.Storage/storageAccounts/stg545669d34488d?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "30e22a4c-19ac-40ae-a229-1d1ccb862c34", @@ -729,7 +729,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg94128/providers/Microsoft.Storage/storageAccounts/stg545669d34488d?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg94128/providers/Microsoft.Storage/storageAccounts/stg545669d34488d?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "30e22a4c-19ac-40ae-a229-1d1ccb862c34", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canStreamParallelCreatedVirtualMachinesAndRelatedResources.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canStreamParallelCreatedVirtualMachinesAndRelatedResources.json index 67f5408cac941..b7bf47bbfa859 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canStreamParallelCreatedVirtualMachinesAndRelatedResources.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.canStreamParallelCreatedVirtualMachinesAndRelatedResources.json @@ -275,7 +275,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60948/providers/Microsoft.Storage/storageAccounts/stg068553d7e37?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60948/providers/Microsoft.Storage/storageAccounts/stg068553d7e37?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "ad025e31-05d3-4931-a118-2b595468d0c3", @@ -299,7 +299,7 @@ "Body" : "", "x-ms-client-request-id" : "ad025e31-05d3-4931-a118-2b595468d0c3", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/b7c4fcf9-6c9c-49c4-9825-b9f7de51571c?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/b7c4fcf9-6c9c-49c4-9825-b9f7de51571c?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -1091,7 +1091,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/b7c4fcf9-6c9c-49c4-9825-b9f7de51571c?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/b7c4fcf9-6c9c-49c4-9825-b9f7de51571c?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "4cc67959-4280-40f3-8b18-ccdd8721fb43" @@ -1118,7 +1118,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60948/providers/Microsoft.Storage/storageAccounts/stg068553d7e37?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60948/providers/Microsoft.Storage/storageAccounts/stg068553d7e37?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "356eb187-c379-4b52-909c-410decec0a1f", @@ -2161,7 +2161,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60948/providers/Microsoft.Storage/storageAccounts?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60948/providers/Microsoft.Storage/storageAccounts?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "7dfaa5e6-22bf-45bb-8fbd-9f8a9e3e189b", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.cannotUpdateProximityPlacementGroupForVirtualMachine.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.cannotUpdateProximityPlacementGroupForVirtualMachine.json index 5fa4310096dc6..3455f5fa56bad 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.cannotUpdateProximityPlacementGroupForVirtualMachine.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineOperationsTests.cannotUpdateProximityPlacementGroupForVirtualMachine.json @@ -634,7 +634,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14703/providers/Microsoft.Storage/storageAccounts/stg009852d7db100?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14703/providers/Microsoft.Storage/storageAccounts/stg009852d7db100?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "ab9f4ad8-ad99-4427-88d0-f95b92f9bf2d", @@ -658,7 +658,7 @@ "Body" : "", "x-ms-client-request-id" : "ab9f4ad8-ad99-4427-88d0-f95b92f9bf2d", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/35c74a1c-fe5c-42d9-85c8-b0b9a1e5e6af?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/35c74a1c-fe5c-42d9-85c8-b0b9a1e5e6af?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -694,7 +694,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/35c74a1c-fe5c-42d9-85c8-b0b9a1e5e6af?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/35c74a1c-fe5c-42d9-85c8-b0b9a1e5e6af?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "12e698cd-d66e-4cd0-b18b-0c30a4e2732d" @@ -721,7 +721,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14703/providers/Microsoft.Storage/storageAccounts/stg009852d7db100?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14703/providers/Microsoft.Storage/storageAccounts/stg009852d7db100?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "11f58da2-9666-4a49-a95c-07799e9aa492", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.bootDiagnosticsShouldUseVMSSUnManagedDisksExplicitStorage.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.bootDiagnosticsShouldUseVMSSUnManagedDisksExplicitStorage.json index 146870975825b..22369874faaed 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.bootDiagnosticsShouldUseVMSSUnManagedDisksExplicitStorage.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.bootDiagnosticsShouldUseVMSSUnManagedDisksExplicitStorage.json @@ -290,7 +290,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg80506/providers/Microsoft.Storage/storageAccounts/st7609310a?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg80506/providers/Microsoft.Storage/storageAccounts/st7609310a?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "41e4376b-dce9-4b45-bc61-d1400d27dff3", @@ -314,12 +314,12 @@ "Body" : "", "x-ms-client-request-id" : "41e4376b-dce9-4b45-bc61-d1400d27dff3", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/102096fc-e5fe-4a22-8e59-70a3d1894102?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/102096fc-e5fe-4a22-8e59-70a3d1894102?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/102096fc-e5fe-4a22-8e59-70a3d1894102?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/102096fc-e5fe-4a22-8e59-70a3d1894102?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "7f7eef2a-7259-43de-a716-a9c560b94b4e" @@ -346,7 +346,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg80506/providers/Microsoft.Storage/storageAccounts/st7609310a?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg80506/providers/Microsoft.Storage/storageAccounts/st7609310a?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "f6375d4d-02bb-4cbf-8fd1-0305baaf4677", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.bootDiagnosticsShouldUsesVMSSOSUnManagedDiskImplicitStorage.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.bootDiagnosticsShouldUsesVMSSOSUnManagedDiskImplicitStorage.json index 0f512ed04d143..65fe3ecfd4450 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.bootDiagnosticsShouldUsesVMSSOSUnManagedDiskImplicitStorage.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.bootDiagnosticsShouldUsesVMSSOSUnManagedDiskImplicitStorage.json @@ -264,7 +264,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14531/providers/Microsoft.Storage/storageAccounts/stg6542416ae1e12?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14531/providers/Microsoft.Storage/storageAccounts/stg6542416ae1e12?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "4b95bae9-a0d0-44bf-bda4-aac36d981621", @@ -288,12 +288,12 @@ "Body" : "", "x-ms-client-request-id" : "4b95bae9-a0d0-44bf-bda4-aac36d981621", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/b24972cb-b18c-4e18-8c7b-fe3969b893d2?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/b24972cb-b18c-4e18-8c7b-fe3969b893d2?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/b24972cb-b18c-4e18-8c7b-fe3969b893d2?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/b24972cb-b18c-4e18-8c7b-fe3969b893d2?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "90e30344-a206-4bbf-a6cc-fbe59a110a07" @@ -320,7 +320,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14531/providers/Microsoft.Storage/storageAccounts/stg6542416ae1e12?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14531/providers/Microsoft.Storage/storageAccounts/stg6542416ae1e12?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "eabab6d9-4732-4953-a72b-c35e00e54e8b", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canDisableVMSSBootDiagnostics.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canDisableVMSSBootDiagnostics.json index 4f70cbb24d2b7..3ec364ba14cdb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canDisableVMSSBootDiagnostics.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canDisableVMSSBootDiagnostics.json @@ -264,7 +264,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16845/providers/Microsoft.Storage/storageAccounts/stg73370abf1c878?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16845/providers/Microsoft.Storage/storageAccounts/stg73370abf1c878?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "725c313e-1942-471d-a82e-0f82b4ad9d41", @@ -288,12 +288,12 @@ "Body" : "", "x-ms-client-request-id" : "725c313e-1942-471d-a82e-0f82b4ad9d41", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/401a7271-8b0f-499d-8c0d-d5e071f69868?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/401a7271-8b0f-499d-8c0d-d5e071f69868?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/401a7271-8b0f-499d-8c0d-d5e071f69868?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/401a7271-8b0f-499d-8c0d-d5e071f69868?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "4f5134a5-353f-4bb7-b29f-fbbc63ead294" @@ -320,7 +320,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16845/providers/Microsoft.Storage/storageAccounts/stg73370abf1c878?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16845/providers/Microsoft.Storage/storageAccounts/stg73370abf1c878?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "329cc3d3-838a-4e7c-a4c3-4567b7a43978", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnManagedVMSSCreation.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnManagedVMSSCreation.json index 91bc5ab167919..b563f19dc6511 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnManagedVMSSCreation.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnManagedVMSSCreation.json @@ -264,7 +264,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg03101/providers/Microsoft.Storage/storageAccounts/st162359ca?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg03101/providers/Microsoft.Storage/storageAccounts/st162359ca?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "1850cc78-ed7c-4fba-b431-3eaee46cae63", @@ -288,12 +288,12 @@ "Body" : "", "x-ms-client-request-id" : "1850cc78-ed7c-4fba-b431-3eaee46cae63", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/0fc44348-347e-4982-98ce-320a2815fc0b?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/0fc44348-347e-4982-98ce-320a2815fc0b?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/0fc44348-347e-4982-98ce-320a2815fc0b?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/0fc44348-347e-4982-98ce-320a2815fc0b?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "2804d78c-01c5-4379-bbd3-80854abc174e" @@ -320,7 +320,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg03101/providers/Microsoft.Storage/storageAccounts/st162359ca?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg03101/providers/Microsoft.Storage/storageAccounts/st162359ca?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "feac3c2d-9e15-4cab-8dab-fc4902a23d3b", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnUnManagedVMSSCreation.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnUnManagedVMSSCreation.json index a58035a3fab29..d5bc0d3081687 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnUnManagedVMSSCreation.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithCreatableStorageOnUnManagedVMSSCreation.json @@ -264,7 +264,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00667/providers/Microsoft.Storage/storageAccounts/st75425a57?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00667/providers/Microsoft.Storage/storageAccounts/st75425a57?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "f5d26ceb-1b87-4b6f-a1b6-5c6399aac3fd", @@ -288,12 +288,12 @@ "Body" : "", "x-ms-client-request-id" : "f5d26ceb-1b87-4b6f-a1b6-5c6399aac3fd", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/17c43653-06d5-4135-8ac0-52d17173e66c?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/17c43653-06d5-4135-8ac0-52d17173e66c?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00667/providers/Microsoft.Storage/storageAccounts/stg40212d1c3b3df?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00667/providers/Microsoft.Storage/storageAccounts/stg40212d1c3b3df?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "2d033e60-f97e-4450-8981-9053f3c4ea26", @@ -317,12 +317,12 @@ "Body" : "", "x-ms-client-request-id" : "2d033e60-f97e-4450-8981-9053f3c4ea26", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f8aad880-bdbf-428b-bff6-27602045834b?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f8aad880-bdbf-428b-bff6-27602045834b?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/17c43653-06d5-4135-8ac0-52d17173e66c?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/17c43653-06d5-4135-8ac0-52d17173e66c?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "2a897901-2e98-4437-a1f1-63650ee87e59" @@ -349,7 +349,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f8aad880-bdbf-428b-bff6-27602045834b?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f8aad880-bdbf-428b-bff6-27602045834b?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "5b1bcc97-26c9-4f89-bad7-a77141e805d2" @@ -372,12 +372,12 @@ "Body" : "", "x-ms-client-request-id" : "5b1bcc97-26c9-4f89-bad7-a77141e805d2", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f8aad880-bdbf-428b-bff6-27602045834b?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f8aad880-bdbf-428b-bff6-27602045834b?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00667/providers/Microsoft.Storage/storageAccounts/st75425a57?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00667/providers/Microsoft.Storage/storageAccounts/st75425a57?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "e7a65d41-5258-4cea-a83e-329017700cf2", @@ -405,7 +405,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f8aad880-bdbf-428b-bff6-27602045834b?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f8aad880-bdbf-428b-bff6-27602045834b?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "92979d99-1181-4c42-a04e-ef3e87d1bebb" @@ -432,7 +432,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00667/providers/Microsoft.Storage/storageAccounts/stg40212d1c3b3df?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00667/providers/Microsoft.Storage/storageAccounts/stg40212d1c3b3df?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "2ebd5ec6-0fb6-41dd-940c-374d6af9e165", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithExplicitStorageOnManagedVMSSCreation.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithExplicitStorageOnManagedVMSSCreation.json index 3ce58868756b0..04edac6671cf9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithExplicitStorageOnManagedVMSSCreation.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithExplicitStorageOnManagedVMSSCreation.json @@ -290,7 +290,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg82795/providers/Microsoft.Storage/storageAccounts/st650554e3?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg82795/providers/Microsoft.Storage/storageAccounts/st650554e3?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "e2ffab91-d721-4de3-b600-1953a3326096", @@ -314,12 +314,12 @@ "Body" : "", "x-ms-client-request-id" : "e2ffab91-d721-4de3-b600-1953a3326096", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/d292f7b5-980e-4912-a95e-831f48719435?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/d292f7b5-980e-4912-a95e-831f48719435?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/d292f7b5-980e-4912-a95e-831f48719435?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/d292f7b5-980e-4912-a95e-831f48719435?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "c7c714ef-7530-4dc2-80ec-44098ea6637d" @@ -346,7 +346,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg82795/providers/Microsoft.Storage/storageAccounts/st650554e3?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg82795/providers/Microsoft.Storage/storageAccounts/st650554e3?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "60707d41-b2a4-42f5-96b0-386f8bd9a4fb", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithImplicitStorageOnManagedVMSSCreation.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithImplicitStorageOnManagedVMSSCreation.json index 3967b432e189e..710dd1ae56f02 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithImplicitStorageOnManagedVMSSCreation.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetBootDiagnosticsTests.canEnableBootDiagnosticsWithImplicitStorageOnManagedVMSSCreation.json @@ -264,7 +264,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg61949/providers/Microsoft.Storage/storageAccounts/stg7986509d9e1a6?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg61949/providers/Microsoft.Storage/storageAccounts/stg7986509d9e1a6?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "31c3f051-2395-46be-a25a-65a035777127", @@ -288,12 +288,12 @@ "Body" : "", "x-ms-client-request-id" : "31c3f051-2395-46be-a25a-65a035777127", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/030de016-5214-44ad-b758-1513703ddff0?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/030de016-5214-44ad-b758-1513703ddff0?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/030de016-5214-44ad-b758-1513703ddff0?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/030de016-5214-44ad-b758-1513703ddff0?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "47b25c84-a898-4b4c-a9bf-b0e03eb78dc6" @@ -320,7 +320,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg61949/providers/Microsoft.Storage/storageAccounts/stg7986509d9e1a6?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg61949/providers/Microsoft.Storage/storageAccounts/stg7986509d9e1a6?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "cc168941-65d7-43a0-8011-1e8a8cf596e9", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetManagedDiskOperationsTests.canCreateVirtualMachineScaleSetFromCustomImageWithManagedDisk.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetManagedDiskOperationsTests.canCreateVirtualMachineScaleSetFromCustomImageWithManagedDisk.json index 71736ed903cac..9273cb44f9c6f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetManagedDiskOperationsTests.canCreateVirtualMachineScaleSetFromCustomImageWithManagedDisk.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetManagedDiskOperationsTests.canCreateVirtualMachineScaleSetFromCustomImageWithManagedDisk.json @@ -58,7 +58,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg43142/providers/Microsoft.Storage/storageAccounts/stg148109ab14a60?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg43142/providers/Microsoft.Storage/storageAccounts/stg148109ab14a60?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "6c449bcf-3e24-4b43-8d85-bd59f0b6acd3", @@ -82,7 +82,7 @@ "Body" : "", "x-ms-client-request-id" : "6c449bcf-3e24-4b43-8d85-bd59f0b6acd3", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/f0e867eb-c8e3-4f8b-a94a-75af03fe9404?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/f0e867eb-c8e3-4f8b-a94a-75af03fe9404?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -263,7 +263,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/f0e867eb-c8e3-4f8b-a94a-75af03fe9404?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/f0e867eb-c8e3-4f8b-a94a-75af03fe9404?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "45c29f2a-1e4f-4d94-bac0-b94fb67f1e22" @@ -290,7 +290,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg43142/providers/Microsoft.Storage/storageAccounts/stg148109ab14a60?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg43142/providers/Microsoft.Storage/storageAccounts/stg148109ab14a60?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "6208201b-f620-4369-b261-8faf022a609f", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateLowPriorityVMSSInstance.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateLowPriorityVMSSInstance.json index de16982e6e6ab..cd642769e6431 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateLowPriorityVMSSInstance.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateLowPriorityVMSSInstance.json @@ -264,7 +264,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg58871/providers/Microsoft.Storage/storageAccounts/stg89427c6e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg58871/providers/Microsoft.Storage/storageAccounts/stg89427c6e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "aba9ef4b-8cc6-491c-a424-94a084d1d14a", @@ -288,12 +288,12 @@ "Body" : "", "x-ms-client-request-id" : "aba9ef4b-8cc6-491c-a424-94a084d1d14a", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/38a94771-9a03-4e75-ad69-467209aadb92?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/38a94771-9a03-4e75-ad69-467209aadb92?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg58871/providers/Microsoft.Storage/storageAccounts/stg398021bef?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg58871/providers/Microsoft.Storage/storageAccounts/stg398021bef?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "d6877bc2-0373-40a5-9198-e4e01b6fb73f", @@ -317,12 +317,12 @@ "Body" : "", "x-ms-client-request-id" : "d6877bc2-0373-40a5-9198-e4e01b6fb73f", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/28a9e2b3-e97f-4a33-96ed-274d10049899?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/28a9e2b3-e97f-4a33-96ed-274d10049899?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/38a94771-9a03-4e75-ad69-467209aadb92?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/38a94771-9a03-4e75-ad69-467209aadb92?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "f7f4fbd7-32d5-4c79-bcb9-9b2aefea8893" @@ -349,7 +349,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg58871/providers/Microsoft.Storage/storageAccounts/stg89427c6e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg58871/providers/Microsoft.Storage/storageAccounts/stg89427c6e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "15b9bc48-f38a-404d-a274-9701bd126f5f", @@ -377,7 +377,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/28a9e2b3-e97f-4a33-96ed-274d10049899?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/28a9e2b3-e97f-4a33-96ed-274d10049899?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "068b1546-57a5-40b6-9921-90ba10c96c27" @@ -404,7 +404,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg58871/providers/Microsoft.Storage/storageAccounts/stg398021bef?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg58871/providers/Microsoft.Storage/storageAccounts/stg398021bef?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "f1c52e5e-0931-4d78-b0a8-25aafa14c280", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVirtualMachineScaleSet.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVirtualMachineScaleSet.json index 1e347fd6dcae6..bf2116518dbc9 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVirtualMachineScaleSet.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVirtualMachineScaleSet.json @@ -264,7 +264,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38201/providers/Microsoft.Storage/storageAccounts/stg666032af?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38201/providers/Microsoft.Storage/storageAccounts/stg666032af?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "6b74b117-5360-4eef-85a8-76fe8de1ffae", @@ -288,12 +288,12 @@ "Body" : "", "x-ms-client-request-id" : "6b74b117-5360-4eef-85a8-76fe8de1ffae", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/5889755f-3096-429f-b1cc-1e0e4737e122?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/5889755f-3096-429f-b1cc-1e0e4737e122?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38201/providers/Microsoft.Storage/storageAccounts/stg944511a2?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38201/providers/Microsoft.Storage/storageAccounts/stg944511a2?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "ca8f7c74-ae0c-450f-ab14-604ac9fa411c", @@ -317,12 +317,12 @@ "Body" : "", "x-ms-client-request-id" : "ca8f7c74-ae0c-450f-ab14-604ac9fa411c", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b4e2f2d7-c8a7-46aa-a6bb-92824a4cbb64?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b4e2f2d7-c8a7-46aa-a6bb-92824a4cbb64?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/5889755f-3096-429f-b1cc-1e0e4737e122?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/5889755f-3096-429f-b1cc-1e0e4737e122?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "78a98124-49a2-4361-9ace-01897dd12c69" @@ -349,7 +349,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b4e2f2d7-c8a7-46aa-a6bb-92824a4cbb64?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b4e2f2d7-c8a7-46aa-a6bb-92824a4cbb64?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "2d98f8a9-6d14-49f9-adce-b52f8061459e" @@ -376,7 +376,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38201/providers/Microsoft.Storage/storageAccounts/stg944511a2?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38201/providers/Microsoft.Storage/storageAccounts/stg944511a2?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "73de4f1d-d7e1-4c4a-91cd-7846e9e2b89b", @@ -404,7 +404,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38201/providers/Microsoft.Storage/storageAccounts/stg666032af?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38201/providers/Microsoft.Storage/storageAccounts/stg666032af?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "e429d3f7-2a39-48e9-8ee4-1820a75c23e5", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVirtualMachineScaleSetWithCustomScriptExtension.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVirtualMachineScaleSetWithCustomScriptExtension.json index d1f3a451d3b9a..8c7a46f7ef0d6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVirtualMachineScaleSetWithCustomScriptExtension.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canCreateVirtualMachineScaleSetWithCustomScriptExtension.json @@ -264,7 +264,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg75297/providers/Microsoft.Storage/storageAccounts/stg044020e6?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg75297/providers/Microsoft.Storage/storageAccounts/stg044020e6?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "f8e2417d-7136-4985-9783-de38ce5dac60", @@ -288,12 +288,12 @@ "Body" : "", "x-ms-client-request-id" : "f8e2417d-7136-4985-9783-de38ce5dac60", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/d805e23b-e28d-4a45-84b9-cc9aaeb807d8?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/d805e23b-e28d-4a45-84b9-cc9aaeb807d8?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg75297/providers/Microsoft.Storage/storageAccounts/stg93157523?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg75297/providers/Microsoft.Storage/storageAccounts/stg93157523?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "93a8d157-9ecd-4414-8b37-e24ff64e49e2", @@ -317,12 +317,12 @@ "Body" : "", "x-ms-client-request-id" : "93a8d157-9ecd-4414-8b37-e24ff64e49e2", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a9106e04-ef11-4a4e-9aa4-52cd37007f32?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a9106e04-ef11-4a4e-9aa4-52cd37007f32?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/d805e23b-e28d-4a45-84b9-cc9aaeb807d8?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/d805e23b-e28d-4a45-84b9-cc9aaeb807d8?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "3ea400fb-c153-404c-b8d3-434f225b7d9e" @@ -349,7 +349,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg75297/providers/Microsoft.Storage/storageAccounts/stg044020e6?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg75297/providers/Microsoft.Storage/storageAccounts/stg044020e6?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "b387bfde-ffb1-4a12-b71b-127ebe737a66", @@ -377,7 +377,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a9106e04-ef11-4a4e-9aa4-52cd37007f32?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a9106e04-ef11-4a4e-9aa4-52cd37007f32?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "50b3a9c6-bc65-4597-85ed-bfb3f82f40e1" @@ -404,7 +404,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg75297/providers/Microsoft.Storage/storageAccounts/stg93157523?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg75297/providers/Microsoft.Storage/storageAccounts/stg93157523?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "b32c73b7-78dc-4c82-a8ac-189929a11760", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canEnableMSIOnVirtualMachineScaleSetWithMultipleRoleAssignment.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canEnableMSIOnVirtualMachineScaleSetWithMultipleRoleAssignment.json index 0fe233cf01252..ece4c46e2e75f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canEnableMSIOnVirtualMachineScaleSetWithMultipleRoleAssignment.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canEnableMSIOnVirtualMachineScaleSetWithMultipleRoleAssignment.json @@ -264,7 +264,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg89389/providers/Microsoft.Storage/storageAccounts/34482a9930?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg89389/providers/Microsoft.Storage/storageAccounts/34482a9930?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "d0807db0-6862-481a-81b2-2831ac7052f7", @@ -288,12 +288,12 @@ "Body" : "", "x-ms-client-request-id" : "d0807db0-6862-481a-81b2-2831ac7052f7", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c6460176-f624-45ca-812f-5ce7dd47e55e?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c6460176-f624-45ca-812f-5ce7dd47e55e?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c6460176-f624-45ca-812f-5ce7dd47e55e?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c6460176-f624-45ca-812f-5ce7dd47e55e?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "1162b048-75d5-4668-b4b9-b6474df6ffa6" @@ -316,12 +316,12 @@ "Body" : "", "x-ms-client-request-id" : "1162b048-75d5-4668-b4b9-b6474df6ffa6", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c6460176-f624-45ca-812f-5ce7dd47e55e?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c6460176-f624-45ca-812f-5ce7dd47e55e?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c6460176-f624-45ca-812f-5ce7dd47e55e?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c6460176-f624-45ca-812f-5ce7dd47e55e?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "0d1485e1-99bb-428c-9375-cdc5b566fc8e" @@ -348,7 +348,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg89389/providers/Microsoft.Storage/storageAccounts/34482a9930?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg89389/providers/Microsoft.Storage/storageAccounts/34482a9930?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "bcc0112d-2498-4fe4-b6d9-265f9a1029dc", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canGetSingleVMSSInstance.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canGetSingleVMSSInstance.json index 1527ca769abed..baf21fdae468a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canGetSingleVMSSInstance.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canGetSingleVMSSInstance.json @@ -264,7 +264,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg74357/providers/Microsoft.Storage/storageAccounts/stg833676ed?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg74357/providers/Microsoft.Storage/storageAccounts/stg833676ed?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "fcfaf9d1-b68d-402d-9942-3a2b8927c78a", @@ -288,12 +288,12 @@ "Body" : "", "x-ms-client-request-id" : "fcfaf9d1-b68d-402d-9942-3a2b8927c78a", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/9a7b68bf-217b-4793-8000-2d111d01da40?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/9a7b68bf-217b-4793-8000-2d111d01da40?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg74357/providers/Microsoft.Storage/storageAccounts/stg33168506b?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg74357/providers/Microsoft.Storage/storageAccounts/stg33168506b?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "30a43566-02f8-418c-b9d5-ddf286f2bd65", @@ -317,12 +317,12 @@ "Body" : "", "x-ms-client-request-id" : "30a43566-02f8-418c-b9d5-ddf286f2bd65", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/19c09ea9-1242-4078-a79c-de54db42fb48?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/19c09ea9-1242-4078-a79c-de54db42fb48?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/9a7b68bf-217b-4793-8000-2d111d01da40?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/9a7b68bf-217b-4793-8000-2d111d01da40?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "37fd2435-cbce-420f-8b7c-0ce402200c4a" @@ -349,7 +349,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg74357/providers/Microsoft.Storage/storageAccounts/stg833676ed?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg74357/providers/Microsoft.Storage/storageAccounts/stg833676ed?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "e996fb50-0bd9-49f5-8760-3d63b9400713", @@ -377,7 +377,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/19c09ea9-1242-4078-a79c-de54db42fb48?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/19c09ea9-1242-4078-a79c-de54db42fb48?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "41ac19ee-a6b1-4b57-a7ef-314a47cc8271" @@ -404,7 +404,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg74357/providers/Microsoft.Storage/storageAccounts/stg33168506b?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg74357/providers/Microsoft.Storage/storageAccounts/stg33168506b?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "58ef3237-aa2b-4209-b6c6-7276fbbde5bf", diff --git a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canUpdateVirtualMachineScaleSetWithExtensionProtectedSettings.json b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canUpdateVirtualMachineScaleSetWithExtensionProtectedSettings.json index 7b6c450ed78d1..894c7b5bc6bde 100644 --- a/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canUpdateVirtualMachineScaleSetWithExtensionProtectedSettings.json +++ b/sdk/resourcemanager/azure-resourcemanager-compute/src/test/resources/session-records/VirtualMachineScaleSetOperationsTests.canUpdateVirtualMachineScaleSetWithExtensionProtectedSettings.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24834/providers/Microsoft.Storage/storageAccounts/stg01842edd?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24834/providers/Microsoft.Storage/storageAccounts/stg01842edd?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "f4f75208-e023-43f7-a55d-d6eda02084cd", @@ -51,12 +51,12 @@ "Body" : "", "x-ms-client-request-id" : "f4f75208-e023-43f7-a55d-d6eda02084cd", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/ce6828f6-246a-4e83-95e2-c8a5c0fc6b76?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/ce6828f6-246a-4e83-95e2-c8a5c0fc6b76?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/ce6828f6-246a-4e83-95e2-c8a5c0fc6b76?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/ce6828f6-246a-4e83-95e2-c8a5c0fc6b76?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "739ea9d1-b653-40e9-877c-5dd4875e2768" @@ -79,12 +79,12 @@ "Body" : "", "x-ms-client-request-id" : "739ea9d1-b653-40e9-877c-5dd4875e2768", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/ce6828f6-246a-4e83-95e2-c8a5c0fc6b76?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/ce6828f6-246a-4e83-95e2-c8a5c0fc6b76?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/ce6828f6-246a-4e83-95e2-c8a5c0fc6b76?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/ce6828f6-246a-4e83-95e2-c8a5c0fc6b76?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "e7a2aad2-0d69-4fb5-ab93-6ce878931dec" @@ -111,7 +111,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24834/providers/Microsoft.Storage/storageAccounts/stg01842edd?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24834/providers/Microsoft.Storage/storageAccounts/stg01842edd?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "095377ab-488d-4388-9e46-c62e33464ef6", @@ -139,7 +139,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24834/providers/Microsoft.Storage/storageAccounts/stg01842edd/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24834/providers/Microsoft.Storage/storageAccounts/stg01842edd/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "9674b90b-97d7-424b-b662-28b34c775c30", @@ -255,7 +255,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24834/providers/Microsoft.Storage/storageAccounts/stg89312cdd?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24834/providers/Microsoft.Storage/storageAccounts/stg89312cdd?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "d786f6fe-179b-41af-bf54-165d0f3250c0", @@ -279,12 +279,12 @@ "Body" : "", "x-ms-client-request-id" : "d786f6fe-179b-41af-bf54-165d0f3250c0", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/070ffd36-5341-431b-b4e0-c47cf90a5e76?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/070ffd36-5341-431b-b4e0-c47cf90a5e76?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/070ffd36-5341-431b-b4e0-c47cf90a5e76?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/070ffd36-5341-431b-b4e0-c47cf90a5e76?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "1e22f3d2-f39a-4f81-bedf-f03dbbfcc188" @@ -311,7 +311,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24834/providers/Microsoft.Storage/storageAccounts/stg89312cdd?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24834/providers/Microsoft.Storage/storageAccounts/stg89312cdd?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (11.0.11; Windows 10; 10.0)", "x-ms-client-request-id" : "9809614f-998e-4133-9286-8b1b7cabfbeb", diff --git a/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/test/resources/session-records/EventHubTests.canConfigureEventHubDataCapturing.json b/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/test/resources/session-records/EventHubTests.canConfigureEventHubDataCapturing.json index e5cfaa549ff07..87cc1d8e1345b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/test/resources/session-records/EventHubTests.canConfigureEventHubDataCapturing.json +++ b/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/test/resources/session-records/EventHubTests.canConfigureEventHubDataCapturing.json @@ -82,7 +82,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16371/providers/Microsoft.Storage/storageAccounts/stg015092fa?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16371/providers/Microsoft.Storage/storageAccounts/stg015092fa?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2948c539-c657-4430-9d46-89a2c5016ec8", @@ -106,12 +106,12 @@ "Body" : "", "x-ms-client-request-id" : "2948c539-c657-4430-9d46-89a2c5016ec8", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/520fe805-c494-481e-a408-434fb0d7ce8d?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/520fe805-c494-481e-a408-434fb0d7ce8d?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/520fe805-c494-481e-a408-434fb0d7ce8d?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/520fe805-c494-481e-a408-434fb0d7ce8d?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "599c52c0-c46c-428c-b967-3316bb65610a" @@ -138,7 +138,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16371/providers/Microsoft.Storage/storageAccounts/stg015092fa?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16371/providers/Microsoft.Storage/storageAccounts/stg015092fa?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "975967d4-ff15-4761-87b9-9fcdf96d0ba2", @@ -166,7 +166,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16371/providers/Microsoft.Storage/storageAccounts/stg015092fa/blobServices/default/containers/eventsctr1?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16371/providers/Microsoft.Storage/storageAccounts/stg015092fa/blobServices/default/containers/eventsctr1?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "16dc5f53-28ed-47fe-9eb6-174f4804d692", @@ -194,7 +194,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16371/providers/Microsoft.Storage/storageAccounts/stg015092fa/blobServices/default/containers/eventsctr1?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16371/providers/Microsoft.Storage/storageAccounts/stg015092fa/blobServices/default/containers/eventsctr1?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2b565823-af3f-4532-83a3-ce55a8227ae6", @@ -308,7 +308,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16371/providers/Microsoft.Storage/storageAccounts/stg015092fa?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16371/providers/Microsoft.Storage/storageAccounts/stg015092fa?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "15cdbdad-7516-4f72-83ca-a1bddcf6b013", @@ -336,7 +336,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16371/providers/Microsoft.Storage/storageAccounts/stg015092fa/blobServices/default/containers/eventsctr2?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16371/providers/Microsoft.Storage/storageAccounts/stg015092fa/blobServices/default/containers/eventsctr2?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "cc5906b8-a88f-4d9b-a0da-5421e0a695f4", @@ -364,7 +364,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16371/providers/Microsoft.Storage/storageAccounts/stg015092fa/blobServices/default/containers/eventsctr2?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg16371/providers/Microsoft.Storage/storageAccounts/stg015092fa/blobServices/default/containers/eventsctr2?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d062b97a-377a-4c90-bc24-319ff219495d", diff --git a/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/test/resources/session-records/EventHubTests.canEnableEventHubDataCaptureOnUpdate.json b/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/test/resources/session-records/EventHubTests.canEnableEventHubDataCaptureOnUpdate.json index 38196c4ed6daa..c6127b50b6a70 100644 --- a/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/test/resources/session-records/EventHubTests.canEnableEventHubDataCaptureOnUpdate.json +++ b/sdk/resourcemanager/azure-resourcemanager-eventhubs/src/test/resources/session-records/EventHubTests.canEnableEventHubDataCaptureOnUpdate.json @@ -196,7 +196,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69472/providers/Microsoft.Storage/storageAccounts/stg07586780?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69472/providers/Microsoft.Storage/storageAccounts/stg07586780?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "b65f7177-9c4f-4fab-b318-758bf5514229", @@ -220,12 +220,12 @@ "Body" : "", "x-ms-client-request-id" : "b65f7177-9c4f-4fab-b318-758bf5514229", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/b05dd380-e750-485e-9295-e2b35be360c6?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/b05dd380-e750-485e-9295-e2b35be360c6?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/b05dd380-e750-485e-9295-e2b35be360c6?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/b05dd380-e750-485e-9295-e2b35be360c6?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "02e65a1c-ecf6-401c-88be-e8c3d15f0cf0" @@ -252,7 +252,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69472/providers/Microsoft.Storage/storageAccounts/stg07586780?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69472/providers/Microsoft.Storage/storageAccounts/stg07586780?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a7843bba-17ad-4d02-a94b-b4f15cef8ff2", @@ -280,7 +280,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69472/providers/Microsoft.Storage/storageAccounts/stg07586780/blobServices/default/containers/eventctr?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69472/providers/Microsoft.Storage/storageAccounts/stg07586780/blobServices/default/containers/eventctr?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "219b57a2-4ee4-4d6c-ab6e-d8bd735c3e88", @@ -308,7 +308,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69472/providers/Microsoft.Storage/storageAccounts/stg07586780/blobServices/default/containers/eventctr?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69472/providers/Microsoft.Storage/storageAccounts/stg07586780/blobServices/default/containers/eventctr?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.10.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "39b1a66e-9e6b-4b9b-a60e-504dcf5678f8", diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/test/resources/session-records/AlertsTests.canCRUDMetricAlerts.json b/sdk/resourcemanager/azure-resourcemanager-monitor/src/test/resources/session-records/AlertsTests.canCRUDMetricAlerts.json index ef59b7fabdf4d..9580d92770430 100644 --- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/test/resources/session-records/AlertsTests.canCRUDMetricAlerts.json +++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/test/resources/session-records/AlertsTests.canCRUDMetricAlerts.json @@ -25,7 +25,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jmonitor_fd901267/providers/Microsoft.Storage/storageAccounts/jmonitorsa49374c?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jmonitor_fd901267/providers/Microsoft.Storage/storageAccounts/jmonitorsa49374c?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.1 (1.8.0_221; Windows 10 10.0)", "Content-Type" : "application/json" @@ -44,14 +44,14 @@ "x-content-type-options" : "nosniff", "x-ms-routing-request-id" : "SOUTHEASTASIA:20200622T134506Z:b3b3b007-abf2-42a5-bd85-9482b585844b", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/f9c3fff3-a4d5-45ff-9e16-f3d329436428?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/f9c3fff3-a4d5-45ff-9e16-f3d329436428?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "f9c3fff3-a4d5-45ff-9e16-f3d329436428", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/f9c3fff3-a4d5-45ff-9e16-f3d329436428?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/f9c3fff3-a4d5-45ff-9e16-f3d329436428?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (1.8.0_221; Windows 10 10.0)" }, @@ -75,7 +75,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jmonitor_fd901267/providers/Microsoft.Storage/storageAccounts/jmonitorsa49374c?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jmonitor_fd901267/providers/Microsoft.Storage/storageAccounts/jmonitorsa49374c?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.1 (1.8.0_221; Windows 10 10.0)", "Content-Type" : "application/json" diff --git a/sdk/resourcemanager/azure-resourcemanager-monitor/src/test/resources/session-records/DiagnosticSettingsTests.canCRUDDiagnosticSettings.json b/sdk/resourcemanager/azure-resourcemanager-monitor/src/test/resources/session-records/DiagnosticSettingsTests.canCRUDDiagnosticSettings.json index ee6b7e4ac58f3..c7ebffcedfcf4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-monitor/src/test/resources/session-records/DiagnosticSettingsTests.canCRUDDiagnosticSettings.json +++ b/sdk/resourcemanager/azure-resourcemanager-monitor/src/test/resources/session-records/DiagnosticSettingsTests.canCRUDDiagnosticSettings.json @@ -83,7 +83,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jmonitor_1973404/providers/Microsoft.Storage/storageAccounts/jmonitorsa234739?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jmonitor_1973404/providers/Microsoft.Storage/storageAccounts/jmonitorsa234739?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.7.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "99b277c6-51b0-40bb-80b9-71dd6cf68251", @@ -107,12 +107,12 @@ "Body" : "", "x-ms-client-request-id" : "99b277c6-51b0-40bb-80b9-71dd6cf68251", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/158fe9e9-4880-41b7-9f54-f4dd240e8e1b?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/158fe9e9-4880-41b7-9f54-f4dd240e8e1b?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/158fe9e9-4880-41b7-9f54-f4dd240e8e1b?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/158fe9e9-4880-41b7-9f54-f4dd240e8e1b?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "55d56240-b6a6-45b5-b545-08a82dd42118" @@ -139,7 +139,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jmonitor_1973404/providers/Microsoft.Storage/storageAccounts/jmonitorsa234739?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/jmonitor_1973404/providers/Microsoft.Storage/storageAccounts/jmonitorsa234739?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.7.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "536000e2-918b-4f3a-aff4-5f4909b5bf05", diff --git a/sdk/resourcemanager/azure-resourcemanager-redis/src/test/resources/session-records/RedisCacheOperationsTests.canCreateRedisWithRdbAof.json b/sdk/resourcemanager/azure-resourcemanager-redis/src/test/resources/session-records/RedisCacheOperationsTests.canCreateRedisWithRdbAof.json index 3c2a27653abb4..5949eda27cdfb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-redis/src/test/resources/session-records/RedisCacheOperationsTests.canCreateRedisWithRdbAof.json +++ b/sdk/resourcemanager/azure-resourcemanager-redis/src/test/resources/session-records/RedisCacheOperationsTests.canCreateRedisWithRdbAof.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14346/providers/Microsoft.Storage/storageAccounts/javacsmsa14331?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14346/providers/Microsoft.Storage/storageAccounts/javacsmsa14331?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.11.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "000fd723-ec23-4eb4-b263-02f106cf3070", @@ -51,12 +51,12 @@ "Body" : "", "x-ms-client-request-id" : "000fd723-ec23-4eb4-b263-02f106cf3070", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus3/asyncoperations/70c0a2b7-4092-4a4b-9df5-3c52cbf27f84?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus3/asyncoperations/70c0a2b7-4092-4a4b-9df5-3c52cbf27f84?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus3/asyncoperations/70c0a2b7-4092-4a4b-9df5-3c52cbf27f84?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus3/asyncoperations/70c0a2b7-4092-4a4b-9df5-3c52cbf27f84?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.11.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "6676c6b7-db5e-4e62-9068-88afca25cc3e" @@ -83,7 +83,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14346/providers/Microsoft.Storage/storageAccounts/javacsmsa14331?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14346/providers/Microsoft.Storage/storageAccounts/javacsmsa14331?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.11.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "f167370a-d886-4e3f-9c13-18ae867e3842", @@ -111,7 +111,7 @@ "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14346/providers/Microsoft.Storage/storageAccounts/javacsmsa14331/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14346/providers/Microsoft.Storage/storageAccounts/javacsmsa14331/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.11.0-beta.1 (17; Windows 10; 10.0)", "x-ms-client-request-id" : "020f1e77-7ce4-439b-95a8-5cd0b2728094", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/AppServiceSampleTests.testManageFunctionAppBasic.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/AppServiceSampleTests.testManageFunctionAppBasic.json index 7e080c802ebc2..11b5da173c4da 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/AppServiceSampleTests.testManageFunctionAppBasic.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/AppServiceSampleTests.testManageFunctionAppBasic.json @@ -26,7 +26,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1nemv_6b113915b228/providers/Microsoft.Storage/storageAccounts/f029ae0460d94bcf9e26?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1nemv_6b113915b228/providers/Microsoft.Storage/storageAccounts/f029ae0460d94bcf9e26?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -46,7 +46,7 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200803T082800Z:e7abe768-ae08-4a9d-824a-34c8e2b114be", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a85d6cc0-5a8d-42eb-89e6-8e9adcdb6a22?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a85d6cc0-5a8d-42eb-89e6-8e9adcdb6a22?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "a85d6cc0-5a8d-42eb-89e6-8e9adcdb6a22", "Body" : "" @@ -81,7 +81,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a85d6cc0-5a8d-42eb-89e6-8e9adcdb6a22?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a85d6cc0-5a8d-42eb-89e6-8e9adcdb6a22?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" }, @@ -106,7 +106,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1nemv_6b113915b228/providers/Microsoft.Storage/storageAccounts/f029ae0460d94bcf9e26?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1nemv_6b113915b228/providers/Microsoft.Storage/storageAccounts/f029ae0460d94bcf9e26?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -190,7 +190,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1nemv_6b113915b228/providers/Microsoft.Storage/storageAccounts/f029ae0460d94bcf9e26/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1nemv_6b113915b228/providers/Microsoft.Storage/storageAccounts/f029ae0460d94bcf9e26/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -470,7 +470,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1nemv_6b113915b228/providers/Microsoft.Storage/storageAccounts/3b15a58a754643d08cb6?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1nemv_6b113915b228/providers/Microsoft.Storage/storageAccounts/3b15a58a754643d08cb6?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -490,7 +490,7 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200803T082916Z:06319578-d205-4da2-b1bd-6a9796634ff6", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/6f0d9df2-ee74-40b7-8786-1b322931af1f?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/6f0d9df2-ee74-40b7-8786-1b322931af1f?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "6f0d9df2-ee74-40b7-8786-1b322931af1f", "Body" : "" @@ -525,7 +525,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/6f0d9df2-ee74-40b7-8786-1b322931af1f?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/6f0d9df2-ee74-40b7-8786-1b322931af1f?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" }, @@ -550,7 +550,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1nemv_6b113915b228/providers/Microsoft.Storage/storageAccounts/3b15a58a754643d08cb6?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1nemv_6b113915b228/providers/Microsoft.Storage/storageAccounts/3b15a58a754643d08cb6?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -634,7 +634,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1nemv_6b113915b228/providers/Microsoft.Storage/storageAccounts/3b15a58a754643d08cb6/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1nemv_6b113915b228/providers/Microsoft.Storage/storageAccounts/3b15a58a754643d08cb6/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -911,7 +911,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2nemv_4c413219042a/providers/Microsoft.Storage/storageAccounts/b7979f22e4174f68ae8b?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2nemv_4c413219042a/providers/Microsoft.Storage/storageAccounts/b7979f22e4174f68ae8b?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -931,14 +931,14 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200803T083013Z:0ed031a1-017e-4ca4-b63e-451ea70417a0", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/46b3b2e6-0a58-4234-894a-dc8f988e6224?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/46b3b2e6-0a58-4234-894a-dc8f988e6224?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "46b3b2e6-0a58-4234-894a-dc8f988e6224", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/46b3b2e6-0a58-4234-894a-dc8f988e6224?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/46b3b2e6-0a58-4234-894a-dc8f988e6224?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" }, @@ -963,7 +963,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2nemv_4c413219042a/providers/Microsoft.Storage/storageAccounts/b7979f22e4174f68ae8b?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2nemv_4c413219042a/providers/Microsoft.Storage/storageAccounts/b7979f22e4174f68ae8b?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -1047,7 +1047,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2nemv_4c413219042a/providers/Microsoft.Storage/storageAccounts/b7979f22e4174f68ae8b/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2nemv_4c413219042a/providers/Microsoft.Storage/storageAccounts/b7979f22e4174f68ae8b/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testConvertVirtualMachineToManagedDisks.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testConvertVirtualMachineToManagedDisks.json index 8d657ba1760bb..f6c5b946f3a20 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testConvertVirtualMachineToManagedDisks.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testConvertVirtualMachineToManagedDisks.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv08105c5/providers/Microsoft.Storage/storageAccounts/stg06608e23fb662?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv08105c5/providers/Microsoft.Storage/storageAccounts/stg06608e23fb662?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "77b08931-0146-49ee-96ef-2ce6703468a3", @@ -51,7 +51,7 @@ "Body" : "", "x-ms-client-request-id" : "77b08931-0146-49ee-96ef-2ce6703468a3", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/12cd7353-f801-4994-b60e-b20d002f8a24?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/12cd7353-f801-4994-b60e-b20d002f8a24?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -175,7 +175,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/12cd7353-f801-4994-b60e-b20d002f8a24?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/12cd7353-f801-4994-b60e-b20d002f8a24?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d80a4afb-88a5-4e65-b818-88b6cd46ac8d" @@ -202,7 +202,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv08105c5/providers/Microsoft.Storage/storageAccounts/stg06608e23fb662?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv08105c5/providers/Microsoft.Storage/storageAccounts/stg06608e23fb662?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0cdf6ede-aec8-48c4-9213-87d2400c4df4", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachineUsingCustomImageFromVHD.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachineUsingCustomImageFromVHD.json index 38757fb65e3f5..f868484bb4186 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachineUsingCustomImageFromVHD.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachineUsingCustomImageFromVHD.json @@ -89,7 +89,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv61802ac/providers/Microsoft.Storage/storageAccounts/stg70845f4a30cf0?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv61802ac/providers/Microsoft.Storage/storageAccounts/stg70845f4a30cf0?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "7b66a433-ff74-4573-b260-04c10fad1390", @@ -113,7 +113,7 @@ "Body" : "", "x-ms-client-request-id" : "7b66a433-ff74-4573-b260-04c10fad1390", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2b45377c-1d9b-4365-9e1c-f28387e967cf?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2b45377c-1d9b-4365-9e1c-f28387e967cf?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -263,7 +263,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2b45377c-1d9b-4365-9e1c-f28387e967cf?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2b45377c-1d9b-4365-9e1c-f28387e967cf?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e55aa8ad-290a-413b-bbdf-3b6eb6cacfe2" @@ -290,7 +290,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv61802ac/providers/Microsoft.Storage/storageAccounts/stg70845f4a30cf0?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv61802ac/providers/Microsoft.Storage/storageAccounts/stg70845f4a30cf0?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "eb17eef4-a552-4888-865e-13d297595111", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachineUsingCustomImageFromVM.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachineUsingCustomImageFromVM.json index a48109350b7f0..ecdbd446422da 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachineUsingCustomImageFromVM.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachineUsingCustomImageFromVM.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv001070d/providers/Microsoft.Storage/storageAccounts/stg7579048382950?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv001070d/providers/Microsoft.Storage/storageAccounts/stg7579048382950?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "5f52333b-5738-427c-8517-8937a68f6c9f", @@ -51,7 +51,7 @@ "Body" : "", "x-ms-client-request-id" : "5f52333b-5738-427c-8517-8937a68f6c9f", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/7ea0fc1d-7a60-4b18-ac47-78c04e04679a?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/7ea0fc1d-7a60-4b18-ac47-78c04e04679a?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -263,7 +263,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/7ea0fc1d-7a60-4b18-ac47-78c04e04679a?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/7ea0fc1d-7a60-4b18-ac47-78c04e04679a?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "82520dac-29a3-4050-bfc1-5bd9201a3e32" @@ -290,7 +290,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv001070d/providers/Microsoft.Storage/storageAccounts/stg7579048382950?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv001070d/providers/Microsoft.Storage/storageAccounts/stg7579048382950?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "1728d41d-5cc6-46e4-a707-52f8e8fd8919", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachineUsingSpecializedDiskFromVhd.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachineUsingSpecializedDiskFromVhd.json index a073ea06de24a..3f825b20dd26c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachineUsingSpecializedDiskFromVhd.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachineUsingSpecializedDiskFromVhd.json @@ -234,7 +234,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv64858f0/providers/Microsoft.Storage/storageAccounts/stg94877d6e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv64858f0/providers/Microsoft.Storage/storageAccounts/stg94877d6e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "be676749-e2c2-4391-a545-9569d7c1c72f", @@ -258,12 +258,12 @@ "Body" : "", "x-ms-client-request-id" : "be676749-e2c2-4391-a545-9569d7c1c72f", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c073e14d-7b47-4b88-91f2-ae339c380f4e?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c073e14d-7b47-4b88-91f2-ae339c380f4e?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c073e14d-7b47-4b88-91f2-ae339c380f4e?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c073e14d-7b47-4b88-91f2-ae339c380f4e?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c010456e-70b9-41d7-b6d8-0a4af57ecffe" @@ -290,7 +290,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv64858f0/providers/Microsoft.Storage/storageAccounts/stg94877d6e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv64858f0/providers/Microsoft.Storage/storageAccounts/stg94877d6e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "7707b819-82a7-494c-9330-2e54669f2e6a", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachinesInParallel.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachinesInParallel.json index ffc7b942fc8cf..41715810189f1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachinesInParallel.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachinesInParallel.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd399350bef?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd399350bef?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ec68570f-72d0-462a-90db-a0e4180203a8", @@ -51,12 +51,12 @@ "Body" : "", "x-ms-client-request-id" : "ec68570f-72d0-462a-90db-a0e4180203a8", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2af48351-e2a2-42d0-bd70-856d269b830b?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2af48351-e2a2-42d0-bd70-856d269b830b?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd39952c1a5?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd39952c1a5?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6f44e4b0-8cd9-40e8-892b-01b3fa61785f", @@ -80,12 +80,12 @@ "Body" : "", "x-ms-client-request-id" : "6f44e4b0-8cd9-40e8-892b-01b3fa61785f", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/d402b720-6632-4a2d-8dac-af4b63f59e55?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/d402b720-6632-4a2d-8dac-af4b63f59e55?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd112707d03?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd112707d03?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "292cae3a-2740-4b8d-aa92-01ad7ef2bb3f", @@ -109,7 +109,7 @@ "Body" : "", "x-ms-client-request-id" : "292cae3a-2740-4b8d-aa92-01ad7ef2bb3f", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/41c6c1e5-8e09-452c-9a85-113f9e9ae147?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/41c6c1e5-8e09-452c-9a85-113f9e9ae147?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -300,7 +300,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd488744e19?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd488744e19?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c0afddb5-4fae-4304-909b-1cfaf4e4b9a0", @@ -324,7 +324,7 @@ "Body" : "", "x-ms-client-request-id" : "c0afddb5-4fae-4304-909b-1cfaf4e4b9a0", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/a520e181-b6a2-47d2-bc1b-5eab3fb9d527?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/a520e181-b6a2-47d2-bc1b-5eab3fb9d527?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -2161,7 +2161,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2af48351-e2a2-42d0-bd70-856d269b830b?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2af48351-e2a2-42d0-bd70-856d269b830b?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c97b696b-9576-49d9-83ba-0fe962296fb5" @@ -2188,7 +2188,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd399350bef?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd399350bef?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0aaffacf-803e-405a-9ed4-d0a9deda3c1f", @@ -2216,7 +2216,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/d402b720-6632-4a2d-8dac-af4b63f59e55?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/d402b720-6632-4a2d-8dac-af4b63f59e55?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a473f444-067b-4b6b-aba2-8ebd41e5b771" @@ -2243,7 +2243,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd39952c1a5?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd39952c1a5?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "48d9dfc0-4b48-4aee-997c-3a456b9d7fdf", @@ -2271,7 +2271,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/41c6c1e5-8e09-452c-9a85-113f9e9ae147?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/41c6c1e5-8e09-452c-9a85-113f9e9ae147?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6291c7c5-68ae-4737-b4ef-8975907895e1" @@ -2298,7 +2298,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/a520e181-b6a2-47d2-bc1b-5eab3fb9d527?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus2/asyncoperations/a520e181-b6a2-47d2-bc1b-5eab3fb9d527?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "7c7e8553-4c59-4011-9aaa-dbefcd2926cc" @@ -2325,7 +2325,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd488744e19?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd488744e19?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a3806054-2cf4-4dd7-8747-392e3fa3e6fd", @@ -2353,7 +2353,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd112707d03?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopd8069265c475/providers/Microsoft.Storage/storageAccounts/stgcopd112707d03?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ec1c970f-7d06-4ce6-8a3e-71dc153b2f0a", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachinesUsingCustomImageOrSpecializedVHD.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachinesUsingCustomImageOrSpecializedVHD.json index 8974d9f5e158c..f4231bb8c447e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachinesUsingCustomImageOrSpecializedVHD.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testCreateVirtualMachinesUsingCustomImageOrSpecializedVHD.json @@ -58,7 +58,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv0074061/providers/Microsoft.Storage/storageAccounts/stg10559c120d35d?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv0074061/providers/Microsoft.Storage/storageAccounts/stg10559c120d35d?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "42224e84-83a4-47e2-b698-da1076b21a84", @@ -82,7 +82,7 @@ "Body" : "", "x-ms-client-request-id" : "42224e84-83a4-47e2-b698-da1076b21a84", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ce72a475-5a9f-4c04-a125-72e695073845?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ce72a475-5a9f-4c04-a125-72e695073845?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -263,7 +263,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ce72a475-5a9f-4c04-a125-72e695073845?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ce72a475-5a9f-4c04-a125-72e695073845?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a8ded290-be75-45ff-a0e5-f2bd02fc7e42" @@ -290,7 +290,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv0074061/providers/Microsoft.Storage/storageAccounts/stg10559c120d35d?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv0074061/providers/Microsoft.Storage/storageAccounts/stg10559c120d35d?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c869b540-b7ce-448a-af24-b5945c101000", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageManagedDisks.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageManagedDisks.json index 24319061ba8a0..a2542a252bec4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageManagedDisks.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageManagedDisks.json @@ -1513,7 +1513,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv0785220/providers/Microsoft.Storage/storageAccounts/stg964421a65b158?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv0785220/providers/Microsoft.Storage/storageAccounts/stg964421a65b158?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "5960a52b-8d61-433e-abb4-5b174831c887", @@ -1537,7 +1537,7 @@ "Body" : "", "x-ms-client-request-id" : "5960a52b-8d61-433e-abb4-5b174831c887", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/49682376-057b-4aa0-afcb-3912970fef32?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/49682376-057b-4aa0-afcb-3912970fef32?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -1630,7 +1630,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/49682376-057b-4aa0-afcb-3912970fef32?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/49682376-057b-4aa0-afcb-3912970fef32?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0a3c4569-3034-4802-b3e4-ca8a15ab601d" @@ -1657,7 +1657,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv0785220/providers/Microsoft.Storage/storageAccounts/stg964421a65b158?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv0785220/providers/Microsoft.Storage/storageAccounts/stg964421a65b158?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c455c673-5999-42cc-8467-f90948088ce2", @@ -3948,7 +3948,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv0785220/providers/Microsoft.Storage/storageAccounts/stg10835d445da4a?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv0785220/providers/Microsoft.Storage/storageAccounts/stg10835d445da4a?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "40ef375f-e504-4e4a-87f3-52c87e9cfe72", @@ -3972,7 +3972,7 @@ "Body" : "", "x-ms-client-request-id" : "40ef375f-e504-4e4a-87f3-52c87e9cfe72", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/a3bd62d9-71e3-4aa4-b92d-f5f7d2f6630a?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/a3bd62d9-71e3-4aa4-b92d-f5f7d2f6630a?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -4153,7 +4153,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/a3bd62d9-71e3-4aa4-b92d-f5f7d2f6630a?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/a3bd62d9-71e3-4aa4-b92d-f5f7d2f6630a?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "91b925d0-76e3-49cd-ad05-32645e625e08" @@ -4180,7 +4180,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv0785220/providers/Microsoft.Storage/storageAccounts/stg10835d445da4a?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv0785220/providers/Microsoft.Storage/storageAccounts/stg10835d445da4a?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "33efd54f-1acb-469f-9fe7-6257815527b4", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageVirtualMachineScaleSetWithUnmanagedDisks.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageVirtualMachineScaleSetWithUnmanagedDisks.json index a1ad68ce66568..1524bac2a187e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageVirtualMachineScaleSetWithUnmanagedDisks.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageVirtualMachineScaleSetWithUnmanagedDisks.json @@ -293,7 +293,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcovs96540da/providers/Microsoft.Storage/storageAccounts/stg1173756a0b0af?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcovs96540da/providers/Microsoft.Storage/storageAccounts/stg1173756a0b0af?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2055d19a-22db-4a97-978b-c4c6e8032ca8", @@ -317,12 +317,12 @@ "Body" : "", "x-ms-client-request-id" : "2055d19a-22db-4a97-978b-c4c6e8032ca8", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/51afb859-fcfd-4c62-9263-c5f62c66b123?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/51afb859-fcfd-4c62-9263-c5f62c66b123?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcovs96540da/providers/Microsoft.Storage/storageAccounts/stg3161210effeb1?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcovs96540da/providers/Microsoft.Storage/storageAccounts/stg3161210effeb1?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e1bdec6b-17b9-4f27-9d99-d4fbaa288a88", @@ -346,12 +346,12 @@ "Body" : "", "x-ms-client-request-id" : "e1bdec6b-17b9-4f27-9d99-d4fbaa288a88", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/a505916a-03e4-4a09-ac1c-a90ca1d1ea74?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/a505916a-03e4-4a09-ac1c-a90ca1d1ea74?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcovs96540da/providers/Microsoft.Storage/storageAccounts/stg2640530a8a302?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcovs96540da/providers/Microsoft.Storage/storageAccounts/stg2640530a8a302?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0a298f6b-cd79-43d6-a5eb-ac68cdae92ce", @@ -375,12 +375,12 @@ "Body" : "", "x-ms-client-request-id" : "0a298f6b-cd79-43d6-a5eb-ac68cdae92ce", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/276d5ac3-0aaa-4616-b9ba-7e15a7ede421?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/276d5ac3-0aaa-4616-b9ba-7e15a7ede421?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/51afb859-fcfd-4c62-9263-c5f62c66b123?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/51afb859-fcfd-4c62-9263-c5f62c66b123?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "088bc06c-3347-4576-b2ad-2563d7610196" @@ -407,7 +407,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcovs96540da/providers/Microsoft.Storage/storageAccounts/stg1173756a0b0af?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcovs96540da/providers/Microsoft.Storage/storageAccounts/stg1173756a0b0af?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c1059c1e-e186-4fc8-802f-867a2fbd1a99", @@ -435,7 +435,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/a505916a-03e4-4a09-ac1c-a90ca1d1ea74?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/a505916a-03e4-4a09-ac1c-a90ca1d1ea74?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2683ac7f-8828-421c-a1b1-7193ccc3c6b4" @@ -462,7 +462,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/276d5ac3-0aaa-4616-b9ba-7e15a7ede421?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/276d5ac3-0aaa-4616-b9ba-7e15a7ede421?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4a018fc3-3a9c-4a6d-a541-087ac62dd1aa" @@ -489,7 +489,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcovs96540da/providers/Microsoft.Storage/storageAccounts/stg3161210effeb1?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcovs96540da/providers/Microsoft.Storage/storageAccounts/stg3161210effeb1?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "659e175f-de6f-4845-8923-8f5df5194c1f", @@ -517,7 +517,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcovs96540da/providers/Microsoft.Storage/storageAccounts/stg2640530a8a302?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcovs96540da/providers/Microsoft.Storage/storageAccounts/stg2640530a8a302?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "04f79e30-a47e-4509-b52d-07bef3e10915", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageVirtualMachineWithUnmanagedDisks.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageVirtualMachineWithUnmanagedDisks.json index cb2579db7ab43..ac91089611f5c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageVirtualMachineWithUnmanagedDisks.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageVirtualMachineWithUnmanagedDisks.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv7218997/providers/Microsoft.Storage/storageAccounts/stg095257c6e7c3f?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv7218997/providers/Microsoft.Storage/storageAccounts/stg095257c6e7c3f?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "5c233636-f83c-4faa-a67e-d00be46846e0", @@ -51,7 +51,7 @@ "Body" : "", "x-ms-client-request-id" : "5c233636-f83c-4faa-a67e-d00be46846e0", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/41e0b5b2-041e-4e40-9e2c-998268c1a1af?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/41e0b5b2-041e-4e40-9e2c-998268c1a1af?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -175,7 +175,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/41e0b5b2-041e-4e40-9e2c-998268c1a1af?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/41e0b5b2-041e-4e40-9e2c-998268c1a1af?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d77ad85f-e321-4841-9b49-dfddefe013d7" @@ -202,7 +202,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv7218997/providers/Microsoft.Storage/storageAccounts/stg095257c6e7c3f?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv7218997/providers/Microsoft.Storage/storageAccounts/stg095257c6e7c3f?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4e210fa5-59b7-4c96-bc9d-29039d0aa45e", @@ -1288,7 +1288,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv7218997/providers/Microsoft.Storage/storageAccounts/stg650836fb086ab?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv7218997/providers/Microsoft.Storage/storageAccounts/stg650836fb086ab?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ea3e0a0b-bfd6-4505-abd8-6c015a5db7ef", @@ -1312,12 +1312,12 @@ "Body" : "", "x-ms-client-request-id" : "ea3e0a0b-bfd6-4505-abd8-6c015a5db7ef", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/8fd97290-c683-4ad0-b5b0-4f0078031999?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/8fd97290-c683-4ad0-b5b0-4f0078031999?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/8fd97290-c683-4ad0-b5b0-4f0078031999?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/8fd97290-c683-4ad0-b5b0-4f0078031999?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "fa1ff454-df68-4b29-b81d-84bd0f9c6539" @@ -1344,7 +1344,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv7218997/providers/Microsoft.Storage/storageAccounts/stg650836fb086ab?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcomv7218997/providers/Microsoft.Storage/storageAccounts/stg650836fb086ab?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6acd518b-052d-4e42-be5a-c0b733a7d258", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageVirtualMachinesInParallel.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageVirtualMachinesInParallel.json index e6557b0cd68ef..d98afe7e0741b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageVirtualMachinesInParallel.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ComputeSampleTests.testManageVirtualMachinesInParallel.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopp66887a62b10/providers/Microsoft.Storage/storageAccounts/stgcomv4168926d3?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopp66887a62b10/providers/Microsoft.Storage/storageAccounts/stgcomv4168926d3?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a2e54a39-3966-4e2c-8737-f2f4b8975348", @@ -51,7 +51,7 @@ "Body" : "", "x-ms-client-request-id" : "a2e54a39-3966-4e2c-8737-f2f4b8975348", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/b76a7664-d5f5-42c0-acd0-635f43bdd33d?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/b76a7664-d5f5-42c0-acd0-635f43bdd33d?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -454,7 +454,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/b76a7664-d5f5-42c0-acd0-635f43bdd33d?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/b76a7664-d5f5-42c0-acd0-635f43bdd33d?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "32052e60-6b47-457d-9aa4-f28727d8f739" @@ -481,7 +481,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopp66887a62b10/providers/Microsoft.Storage/storageAccounts/stgcomv4168926d3?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgcopp66887a62b10/providers/Microsoft.Storage/storageAccounts/stgcomv4168926d3?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "71357743-b0c3-4baf-8af6-162e696412a2", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/EventHubsSampleTests.testManageEventHub.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/EventHubsSampleTests.testManageEventHub.json index 025f837cbeeec..2d9f18d2361f2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/EventHubsSampleTests.testManageEventHub.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/EventHubsSampleTests.testManageEventHub.json @@ -101,7 +101,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv_0d844955bd37/providers/Microsoft.Storage/storageAccounts/stg328161738?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv_0d844955bd37/providers/Microsoft.Storage/storageAccounts/stg328161738?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.8; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -120,14 +120,14 @@ "x-content-type-options" : "nosniff", "x-ms-routing-request-id" : "SOUTHEASTASIA:20200828T060252Z:5b200a24-1563-4b84-a34c-a9148b393de9", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6fac29af-8281-4fb7-870b-d13ac8568015?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6fac29af-8281-4fb7-870b-d13ac8568015?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "6fac29af-8281-4fb7-870b-d13ac8568015", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6fac29af-8281-4fb7-870b-d13ac8568015?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6fac29af-8281-4fb7-870b-d13ac8568015?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.8; Windows 10; 10.0)" }, @@ -145,14 +145,14 @@ "x-content-type-options" : "nosniff", "x-ms-routing-request-id" : "SOUTHEASTASIA:20200828T060309Z:d1c8061c-1a49-4b91-b0f7-f9ddf7b768df", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6fac29af-8281-4fb7-870b-d13ac8568015?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6fac29af-8281-4fb7-870b-d13ac8568015?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "9ed88ae5-d618-4516-b6bd-0a1b83dc7559", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6fac29af-8281-4fb7-870b-d13ac8568015?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/6fac29af-8281-4fb7-870b-d13ac8568015?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.8; Windows 10; 10.0)" }, @@ -176,7 +176,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv_0d844955bd37/providers/Microsoft.Storage/storageAccounts/stg328161738?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv_0d844955bd37/providers/Microsoft.Storage/storageAccounts/stg328161738?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.8; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -201,7 +201,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv_0d844955bd37/providers/Microsoft.Storage/storageAccounts/stg328161738/blobServices/default/containers/datacpt?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv_0d844955bd37/providers/Microsoft.Storage/storageAccounts/stg328161738/blobServices/default/containers/datacpt?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.8; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -226,7 +226,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv_0d844955bd37/providers/Microsoft.Storage/storageAccounts/stg328161738/blobServices/default/containers/datacpt?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnemv_0d844955bd37/providers/Microsoft.Storage/storageAccounts/stg328161738/blobServices/default/containers/datacpt?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.8; Windows 10; 10.0)", "Content-Type" : "application/json" diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/MonitorTests.testQueryMetricsAndActivityLogs.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/MonitorTests.testQueryMetricsAndActivityLogs.json index e80a18fc65b40..2c0b44de85a88 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/MonitorTests.testQueryMetricsAndActivityLogs.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/MonitorTests.testQueryMetricsAndActivityLogs.json @@ -25,7 +25,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgmonitorb78597476/providers/Microsoft.Storage/storageAccounts/samonitorac332875e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgmonitorb78597476/providers/Microsoft.Storage/storageAccounts/samonitorac332875e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management.storage/2.0.0 (13.0.1; Windows 10 10.0)", "Content-Type" : "application/json" @@ -44,14 +44,14 @@ "x-content-type-options" : "nosniff", "x-ms-routing-request-id" : "SOUTHEASTASIA:20200424T074758Z:a06be307-3ac4-414b-ae75-4e783d947116", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/634daa9f-91b3-426c-b15a-7f530c798a38?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/634daa9f-91b3-426c-b15a-7f530c798a38?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "634daa9f-91b3-426c-b15a-7f530c798a38", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/634daa9f-91b3-426c-b15a-7f530c798a38?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/634daa9f-91b3-426c-b15a-7f530c798a38?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (13.0.1; Windows 10 10.0)" }, @@ -75,7 +75,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgmonitorb78597476/providers/Microsoft.Storage/storageAccounts/samonitorac332875e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgmonitorb78597476/providers/Microsoft.Storage/storageAccounts/samonitorac332875e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management.storage/2.0.0 (13.0.1; Windows 10 10.0)", "Content-Type" : "application/json" @@ -100,7 +100,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgmonitorb78597476/providers/Microsoft.Storage/storageAccounts/samonitorac332875e/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgmonitorb78597476/providers/Microsoft.Storage/storageAccounts/samonitorac332875e/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management.storage/2.0.0 (13.0.1; Windows 10 10.0)", "Content-Type" : "application/json" diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/MonitorTests.testSecurityBreachOrRiskActivityLogAlerts.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/MonitorTests.testSecurityBreachOrRiskActivityLogAlerts.json index 6838ba4221b36..f4f7832c7d9d1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/MonitorTests.testSecurityBreachOrRiskActivityLogAlerts.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/MonitorTests.testSecurityBreachOrRiskActivityLogAlerts.json @@ -26,7 +26,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgmonitor61e240436/providers/Microsoft.Storage/storageAccounts/samonitor3df197141?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgmonitor61e240436/providers/Microsoft.Storage/storageAccounts/samonitor3df197141?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -46,14 +46,14 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200803T082759Z:14052abb-25ba-490c-8799-ea98305a5ecb", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/9f3b26b2-ae57-4c3f-9bdd-926e26ac9336?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/9f3b26b2-ae57-4c3f-9bdd-926e26ac9336?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "9f3b26b2-ae57-4c3f-9bdd-926e26ac9336", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/9f3b26b2-ae57-4c3f-9bdd-926e26ac9336?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/9f3b26b2-ae57-4c3f-9bdd-926e26ac9336?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" }, @@ -78,7 +78,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgmonitor61e240436/providers/Microsoft.Storage/storageAccounts/samonitor3df197141?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgmonitor61e240436/providers/Microsoft.Storage/storageAccounts/samonitor3df197141?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -156,7 +156,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgmonitor61e240436/providers/Microsoft.Storage/storageAccounts/samonitor3df197141/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgmonitor61e240436/providers/Microsoft.Storage/storageAccounts/samonitor3df197141/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/NetworkSampleTests.testManageApplicationGateway.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/NetworkSampleTests.testManageApplicationGateway.json index d19047e465620..960af0a936930 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/NetworkSampleTests.testManageApplicationGateway.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/NetworkSampleTests.testManageApplicationGateway.json @@ -115,7 +115,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgneag881604d/providers/Microsoft.Storage/storageAccounts/stgneag595842929?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgneag881604d/providers/Microsoft.Storage/storageAccounts/stgneag595842929?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "41e98ec6-3f25-4ad8-b6b0-876a93755518", @@ -139,7 +139,7 @@ "Body" : "", "x-ms-client-request-id" : "41e98ec6-3f25-4ad8-b6b0-876a93755518", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/e9c4e27e-5ea0-4b4c-8528-2c805a90df3f?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/e9c4e27e-5ea0-4b4c-8528-2c805a90df3f?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -263,7 +263,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgneag881604d/providers/Microsoft.Storage/storageAccounts/stgneag080944208?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgneag881604d/providers/Microsoft.Storage/storageAccounts/stgneag080944208?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "9074e274-b8ba-48f2-baf8-174797a394e7", @@ -287,7 +287,7 @@ "Body" : "", "x-ms-client-request-id" : "9074e274-b8ba-48f2-baf8-174797a394e7", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a9f19016-2594-4066-9f3a-6c23f39b40bb?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a9f19016-2594-4066-9f3a-6c23f39b40bb?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -1301,7 +1301,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/e9c4e27e-5ea0-4b4c-8528-2c805a90df3f?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/e9c4e27e-5ea0-4b4c-8528-2c805a90df3f?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "8117c162-2f95-4691-ab70-d5e2e0f01627" @@ -1328,7 +1328,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgneag881604d/providers/Microsoft.Storage/storageAccounts/stgneag595842929?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgneag881604d/providers/Microsoft.Storage/storageAccounts/stgneag595842929?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ba802f86-2ee8-40b4-9168-ba3151667020", @@ -1356,7 +1356,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a9f19016-2594-4066-9f3a-6c23f39b40bb?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a9f19016-2594-4066-9f3a-6c23f39b40bb?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "00951547-6273-4208-a2f5-3bad4842d2b3" @@ -1383,7 +1383,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgneag881604d/providers/Microsoft.Storage/storageAccounts/stgneag080944208?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgneag881604d/providers/Microsoft.Storage/storageAccounts/stgneag080944208?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "40dee0de-6641-4726-a013-0b29ec024098", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/NetworkSampleTests.testManagePrivateLink.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/NetworkSampleTests.testManagePrivateLink.json index ef8fcfb49bdb6..9a7af154ddc36 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/NetworkSampleTests.testManagePrivateLink.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/NetworkSampleTests.testManagePrivateLink.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg771580909/providers/Microsoft.Storage/storageAccounts/sa53856e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg771580909/providers/Microsoft.Storage/storageAccounts/sa53856e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a23c4b3c-c0d3-4840-b7de-3c26e539945d", @@ -51,12 +51,12 @@ "Body" : "", "x-ms-client-request-id" : "a23c4b3c-c0d3-4840-b7de-3c26e539945d", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/97196cfe-8296-4496-8aad-b0b040b30bb6?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/97196cfe-8296-4496-8aad-b0b040b30bb6?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/97196cfe-8296-4496-8aad-b0b040b30bb6?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/97196cfe-8296-4496-8aad-b0b040b30bb6?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a016540f-e434-4057-930c-281c40a5da2a" @@ -83,7 +83,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg771580909/providers/Microsoft.Storage/storageAccounts/sa53856e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg771580909/providers/Microsoft.Storage/storageAccounts/sa53856e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "002b8408-fb92-41b9-9d76-a27a554da06a", @@ -111,7 +111,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg771580909/providers/Microsoft.Storage/storageAccounts/sa53856e/privateLinkResources?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg771580909/providers/Microsoft.Storage/storageAccounts/sa53856e/privateLinkResources?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.5.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "dcbe51d6-3c5d-423c-b9d5-7596f629e1e8", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/NetworkSampleTests.testManageVirtualMachinesInParallelWithNetwork.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/NetworkSampleTests.testManageVirtualMachinesInParallelWithNetwork.json index 631fd83e6094f..0f6eb2affa97c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/NetworkSampleTests.testManageVirtualMachinesInParallelWithNetwork.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/NetworkSampleTests.testManageVirtualMachinesInParallelWithNetwork.json @@ -508,7 +508,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnepp46005359da8/providers/Microsoft.Storage/storageAccounts/stgcomv84822e35e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnepp46005359da8/providers/Microsoft.Storage/storageAccounts/stgcomv84822e35e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a61b324c-0d21-43d4-9efa-6d849e555458", @@ -532,7 +532,7 @@ "Body" : "", "x-ms-client-request-id" : "a61b324c-0d21-43d4-9efa-6d849e555458", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/4408d0bf-a901-4c66-b13f-e5ef7bad8a70?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/4408d0bf-a901-4c66-b13f-e5ef7bad8a70?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -568,7 +568,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/4408d0bf-a901-4c66-b13f-e5ef7bad8a70?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/4408d0bf-a901-4c66-b13f-e5ef7bad8a70?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "732fa966-3195-48d3-a9b5-7daaf3ac8dd7" @@ -595,7 +595,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnepp46005359da8/providers/Microsoft.Storage/storageAccounts/stgcomv84822e35e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnepp46005359da8/providers/Microsoft.Storage/storageAccounts/stgcomv84822e35e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4de368fd-2b16-491e-9252-685567fd5a5f", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ResourceSampleTests.testManageLocks.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ResourceSampleTests.testManageLocks.json index ba6e35b0ce96e..f688ff7f84f56 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ResourceSampleTests.testManageLocks.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ResourceSampleTests.testManageLocks.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg90576ec36/providers/Microsoft.Storage/storageAccounts/st321626136?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg90576ec36/providers/Microsoft.Storage/storageAccounts/st321626136?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (11.0.8; Windows 10; 10.0)", "x-ms-client-request-id" : "c1c45af1-a0db-4a1a-8269-15f8e3256cce", @@ -51,7 +51,7 @@ "Body" : "", "x-ms-client-request-id" : "c1c45af1-a0db-4a1a-8269-15f8e3256cce", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/6a4b4589-8554-4d53-a486-e4ef759fb418?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/6a4b4589-8554-4d53-a486-e4ef759fb418?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -296,7 +296,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/6a4b4589-8554-4d53-a486-e4ef759fb418?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/6a4b4589-8554-4d53-a486-e4ef759fb418?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.8; Windows 10; 10.0)", "x-ms-client-request-id" : "ac03c9ef-a389-49a1-93a1-dd39421a8137" @@ -323,7 +323,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg90576ec36/providers/Microsoft.Storage/storageAccounts/st321626136?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg90576ec36/providers/Microsoft.Storage/storageAccounts/st321626136?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (11.0.8; Windows 10; 10.0)", "x-ms-client-request-id" : "bc1e0fe1-3703-4ca9-a415-5432ed6f3964", diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ResourceSampleTests.testManageResource.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ResourceSampleTests.testManageResource.json index 5b1c9a48d214e..7b14c9c9984dd 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ResourceSampleTests.testManageResource.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/ResourceSampleTests.testManageResource.json @@ -26,7 +26,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgrsmr6bf09437d5be8/providers/Microsoft.Storage/storageAccounts/rn10391261024897e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgrsmr6bf09437d5be8/providers/Microsoft.Storage/storageAccounts/rn10391261024897e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -46,14 +46,14 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200803T082809Z:5e0f13c5-1b8b-4333-8901-cc0e709f4997", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/857594f9-8769-4f02-84a8-162eb823e033?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/857594f9-8769-4f02-84a8-162eb823e033?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "857594f9-8769-4f02-84a8-162eb823e033", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/857594f9-8769-4f02-84a8-162eb823e033?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/857594f9-8769-4f02-84a8-162eb823e033?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" }, @@ -78,7 +78,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgrsmr6bf09437d5be8/providers/Microsoft.Storage/storageAccounts/rn10391261024897e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgrsmr6bf09437d5be8/providers/Microsoft.Storage/storageAccounts/rn10391261024897e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -104,7 +104,7 @@ } }, { "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgrsmr6bf09437d5be8/providers/Microsoft.Storage/storageAccounts/rn10391261024897e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgrsmr6bf09437d5be8/providers/Microsoft.Storage/storageAccounts/rn10391261024897e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -130,7 +130,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgrsmr6bf09437d5be8/providers/Microsoft.Storage/storageAccounts/rn224648765753d6b?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgrsmr6bf09437d5be8/providers/Microsoft.Storage/storageAccounts/rn224648765753d6b?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -150,14 +150,14 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200803T082837Z:574e5c99-6a2c-4ed0-a128-eb2f2f789d68", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/cc5315a5-abb3-40ca-bb3c-b3911fa72f27?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/cc5315a5-abb3-40ca-bb3c-b3911fa72f27?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "cc5315a5-abb3-40ca-bb3c-b3911fa72f27", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/cc5315a5-abb3-40ca-bb3c-b3911fa72f27?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/cc5315a5-abb3-40ca-bb3c-b3911fa72f27?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" }, @@ -182,7 +182,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgrsmr6bf09437d5be8/providers/Microsoft.Storage/storageAccounts/rn224648765753d6b?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgrsmr6bf09437d5be8/providers/Microsoft.Storage/storageAccounts/rn224648765753d6b?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -208,7 +208,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -234,7 +234,7 @@ } }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgrsmr6bf09437d5be8/providers/Microsoft.Storage/storageAccounts/rn224648765753d6b?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgrsmr6bf09437d5be8/providers/Microsoft.Storage/storageAccounts/rn224648765753d6b?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/SqlSampleTests.testManageSqlServerSecurityAlertPolicy.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/SqlSampleTests.testManageSqlServerSecurityAlertPolicy.json index 1a6dab1c29903..f4aa9579cc781 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/SqlSampleTests.testManageSqlServerSecurityAlertPolicy.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/SqlSampleTests.testManageSqlServerSecurityAlertPolicy.json @@ -358,7 +358,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsql229193082b6/providers/Microsoft.Storage/storageAccounts/sqlsaf4441395be7?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsql229193082b6/providers/Microsoft.Storage/storageAccounts/sqlsaf4441395be7?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -378,14 +378,14 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200803T083511Z:19a5ffdd-00f5-4e6d-b99f-c95aec8e61a0", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2e76bce0-0701-4223-94f5-1fb309047867?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2e76bce0-0701-4223-94f5-1fb309047867?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "2e76bce0-0701-4223-94f5-1fb309047867", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2e76bce0-0701-4223-94f5-1fb309047867?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2e76bce0-0701-4223-94f5-1fb309047867?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" }, @@ -410,7 +410,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsql229193082b6/providers/Microsoft.Storage/storageAccounts/sqlsaf4441395be7?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsql229193082b6/providers/Microsoft.Storage/storageAccounts/sqlsaf4441395be7?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -436,7 +436,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsql229193082b6/providers/Microsoft.Storage/storageAccounts/sqlsaf4441395be7/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsql229193082b6/providers/Microsoft.Storage/storageAccounts/sqlsaf4441395be7/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/StorageSampleTests.testManageStorageAccount.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/StorageSampleTests.testManageStorageAccount.json index 50363dca30297..20c6efafa827c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/StorageSampleTests.testManageStorageAccount.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/StorageSampleTests.testManageStorageAccount.json @@ -26,7 +26,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa30522?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa30522?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -46,14 +46,14 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200803T082758Z:c72ac80a-c52f-4bf1-b319-944ce88ea8d1", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/18db5554-4716-4af0-a326-6be66940a047?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/18db5554-4716-4af0-a326-6be66940a047?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "18db5554-4716-4af0-a326-6be66940a047", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/18db5554-4716-4af0-a326-6be66940a047?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/18db5554-4716-4af0-a326-6be66940a047?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" }, @@ -78,7 +78,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa30522?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa30522?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -104,7 +104,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa30522/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa30522/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -130,7 +130,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa30522/regenerateKey?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa30522/regenerateKey?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -181,7 +181,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa275211?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa275211?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -201,14 +201,14 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200803T082824Z:76f9e3d1-780b-4ce9-a63b-80560fb0e971", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/8245c0b4-b69c-4083-8b7a-8c19d9c7dd71?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/8245c0b4-b69c-4083-8b7a-8c19d9c7dd71?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "8245c0b4-b69c-4083-8b7a-8c19d9c7dd71", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/8245c0b4-b69c-4083-8b7a-8c19d9c7dd71?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/8245c0b4-b69c-4083-8b7a-8c19d9c7dd71?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" }, @@ -233,7 +233,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa275211?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa275211?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -259,7 +259,7 @@ } }, { "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa275211?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa275211?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -310,7 +310,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa357478?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa357478?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -330,14 +330,14 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200803T082851Z:455ef872-2286-4c5f-ba86-d7d2a3161a52", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/698e5842-6dd9-47a9-bd2f-7ad345b5321c?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/698e5842-6dd9-47a9-bd2f-7ad345b5321c?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "698e5842-6dd9-47a9-bd2f-7ad345b5321c", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/698e5842-6dd9-47a9-bd2f-7ad345b5321c?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/698e5842-6dd9-47a9-bd2f-7ad345b5321c?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" }, @@ -362,7 +362,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa357478?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa357478?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -388,7 +388,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -414,7 +414,7 @@ } }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa30522?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/8a279210/providers/Microsoft.Storage/storageAccounts/sa30522?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/StorageSampleTests.testManageStorageAccountAsync.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/StorageSampleTests.testManageStorageAccountAsync.json index 82126459d0e1b..3946c6dc786f8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/StorageSampleTests.testManageStorageAccountAsync.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/StorageSampleTests.testManageStorageAccountAsync.json @@ -51,7 +51,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa62494?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa62494?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -71,14 +71,14 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200803T082923Z:0a4e6fee-a575-445d-9162-84afc7d21c9c", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5861d296-1e83-498a-97a4-53b924acdace?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5861d296-1e83-498a-97a4-53b924acdace?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "5861d296-1e83-498a-97a4-53b924acdace", "Body" : "" } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa200084?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa200084?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -98,14 +98,14 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200803T082923Z:50c28864-f376-4737-9a35-5283db324d48", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ae6fa7e2-9c79-4301-ae89-4cf3e083baef?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ae6fa7e2-9c79-4301-ae89-4cf3e083baef?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "ae6fa7e2-9c79-4301-ae89-4cf3e083baef", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5861d296-1e83-498a-97a4-53b924acdace?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5861d296-1e83-498a-97a4-53b924acdace?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" }, @@ -130,7 +130,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ae6fa7e2-9c79-4301-ae89-4cf3e083baef?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ae6fa7e2-9c79-4301-ae89-4cf3e083baef?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.3; Windows 10; 10.0)" }, @@ -155,7 +155,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa62494?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa62494?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -181,7 +181,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa200084?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa200084?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -207,7 +207,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -233,7 +233,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa62494/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa62494/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -259,7 +259,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa200084/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa200084/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -285,7 +285,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa62494/regenerateKey?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa62494/regenerateKey?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -311,7 +311,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa200084/regenerateKey?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa200084/regenerateKey?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -337,7 +337,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -363,7 +363,7 @@ } }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa200084?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa200084?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" @@ -389,7 +389,7 @@ } }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa62494?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ef0acb64/providers/Microsoft.Storage/storageAccounts/sa62494?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.0.0-beta.4 (11.0.3; Windows 10; 10.0)", "Content-Type" : "application/json" diff --git a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/StorageSampleTests.testManageStorageAccountNetworkRules.json b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/StorageSampleTests.testManageStorageAccountNetworkRules.json index dd68927b8b709..43287a1fbfaa4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/StorageSampleTests.testManageStorageAccountNetworkRules.json +++ b/sdk/resourcemanager/azure-resourcemanager-samples/src/test/resources/session-records/StorageSampleTests.testManageStorageAccountNetworkRules.json @@ -144,7 +144,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/417b4f8b/providers/Microsoft.Storage/storageAccounts/sa24071?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/417b4f8b/providers/Microsoft.Storage/storageAccounts/sa24071?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (11.0.8; Windows 10; 10.0)", "x-ms-client-request-id" : "a0efed5e-a072-45b0-b007-eb200581d436", @@ -168,12 +168,12 @@ "Body" : "", "x-ms-client-request-id" : "a0efed5e-a072-45b0-b007-eb200581d436", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/175d9390-acd3-4c31-ad9a-3109868dde1e?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/175d9390-acd3-4c31-ad9a-3109868dde1e?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/175d9390-acd3-4c31-ad9a-3109868dde1e?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/175d9390-acd3-4c31-ad9a-3109868dde1e?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (11.0.8; Windows 10; 10.0)", "x-ms-client-request-id" : "a5d58784-3f66-4a36-81b8-7be658e5a1c9" @@ -200,7 +200,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/417b4f8b/providers/Microsoft.Storage/storageAccounts/sa24071?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/417b4f8b/providers/Microsoft.Storage/storageAccounts/sa24071?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (11.0.8; Windows 10; 10.0)", "x-ms-client-request-id" : "24b3938c-2d1b-4b9c-ae2a-912ab93a9b48", @@ -580,7 +580,7 @@ "Exception" : null }, { "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/417b4f8b/providers/Microsoft.Storage/storageAccounts/sa24071?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/417b4f8b/providers/Microsoft.Storage/storageAccounts/sa24071?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (11.0.8; Windows 10; 10.0)", "x-ms-client-request-id" : "85bc9d40-cd5f-4ba5-a92a-82d094e457fa", @@ -608,7 +608,7 @@ "Exception" : null }, { "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/417b4f8b/providers/Microsoft.Storage/storageAccounts/sa24071?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/417b4f8b/providers/Microsoft.Storage/storageAccounts/sa24071?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (11.0.8; Windows 10; 10.0)", "x-ms-client-request-id" : "c98f755a-af46-4e0a-8059-bf066f74ccdb", diff --git a/sdk/resourcemanager/azure-resourcemanager-sql/src/test/resources/session-records/SqlServerOperationsTests.canCRUDSqlServerWithImportDatabase.json b/sdk/resourcemanager/azure-resourcemanager-sql/src/test/resources/session-records/SqlServerOperationsTests.canCRUDSqlServerWithImportDatabase.json index b9e77e743e838..6a8c5a1d6a19c 100644 --- a/sdk/resourcemanager/azure-resourcemanager-sql/src/test/resources/session-records/SqlServerOperationsTests.canCRUDSqlServerWithImportDatabase.json +++ b/sdk/resourcemanager/azure-resourcemanager-sql/src/test/resources/session-records/SqlServerOperationsTests.canCRUDSqlServerWithImportDatabase.json @@ -344,7 +344,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsqlf5639760b91/providers/Microsoft.Storage/storageAccounts/90cbb0d845c143dcae05c0?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsqlf5639760b91/providers/Microsoft.Storage/storageAccounts/90cbb0d845c143dcae05c0?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -368,7 +368,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsqlf5639760b91/providers/Microsoft.Storage/storageAccounts/90cbb0d845c143dcae05c0?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsqlf5639760b91/providers/Microsoft.Storage/storageAccounts/90cbb0d845c143dcae05c0?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)", "Content-Type" : "application/json" @@ -388,14 +388,14 @@ "x-ms-routing-request-id" : "KOREASOUTH:20200226T081302Z:826ff2e8-9bfd-4fb2-a1b7-ed80e22539b9", "connection" : "keep-alive", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/6ce46d76-73cc-4922-9a5a-42cb17fa00fe?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/6ce46d76-73cc-4922-9a5a-42cb17fa00fe?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "6ce46d76-73cc-4922-9a5a-42cb17fa00fe", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/6ce46d76-73cc-4922-9a5a-42cb17fa00fe?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/6ce46d76-73cc-4922-9a5a-42cb17fa00fe?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -421,7 +421,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsqlf5639760b91/providers/Microsoft.Storage/storageAccounts/90cbb0d845c143dcae05c0?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsqlf5639760b91/providers/Microsoft.Storage/storageAccounts/90cbb0d845c143dcae05c0?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -447,7 +447,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsqlf5639760b91/providers/Microsoft.Storage/storageAccounts/90cbb0d845c143dcae05c0/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsqlf5639760b91/providers/Microsoft.Storage/storageAccounts/90cbb0d845c143dcae05c0/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -800,7 +800,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsqlf5639760b91/providers/Microsoft.Storage/storageAccounts/90cbb0d845c143dcae05c0?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsqlf5639760b91/providers/Microsoft.Storage/storageAccounts/90cbb0d845c143dcae05c0?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, @@ -906,7 +906,7 @@ } }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsqlf5639760b91/providers/Microsoft.Storage/storageAccounts/90cbb0d845c143dcae05c0/listKeys?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgsqlf5639760b91/providers/Microsoft.Storage/storageAccounts/90cbb0d845c143dcae05c0/listKeys?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.management/null (1.8.0_231; Windows 10 10.0)" }, diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/CHANGELOG.md b/sdk/resourcemanager/azure-resourcemanager-storage/CHANGELOG.md index 2741e2dfb515c..12d064310655d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/CHANGELOG.md +++ b/sdk/resourcemanager/azure-resourcemanager-storage/CHANGELOG.md @@ -2,14 +2,16 @@ ## 2.12.0-beta.1 (Unreleased) -### Features Added - ### Breaking Changes -### Bugs Fixed +- Remove field `STORAGE_FILE_DATA_SMB_SHARE_OWNER` from class `DefaultSharePermission`. ### Other Changes +#### Dependency Updates + +- Updated `api-version` to `2021-08-01`. + ## 2.11.0 (2022-01-17) ### Other Changes diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/pom.xml b/sdk/resourcemanager/azure-resourcemanager-storage/pom.xml index 19a7fe9b2e3b8..4110ee817eabe 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/pom.xml +++ b/sdk/resourcemanager/azure-resourcemanager-storage/pom.xml @@ -43,6 +43,7 @@ --add-opens com.azure.resourcemanager.storage/com.azure.resourcemanager.storage=ALL-UNNAMED + true diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/BlobContainersClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/BlobContainersClient.java index 6e8e897e27152..fcea282e820fb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/BlobContainersClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/BlobContainersClient.java @@ -45,7 +45,7 @@ public interface BlobContainersClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync( @@ -62,7 +62,7 @@ PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String accountName); @@ -78,7 +78,7 @@ PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName); @@ -98,7 +98,7 @@ PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list( @@ -124,7 +124,8 @@ PagedIterable list( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the blob container, including Id, resource name, resource type, Etag. + * @return properties of the blob container, including Id, resource name, resource type, Etag along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> createWithResponseAsync( @@ -145,7 +146,8 @@ Mono> createWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the blob container, including Id, resource name, resource type, Etag. + * @return properties of the blob container, including Id, resource name, resource type, Etag on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono createAsync( @@ -188,7 +190,8 @@ BlobContainerInner create( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the blob container, including Id, resource name, resource type, Etag. + * @return properties of the blob container, including Id, resource name, resource type, Etag along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response createWithResponse( @@ -213,7 +216,8 @@ Response createWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the blob container, including Id, resource name, resource type, Etag. + * @return properties of the blob container, including Id, resource name, resource type, Etag along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> updateWithResponseAsync( @@ -234,7 +238,8 @@ Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the blob container, including Id, resource name, resource type, Etag. + * @return properties of the blob container, including Id, resource name, resource type, Etag on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono updateAsync( @@ -277,7 +282,8 @@ BlobContainerInner update( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the blob container, including Id, resource name, resource type, Etag. + * @return properties of the blob container, including Id, resource name, resource type, Etag along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response updateWithResponse( @@ -300,7 +306,7 @@ Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified container. + * @return properties of a specified container along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getWithResponseAsync( @@ -319,7 +325,7 @@ Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified container. + * @return properties of a specified container on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getAsync(String resourceGroupName, String accountName, String containerName); @@ -356,7 +362,7 @@ Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified container. + * @return properties of a specified container along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getWithResponse( @@ -375,7 +381,7 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> deleteWithResponseAsync(String resourceGroupName, String accountName, String containerName); @@ -393,7 +399,7 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono deleteAsync(String resourceGroupName, String accountName, String containerName); @@ -429,7 +435,7 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response deleteWithResponse( @@ -450,7 +456,8 @@ Response deleteWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the LegalHold property of a blob container. + * @return the LegalHold property of a blob container along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> setLegalHoldWithResponseAsync( @@ -471,7 +478,7 @@ Mono> setLegalHoldWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the LegalHold property of a blob container. + * @return the LegalHold property of a blob container on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono setLegalHoldAsync( @@ -514,7 +521,7 @@ LegalHoldInner setLegalHold( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the LegalHold property of a blob container. + * @return the LegalHold property of a blob container along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response setLegalHoldWithResponse( @@ -535,7 +542,8 @@ Response setLegalHoldWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the LegalHold property of a blob container. + * @return the LegalHold property of a blob container along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> clearLegalHoldWithResponseAsync( @@ -556,7 +564,7 @@ Mono> clearLegalHoldWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the LegalHold property of a blob container. + * @return the LegalHold property of a blob container on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono clearLegalHoldAsync( @@ -599,7 +607,7 @@ LegalHoldInner clearLegalHold( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the LegalHold property of a blob container. + * @return the LegalHold property of a blob container along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response clearLegalHoldWithResponse( @@ -623,7 +631,8 @@ Response clearLegalHoldWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono createOrUpdateImmutabilityPolicyWithResponseAsync( @@ -651,7 +660,8 @@ Mono createOrUpdateImmut * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono createOrUpdateImmutabilityPolicyAsync( @@ -675,7 +685,8 @@ Mono createOrUpdateImmutabilityPolicyAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono createOrUpdateImmutabilityPolicyAsync( @@ -747,7 +758,8 @@ BlobContainersCreateOrUpdateImmutabilityPolicyResponse createOrUpdateImmutabilit * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the existing immutability policy along with the corresponding ETag in response headers and body. + * @return the existing immutability policy along with the corresponding ETag in response headers and body on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getImmutabilityPolicyWithResponseAsync( @@ -769,7 +781,8 @@ Mono getImmutabilityPolicyWithRespo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the existing immutability policy along with the corresponding ETag in response headers and body. + * @return the existing immutability policy along with the corresponding ETag in response headers and body on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getImmutabilityPolicyAsync( @@ -788,7 +801,8 @@ Mono getImmutabilityPolicyAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the existing immutability policy along with the corresponding ETag in response headers and body. + * @return the existing immutability policy along with the corresponding ETag in response headers and body on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getImmutabilityPolicyAsync( @@ -853,7 +867,8 @@ BlobContainersGetImmutabilityPolicyResponse getImmutabilityPolicyWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono deleteImmutabilityPolicyWithResponseAsync( @@ -877,7 +892,8 @@ Mono deleteImmutabilityPolicyWit * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono deleteImmutabilityPolicyAsync( @@ -949,7 +965,8 @@ BlobContainersDeleteImmutabilityPolicyResponse deleteImmutabilityPolicyWithRespo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono lockImmutabilityPolicyWithResponseAsync( @@ -972,7 +989,8 @@ Mono lockImmutabilityPolicyWithRes * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono lockImmutabilityPolicyAsync( @@ -1043,7 +1061,8 @@ BlobContainersLockImmutabilityPolicyResponse lockImmutabilityPolicyWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono extendImmutabilityPolicyWithResponseAsync( @@ -1071,7 +1090,8 @@ Mono extendImmutabilityPolicyWit * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono extendImmutabilityPolicyAsync( @@ -1098,7 +1118,8 @@ Mono extendImmutabilityPolicyAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono extendImmutabilityPolicyAsync( @@ -1172,7 +1193,7 @@ BlobContainersExtendImmutabilityPolicyResponse extendImmutabilityPolicyWithRespo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Container response schema. + * @return lease Container response schema along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> leaseWithResponseAsync( @@ -1193,7 +1214,7 @@ Mono> leaseWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Container response schema. + * @return lease Container response schema on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono leaseAsync( @@ -1213,7 +1234,7 @@ Mono leaseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Container response schema. + * @return lease Container response schema on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono leaseAsync(String resourceGroupName, String accountName, String containerName); @@ -1253,7 +1274,7 @@ Mono leaseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Container response schema. + * @return lease Container response schema along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response leaseWithResponse( @@ -1278,7 +1299,7 @@ Response leaseWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> objectLevelWormWithResponseAsync( @@ -1299,7 +1320,7 @@ Mono>> objectLevelWormWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, Void> beginObjectLevelWormAsync( @@ -1320,7 +1341,7 @@ PollerFlux, Void> beginObjectLevelWormAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginObjectLevelWorm( @@ -1342,7 +1363,7 @@ SyncPoller, Void> beginObjectLevelWorm( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginObjectLevelWorm( @@ -1363,7 +1384,7 @@ SyncPoller, Void> beginObjectLevelWorm( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono objectLevelWormAsync(String resourceGroupName, String accountName, String containerName); diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/BlobInventoryPoliciesClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/BlobInventoryPoliciesClient.java index cb776f6660430..3898d3e034d47 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/BlobInventoryPoliciesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/BlobInventoryPoliciesClient.java @@ -28,7 +28,8 @@ public interface BlobInventoryPoliciesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getWithResponseAsync( @@ -46,7 +47,8 @@ Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getAsync( @@ -83,7 +85,7 @@ BlobInventoryPolicyInner get( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getWithResponse( @@ -102,7 +104,8 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account blob inventory policy. + * @return the storage account blob inventory policy along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> createOrUpdateWithResponseAsync( @@ -124,7 +127,7 @@ Mono> createOrUpdateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account blob inventory policy. + * @return the storage account blob inventory policy on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono createOrUpdateAsync( @@ -169,7 +172,7 @@ BlobInventoryPolicyInner createOrUpdate( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account blob inventory policy. + * @return the storage account blob inventory policy along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response createOrUpdateWithResponse( @@ -191,7 +194,7 @@ Response createOrUpdateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> deleteWithResponseAsync( @@ -209,7 +212,7 @@ Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono deleteAsync( @@ -244,7 +247,7 @@ Mono deleteAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response deleteWithResponse( @@ -260,7 +263,8 @@ Response deleteWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account as paginated response with {@link + * PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String accountName); @@ -275,7 +279,8 @@ Response deleteWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account as paginated response with {@link + * PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName); @@ -291,7 +296,8 @@ Response deleteWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account as paginated response with {@link + * PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName, Context context); diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/BlobServicesClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/BlobServicesClient.java index 77527637bbb47..b972f26a60160 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/BlobServicesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/BlobServicesClient.java @@ -25,7 +25,7 @@ public interface BlobServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String accountName); @@ -40,7 +40,7 @@ public interface BlobServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName); @@ -56,7 +56,7 @@ public interface BlobServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName, Context context); @@ -74,7 +74,8 @@ public interface BlobServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Blob service. + * @return the properties of a storage account’s Blob service along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> setServicePropertiesWithResponseAsync( @@ -93,7 +94,7 @@ Mono> setServicePropertiesWithResponseAsync * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Blob service. + * @return the properties of a storage account’s Blob service on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono setServicePropertiesAsync( @@ -132,7 +133,7 @@ BlobServicePropertiesInner setServiceProperties( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Blob service. + * @return the properties of a storage account’s Blob service along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response setServicePropertiesWithResponse( @@ -150,7 +151,7 @@ Response setServicePropertiesWithResponse( * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getServicePropertiesWithResponseAsync( @@ -168,7 +169,7 @@ Mono> getServicePropertiesWithResponseAsync * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getServicePropertiesAsync(String resourceGroupName, String accountName); @@ -203,7 +204,7 @@ Mono> getServicePropertiesWithResponseAsync * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getServicePropertiesWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/DeletedAccountsClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/DeletedAccountsClient.java index 8e7fce46b94a3..4abf6f91d3086 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/DeletedAccountsClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/DeletedAccountsClient.java @@ -20,7 +20,7 @@ public interface DeletedAccountsClient { * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Deleted Accounts operation. + * @return the response from the List Deleted Accounts operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(); @@ -30,7 +30,7 @@ public interface DeletedAccountsClient { * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Deleted Accounts operation. + * @return the response from the List Deleted Accounts operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(); @@ -42,7 +42,7 @@ public interface DeletedAccountsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Deleted Accounts operation. + * @return the response from the List Deleted Accounts operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(Context context); @@ -55,7 +55,8 @@ public interface DeletedAccountsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of specified deleted account resource. + * @return properties of specified deleted account resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getWithResponseAsync(String deletedAccountName, String location); @@ -68,7 +69,7 @@ public interface DeletedAccountsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of specified deleted account resource. + * @return properties of specified deleted account resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getAsync(String deletedAccountName, String location); @@ -95,7 +96,7 @@ public interface DeletedAccountsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of specified deleted account resource. + * @return properties of specified deleted account resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getWithResponse(String deletedAccountName, String location, Context context); diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/EncryptionScopesClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/EncryptionScopesClient.java index 1b89c8eb66d95..77576ed2de2c2 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/EncryptionScopesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/EncryptionScopesClient.java @@ -31,7 +31,7 @@ public interface EncryptionScopesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> putWithResponseAsync( @@ -53,7 +53,7 @@ Mono> putWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono putAsync( @@ -98,7 +98,7 @@ EncryptionScopeInner put( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response putWithResponse( @@ -123,7 +123,7 @@ Response putWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> patchWithResponseAsync( @@ -144,7 +144,7 @@ Mono> patchWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono patchAsync( @@ -187,7 +187,7 @@ EncryptionScopeInner patch( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response patchWithResponse( @@ -210,7 +210,7 @@ Response patchWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getWithResponseAsync( @@ -229,7 +229,7 @@ Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getAsync(String resourceGroupName, String accountName, String encryptionScopeName); @@ -266,7 +266,7 @@ Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getWithResponse( @@ -283,7 +283,7 @@ Response getWithResponse( * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return list of encryption scopes requested, and if paging is required, a URL to the next page of encryption - * scopes. + * scopes as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String accountName); @@ -299,7 +299,7 @@ Response getWithResponse( * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return list of encryption scopes requested, and if paging is required, a URL to the next page of encryption - * scopes. + * scopes as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName); @@ -316,7 +316,7 @@ Response getWithResponse( * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return list of encryption scopes requested, and if paging is required, a URL to the next page of encryption - * scopes. + * scopes as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName, Context context); diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/FileServicesClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/FileServicesClient.java index b5c708693c306..5baed2ff9bb57 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/FileServicesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/FileServicesClient.java @@ -24,7 +24,7 @@ public interface FileServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> listWithResponseAsync(String resourceGroupName, String accountName); @@ -39,7 +39,7 @@ public interface FileServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono listAsync(String resourceGroupName, String accountName); @@ -70,7 +70,7 @@ public interface FileServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response listWithResponse(String resourceGroupName, String accountName, Context context); @@ -87,7 +87,8 @@ public interface FileServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of File services in storage account. + * @return the properties of File services in storage account along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> setServicePropertiesWithResponseAsync( @@ -105,7 +106,7 @@ Mono> setServicePropertiesWithResponseAsync * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of File services in storage account. + * @return the properties of File services in storage account on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono setServicePropertiesAsync( @@ -142,7 +143,7 @@ FileServicePropertiesInner setServiceProperties( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of File services in storage account. + * @return the properties of File services in storage account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response setServicePropertiesWithResponse( @@ -158,8 +159,8 @@ Response setServicePropertiesWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) - * rules. + * @return the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules + * along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getServicePropertiesWithResponseAsync( @@ -175,8 +176,8 @@ Mono> getServicePropertiesWithResponseAsync * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) - * rules. + * @return the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules + * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getServicePropertiesAsync(String resourceGroupName, String accountName); @@ -208,8 +209,8 @@ Mono> getServicePropertiesWithResponseAsync * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) - * rules. + * @return the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules + * along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getServicePropertiesWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/FileSharesClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/FileSharesClient.java index 31277091fc9a3..f29955c34fdeb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/FileSharesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/FileSharesClient.java @@ -34,7 +34,7 @@ public interface FileSharesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync( @@ -50,7 +50,7 @@ PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String accountName); @@ -65,7 +65,7 @@ PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName); @@ -85,7 +85,7 @@ PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list( @@ -113,7 +113,8 @@ PagedIterable list( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> createWithResponseAsync( @@ -136,7 +137,8 @@ Mono> createWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono createAsync( @@ -157,7 +159,8 @@ Mono createAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono createAsync( @@ -201,7 +204,8 @@ Mono createAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response createWithResponse( @@ -227,7 +231,8 @@ Response createWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> updateWithResponseAsync( @@ -248,7 +253,8 @@ Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono updateAsync( @@ -290,7 +296,8 @@ Mono updateAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response updateWithResponse( @@ -312,7 +319,7 @@ Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified share. + * @return properties of a specified share along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getWithResponseAsync( @@ -334,7 +341,7 @@ Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified share. + * @return properties of a specified share on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getAsync( @@ -353,7 +360,7 @@ Mono getAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified share. + * @return properties of a specified share on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getAsync(String resourceGroupName, String accountName, String shareName); @@ -393,7 +400,7 @@ Mono getAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified share. + * @return properties of a specified share along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getWithResponse( @@ -423,7 +430,7 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> deleteWithResponseAsync( @@ -448,7 +455,7 @@ Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono deleteAsync( @@ -467,7 +474,7 @@ Mono deleteAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono deleteAsync(String resourceGroupName, String accountName, String shareName); @@ -509,7 +516,7 @@ Mono deleteAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response deleteWithResponse( @@ -534,7 +541,7 @@ Response deleteWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> restoreWithResponseAsync( @@ -554,7 +561,7 @@ Mono> restoreWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono restoreAsync(String resourceGroupName, String accountName, String shareName, DeletedShare deletedShare); @@ -592,7 +599,7 @@ Mono> restoreWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response restoreWithResponse( @@ -614,7 +621,7 @@ Response restoreWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Share response schema. + * @return lease Share response schema on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono leaseWithResponseAsync( @@ -640,7 +647,7 @@ Mono leaseWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Share response schema. + * @return lease Share response schema on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono leaseAsync( @@ -664,7 +671,7 @@ Mono leaseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Share response schema. + * @return lease Share response schema on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono leaseAsync(String resourceGroupName, String accountName, String shareName); diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/LocalUsersOperationsClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/LocalUsersOperationsClient.java new file mode 100644 index 0000000000000..3eb077335a78e --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/LocalUsersOperationsClient.java @@ -0,0 +1,427 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.fluent; + +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.LocalUserInner; +import com.azure.resourcemanager.storage.fluent.models.LocalUserKeysInner; +import com.azure.resourcemanager.storage.fluent.models.LocalUserRegeneratePasswordResultInner; +import reactor.core.publisher.Mono; + +/** An instance of this class provides access to all the operations defined in LocalUsersOperationsClient. */ +public interface LocalUsersOperationsClient { + /** + * List the local users associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list storage account local users as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedFlux listAsync(String resourceGroupName, String accountName); + + /** + * List the local users associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list storage account local users as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String accountName); + + /** + * List the local users associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list storage account local users as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + PagedIterable list(String resourceGroupName, String accountName, Context context); + + /** + * Get the local user of the storage account by username. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user of the storage account by username along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> getWithResponseAsync(String resourceGroupName, String accountName, String username); + + /** + * Get the local user of the storage account by username. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user of the storage account by username on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono getAsync(String resourceGroupName, String accountName, String username); + + /** + * Get the local user of the storage account by username. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user of the storage account by username. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + LocalUserInner get(String resourceGroupName, String accountName, String username); + + /** + * Get the local user of the storage account by username. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user of the storage account by username along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response getWithResponse( + String resourceGroupName, String accountName, String username, Context context); + + /** + * Create or update the properties of a local user associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param properties The local user associated with a storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user associated with the storage accounts along with {@link Response} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> createOrUpdateWithResponseAsync( + String resourceGroupName, String accountName, String username, LocalUserInner properties); + + /** + * Create or update the properties of a local user associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param properties The local user associated with a storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user associated with the storage accounts on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono createOrUpdateAsync( + String resourceGroupName, String accountName, String username, LocalUserInner properties); + + /** + * Create or update the properties of a local user associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param properties The local user associated with a storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user associated with the storage accounts. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + LocalUserInner createOrUpdate( + String resourceGroupName, String accountName, String username, LocalUserInner properties); + + /** + * Create or update the properties of a local user associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param properties The local user associated with a storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user associated with the storage accounts along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response createOrUpdateWithResponse( + String resourceGroupName, String accountName, String username, LocalUserInner properties, Context context); + + /** + * Deletes the local user associated with the specified storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> deleteWithResponseAsync(String resourceGroupName, String accountName, String username); + + /** + * Deletes the local user associated with the specified storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono deleteAsync(String resourceGroupName, String accountName, String username); + + /** + * Deletes the local user associated with the specified storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void delete(String resourceGroupName, String accountName, String username); + + /** + * Deletes the local user associated with the specified storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response deleteWithResponse(String resourceGroupName, String accountName, String username, Context context); + + /** + * List SSH authorized keys and shared key of the local user. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the Storage Account Local User keys along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> listKeysWithResponseAsync( + String resourceGroupName, String accountName, String username); + + /** + * List SSH authorized keys and shared key of the local user. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the Storage Account Local User keys on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono listKeysAsync(String resourceGroupName, String accountName, String username); + + /** + * List SSH authorized keys and shared key of the local user. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the Storage Account Local User keys. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + LocalUserKeysInner listKeys(String resourceGroupName, String accountName, String username); + + /** + * List SSH authorized keys and shared key of the local user. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the Storage Account Local User keys along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response listKeysWithResponse( + String resourceGroupName, String accountName, String username, Context context); + + /** + * Regenerate the local user SSH password. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the secrets of Storage Account Local User along with {@link Response} on successful completion of {@link + * Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono> regeneratePasswordWithResponseAsync( + String resourceGroupName, String accountName, String username); + + /** + * Regenerate the local user SSH password. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the secrets of Storage Account Local User on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono regeneratePasswordAsync( + String resourceGroupName, String accountName, String username); + + /** + * Regenerate the local user SSH password. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the secrets of Storage Account Local User. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + LocalUserRegeneratePasswordResultInner regeneratePassword( + String resourceGroupName, String accountName, String username); + + /** + * Regenerate the local user SSH password. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the secrets of Storage Account Local User along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Response regeneratePasswordWithResponse( + String resourceGroupName, String accountName, String username, Context context); +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/ManagementPoliciesClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/ManagementPoliciesClient.java index 9e6efdd5b9ac1..677fc01598f09 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/ManagementPoliciesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/ManagementPoliciesClient.java @@ -25,7 +25,8 @@ public interface ManagementPoliciesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the managementpolicy associated with the specified storage account. + * @return the managementpolicy associated with the specified storage account along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getWithResponseAsync( @@ -42,7 +43,8 @@ Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the managementpolicy associated with the specified storage account. + * @return the managementpolicy associated with the specified storage account on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getAsync( @@ -76,7 +78,7 @@ Mono getAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the managementpolicy associated with the specified storage account. + * @return the managementpolicy associated with the specified storage account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getWithResponse( @@ -94,7 +96,8 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Get Storage Account ManagementPolicies operation response. + * @return the Get Storage Account ManagementPolicies operation response along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> createOrUpdateWithResponseAsync( @@ -115,7 +118,7 @@ Mono> createOrUpdateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Get Storage Account ManagementPolicies operation response. + * @return the Get Storage Account ManagementPolicies operation response on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono createOrUpdateAsync( @@ -158,7 +161,7 @@ ManagementPolicyInner createOrUpdate( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Get Storage Account ManagementPolicies operation response. + * @return the Get Storage Account ManagementPolicies operation response along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response createOrUpdateWithResponse( @@ -179,7 +182,7 @@ Response createOrUpdateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> deleteWithResponseAsync( @@ -196,7 +199,7 @@ Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono deleteAsync(String resourceGroupName, String accountName, ManagementPolicyName managementPolicyName); @@ -228,7 +231,7 @@ Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response deleteWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/ObjectReplicationPoliciesOperationsClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/ObjectReplicationPoliciesOperationsClient.java index 9030cdc32485d..8e4361bedf324 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/ObjectReplicationPoliciesOperationsClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/ObjectReplicationPoliciesOperationsClient.java @@ -27,7 +27,7 @@ public interface ObjectReplicationPoliciesOperationsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list storage account object replication policies. + * @return list storage account object replication policies as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String accountName); @@ -42,7 +42,7 @@ public interface ObjectReplicationPoliciesOperationsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list storage account object replication policies. + * @return list storage account object replication policies as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName); @@ -58,7 +58,7 @@ public interface ObjectReplicationPoliciesOperationsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list storage account object replication policies. + * @return list storage account object replication policies as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName, Context context); @@ -77,7 +77,8 @@ public interface ObjectReplicationPoliciesOperationsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the object replication policy of the storage account by policy ID. + * @return the object replication policy of the storage account by policy ID along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getWithResponseAsync( @@ -97,7 +98,8 @@ Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the object replication policy of the storage account by policy ID. + * @return the object replication policy of the storage account by policy ID on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getAsync( @@ -137,7 +139,7 @@ Mono getAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the object replication policy of the storage account by policy ID. + * @return the object replication policy of the storage account by policy ID along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getWithResponse( @@ -159,7 +161,8 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the replication policy between two storage accounts. + * @return the replication policy between two storage accounts along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> createOrUpdateWithResponseAsync( @@ -184,7 +187,7 @@ Mono> createOrUpdateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the replication policy between two storage accounts. + * @return the replication policy between two storage accounts on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono createOrUpdateAsync( @@ -235,7 +238,7 @@ ObjectReplicationPolicyInner createOrUpdate( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the replication policy between two storage accounts. + * @return the replication policy between two storage accounts along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response createOrUpdateWithResponse( @@ -259,7 +262,7 @@ Response createOrUpdateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> deleteWithResponseAsync( @@ -279,7 +282,7 @@ Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono deleteAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId); @@ -317,7 +320,7 @@ Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response deleteWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/OperationsClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/OperationsClient.java index a39e134f065e0..fcf87dade2ad7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/OperationsClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/OperationsClient.java @@ -18,7 +18,7 @@ public interface OperationsClient { * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return result of the request to list Storage operations. + * @return result of the request to list Storage operations as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(); @@ -28,7 +28,7 @@ public interface OperationsClient { * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return result of the request to list Storage operations. + * @return result of the request to list Storage operations as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(); @@ -40,7 +40,7 @@ public interface OperationsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return result of the request to list Storage operations. + * @return result of the request to list Storage operations as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(Context context); diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/PrivateEndpointConnectionsClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/PrivateEndpointConnectionsClient.java index 101b38d93c095..e9f1cd62e129e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/PrivateEndpointConnectionsClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/PrivateEndpointConnectionsClient.java @@ -25,7 +25,8 @@ public interface PrivateEndpointConnectionsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of private endpoint connection associated with the specified storage account. + * @return list of private endpoint connection associated with the specified storage account as paginated response + * with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String accountName); @@ -40,7 +41,8 @@ public interface PrivateEndpointConnectionsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of private endpoint connection associated with the specified storage account. + * @return list of private endpoint connection associated with the specified storage account as paginated response + * with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName); @@ -56,7 +58,8 @@ public interface PrivateEndpointConnectionsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of private endpoint connection associated with the specified storage account. + * @return list of private endpoint connection associated with the specified storage account as paginated response + * with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName, Context context); @@ -73,7 +76,8 @@ public interface PrivateEndpointConnectionsClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified private endpoint connection associated with the storage account. + * @return the specified private endpoint connection associated with the storage account along with {@link Response} + * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getWithResponseAsync( @@ -91,7 +95,8 @@ Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified private endpoint connection associated with the storage account. + * @return the specified private endpoint connection associated with the storage account on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getAsync( @@ -128,7 +133,8 @@ PrivateEndpointConnectionInner get( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified private endpoint connection associated with the storage account. + * @return the specified private endpoint connection associated with the storage account along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getWithResponse( @@ -147,7 +153,8 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Private Endpoint Connection resource. + * @return the Private Endpoint Connection resource along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> putWithResponseAsync( @@ -169,7 +176,7 @@ Mono> putWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Private Endpoint Connection resource. + * @return the Private Endpoint Connection resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono putAsync( @@ -214,7 +221,7 @@ PrivateEndpointConnectionInner put( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Private Endpoint Connection resource. + * @return the Private Endpoint Connection resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response putWithResponse( @@ -236,7 +243,7 @@ Response putWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> deleteWithResponseAsync( @@ -254,7 +261,7 @@ Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono deleteAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName); @@ -288,7 +295,7 @@ Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response deleteWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/PrivateLinkResourcesClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/PrivateLinkResourcesClient.java index eb49e1c95989c..55e61855bde1f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/PrivateLinkResourcesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/PrivateLinkResourcesClient.java @@ -23,7 +23,8 @@ public interface PrivateLinkResourcesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the private link resources that need to be created for a storage account. + * @return the private link resources that need to be created for a storage account along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> listByStorageAccountWithResponseAsync( @@ -39,7 +40,8 @@ Mono> listByStorageAccountWithRespo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the private link resources that need to be created for a storage account. + * @return the private link resources that need to be created for a storage account on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono listByStorageAccountAsync(String resourceGroupName, String accountName); @@ -70,7 +72,7 @@ Mono> listByStorageAccountWithRespo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the private link resources that need to be created for a storage account. + * @return the private link resources that need to be created for a storage account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response listByStorageAccountWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/QueueServicesClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/QueueServicesClient.java index 39f1f34321793..a5f241d62ab89 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/QueueServicesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/QueueServicesClient.java @@ -24,7 +24,7 @@ public interface QueueServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> listWithResponseAsync(String resourceGroupName, String accountName); @@ -39,7 +39,7 @@ public interface QueueServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono listAsync(String resourceGroupName, String accountName); @@ -70,7 +70,7 @@ public interface QueueServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response listWithResponse(String resourceGroupName, String accountName, Context context); @@ -88,7 +88,8 @@ public interface QueueServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Queue service. + * @return the properties of a storage account’s Queue service along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> setServicePropertiesWithResponseAsync( @@ -107,7 +108,7 @@ Mono> setServicePropertiesWithResponseAsyn * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Queue service. + * @return the properties of a storage account’s Queue service on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono setServicePropertiesAsync( @@ -146,7 +147,7 @@ QueueServicePropertiesInner setServiceProperties( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Queue service. + * @return the properties of a storage account’s Queue service along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response setServicePropertiesWithResponse( @@ -164,7 +165,7 @@ Response setServicePropertiesWithResponse( * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getServicePropertiesWithResponseAsync( @@ -182,7 +183,7 @@ Mono> getServicePropertiesWithResponseAsyn * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getServicePropertiesAsync(String resourceGroupName, String accountName); @@ -217,7 +218,7 @@ Mono> getServicePropertiesWithResponseAsyn * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getServicePropertiesWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/QueuesClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/QueuesClient.java index 72473bd9baaa7..2d823fb373f01 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/QueuesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/QueuesClient.java @@ -30,7 +30,7 @@ public interface QueuesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> createWithResponseAsync( @@ -50,7 +50,7 @@ Mono> createWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono createAsync( @@ -90,7 +90,7 @@ Mono createAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response createWithResponse( @@ -110,7 +110,7 @@ Response createWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> updateWithResponseAsync( @@ -130,7 +130,7 @@ Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono updateAsync( @@ -170,7 +170,7 @@ Mono updateAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response updateWithResponse( @@ -189,7 +189,8 @@ Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the queue with the specified queue name, under the specified account if it exists. + * @return the queue with the specified queue name, under the specified account if it exists along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getWithResponseAsync( @@ -208,7 +209,8 @@ Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the queue with the specified queue name, under the specified account if it exists. + * @return the queue with the specified queue name, under the specified account if it exists on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getAsync(String resourceGroupName, String accountName, String queueName); @@ -245,7 +247,8 @@ Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the queue with the specified queue name, under the specified account if it exists. + * @return the queue with the specified queue name, under the specified account if it exists along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getWithResponse( @@ -264,7 +267,7 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> deleteWithResponseAsync(String resourceGroupName, String accountName, String queueName); @@ -282,7 +285,7 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono deleteAsync(String resourceGroupName, String accountName, String queueName); @@ -318,7 +321,7 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response deleteWithResponse(String resourceGroupName, String accountName, String queueName, Context context); @@ -336,7 +339,8 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the queues under the specified storage account. + * @return a list of all the queues under the specified storage account as paginated response with {@link + * PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync( @@ -352,7 +356,8 @@ PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the queues under the specified storage account. + * @return a list of all the queues under the specified storage account as paginated response with {@link + * PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String accountName); @@ -367,7 +372,8 @@ PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the queues under the specified storage account. + * @return a list of all the queues under the specified storage account as paginated response with {@link + * PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName); @@ -386,7 +392,8 @@ PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the queues under the specified storage account. + * @return a list of all the queues under the specified storage account as paginated response with {@link + * PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/SkusClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/SkusClient.java index e528c4bc34901..c30d5725462c0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/SkusClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/SkusClient.java @@ -18,7 +18,7 @@ public interface SkusClient { * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage SKUs operation. + * @return the response from the List Storage SKUs operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(); @@ -28,7 +28,7 @@ public interface SkusClient { * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage SKUs operation. + * @return the response from the List Storage SKUs operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(); @@ -40,7 +40,7 @@ public interface SkusClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage SKUs operation. + * @return the response from the List Storage SKUs operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(Context context); diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/StorageAccountsClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/StorageAccountsClient.java index 967c23bddb614..05e78836468ad 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/StorageAccountsClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/StorageAccountsClient.java @@ -48,7 +48,8 @@ public interface StorageAccountsClient * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the CheckNameAvailability operation response. + * @return the CheckNameAvailability operation response along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> checkNameAvailabilityWithResponseAsync( @@ -62,7 +63,7 @@ Mono> checkNameAvailabilityWithRespon * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the CheckNameAvailability operation response. + * @return the CheckNameAvailability operation response on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono checkNameAvailabilityAsync( @@ -90,7 +91,7 @@ Mono checkNameAvailabilityAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the CheckNameAvailability operation response. + * @return the CheckNameAvailability operation response along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response checkNameAvailabilityWithResponse( @@ -110,7 +111,7 @@ Response checkNameAvailabilityWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> createWithResponseAsync( @@ -130,7 +131,7 @@ Mono>> createWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the {@link PollerFlux} for polling of the storage account. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, StorageAccountInner> beginCreateAsync( @@ -150,7 +151,7 @@ PollerFlux, StorageAccountInner> beginCreateAsyn * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the {@link SyncPoller} for polling of the storage account. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, StorageAccountInner> beginCreate( @@ -171,7 +172,7 @@ SyncPoller, StorageAccountInner> beginCreate( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the {@link SyncPoller} for polling of the storage account. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, StorageAccountInner> beginCreate( @@ -191,7 +192,7 @@ SyncPoller, StorageAccountInner> beginCreate( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono createAsync( @@ -247,7 +248,7 @@ StorageAccountInner create( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> deleteWithResponseAsync(String resourceGroupName, String accountName); @@ -262,7 +263,7 @@ StorageAccountInner create( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono deleteAsync(String resourceGroupName, String accountName); @@ -292,7 +293,7 @@ StorageAccountInner create( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response deleteWithResponse(String resourceGroupName, String accountName, Context context); @@ -310,7 +311,7 @@ StorageAccountInner create( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getByResourceGroupWithResponseAsync( @@ -329,7 +330,7 @@ Mono> getByResourceGroupWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getByResourceGroupAsync( @@ -346,7 +347,7 @@ Mono getByResourceGroupAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getByResourceGroupAsync(String resourceGroupName, String accountName); @@ -381,7 +382,7 @@ Mono getByResourceGroupAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getByResourceGroupWithResponse( @@ -403,7 +404,7 @@ Response getByResourceGroupWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> updateWithResponseAsync( @@ -425,7 +426,7 @@ Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono updateAsync( @@ -469,7 +470,7 @@ Mono updateAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response updateWithResponse( @@ -481,7 +482,7 @@ Response updateWithResponse( * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(); @@ -492,7 +493,7 @@ Response updateWithResponse( * * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(); @@ -505,7 +506,7 @@ Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(Context context); @@ -519,7 +520,7 @@ Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listByResourceGroupAsync(String resourceGroupName); @@ -533,7 +534,7 @@ Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName); @@ -548,7 +549,7 @@ Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByResourceGroup(String resourceGroupName, Context context); @@ -564,7 +565,8 @@ Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> listKeysWithResponseAsync( @@ -581,7 +583,7 @@ Mono> listKeysWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono listKeysAsync( @@ -597,7 +599,7 @@ Mono listKeysAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono listKeysAsync(String resourceGroupName, String accountName); @@ -629,7 +631,7 @@ Mono listKeysAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response listKeysWithResponse( @@ -646,7 +648,8 @@ Response listKeysWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> regenerateKeyWithResponseAsync( @@ -663,7 +666,7 @@ Mono> regenerateKeyWithResponseAsync * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono regenerateKeyAsync( @@ -698,7 +701,7 @@ StorageAccountListKeysResultInner regenerateKey( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response regenerateKeyWithResponse( @@ -718,7 +721,8 @@ Response regenerateKeyWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the List SAS credentials operation response. + * @return the List SAS credentials operation response along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> listAccountSasWithResponseAsync( @@ -735,7 +739,7 @@ Mono> listAccountSasWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the List SAS credentials operation response. + * @return the List SAS credentials operation response on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono listAccountSasAsync( @@ -770,7 +774,7 @@ ListAccountSasResponseInner listAccountSas( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the List SAS credentials operation response. + * @return the List SAS credentials operation response along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response listAccountSasWithResponse( @@ -787,7 +791,8 @@ Response listAccountSasWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the List service SAS credentials operation response. + * @return the List service SAS credentials operation response along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> listServiceSasWithResponseAsync( @@ -804,7 +809,7 @@ Mono> listServiceSasWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the List service SAS credentials operation response. + * @return the List service SAS credentials operation response on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono listServiceSasAsync( @@ -839,7 +844,7 @@ ListServiceSasResponseInner listServiceSas( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the List service SAS credentials operation response. + * @return the List service SAS credentials operation response along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response listServiceSasWithResponse( @@ -857,7 +862,7 @@ Response listServiceSasWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> failoverWithResponseAsync(String resourceGroupName, String accountName); @@ -874,7 +879,7 @@ Response listServiceSasWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, Void> beginFailoverAsync(String resourceGroupName, String accountName); @@ -891,7 +896,7 @@ Response listServiceSasWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginFailover(String resourceGroupName, String accountName); @@ -909,7 +914,7 @@ Response listServiceSasWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, Void> beginFailover(String resourceGroupName, String accountName, Context context); @@ -926,7 +931,7 @@ Response listServiceSasWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono failoverAsync(String resourceGroupName, String accountName); @@ -964,6 +969,246 @@ Response listServiceSasWithResponse( @ServiceMethod(returns = ReturnType.SINGLE) void failover(String resourceGroupName, String accountName, Context context); + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> hierarchicalNamespaceMigrationWithResponseAsync( + String resourceGroupName, String accountName, String requestType); + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginHierarchicalNamespaceMigrationAsync( + String resourceGroupName, String accountName, String requestType); + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginHierarchicalNamespaceMigration( + String resourceGroupName, String accountName, String requestType); + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginHierarchicalNamespaceMigration( + String resourceGroupName, String accountName, String requestType, Context context); + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono hierarchicalNamespaceMigrationAsync(String resourceGroupName, String accountName, String requestType); + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void hierarchicalNamespaceMigration(String resourceGroupName, String accountName, String requestType); + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void hierarchicalNamespaceMigration( + String resourceGroupName, String accountName, String requestType, Context context); + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono>> abortHierarchicalNamespaceMigrationWithResponseAsync( + String resourceGroupName, String accountName); + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + PollerFlux, Void> beginAbortHierarchicalNamespaceMigrationAsync( + String resourceGroupName, String accountName); + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginAbortHierarchicalNamespaceMigration( + String resourceGroupName, String accountName); + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + SyncPoller, Void> beginAbortHierarchicalNamespaceMigration( + String resourceGroupName, String accountName, Context context); + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + Mono abortHierarchicalNamespaceMigrationAsync(String resourceGroupName, String accountName); + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void abortHierarchicalNamespaceMigration(String resourceGroupName, String accountName); + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + void abortHierarchicalNamespaceMigration(String resourceGroupName, String accountName, Context context); + /** * Restore blobs in the specified blob ranges. * @@ -975,7 +1220,7 @@ Response listServiceSasWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return blob restore status. + * @return blob restore status along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono>> restoreBlobRangesWithResponseAsync( @@ -992,7 +1237,7 @@ Mono>> restoreBlobRangesWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return blob restore status. + * @return the {@link PollerFlux} for polling of blob restore status. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) PollerFlux, BlobRestoreStatusInner> beginRestoreBlobRangesAsync( @@ -1009,7 +1254,7 @@ PollerFlux, BlobRestoreStatusInner> beginRest * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return blob restore status. + * @return the {@link SyncPoller} for polling of blob restore status. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, BlobRestoreStatusInner> beginRestoreBlobRanges( @@ -1027,7 +1272,7 @@ SyncPoller, BlobRestoreStatusInner> beginRest * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return blob restore status. + * @return the {@link SyncPoller} for polling of blob restore status. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) SyncPoller, BlobRestoreStatusInner> beginRestoreBlobRanges( @@ -1044,7 +1289,7 @@ SyncPoller, BlobRestoreStatusInner> beginRest * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return blob restore status. + * @return blob restore status on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono restoreBlobRangesAsync( @@ -1095,7 +1340,7 @@ BlobRestoreStatusInner restoreBlobRanges( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> revokeUserDelegationKeysWithResponseAsync(String resourceGroupName, String accountName); @@ -1110,7 +1355,7 @@ BlobRestoreStatusInner restoreBlobRanges( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono revokeUserDelegationKeysAsync(String resourceGroupName, String accountName); @@ -1140,7 +1385,7 @@ BlobRestoreStatusInner restoreBlobRanges( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response revokeUserDelegationKeysWithResponse(String resourceGroupName, String accountName, Context context); diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/StorageManagementClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/StorageManagementClient.java index 3b147e8d56992..4db53b7f5e3fc 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/StorageManagementClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/StorageManagementClient.java @@ -114,6 +114,13 @@ public interface StorageManagementClient { */ ObjectReplicationPoliciesOperationsClient getObjectReplicationPoliciesOperations(); + /** + * Gets the LocalUsersOperationsClient object to access its operations. + * + * @return the LocalUsersOperationsClient object. + */ + LocalUsersOperationsClient getLocalUsersOperations(); + /** * Gets the EncryptionScopesClient object to access its operations. * diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/TableServicesClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/TableServicesClient.java index 845b623143922..00b25237ad2fb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/TableServicesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/TableServicesClient.java @@ -24,7 +24,7 @@ public interface TableServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> listWithResponseAsync(String resourceGroupName, String accountName); @@ -39,7 +39,7 @@ public interface TableServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono listAsync(String resourceGroupName, String accountName); @@ -70,7 +70,7 @@ public interface TableServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response listWithResponse(String resourceGroupName, String accountName, Context context); @@ -88,7 +88,8 @@ public interface TableServicesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Table service. + * @return the properties of a storage account’s Table service along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> setServicePropertiesWithResponseAsync( @@ -107,7 +108,7 @@ Mono> setServicePropertiesWithResponseAsyn * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Table service. + * @return the properties of a storage account’s Table service on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono setServicePropertiesAsync( @@ -146,7 +147,7 @@ TableServicePropertiesInner setServiceProperties( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Table service. + * @return the properties of a storage account’s Table service along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response setServicePropertiesWithResponse( @@ -164,7 +165,7 @@ Response setServicePropertiesWithResponse( * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Table service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getServicePropertiesWithResponseAsync( @@ -182,7 +183,7 @@ Mono> getServicePropertiesWithResponseAsyn * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Table service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getServicePropertiesAsync(String resourceGroupName, String accountName); @@ -217,7 +218,7 @@ Mono> getServicePropertiesWithResponseAsyn * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Table service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getServicePropertiesWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/TablesClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/TablesClient.java index f4b055ce73e41..19f5404cea797 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/TablesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/TablesClient.java @@ -27,7 +27,8 @@ public interface TablesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the table, including Id, resource name, resource type. + * @return properties of the table, including Id, resource name, resource type along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> createWithResponseAsync(String resourceGroupName, String accountName, String tableName); @@ -44,7 +45,8 @@ public interface TablesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the table, including Id, resource name, resource type. + * @return properties of the table, including Id, resource name, resource type on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono createAsync(String resourceGroupName, String accountName, String tableName); @@ -79,7 +81,7 @@ public interface TablesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the table, including Id, resource name, resource type. + * @return properties of the table, including Id, resource name, resource type along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response createWithResponse( @@ -97,7 +99,8 @@ Response createWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the table, including Id, resource name, resource type. + * @return properties of the table, including Id, resource name, resource type along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> updateWithResponseAsync(String resourceGroupName, String accountName, String tableName); @@ -114,7 +117,8 @@ Response createWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the table, including Id, resource name, resource type. + * @return properties of the table, including Id, resource name, resource type on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono updateAsync(String resourceGroupName, String accountName, String tableName); @@ -149,7 +153,7 @@ Response createWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the table, including Id, resource name, resource type. + * @return properties of the table, including Id, resource name, resource type along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response updateWithResponse( @@ -167,7 +171,8 @@ Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the table with the specified table name, under the specified account if it exists. + * @return the table with the specified table name, under the specified account if it exists along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> getWithResponseAsync(String resourceGroupName, String accountName, String tableName); @@ -184,7 +189,8 @@ Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the table with the specified table name, under the specified account if it exists. + * @return the table with the specified table name, under the specified account if it exists on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono getAsync(String resourceGroupName, String accountName, String tableName); @@ -219,7 +225,8 @@ Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the table with the specified table name, under the specified account if it exists. + * @return the table with the specified table name, under the specified account if it exists along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response getWithResponse( @@ -237,7 +244,7 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono> deleteWithResponseAsync(String resourceGroupName, String accountName, String tableName); @@ -254,7 +261,7 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) Mono deleteAsync(String resourceGroupName, String accountName, String tableName); @@ -288,7 +295,7 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) Response deleteWithResponse(String resourceGroupName, String accountName, String tableName, Context context); @@ -303,7 +310,8 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the tables under the specified storage account. + * @return a list of all the tables under the specified storage account as paginated response with {@link + * PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listAsync(String resourceGroupName, String accountName); @@ -318,7 +326,8 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the tables under the specified storage account. + * @return a list of all the tables under the specified storage account as paginated response with {@link + * PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName); @@ -334,7 +343,8 @@ Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the tables under the specified storage account. + * @return a list of all the tables under the specified storage account as paginated response with {@link + * PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable list(String resourceGroupName, String accountName, Context context); diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/UsagesClient.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/UsagesClient.java index c37654b4b434f..d5cc6acf988b0 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/UsagesClient.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/UsagesClient.java @@ -20,7 +20,8 @@ public interface UsagesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the current usage count and the limit for the resources of the location under the subscription. + * @return the current usage count and the limit for the resources of the location under the subscription as + * paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedFlux listByLocationAsync(String location); @@ -32,7 +33,8 @@ public interface UsagesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the current usage count and the limit for the resources of the location under the subscription. + * @return the current usage count and the limit for the resources of the location under the subscription as + * paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByLocation(String location); @@ -45,7 +47,8 @@ public interface UsagesClient { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the current usage count and the limit for the resources of the location under the subscription. + * @return the current usage count and the limit for the resources of the location under the subscription as + * paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) PagedIterable listByLocation(String location, Context context); diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/BlobContainerInner.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/BlobContainerInner.java index f954e7fe2117f..667cef3d7a341 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/BlobContainerInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/BlobContainerInner.java @@ -282,6 +282,52 @@ public BlobContainerInner withImmutableStorageWithVersioning( return this; } + /** + * Get the enableNfsV3RootSquash property: Enable NFSv3 root squash on blob container. + * + * @return the enableNfsV3RootSquash value. + */ + public Boolean enableNfsV3RootSquash() { + return this.innerContainerProperties() == null ? null : this.innerContainerProperties().enableNfsV3RootSquash(); + } + + /** + * Set the enableNfsV3RootSquash property: Enable NFSv3 root squash on blob container. + * + * @param enableNfsV3RootSquash the enableNfsV3RootSquash value to set. + * @return the BlobContainerInner object itself. + */ + public BlobContainerInner withEnableNfsV3RootSquash(Boolean enableNfsV3RootSquash) { + if (this.innerContainerProperties() == null) { + this.innerContainerProperties = new ContainerProperties(); + } + this.innerContainerProperties().withEnableNfsV3RootSquash(enableNfsV3RootSquash); + return this; + } + + /** + * Get the enableNfsV3AllSquash property: Enable NFSv3 all squash on blob container. + * + * @return the enableNfsV3AllSquash value. + */ + public Boolean enableNfsV3AllSquash() { + return this.innerContainerProperties() == null ? null : this.innerContainerProperties().enableNfsV3AllSquash(); + } + + /** + * Set the enableNfsV3AllSquash property: Enable NFSv3 all squash on blob container. + * + * @param enableNfsV3AllSquash the enableNfsV3AllSquash value to set. + * @return the BlobContainerInner object itself. + */ + public BlobContainerInner withEnableNfsV3AllSquash(Boolean enableNfsV3AllSquash) { + if (this.innerContainerProperties() == null) { + this.innerContainerProperties = new ContainerProperties(); + } + this.innerContainerProperties().withEnableNfsV3AllSquash(enableNfsV3AllSquash); + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ContainerProperties.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ContainerProperties.java index bc537d29d79df..a5232adaf3161 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ContainerProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ContainerProperties.java @@ -138,6 +138,18 @@ public final class ContainerProperties { @JsonProperty(value = "immutableStorageWithVersioning") private ImmutableStorageWithVersioning immutableStorageWithVersioning; + /* + * Enable NFSv3 root squash on blob container. + */ + @JsonProperty(value = "enableNfsV3RootSquash") + private Boolean enableNfsV3RootSquash; + + /* + * Enable NFSv3 all squash on blob container. + */ + @JsonProperty(value = "enableNfsV3AllSquash") + private Boolean enableNfsV3AllSquash; + /** * Get the version property: The version of the deleted blob container. * @@ -358,6 +370,46 @@ public ContainerProperties withImmutableStorageWithVersioning( return this; } + /** + * Get the enableNfsV3RootSquash property: Enable NFSv3 root squash on blob container. + * + * @return the enableNfsV3RootSquash value. + */ + public Boolean enableNfsV3RootSquash() { + return this.enableNfsV3RootSquash; + } + + /** + * Set the enableNfsV3RootSquash property: Enable NFSv3 root squash on blob container. + * + * @param enableNfsV3RootSquash the enableNfsV3RootSquash value to set. + * @return the ContainerProperties object itself. + */ + public ContainerProperties withEnableNfsV3RootSquash(Boolean enableNfsV3RootSquash) { + this.enableNfsV3RootSquash = enableNfsV3RootSquash; + return this; + } + + /** + * Get the enableNfsV3AllSquash property: Enable NFSv3 all squash on blob container. + * + * @return the enableNfsV3AllSquash value. + */ + public Boolean enableNfsV3AllSquash() { + return this.enableNfsV3AllSquash; + } + + /** + * Set the enableNfsV3AllSquash property: Enable NFSv3 all squash on blob container. + * + * @param enableNfsV3AllSquash the enableNfsV3AllSquash value to set. + * @return the ContainerProperties object itself. + */ + public ContainerProperties withEnableNfsV3AllSquash(Boolean enableNfsV3AllSquash) { + this.enableNfsV3AllSquash = enableNfsV3AllSquash; + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ImmutabilityPolicyInner.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ImmutabilityPolicyInner.java index 908567a385749..dc3813855c0d4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ImmutabilityPolicyInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ImmutabilityPolicyInner.java @@ -96,6 +96,37 @@ public ImmutabilityPolicyInner withAllowProtectedAppendWrites(Boolean allowProte return this; } + /** + * Get the allowProtectedAppendWritesAll property: This property can only be changed for unlocked time-based + * retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining + * immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified + * or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' + * and 'allowProtectedAppendWritesAll' properties are mutually exclusive. + * + * @return the allowProtectedAppendWritesAll value. + */ + public Boolean allowProtectedAppendWritesAll() { + return this.innerProperties() == null ? null : this.innerProperties().allowProtectedAppendWritesAll(); + } + + /** + * Set the allowProtectedAppendWritesAll property: This property can only be changed for unlocked time-based + * retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining + * immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified + * or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' + * and 'allowProtectedAppendWritesAll' properties are mutually exclusive. + * + * @param allowProtectedAppendWritesAll the allowProtectedAppendWritesAll value to set. + * @return the ImmutabilityPolicyInner object itself. + */ + public ImmutabilityPolicyInner withAllowProtectedAppendWritesAll(Boolean allowProtectedAppendWritesAll) { + if (this.innerProperties() == null) { + this.innerProperties = new ImmutabilityPolicyProperty(); + } + this.innerProperties().withAllowProtectedAppendWritesAll(allowProtectedAppendWritesAll); + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ImmutabilityPolicyProperty.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ImmutabilityPolicyProperty.java index a41c0247f3165..9b0b99502cd28 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ImmutabilityPolicyProperty.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ImmutabilityPolicyProperty.java @@ -35,11 +35,23 @@ public final class ImmutabilityPolicyProperty { * while maintaining immutability protection and compliance. Only new * blocks can be added and any existing blocks cannot be modified or * deleted. This property cannot be changed with ExtendImmutabilityPolicy - * API + * API. */ @JsonProperty(value = "allowProtectedAppendWrites") private Boolean allowProtectedAppendWrites; + /* + * This property can only be changed for unlocked time-based retention + * policies. When enabled, new blocks can be written to both 'Append and + * Bock Blobs' while maintaining immutability protection and compliance. + * Only new blocks can be added and any existing blocks cannot be modified + * or deleted. This property cannot be changed with + * ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and + * 'allowProtectedAppendWritesAll' properties are mutually exclusive. + */ + @JsonProperty(value = "allowProtectedAppendWritesAll") + private Boolean allowProtectedAppendWritesAll; + /** * Get the immutabilityPeriodSinceCreationInDays property: The immutability period for the blobs in the container * since the policy creation, in days. @@ -99,6 +111,34 @@ public ImmutabilityPolicyProperty withAllowProtectedAppendWrites(Boolean allowPr return this; } + /** + * Get the allowProtectedAppendWritesAll property: This property can only be changed for unlocked time-based + * retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining + * immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified + * or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' + * and 'allowProtectedAppendWritesAll' properties are mutually exclusive. + * + * @return the allowProtectedAppendWritesAll value. + */ + public Boolean allowProtectedAppendWritesAll() { + return this.allowProtectedAppendWritesAll; + } + + /** + * Set the allowProtectedAppendWritesAll property: This property can only be changed for unlocked time-based + * retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining + * immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified + * or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' + * and 'allowProtectedAppendWritesAll' properties are mutually exclusive. + * + * @param allowProtectedAppendWritesAll the allowProtectedAppendWritesAll value to set. + * @return the ImmutabilityPolicyProperty object itself. + */ + public ImmutabilityPolicyProperty withAllowProtectedAppendWritesAll(Boolean allowProtectedAppendWritesAll) { + this.allowProtectedAppendWritesAll = allowProtectedAppendWritesAll; + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LegalHoldInner.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LegalHoldInner.java index 3a81f9f1c73b4..efa81d77691ad 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LegalHoldInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LegalHoldInner.java @@ -32,6 +32,14 @@ public final class LegalHoldInner { @JsonProperty(value = "tags", required = true) private List tags; + /* + * When enabled, new blocks can be written to both 'Append and Bock Blobs' + * while maintaining legal hold protection and compliance. Only new blocks + * can be added and any existing blocks cannot be modified or deleted. + */ + @JsonProperty(value = "allowProtectedAppendWritesAll") + private Boolean allowProtectedAppendWritesAll; + /** * Get the hasLegalHold property: The hasLegalHold public property is set to true by SRP if there are at least one * existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared @@ -63,6 +71,30 @@ public LegalHoldInner withTags(List tags) { return this; } + /** + * Get the allowProtectedAppendWritesAll property: When enabled, new blocks can be written to both 'Append and Bock + * Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing + * blocks cannot be modified or deleted. + * + * @return the allowProtectedAppendWritesAll value. + */ + public Boolean allowProtectedAppendWritesAll() { + return this.allowProtectedAppendWritesAll; + } + + /** + * Set the allowProtectedAppendWritesAll property: When enabled, new blocks can be written to both 'Append and Bock + * Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing + * blocks cannot be modified or deleted. + * + * @param allowProtectedAppendWritesAll the allowProtectedAppendWritesAll value to set. + * @return the LegalHoldInner object itself. + */ + public LegalHoldInner withAllowProtectedAppendWritesAll(Boolean allowProtectedAppendWritesAll) { + this.allowProtectedAppendWritesAll = allowProtectedAppendWritesAll; + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ListContainerItemInner.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ListContainerItemInner.java index 2feaedf452c2e..03b8638a75707 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ListContainerItemInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/ListContainerItemInner.java @@ -274,6 +274,52 @@ public ListContainerItemInner withImmutableStorageWithVersioning( return this; } + /** + * Get the enableNfsV3RootSquash property: Enable NFSv3 root squash on blob container. + * + * @return the enableNfsV3RootSquash value. + */ + public Boolean enableNfsV3RootSquash() { + return this.innerProperties() == null ? null : this.innerProperties().enableNfsV3RootSquash(); + } + + /** + * Set the enableNfsV3RootSquash property: Enable NFSv3 root squash on blob container. + * + * @param enableNfsV3RootSquash the enableNfsV3RootSquash value to set. + * @return the ListContainerItemInner object itself. + */ + public ListContainerItemInner withEnableNfsV3RootSquash(Boolean enableNfsV3RootSquash) { + if (this.innerProperties() == null) { + this.innerProperties = new ContainerProperties(); + } + this.innerProperties().withEnableNfsV3RootSquash(enableNfsV3RootSquash); + return this; + } + + /** + * Get the enableNfsV3AllSquash property: Enable NFSv3 all squash on blob container. + * + * @return the enableNfsV3AllSquash value. + */ + public Boolean enableNfsV3AllSquash() { + return this.innerProperties() == null ? null : this.innerProperties().enableNfsV3AllSquash(); + } + + /** + * Set the enableNfsV3AllSquash property: Enable NFSv3 all squash on blob container. + * + * @param enableNfsV3AllSquash the enableNfsV3AllSquash value to set. + * @return the ListContainerItemInner object itself. + */ + public ListContainerItemInner withEnableNfsV3AllSquash(Boolean enableNfsV3AllSquash) { + if (this.innerProperties() == null) { + this.innerProperties = new ContainerProperties(); + } + this.innerProperties().withEnableNfsV3AllSquash(enableNfsV3AllSquash); + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LocalUserInner.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LocalUserInner.java new file mode 100644 index 0000000000000..3aac22e4501f7 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LocalUserInner.java @@ -0,0 +1,213 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.management.ProxyResource; +import com.azure.core.management.SystemData; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.storage.models.PermissionScope; +import com.azure.resourcemanager.storage.models.SshPublicKey; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The local user associated with the storage accounts. */ +@Fluent +public final class LocalUserInner extends ProxyResource { + @JsonIgnore private final ClientLogger logger = new ClientLogger(LocalUserInner.class); + + /* + * Storage account local user properties. + */ + @JsonProperty(value = "properties") + private LocalUserProperties innerProperties; + + /* + * Metadata pertaining to creation and last modification of the resource. + */ + @JsonProperty(value = "systemData", access = JsonProperty.Access.WRITE_ONLY) + private SystemData systemData; + + /** + * Get the innerProperties property: Storage account local user properties. + * + * @return the innerProperties value. + */ + private LocalUserProperties innerProperties() { + return this.innerProperties; + } + + /** + * Get the systemData property: Metadata pertaining to creation and last modification of the resource. + * + * @return the systemData value. + */ + public SystemData systemData() { + return this.systemData; + } + + /** + * Get the permissionScopes property: The permission scopes of the local user. + * + * @return the permissionScopes value. + */ + public List permissionScopes() { + return this.innerProperties() == null ? null : this.innerProperties().permissionScopes(); + } + + /** + * Set the permissionScopes property: The permission scopes of the local user. + * + * @param permissionScopes the permissionScopes value to set. + * @return the LocalUserInner object itself. + */ + public LocalUserInner withPermissionScopes(List permissionScopes) { + if (this.innerProperties() == null) { + this.innerProperties = new LocalUserProperties(); + } + this.innerProperties().withPermissionScopes(permissionScopes); + return this; + } + + /** + * Get the homeDirectory property: Optional, local user home directory. + * + * @return the homeDirectory value. + */ + public String homeDirectory() { + return this.innerProperties() == null ? null : this.innerProperties().homeDirectory(); + } + + /** + * Set the homeDirectory property: Optional, local user home directory. + * + * @param homeDirectory the homeDirectory value to set. + * @return the LocalUserInner object itself. + */ + public LocalUserInner withHomeDirectory(String homeDirectory) { + if (this.innerProperties() == null) { + this.innerProperties = new LocalUserProperties(); + } + this.innerProperties().withHomeDirectory(homeDirectory); + return this; + } + + /** + * Get the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP. + * + * @return the sshAuthorizedKeys value. + */ + public List sshAuthorizedKeys() { + return this.innerProperties() == null ? null : this.innerProperties().sshAuthorizedKeys(); + } + + /** + * Set the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP. + * + * @param sshAuthorizedKeys the sshAuthorizedKeys value to set. + * @return the LocalUserInner object itself. + */ + public LocalUserInner withSshAuthorizedKeys(List sshAuthorizedKeys) { + if (this.innerProperties() == null) { + this.innerProperties = new LocalUserProperties(); + } + this.innerProperties().withSshAuthorizedKeys(sshAuthorizedKeys); + return this; + } + + /** + * Get the sid property: A unique Security Identifier that is generated by the server. + * + * @return the sid value. + */ + public String sid() { + return this.innerProperties() == null ? null : this.innerProperties().sid(); + } + + /** + * Get the hasSharedKey property: Indicates whether shared key exists. Set it to false to remove existing shared + * key. + * + * @return the hasSharedKey value. + */ + public Boolean hasSharedKey() { + return this.innerProperties() == null ? null : this.innerProperties().hasSharedKey(); + } + + /** + * Set the hasSharedKey property: Indicates whether shared key exists. Set it to false to remove existing shared + * key. + * + * @param hasSharedKey the hasSharedKey value to set. + * @return the LocalUserInner object itself. + */ + public LocalUserInner withHasSharedKey(Boolean hasSharedKey) { + if (this.innerProperties() == null) { + this.innerProperties = new LocalUserProperties(); + } + this.innerProperties().withHasSharedKey(hasSharedKey); + return this; + } + + /** + * Get the hasSshKey property: Indicates whether ssh key exists. Set it to false to remove existing SSH key. + * + * @return the hasSshKey value. + */ + public Boolean hasSshKey() { + return this.innerProperties() == null ? null : this.innerProperties().hasSshKey(); + } + + /** + * Set the hasSshKey property: Indicates whether ssh key exists. Set it to false to remove existing SSH key. + * + * @param hasSshKey the hasSshKey value to set. + * @return the LocalUserInner object itself. + */ + public LocalUserInner withHasSshKey(Boolean hasSshKey) { + if (this.innerProperties() == null) { + this.innerProperties = new LocalUserProperties(); + } + this.innerProperties().withHasSshKey(hasSshKey); + return this; + } + + /** + * Get the hasSshPassword property: Indicates whether ssh password exists. Set it to false to remove existing SSH + * password. + * + * @return the hasSshPassword value. + */ + public Boolean hasSshPassword() { + return this.innerProperties() == null ? null : this.innerProperties().hasSshPassword(); + } + + /** + * Set the hasSshPassword property: Indicates whether ssh password exists. Set it to false to remove existing SSH + * password. + * + * @param hasSshPassword the hasSshPassword value to set. + * @return the LocalUserInner object itself. + */ + public LocalUserInner withHasSshPassword(Boolean hasSshPassword) { + if (this.innerProperties() == null) { + this.innerProperties = new LocalUserProperties(); + } + this.innerProperties().withHasSshPassword(hasSshPassword); + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (innerProperties() != null) { + innerProperties().validate(); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LocalUserKeysInner.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LocalUserKeysInner.java new file mode 100644 index 0000000000000..7ece176f1f7f8 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LocalUserKeysInner.java @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.storage.models.SshPublicKey; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The Storage Account Local User keys. */ +@Fluent +public final class LocalUserKeysInner { + @JsonIgnore private final ClientLogger logger = new ClientLogger(LocalUserKeysInner.class); + + /* + * Optional, local user ssh authorized keys for SFTP. + */ + @JsonProperty(value = "sshAuthorizedKeys") + private List sshAuthorizedKeys; + + /* + * Auto generated by the server for SMB authentication. + */ + @JsonProperty(value = "sharedKey", access = JsonProperty.Access.WRITE_ONLY) + private String sharedKey; + + /** + * Get the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP. + * + * @return the sshAuthorizedKeys value. + */ + public List sshAuthorizedKeys() { + return this.sshAuthorizedKeys; + } + + /** + * Set the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP. + * + * @param sshAuthorizedKeys the sshAuthorizedKeys value to set. + * @return the LocalUserKeysInner object itself. + */ + public LocalUserKeysInner withSshAuthorizedKeys(List sshAuthorizedKeys) { + this.sshAuthorizedKeys = sshAuthorizedKeys; + return this; + } + + /** + * Get the sharedKey property: Auto generated by the server for SMB authentication. + * + * @return the sharedKey value. + */ + public String sharedKey() { + return this.sharedKey; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (sshAuthorizedKeys() != null) { + sshAuthorizedKeys().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LocalUserProperties.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LocalUserProperties.java new file mode 100644 index 0000000000000..33dc084d75a1d --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LocalUserProperties.java @@ -0,0 +1,211 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.fluent.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.storage.models.PermissionScope; +import com.azure.resourcemanager.storage.models.SshPublicKey; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The Storage Account Local User properties. */ +@Fluent +public final class LocalUserProperties { + @JsonIgnore private final ClientLogger logger = new ClientLogger(LocalUserProperties.class); + + /* + * The permission scopes of the local user. + */ + @JsonProperty(value = "permissionScopes") + private List permissionScopes; + + /* + * Optional, local user home directory. + */ + @JsonProperty(value = "homeDirectory") + private String homeDirectory; + + /* + * Optional, local user ssh authorized keys for SFTP. + */ + @JsonProperty(value = "sshAuthorizedKeys") + private List sshAuthorizedKeys; + + /* + * A unique Security Identifier that is generated by the server. + */ + @JsonProperty(value = "sid", access = JsonProperty.Access.WRITE_ONLY) + private String sid; + + /* + * Indicates whether shared key exists. Set it to false to remove existing + * shared key. + */ + @JsonProperty(value = "hasSharedKey") + private Boolean hasSharedKey; + + /* + * Indicates whether ssh key exists. Set it to false to remove existing SSH + * key. + */ + @JsonProperty(value = "hasSshKey") + private Boolean hasSshKey; + + /* + * Indicates whether ssh password exists. Set it to false to remove + * existing SSH password. + */ + @JsonProperty(value = "hasSshPassword") + private Boolean hasSshPassword; + + /** + * Get the permissionScopes property: The permission scopes of the local user. + * + * @return the permissionScopes value. + */ + public List permissionScopes() { + return this.permissionScopes; + } + + /** + * Set the permissionScopes property: The permission scopes of the local user. + * + * @param permissionScopes the permissionScopes value to set. + * @return the LocalUserProperties object itself. + */ + public LocalUserProperties withPermissionScopes(List permissionScopes) { + this.permissionScopes = permissionScopes; + return this; + } + + /** + * Get the homeDirectory property: Optional, local user home directory. + * + * @return the homeDirectory value. + */ + public String homeDirectory() { + return this.homeDirectory; + } + + /** + * Set the homeDirectory property: Optional, local user home directory. + * + * @param homeDirectory the homeDirectory value to set. + * @return the LocalUserProperties object itself. + */ + public LocalUserProperties withHomeDirectory(String homeDirectory) { + this.homeDirectory = homeDirectory; + return this; + } + + /** + * Get the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP. + * + * @return the sshAuthorizedKeys value. + */ + public List sshAuthorizedKeys() { + return this.sshAuthorizedKeys; + } + + /** + * Set the sshAuthorizedKeys property: Optional, local user ssh authorized keys for SFTP. + * + * @param sshAuthorizedKeys the sshAuthorizedKeys value to set. + * @return the LocalUserProperties object itself. + */ + public LocalUserProperties withSshAuthorizedKeys(List sshAuthorizedKeys) { + this.sshAuthorizedKeys = sshAuthorizedKeys; + return this; + } + + /** + * Get the sid property: A unique Security Identifier that is generated by the server. + * + * @return the sid value. + */ + public String sid() { + return this.sid; + } + + /** + * Get the hasSharedKey property: Indicates whether shared key exists. Set it to false to remove existing shared + * key. + * + * @return the hasSharedKey value. + */ + public Boolean hasSharedKey() { + return this.hasSharedKey; + } + + /** + * Set the hasSharedKey property: Indicates whether shared key exists. Set it to false to remove existing shared + * key. + * + * @param hasSharedKey the hasSharedKey value to set. + * @return the LocalUserProperties object itself. + */ + public LocalUserProperties withHasSharedKey(Boolean hasSharedKey) { + this.hasSharedKey = hasSharedKey; + return this; + } + + /** + * Get the hasSshKey property: Indicates whether ssh key exists. Set it to false to remove existing SSH key. + * + * @return the hasSshKey value. + */ + public Boolean hasSshKey() { + return this.hasSshKey; + } + + /** + * Set the hasSshKey property: Indicates whether ssh key exists. Set it to false to remove existing SSH key. + * + * @param hasSshKey the hasSshKey value to set. + * @return the LocalUserProperties object itself. + */ + public LocalUserProperties withHasSshKey(Boolean hasSshKey) { + this.hasSshKey = hasSshKey; + return this; + } + + /** + * Get the hasSshPassword property: Indicates whether ssh password exists. Set it to false to remove existing SSH + * password. + * + * @return the hasSshPassword value. + */ + public Boolean hasSshPassword() { + return this.hasSshPassword; + } + + /** + * Set the hasSshPassword property: Indicates whether ssh password exists. Set it to false to remove existing SSH + * password. + * + * @param hasSshPassword the hasSshPassword value to set. + * @return the LocalUserProperties object itself. + */ + public LocalUserProperties withHasSshPassword(Boolean hasSshPassword) { + this.hasSshPassword = hasSshPassword; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (permissionScopes() != null) { + permissionScopes().forEach(e -> e.validate()); + } + if (sshAuthorizedKeys() != null) { + sshAuthorizedKeys().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LocalUserRegeneratePasswordResultInner.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LocalUserRegeneratePasswordResultInner.java new file mode 100644 index 0000000000000..5aa8633a725eb --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/LocalUserRegeneratePasswordResultInner.java @@ -0,0 +1,41 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.fluent.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.util.logging.ClientLogger; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The secrets of Storage Account Local User. */ +@Immutable +public final class LocalUserRegeneratePasswordResultInner { + @JsonIgnore private final ClientLogger logger = new ClientLogger(LocalUserRegeneratePasswordResultInner.class); + + /* + * Auto generated password by the server for SSH authentication if + * hasSshPassword is set to true on the creation of local user. + */ + @JsonProperty(value = "sshPassword", access = JsonProperty.Access.WRITE_ONLY) + private String sshPassword; + + /** + * Get the sshPassword property: Auto generated password by the server for SSH authentication if hasSshPassword is + * set to true on the creation of local user. + * + * @return the sshPassword value. + */ + public String sshPassword() { + return this.sshPassword; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountInner.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountInner.java index d200971d2d5a6..a19d5199c3cc5 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountInner.java @@ -9,6 +9,7 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.storage.models.AccessTier; import com.azure.resourcemanager.storage.models.AccountStatus; +import com.azure.resourcemanager.storage.models.AllowedCopyScope; import com.azure.resourcemanager.storage.models.AzureFilesIdentityBasedAuthentication; import com.azure.resourcemanager.storage.models.CustomDomain; import com.azure.resourcemanager.storage.models.Encryption; @@ -16,6 +17,7 @@ import com.azure.resourcemanager.storage.models.ExtendedLocation; import com.azure.resourcemanager.storage.models.GeoReplicationStats; import com.azure.resourcemanager.storage.models.Identity; +import com.azure.resourcemanager.storage.models.ImmutableStorageAccount; import com.azure.resourcemanager.storage.models.KeyCreationTime; import com.azure.resourcemanager.storage.models.KeyPolicy; import com.azure.resourcemanager.storage.models.Kind; @@ -23,6 +25,7 @@ import com.azure.resourcemanager.storage.models.MinimumTlsVersion; import com.azure.resourcemanager.storage.models.NetworkRuleSet; import com.azure.resourcemanager.storage.models.ProvisioningState; +import com.azure.resourcemanager.storage.models.PublicNetworkAccess; import com.azure.resourcemanager.storage.models.RoutingPreference; import com.azure.resourcemanager.storage.models.SasPolicy; import com.azure.resourcemanager.storage.models.Sku; @@ -274,8 +277,7 @@ public Endpoints secondaryEndpoints() { } /** - * Get the encryption property: Gets the encryption settings on the account. If unspecified, the account is - * unencrypted. + * Get the encryption property: Encryption settings to be used for server-side encryption for the storage account. * * @return the encryption value. */ @@ -351,6 +353,52 @@ public NetworkRuleSet networkRuleSet() { return this.innerProperties() == null ? null : this.innerProperties().networkRuleSet(); } + /** + * Get the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true. + * + * @return the isSftpEnabled value. + */ + public Boolean isSftpEnabled() { + return this.innerProperties() == null ? null : this.innerProperties().isSftpEnabled(); + } + + /** + * Set the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true. + * + * @param isSftpEnabled the isSftpEnabled value to set. + * @return the StorageAccountInner object itself. + */ + public StorageAccountInner withIsSftpEnabled(Boolean isSftpEnabled) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesInner(); + } + this.innerProperties().withIsSftpEnabled(isSftpEnabled); + return this; + } + + /** + * Get the isLocalUserEnabled property: Enables local users feature, if set to true. + * + * @return the isLocalUserEnabled value. + */ + public Boolean isLocalUserEnabled() { + return this.innerProperties() == null ? null : this.innerProperties().isLocalUserEnabled(); + } + + /** + * Set the isLocalUserEnabled property: Enables local users feature, if set to true. + * + * @param isLocalUserEnabled the isLocalUserEnabled value to set. + * @return the StorageAccountInner object itself. + */ + public StorageAccountInner withIsLocalUserEnabled(Boolean isLocalUserEnabled) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesInner(); + } + this.innerProperties().withIsLocalUserEnabled(isLocalUserEnabled); + return this; + } + /** * Get the isHnsEnabled property: Account HierarchicalNamespace enabled if sets to true. * @@ -587,6 +635,109 @@ public StorageAccountInner withAllowCrossTenantReplication(Boolean allowCrossTen return this; } + /** + * Get the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication + * is OAuth or not. The default interpretation is false for this property. + * + * @return the defaultToOAuthAuthentication value. + */ + public Boolean defaultToOAuthAuthentication() { + return this.innerProperties() == null ? null : this.innerProperties().defaultToOAuthAuthentication(); + } + + /** + * Set the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication + * is OAuth or not. The default interpretation is false for this property. + * + * @param defaultToOAuthAuthentication the defaultToOAuthAuthentication value to set. + * @return the StorageAccountInner object itself. + */ + public StorageAccountInner withDefaultToOAuthAuthentication(Boolean defaultToOAuthAuthentication) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesInner(); + } + this.innerProperties().withDefaultToOAuthAuthentication(defaultToOAuthAuthentication); + return this; + } + + /** + * Get the publicNetworkAccess property: Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + * + * @return the publicNetworkAccess value. + */ + public PublicNetworkAccess publicNetworkAccess() { + return this.innerProperties() == null ? null : this.innerProperties().publicNetworkAccess(); + } + + /** + * Set the publicNetworkAccess property: Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + * + * @param publicNetworkAccess the publicNetworkAccess value to set. + * @return the StorageAccountInner object itself. + */ + public StorageAccountInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesInner(); + } + this.innerProperties().withPublicNetworkAccess(publicNetworkAccess); + return this; + } + + /** + * Get the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the + * account creation time. When set to true, it enables object level immutability for all the containers in the + * account by default. + * + * @return the immutableStorageWithVersioning value. + */ + public ImmutableStorageAccount immutableStorageWithVersioning() { + return this.innerProperties() == null ? null : this.innerProperties().immutableStorageWithVersioning(); + } + + /** + * Set the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the + * account creation time. When set to true, it enables object level immutability for all the containers in the + * account by default. + * + * @param immutableStorageWithVersioning the immutableStorageWithVersioning value to set. + * @return the StorageAccountInner object itself. + */ + public StorageAccountInner withImmutableStorageWithVersioning( + ImmutableStorageAccount immutableStorageWithVersioning) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesInner(); + } + this.innerProperties().withImmutableStorageWithVersioning(immutableStorageWithVersioning); + return this; + } + + /** + * Get the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + * + * @return the allowedCopyScope value. + */ + public AllowedCopyScope allowedCopyScope() { + return this.innerProperties() == null ? null : this.innerProperties().allowedCopyScope(); + } + + /** + * Set the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + * + * @param allowedCopyScope the allowedCopyScope value to set. + * @return the StorageAccountInner object itself. + */ + public StorageAccountInner withAllowedCopyScope(AllowedCopyScope allowedCopyScope) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesInner(); + } + this.innerProperties().withAllowedCopyScope(allowedCopyScope); + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountPropertiesCreateParameters.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountPropertiesCreateParameters.java index a44cf4dbcf6c6..c092d50c7b892 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountPropertiesCreateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountPropertiesCreateParameters.java @@ -7,13 +7,16 @@ import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.storage.models.AccessTier; +import com.azure.resourcemanager.storage.models.AllowedCopyScope; import com.azure.resourcemanager.storage.models.AzureFilesIdentityBasedAuthentication; import com.azure.resourcemanager.storage.models.CustomDomain; import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.ImmutableStorageAccount; import com.azure.resourcemanager.storage.models.KeyPolicy; import com.azure.resourcemanager.storage.models.LargeFileSharesState; import com.azure.resourcemanager.storage.models.MinimumTlsVersion; import com.azure.resourcemanager.storage.models.NetworkRuleSet; +import com.azure.resourcemanager.storage.models.PublicNetworkAccess; import com.azure.resourcemanager.storage.models.RoutingPreference; import com.azure.resourcemanager.storage.models.SasPolicy; import com.fasterxml.jackson.annotation.JsonIgnore; @@ -24,6 +27,20 @@ public final class StorageAccountPropertiesCreateParameters { @JsonIgnore private final ClientLogger logger = new ClientLogger(StorageAccountPropertiesCreateParameters.class); + /* + * Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + */ + @JsonProperty(value = "allowedCopyScope") + private AllowedCopyScope allowedCopyScope; + + /* + * Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + */ + @JsonProperty(value = "publicNetworkAccess") + private PublicNetworkAccess publicNetworkAccess; + /* * SasPolicy assigned to the storage account. */ @@ -46,8 +63,8 @@ public final class StorageAccountPropertiesCreateParameters { private CustomDomain customDomain; /* - * Not applicable. Azure Storage encryption is enabled for all storage - * accounts and cannot be disabled. + * Encryption settings to be used for server-side encryption for the + * storage account. */ @JsonProperty(value = "encryption") private Encryption encryption; @@ -78,6 +95,18 @@ public final class StorageAccountPropertiesCreateParameters { @JsonProperty(value = "supportsHttpsTrafficOnly") private Boolean enableHttpsTrafficOnly; + /* + * Enables Secure File Transfer Protocol, if set to true + */ + @JsonProperty(value = "isSftpEnabled") + private Boolean isSftpEnabled; + + /* + * Enables local users feature, if set to true + */ + @JsonProperty(value = "isLocalUserEnabled") + private Boolean isLocalUserEnabled; + /* * Account HierarchicalNamespace enabled if sets to true. */ @@ -135,6 +164,65 @@ public final class StorageAccountPropertiesCreateParameters { @JsonProperty(value = "allowCrossTenantReplication") private Boolean allowCrossTenantReplication; + /* + * A boolean flag which indicates whether the default authentication is + * OAuth or not. The default interpretation is false for this property. + */ + @JsonProperty(value = "defaultToOAuthAuthentication") + private Boolean defaultToOAuthAuthentication; + + /* + * The property is immutable and can only be set to true at the account + * creation time. When set to true, it enables object level immutability + * for all the new containers in the account by default. + */ + @JsonProperty(value = "immutableStorageWithVersioning") + private ImmutableStorageAccount immutableStorageWithVersioning; + + /** + * Get the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + * + * @return the allowedCopyScope value. + */ + public AllowedCopyScope allowedCopyScope() { + return this.allowedCopyScope; + } + + /** + * Set the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + * + * @param allowedCopyScope the allowedCopyScope value to set. + * @return the StorageAccountPropertiesCreateParameters object itself. + */ + public StorageAccountPropertiesCreateParameters withAllowedCopyScope(AllowedCopyScope allowedCopyScope) { + this.allowedCopyScope = allowedCopyScope; + return this; + } + + /** + * Get the publicNetworkAccess property: Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + * + * @return the publicNetworkAccess value. + */ + public PublicNetworkAccess publicNetworkAccess() { + return this.publicNetworkAccess; + } + + /** + * Set the publicNetworkAccess property: Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + * + * @param publicNetworkAccess the publicNetworkAccess value to set. + * @return the StorageAccountPropertiesCreateParameters object itself. + */ + public StorageAccountPropertiesCreateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) { + this.publicNetworkAccess = publicNetworkAccess; + return this; + } + /** * Get the sasPolicy property: SasPolicy assigned to the storage account. * @@ -200,8 +288,7 @@ public StorageAccountPropertiesCreateParameters withCustomDomain(CustomDomain cu } /** - * Get the encryption property: Not applicable. Azure Storage encryption is enabled for all storage accounts and - * cannot be disabled. + * Get the encryption property: Encryption settings to be used for server-side encryption for the storage account. * * @return the encryption value. */ @@ -210,8 +297,7 @@ public Encryption encryption() { } /** - * Set the encryption property: Not applicable. Azure Storage encryption is enabled for all storage accounts and - * cannot be disabled. + * Set the encryption property: Encryption settings to be used for server-side encryption for the storage account. * * @param encryption the encryption value to set. * @return the StorageAccountPropertiesCreateParameters object itself. @@ -308,6 +394,46 @@ public StorageAccountPropertiesCreateParameters withEnableHttpsTrafficOnly(Boole return this; } + /** + * Get the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true. + * + * @return the isSftpEnabled value. + */ + public Boolean isSftpEnabled() { + return this.isSftpEnabled; + } + + /** + * Set the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true. + * + * @param isSftpEnabled the isSftpEnabled value to set. + * @return the StorageAccountPropertiesCreateParameters object itself. + */ + public StorageAccountPropertiesCreateParameters withIsSftpEnabled(Boolean isSftpEnabled) { + this.isSftpEnabled = isSftpEnabled; + return this; + } + + /** + * Get the isLocalUserEnabled property: Enables local users feature, if set to true. + * + * @return the isLocalUserEnabled value. + */ + public Boolean isLocalUserEnabled() { + return this.isLocalUserEnabled; + } + + /** + * Set the isLocalUserEnabled property: Enables local users feature, if set to true. + * + * @param isLocalUserEnabled the isLocalUserEnabled value to set. + * @return the StorageAccountPropertiesCreateParameters object itself. + */ + public StorageAccountPropertiesCreateParameters withIsLocalUserEnabled(Boolean isLocalUserEnabled) { + this.isLocalUserEnabled = isLocalUserEnabled; + return this; + } + /** * Get the isHnsEnabled property: Account HierarchicalNamespace enabled if sets to true. * @@ -484,6 +610,54 @@ public StorageAccountPropertiesCreateParameters withAllowCrossTenantReplication( return this; } + /** + * Get the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication + * is OAuth or not. The default interpretation is false for this property. + * + * @return the defaultToOAuthAuthentication value. + */ + public Boolean defaultToOAuthAuthentication() { + return this.defaultToOAuthAuthentication; + } + + /** + * Set the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication + * is OAuth or not. The default interpretation is false for this property. + * + * @param defaultToOAuthAuthentication the defaultToOAuthAuthentication value to set. + * @return the StorageAccountPropertiesCreateParameters object itself. + */ + public StorageAccountPropertiesCreateParameters withDefaultToOAuthAuthentication( + Boolean defaultToOAuthAuthentication) { + this.defaultToOAuthAuthentication = defaultToOAuthAuthentication; + return this; + } + + /** + * Get the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the + * account creation time. When set to true, it enables object level immutability for all the new containers in the + * account by default. + * + * @return the immutableStorageWithVersioning value. + */ + public ImmutableStorageAccount immutableStorageWithVersioning() { + return this.immutableStorageWithVersioning; + } + + /** + * Set the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the + * account creation time. When set to true, it enables object level immutability for all the new containers in the + * account by default. + * + * @param immutableStorageWithVersioning the immutableStorageWithVersioning value to set. + * @return the StorageAccountPropertiesCreateParameters object itself. + */ + public StorageAccountPropertiesCreateParameters withImmutableStorageWithVersioning( + ImmutableStorageAccount immutableStorageWithVersioning) { + this.immutableStorageWithVersioning = immutableStorageWithVersioning; + return this; + } + /** * Validates the instance. * @@ -511,5 +685,8 @@ public void validate() { if (routingPreference() != null) { routingPreference().validate(); } + if (immutableStorageWithVersioning() != null) { + immutableStorageWithVersioning().validate(); + } } } diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountPropertiesInner.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountPropertiesInner.java index 82d5271a74def..14a842ee70732 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountPropertiesInner.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountPropertiesInner.java @@ -8,17 +8,20 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.storage.models.AccessTier; import com.azure.resourcemanager.storage.models.AccountStatus; +import com.azure.resourcemanager.storage.models.AllowedCopyScope; import com.azure.resourcemanager.storage.models.AzureFilesIdentityBasedAuthentication; import com.azure.resourcemanager.storage.models.CustomDomain; import com.azure.resourcemanager.storage.models.Encryption; import com.azure.resourcemanager.storage.models.Endpoints; import com.azure.resourcemanager.storage.models.GeoReplicationStats; +import com.azure.resourcemanager.storage.models.ImmutableStorageAccount; import com.azure.resourcemanager.storage.models.KeyCreationTime; import com.azure.resourcemanager.storage.models.KeyPolicy; import com.azure.resourcemanager.storage.models.LargeFileSharesState; import com.azure.resourcemanager.storage.models.MinimumTlsVersion; import com.azure.resourcemanager.storage.models.NetworkRuleSet; import com.azure.resourcemanager.storage.models.ProvisioningState; +import com.azure.resourcemanager.storage.models.PublicNetworkAccess; import com.azure.resourcemanager.storage.models.RoutingPreference; import com.azure.resourcemanager.storage.models.SasPolicy; import com.fasterxml.jackson.annotation.JsonIgnore; @@ -123,8 +126,8 @@ public final class StorageAccountPropertiesInner { private Endpoints secondaryEndpoints; /* - * Gets the encryption settings on the account. If unspecified, the account - * is unencrypted. + * Encryption settings to be used for server-side encryption for the + * storage account. */ @JsonProperty(value = "encryption", access = JsonProperty.Access.WRITE_ONLY) private Encryption encryption; @@ -154,6 +157,18 @@ public final class StorageAccountPropertiesInner { @JsonProperty(value = "networkAcls", access = JsonProperty.Access.WRITE_ONLY) private NetworkRuleSet networkRuleSet; + /* + * Enables Secure File Transfer Protocol, if set to true + */ + @JsonProperty(value = "isSftpEnabled") + private Boolean isSftpEnabled; + + /* + * Enables local users feature, if set to true + */ + @JsonProperty(value = "isLocalUserEnabled") + private Boolean isLocalUserEnabled; + /* * Account HierarchicalNamespace enabled if sets to true. */ @@ -237,6 +252,35 @@ public final class StorageAccountPropertiesInner { @JsonProperty(value = "allowCrossTenantReplication") private Boolean allowCrossTenantReplication; + /* + * A boolean flag which indicates whether the default authentication is + * OAuth or not. The default interpretation is false for this property. + */ + @JsonProperty(value = "defaultToOAuthAuthentication") + private Boolean defaultToOAuthAuthentication; + + /* + * Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + */ + @JsonProperty(value = "publicNetworkAccess") + private PublicNetworkAccess publicNetworkAccess; + + /* + * The property is immutable and can only be set to true at the account + * creation time. When set to true, it enables object level immutability + * for all the containers in the account by default. + */ + @JsonProperty(value = "immutableStorageWithVersioning") + private ImmutableStorageAccount immutableStorageWithVersioning; + + /* + * Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + */ + @JsonProperty(value = "allowedCopyScope") + private AllowedCopyScope allowedCopyScope; + /** * Get the provisioningState property: Gets the status of the storage account at the time the operation was called. * @@ -363,8 +407,7 @@ public Endpoints secondaryEndpoints() { } /** - * Get the encryption property: Gets the encryption settings on the account. If unspecified, the account is - * unencrypted. + * Get the encryption property: Encryption settings to be used for server-side encryption for the storage account. * * @return the encryption value. */ @@ -434,6 +477,46 @@ public NetworkRuleSet networkRuleSet() { return this.networkRuleSet; } + /** + * Get the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true. + * + * @return the isSftpEnabled value. + */ + public Boolean isSftpEnabled() { + return this.isSftpEnabled; + } + + /** + * Set the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true. + * + * @param isSftpEnabled the isSftpEnabled value to set. + * @return the StorageAccountPropertiesInner object itself. + */ + public StorageAccountPropertiesInner withIsSftpEnabled(Boolean isSftpEnabled) { + this.isSftpEnabled = isSftpEnabled; + return this; + } + + /** + * Get the isLocalUserEnabled property: Enables local users feature, if set to true. + * + * @return the isLocalUserEnabled value. + */ + public Boolean isLocalUserEnabled() { + return this.isLocalUserEnabled; + } + + /** + * Set the isLocalUserEnabled property: Enables local users feature, if set to true. + * + * @param isLocalUserEnabled the isLocalUserEnabled value to set. + * @return the StorageAccountPropertiesInner object itself. + */ + public StorageAccountPropertiesInner withIsLocalUserEnabled(Boolean isLocalUserEnabled) { + this.isLocalUserEnabled = isLocalUserEnabled; + return this; + } + /** * Get the isHnsEnabled property: Account HierarchicalNamespace enabled if sets to true. * @@ -646,6 +729,97 @@ public StorageAccountPropertiesInner withAllowCrossTenantReplication(Boolean all return this; } + /** + * Get the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication + * is OAuth or not. The default interpretation is false for this property. + * + * @return the defaultToOAuthAuthentication value. + */ + public Boolean defaultToOAuthAuthentication() { + return this.defaultToOAuthAuthentication; + } + + /** + * Set the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication + * is OAuth or not. The default interpretation is false for this property. + * + * @param defaultToOAuthAuthentication the defaultToOAuthAuthentication value to set. + * @return the StorageAccountPropertiesInner object itself. + */ + public StorageAccountPropertiesInner withDefaultToOAuthAuthentication(Boolean defaultToOAuthAuthentication) { + this.defaultToOAuthAuthentication = defaultToOAuthAuthentication; + return this; + } + + /** + * Get the publicNetworkAccess property: Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + * + * @return the publicNetworkAccess value. + */ + public PublicNetworkAccess publicNetworkAccess() { + return this.publicNetworkAccess; + } + + /** + * Set the publicNetworkAccess property: Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + * + * @param publicNetworkAccess the publicNetworkAccess value to set. + * @return the StorageAccountPropertiesInner object itself. + */ + public StorageAccountPropertiesInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) { + this.publicNetworkAccess = publicNetworkAccess; + return this; + } + + /** + * Get the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the + * account creation time. When set to true, it enables object level immutability for all the containers in the + * account by default. + * + * @return the immutableStorageWithVersioning value. + */ + public ImmutableStorageAccount immutableStorageWithVersioning() { + return this.immutableStorageWithVersioning; + } + + /** + * Set the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the + * account creation time. When set to true, it enables object level immutability for all the containers in the + * account by default. + * + * @param immutableStorageWithVersioning the immutableStorageWithVersioning value to set. + * @return the StorageAccountPropertiesInner object itself. + */ + public StorageAccountPropertiesInner withImmutableStorageWithVersioning( + ImmutableStorageAccount immutableStorageWithVersioning) { + this.immutableStorageWithVersioning = immutableStorageWithVersioning; + return this; + } + + /** + * Get the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + * + * @return the allowedCopyScope value. + */ + public AllowedCopyScope allowedCopyScope() { + return this.allowedCopyScope; + } + + /** + * Set the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + * + * @param allowedCopyScope the allowedCopyScope value to set. + * @return the StorageAccountPropertiesInner object itself. + */ + public StorageAccountPropertiesInner withAllowedCopyScope(AllowedCopyScope allowedCopyScope) { + this.allowedCopyScope = allowedCopyScope; + return this; + } + /** * Validates the instance. * @@ -691,5 +865,8 @@ public void validate() { if (blobRestoreStatus() != null) { blobRestoreStatus().validate(); } + if (immutableStorageWithVersioning() != null) { + immutableStorageWithVersioning().validate(); + } } } diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountPropertiesUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountPropertiesUpdateParameters.java index af8153dad5d30..976d161d0f85e 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountPropertiesUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/fluent/models/StorageAccountPropertiesUpdateParameters.java @@ -7,13 +7,16 @@ import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.azure.resourcemanager.storage.models.AccessTier; +import com.azure.resourcemanager.storage.models.AllowedCopyScope; import com.azure.resourcemanager.storage.models.AzureFilesIdentityBasedAuthentication; import com.azure.resourcemanager.storage.models.CustomDomain; import com.azure.resourcemanager.storage.models.Encryption; +import com.azure.resourcemanager.storage.models.ImmutableStorageAccount; import com.azure.resourcemanager.storage.models.KeyPolicy; import com.azure.resourcemanager.storage.models.LargeFileSharesState; import com.azure.resourcemanager.storage.models.MinimumTlsVersion; import com.azure.resourcemanager.storage.models.NetworkRuleSet; +import com.azure.resourcemanager.storage.models.PublicNetworkAccess; import com.azure.resourcemanager.storage.models.RoutingPreference; import com.azure.resourcemanager.storage.models.SasPolicy; import com.fasterxml.jackson.annotation.JsonIgnore; @@ -34,8 +37,8 @@ public final class StorageAccountPropertiesUpdateParameters { private CustomDomain customDomain; /* - * Provides the encryption settings on the account. The default setting is - * unencrypted. + * Not applicable. Azure Storage encryption at rest is enabled by default + * for all storage accounts and cannot be disabled. */ @JsonProperty(value = "encryption") private Encryption encryption; @@ -71,6 +74,18 @@ public final class StorageAccountPropertiesUpdateParameters { @JsonProperty(value = "supportsHttpsTrafficOnly") private Boolean enableHttpsTrafficOnly; + /* + * Enables Secure File Transfer Protocol, if set to true + */ + @JsonProperty(value = "isSftpEnabled") + private Boolean isSftpEnabled; + + /* + * Enables local users feature, if set to true + */ + @JsonProperty(value = "isLocalUserEnabled") + private Boolean isLocalUserEnabled; + /* * Network rule set */ @@ -122,6 +137,35 @@ public final class StorageAccountPropertiesUpdateParameters { @JsonProperty(value = "allowCrossTenantReplication") private Boolean allowCrossTenantReplication; + /* + * A boolean flag which indicates whether the default authentication is + * OAuth or not. The default interpretation is false for this property. + */ + @JsonProperty(value = "defaultToOAuthAuthentication") + private Boolean defaultToOAuthAuthentication; + + /* + * Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + */ + @JsonProperty(value = "publicNetworkAccess") + private PublicNetworkAccess publicNetworkAccess; + + /* + * The property is immutable and can only be set to true at the account + * creation time. When set to true, it enables object level immutability + * for all the containers in the account by default. + */ + @JsonProperty(value = "immutableStorageWithVersioning") + private ImmutableStorageAccount immutableStorageWithVersioning; + + /* + * Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + */ + @JsonProperty(value = "allowedCopyScope") + private AllowedCopyScope allowedCopyScope; + /** * Get the customDomain property: Custom domain assigned to the storage account by the user. Name is the CNAME * source. Only one custom domain is supported per storage account at this time. To clear the existing custom @@ -147,7 +191,8 @@ public StorageAccountPropertiesUpdateParameters withCustomDomain(CustomDomain cu } /** - * Get the encryption property: Provides the encryption settings on the account. The default setting is unencrypted. + * Get the encryption property: Not applicable. Azure Storage encryption at rest is enabled by default for all + * storage accounts and cannot be disabled. * * @return the encryption value. */ @@ -156,7 +201,8 @@ public Encryption encryption() { } /** - * Set the encryption property: Provides the encryption settings on the account. The default setting is unencrypted. + * Set the encryption property: Not applicable. Azure Storage encryption at rest is enabled by default for all + * storage accounts and cannot be disabled. * * @param encryption the encryption value to set. * @return the StorageAccountPropertiesUpdateParameters object itself. @@ -271,6 +317,46 @@ public StorageAccountPropertiesUpdateParameters withEnableHttpsTrafficOnly(Boole return this; } + /** + * Get the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true. + * + * @return the isSftpEnabled value. + */ + public Boolean isSftpEnabled() { + return this.isSftpEnabled; + } + + /** + * Set the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true. + * + * @param isSftpEnabled the isSftpEnabled value to set. + * @return the StorageAccountPropertiesUpdateParameters object itself. + */ + public StorageAccountPropertiesUpdateParameters withIsSftpEnabled(Boolean isSftpEnabled) { + this.isSftpEnabled = isSftpEnabled; + return this; + } + + /** + * Get the isLocalUserEnabled property: Enables local users feature, if set to true. + * + * @return the isLocalUserEnabled value. + */ + public Boolean isLocalUserEnabled() { + return this.isLocalUserEnabled; + } + + /** + * Set the isLocalUserEnabled property: Enables local users feature, if set to true. + * + * @param isLocalUserEnabled the isLocalUserEnabled value to set. + * @return the StorageAccountPropertiesUpdateParameters object itself. + */ + public StorageAccountPropertiesUpdateParameters withIsLocalUserEnabled(Boolean isLocalUserEnabled) { + this.isLocalUserEnabled = isLocalUserEnabled; + return this; + } + /** * Get the networkRuleSet property: Network rule set. * @@ -427,6 +513,98 @@ public StorageAccountPropertiesUpdateParameters withAllowCrossTenantReplication( return this; } + /** + * Get the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication + * is OAuth or not. The default interpretation is false for this property. + * + * @return the defaultToOAuthAuthentication value. + */ + public Boolean defaultToOAuthAuthentication() { + return this.defaultToOAuthAuthentication; + } + + /** + * Set the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication + * is OAuth or not. The default interpretation is false for this property. + * + * @param defaultToOAuthAuthentication the defaultToOAuthAuthentication value to set. + * @return the StorageAccountPropertiesUpdateParameters object itself. + */ + public StorageAccountPropertiesUpdateParameters withDefaultToOAuthAuthentication( + Boolean defaultToOAuthAuthentication) { + this.defaultToOAuthAuthentication = defaultToOAuthAuthentication; + return this; + } + + /** + * Get the publicNetworkAccess property: Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + * + * @return the publicNetworkAccess value. + */ + public PublicNetworkAccess publicNetworkAccess() { + return this.publicNetworkAccess; + } + + /** + * Set the publicNetworkAccess property: Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + * + * @param publicNetworkAccess the publicNetworkAccess value to set. + * @return the StorageAccountPropertiesUpdateParameters object itself. + */ + public StorageAccountPropertiesUpdateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) { + this.publicNetworkAccess = publicNetworkAccess; + return this; + } + + /** + * Get the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the + * account creation time. When set to true, it enables object level immutability for all the containers in the + * account by default. + * + * @return the immutableStorageWithVersioning value. + */ + public ImmutableStorageAccount immutableStorageWithVersioning() { + return this.immutableStorageWithVersioning; + } + + /** + * Set the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the + * account creation time. When set to true, it enables object level immutability for all the containers in the + * account by default. + * + * @param immutableStorageWithVersioning the immutableStorageWithVersioning value to set. + * @return the StorageAccountPropertiesUpdateParameters object itself. + */ + public StorageAccountPropertiesUpdateParameters withImmutableStorageWithVersioning( + ImmutableStorageAccount immutableStorageWithVersioning) { + this.immutableStorageWithVersioning = immutableStorageWithVersioning; + return this; + } + + /** + * Get the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + * + * @return the allowedCopyScope value. + */ + public AllowedCopyScope allowedCopyScope() { + return this.allowedCopyScope; + } + + /** + * Set the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + * + * @param allowedCopyScope the allowedCopyScope value to set. + * @return the StorageAccountPropertiesUpdateParameters object itself. + */ + public StorageAccountPropertiesUpdateParameters withAllowedCopyScope(AllowedCopyScope allowedCopyScope) { + this.allowedCopyScope = allowedCopyScope; + return this; + } + /** * Validates the instance. * @@ -454,5 +632,8 @@ public void validate() { if (routingPreference() != null) { routingPreference().validate(); } + if (immutableStorageWithVersioning() != null) { + immutableStorageWithVersioning().validate(); + } } } diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobContainersClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobContainersClientImpl.java index 57b1cfaf60956..88b5a8b1e7e29 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobContainersClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobContainersClientImpl.java @@ -350,7 +350,7 @@ Mono> listNext( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -421,7 +421,7 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -489,7 +489,7 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync( @@ -514,7 +514,7 @@ public PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String accountName) { @@ -541,7 +541,7 @@ public PagedFlux listAsync(String resourceGroupName, Str * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync( @@ -567,7 +567,7 @@ private PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String accountName) { @@ -592,7 +592,7 @@ public PagedIterable list(String resourceGroupName, Stri * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list( @@ -620,7 +620,8 @@ public PagedIterable list( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the blob container, including Id, resource name, resource type, Etag. + * @return properties of the blob container, including Id, resource name, resource type, Etag along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createWithResponseAsync( @@ -686,7 +687,8 @@ public Mono> createWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the blob container, including Id, resource name, resource type, Etag. + * @return properties of the blob container, including Id, resource name, resource type, Etag along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createWithResponseAsync( @@ -752,7 +754,8 @@ private Mono> createWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the blob container, including Id, resource name, resource type, Etag. + * @return properties of the blob container, including Id, resource name, resource type, Etag on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono createAsync( @@ -807,7 +810,8 @@ public BlobContainerInner create( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the blob container, including Id, resource name, resource type, Etag. + * @return properties of the blob container, including Id, resource name, resource type, Etag along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response createWithResponse( @@ -834,7 +838,8 @@ public Response createWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the blob container, including Id, resource name, resource type, Etag. + * @return properties of the blob container, including Id, resource name, resource type, Etag along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> updateWithResponseAsync( @@ -900,7 +905,8 @@ public Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the blob container, including Id, resource name, resource type, Etag. + * @return properties of the blob container, including Id, resource name, resource type, Etag along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> updateWithResponseAsync( @@ -966,7 +972,8 @@ private Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the blob container, including Id, resource name, resource type, Etag. + * @return properties of the blob container, including Id, resource name, resource type, Etag on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono updateAsync( @@ -1021,7 +1028,8 @@ public BlobContainerInner update( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the blob container, including Id, resource name, resource type, Etag. + * @return properties of the blob container, including Id, resource name, resource type, Etag along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response updateWithResponse( @@ -1046,7 +1054,7 @@ public Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified container. + * @return properties of a specified container along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getWithResponseAsync( @@ -1104,7 +1112,7 @@ public Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified container. + * @return properties of a specified container along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync( @@ -1158,7 +1166,7 @@ private Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified container. + * @return properties of a specified container on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getAsync(String resourceGroupName, String accountName, String containerName) { @@ -1207,7 +1215,7 @@ public BlobContainerInner get(String resourceGroupName, String accountName, Stri * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified container. + * @return properties of a specified container along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getWithResponse( @@ -1228,7 +1236,7 @@ public Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteWithResponseAsync( @@ -1284,7 +1292,7 @@ public Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteWithResponseAsync( @@ -1336,7 +1344,7 @@ private Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono deleteAsync(String resourceGroupName, String accountName, String containerName) { @@ -1377,7 +1385,7 @@ public void delete(String resourceGroupName, String accountName, String containe * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteWithResponse( @@ -1400,7 +1408,8 @@ public Response deleteWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the LegalHold property of a blob container. + * @return the LegalHold property of a blob container along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> setLegalHoldWithResponseAsync( @@ -1466,7 +1475,8 @@ public Mono> setLegalHoldWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the LegalHold property of a blob container. + * @return the LegalHold property of a blob container along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> setLegalHoldWithResponseAsync( @@ -1528,7 +1538,7 @@ private Mono> setLegalHoldWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the LegalHold property of a blob container. + * @return the LegalHold property of a blob container on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono setLegalHoldAsync( @@ -1583,7 +1593,7 @@ public LegalHoldInner setLegalHold( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the LegalHold property of a blob container. + * @return the LegalHold property of a blob container along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response setLegalHoldWithResponse( @@ -1606,7 +1616,8 @@ public Response setLegalHoldWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the LegalHold property of a blob container. + * @return the LegalHold property of a blob container along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> clearLegalHoldWithResponseAsync( @@ -1672,7 +1683,8 @@ public Mono> clearLegalHoldWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the LegalHold property of a blob container. + * @return the LegalHold property of a blob container along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> clearLegalHoldWithResponseAsync( @@ -1734,7 +1746,7 @@ private Mono> clearLegalHoldWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the LegalHold property of a blob container. + * @return the LegalHold property of a blob container on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono clearLegalHoldAsync( @@ -1789,7 +1801,7 @@ public LegalHoldInner clearLegalHold( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the LegalHold property of a blob container. + * @return the LegalHold property of a blob container along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response clearLegalHoldWithResponse( @@ -1816,7 +1828,8 @@ public Response clearLegalHoldWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono @@ -1891,7 +1904,8 @@ public Response clearLegalHoldWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono @@ -1963,7 +1977,8 @@ public Response clearLegalHoldWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono createOrUpdateImmutabilityPolicyAsync( @@ -1998,7 +2013,8 @@ public Mono createOrUpdateImmutabilityPolicyAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono createOrUpdateImmutabilityPolicyAsync( @@ -2092,7 +2108,8 @@ public BlobContainersCreateOrUpdateImmutabilityPolicyResponse createOrUpdateImmu * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the existing immutability policy along with the corresponding ETag in response headers and body. + * @return the existing immutability policy along with the corresponding ETag in response headers and body on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getImmutabilityPolicyWithResponseAsync( @@ -2156,7 +2173,8 @@ public Mono getImmutabilityPolicyWi * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the existing immutability policy along with the corresponding ETag in response headers and body. + * @return the existing immutability policy along with the corresponding ETag in response headers and body on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono getImmutabilityPolicyWithResponseAsync( @@ -2216,7 +2234,8 @@ private Mono getImmutabilityPolicyW * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the existing immutability policy along with the corresponding ETag in response headers and body. + * @return the existing immutability policy along with the corresponding ETag in response headers and body on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getImmutabilityPolicyAsync( @@ -2245,7 +2264,8 @@ public Mono getImmutabilityPolicyAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the existing immutability policy along with the corresponding ETag in response headers and body. + * @return the existing immutability policy along with the corresponding ETag in response headers and body on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getImmutabilityPolicyAsync( @@ -2328,7 +2348,8 @@ public BlobContainersGetImmutabilityPolicyResponse getImmutabilityPolicyWithResp * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono deleteImmutabilityPolicyWithResponseAsync( @@ -2397,7 +2418,8 @@ public Mono deleteImmutabilityPo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono deleteImmutabilityPolicyWithResponseAsync( @@ -2462,7 +2484,8 @@ private Mono deleteImmutabilityP * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono deleteImmutabilityPolicyAsync( @@ -2550,7 +2573,8 @@ public BlobContainersDeleteImmutabilityPolicyResponse deleteImmutabilityPolicyWi * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono lockImmutabilityPolicyWithResponseAsync( @@ -2616,7 +2640,8 @@ public Mono lockImmutabilityPolicy * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono lockImmutabilityPolicyWithResponseAsync( @@ -2678,7 +2703,8 @@ private Mono lockImmutabilityPolic * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono lockImmutabilityPolicyAsync( @@ -2764,7 +2790,8 @@ public BlobContainersLockImmutabilityPolicyResponse lockImmutabilityPolicyWithRe * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono extendImmutabilityPolicyWithResponseAsync( @@ -2839,7 +2866,8 @@ public Mono extendImmutabilityPo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono extendImmutabilityPolicyWithResponseAsync( @@ -2911,7 +2939,8 @@ private Mono extendImmutabilityP * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono extendImmutabilityPolicyAsync( @@ -2949,7 +2978,8 @@ public Mono extendImmutabilityPolicyAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag. + * @return the ImmutabilityPolicy property of a blob container, including Id, resource name, resource type, Etag on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono extendImmutabilityPolicyAsync( @@ -3043,7 +3073,7 @@ public BlobContainersExtendImmutabilityPolicyResponse extendImmutabilityPolicyWi * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Container response schema. + * @return lease Container response schema along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> leaseWithResponseAsync( @@ -3107,7 +3137,7 @@ public Mono> leaseWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Container response schema. + * @return lease Container response schema along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> leaseWithResponseAsync( @@ -3171,7 +3201,7 @@ private Mono> leaseWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Container response schema. + * @return lease Container response schema on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono leaseAsync( @@ -3201,7 +3231,7 @@ public Mono leaseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Container response schema. + * @return lease Container response schema on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono leaseAsync( @@ -3256,7 +3286,7 @@ public LeaseContainerResponseInner lease(String resourceGroupName, String accoun * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Container response schema. + * @return lease Container response schema along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response leaseWithResponse( @@ -3283,7 +3313,7 @@ public Response leaseWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> objectLevelWormWithResponseAsync( @@ -3343,7 +3373,7 @@ public Mono>> objectLevelWormWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> objectLevelWormWithResponseAsync( @@ -3399,7 +3429,7 @@ private Mono>> objectLevelWormWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, Void> beginObjectLevelWormAsync( @@ -3428,7 +3458,7 @@ public PollerFlux, Void> beginObjectLevelWormAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginObjectLevelWormAsync( @@ -3456,7 +3486,7 @@ private PollerFlux, Void> beginObjectLevelWormAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginObjectLevelWorm( @@ -3480,7 +3510,7 @@ public SyncPoller, Void> beginObjectLevelWorm( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginObjectLevelWorm( @@ -3503,7 +3533,7 @@ public SyncPoller, Void> beginObjectLevelWorm( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono objectLevelWormAsync(String resourceGroupName, String accountName, String containerName) { @@ -3528,7 +3558,7 @@ public Mono objectLevelWormAsync(String resourceGroupName, String accountN * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono objectLevelWormAsync( @@ -3588,7 +3618,7 @@ public void objectLevelWorm(String resourceGroupName, String accountName, String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -3624,7 +3654,7 @@ private Mono> listNextSinglePageAsync(Stri * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobInventoryPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobInventoryPoliciesClientImpl.java index bfdc7c5e1b2d7..70fd35b40a550 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobInventoryPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobInventoryPoliciesClientImpl.java @@ -141,7 +141,8 @@ Mono> list( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getWithResponseAsync( @@ -200,7 +201,8 @@ public Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync( @@ -258,7 +260,8 @@ private Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getAsync( @@ -307,7 +310,7 @@ public BlobInventoryPolicyInner get( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getWithResponse( @@ -331,7 +334,8 @@ public Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account blob inventory policy. + * @return the storage account blob inventory policy along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createOrUpdateWithResponseAsync( @@ -400,7 +404,8 @@ public Mono> createOrUpdateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account blob inventory policy. + * @return the storage account blob inventory policy along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createOrUpdateWithResponseAsync( @@ -466,7 +471,7 @@ private Mono> createOrUpdateWithResponseAsync * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account blob inventory policy. + * @return the storage account blob inventory policy on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono createOrUpdateAsync( @@ -523,7 +528,7 @@ public BlobInventoryPolicyInner createOrUpdate( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account blob inventory policy. + * @return the storage account blob inventory policy along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response createOrUpdateWithResponse( @@ -549,7 +554,7 @@ public Response createOrUpdateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteWithResponseAsync( @@ -608,7 +613,7 @@ public Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteWithResponseAsync( @@ -666,7 +671,7 @@ private Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono deleteAsync( @@ -706,7 +711,7 @@ public void delete(String resourceGroupName, String accountName, BlobInventoryPo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteWithResponse( @@ -727,7 +732,8 @@ public Response deleteWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account along with {@link PagedResponse} + * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -782,7 +788,8 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account along with {@link PagedResponse} + * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -833,7 +840,8 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account as paginated response with {@link + * PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String accountName) { @@ -851,7 +859,8 @@ public PagedFlux listAsync(String resourceGroupName, S * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account as paginated response with {@link + * PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync( @@ -869,7 +878,8 @@ private PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account as paginated response with {@link + * PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String accountName) { @@ -887,7 +897,8 @@ public PagedIterable list(String resourceGroupName, St * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the blob inventory policy associated with the specified storage account. + * @return the blob inventory policy associated with the specified storage account as paginated response with {@link + * PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String accountName, Context context) { diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobServicesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobServicesClientImpl.java index 7ac1c48e4f3f7..b04f96cb42587 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobServicesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/BlobServicesClientImpl.java @@ -120,7 +120,7 @@ Mono> getServiceProperties( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -175,7 +175,7 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -226,7 +226,7 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String accountName) { @@ -244,7 +244,7 @@ public PagedFlux listAsync(String resourceGroupName, * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync( @@ -262,7 +262,7 @@ private PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String accountName) { @@ -280,7 +280,7 @@ public PagedIterable list(String resourceGroupName, * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list( @@ -301,7 +301,8 @@ public PagedIterable list( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Blob service. + * @return the properties of a storage account’s Blob service along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> setServicePropertiesWithResponseAsync( @@ -363,7 +364,8 @@ public Mono> setServicePropertiesWithRespon * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Blob service. + * @return the properties of a storage account’s Blob service along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> setServicePropertiesWithResponseAsync( @@ -421,7 +423,7 @@ private Mono> setServicePropertiesWithRespo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Blob service. + * @return the properties of a storage account’s Blob service on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono setServicePropertiesAsync( @@ -472,7 +474,7 @@ public BlobServicePropertiesInner setServiceProperties( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Blob service. + * @return the properties of a storage account’s Blob service along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response setServicePropertiesWithResponse( @@ -492,7 +494,7 @@ public Response setServicePropertiesWithResponse( * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getServicePropertiesWithResponseAsync( @@ -547,7 +549,7 @@ public Mono> getServicePropertiesWithRespon * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getServicePropertiesWithResponseAsync( @@ -598,7 +600,7 @@ private Mono> getServicePropertiesWithRespo * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getServicePropertiesAsync(String resourceGroupName, String accountName) { @@ -645,7 +647,7 @@ public BlobServicePropertiesInner getServiceProperties(String resourceGroupName, * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getServicePropertiesWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/DeletedAccountsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/DeletedAccountsClientImpl.java index d9c29215be86d..49f26b5f9c169 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/DeletedAccountsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/DeletedAccountsClientImpl.java @@ -101,7 +101,8 @@ Mono> listNext( * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Deleted Accounts operation. + * @return the response from the List Deleted Accounts operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync() { @@ -147,7 +148,8 @@ private Mono> listSinglePageAsync() { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Deleted Accounts operation. + * @return the response from the List Deleted Accounts operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(Context context) { @@ -188,7 +190,7 @@ private Mono> listSinglePageAsync(Context con * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Deleted Accounts operation. + * @return the response from the List Deleted Accounts operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync() { @@ -202,7 +204,7 @@ public PagedFlux listAsync() { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Deleted Accounts operation. + * @return the response from the List Deleted Accounts operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(Context context) { @@ -215,7 +217,7 @@ private PagedFlux listAsync(Context context) { * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Deleted Accounts operation. + * @return the response from the List Deleted Accounts operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list() { @@ -229,7 +231,7 @@ public PagedIterable list() { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Deleted Accounts operation. + * @return the response from the List Deleted Accounts operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(Context context) { @@ -244,7 +246,8 @@ public PagedIterable list(Context context) { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of specified deleted account resource. + * @return properties of specified deleted account resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getWithResponseAsync(String deletedAccountName, String location) { @@ -292,7 +295,8 @@ public Mono> getWithResponseAsync(String deletedAc * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of specified deleted account resource. + * @return properties of specified deleted account resource along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync( @@ -337,7 +341,7 @@ private Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of specified deleted account resource. + * @return properties of specified deleted account resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getAsync(String deletedAccountName, String location) { @@ -376,7 +380,7 @@ public DeletedAccountInner get(String deletedAccountName, String location) { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of specified deleted account resource. + * @return properties of specified deleted account resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getWithResponse(String deletedAccountName, String location, Context context) { @@ -390,7 +394,8 @@ public Response getWithResponse(String deletedAccountName, * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Deleted Accounts operation. + * @return the response from the List Deleted Accounts operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -426,7 +431,8 @@ private Mono> listNextSinglePageAsync(String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Deleted Accounts operation. + * @return the response from the List Deleted Accounts operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/EncryptionScopesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/EncryptionScopesClientImpl.java index d350ae496e260..596fa9cb59dd3 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/EncryptionScopesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/EncryptionScopesClientImpl.java @@ -154,7 +154,7 @@ Mono> listNext( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> putWithResponseAsync( @@ -226,7 +226,7 @@ public Mono> putWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> putWithResponseAsync( @@ -295,7 +295,7 @@ private Mono> putWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono putAsync( @@ -358,7 +358,7 @@ public EncryptionScopeInner put( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response putWithResponse( @@ -386,7 +386,7 @@ public Response putWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> patchWithResponseAsync( @@ -457,7 +457,7 @@ public Mono> patchWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> patchWithResponseAsync( @@ -525,7 +525,7 @@ private Mono> patchWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono patchAsync( @@ -586,7 +586,7 @@ public EncryptionScopeInner patch( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response patchWithResponse( @@ -612,7 +612,7 @@ public Response patchWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getWithResponseAsync( @@ -671,7 +671,7 @@ public Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync( @@ -726,7 +726,7 @@ private Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getAsync( @@ -776,7 +776,7 @@ public EncryptionScopeInner get(String resourceGroupName, String accountName, St * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Encryption Scope resource. + * @return the Encryption Scope resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getWithResponse( @@ -795,7 +795,7 @@ public Response getWithResponse( * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return list of encryption scopes requested, and if paging is required, a URL to the next page of encryption - * scopes. + * scopes along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -856,7 +856,7 @@ private Mono> listSinglePageAsync( * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return list of encryption scopes requested, and if paging is required, a URL to the next page of encryption - * scopes. + * scopes along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -913,7 +913,7 @@ private Mono> listSinglePageAsync( * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return list of encryption scopes requested, and if paging is required, a URL to the next page of encryption - * scopes. + * scopes as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String accountName) { @@ -933,7 +933,7 @@ public PagedFlux listAsync(String resourceGroupName, Strin * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return list of encryption scopes requested, and if paging is required, a URL to the next page of encryption - * scopes. + * scopes as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String accountName, Context context) { @@ -953,7 +953,7 @@ private PagedFlux listAsync(String resourceGroupName, Stri * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return list of encryption scopes requested, and if paging is required, a URL to the next page of encryption - * scopes. + * scopes as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String accountName) { @@ -972,7 +972,7 @@ public PagedIterable list(String resourceGroupName, String * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return list of encryption scopes requested, and if paging is required, a URL to the next page of encryption - * scopes. + * scopes as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String accountName, Context context) { @@ -987,7 +987,7 @@ public PagedIterable list(String resourceGroupName, String * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return list of encryption scopes requested, and if paging is required, a URL to the next page of encryption - * scopes. + * scopes along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -1024,7 +1024,7 @@ private Mono> listNextSinglePageAsync(String * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return list of encryption scopes requested, and if paging is required, a URL to the next page of encryption - * scopes. + * scopes along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/FileServicesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/FileServicesClientImpl.java index cebf41ccc0129..3fbca000efa3d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/FileServicesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/FileServicesClientImpl.java @@ -116,7 +116,7 @@ Mono> getServiceProperties( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> listWithResponseAsync(String resourceGroupName, String accountName) { @@ -166,7 +166,7 @@ public Mono> listWithResponseAsync(String resour * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listWithResponseAsync( @@ -213,7 +213,7 @@ private Mono> listWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono listAsync(String resourceGroupName, String accountName) { @@ -256,7 +256,7 @@ public FileServiceItemsInner list(String resourceGroupName, String accountName) * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response listWithResponse( @@ -276,7 +276,8 @@ public Response listWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of File services in storage account. + * @return the properties of File services in storage account along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> setServicePropertiesWithResponseAsync( @@ -337,7 +338,8 @@ public Mono> setServicePropertiesWithRespon * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of File services in storage account. + * @return the properties of File services in storage account along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> setServicePropertiesWithResponseAsync( @@ -394,7 +396,7 @@ private Mono> setServicePropertiesWithRespo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of File services in storage account. + * @return the properties of File services in storage account on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono setServicePropertiesAsync( @@ -443,7 +445,7 @@ public FileServicePropertiesInner setServiceProperties( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of File services in storage account. + * @return the properties of File services in storage account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response setServicePropertiesWithResponse( @@ -461,8 +463,8 @@ public Response setServicePropertiesWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) - * rules. + * @return the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules + * along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getServicePropertiesWithResponseAsync( @@ -515,8 +517,8 @@ public Mono> getServicePropertiesWithRespon * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) - * rules. + * @return the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules + * along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getServicePropertiesWithResponseAsync( @@ -565,8 +567,8 @@ private Mono> getServicePropertiesWithRespo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) - * rules. + * @return the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules + * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getServicePropertiesAsync(String resourceGroupName, String accountName) { @@ -610,8 +612,8 @@ public FileServicePropertiesInner getServiceProperties(String resourceGroupName, * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) - * rules. + * @return the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules + * along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getServicePropertiesWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/FileSharesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/FileSharesClientImpl.java index 0e6facb54515f..5e499a4b3dd69 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/FileSharesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/FileSharesClientImpl.java @@ -218,7 +218,7 @@ Mono> listNext( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -285,7 +285,7 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -353,7 +353,7 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync( @@ -373,7 +373,7 @@ public PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String accountName) { @@ -400,7 +400,7 @@ public PagedFlux listAsync(String resourceGroupName, String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync( @@ -425,7 +425,7 @@ private PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String accountName) { @@ -450,7 +450,7 @@ public PagedIterable list(String resourceGroupName, String a * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list( @@ -480,7 +480,8 @@ public PagedIterable list( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createWithResponseAsync( @@ -549,7 +550,8 @@ public Mono> createWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createWithResponseAsync( @@ -619,7 +621,8 @@ private Mono> createWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono createAsync( @@ -650,7 +653,8 @@ public Mono createAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono createAsync( @@ -709,7 +713,8 @@ public FileShareInner create( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response createWithResponse( @@ -737,7 +742,8 @@ public Response createWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> updateWithResponseAsync( @@ -803,7 +809,8 @@ public Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> updateWithResponseAsync( @@ -865,7 +872,8 @@ private Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono updateAsync( @@ -920,7 +928,8 @@ public FileShareInner update( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the file share, including Id, resource name, resource type, Etag. + * @return properties of the file share, including Id, resource name, resource type, Etag along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response updateWithResponse( @@ -944,7 +953,7 @@ public Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified share. + * @return properties of a specified share along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getWithResponseAsync( @@ -1007,7 +1016,7 @@ public Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified share. + * @return properties of a specified share along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync( @@ -1071,7 +1080,7 @@ private Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified share. + * @return properties of a specified share on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getAsync( @@ -1100,7 +1109,7 @@ public Mono getAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified share. + * @return properties of a specified share on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getAsync(String resourceGroupName, String accountName, String shareName) { @@ -1156,7 +1165,7 @@ public FileShareInner get(String resourceGroupName, String accountName, String s * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of a specified share. + * @return properties of a specified share along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getWithResponse( @@ -1188,7 +1197,7 @@ public Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteWithResponseAsync( @@ -1254,7 +1263,7 @@ public Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteWithResponseAsync( @@ -1321,7 +1330,7 @@ private Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono deleteAsync( @@ -1343,7 +1352,7 @@ public Mono deleteAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono deleteAsync(String resourceGroupName, String accountName, String shareName) { @@ -1394,7 +1403,7 @@ public void delete(String resourceGroupName, String accountName, String shareNam * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteWithResponse( @@ -1422,7 +1431,7 @@ public Response deleteWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> restoreWithResponseAsync( @@ -1487,7 +1496,7 @@ public Mono> restoreWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> restoreWithResponseAsync( @@ -1548,7 +1557,7 @@ private Mono> restoreWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono restoreAsync( @@ -1592,7 +1601,7 @@ public void restore(String resourceGroupName, String accountName, String shareNa * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response restoreWithResponse( @@ -1616,7 +1625,7 @@ public Response restoreWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Share response schema. + * @return lease Share response schema on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono leaseWithResponseAsync( @@ -1686,7 +1695,7 @@ public Mono leaseWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Share response schema. + * @return lease Share response schema on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono leaseWithResponseAsync( @@ -1753,7 +1762,7 @@ private Mono leaseWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Share response schema. + * @return lease Share response schema on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono leaseAsync( @@ -1787,7 +1796,7 @@ public Mono leaseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return lease Share response schema. + * @return lease Share response schema on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono leaseAsync(String resourceGroupName, String accountName, String shareName) { @@ -1865,7 +1874,7 @@ public FileSharesLeaseResponse leaseWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -1901,7 +1910,7 @@ private Mono> listNextSinglePageAsync(String n * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/LocalUsersOperationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/LocalUsersOperationsClientImpl.java new file mode 100644 index 0000000000000..30b2cff9a3933 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/LocalUsersOperationsClientImpl.java @@ -0,0 +1,1245 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.implementation; + +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.Delete; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.Get; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Headers; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.PathParam; +import com.azure.core.annotation.Post; +import com.azure.core.annotation.Put; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.management.exception.ManagementException; +import com.azure.core.util.Context; +import com.azure.core.util.FluxUtil; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.storage.fluent.LocalUsersOperationsClient; +import com.azure.resourcemanager.storage.fluent.models.LocalUserInner; +import com.azure.resourcemanager.storage.fluent.models.LocalUserKeysInner; +import com.azure.resourcemanager.storage.fluent.models.LocalUserRegeneratePasswordResultInner; +import com.azure.resourcemanager.storage.models.LocalUsers; +import reactor.core.publisher.Mono; + +/** An instance of this class provides access to all the operations defined in LocalUsersOperationsClient. */ +public final class LocalUsersOperationsClientImpl implements LocalUsersOperationsClient { + private final ClientLogger logger = new ClientLogger(LocalUsersOperationsClientImpl.class); + + /** The proxy service used to perform REST calls. */ + private final LocalUsersOperationsService service; + + /** The service client containing this operation class. */ + private final StorageManagementClientImpl client; + + /** + * Initializes an instance of LocalUsersOperationsClientImpl. + * + * @param client the instance of the service client containing this operation class. + */ + LocalUsersOperationsClientImpl(StorageManagementClientImpl client) { + this.service = + RestProxy + .create(LocalUsersOperationsService.class, client.getHttpPipeline(), client.getSerializerAdapter()); + this.client = client; + } + + /** + * The interface defining all the services for StorageManagementClientLocalUsersOperations to be used by the proxy + * service to perform REST calls. + */ + @Host("{$host}") + @ServiceInterface(name = "StorageManagementCli") + private interface LocalUsersOperationsService { + @Headers({"Content-Type: application/json"}) + @Get( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage" + + "/storageAccounts/{accountName}/localUsers") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> list( + @HostParam("$host") String endpoint, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("accountName") String accountName, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Get( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage" + + "/storageAccounts/{accountName}/localUsers/{username}") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> get( + @HostParam("$host") String endpoint, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("accountName") String accountName, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("username") String username, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Put( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage" + + "/storageAccounts/{accountName}/localUsers/{username}") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> createOrUpdate( + @HostParam("$host") String endpoint, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("accountName") String accountName, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("username") String username, + @BodyParam("application/json") LocalUserInner properties, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Delete( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage" + + "/storageAccounts/{accountName}/localUsers/{username}") + @ExpectedResponses({200, 204}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> delete( + @HostParam("$host") String endpoint, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("accountName") String accountName, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("username") String username, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Post( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage" + + "/storageAccounts/{accountName}/localUsers/{username}/listKeys") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> listKeys( + @HostParam("$host") String endpoint, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("accountName") String accountName, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("username") String username, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Post( + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage" + + "/storageAccounts/{accountName}/localUsers/{username}/regeneratePassword") + @ExpectedResponses({200}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono> regeneratePassword( + @HostParam("$host") String endpoint, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("accountName") String accountName, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @PathParam("username") String username, + @HeaderParam("Accept") String accept, + Context context); + } + + /** + * List the local users associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list storage account local users along with {@link PagedResponse} on successful completion of {@link + * Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync(String resourceGroupName, String accountName) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .list( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + accept, + context)) + .>map( + res -> + new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * List the local users associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list storage account local users along with {@link PagedResponse} on successful completion of {@link + * Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listSinglePageAsync( + String resourceGroupName, String accountName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .list( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + accept, + context) + .map( + res -> + new PagedResponseBase<>( + res.getRequest(), res.getStatusCode(), res.getHeaders(), res.getValue().value(), null, null)); + } + + /** + * List the local users associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list storage account local users as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listAsync(String resourceGroupName, String accountName) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, accountName)); + } + + /** + * List the local users associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list storage account local users as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + private PagedFlux listAsync(String resourceGroupName, String accountName, Context context) { + return new PagedFlux<>(() -> listSinglePageAsync(resourceGroupName, accountName, context)); + } + + /** + * List the local users associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list storage account local users as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String accountName) { + return new PagedIterable<>(listAsync(resourceGroupName, accountName)); + } + + /** + * List the local users associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return list storage account local users as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable list(String resourceGroupName, String accountName, Context context) { + return new PagedIterable<>(listAsync(resourceGroupName, accountName, context)); + } + + /** + * Get the local user of the storage account by username. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user of the storage account by username along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> getWithResponseAsync( + String resourceGroupName, String accountName, String username) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (username == null) { + return Mono.error(new IllegalArgumentException("Parameter username is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .get( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + username, + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Get the local user of the storage account by username. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user of the storage account by username along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> getWithResponseAsync( + String resourceGroupName, String accountName, String username, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (username == null) { + return Mono.error(new IllegalArgumentException("Parameter username is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .get( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + username, + accept, + context); + } + + /** + * Get the local user of the storage account by username. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user of the storage account by username on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono getAsync(String resourceGroupName, String accountName, String username) { + return getWithResponseAsync(resourceGroupName, accountName, username) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Get the local user of the storage account by username. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user of the storage account by username. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public LocalUserInner get(String resourceGroupName, String accountName, String username) { + return getAsync(resourceGroupName, accountName, username).block(); + } + + /** + * Get the local user of the storage account by username. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user of the storage account by username along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response getWithResponse( + String resourceGroupName, String accountName, String username, Context context) { + return getWithResponseAsync(resourceGroupName, accountName, username, context).block(); + } + + /** + * Create or update the properties of a local user associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param properties The local user associated with a storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user associated with the storage accounts along with {@link Response} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> createOrUpdateWithResponseAsync( + String resourceGroupName, String accountName, String username, LocalUserInner properties) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (username == null) { + return Mono.error(new IllegalArgumentException("Parameter username is required and cannot be null.")); + } + if (properties == null) { + return Mono.error(new IllegalArgumentException("Parameter properties is required and cannot be null.")); + } else { + properties.validate(); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .createOrUpdate( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + username, + properties, + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Create or update the properties of a local user associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param properties The local user associated with a storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user associated with the storage accounts along with {@link Response} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> createOrUpdateWithResponseAsync( + String resourceGroupName, String accountName, String username, LocalUserInner properties, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (username == null) { + return Mono.error(new IllegalArgumentException("Parameter username is required and cannot be null.")); + } + if (properties == null) { + return Mono.error(new IllegalArgumentException("Parameter properties is required and cannot be null.")); + } else { + properties.validate(); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .createOrUpdate( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + username, + properties, + accept, + context); + } + + /** + * Create or update the properties of a local user associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param properties The local user associated with a storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user associated with the storage accounts on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono createOrUpdateAsync( + String resourceGroupName, String accountName, String username, LocalUserInner properties) { + return createOrUpdateWithResponseAsync(resourceGroupName, accountName, username, properties) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Create or update the properties of a local user associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param properties The local user associated with a storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user associated with the storage accounts. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public LocalUserInner createOrUpdate( + String resourceGroupName, String accountName, String username, LocalUserInner properties) { + return createOrUpdateAsync(resourceGroupName, accountName, username, properties).block(); + } + + /** + * Create or update the properties of a local user associated with the storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param properties The local user associated with a storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the local user associated with the storage accounts along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response createOrUpdateWithResponse( + String resourceGroupName, String accountName, String username, LocalUserInner properties, Context context) { + return createOrUpdateWithResponseAsync(resourceGroupName, accountName, username, properties, context).block(); + } + + /** + * Deletes the local user associated with the specified storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> deleteWithResponseAsync(String resourceGroupName, String accountName, String username) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (username == null) { + return Mono.error(new IllegalArgumentException("Parameter username is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .delete( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + username, + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Deletes the local user associated with the specified storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> deleteWithResponseAsync( + String resourceGroupName, String accountName, String username, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (username == null) { + return Mono.error(new IllegalArgumentException("Parameter username is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .delete( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + username, + accept, + context); + } + + /** + * Deletes the local user associated with the specified storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono deleteAsync(String resourceGroupName, String accountName, String username) { + return deleteWithResponseAsync(resourceGroupName, accountName, username) + .flatMap((Response res) -> Mono.empty()); + } + + /** + * Deletes the local user associated with the specified storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void delete(String resourceGroupName, String accountName, String username) { + deleteAsync(resourceGroupName, accountName, username).block(); + } + + /** + * Deletes the local user associated with the specified storage account. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response deleteWithResponse( + String resourceGroupName, String accountName, String username, Context context) { + return deleteWithResponseAsync(resourceGroupName, accountName, username, context).block(); + } + + /** + * List SSH authorized keys and shared key of the local user. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the Storage Account Local User keys along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> listKeysWithResponseAsync( + String resourceGroupName, String accountName, String username) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (username == null) { + return Mono.error(new IllegalArgumentException("Parameter username is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .listKeys( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + username, + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * List SSH authorized keys and shared key of the local user. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the Storage Account Local User keys along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> listKeysWithResponseAsync( + String resourceGroupName, String accountName, String username, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (username == null) { + return Mono.error(new IllegalArgumentException("Parameter username is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .listKeys( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + username, + accept, + context); + } + + /** + * List SSH authorized keys and shared key of the local user. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the Storage Account Local User keys on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono listKeysAsync(String resourceGroupName, String accountName, String username) { + return listKeysWithResponseAsync(resourceGroupName, accountName, username) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * List SSH authorized keys and shared key of the local user. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the Storage Account Local User keys. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public LocalUserKeysInner listKeys(String resourceGroupName, String accountName, String username) { + return listKeysAsync(resourceGroupName, accountName, username).block(); + } + + /** + * List SSH authorized keys and shared key of the local user. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the Storage Account Local User keys along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response listKeysWithResponse( + String resourceGroupName, String accountName, String username, Context context) { + return listKeysWithResponseAsync(resourceGroupName, accountName, username, context).block(); + } + + /** + * Regenerate the local user SSH password. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the secrets of Storage Account Local User along with {@link Response} on successful completion of {@link + * Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> regeneratePasswordWithResponseAsync( + String resourceGroupName, String accountName, String username) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (username == null) { + return Mono.error(new IllegalArgumentException("Parameter username is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .regeneratePassword( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + username, + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Regenerate the local user SSH password. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the secrets of Storage Account Local User along with {@link Response} on successful completion of {@link + * Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> regeneratePasswordWithResponseAsync( + String resourceGroupName, String accountName, String username, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (username == null) { + return Mono.error(new IllegalArgumentException("Parameter username is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .regeneratePassword( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + username, + accept, + context); + } + + /** + * Regenerate the local user SSH password. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the secrets of Storage Account Local User on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono regeneratePasswordAsync( + String resourceGroupName, String accountName, String username) { + return regeneratePasswordWithResponseAsync(resourceGroupName, accountName, username) + .flatMap( + (Response res) -> { + if (res.getValue() != null) { + return Mono.just(res.getValue()); + } else { + return Mono.empty(); + } + }); + } + + /** + * Regenerate the local user SSH password. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the secrets of Storage Account Local User. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public LocalUserRegeneratePasswordResultInner regeneratePassword( + String resourceGroupName, String accountName, String username) { + return regeneratePasswordAsync(resourceGroupName, accountName, username).block(); + } + + /** + * Regenerate the local user SSH password. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param username The name of local user. The username must contain lowercase letters and numbers only. It must be + * unique only within the storage account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the secrets of Storage Account Local User along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response regeneratePasswordWithResponse( + String resourceGroupName, String accountName, String username, Context context) { + return regeneratePasswordWithResponseAsync(resourceGroupName, accountName, username, context).block(); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/ManagementPoliciesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/ManagementPoliciesClientImpl.java index b3d075fe06806..83b1af7680e37 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/ManagementPoliciesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/ManagementPoliciesClientImpl.java @@ -118,7 +118,8 @@ Mono> delete( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the managementpolicy associated with the specified storage account. + * @return the managementpolicy associated with the specified storage account along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getWithResponseAsync( @@ -175,7 +176,8 @@ public Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the managementpolicy associated with the specified storage account. + * @return the managementpolicy associated with the specified storage account along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync( @@ -228,7 +230,8 @@ private Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the managementpolicy associated with the specified storage account. + * @return the managementpolicy associated with the specified storage account on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getAsync( @@ -275,7 +278,7 @@ public ManagementPolicyInner get( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the managementpolicy associated with the specified storage account. + * @return the managementpolicy associated with the specified storage account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getWithResponse( @@ -295,7 +298,8 @@ public Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Get Storage Account ManagementPolicies operation response. + * @return the Get Storage Account ManagementPolicies operation response along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createOrUpdateWithResponseAsync( @@ -362,7 +366,8 @@ public Mono> createOrUpdateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Get Storage Account ManagementPolicies operation response. + * @return the Get Storage Account ManagementPolicies operation response along with {@link Response} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createOrUpdateWithResponseAsync( @@ -426,7 +431,7 @@ private Mono> createOrUpdateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Get Storage Account ManagementPolicies operation response. + * @return the Get Storage Account ManagementPolicies operation response on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono createOrUpdateAsync( @@ -481,7 +486,7 @@ public ManagementPolicyInner createOrUpdate( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Get Storage Account ManagementPolicies operation response. + * @return the Get Storage Account ManagementPolicies operation response along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response createOrUpdateWithResponse( @@ -506,7 +511,7 @@ public Response createOrUpdateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteWithResponseAsync( @@ -561,7 +566,7 @@ public Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteWithResponseAsync( @@ -612,7 +617,7 @@ private Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono deleteAsync( @@ -650,7 +655,7 @@ public void delete(String resourceGroupName, String accountName, ManagementPolic * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/ObjectReplicationPoliciesOperationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/ObjectReplicationPoliciesOperationsClientImpl.java index be1fae61995cd..f6b8b7c83634f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/ObjectReplicationPoliciesOperationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/ObjectReplicationPoliciesOperationsClientImpl.java @@ -143,7 +143,8 @@ Mono> delete( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list storage account object replication policies. + * @return list storage account object replication policies along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -198,7 +199,8 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list storage account object replication policies. + * @return list storage account object replication policies along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -249,7 +251,7 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list storage account object replication policies. + * @return list storage account object replication policies as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String accountName) { @@ -267,7 +269,7 @@ public PagedFlux listAsync(String resourceGroupNam * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list storage account object replication policies. + * @return list storage account object replication policies as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync( @@ -285,7 +287,7 @@ private PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list storage account object replication policies. + * @return list storage account object replication policies as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String accountName) { @@ -303,7 +305,7 @@ public PagedIterable list(String resourceGroupName * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list storage account object replication policies. + * @return list storage account object replication policies as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list( @@ -325,7 +327,8 @@ public PagedIterable list( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the object replication policy of the storage account by policy ID. + * @return the object replication policy of the storage account by policy ID along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getWithResponseAsync( @@ -387,7 +390,8 @@ public Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the object replication policy of the storage account by policy ID. + * @return the object replication policy of the storage account by policy ID along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync( @@ -445,7 +449,8 @@ private Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the object replication policy of the storage account by policy ID. + * @return the object replication policy of the storage account by policy ID on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getAsync( @@ -498,7 +503,7 @@ public ObjectReplicationPolicyInner get( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the object replication policy of the storage account by policy ID. + * @return the object replication policy of the storage account by policy ID along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getWithResponse( @@ -522,7 +527,8 @@ public Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the replication policy between two storage accounts. + * @return the replication policy between two storage accounts along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createOrUpdateWithResponseAsync( @@ -595,7 +601,8 @@ public Mono> createOrUpdateWithResponseAs * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the replication policy between two storage accounts. + * @return the replication policy between two storage accounts along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createOrUpdateWithResponseAsync( @@ -665,7 +672,7 @@ private Mono> createOrUpdateWithResponseA * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the replication policy between two storage accounts. + * @return the replication policy between two storage accounts on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono createOrUpdateAsync( @@ -728,7 +735,7 @@ public ObjectReplicationPolicyInner createOrUpdate( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the replication policy between two storage accounts. + * @return the replication policy between two storage accounts along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response createOrUpdateWithResponse( @@ -756,7 +763,7 @@ public Response createOrUpdateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteWithResponseAsync( @@ -818,7 +825,7 @@ public Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteWithResponseAsync( @@ -876,7 +883,7 @@ private Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono deleteAsync(String resourceGroupName, String accountName, String objectReplicationPolicyId) { @@ -919,7 +926,7 @@ public void delete(String resourceGroupName, String accountName, String objectRe * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/OperationsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/OperationsClientImpl.java index df9a612d941f5..dd08ebbf5bddb 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/OperationsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/OperationsClientImpl.java @@ -74,7 +74,8 @@ Mono> list( * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return result of the request to list Storage operations. + * @return result of the request to list Storage operations along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync() { @@ -102,7 +103,8 @@ private Mono> listSinglePageAsync() { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return result of the request to list Storage operations. + * @return result of the request to list Storage operations along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(Context context) { @@ -127,7 +129,7 @@ private Mono> listSinglePageAsync(Context context) * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return result of the request to list Storage operations. + * @return result of the request to list Storage operations as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync() { @@ -141,7 +143,7 @@ public PagedFlux listAsync() { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return result of the request to list Storage operations. + * @return result of the request to list Storage operations as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(Context context) { @@ -153,7 +155,7 @@ private PagedFlux listAsync(Context context) { * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return result of the request to list Storage operations. + * @return result of the request to list Storage operations as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list() { @@ -167,7 +169,7 @@ public PagedIterable list() { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return result of the request to list Storage operations. + * @return result of the request to list Storage operations as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(Context context) { diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/PrivateEndpointConnectionsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/PrivateEndpointConnectionsClientImpl.java index 572aa01b958f6..0923e8d24d4ac 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/PrivateEndpointConnectionsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/PrivateEndpointConnectionsClientImpl.java @@ -139,7 +139,8 @@ Mono> delete( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of private endpoint connection associated with the specified storage account. + * @return list of private endpoint connection associated with the specified storage account along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -194,7 +195,8 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of private endpoint connection associated with the specified storage account. + * @return list of private endpoint connection associated with the specified storage account along with {@link + * PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -245,7 +247,8 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of private endpoint connection associated with the specified storage account. + * @return list of private endpoint connection associated with the specified storage account as paginated response + * with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String accountName) { @@ -263,7 +266,8 @@ public PagedFlux listAsync(String resourceGroupN * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of private endpoint connection associated with the specified storage account. + * @return list of private endpoint connection associated with the specified storage account as paginated response + * with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync( @@ -281,7 +285,8 @@ private PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of private endpoint connection associated with the specified storage account. + * @return list of private endpoint connection associated with the specified storage account as paginated response + * with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String accountName) { @@ -299,7 +304,8 @@ public PagedIterable list(String resourceGroupNa * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return list of private endpoint connection associated with the specified storage account. + * @return list of private endpoint connection associated with the specified storage account as paginated response + * with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list( @@ -319,7 +325,8 @@ public PagedIterable list( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified private endpoint connection associated with the storage account. + * @return the specified private endpoint connection associated with the storage account along with {@link Response} + * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getWithResponseAsync( @@ -379,7 +386,8 @@ public Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified private endpoint connection associated with the storage account. + * @return the specified private endpoint connection associated with the storage account along with {@link Response} + * on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync( @@ -435,7 +443,8 @@ private Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified private endpoint connection associated with the storage account. + * @return the specified private endpoint connection associated with the storage account on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getAsync( @@ -484,7 +493,8 @@ public PrivateEndpointConnectionInner get( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the specified private endpoint connection associated with the storage account. + * @return the specified private endpoint connection associated with the storage account along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getWithResponse( @@ -505,7 +515,8 @@ public Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Private Endpoint Connection resource. + * @return the Private Endpoint Connection resource along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> putWithResponseAsync( @@ -575,7 +586,8 @@ public Mono> putWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Private Endpoint Connection resource. + * @return the Private Endpoint Connection resource along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> putWithResponseAsync( @@ -642,7 +654,7 @@ private Mono> putWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Private Endpoint Connection resource. + * @return the Private Endpoint Connection resource on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono putAsync( @@ -699,7 +711,7 @@ public PrivateEndpointConnectionInner put( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the Private Endpoint Connection resource. + * @return the Private Endpoint Connection resource along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response putWithResponse( @@ -724,7 +736,7 @@ public Response putWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteWithResponseAsync( @@ -784,7 +796,7 @@ public Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteWithResponseAsync( @@ -840,7 +852,7 @@ private Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono deleteAsync(String resourceGroupName, String accountName, String privateEndpointConnectionName) { @@ -879,7 +891,7 @@ public void delete(String resourceGroupName, String accountName, String privateE * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/PrivateLinkResourcesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/PrivateLinkResourcesClientImpl.java index bc97d3e9d7267..9c4d6e276c197 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/PrivateLinkResourcesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/PrivateLinkResourcesClientImpl.java @@ -81,7 +81,8 @@ Mono> listByStorageAccount( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the private link resources that need to be created for a storage account. + * @return the private link resources that need to be created for a storage account along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> listByStorageAccountWithResponseAsync( @@ -132,7 +133,8 @@ public Mono> listByStorageAccountWi * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the private link resources that need to be created for a storage account. + * @return the private link resources that need to be created for a storage account along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByStorageAccountWithResponseAsync( @@ -179,7 +181,8 @@ private Mono> listByStorageAccountW * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the private link resources that need to be created for a storage account. + * @return the private link resources that need to be created for a storage account on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono listByStorageAccountAsync( @@ -223,7 +226,7 @@ public PrivateLinkResourceListResultInner listByStorageAccount(String resourceGr * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the private link resources that need to be created for a storage account. + * @return the private link resources that need to be created for a storage account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response listByStorageAccountWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/QueueServicesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/QueueServicesClientImpl.java index b4bfb2b71082e..297dde715e554 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/QueueServicesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/QueueServicesClientImpl.java @@ -116,7 +116,7 @@ Mono> getServiceProperties( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> listWithResponseAsync(String resourceGroupName, String accountName) { @@ -166,7 +166,7 @@ public Mono> listWithResponseAsync(String resou * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listWithResponseAsync( @@ -213,7 +213,7 @@ private Mono> listWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono listAsync(String resourceGroupName, String accountName) { @@ -256,7 +256,7 @@ public ListQueueServicesInner list(String resourceGroupName, String accountName) * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response listWithResponse( @@ -277,7 +277,8 @@ public Response listWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Queue service. + * @return the properties of a storage account’s Queue service along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> setServicePropertiesWithResponseAsync( @@ -339,7 +340,8 @@ public Mono> setServicePropertiesWithRespo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Queue service. + * @return the properties of a storage account’s Queue service along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> setServicePropertiesWithResponseAsync( @@ -397,7 +399,7 @@ private Mono> setServicePropertiesWithResp * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Queue service. + * @return the properties of a storage account’s Queue service on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono setServicePropertiesAsync( @@ -448,7 +450,7 @@ public QueueServicePropertiesInner setServiceProperties( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Queue service. + * @return the properties of a storage account’s Queue service along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response setServicePropertiesWithResponse( @@ -468,7 +470,7 @@ public Response setServicePropertiesWithResponse( * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getServicePropertiesWithResponseAsync( @@ -523,7 +525,7 @@ public Mono> getServicePropertiesWithRespo * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getServicePropertiesWithResponseAsync( @@ -574,7 +576,7 @@ private Mono> getServicePropertiesWithResp * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getServicePropertiesAsync(String resourceGroupName, String accountName) { @@ -621,7 +623,7 @@ public QueueServicePropertiesInner getServiceProperties(String resourceGroupName * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Queue service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getServicePropertiesWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/QueuesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/QueuesClientImpl.java index 0fa4696ea6f75..fa7e9e115f669 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/QueuesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/QueuesClientImpl.java @@ -171,7 +171,7 @@ Mono> listNext( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createWithResponseAsync( @@ -236,7 +236,7 @@ public Mono> createWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createWithResponseAsync( @@ -297,7 +297,7 @@ private Mono> createWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono createAsync( @@ -350,7 +350,7 @@ public StorageQueueInner create( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response createWithResponse( @@ -372,7 +372,7 @@ public Response createWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> updateWithResponseAsync( @@ -437,7 +437,7 @@ public Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> updateWithResponseAsync( @@ -498,7 +498,7 @@ private Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono updateAsync( @@ -551,7 +551,7 @@ public StorageQueueInner update( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response updateWithResponse( @@ -572,7 +572,8 @@ public Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the queue with the specified queue name, under the specified account if it exists. + * @return the queue with the specified queue name, under the specified account if it exists along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getWithResponseAsync( @@ -630,7 +631,8 @@ public Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the queue with the specified queue name, under the specified account if it exists. + * @return the queue with the specified queue name, under the specified account if it exists along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync( @@ -684,7 +686,8 @@ private Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the queue with the specified queue name, under the specified account if it exists. + * @return the queue with the specified queue name, under the specified account if it exists on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getAsync(String resourceGroupName, String accountName, String queueName) { @@ -733,7 +736,8 @@ public StorageQueueInner get(String resourceGroupName, String accountName, Strin * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the queue with the specified queue name, under the specified account if it exists. + * @return the queue with the specified queue name, under the specified account if it exists along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getWithResponse( @@ -754,7 +758,7 @@ public Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteWithResponseAsync( @@ -812,7 +816,7 @@ public Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteWithResponseAsync( @@ -866,7 +870,7 @@ private Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono deleteAsync(String resourceGroupName, String accountName, String queueName) { @@ -907,7 +911,7 @@ public void delete(String resourceGroupName, String accountName, String queueNam * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteWithResponse( @@ -928,7 +932,8 @@ public Response deleteWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the queues under the specified storage account. + * @return a list of all the queues under the specified storage account along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -993,7 +998,8 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the queues under the specified storage account. + * @return a list of all the queues under the specified storage account along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -1054,7 +1060,8 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the queues under the specified storage account. + * @return a list of all the queues under the specified storage account as paginated response with {@link + * PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync( @@ -1074,7 +1081,8 @@ public PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the queues under the specified storage account. + * @return a list of all the queues under the specified storage account as paginated response with {@link + * PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String accountName) { @@ -1099,7 +1107,8 @@ public PagedFlux listAsync(String resourceGroupName, String acco * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the queues under the specified storage account. + * @return a list of all the queues under the specified storage account as paginated response with {@link + * PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync( @@ -1119,7 +1128,8 @@ private PagedFlux listAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the queues under the specified storage account. + * @return a list of all the queues under the specified storage account as paginated response with {@link + * PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String accountName) { @@ -1142,7 +1152,8 @@ public PagedIterable list(String resourceGroupName, String accou * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the queues under the specified storage account. + * @return a list of all the queues under the specified storage account as paginated response with {@link + * PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list( @@ -1157,7 +1168,7 @@ public PagedIterable list( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -1193,7 +1204,7 @@ private Mono> listNextSinglePageAsync(String nextL * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/SkusClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/SkusClientImpl.java index 66ba68ac397b4..0933edc94288b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/SkusClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/SkusClientImpl.java @@ -75,7 +75,8 @@ Mono> list( * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage SKUs operation. + * @return the response from the List Storage SKUs operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync() { @@ -116,7 +117,8 @@ private Mono> listSinglePageAsync() { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage SKUs operation. + * @return the response from the List Storage SKUs operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(Context context) { @@ -152,7 +154,7 @@ private Mono> listSinglePageAsync(Context con * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage SKUs operation. + * @return the response from the List Storage SKUs operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync() { @@ -166,7 +168,7 @@ public PagedFlux listAsync() { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage SKUs operation. + * @return the response from the List Storage SKUs operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(Context context) { @@ -178,7 +180,7 @@ private PagedFlux listAsync(Context context) { * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage SKUs operation. + * @return the response from the List Storage SKUs operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list() { @@ -192,7 +194,7 @@ public PagedIterable list() { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage SKUs operation. + * @return the response from the List Storage SKUs operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(Context context) { diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/StorageAccountsClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/StorageAccountsClientImpl.java index d8d863912b94b..d40a232924a2f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/StorageAccountsClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/StorageAccountsClientImpl.java @@ -267,6 +267,37 @@ Mono>> failover( @PathParam("subscriptionId") String subscriptionId, Context context); + @Headers({"Content-Type: application/json"}) + @Post( + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage" + + "/storageAccounts/{accountName}/hnsonmigration") + @ExpectedResponses({200, 202}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> hierarchicalNamespaceMigration( + @HostParam("$host") String endpoint, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("accountName") String accountName, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @QueryParam("requestType") String requestType, + @HeaderParam("Accept") String accept, + Context context); + + @Headers({"Content-Type: application/json"}) + @Post( + "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage" + + "/storageAccounts/{accountName}/aborthnsonmigration") + @ExpectedResponses({200, 202}) + @UnexpectedResponseExceptionType(ManagementException.class) + Mono>> abortHierarchicalNamespaceMigration( + @HostParam("$host") String endpoint, + @PathParam("resourceGroupName") String resourceGroupName, + @PathParam("accountName") String accountName, + @QueryParam("api-version") String apiVersion, + @PathParam("subscriptionId") String subscriptionId, + @HeaderParam("Accept") String accept, + Context context); + @Headers({"Content-Type: application/json"}) @Post( "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage" @@ -326,7 +357,8 @@ Mono> listByResourceGroupNext( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the CheckNameAvailability operation response. + * @return the CheckNameAvailability operation response along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> checkNameAvailabilityWithResponseAsync( @@ -372,7 +404,8 @@ public Mono> checkNameAvailabilityWit * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the CheckNameAvailability operation response. + * @return the CheckNameAvailability operation response along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> checkNameAvailabilityWithResponseAsync( @@ -414,7 +447,7 @@ private Mono> checkNameAvailabilityWi * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the CheckNameAvailability operation response. + * @return the CheckNameAvailability operation response on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono checkNameAvailabilityAsync( @@ -455,7 +488,7 @@ public CheckNameAvailabilityResultInner checkNameAvailability( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the CheckNameAvailability operation response. + * @return the CheckNameAvailability operation response along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response checkNameAvailabilityWithResponse( @@ -477,7 +510,7 @@ public Response checkNameAvailabilityWithRespo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> createWithResponseAsync( @@ -538,7 +571,7 @@ public Mono>> createWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> createWithResponseAsync( @@ -595,7 +628,7 @@ private Mono>> createWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the {@link PollerFlux} for polling of the storage account. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, StorageAccountInner> beginCreateAsync( @@ -626,7 +659,7 @@ public PollerFlux, StorageAccountInner> beginCre * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the {@link PollerFlux} for polling of the storage account. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, StorageAccountInner> beginCreateAsync( @@ -654,7 +687,7 @@ private PollerFlux, StorageAccountInner> beginCr * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the {@link SyncPoller} for polling of the storage account. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, StorageAccountInner> beginCreate( @@ -677,7 +710,7 @@ public SyncPoller, StorageAccountInner> beginCre * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the {@link SyncPoller} for polling of the storage account. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, StorageAccountInner> beginCreate( @@ -699,7 +732,7 @@ public SyncPoller, StorageAccountInner> beginCre * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono createAsync( @@ -724,7 +757,7 @@ public Mono createAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono createAsync( @@ -789,7 +822,7 @@ public StorageAccountInner create( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteWithResponseAsync(String resourceGroupName, String accountName) { @@ -837,7 +870,7 @@ public Mono> deleteWithResponseAsync(String resourceGroupName, St * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteWithResponseAsync( @@ -882,7 +915,7 @@ private Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono deleteAsync(String resourceGroupName, String accountName) { @@ -916,7 +949,7 @@ public void delete(String resourceGroupName, String accountName) { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteWithResponse(String resourceGroupName, String accountName, Context context) { @@ -936,7 +969,7 @@ public Response deleteWithResponse(String resourceGroupName, String accoun * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getByResourceGroupWithResponseAsync( @@ -991,7 +1024,7 @@ public Mono> getByResourceGroupWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getByResourceGroupWithResponseAsync( @@ -1042,7 +1075,7 @@ private Mono> getByResourceGroupWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getByResourceGroupAsync( @@ -1069,7 +1102,7 @@ public Mono getByResourceGroupAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getByResourceGroupAsync(String resourceGroupName, String accountName) { @@ -1118,7 +1151,7 @@ public StorageAccountInner getByResourceGroup(String resourceGroupName, String a * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getByResourceGroupWithResponse( @@ -1142,7 +1175,7 @@ public Response getByResourceGroupWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> updateWithResponseAsync( @@ -1205,7 +1238,7 @@ public Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> updateWithResponseAsync( @@ -1264,7 +1297,7 @@ private Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono updateAsync( @@ -1321,7 +1354,7 @@ public StorageAccountInner update( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the storage account. + * @return the storage account along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response updateWithResponse( @@ -1335,7 +1368,8 @@ public Response updateWithResponse( * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync() { @@ -1382,7 +1416,8 @@ private Mono> listSinglePageAsync() { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(Context context) { @@ -1424,7 +1459,7 @@ private Mono> listSinglePageAsync(Context con * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync() { @@ -1439,7 +1474,7 @@ public PagedFlux listAsync() { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(Context context) { @@ -1453,7 +1488,7 @@ private PagedFlux listAsync(Context context) { * * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list() { @@ -1468,7 +1503,7 @@ public PagedIterable list() { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(Context context) { @@ -1484,7 +1519,8 @@ public PagedIterable list(Context context) { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupSinglePageAsync(String resourceGroupName) { @@ -1538,7 +1574,8 @@ private Mono> listByResourceGroupSinglePageAs * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupSinglePageAsync( @@ -1589,7 +1626,7 @@ private Mono> listByResourceGroupSinglePageAs * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listByResourceGroupAsync(String resourceGroupName) { @@ -1608,7 +1645,7 @@ public PagedFlux listByResourceGroupAsync(String resourceGr * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation as paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listByResourceGroupAsync(String resourceGroupName, Context context) { @@ -1626,7 +1663,7 @@ private PagedFlux listByResourceGroupAsync(String resourceG * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable listByResourceGroup(String resourceGroupName) { @@ -1643,7 +1680,7 @@ public PagedIterable listByResourceGroup(String resourceGro * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation as paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable listByResourceGroup(String resourceGroupName, Context context) { @@ -1661,7 +1698,8 @@ public PagedIterable listByResourceGroup(String resourceGro * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> listKeysWithResponseAsync( @@ -1714,7 +1752,8 @@ public Mono> listKeysWithResponseAsy * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listKeysWithResponseAsync( @@ -1763,7 +1802,7 @@ private Mono> listKeysWithResponseAs * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono listKeysAsync( @@ -1789,7 +1828,7 @@ public Mono listKeysAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono listKeysAsync(String resourceGroupName, String accountName) { @@ -1835,7 +1874,7 @@ public StorageAccountListKeysResultInner listKeys(String resourceGroupName, Stri * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response listKeysWithResponse( @@ -1854,7 +1893,8 @@ public Response listKeysWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> regenerateKeyWithResponseAsync( @@ -1912,7 +1952,8 @@ public Mono> regenerateKeyWithRespon * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation along with {@link Response} on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> regenerateKeyWithResponseAsync( @@ -1969,7 +2010,7 @@ private Mono> regenerateKeyWithRespo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono regenerateKeyAsync( @@ -2016,7 +2057,7 @@ public StorageAccountListKeysResultInner regenerateKey( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the ListKeys operation. + * @return the response from the ListKeys operation along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response regenerateKeyWithResponse( @@ -2038,7 +2079,8 @@ public Response regenerateKeyWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the List SAS credentials operation response. + * @return the List SAS credentials operation response along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> listAccountSasWithResponseAsync( @@ -2096,7 +2138,8 @@ public Mono> listAccountSasWithResponseAsy * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the List SAS credentials operation response. + * @return the List SAS credentials operation response along with {@link Response} on successful completion of + * {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listAccountSasWithResponseAsync( @@ -2150,7 +2193,7 @@ private Mono> listAccountSasWithResponseAs * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the List SAS credentials operation response. + * @return the List SAS credentials operation response on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono listAccountSasAsync( @@ -2197,7 +2240,7 @@ public ListAccountSasResponseInner listAccountSas( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the List SAS credentials operation response. + * @return the List SAS credentials operation response along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response listAccountSasWithResponse( @@ -2216,7 +2259,8 @@ public Response listAccountSasWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the List service SAS credentials operation response. + * @return the List service SAS credentials operation response along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> listServiceSasWithResponseAsync( @@ -2274,7 +2318,8 @@ public Mono> listServiceSasWithResponseAsy * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the List service SAS credentials operation response. + * @return the List service SAS credentials operation response along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listServiceSasWithResponseAsync( @@ -2328,7 +2373,7 @@ private Mono> listServiceSasWithResponseAs * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the List service SAS credentials operation response. + * @return the List service SAS credentials operation response on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono listServiceSasAsync( @@ -2375,7 +2420,7 @@ public ListServiceSasResponseInner listServiceSas( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the List service SAS credentials operation response. + * @return the List service SAS credentials operation response along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response listServiceSasWithResponse( @@ -2395,7 +2440,7 @@ public Response listServiceSasWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> failoverWithResponseAsync(String resourceGroupName, String accountName) { @@ -2445,7 +2490,7 @@ public Mono>> failoverWithResponseAsync(String resourc * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> failoverWithResponseAsync( @@ -2492,7 +2537,7 @@ private Mono>> failoverWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, Void> beginFailoverAsync(String resourceGroupName, String accountName) { @@ -2516,7 +2561,7 @@ public PollerFlux, Void> beginFailoverAsync(String resourceGrou * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link PollerFlux} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, Void> beginFailoverAsync( @@ -2540,7 +2585,7 @@ private PollerFlux, Void> beginFailoverAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginFailover(String resourceGroupName, String accountName) { @@ -2560,7 +2605,7 @@ public SyncPoller, Void> beginFailover(String resourceGroupName * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link SyncPoller} for polling of long-running operation. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, Void> beginFailover( @@ -2580,7 +2625,7 @@ public SyncPoller, Void> beginFailover( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono failoverAsync(String resourceGroupName, String accountName) { @@ -2600,7 +2645,7 @@ public Mono failoverAsync(String resourceGroupName, String accountName) { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono failoverAsync(String resourceGroupName, String accountName, Context context) { @@ -2646,6 +2691,557 @@ public void failover(String resourceGroupName, String accountName, Context conte failoverAsync(resourceGroupName, accountName, context).block(); } + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> hierarchicalNamespaceMigrationWithResponseAsync( + String resourceGroupName, String accountName, String requestType) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (requestType == null) { + return Mono.error(new IllegalArgumentException("Parameter requestType is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .hierarchicalNamespaceMigration( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + requestType, + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> hierarchicalNamespaceMigrationWithResponseAsync( + String resourceGroupName, String accountName, String requestType, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + if (requestType == null) { + return Mono.error(new IllegalArgumentException("Parameter requestType is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .hierarchicalNamespaceMigration( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + requestType, + accept, + context); + } + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, Void> beginHierarchicalNamespaceMigrationAsync( + String resourceGroupName, String accountName, String requestType) { + Mono>> mono = + hierarchicalNamespaceMigrationWithResponseAsync(resourceGroupName, accountName, requestType); + return this + .client + .getLroResult( + mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); + } + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginHierarchicalNamespaceMigrationAsync( + String resourceGroupName, String accountName, String requestType, Context context) { + context = this.client.mergeContext(context); + Mono>> mono = + hierarchicalNamespaceMigrationWithResponseAsync(resourceGroupName, accountName, requestType, context); + return this + .client + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, context); + } + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginHierarchicalNamespaceMigration( + String resourceGroupName, String accountName, String requestType) { + return beginHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName, requestType).getSyncPoller(); + } + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginHierarchicalNamespaceMigration( + String resourceGroupName, String accountName, String requestType, Context context) { + return beginHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName, requestType, context) + .getSyncPoller(); + } + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono hierarchicalNamespaceMigrationAsync( + String resourceGroupName, String accountName, String requestType) { + return beginHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName, requestType) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono hierarchicalNamespaceMigrationAsync( + String resourceGroupName, String accountName, String requestType, Context context) { + return beginHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName, requestType, context) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void hierarchicalNamespaceMigration(String resourceGroupName, String accountName, String requestType) { + hierarchicalNamespaceMigrationAsync(resourceGroupName, accountName, requestType).block(); + } + + /** + * Live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param requestType Required. Hierarchical namespace migration type can either be a hierarchical namespace + * validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation + * request will validate the migration whereas the hydration request will migrate the account. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void hierarchicalNamespaceMigration( + String resourceGroupName, String accountName, String requestType, Context context) { + hierarchicalNamespaceMigrationAsync(resourceGroupName, accountName, requestType, context).block(); + } + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono>> abortHierarchicalNamespaceMigrationWithResponseAsync( + String resourceGroupName, String accountName) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String accept = "application/json"; + return FluxUtil + .withContext( + context -> + service + .abortHierarchicalNamespaceMigration( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + accept, + context)) + .contextWrite(context -> context.putAll(FluxUtil.toReactorContext(this.client.getContext()).readOnly())); + } + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono>> abortHierarchicalNamespaceMigrationWithResponseAsync( + String resourceGroupName, String accountName, Context context) { + if (this.client.getEndpoint() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getEndpoint() is required and cannot be null.")); + } + if (resourceGroupName == null) { + return Mono + .error(new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null.")); + } + if (accountName == null) { + return Mono.error(new IllegalArgumentException("Parameter accountName is required and cannot be null.")); + } + if (this.client.getSubscriptionId() == null) { + return Mono + .error( + new IllegalArgumentException( + "Parameter this.client.getSubscriptionId() is required and cannot be null.")); + } + final String accept = "application/json"; + context = this.client.mergeContext(context); + return service + .abortHierarchicalNamespaceMigration( + this.client.getEndpoint(), + resourceGroupName, + accountName, + this.client.getApiVersion(), + this.client.getSubscriptionId(), + accept, + context); + } + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux, Void> beginAbortHierarchicalNamespaceMigrationAsync( + String resourceGroupName, String accountName) { + Mono>> mono = + abortHierarchicalNamespaceMigrationWithResponseAsync(resourceGroupName, accountName); + return this + .client + .getLroResult( + mono, this.client.getHttpPipeline(), Void.class, Void.class, this.client.getContext()); + } + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + private PollerFlux, Void> beginAbortHierarchicalNamespaceMigrationAsync( + String resourceGroupName, String accountName, Context context) { + context = this.client.mergeContext(context); + Mono>> mono = + abortHierarchicalNamespaceMigrationWithResponseAsync(resourceGroupName, accountName, context); + return this + .client + .getLroResult(mono, this.client.getHttpPipeline(), Void.class, Void.class, context); + } + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginAbortHierarchicalNamespaceMigration( + String resourceGroupName, String accountName) { + return beginAbortHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName).getSyncPoller(); + } + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of long-running operation. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller, Void> beginAbortHierarchicalNamespaceMigration( + String resourceGroupName, String accountName, Context context) { + return beginAbortHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName, context).getSyncPoller(); + } + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono abortHierarchicalNamespaceMigrationAsync(String resourceGroupName, String accountName) { + return beginAbortHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return A {@link Mono} that completes when a successful response is received. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono abortHierarchicalNamespaceMigrationAsync( + String resourceGroupName, String accountName, Context context) { + return beginAbortHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName, context) + .last() + .flatMap(this.client::getLroFinalResultOrError); + } + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void abortHierarchicalNamespaceMigration(String resourceGroupName, String accountName) { + abortHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName).block(); + } + + /** + * Abort live Migration of storage account to enable Hns. + * + * @param resourceGroupName The name of the resource group within the user's subscription. The name is case + * insensitive. + * @param accountName 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. + * @param context The context to associate with this operation. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws ManagementException thrown if the request is rejected by server. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public void abortHierarchicalNamespaceMigration(String resourceGroupName, String accountName, Context context) { + abortHierarchicalNamespaceMigrationAsync(resourceGroupName, accountName, context).block(); + } + /** * Restore blobs in the specified blob ranges. * @@ -2657,7 +3253,7 @@ public void failover(String resourceGroupName, String accountName, Context conte * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return blob restore status. + * @return blob restore status along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono>> restoreBlobRangesWithResponseAsync( @@ -2715,7 +3311,7 @@ public Mono>> restoreBlobRangesWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return blob restore status. + * @return blob restore status along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono>> restoreBlobRangesWithResponseAsync( @@ -2769,7 +3365,7 @@ private Mono>> restoreBlobRangesWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return blob restore status. + * @return the {@link PollerFlux} for polling of blob restore status. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public PollerFlux, BlobRestoreStatusInner> beginRestoreBlobRangesAsync( @@ -2798,7 +3394,7 @@ public PollerFlux, BlobRestoreStatusInner> be * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return blob restore status. + * @return the {@link PollerFlux} for polling of blob restore status. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) private PollerFlux, BlobRestoreStatusInner> beginRestoreBlobRangesAsync( @@ -2827,7 +3423,7 @@ private PollerFlux, BlobRestoreStatusInner> b * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return blob restore status. + * @return the {@link SyncPoller} for polling of blob restore status. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, BlobRestoreStatusInner> beginRestoreBlobRanges( @@ -2847,7 +3443,7 @@ public SyncPoller, BlobRestoreStatusInner> be * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return blob restore status. + * @return the {@link SyncPoller} for polling of blob restore status. */ @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) public SyncPoller, BlobRestoreStatusInner> beginRestoreBlobRanges( @@ -2866,7 +3462,7 @@ public SyncPoller, BlobRestoreStatusInner> be * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return blob restore status. + * @return blob restore status on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono restoreBlobRangesAsync( @@ -2888,7 +3484,7 @@ public Mono restoreBlobRangesAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return blob restore status. + * @return blob restore status on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono restoreBlobRangesAsync( @@ -2947,7 +3543,7 @@ public BlobRestoreStatusInner restoreBlobRanges( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> revokeUserDelegationKeysWithResponseAsync( @@ -2996,7 +3592,7 @@ public Mono> revokeUserDelegationKeysWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> revokeUserDelegationKeysWithResponseAsync( @@ -3041,7 +3637,7 @@ private Mono> revokeUserDelegationKeysWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono revokeUserDelegationKeysAsync(String resourceGroupName, String accountName) { @@ -3076,7 +3672,7 @@ public void revokeUserDelegationKeys(String resourceGroupName, String accountNam * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response revokeUserDelegationKeysWithResponse( @@ -3091,7 +3687,8 @@ public Response revokeUserDelegationKeysWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -3127,7 +3724,8 @@ private Mono> listNextSinglePageAsync(String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { @@ -3162,7 +3760,8 @@ private Mono> listNextSinglePageAsync(String * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupNextSinglePageAsync(String nextLink) { @@ -3199,7 +3798,8 @@ private Mono> listByResourceGroupNextSinglePa * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response from the List Storage Accounts operation. + * @return the response from the List Storage Accounts operation along with {@link PagedResponse} on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByResourceGroupNextSinglePageAsync( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/StorageManagementClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/StorageManagementClientImpl.java index 9990401b907c2..5450db06b1521 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/StorageManagementClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/StorageManagementClientImpl.java @@ -17,6 +17,7 @@ import com.azure.resourcemanager.storage.fluent.EncryptionScopesClient; import com.azure.resourcemanager.storage.fluent.FileServicesClient; import com.azure.resourcemanager.storage.fluent.FileSharesClient; +import com.azure.resourcemanager.storage.fluent.LocalUsersOperationsClient; import com.azure.resourcemanager.storage.fluent.ManagementPoliciesClient; import com.azure.resourcemanager.storage.fluent.ObjectReplicationPoliciesOperationsClient; import com.azure.resourcemanager.storage.fluent.OperationsClient; @@ -229,6 +230,18 @@ public ObjectReplicationPoliciesOperationsClient getObjectReplicationPoliciesOpe return this.objectReplicationPoliciesOperations; } + /** The LocalUsersOperationsClient object to access its operations. */ + private final LocalUsersOperationsClient localUsersOperations; + + /** + * Gets the LocalUsersOperationsClient object to access its operations. + * + * @return the LocalUsersOperationsClient object. + */ + public LocalUsersOperationsClient getLocalUsersOperations() { + return this.localUsersOperations; + } + /** The EncryptionScopesClient object to access its operations. */ private final EncryptionScopesClient encryptionScopes; @@ -360,7 +373,7 @@ public TablesClient getTables() { this.defaultPollInterval = defaultPollInterval; this.subscriptionId = subscriptionId; this.endpoint = endpoint; - this.apiVersion = "2021-04-01"; + this.apiVersion = "2021-08-01"; this.operations = new OperationsClientImpl(this); this.skus = new SkusClientImpl(this); this.storageAccounts = new StorageAccountsClientImpl(this); @@ -371,6 +384,7 @@ public TablesClient getTables() { this.privateEndpointConnections = new PrivateEndpointConnectionsClientImpl(this); this.privateLinkResources = new PrivateLinkResourcesClientImpl(this); this.objectReplicationPoliciesOperations = new ObjectReplicationPoliciesOperationsClientImpl(this); + this.localUsersOperations = new LocalUsersOperationsClientImpl(this); this.encryptionScopes = new EncryptionScopesClientImpl(this); this.blobServices = new BlobServicesClientImpl(this); this.blobContainers = new BlobContainersClientImpl(this); diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/TableServicesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/TableServicesClientImpl.java index 96cf3890bdeb6..8420e4f3f471b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/TableServicesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/TableServicesClientImpl.java @@ -116,7 +116,7 @@ Mono> getServiceProperties( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> listWithResponseAsync(String resourceGroupName, String accountName) { @@ -166,7 +166,7 @@ public Mono> listWithResponseAsync(String resou * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listWithResponseAsync( @@ -213,7 +213,7 @@ private Mono> listWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono listAsync(String resourceGroupName, String accountName) { @@ -256,7 +256,7 @@ public ListTableServicesInner list(String resourceGroupName, String accountName) * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the response body along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response listWithResponse( @@ -277,7 +277,8 @@ public Response listWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Table service. + * @return the properties of a storage account’s Table service along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> setServicePropertiesWithResponseAsync( @@ -339,7 +340,8 @@ public Mono> setServicePropertiesWithRespo * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Table service. + * @return the properties of a storage account’s Table service along with {@link Response} on successful completion + * of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> setServicePropertiesWithResponseAsync( @@ -397,7 +399,7 @@ private Mono> setServicePropertiesWithResp * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Table service. + * @return the properties of a storage account’s Table service on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono setServicePropertiesAsync( @@ -448,7 +450,7 @@ public TableServicePropertiesInner setServiceProperties( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the properties of a storage account’s Table service. + * @return the properties of a storage account’s Table service along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response setServicePropertiesWithResponse( @@ -468,7 +470,7 @@ public Response setServicePropertiesWithResponse( * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Table service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getServicePropertiesWithResponseAsync( @@ -523,7 +525,7 @@ public Mono> getServicePropertiesWithRespo * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Table service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getServicePropertiesWithResponseAsync( @@ -574,7 +576,7 @@ private Mono> getServicePropertiesWithResp * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Table service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getServicePropertiesAsync(String resourceGroupName, String accountName) { @@ -621,7 +623,7 @@ public TableServicePropertiesInner getServiceProperties(String resourceGroupName * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the properties of a storage account’s Table service, including properties for Storage Analytics and CORS - * (Cross-Origin Resource Sharing) rules. + * (Cross-Origin Resource Sharing) rules along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getServicePropertiesWithResponse( diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/TablesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/TablesClientImpl.java index ac0afa85c9c17..4b2dce45ce5b7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/TablesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/TablesClientImpl.java @@ -163,7 +163,8 @@ Mono> listNext( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the table, including Id, resource name, resource type. + * @return properties of the table, including Id, resource name, resource type along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> createWithResponseAsync( @@ -220,7 +221,8 @@ public Mono> createWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the table, including Id, resource name, resource type. + * @return properties of the table, including Id, resource name, resource type along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> createWithResponseAsync( @@ -273,7 +275,8 @@ private Mono> createWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the table, including Id, resource name, resource type. + * @return properties of the table, including Id, resource name, resource type on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono createAsync(String resourceGroupName, String accountName, String tableName) { @@ -320,7 +323,7 @@ public TableInner create(String resourceGroupName, String accountName, String ta * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the table, including Id, resource name, resource type. + * @return properties of the table, including Id, resource name, resource type along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response createWithResponse( @@ -340,7 +343,8 @@ public Response createWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the table, including Id, resource name, resource type. + * @return properties of the table, including Id, resource name, resource type along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> updateWithResponseAsync( @@ -397,7 +401,8 @@ public Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the table, including Id, resource name, resource type. + * @return properties of the table, including Id, resource name, resource type along with {@link Response} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> updateWithResponseAsync( @@ -450,7 +455,8 @@ private Mono> updateWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the table, including Id, resource name, resource type. + * @return properties of the table, including Id, resource name, resource type on successful completion of {@link + * Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono updateAsync(String resourceGroupName, String accountName, String tableName) { @@ -497,7 +503,7 @@ public TableInner update(String resourceGroupName, String accountName, String ta * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return properties of the table, including Id, resource name, resource type. + * @return properties of the table, including Id, resource name, resource type along with {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response updateWithResponse( @@ -517,7 +523,8 @@ public Response updateWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the table with the specified table name, under the specified account if it exists. + * @return the table with the specified table name, under the specified account if it exists along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> getWithResponseAsync( @@ -574,7 +581,8 @@ public Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the table with the specified table name, under the specified account if it exists. + * @return the table with the specified table name, under the specified account if it exists along with {@link + * Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> getWithResponseAsync( @@ -627,7 +635,8 @@ private Mono> getWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the table with the specified table name, under the specified account if it exists. + * @return the table with the specified table name, under the specified account if it exists on successful + * completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getAsync(String resourceGroupName, String accountName, String tableName) { @@ -674,7 +683,8 @@ public TableInner get(String resourceGroupName, String accountName, String table * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the table with the specified table name, under the specified account if it exists. + * @return the table with the specified table name, under the specified account if it exists along with {@link + * Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response getWithResponse( @@ -694,7 +704,7 @@ public Response getWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> deleteWithResponseAsync( @@ -751,7 +761,7 @@ public Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return the {@link Response} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> deleteWithResponseAsync( @@ -804,7 +814,7 @@ private Mono> deleteWithResponseAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the completion. + * @return A {@link Mono} that completes when a successful response is received. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono deleteAsync(String resourceGroupName, String accountName, String tableName) { @@ -843,7 +853,7 @@ public void delete(String resourceGroupName, String accountName, String tableNam * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the response. + * @return the {@link Response}. */ @ServiceMethod(returns = ReturnType.SINGLE) public Response deleteWithResponse( @@ -861,7 +871,8 @@ public Response deleteWithResponse( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the tables under the specified storage account. + * @return a list of all the tables under the specified storage account along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync(String resourceGroupName, String accountName) { @@ -920,7 +931,8 @@ private Mono> listSinglePageAsync(String resourceGroup * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the tables under the specified storage account. + * @return a list of all the tables under the specified storage account along with {@link PagedResponse} on + * successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listSinglePageAsync( @@ -976,7 +988,8 @@ private Mono> listSinglePageAsync( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the tables under the specified storage account. + * @return a list of all the tables under the specified storage account as paginated response with {@link + * PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listAsync(String resourceGroupName, String accountName) { @@ -995,7 +1008,8 @@ public PagedFlux listAsync(String resourceGroupName, String accountN * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the tables under the specified storage account. + * @return a list of all the tables under the specified storage account as paginated response with {@link + * PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listAsync(String resourceGroupName, String accountName, Context context) { @@ -1014,7 +1028,8 @@ private PagedFlux listAsync(String resourceGroupName, String account * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the tables under the specified storage account. + * @return a list of all the tables under the specified storage account as paginated response with {@link + * PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String accountName) { @@ -1032,7 +1047,8 @@ public PagedIterable list(String resourceGroupName, String accountNa * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return a list of all the tables under the specified storage account. + * @return a list of all the tables under the specified storage account as paginated response with {@link + * PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable list(String resourceGroupName, String accountName, Context context) { @@ -1046,7 +1062,7 @@ public PagedIterable list(String resourceGroupName, String accountNa * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink) { @@ -1082,7 +1098,7 @@ private Mono> listNextSinglePageAsync(String nextLink) * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return response schema. + * @return response schema along with {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listNextSinglePageAsync(String nextLink, Context context) { diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/UsagesClientImpl.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/UsagesClientImpl.java index 2fdb4e0ef5a41..e86d2422a455a 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/UsagesClientImpl.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/implementation/UsagesClientImpl.java @@ -78,7 +78,8 @@ Mono> listByLocation( * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the current usage count and the limit for the resources of the location under the subscription. + * @return the current usage count and the limit for the resources of the location under the subscription along with + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByLocationSinglePageAsync(String location) { @@ -124,7 +125,8 @@ private Mono> listByLocationSinglePageAsync(String loc * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the current usage count and the limit for the resources of the location under the subscription. + * @return the current usage count and the limit for the resources of the location under the subscription along with + * {@link PagedResponse} on successful completion of {@link Mono}. */ @ServiceMethod(returns = ReturnType.SINGLE) private Mono> listByLocationSinglePageAsync(String location, Context context) { @@ -166,7 +168,8 @@ private Mono> listByLocationSinglePageAsync(String loc * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the current usage count and the limit for the resources of the location under the subscription. + * @return the current usage count and the limit for the resources of the location under the subscription as + * paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedFlux listByLocationAsync(String location) { @@ -181,7 +184,8 @@ public PagedFlux listByLocationAsync(String location) { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the current usage count and the limit for the resources of the location under the subscription. + * @return the current usage count and the limit for the resources of the location under the subscription as + * paginated response with {@link PagedFlux}. */ @ServiceMethod(returns = ReturnType.COLLECTION) private PagedFlux listByLocationAsync(String location, Context context) { @@ -195,7 +199,8 @@ private PagedFlux listByLocationAsync(String location, Context conte * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the current usage count and the limit for the resources of the location under the subscription. + * @return the current usage count and the limit for the resources of the location under the subscription as + * paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable listByLocation(String location) { @@ -210,7 +215,8 @@ public PagedIterable listByLocation(String location) { * @throws IllegalArgumentException thrown if parameters fail the validation. * @throws ManagementException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. - * @return the current usage count and the limit for the resources of the location under the subscription. + * @return the current usage count and the limit for the resources of the location under the subscription as + * paginated response with {@link PagedIterable}. */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable listByLocation(String location, Context context) { diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/AccountImmutabilityPolicyProperties.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/AccountImmutabilityPolicyProperties.java new file mode 100644 index 0000000000000..847eb5c6b6fe1 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/AccountImmutabilityPolicyProperties.java @@ -0,0 +1,131 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** This defines account-level immutability policy properties. */ +@Fluent +public final class AccountImmutabilityPolicyProperties { + @JsonIgnore private final ClientLogger logger = new ClientLogger(AccountImmutabilityPolicyProperties.class); + + /* + * The immutability period for the blobs in the container since the policy + * creation, in days. + */ + @JsonProperty(value = "immutabilityPeriodSinceCreationInDays") + private Integer immutabilityPeriodSinceCreationInDays; + + /* + * The ImmutabilityPolicy state defines the mode of the policy. Disabled + * state disables the policy, Unlocked state allows increase and decrease + * of immutability retention time and also allows toggling + * allowProtectedAppendWrites property, Locked state only allows the + * increase of the immutability retention time. A policy can only be + * created in a Disabled or Unlocked state and can be toggled between the + * two states. Only a policy in an Unlocked state can transition to a + * Locked state which cannot be reverted. + */ + @JsonProperty(value = "state") + private AccountImmutabilityPolicyState state; + + /* + * This property can only be changed for disabled and unlocked time-based + * retention policies. When enabled, new blocks can be written to an append + * blob while maintaining immutability protection and compliance. Only new + * blocks can be added and any existing blocks cannot be modified or + * deleted. + */ + @JsonProperty(value = "allowProtectedAppendWrites") + private Boolean allowProtectedAppendWrites; + + /** + * Get the immutabilityPeriodSinceCreationInDays property: The immutability period for the blobs in the container + * since the policy creation, in days. + * + * @return the immutabilityPeriodSinceCreationInDays value. + */ + public Integer immutabilityPeriodSinceCreationInDays() { + return this.immutabilityPeriodSinceCreationInDays; + } + + /** + * Set the immutabilityPeriodSinceCreationInDays property: The immutability period for the blobs in the container + * since the policy creation, in days. + * + * @param immutabilityPeriodSinceCreationInDays the immutabilityPeriodSinceCreationInDays value to set. + * @return the AccountImmutabilityPolicyProperties object itself. + */ + public AccountImmutabilityPolicyProperties withImmutabilityPeriodSinceCreationInDays( + Integer immutabilityPeriodSinceCreationInDays) { + this.immutabilityPeriodSinceCreationInDays = immutabilityPeriodSinceCreationInDays; + return this; + } + + /** + * Get the state property: The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the + * policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling + * allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A + * policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a + * policy in an Unlocked state can transition to a Locked state which cannot be reverted. + * + * @return the state value. + */ + public AccountImmutabilityPolicyState state() { + return this.state; + } + + /** + * Set the state property: The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the + * policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling + * allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A + * policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a + * policy in an Unlocked state can transition to a Locked state which cannot be reverted. + * + * @param state the state value to set. + * @return the AccountImmutabilityPolicyProperties object itself. + */ + public AccountImmutabilityPolicyProperties withState(AccountImmutabilityPolicyState state) { + this.state = state; + return this; + } + + /** + * Get the allowProtectedAppendWrites property: This property can only be changed for disabled and unlocked + * time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining + * immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified + * or deleted. + * + * @return the allowProtectedAppendWrites value. + */ + public Boolean allowProtectedAppendWrites() { + return this.allowProtectedAppendWrites; + } + + /** + * Set the allowProtectedAppendWrites property: This property can only be changed for disabled and unlocked + * time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining + * immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified + * or deleted. + * + * @param allowProtectedAppendWrites the allowProtectedAppendWrites value to set. + * @return the AccountImmutabilityPolicyProperties object itself. + */ + public AccountImmutabilityPolicyProperties withAllowProtectedAppendWrites(Boolean allowProtectedAppendWrites) { + this.allowProtectedAppendWrites = allowProtectedAppendWrites; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/AccountImmutabilityPolicyState.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/AccountImmutabilityPolicyState.java new file mode 100644 index 0000000000000..06699f19022d9 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/AccountImmutabilityPolicyState.java @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Defines values for AccountImmutabilityPolicyState. */ +public final class AccountImmutabilityPolicyState extends ExpandableStringEnum { + /** Static value Unlocked for AccountImmutabilityPolicyState. */ + public static final AccountImmutabilityPolicyState UNLOCKED = fromString("Unlocked"); + + /** Static value Locked for AccountImmutabilityPolicyState. */ + public static final AccountImmutabilityPolicyState LOCKED = fromString("Locked"); + + /** Static value Disabled for AccountImmutabilityPolicyState. */ + public static final AccountImmutabilityPolicyState DISABLED = fromString("Disabled"); + + /** + * Creates or finds a AccountImmutabilityPolicyState from its string representation. + * + * @param name a name to look for. + * @return the corresponding AccountImmutabilityPolicyState. + */ + @JsonCreator + public static AccountImmutabilityPolicyState fromString(String name) { + return fromString(name, AccountImmutabilityPolicyState.class); + } + + /** @return known AccountImmutabilityPolicyState values. */ + public static Collection values() { + return values(AccountImmutabilityPolicyState.class); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/ActiveDirectoryProperties.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/ActiveDirectoryProperties.java index b7bbee9ecf583..6d0a5e02b7834 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/ActiveDirectoryProperties.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/ActiveDirectoryProperties.java @@ -51,6 +51,18 @@ public final class ActiveDirectoryProperties { @JsonProperty(value = "azureStorageSid", required = true) private String azureStorageSid; + /* + * Specifies the Active Directory SAMAccountName for Azure Storage. + */ + @JsonProperty(value = "samAccountName") + private String samAccountName; + + /* + * Specifies the Active Directory account type for Azure Storage. + */ + @JsonProperty(value = "accountType") + private ActiveDirectoryPropertiesAccountType accountType; + /** * Get the domainName property: Specifies the primary domain that the AD DNS server is authoritative for. * @@ -171,6 +183,46 @@ public ActiveDirectoryProperties withAzureStorageSid(String azureStorageSid) { return this; } + /** + * Get the samAccountName property: Specifies the Active Directory SAMAccountName for Azure Storage. + * + * @return the samAccountName value. + */ + public String samAccountName() { + return this.samAccountName; + } + + /** + * Set the samAccountName property: Specifies the Active Directory SAMAccountName for Azure Storage. + * + * @param samAccountName the samAccountName value to set. + * @return the ActiveDirectoryProperties object itself. + */ + public ActiveDirectoryProperties withSamAccountName(String samAccountName) { + this.samAccountName = samAccountName; + return this; + } + + /** + * Get the accountType property: Specifies the Active Directory account type for Azure Storage. + * + * @return the accountType value. + */ + public ActiveDirectoryPropertiesAccountType accountType() { + return this.accountType; + } + + /** + * Set the accountType property: Specifies the Active Directory account type for Azure Storage. + * + * @param accountType the accountType value to set. + * @return the ActiveDirectoryProperties object itself. + */ + public ActiveDirectoryProperties withAccountType(ActiveDirectoryPropertiesAccountType accountType) { + this.accountType = accountType; + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/ActiveDirectoryPropertiesAccountType.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/ActiveDirectoryPropertiesAccountType.java new file mode 100644 index 0000000000000..fa2d6462f693b --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/ActiveDirectoryPropertiesAccountType.java @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Defines values for ActiveDirectoryPropertiesAccountType. */ +public final class ActiveDirectoryPropertiesAccountType + extends ExpandableStringEnum { + /** Static value User for ActiveDirectoryPropertiesAccountType. */ + public static final ActiveDirectoryPropertiesAccountType USER = fromString("User"); + + /** Static value Computer for ActiveDirectoryPropertiesAccountType. */ + public static final ActiveDirectoryPropertiesAccountType COMPUTER = fromString("Computer"); + + /** + * Creates or finds a ActiveDirectoryPropertiesAccountType from its string representation. + * + * @param name a name to look for. + * @return the corresponding ActiveDirectoryPropertiesAccountType. + */ + @JsonCreator + public static ActiveDirectoryPropertiesAccountType fromString(String name) { + return fromString(name, ActiveDirectoryPropertiesAccountType.class); + } + + /** @return known ActiveDirectoryPropertiesAccountType values. */ + public static Collection values() { + return values(ActiveDirectoryPropertiesAccountType.class); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/AllowedCopyScope.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/AllowedCopyScope.java new file mode 100644 index 0000000000000..08e8943e248f4 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/AllowedCopyScope.java @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Defines values for AllowedCopyScope. */ +public final class AllowedCopyScope extends ExpandableStringEnum { + /** Static value PrivateLink for AllowedCopyScope. */ + public static final AllowedCopyScope PRIVATE_LINK = fromString("PrivateLink"); + + /** Static value AAD for AllowedCopyScope. */ + public static final AllowedCopyScope AAD = fromString("AAD"); + + /** + * Creates or finds a AllowedCopyScope from its string representation. + * + * @param name a name to look for. + * @return the corresponding AllowedCopyScope. + */ + @JsonCreator + public static AllowedCopyScope fromString(String name) { + return fromString(name, AllowedCopyScope.class); + } + + /** @return known AllowedCopyScope values. */ + public static Collection values() { + return values(AllowedCopyScope.class); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/BlobInventoryPolicyDefinition.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/BlobInventoryPolicyDefinition.java index dc9b34280c460..fe513e3c12ad8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/BlobInventoryPolicyDefinition.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/BlobInventoryPolicyDefinition.java @@ -48,13 +48,14 @@ public final class BlobInventoryPolicyDefinition { * 'Name' is always required. The valid values for this field for the * 'Blob' definition.objectType include 'Name, Creation-Time, * Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, - * AccessTierChangeTime, Expiry-Time, hdi_isfolder, Owner, Group, - * Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, - * LastAccessTime'. The valid values for 'Container' definition.objectType - * include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, - * LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold'. - * Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, - * Permissions, Acl' are valid only for Hns enabled accounts. + * AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, + * hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, + * IsCurrentVersion, Metadata, LastAccessTime'. The valid values for + * 'Container' definition.objectType include 'Name, Last-Modified, + * Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, + * HasImmutabilityPolicy, HasLegalHold'. Schema field values 'Expiry-Time, + * hdi_isfolder, Owner, Group, Permissions, Acl' are valid only for Hns + * enabled accounts.'Tags' field is only valid for non Hns accounts */ @JsonProperty(value = "schemaFields", required = true) private List schemaFields; @@ -145,11 +146,12 @@ public BlobInventoryPolicyDefinition withObjectType(ObjectType objectType) { * Get the schemaFields property: This is a required field. This field specifies the fields and properties of the * object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for * this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, - * Content-MD5, BlobType, AccessTier, AccessTierChangeTime, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, - * Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime'. The valid values for 'Container' - * definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, - * PublicAccess, HasImmutabilityPolicy, HasLegalHold'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, - * Permissions, Acl' are valid only for Hns enabled accounts. + * Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, + * Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime'. The valid + * values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, + * LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold'. Schema field values 'Expiry-Time, + * hdi_isfolder, Owner, Group, Permissions, Acl' are valid only for Hns enabled accounts.'Tags' field is only valid + * for non Hns accounts. * * @return the schemaFields value. */ @@ -161,11 +163,12 @@ public List schemaFields() { * Set the schemaFields property: This is a required field. This field specifies the fields and properties of the * object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for * this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, - * Content-MD5, BlobType, AccessTier, AccessTierChangeTime, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, - * Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime'. The valid values for 'Container' - * definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, - * PublicAccess, HasImmutabilityPolicy, HasLegalHold'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, - * Permissions, Acl' are valid only for Hns enabled accounts. + * Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, + * Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime'. The valid + * values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, + * LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold'. Schema field values 'Expiry-Time, + * hdi_isfolder, Owner, Group, Permissions, Acl' are valid only for Hns enabled accounts.'Tags' field is only valid + * for non Hns accounts. * * @param schemaFields the schemaFields value to set. * @return the BlobInventoryPolicyDefinition object itself. diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/DefaultSharePermission.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/DefaultSharePermission.java index abf26a90d225e..0a020c8727f3d 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/DefaultSharePermission.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/DefaultSharePermission.java @@ -25,10 +25,6 @@ public final class DefaultSharePermission extends ExpandableStringEnum tags; + /* + * Protected append blob writes history. + */ + @JsonProperty(value = "protectedAppendWritesHistory") + private ProtectedAppendWritesHistory protectedAppendWritesHistory; + /** * Get the hasLegalHold property: The hasLegalHold public property is set to true by SRP if there are at least one * existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared @@ -62,6 +68,27 @@ public LegalHoldProperties withTags(List tags) { return this; } + /** + * Get the protectedAppendWritesHistory property: Protected append blob writes history. + * + * @return the protectedAppendWritesHistory value. + */ + public ProtectedAppendWritesHistory protectedAppendWritesHistory() { + return this.protectedAppendWritesHistory; + } + + /** + * Set the protectedAppendWritesHistory property: Protected append blob writes history. + * + * @param protectedAppendWritesHistory the protectedAppendWritesHistory value to set. + * @return the LegalHoldProperties object itself. + */ + public LegalHoldProperties withProtectedAppendWritesHistory( + ProtectedAppendWritesHistory protectedAppendWritesHistory) { + this.protectedAppendWritesHistory = protectedAppendWritesHistory; + return this; + } + /** * Validates the instance. * @@ -71,5 +98,8 @@ public void validate() { if (tags() != null) { tags().forEach(e -> e.validate()); } + if (protectedAppendWritesHistory() != null) { + protectedAppendWritesHistory().validate(); + } } } diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/LocalUsers.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/LocalUsers.java new file mode 100644 index 0000000000000..5193e3eca30ab --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/LocalUsers.java @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.azure.resourcemanager.storage.fluent.models.LocalUserInner; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** List storage account local users. */ +@Fluent +public final class LocalUsers { + @JsonIgnore private final ClientLogger logger = new ClientLogger(LocalUsers.class); + + /* + * The local users associated with the storage account. + */ + @JsonProperty(value = "value") + private List value; + + /** + * Get the value property: The local users associated with the storage account. + * + * @return the value value. + */ + public List value() { + return this.value; + } + + /** + * Set the value property: The local users associated with the storage account. + * + * @param value the value value to set. + * @return the LocalUsers object itself. + */ + public LocalUsers withValue(List value) { + this.value = value; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (value() != null) { + value().forEach(e -> e.validate()); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/PermissionScope.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/PermissionScope.java new file mode 100644 index 0000000000000..f463afc9ef717 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/PermissionScope.java @@ -0,0 +1,123 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The PermissionScope model. */ +@Fluent +public final class PermissionScope { + @JsonIgnore private final ClientLogger logger = new ClientLogger(PermissionScope.class); + + /* + * The permissions for the local user. Possible values include: Read (r), + * Write (w), Delete (d), List (l), and Create (c). + */ + @JsonProperty(value = "permissions", required = true) + private String permissions; + + /* + * The service used by the local user, e.g. blob, file. + */ + @JsonProperty(value = "service", required = true) + private String service; + + /* + * The name of resource, normally the container name or the file share + * name, used by the local user. + */ + @JsonProperty(value = "resourceName", required = true) + private String resourceName; + + /** + * Get the permissions property: The permissions for the local user. Possible values include: Read (r), Write (w), + * Delete (d), List (l), and Create (c). + * + * @return the permissions value. + */ + public String permissions() { + return this.permissions; + } + + /** + * Set the permissions property: The permissions for the local user. Possible values include: Read (r), Write (w), + * Delete (d), List (l), and Create (c). + * + * @param permissions the permissions value to set. + * @return the PermissionScope object itself. + */ + public PermissionScope withPermissions(String permissions) { + this.permissions = permissions; + return this; + } + + /** + * Get the service property: The service used by the local user, e.g. blob, file. + * + * @return the service value. + */ + public String service() { + return this.service; + } + + /** + * Set the service property: The service used by the local user, e.g. blob, file. + * + * @param service the service value to set. + * @return the PermissionScope object itself. + */ + public PermissionScope withService(String service) { + this.service = service; + return this; + } + + /** + * Get the resourceName property: The name of resource, normally the container name or the file share name, used by + * the local user. + * + * @return the resourceName value. + */ + public String resourceName() { + return this.resourceName; + } + + /** + * Set the resourceName property: The name of resource, normally the container name or the file share name, used by + * the local user. + * + * @param resourceName the resourceName value to set. + * @return the PermissionScope object itself. + */ + public PermissionScope withResourceName(String resourceName) { + this.resourceName = resourceName; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + if (permissions() == null) { + throw logger + .logExceptionAsError( + new IllegalArgumentException("Missing required property permissions in model PermissionScope")); + } + if (service() == null) { + throw logger + .logExceptionAsError( + new IllegalArgumentException("Missing required property service in model PermissionScope")); + } + if (resourceName() == null) { + throw logger + .logExceptionAsError( + new IllegalArgumentException("Missing required property resourceName in model PermissionScope")); + } + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/ProtectedAppendWritesHistory.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/ProtectedAppendWritesHistory.java new file mode 100644 index 0000000000000..543aa049d7bb7 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/ProtectedAppendWritesHistory.java @@ -0,0 +1,72 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.OffsetDateTime; + +/** Protected append writes history setting for the blob container with Legal holds. */ +@Fluent +public final class ProtectedAppendWritesHistory { + @JsonIgnore private final ClientLogger logger = new ClientLogger(ProtectedAppendWritesHistory.class); + + /* + * When enabled, new blocks can be written to both 'Append and Bock Blobs' + * while maintaining legal hold protection and compliance. Only new blocks + * can be added and any existing blocks cannot be modified or deleted. + */ + @JsonProperty(value = "allowProtectedAppendWritesAll") + private Boolean allowProtectedAppendWritesAll; + + /* + * Returns the date and time the tag was added. + */ + @JsonProperty(value = "timestamp", access = JsonProperty.Access.WRITE_ONLY) + private OffsetDateTime timestamp; + + /** + * Get the allowProtectedAppendWritesAll property: When enabled, new blocks can be written to both 'Append and Bock + * Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing + * blocks cannot be modified or deleted. + * + * @return the allowProtectedAppendWritesAll value. + */ + public Boolean allowProtectedAppendWritesAll() { + return this.allowProtectedAppendWritesAll; + } + + /** + * Set the allowProtectedAppendWritesAll property: When enabled, new blocks can be written to both 'Append and Bock + * Blobs' while maintaining legal hold protection and compliance. Only new blocks can be added and any existing + * blocks cannot be modified or deleted. + * + * @param allowProtectedAppendWritesAll the allowProtectedAppendWritesAll value to set. + * @return the ProtectedAppendWritesHistory object itself. + */ + public ProtectedAppendWritesHistory withAllowProtectedAppendWritesAll(Boolean allowProtectedAppendWritesAll) { + this.allowProtectedAppendWritesAll = allowProtectedAppendWritesAll; + return this; + } + + /** + * Get the timestamp property: Returns the date and time the tag was added. + * + * @return the timestamp value. + */ + public OffsetDateTime timestamp() { + return this.timestamp; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/PublicNetworkAccess.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/PublicNetworkAccess.java new file mode 100644 index 0000000000000..8f5c7db99fe66 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/PublicNetworkAccess.java @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Defines values for PublicNetworkAccess. */ +public final class PublicNetworkAccess extends ExpandableStringEnum { + /** Static value Enabled for PublicNetworkAccess. */ + public static final PublicNetworkAccess ENABLED = fromString("Enabled"); + + /** Static value Disabled for PublicNetworkAccess. */ + public static final PublicNetworkAccess DISABLED = fromString("Disabled"); + + /** + * Creates or finds a PublicNetworkAccess from its string representation. + * + * @param name a name to look for. + * @return the corresponding PublicNetworkAccess. + */ + @JsonCreator + public static PublicNetworkAccess fromString(String name) { + return fromString(name, PublicNetworkAccess.class); + } + + /** @return known PublicNetworkAccess values. */ + public static Collection values() { + return values(PublicNetworkAccess.class); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/SshPublicKey.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/SshPublicKey.java new file mode 100644 index 0000000000000..c45a44f617e65 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/SshPublicKey.java @@ -0,0 +1,79 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.models; + +import com.azure.core.annotation.Fluent; +import com.azure.core.util.logging.ClientLogger; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The SshPublicKey model. */ +@Fluent +public final class SshPublicKey { + @JsonIgnore private final ClientLogger logger = new ClientLogger(SshPublicKey.class); + + /* + * Optional. It is used to store the function/usage of the key + */ + @JsonProperty(value = "description") + private String description; + + /* + * Ssh public key base64 encoded. The format should be: ' + * ', e.g. ssh-rsa AAAABBBB + */ + @JsonProperty(value = "key") + private String key; + + /** + * Get the description property: Optional. It is used to store the function/usage of the key. + * + * @return the description value. + */ + public String description() { + return this.description; + } + + /** + * Set the description property: Optional. It is used to store the function/usage of the key. + * + * @param description the description value to set. + * @return the SshPublicKey object itself. + */ + public SshPublicKey withDescription(String description) { + this.description = description; + return this; + } + + /** + * Get the key property: Ssh public key base64 encoded. The format should be: '<keyType> <keyData>', + * e.g. ssh-rsa AAAABBBB. + * + * @return the key value. + */ + public String key() { + return this.key; + } + + /** + * Set the key property: Ssh public key base64 encoded. The format should be: '<keyType> <keyData>', + * e.g. ssh-rsa AAAABBBB. + * + * @param key the key value to set. + * @return the SshPublicKey object itself. + */ + public SshPublicKey withKey(String key) { + this.key = key; + return this; + } + + /** + * Validates the instance. + * + * @throws IllegalArgumentException thrown if the instance is not valid. + */ + public void validate() { + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/StorageAccountCreateParameters.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/StorageAccountCreateParameters.java index c16f6983a9c17..ce2baa01bac32 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/StorageAccountCreateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/StorageAccountCreateParameters.java @@ -213,6 +213,56 @@ private StorageAccountPropertiesCreateParameters innerProperties() { return this.innerProperties; } + /** + * Get the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + * + * @return the allowedCopyScope value. + */ + public AllowedCopyScope allowedCopyScope() { + return this.innerProperties() == null ? null : this.innerProperties().allowedCopyScope(); + } + + /** + * Set the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + * + * @param allowedCopyScope the allowedCopyScope value to set. + * @return the StorageAccountCreateParameters object itself. + */ + public StorageAccountCreateParameters withAllowedCopyScope(AllowedCopyScope allowedCopyScope) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesCreateParameters(); + } + this.innerProperties().withAllowedCopyScope(allowedCopyScope); + return this; + } + + /** + * Get the publicNetworkAccess property: Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + * + * @return the publicNetworkAccess value. + */ + public PublicNetworkAccess publicNetworkAccess() { + return this.innerProperties() == null ? null : this.innerProperties().publicNetworkAccess(); + } + + /** + * Set the publicNetworkAccess property: Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + * + * @param publicNetworkAccess the publicNetworkAccess value to set. + * @return the StorageAccountCreateParameters object itself. + */ + public StorageAccountCreateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesCreateParameters(); + } + this.innerProperties().withPublicNetworkAccess(publicNetworkAccess); + return this; + } + /** * Get the sasPolicy property: SasPolicy assigned to the storage account. * @@ -287,8 +337,7 @@ public StorageAccountCreateParameters withCustomDomain(CustomDomain customDomain } /** - * Get the encryption property: Not applicable. Azure Storage encryption is enabled for all storage accounts and - * cannot be disabled. + * Get the encryption property: Encryption settings to be used for server-side encryption for the storage account. * * @return the encryption value. */ @@ -297,8 +346,7 @@ public Encryption encryption() { } /** - * Set the encryption property: Not applicable. Azure Storage encryption is enabled for all storage accounts and - * cannot be disabled. + * Set the encryption property: Encryption settings to be used for server-side encryption for the storage account. * * @param encryption the encryption value to set. * @return the StorageAccountCreateParameters object itself. @@ -410,6 +458,52 @@ public StorageAccountCreateParameters withEnableHttpsTrafficOnly(Boolean enableH return this; } + /** + * Get the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true. + * + * @return the isSftpEnabled value. + */ + public Boolean isSftpEnabled() { + return this.innerProperties() == null ? null : this.innerProperties().isSftpEnabled(); + } + + /** + * Set the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true. + * + * @param isSftpEnabled the isSftpEnabled value to set. + * @return the StorageAccountCreateParameters object itself. + */ + public StorageAccountCreateParameters withIsSftpEnabled(Boolean isSftpEnabled) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesCreateParameters(); + } + this.innerProperties().withIsSftpEnabled(isSftpEnabled); + return this; + } + + /** + * Get the isLocalUserEnabled property: Enables local users feature, if set to true. + * + * @return the isLocalUserEnabled value. + */ + public Boolean isLocalUserEnabled() { + return this.innerProperties() == null ? null : this.innerProperties().isLocalUserEnabled(); + } + + /** + * Set the isLocalUserEnabled property: Enables local users feature, if set to true. + * + * @param isLocalUserEnabled the isLocalUserEnabled value to set. + * @return the StorageAccountCreateParameters object itself. + */ + public StorageAccountCreateParameters withIsLocalUserEnabled(Boolean isLocalUserEnabled) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesCreateParameters(); + } + this.innerProperties().withIsLocalUserEnabled(isLocalUserEnabled); + return this; + } + /** * Get the isHnsEnabled property: Account HierarchicalNamespace enabled if sets to true. * @@ -608,6 +702,59 @@ public StorageAccountCreateParameters withAllowCrossTenantReplication(Boolean al return this; } + /** + * Get the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication + * is OAuth or not. The default interpretation is false for this property. + * + * @return the defaultToOAuthAuthentication value. + */ + public Boolean defaultToOAuthAuthentication() { + return this.innerProperties() == null ? null : this.innerProperties().defaultToOAuthAuthentication(); + } + + /** + * Set the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication + * is OAuth or not. The default interpretation is false for this property. + * + * @param defaultToOAuthAuthentication the defaultToOAuthAuthentication value to set. + * @return the StorageAccountCreateParameters object itself. + */ + public StorageAccountCreateParameters withDefaultToOAuthAuthentication(Boolean defaultToOAuthAuthentication) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesCreateParameters(); + } + this.innerProperties().withDefaultToOAuthAuthentication(defaultToOAuthAuthentication); + return this; + } + + /** + * Get the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the + * account creation time. When set to true, it enables object level immutability for all the new containers in the + * account by default. + * + * @return the immutableStorageWithVersioning value. + */ + public ImmutableStorageAccount immutableStorageWithVersioning() { + return this.innerProperties() == null ? null : this.innerProperties().immutableStorageWithVersioning(); + } + + /** + * Set the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the + * account creation time. When set to true, it enables object level immutability for all the new containers in the + * account by default. + * + * @param immutableStorageWithVersioning the immutableStorageWithVersioning value to set. + * @return the StorageAccountCreateParameters object itself. + */ + public StorageAccountCreateParameters withImmutableStorageWithVersioning( + ImmutableStorageAccount immutableStorageWithVersioning) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesCreateParameters(); + } + this.innerProperties().withImmutableStorageWithVersioning(immutableStorageWithVersioning); + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/StorageAccountUpdateParameters.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/StorageAccountUpdateParameters.java index 654d496234fbd..46e5fac65d2b8 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/StorageAccountUpdateParameters.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/StorageAccountUpdateParameters.java @@ -182,7 +182,8 @@ public StorageAccountUpdateParameters withCustomDomain(CustomDomain customDomain } /** - * Get the encryption property: Provides the encryption settings on the account. The default setting is unencrypted. + * Get the encryption property: Not applicable. Azure Storage encryption at rest is enabled by default for all + * storage accounts and cannot be disabled. * * @return the encryption value. */ @@ -191,7 +192,8 @@ public Encryption encryption() { } /** - * Set the encryption property: Provides the encryption settings on the account. The default setting is unencrypted. + * Set the encryption property: Not applicable. Azure Storage encryption at rest is enabled by default for all + * storage accounts and cannot be disabled. * * @param encryption the encryption value to set. * @return the StorageAccountUpdateParameters object itself. @@ -324,6 +326,52 @@ public StorageAccountUpdateParameters withEnableHttpsTrafficOnly(Boolean enableH return this; } + /** + * Get the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true. + * + * @return the isSftpEnabled value. + */ + public Boolean isSftpEnabled() { + return this.innerProperties() == null ? null : this.innerProperties().isSftpEnabled(); + } + + /** + * Set the isSftpEnabled property: Enables Secure File Transfer Protocol, if set to true. + * + * @param isSftpEnabled the isSftpEnabled value to set. + * @return the StorageAccountUpdateParameters object itself. + */ + public StorageAccountUpdateParameters withIsSftpEnabled(Boolean isSftpEnabled) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesUpdateParameters(); + } + this.innerProperties().withIsSftpEnabled(isSftpEnabled); + return this; + } + + /** + * Get the isLocalUserEnabled property: Enables local users feature, if set to true. + * + * @return the isLocalUserEnabled value. + */ + public Boolean isLocalUserEnabled() { + return this.innerProperties() == null ? null : this.innerProperties().isLocalUserEnabled(); + } + + /** + * Set the isLocalUserEnabled property: Enables local users feature, if set to true. + * + * @param isLocalUserEnabled the isLocalUserEnabled value to set. + * @return the StorageAccountUpdateParameters object itself. + */ + public StorageAccountUpdateParameters withIsLocalUserEnabled(Boolean isLocalUserEnabled) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesUpdateParameters(); + } + this.innerProperties().withIsLocalUserEnabled(isLocalUserEnabled); + return this; + } + /** * Get the networkRuleSet property: Network rule set. * @@ -499,6 +547,109 @@ public StorageAccountUpdateParameters withAllowCrossTenantReplication(Boolean al return this; } + /** + * Get the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication + * is OAuth or not. The default interpretation is false for this property. + * + * @return the defaultToOAuthAuthentication value. + */ + public Boolean defaultToOAuthAuthentication() { + return this.innerProperties() == null ? null : this.innerProperties().defaultToOAuthAuthentication(); + } + + /** + * Set the defaultToOAuthAuthentication property: A boolean flag which indicates whether the default authentication + * is OAuth or not. The default interpretation is false for this property. + * + * @param defaultToOAuthAuthentication the defaultToOAuthAuthentication value to set. + * @return the StorageAccountUpdateParameters object itself. + */ + public StorageAccountUpdateParameters withDefaultToOAuthAuthentication(Boolean defaultToOAuthAuthentication) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesUpdateParameters(); + } + this.innerProperties().withDefaultToOAuthAuthentication(defaultToOAuthAuthentication); + return this; + } + + /** + * Get the publicNetworkAccess property: Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + * + * @return the publicNetworkAccess value. + */ + public PublicNetworkAccess publicNetworkAccess() { + return this.innerProperties() == null ? null : this.innerProperties().publicNetworkAccess(); + } + + /** + * Set the publicNetworkAccess property: Allow or disallow public network access to Storage Account. Value is + * optional but if passed in, must be 'Enabled' or 'Disabled'. + * + * @param publicNetworkAccess the publicNetworkAccess value to set. + * @return the StorageAccountUpdateParameters object itself. + */ + public StorageAccountUpdateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesUpdateParameters(); + } + this.innerProperties().withPublicNetworkAccess(publicNetworkAccess); + return this; + } + + /** + * Get the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the + * account creation time. When set to true, it enables object level immutability for all the containers in the + * account by default. + * + * @return the immutableStorageWithVersioning value. + */ + public ImmutableStorageAccount immutableStorageWithVersioning() { + return this.innerProperties() == null ? null : this.innerProperties().immutableStorageWithVersioning(); + } + + /** + * Set the immutableStorageWithVersioning property: The property is immutable and can only be set to true at the + * account creation time. When set to true, it enables object level immutability for all the containers in the + * account by default. + * + * @param immutableStorageWithVersioning the immutableStorageWithVersioning value to set. + * @return the StorageAccountUpdateParameters object itself. + */ + public StorageAccountUpdateParameters withImmutableStorageWithVersioning( + ImmutableStorageAccount immutableStorageWithVersioning) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesUpdateParameters(); + } + this.innerProperties().withImmutableStorageWithVersioning(immutableStorageWithVersioning); + return this; + } + + /** + * Get the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + * + * @return the allowedCopyScope value. + */ + public AllowedCopyScope allowedCopyScope() { + return this.innerProperties() == null ? null : this.innerProperties().allowedCopyScope(); + } + + /** + * Set the allowedCopyScope property: Restrict copy to and from Storage Accounts within an AAD tenant or with + * Private Links to the same VNet. + * + * @param allowedCopyScope the allowedCopyScope value to set. + * @return the StorageAccountUpdateParameters object itself. + */ + public StorageAccountUpdateParameters withAllowedCopyScope(AllowedCopyScope allowedCopyScope) { + if (this.innerProperties() == null) { + this.innerProperties = new StorageAccountPropertiesUpdateParameters(); + } + this.innerProperties().withAllowedCopyScope(allowedCopyScope); + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/UpdateHistoryProperty.java b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/UpdateHistoryProperty.java index 00b1c8874600f..328aec85fb80b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/UpdateHistoryProperty.java +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/main/java/com/azure/resourcemanager/storage/models/UpdateHistoryProperty.java @@ -4,14 +4,14 @@ package com.azure.resourcemanager.storage.models; -import com.azure.core.annotation.Immutable; +import com.azure.core.annotation.Fluent; import com.azure.core.util.logging.ClientLogger; import com.fasterxml.jackson.annotation.JsonIgnore; import com.fasterxml.jackson.annotation.JsonProperty; import java.time.OffsetDateTime; /** An update history of the ImmutabilityPolicy of a blob container. */ -@Immutable +@Fluent public final class UpdateHistoryProperty { @JsonIgnore private final ClientLogger logger = new ClientLogger(UpdateHistoryProperty.class); @@ -55,6 +55,29 @@ public final class UpdateHistoryProperty { @JsonProperty(value = "upn", access = JsonProperty.Access.WRITE_ONLY) private String upn; + /* + * This property can only be changed for unlocked time-based retention + * policies. When enabled, new blocks can be written to an append blob + * while maintaining immutability protection and compliance. Only new + * blocks can be added and any existing blocks cannot be modified or + * deleted. This property cannot be changed with ExtendImmutabilityPolicy + * API. + */ + @JsonProperty(value = "allowProtectedAppendWrites") + private Boolean allowProtectedAppendWrites; + + /* + * This property can only be changed for unlocked time-based retention + * policies. When enabled, new blocks can be written to both 'Append and + * Bock Blobs' while maintaining immutability protection and compliance. + * Only new blocks can be added and any existing blocks cannot be modified + * or deleted. This property cannot be changed with + * ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' and + * 'allowProtectedAppendWritesAll' properties are mutually exclusive. + */ + @JsonProperty(value = "allowProtectedAppendWritesAll") + private Boolean allowProtectedAppendWritesAll; + /** * Get the update property: The ImmutabilityPolicy update type of a blob container, possible values include: put, * lock and extend. @@ -112,6 +135,60 @@ public String upn() { return this.upn; } + /** + * Get the allowProtectedAppendWrites property: This property can only be changed for unlocked time-based retention + * policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and + * compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property + * cannot be changed with ExtendImmutabilityPolicy API. + * + * @return the allowProtectedAppendWrites value. + */ + public Boolean allowProtectedAppendWrites() { + return this.allowProtectedAppendWrites; + } + + /** + * Set the allowProtectedAppendWrites property: This property can only be changed for unlocked time-based retention + * policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and + * compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property + * cannot be changed with ExtendImmutabilityPolicy API. + * + * @param allowProtectedAppendWrites the allowProtectedAppendWrites value to set. + * @return the UpdateHistoryProperty object itself. + */ + public UpdateHistoryProperty withAllowProtectedAppendWrites(Boolean allowProtectedAppendWrites) { + this.allowProtectedAppendWrites = allowProtectedAppendWrites; + return this; + } + + /** + * Get the allowProtectedAppendWritesAll property: This property can only be changed for unlocked time-based + * retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining + * immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified + * or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' + * and 'allowProtectedAppendWritesAll' properties are mutually exclusive. + * + * @return the allowProtectedAppendWritesAll value. + */ + public Boolean allowProtectedAppendWritesAll() { + return this.allowProtectedAppendWritesAll; + } + + /** + * Set the allowProtectedAppendWritesAll property: This property can only be changed for unlocked time-based + * retention policies. When enabled, new blocks can be written to both 'Append and Bock Blobs' while maintaining + * immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified + * or deleted. This property cannot be changed with ExtendImmutabilityPolicy API. The 'allowProtectedAppendWrites' + * and 'allowProtectedAppendWritesAll' properties are mutually exclusive. + * + * @param allowProtectedAppendWritesAll the allowProtectedAppendWritesAll value to set. + * @return the UpdateHistoryProperty object itself. + */ + public UpdateHistoryProperty withAllowProtectedAppendWritesAll(Boolean allowProtectedAppendWritesAll) { + this.allowProtectedAppendWritesAll = allowProtectedAppendWritesAll; + return this; + } + /** * Validates the instance. * diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/ImmutabilityPolicyTests.canCRUDImmutabilityPolicy.json b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/ImmutabilityPolicyTests.canCRUDImmutabilityPolicy.json index fd13e2aed6029..3fb1796ca92a7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/ImmutabilityPolicyTests.canCRUDImmutabilityPolicy.json +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/ImmutabilityPolicyTests.canCRUDImmutabilityPolicy.json @@ -1,178 +1,178 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg81243?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg30258?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.8.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "461c3fca-ce0b-4479-9a46-871bed29c9e8", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "9931b01e-4315-498e-980d-461fc83d7dc4", "Content-Type" : "application/json" }, "Response" : { "content-length" : "225", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "x-ms-ratelimit-remaining-subscription-writes" : "1191", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "d6c4d004-9efe-420f-98c7-9982a3c09ec3", - "Date" : "Fri, 27 Aug 2021 06:08:57 GMT", + "x-ms-correlation-request-id" : "bcc1ceab-7a03-4500-bf33-7d2ac199ddb3", + "Date" : "Tue, 08 Feb 2022 05:53:27 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210827T060858Z:d6c4d004-9efe-420f-98c7-9982a3c09ec3", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055328Z:bcc1ceab-7a03-4500-bf33-7d2ac199ddb3", "Expires" : "-1", - "x-ms-request-id" : "d6c4d004-9efe-420f-98c7-9982a3c09ec3", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243\",\"name\":\"javacsmrg81243\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "bcc1ceab-7a03-4500-bf33-7d2ac199ddb3", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258\",\"name\":\"javacsmrg30258\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.8.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "89f18470-14e1-4c46-8ed0-f12c7c40b099", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "09ff221f-361b-435d-a926-c8a2e3b42d7a", "Content-Type" : "application/json" }, "Response" : { "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "x-ms-ratelimit-remaining-subscription-writes" : "1189", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "e62906d4-befd-4791-9a6b-ce57bbf24b66", - "Date" : "Fri, 27 Aug 2021 06:09:05 GMT", + "x-ms-correlation-request-id" : "b2205154-c212-4e98-8c03-e5127253f147", + "Date" : "Tue, 08 Feb 2022 05:53:32 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210827T060906Z:e62906d4-befd-4791-9a6b-ce57bbf24b66", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055332Z:b2205154-c212-4e98-8c03-e5127253f147", "Expires" : "-1", - "x-ms-request-id" : "ef503c9c-8da8-4082-86d6-95af2836461d", + "x-ms-request-id" : "dc29cca1-460c-4b76-aef4-0d2da6977e01", "Body" : "", - "x-ms-client-request-id" : "89f18470-14e1-4c46-8ed0-f12c7c40b099", + "x-ms-client-request-id" : "09ff221f-361b-435d-a926-c8a2e3b42d7a", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ef503c9c-8da8-4082-86d6-95af2836461d?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/dc29cca1-460c-4b76-aef4-0d2da6977e01?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ef503c9c-8da8-4082-86d6-95af2836461d?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/dc29cca1-460c-4b76-aef4-0d2da6977e01?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "24a3aabf-4fd6-436a-bdf7-1c00ae75db57" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "807fbbf4-9fa0-44cd-acc2-f19faa9cced0" }, "Response" : { - "content-length" : "1790", + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", "StatusCode" : "200", - "x-ms-correlation-request-id" : "b1f0a53f-6471-4f12-9d43-239eadfb5de2", - "Date" : "Fri, 27 Aug 2021 06:09:23 GMT", + "x-ms-correlation-request-id" : "3c3ad64f-c4f0-4ffd-83e2-40601b2eefea", + "Date" : "Tue, 08 Feb 2022 05:53:49 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210827T060924Z:b1f0a53f-6471-4f12-9d43-239eadfb5de2", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055350Z:3c3ad64f-c4f0-4ffd-83e2-40601b2eefea", "Expires" : "-1", - "x-ms-request-id" : "440c9b99-8ee6-419f-8fc9-966b78a85ac9", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356\",\"name\":\"javacsmsa91356\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2021-08-27T06:09:05.0022854Z\",\"key2\":\"2021-08-27T06:09:05.0022854Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-08-27T06:09:05.0022854Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-08-27T06:09:05.0022854Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-08-27T06:09:04.8929340Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa91356.dfs.core.windows.net/\",\"web\":\"https://javacsmsa91356.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa91356.blob.core.windows.net/\",\"queue\":\"https://javacsmsa91356.queue.core.windows.net/\",\"table\":\"https://javacsmsa91356.table.core.windows.net/\",\"file\":\"https://javacsmsa91356.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa91356-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa91356-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa91356-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa91356-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa91356-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "24a3aabf-4fd6-436a-bdf7-1c00ae75db57", + "x-ms-request-id" : "6c31ddc5-b810-4922-bbe5-f944b41641e8", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716\",\"name\":\"javacsmsa14716\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:31.5571958Z\",\"key2\":\"2022-02-08T05:53:31.5571958Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:31.5571958Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:31.5571958Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:31.4322119Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa14716.dfs.core.windows.net/\",\"web\":\"https://javacsmsa14716.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa14716.blob.core.windows.net/\",\"queue\":\"https://javacsmsa14716.queue.core.windows.net/\",\"table\":\"https://javacsmsa14716.table.core.windows.net/\",\"file\":\"https://javacsmsa14716.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa14716-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa14716-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa14716-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa14716-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa14716-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "807fbbf4-9fa0-44cd-acc2-f19faa9cced0", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.8.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "298fb4f5-e73d-47bb-a460-0453f9595e27", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "dcf1c1fa-c319-498d-9a99-9eb058fed55f", "Content-Type" : "application/json" }, "Response" : { - "content-length" : "1790", + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "a72b7059-34fc-4568-a532-b4343b535aea", - "Date" : "Fri, 27 Aug 2021 06:09:24 GMT", + "x-ms-correlation-request-id" : "b3d798b4-e3b9-449f-af17-dc63ecf97be3", + "Date" : "Tue, 08 Feb 2022 05:54:11 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210827T060925Z:a72b7059-34fc-4568-a532-b4343b535aea", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055412Z:b3d798b4-e3b9-449f-af17-dc63ecf97be3", "Expires" : "-1", - "x-ms-request-id" : "21ade8d4-2c29-414e-b921-ef0541f4cdd3", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356\",\"name\":\"javacsmsa91356\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2021-08-27T06:09:05.0022854Z\",\"key2\":\"2021-08-27T06:09:05.0022854Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-08-27T06:09:05.0022854Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-08-27T06:09:05.0022854Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-08-27T06:09:04.8929340Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa91356.dfs.core.windows.net/\",\"web\":\"https://javacsmsa91356.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa91356.blob.core.windows.net/\",\"queue\":\"https://javacsmsa91356.queue.core.windows.net/\",\"table\":\"https://javacsmsa91356.table.core.windows.net/\",\"file\":\"https://javacsmsa91356.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa91356-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa91356-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa91356-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa91356-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa91356-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "298fb4f5-e73d-47bb-a460-0453f9595e27", + "x-ms-request-id" : "904089ae-6890-428b-a9f9-ffd1c84a526e", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716\",\"name\":\"javacsmsa14716\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:31.5571958Z\",\"key2\":\"2022-02-08T05:53:31.5571958Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:31.5571958Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:31.5571958Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:31.4322119Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa14716.dfs.core.windows.net/\",\"web\":\"https://javacsmsa14716.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa14716.blob.core.windows.net/\",\"queue\":\"https://javacsmsa14716.queue.core.windows.net/\",\"table\":\"https://javacsmsa14716.table.core.windows.net/\",\"file\":\"https://javacsmsa14716.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa14716-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa14716-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa14716-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa14716-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa14716-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "dcf1c1fa-c319-498d-9a99-9eb058fed55f", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.8.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "26c38378-7314-4dff-824f-cf066cab8321", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "4b2e8904-2740-4653-a064-1bf59378d338", "Content-Type" : "application/json" }, "Response" : { "content-length" : "408", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "b4c0c107-9ca5-40bf-948a-5119706f2b92", - "Date" : "Fri, 27 Aug 2021 06:09:25 GMT", + "x-ms-correlation-request-id" : "dcadbedb-19cf-4f52-b7f0-89e65c9cae1f", + "Date" : "Tue, 08 Feb 2022 05:54:12 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "\"0x8D9692138CA2B94\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210827T060925Z:b4c0c107-9ca5-40bf-948a-5119706f2b92", + "ETag" : "\"0x8D9EAC76F295555\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055413Z:dcadbedb-19cf-4f52-b7f0-89e65c9cae1f", "Expires" : "-1", - "x-ms-request-id" : "74dbab49-140b-4fa8-beee-f876ddf5e30c", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container\",\"name\":\"container\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers\",\"properties\":{\"deleted\":false,\"remainingRetentionDays\":0,\"publicAccess\":\"None\",\"hasImmutabilityPolicy\":false,\"hasLegalHold\":false}}", - "x-ms-client-request-id" : "26c38378-7314-4dff-824f-cf066cab8321", + "x-ms-request-id" : "57baa95f-20c8-4343-a1b0-6713f08b90c7", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container\",\"name\":\"container\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers\",\"properties\":{\"deleted\":false,\"remainingRetentionDays\":0,\"publicAccess\":\"None\",\"hasImmutabilityPolicy\":false,\"hasLegalHold\":false}}", + "x-ms-client-request-id" : "4b2e8904-2740-4653-a064-1bf59378d338", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.8.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "fdf95198-454b-47d9-b4cb-0e5e0e4a07b5", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "45d538be-c9ab-4d1a-8174-a6cdb75b05e7", "Content-Type" : "application/json" }, "Response" : { "content-length" : "430", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "x-ms-ratelimit-remaining-subscription-writes" : "1188", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "16dbe404-5a31-4e6d-bd3c-a34463393ff1", - "Date" : "Fri, 27 Aug 2021 06:09:25 GMT", + "x-ms-correlation-request-id" : "a8740739-6e46-4261-82df-a8d0d6f16377", + "Date" : "Tue, 08 Feb 2022 05:54:13 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "\"8d96921391608e9\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210827T060926Z:16dbe404-5a31-4e6d-bd3c-a34463393ff1", + "ETag" : "\"8d9eac76fd5087a\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055414Z:a8740739-6e46-4261-82df-a8d0d6f16377", "Expires" : "-1", - "x-ms-request-id" : "cdca0698-2842-4732-8703-eb1cef51ea7c", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d96921391608e9\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":7,\"state\":\"Unlocked\"}}", - "x-ms-client-request-id" : "fdf95198-454b-47d9-b4cb-0e5e0e4a07b5", + "x-ms-request-id" : "890033ff-203f-476d-a408-8ffccf3fe095", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d9eac76fd5087a\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":7,\"state\":\"Unlocked\"}}", + "x-ms-client-request-id" : "45d538be-c9ab-4d1a-8174-a6cdb75b05e7", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.8.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "304149c2-2314-4619-8249-5f0900dc15d0", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "2a229921-aee6-41a0-8bd0-7402bec4e0e8", "Content-Type" : "application/json" }, "Response" : { @@ -181,27 +181,27 @@ "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "200", - "x-ms-correlation-request-id" : "69c56f4c-9625-4cfd-af79-8b6945042003", - "Date" : "Fri, 27 Aug 2021 06:09:25 GMT", + "x-ms-correlation-request-id" : "d3850563-ee0c-4a33-9553-7c6197c0fb50", + "Date" : "Tue, 08 Feb 2022 05:54:14 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "\"8d96921391608e9\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210827T060926Z:69c56f4c-9625-4cfd-af79-8b6945042003", + "ETag" : "\"8d9eac76fd5087a\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055415Z:d3850563-ee0c-4a33-9553-7c6197c0fb50", "Expires" : "-1", - "x-ms-request-id" : "24260137-5f61-46f6-a396-40556046c265", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d96921391608e9\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":7,\"state\":\"Unlocked\"}}", - "x-ms-client-request-id" : "304149c2-2314-4619-8249-5f0900dc15d0", + "x-ms-request-id" : "543960ab-e5a3-48b3-9ee4-228403970ef0", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d9eac76fd5087a\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":7,\"state\":\"Unlocked\"}}", + "x-ms-client-request-id" : "2a229921-aee6-41a0-8bd0-7402bec4e0e8", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.8.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "3127a22e-b420-46d0-b0d5-7c0649904793", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "0f170d93-a7bf-4cbe-a33f-84fac220b1ab", "Content-Type" : "application/json" }, "Response" : { @@ -210,27 +210,27 @@ "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "5ac35bf4-ea64-4f64-ad89-abe7e02c21e8", - "Date" : "Fri, 27 Aug 2021 06:09:26 GMT", + "x-ms-correlation-request-id" : "d3620404-9b1e-4c13-9e4f-534d1cbe085f", + "Date" : "Tue, 08 Feb 2022 05:54:15 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "\"8d96921391608e9\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210827T060927Z:5ac35bf4-ea64-4f64-ad89-abe7e02c21e8", + "ETag" : "\"8d9eac76fd5087a\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055416Z:d3620404-9b1e-4c13-9e4f-534d1cbe085f", "Expires" : "-1", - "x-ms-request-id" : "1b745f0e-8f59-4f73-bca0-53a68a404872", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d96921391608e9\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":7,\"state\":\"Unlocked\"}}", - "x-ms-client-request-id" : "3127a22e-b420-46d0-b0d5-7c0649904793", + "x-ms-request-id" : "83c6f8ac-2ad7-4d28-98d4-1b0b32420aa0", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d9eac76fd5087a\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":7,\"state\":\"Unlocked\"}}", + "x-ms-client-request-id" : "0f170d93-a7bf-4cbe-a33f-84fac220b1ab", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.8.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "5dcf5938-8f41-4a5e-a879-9d029faea8f8", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "9ca0ba89-f3a6-4bc1-a838-dcbb7fd4580e", "Content-Type" : "application/json" }, "Response" : { @@ -241,83 +241,83 @@ "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "e89ed949-ef25-40aa-9813-8ed423ca742a", - "Date" : "Fri, 27 Aug 2021 06:09:26 GMT", + "x-ms-correlation-request-id" : "acd14df9-50f2-4483-bfa4-00eae764c0de", + "Date" : "Tue, 08 Feb 2022 05:54:16 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "\"8d9692139e7d6b8\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210827T060927Z:e89ed949-ef25-40aa-9813-8ed423ca742a", + "ETag" : "\"8d9eac770e999be\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055416Z:acd14df9-50f2-4483-bfa4-00eae764c0de", "Expires" : "-1", - "x-ms-request-id" : "28981031-a16a-4842-bd70-2e643b8e6f24", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d9692139e7d6b8\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":14,\"state\":\"Unlocked\"}}", - "x-ms-client-request-id" : "5dcf5938-8f41-4a5e-a879-9d029faea8f8", + "x-ms-request-id" : "624ea03a-dbc9-4e71-97b3-5fba9c665978", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d9eac770e999be\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":14,\"state\":\"Unlocked\"}}", + "x-ms-client-request-id" : "9ca0ba89-f3a6-4bc1-a838-dcbb7fd4580e", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.8.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "faffcdcf-8769-4f38-837f-34d398f2bb8c", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "21aef677-a554-4fe6-9662-105cdb892dd3", "Content-Type" : "application/json" }, "Response" : { "content-length" : "429", - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "x-ms-ratelimit-remaining-subscription-deletes" : "14998", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "0d4f23d1-b86b-4d0b-8d30-de192532edff", - "Date" : "Fri, 27 Aug 2021 06:09:27 GMT", + "x-ms-correlation-request-id" : "8ba98f84-82ab-401b-962c-c48c0410640a", + "Date" : "Tue, 08 Feb 2022 05:54:16 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "\"8d969213a2a9874\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210827T060928Z:0d4f23d1-b86b-4d0b-8d30-de192532edff", + "ETag" : "\"8d9eac7712c5b04\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055416Z:8ba98f84-82ab-401b-962c-c48c0410640a", "Expires" : "-1", - "x-ms-request-id" : "d0be8100-924a-413f-b011-81d9aef601c5", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d969213a2a9874\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":0,\"state\":\"Deleted\"}}", - "x-ms-client-request-id" : "faffcdcf-8769-4f38-837f-34d398f2bb8c", + "x-ms-request-id" : "4e06f57e-a8ea-4785-956b-b12fe00faec2", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d9eac7712c5b04\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":0,\"state\":\"Deleted\"}}", + "x-ms-client-request-id" : "21aef677-a554-4fe6-9662-105cdb892dd3", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.8.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "7cfab71a-3b05-423d-870d-f9a2d09f7009", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "6e3cd2c8-4e32-498e-83fc-bc8bf858364a", "Content-Type" : "application/json" }, "Response" : { "content-length" : "430", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1195", + "x-ms-ratelimit-remaining-subscription-writes" : "1194", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "554af642-eb57-4b28-8e2c-cf0ef0d0b96f", - "Date" : "Fri, 27 Aug 2021 06:09:28 GMT", + "x-ms-correlation-request-id" : "cb8c399f-8c51-44af-bd34-475b561775da", + "Date" : "Tue, 08 Feb 2022 05:54:16 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "\"8d969213a938091\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210827T060928Z:554af642-eb57-4b28-8e2c-cf0ef0d0b96f", + "ETag" : "\"8d9eac771717f24\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055417Z:cb8c399f-8c51-44af-bd34-475b561775da", "Expires" : "-1", - "x-ms-request-id" : "7fb70241-a0e2-4ff4-8247-bcecaba29675", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d969213a938091\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":7,\"state\":\"Unlocked\"}}", - "x-ms-client-request-id" : "7cfab71a-3b05-423d-870d-f9a2d09f7009", + "x-ms-request-id" : "dba4c171-6a54-4734-bf03-f13f761df52d", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d9eac771717f24\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":7,\"state\":\"Unlocked\"}}", + "x-ms-client-request-id" : "6e3cd2c8-4e32-498e-83fc-bc8bf858364a", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default/lock?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default/lock?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.8.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "aba9c5c0-c509-442d-90fb-900794d74eab", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "ccc89d66-14ed-4694-b873-81d8ebfe9253", "Content-Type" : "application/json" }, "Response" : { @@ -328,73 +328,73 @@ "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "7007ce22-7170-4bbe-bc02-b4d96ee486f6", - "Date" : "Fri, 27 Aug 2021 06:09:28 GMT", + "x-ms-correlation-request-id" : "bdaafe34-ba33-4b32-ba86-a0ed288d465c", + "Date" : "Tue, 08 Feb 2022 05:54:17 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "\"8d969213ad3e082\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210827T060929Z:7007ce22-7170-4bbe-bc02-b4d96ee486f6", + "ETag" : "\"8d9eac771b44036\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055417Z:bdaafe34-ba33-4b32-ba86-a0ed288d465c", "Expires" : "-1", - "x-ms-request-id" : "f41103ae-9932-4efb-a6b0-932c6a3a9e2e", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d969213ad3e082\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":7,\"state\":\"Locked\"}}", - "x-ms-client-request-id" : "aba9c5c0-c509-442d-90fb-900794d74eab", + "x-ms-request-id" : "d9de70c8-9c60-4cde-b7ed-0b6decf940f0", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d9eac771b44036\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":7,\"state\":\"Locked\"}}", + "x-ms-client-request-id" : "ccc89d66-14ed-4694-b873-81d8ebfe9253", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default/extend?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default/extend?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.8.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "274a30f7-5c1f-4da3-95f1-bdd814d2e268", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "17d20d00-780e-4ac7-9cd1-b615ff6d4398", "Content-Type" : "application/json" }, "Response" : { "content-length" : "429", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "4a0dac57-6ab1-4ada-804b-56fa3704934c", - "Date" : "Fri, 27 Aug 2021 06:09:29 GMT", + "x-ms-correlation-request-id" : "a202d543-5557-49ef-a266-89380c3763f4", + "Date" : "Tue, 08 Feb 2022 05:54:17 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "\"8d969213b3804e0\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210827T060929Z:4a0dac57-6ab1-4ada-804b-56fa3704934c", + "ETag" : "\"8d9eac771f49e94\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055418Z:a202d543-5557-49ef-a266-89380c3763f4", "Expires" : "-1", - "x-ms-request-id" : "e480bd91-01e9-4fce-9a7a-f463698c3149", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg81243/providers/Microsoft.Storage/storageAccounts/javacsmsa91356/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d969213b3804e0\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":14,\"state\":\"Locked\"}}", - "x-ms-client-request-id" : "274a30f7-5c1f-4da3-95f1-bdd814d2e268", + "x-ms-request-id" : "2469831d-2b8c-48d5-a2d6-1fa91a2f4a7d", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg30258/providers/Microsoft.Storage/storageAccounts/javacsmsa14716/blobServices/default/containers/container/immutabilityPolicies/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies\",\"etag\":\"\\\"8d9eac771f49e94\\\"\",\"properties\":{\"immutabilityPeriodSinceCreationInDays\":14,\"state\":\"Locked\"}}", + "x-ms-client-request-id" : "17d20d00-780e-4ac7-9cd1-b615ff6d4398", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg81243?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg30258?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.8.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "ebcb455d-0c98-4641-99ce-39371e949cfe", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "b11ae656-6afb-44a9-bf9f-1628b6ca7831", "Content-Type" : "application/json" }, "Response" : { "content-length" : "0", - "x-ms-ratelimit-remaining-subscription-deletes" : "14998", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "c76842e7-52d1-4e81-8e4b-3090b9c54d3b", - "Date" : "Fri, 27 Aug 2021 06:09:33 GMT", + "x-ms-correlation-request-id" : "0d986371-557d-42fa-b9b4-015c8762f6b1", + "Date" : "Tue, 08 Feb 2022 05:54:20 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210827T060934Z:c76842e7-52d1-4e81-8e4b-3090b9c54d3b", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055421Z:0d986371-557d-42fa-b9b4-015c8762f6b1", "Expires" : "-1", - "x-ms-request-id" : "c76842e7-52d1-4e81-8e4b-3090b9c54d3b", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc4MTI0My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" + "x-ms-request-id" : "0d986371-557d-42fa-b9b4-015c8762f6b1", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMDI1OC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null } ], - "variables" : [ "javacsmrg81243", "javacsmsa91356" ] + "variables" : [ "javacsmrg30258", "javacsmsa14716" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountNetworkRuleTests.canConfigureNetworkRulesWithCreate.json b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountNetworkRuleTests.canConfigureNetworkRulesWithCreate.json index eaa1c6a025d53..566a0b4ebbaa6 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountNetworkRuleTests.canConfigureNetworkRulesWithCreate.json +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountNetworkRuleTests.canConfigureNetworkRulesWithCreate.json @@ -1,586 +1,634 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg56816?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg38647?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "fe78ed07-0e7c-440d-b2d6-e0d966554966", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "1e4a1404-ac94-4c9d-a1f3-aa24fd4c058d", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "225", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1194", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "42ece039-5392-434c-a0c3-7f4650d09c02", - "Date" : "Mon, 22 Feb 2021 06:20:06 GMT", + "x-ms-correlation-request-id" : "c1126f6d-ea5d-4398-8e6e-8f5da5aa24d0", + "Date" : "Tue, 08 Feb 2022 05:53:30 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062006Z:42ece039-5392-434c-a0c3-7f4650d09c02", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055330Z:c1126f6d-ea5d-4398-8e6e-8f5da5aa24d0", "Expires" : "-1", - "Content-Length" : "225", - "x-ms-request-id" : "42ece039-5392-434c-a0c3-7f4650d09c02", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816\",\"name\":\"javacsmrg56816\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "c1126f6d-ea5d-4398-8e6e-8f5da5aa24d0", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647\",\"name\":\"javacsmrg38647\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa53148?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa36983?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "a2a63ac9-d52d-4887-ad64-c4b92a088503", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "f0394fca-d770-4ac6-90de-efe3563b003c", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1192", + "x-ms-ratelimit-remaining-subscription-writes" : "1193", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "c5cd4a0b-7672-4ba3-b1e4-9edf07f4a617", - "Date" : "Mon, 22 Feb 2021 06:20:13 GMT", + "x-ms-correlation-request-id" : "f21a8392-08c4-4561-adb6-a66705727920", + "Date" : "Tue, 08 Feb 2022 05:53:37 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062014Z:c5cd4a0b-7672-4ba3-b1e4-9edf07f4a617", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055338Z:f21a8392-08c4-4561-adb6-a66705727920", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "ed159a5f-1954-4ab9-a328-357536114e56", + "x-ms-request-id" : "69ffeb6e-e867-4c6e-b4a1-c8b5353f5db3", "Body" : "", - "x-ms-client-request-id" : "a2a63ac9-d52d-4887-ad64-c4b92a088503", + "x-ms-client-request-id" : "f0394fca-d770-4ac6-90de-efe3563b003c", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ed159a5f-1954-4ab9-a328-357536114e56?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/69ffeb6e-e867-4c6e-b4a1-c8b5353f5db3?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ed159a5f-1954-4ab9-a328-357536114e56?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/69ffeb6e-e867-4c6e-b4a1-c8b5353f5db3?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "eb395574-f795-4b1c-9974-c089925dee80" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "e4bbd537-1b96-414d-b8c9-99dc7ddfeb85" }, "Response" : { + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", "StatusCode" : "200", - "x-ms-correlation-request-id" : "e810372a-acc0-4526-bc95-2a1adaffe5c2", - "Date" : "Mon, 22 Feb 2021 06:20:31 GMT", + "x-ms-correlation-request-id" : "30e4cb26-8a0a-4b4c-a71b-16d069a2318f", + "Date" : "Tue, 08 Feb 2022 05:53:55 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062032Z:e810372a-acc0-4526-bc95-2a1adaffe5c2", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:30e4cb26-8a0a-4b4c-a71b-16d069a2318f", "Expires" : "-1", - "Content-Length" : "1665", - "x-ms-request-id" : "3f1e4d3e-f487-422b-b77b-fd7798451410", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa53148\",\"name\":\"javacsmsa53148\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:13.5404391Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:13.5404391Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:13.4310383Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa53148.dfs.core.windows.net/\",\"web\":\"https://javacsmsa53148.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa53148.blob.core.windows.net/\",\"queue\":\"https://javacsmsa53148.queue.core.windows.net/\",\"table\":\"https://javacsmsa53148.table.core.windows.net/\",\"file\":\"https://javacsmsa53148.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa53148-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa53148-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa53148-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa53148-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa53148-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "eb395574-f795-4b1c-9974-c089925dee80", + "x-ms-request-id" : "8e281b57-fb5f-4064-8529-9d88fd042da4", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa36983\",\"name\":\"javacsmsa36983\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:37.1040811Z\",\"key2\":\"2022-02-08T05:53:37.1040811Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.1040811Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.1040811Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:36.9634848Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa36983.dfs.core.windows.net/\",\"web\":\"https://javacsmsa36983.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa36983.blob.core.windows.net/\",\"queue\":\"https://javacsmsa36983.queue.core.windows.net/\",\"table\":\"https://javacsmsa36983.table.core.windows.net/\",\"file\":\"https://javacsmsa36983.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa36983-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa36983-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa36983-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa36983-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa36983-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "e4bbd537-1b96-414d-b8c9-99dc7ddfeb85", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa53148?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa36983?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "97bcda0b-26d4-4450-8162-8a3a570bd20b", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "5aedd3d7-ebbf-4164-a3c9-0bc4e8a54fa0", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "751d109a-1ba0-4743-ac33-b20faf46a09d", - "Date" : "Mon, 22 Feb 2021 06:20:32 GMT", + "x-ms-correlation-request-id" : "e67a0488-338f-4a65-8422-987e8a198ded", + "Date" : "Tue, 08 Feb 2022 05:53:56 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062032Z:751d109a-1ba0-4743-ac33-b20faf46a09d", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:e67a0488-338f-4a65-8422-987e8a198ded", "Expires" : "-1", - "Content-Length" : "1665", - "x-ms-request-id" : "c2fbd28a-3efa-4760-adc5-d0e3d2e4c80e", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa53148\",\"name\":\"javacsmsa53148\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:13.5404391Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:13.5404391Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:13.4310383Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa53148.dfs.core.windows.net/\",\"web\":\"https://javacsmsa53148.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa53148.blob.core.windows.net/\",\"queue\":\"https://javacsmsa53148.queue.core.windows.net/\",\"table\":\"https://javacsmsa53148.table.core.windows.net/\",\"file\":\"https://javacsmsa53148.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa53148-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa53148-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa53148-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa53148-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa53148-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "97bcda0b-26d4-4450-8162-8a3a570bd20b", + "x-ms-request-id" : "ce5cb08a-a7d7-4d6b-8929-e00e59bd8bed", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa36983\",\"name\":\"javacsmsa36983\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:37.1040811Z\",\"key2\":\"2022-02-08T05:53:37.1040811Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.1040811Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.1040811Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:36.9634848Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa36983.dfs.core.windows.net/\",\"web\":\"https://javacsmsa36983.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa36983.blob.core.windows.net/\",\"queue\":\"https://javacsmsa36983.queue.core.windows.net/\",\"table\":\"https://javacsmsa36983.table.core.windows.net/\",\"file\":\"https://javacsmsa36983.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa36983-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa36983-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa36983-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa36983-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa36983-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "5aedd3d7-ebbf-4164-a3c9-0bc4e8a54fa0", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg56816?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg38647?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "789d8623-6e8c-473f-8b0e-fedd050f61b6", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "a6ebc227-f1ad-4ac9-b4af-c2ac139741c2", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "225", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "200", - "x-ms-correlation-request-id" : "79e5da7f-8105-4238-b0e9-8567a2167e2b", - "Date" : "Mon, 22 Feb 2021 06:20:32 GMT", + "x-ms-correlation-request-id" : "1a528601-ee5f-4720-95ff-0b9d2b7ea591", + "Date" : "Tue, 08 Feb 2022 05:53:56 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062032Z:79e5da7f-8105-4238-b0e9-8567a2167e2b", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:1a528601-ee5f-4720-95ff-0b9d2b7ea591", "Expires" : "-1", - "Content-Length" : "225", - "x-ms-request-id" : "79e5da7f-8105-4238-b0e9-8567a2167e2b", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816\",\"name\":\"javacsmrg56816\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "1a528601-ee5f-4720-95ff-0b9d2b7ea591", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647\",\"name\":\"javacsmrg38647\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa20178?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa69064?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "2cbd40d5-1eea-4540-8c8b-e069afe8b0c3", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "0041b221-3e0e-4964-a3dc-7060c42f62b8", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "a8fcee38-54fe-4243-8bad-b6a2503630d2", - "Date" : "Mon, 22 Feb 2021 06:20:40 GMT", + "x-ms-correlation-request-id" : "dd2112e0-487a-4169-9da3-f47a0bdb454b", + "Date" : "Tue, 08 Feb 2022 05:54:00 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062040Z:a8fcee38-54fe-4243-8bad-b6a2503630d2", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055401Z:dd2112e0-487a-4169-9da3-f47a0bdb454b", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "db20ada6-9550-42d1-9942-91917bc16b9b", + "x-ms-request-id" : "e5356bd1-8eb0-4d28-b76a-f2f6d05b4d8c", "Body" : "", - "x-ms-client-request-id" : "2cbd40d5-1eea-4540-8c8b-e069afe8b0c3", + "x-ms-client-request-id" : "0041b221-3e0e-4964-a3dc-7060c42f62b8", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/db20ada6-9550-42d1-9942-91917bc16b9b?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/e5356bd1-8eb0-4d28-b76a-f2f6d05b4d8c?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/db20ada6-9550-42d1-9942-91917bc16b9b?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/e5356bd1-8eb0-4d28-b76a-f2f6d05b4d8c?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "c40e29f1-d6b4-4772-ba41-3f8de178cb9c" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "8c7a968a-afe9-454a-a1e2-088bbe02e81b" }, "Response" : { + "content-length" : "1847", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", "StatusCode" : "200", - "x-ms-correlation-request-id" : "8a7daffb-099f-4e1f-8edc-01184b21f659", - "Date" : "Mon, 22 Feb 2021 06:20:58 GMT", + "x-ms-correlation-request-id" : "cf5e6c6f-fa1b-41b2-8416-76249b62a744", + "Date" : "Tue, 08 Feb 2022 05:54:17 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062058Z:8a7daffb-099f-4e1f-8edc-01184b21f659", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055418Z:cf5e6c6f-fa1b-41b2-8416-76249b62a744", "Expires" : "-1", - "Content-Length" : "1693", - "x-ms-request-id" : "c0d78869-6488-49bd-a5d0-0d01f74e9b91", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa20178\",\"name\":\"javacsmsa20178\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"None\",\"virtualNetworkRules\":[],\"ipRules\":[{\"value\":\"23.20.0.0\",\"action\":\"Allow\"}],\"defaultAction\":\"Deny\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:40.2890249Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:40.2890249Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:40.1797048Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa20178.dfs.core.windows.net/\",\"web\":\"https://javacsmsa20178.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa20178.blob.core.windows.net/\",\"queue\":\"https://javacsmsa20178.queue.core.windows.net/\",\"table\":\"https://javacsmsa20178.table.core.windows.net/\",\"file\":\"https://javacsmsa20178.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa20178-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa20178-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa20178-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa20178-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa20178-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "c40e29f1-d6b4-4772-ba41-3f8de178cb9c", + "x-ms-request-id" : "006102ce-c387-4e21-856d-641b54b465d6", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa69064\",\"name\":\"javacsmsa69064\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:59.7915717Z\",\"key2\":\"2022-02-08T05:53:59.7915717Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"None\",\"virtualNetworkRules\":[],\"ipRules\":[{\"value\":\"23.20.0.0\",\"action\":\"Allow\"}],\"defaultAction\":\"Deny\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:59.7915717Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:59.7915717Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:59.6509643Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa69064.dfs.core.windows.net/\",\"web\":\"https://javacsmsa69064.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa69064.blob.core.windows.net/\",\"queue\":\"https://javacsmsa69064.queue.core.windows.net/\",\"table\":\"https://javacsmsa69064.table.core.windows.net/\",\"file\":\"https://javacsmsa69064.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa69064-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa69064-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa69064-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa69064-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa69064-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "8c7a968a-afe9-454a-a1e2-088bbe02e81b", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa20178?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa69064?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "a7961760-95e3-4828-9a30-16e876a9888b", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "fbce8385-3a61-487b-a488-e0ae0c45ee3b", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1847", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "200", - "x-ms-correlation-request-id" : "d51de661-f18e-46b3-abb7-7f52bd76dfa4", - "Date" : "Mon, 22 Feb 2021 06:20:58 GMT", + "x-ms-correlation-request-id" : "a435e8d5-d08b-4aae-bac4-3faf0db68536", + "Date" : "Tue, 08 Feb 2022 05:54:18 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062059Z:d51de661-f18e-46b3-abb7-7f52bd76dfa4", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055419Z:a435e8d5-d08b-4aae-bac4-3faf0db68536", "Expires" : "-1", - "Content-Length" : "1693", - "x-ms-request-id" : "c185a152-77ff-49dd-9df7-ea9d0ef74db1", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa20178\",\"name\":\"javacsmsa20178\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"None\",\"virtualNetworkRules\":[],\"ipRules\":[{\"value\":\"23.20.0.0\",\"action\":\"Allow\"}],\"defaultAction\":\"Deny\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:40.2890249Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:40.2890249Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:40.1797048Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa20178.dfs.core.windows.net/\",\"web\":\"https://javacsmsa20178.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa20178.blob.core.windows.net/\",\"queue\":\"https://javacsmsa20178.queue.core.windows.net/\",\"table\":\"https://javacsmsa20178.table.core.windows.net/\",\"file\":\"https://javacsmsa20178.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa20178-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa20178-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa20178-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa20178-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa20178-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "a7961760-95e3-4828-9a30-16e876a9888b", + "x-ms-request-id" : "29f7dd01-9dd6-43b9-90c6-991f772d9cc3", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa69064\",\"name\":\"javacsmsa69064\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:59.7915717Z\",\"key2\":\"2022-02-08T05:53:59.7915717Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"None\",\"virtualNetworkRules\":[],\"ipRules\":[{\"value\":\"23.20.0.0\",\"action\":\"Allow\"}],\"defaultAction\":\"Deny\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:59.7915717Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:59.7915717Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:59.6509643Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa69064.dfs.core.windows.net/\",\"web\":\"https://javacsmsa69064.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa69064.blob.core.windows.net/\",\"queue\":\"https://javacsmsa69064.queue.core.windows.net/\",\"table\":\"https://javacsmsa69064.table.core.windows.net/\",\"file\":\"https://javacsmsa69064.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa69064-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa69064-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa69064-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa69064-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa69064-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "fbce8385-3a61-487b-a488-e0ae0c45ee3b", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg56816?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg38647?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "03940817-bc96-4a73-852b-452e768ef521", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "e420007d-435a-4ad8-aef3-e5518971d6e2", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "225", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1190", + "x-ms-ratelimit-remaining-subscription-writes" : "1183", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "8b53949f-e366-4ce4-a32f-9784d527f677", - "Date" : "Mon, 22 Feb 2021 06:20:59 GMT", + "x-ms-correlation-request-id" : "42c35231-5cbc-4eeb-8cbd-3facd74a16aa", + "Date" : "Tue, 08 Feb 2022 05:54:19 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062100Z:8b53949f-e366-4ce4-a32f-9784d527f677", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055419Z:42c35231-5cbc-4eeb-8cbd-3facd74a16aa", "Expires" : "-1", - "Content-Length" : "225", - "x-ms-request-id" : "8b53949f-e366-4ce4-a32f-9784d527f677", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816\",\"name\":\"javacsmrg56816\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "42c35231-5cbc-4eeb-8cbd-3facd74a16aa", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647\",\"name\":\"javacsmrg38647\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa71946?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa61694?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "21977caa-db3c-4474-b676-c8eb4f530887", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "345a71f8-474b-4c38-8bde-d0837796ad8a", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1195", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "0eef4959-b08f-4f83-a65e-8b80ea792339", - "Date" : "Mon, 22 Feb 2021 06:21:05 GMT", + "x-ms-correlation-request-id" : "daa46084-7f65-453d-af50-100aa2ac1c17", + "Date" : "Tue, 08 Feb 2022 05:54:23 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062105Z:0eef4959-b08f-4f83-a65e-8b80ea792339", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055424Z:daa46084-7f65-453d-af50-100aa2ac1c17", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "0d3a6e89-0d99-40e6-80e4-b56a996dfe53", + "x-ms-request-id" : "76becda3-43c0-42df-8775-34be2b492949", "Body" : "", - "x-ms-client-request-id" : "21977caa-db3c-4474-b676-c8eb4f530887", + "x-ms-client-request-id" : "345a71f8-474b-4c38-8bde-d0837796ad8a", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/0d3a6e89-0d99-40e6-80e4-b56a996dfe53?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/76becda3-43c0-42df-8775-34be2b492949?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/0d3a6e89-0d99-40e6-80e4-b56a996dfe53?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/76becda3-43c0-42df-8775-34be2b492949?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "5c55416d-8589-48ce-8488-bdae4308297e" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "3620c102-3a4f-4d05-bd6e-53cc3df0ceac" }, "Response" : { + "content-length" : "1857", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "200", - "x-ms-correlation-request-id" : "d980f5ff-251e-49ba-9014-daa7446d5fdb", - "Date" : "Mon, 22 Feb 2021 06:21:23 GMT", + "x-ms-correlation-request-id" : "0e7d8862-8bbc-48f5-b232-4df6a6b68171", + "Date" : "Tue, 08 Feb 2022 05:54:40 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062123Z:d980f5ff-251e-49ba-9014-daa7446d5fdb", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055441Z:0e7d8862-8bbc-48f5-b232-4df6a6b68171", "Expires" : "-1", - "Content-Length" : "1703", - "x-ms-request-id" : "cc231a79-eab4-4265-ae96-a625ce33ac3d", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa71946\",\"name\":\"javacsmsa71946\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[{\"value\":\"23.20.0.0\",\"action\":\"Allow\"}],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:21:05.3211489Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:21:05.3211489Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:21:05.2118002Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa71946.dfs.core.windows.net/\",\"web\":\"https://javacsmsa71946.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa71946.blob.core.windows.net/\",\"queue\":\"https://javacsmsa71946.queue.core.windows.net/\",\"table\":\"https://javacsmsa71946.table.core.windows.net/\",\"file\":\"https://javacsmsa71946.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa71946-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa71946-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa71946-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa71946-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa71946-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "5c55416d-8589-48ce-8488-bdae4308297e", + "x-ms-request-id" : "06fbf0cd-0478-481f-9da9-5e11795c5cac", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa61694\",\"name\":\"javacsmsa61694\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:54:22.2446979Z\",\"key2\":\"2022-02-08T05:54:22.2446979Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[{\"value\":\"23.20.0.0\",\"action\":\"Allow\"}],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:54:22.2446979Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:54:22.2446979Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:54:22.1040495Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa61694.dfs.core.windows.net/\",\"web\":\"https://javacsmsa61694.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa61694.blob.core.windows.net/\",\"queue\":\"https://javacsmsa61694.queue.core.windows.net/\",\"table\":\"https://javacsmsa61694.table.core.windows.net/\",\"file\":\"https://javacsmsa61694.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa61694-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa61694-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa61694-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa61694-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa61694-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "3620c102-3a4f-4d05-bd6e-53cc3df0ceac", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa71946?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa61694?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "c3f1b1ff-f06d-4092-8bbc-60bcf52020ca", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "7256e760-e7be-42ee-bd75-44c9818b5588", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1857", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", "StatusCode" : "200", - "x-ms-correlation-request-id" : "ad089925-ca20-45d8-8185-2562429356f4", - "Date" : "Mon, 22 Feb 2021 06:21:22 GMT", + "x-ms-correlation-request-id" : "1940b1ad-4c2a-4def-97f4-83d48801efa3", + "Date" : "Tue, 08 Feb 2022 05:54:40 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062123Z:ad089925-ca20-45d8-8185-2562429356f4", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055441Z:1940b1ad-4c2a-4def-97f4-83d48801efa3", "Expires" : "-1", - "Content-Length" : "1703", - "x-ms-request-id" : "288a741d-91f9-4d07-9e02-109b20630ad5", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa71946\",\"name\":\"javacsmsa71946\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[{\"value\":\"23.20.0.0\",\"action\":\"Allow\"}],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:21:05.3211489Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:21:05.3211489Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:21:05.2118002Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa71946.dfs.core.windows.net/\",\"web\":\"https://javacsmsa71946.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa71946.blob.core.windows.net/\",\"queue\":\"https://javacsmsa71946.queue.core.windows.net/\",\"table\":\"https://javacsmsa71946.table.core.windows.net/\",\"file\":\"https://javacsmsa71946.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa71946-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa71946-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa71946-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa71946-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa71946-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "c3f1b1ff-f06d-4092-8bbc-60bcf52020ca", + "x-ms-request-id" : "9d71dac2-699f-459a-8f70-2653c937fe55", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa61694\",\"name\":\"javacsmsa61694\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:54:22.2446979Z\",\"key2\":\"2022-02-08T05:54:22.2446979Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[{\"value\":\"23.20.0.0\",\"action\":\"Allow\"}],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:54:22.2446979Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:54:22.2446979Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:54:22.1040495Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa61694.dfs.core.windows.net/\",\"web\":\"https://javacsmsa61694.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa61694.blob.core.windows.net/\",\"queue\":\"https://javacsmsa61694.queue.core.windows.net/\",\"table\":\"https://javacsmsa61694.table.core.windows.net/\",\"file\":\"https://javacsmsa61694.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa61694-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa61694-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa61694-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa61694-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa61694-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "7256e760-e7be-42ee-bd75-44c9818b5588", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa26082?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa54273?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "9ec16ea0-3311-4c98-b8f6-1e96c04766b6", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "36dea37a-8b4b-41e7-913d-05c1e699618a", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1189", + "x-ms-ratelimit-remaining-subscription-writes" : "1195", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "62099a88-aba1-4788-bff1-6ef21be2b6d2", - "Date" : "Mon, 22 Feb 2021 06:21:28 GMT", + "x-ms-correlation-request-id" : "a8abf8db-87eb-472d-a06e-73d6b4a116b0", + "Date" : "Tue, 08 Feb 2022 05:54:45 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062129Z:62099a88-aba1-4788-bff1-6ef21be2b6d2", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055446Z:a8abf8db-87eb-472d-a06e-73d6b4a116b0", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "d90ccc39-6dd9-4fa0-9de2-b7eb50e76653", + "x-ms-request-id" : "7ea602f6-692e-4a93-a3d8-90788fc19b48", "Body" : "", - "x-ms-client-request-id" : "9ec16ea0-3311-4c98-b8f6-1e96c04766b6", + "x-ms-client-request-id" : "36dea37a-8b4b-41e7-913d-05c1e699618a", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/d90ccc39-6dd9-4fa0-9de2-b7eb50e76653?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/7ea602f6-692e-4a93-a3d8-90788fc19b48?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/d90ccc39-6dd9-4fa0-9de2-b7eb50e76653?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/7ea602f6-692e-4a93-a3d8-90788fc19b48?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "5f50b573-0262-4d51-98c0-47d6171a6568" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "7cedfce3-eedc-4410-b432-ed80447bc9d0" }, "Response" : { + "content-length" : "1821", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", "StatusCode" : "200", - "x-ms-correlation-request-id" : "6d9e97f0-d3f4-4fd9-8aec-e6a4852ea373", - "Date" : "Mon, 22 Feb 2021 06:21:46 GMT", + "x-ms-correlation-request-id" : "ef9488be-7c12-4fdc-83a6-eeedc6ee89bc", + "Date" : "Tue, 08 Feb 2022 05:55:03 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062146Z:6d9e97f0-d3f4-4fd9-8aec-e6a4852ea373", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055503Z:ef9488be-7c12-4fdc-83a6-eeedc6ee89bc", "Expires" : "-1", - "Content-Length" : "1667", - "x-ms-request-id" : "bab9b0a1-013d-4cb9-ba6e-88487e817cd4", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa26082\",\"name\":\"javacsmsa26082\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"Logging, Metrics\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Deny\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:21:28.7127901Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:21:28.7127901Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:21:28.6034145Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa26082.dfs.core.windows.net/\",\"web\":\"https://javacsmsa26082.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa26082.blob.core.windows.net/\",\"queue\":\"https://javacsmsa26082.queue.core.windows.net/\",\"table\":\"https://javacsmsa26082.table.core.windows.net/\",\"file\":\"https://javacsmsa26082.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa26082-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa26082-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa26082-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa26082-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa26082-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "5f50b573-0262-4d51-98c0-47d6171a6568", + "x-ms-request-id" : "ec0e5a33-6c5e-4852-b398-d4f3a8b360e9", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa54273\",\"name\":\"javacsmsa54273\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:54:44.5884182Z\",\"key2\":\"2022-02-08T05:54:44.5884182Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"Logging, Metrics\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Deny\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:54:44.5884182Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:54:44.5884182Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:54:44.4477647Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa54273.dfs.core.windows.net/\",\"web\":\"https://javacsmsa54273.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa54273.blob.core.windows.net/\",\"queue\":\"https://javacsmsa54273.queue.core.windows.net/\",\"table\":\"https://javacsmsa54273.table.core.windows.net/\",\"file\":\"https://javacsmsa54273.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa54273-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa54273-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa54273-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa54273-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa54273-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "7cedfce3-eedc-4410-b432-ed80447bc9d0", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa26082?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa54273?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "8b81ef39-f07d-4eab-b8ac-e4949784242a", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "8da68913-8573-4414-a67a-65106705b552", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1821", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "ca1e4630-4e98-4071-ac14-3a7f5a897289", - "Date" : "Mon, 22 Feb 2021 06:21:46 GMT", + "x-ms-correlation-request-id" : "d428c226-95d5-430c-9962-4d14ca53b203", + "Date" : "Tue, 08 Feb 2022 05:55:02 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062146Z:ca1e4630-4e98-4071-ac14-3a7f5a897289", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055503Z:d428c226-95d5-430c-9962-4d14ca53b203", "Expires" : "-1", - "Content-Length" : "1667", - "x-ms-request-id" : "f3aedf58-9346-4393-84c4-d2cefda62a0e", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg56816/providers/Microsoft.Storage/storageAccounts/javacsmsa26082\",\"name\":\"javacsmsa26082\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"Logging, Metrics\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Deny\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:21:28.7127901Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:21:28.7127901Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:21:28.6034145Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa26082.dfs.core.windows.net/\",\"web\":\"https://javacsmsa26082.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa26082.blob.core.windows.net/\",\"queue\":\"https://javacsmsa26082.queue.core.windows.net/\",\"table\":\"https://javacsmsa26082.table.core.windows.net/\",\"file\":\"https://javacsmsa26082.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa26082-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa26082-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa26082-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa26082-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa26082-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "8b81ef39-f07d-4eab-b8ac-e4949784242a", + "x-ms-request-id" : "d4d6fa5d-376f-4306-9603-85edff459864", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg38647/providers/Microsoft.Storage/storageAccounts/javacsmsa54273\",\"name\":\"javacsmsa54273\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:54:44.5884182Z\",\"key2\":\"2022-02-08T05:54:44.5884182Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"Logging, Metrics\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Deny\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:54:44.5884182Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:54:44.5884182Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:54:44.4477647Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa54273.dfs.core.windows.net/\",\"web\":\"https://javacsmsa54273.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa54273.blob.core.windows.net/\",\"queue\":\"https://javacsmsa54273.queue.core.windows.net/\",\"table\":\"https://javacsmsa54273.table.core.windows.net/\",\"file\":\"https://javacsmsa54273.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa54273-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa54273-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa54273-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa54273-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa54273-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "8da68913-8573-4414-a67a-65106705b552", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg56816?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg38647?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "907a1449-7e7e-4331-b693-3118230acf78", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "b172aa49-2c0c-4852-819a-5f65d5e9c8a3", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "x-ms-ratelimit-remaining-subscription-deletes" : "14997", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "8091ce2d-8d01-4d61-8108-8d4e7ad766aa", - "Date" : "Mon, 22 Feb 2021 06:21:49 GMT", + "x-ms-correlation-request-id" : "cfc456f2-0026-476b-9459-74161562f646", + "Date" : "Tue, 08 Feb 2022 05:55:06 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062150Z:8091ce2d-8d01-4d61-8108-8d4e7ad766aa", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055506Z:cfc456f2-0026-476b-9459-74161562f646", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "8091ce2d-8d01-4d61-8108-8d4e7ad766aa", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1NjgxNi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "cfc456f2-0026-476b-9459-74161562f646", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1NjgxNi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "2a40b875-4af7-4471-a823-0be037ee3199" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "07165096-c2d4-4280-8746-80763b1c9c9b" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", "StatusCode" : "202", - "x-ms-correlation-request-id" : "97351830-69ee-4f07-abae-d76cfb306beb", - "Date" : "Mon, 22 Feb 2021 06:22:05 GMT", + "x-ms-correlation-request-id" : "f3a9717e-f6ac-41e8-a07b-1a45192bf05c", + "Date" : "Tue, 08 Feb 2022 05:55:20 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062206Z:97351830-69ee-4f07-abae-d76cfb306beb", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055521Z:f3a9717e-f6ac-41e8-a07b-1a45192bf05c", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "97351830-69ee-4f07-abae-d76cfb306beb", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1NjgxNi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "f3a9717e-f6ac-41e8-a07b-1a45192bf05c", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1NjgxNi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "52933a27-954a-4475-9fa3-ef589b856b6b" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "302aea14-714d-4caf-9cf0-fe9a4b1ce84b" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "x-ms-ratelimit-remaining-subscription-reads" : "11966", "StatusCode" : "202", - "x-ms-correlation-request-id" : "7ad86baa-e441-419a-a13b-926271dea276", - "Date" : "Mon, 22 Feb 2021 06:22:20 GMT", + "x-ms-correlation-request-id" : "457a4d27-4e4a-47b3-8d6d-7fbb17cc12b9", + "Date" : "Tue, 08 Feb 2022 05:55:36 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062221Z:7ad86baa-e441-419a-a13b-926271dea276", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055537Z:457a4d27-4e4a-47b3-8d6d-7fbb17cc12b9", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "7ad86baa-e441-419a-a13b-926271dea276", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1NjgxNi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "457a4d27-4e4a-47b3-8d6d-7fbb17cc12b9", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1NjgxNi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "e6196f4b-49a6-444a-b922-781f28c97686" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "4a1afd62-ee0b-45b1-b358-af07410f5df8" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", "StatusCode" : "202", - "x-ms-correlation-request-id" : "c8120b1a-a2e0-45ec-a15b-7a52b2ee5730", - "Date" : "Mon, 22 Feb 2021 06:22:36 GMT", + "x-ms-correlation-request-id" : "56c222ab-4a73-42c4-9efb-f1c6933307d5", + "Date" : "Tue, 08 Feb 2022 05:55:51 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062237Z:c8120b1a-a2e0-45ec-a15b-7a52b2ee5730", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055552Z:56c222ab-4a73-42c4-9efb-f1c6933307d5", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "c8120b1a-a2e0-45ec-a15b-7a52b2ee5730", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1NjgxNi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "56c222ab-4a73-42c4-9efb-f1c6933307d5", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1NjgxNi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "94f0c931-3a34-4f79-942f-0675a60bfd3a" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "bf740313-f612-420a-9c05-abf384c02347" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", "StatusCode" : "202", - "x-ms-correlation-request-id" : "43776289-2321-4602-a8c7-ca7f9f464d9f", - "Date" : "Mon, 22 Feb 2021 06:22:52 GMT", + "x-ms-correlation-request-id" : "0c88d7cd-488b-489f-af25-49b1747626eb", + "Date" : "Tue, 08 Feb 2022 05:56:07 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062252Z:43776289-2321-4602-a8c7-ca7f9f464d9f", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055608Z:0c88d7cd-488b-489f-af25-49b1747626eb", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "43776289-2321-4602-a8c7-ca7f9f464d9f", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1NjgxNi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "0c88d7cd-488b-489f-af25-49b1747626eb", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1NjgxNi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "1ff7d806-e2ec-4a13-9a73-ac2f52317e26" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "6b772627-8bc6-4185-9499-7e73dda83232" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", "StatusCode" : "202", - "x-ms-correlation-request-id" : "fbc305d3-aa13-4b54-aafc-507a5d2285f7", - "Date" : "Mon, 22 Feb 2021 06:23:08 GMT", + "x-ms-correlation-request-id" : "97d01a6a-19f5-40cf-9193-86e704ab9c42", + "Date" : "Tue, 08 Feb 2022 05:56:23 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062308Z:fbc305d3-aa13-4b54-aafc-507a5d2285f7", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055624Z:97d01a6a-19f5-40cf-9193-86e704ab9c42", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "fbc305d3-aa13-4b54-aafc-507a5d2285f7", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1NjgxNi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "97d01a6a-19f5-40cf-9193-86e704ab9c42", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1NjgxNi1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "e0916f12-ea21-4655-b8ba-ccb5f9e8e965" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "5c4b1651-027f-4080-b14b-39155aaa49d5" }, "Response" : { + "content-length" : "0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "StatusCode" : "202", + "x-ms-correlation-request-id" : "ad32680e-b8b7-459d-8eba-09fe6b50596e", + "Date" : "Tue, 08 Feb 2022 05:56:40 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055640Z:ad32680e-b8b7-459d-8eba-09fe6b50596e", + "Expires" : "-1", + "x-ms-request-id" : "ad32680e-b8b7-459d-8eba-09fe6b50596e", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "a57b7ba6-289c-4235-8ddb-d745209b64e3" + }, + "Response" : { + "content-length" : "0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "StatusCode" : "202", + "x-ms-correlation-request-id" : "f57799fe-2af2-4dfa-a4ba-b9ebc9ab1326", + "Date" : "Tue, 08 Feb 2022 05:56:55 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055656Z:f57799fe-2af2-4dfa-a4ba-b9ebc9ab1326", + "Expires" : "-1", + "x-ms-request-id" : "f57799fe-2af2-4dfa-a4ba-b9ebc9ab1326", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczODY0Ny1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "38e5bcef-3e5f-43aa-8e22-4087406f8d51" + }, + "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", "StatusCode" : "200", - "x-ms-correlation-request-id" : "a118e771-ad63-48cd-b3a4-02da1e2e5114", - "Date" : "Mon, 22 Feb 2021 06:23:23 GMT", + "x-ms-correlation-request-id" : "f5e24815-b22f-414d-a078-ae87fb260d93", + "Date" : "Tue, 08 Feb 2022 05:57:12 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062324Z:a118e771-ad63-48cd-b3a4-02da1e2e5114", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055712Z:f5e24815-b22f-414d-a078-ae87fb260d93", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "a118e771-ad63-48cd-b3a4-02da1e2e5114" + "x-ms-request-id" : "f5e24815-b22f-414d-a078-ae87fb260d93" }, "Exception" : null } ], - "variables" : [ "javacsmrg56816", "javacsmsa53148", "javacsmsa20178", "javacsmsa71946", "javacsmsa26082" ] + "variables" : [ "javacsmrg38647", "javacsmsa36983", "javacsmsa69064", "javacsmsa61694", "javacsmsa54273" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountNetworkRuleTests.canConfigureNetworkRulesWithUpdate.json b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountNetworkRuleTests.canConfigureNetworkRulesWithUpdate.json index ac3c97cc4f1ef..af3a797bff877 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountNetworkRuleTests.canConfigureNetworkRulesWithUpdate.json +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountNetworkRuleTests.canConfigureNetworkRulesWithUpdate.json @@ -1,334 +1,286 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg32185?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg47875?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "32fbcf46-e63c-4910-b01e-0e5a0a5a8bcb", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "e5297933-544e-4c58-91d6-3030fb103e19", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "225", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "a78f2d10-0a51-48e6-9aff-15f79a658667", - "Date" : "Mon, 22 Feb 2021 06:20:06 GMT", + "x-ms-correlation-request-id" : "658c487d-1ccd-42d4-b3c7-bd3b448c8f0a", + "Date" : "Tue, 08 Feb 2022 05:53:31 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062007Z:a78f2d10-0a51-48e6-9aff-15f79a658667", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055331Z:658c487d-1ccd-42d4-b3c7-bd3b448c8f0a", "Expires" : "-1", - "Content-Length" : "225", - "x-ms-request-id" : "a78f2d10-0a51-48e6-9aff-15f79a658667", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg32185\",\"name\":\"javacsmrg32185\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "658c487d-1ccd-42d4-b3c7-bd3b448c8f0a", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47875\",\"name\":\"javacsmrg47875\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg32185/providers/Microsoft.Storage/storageAccounts/javacsmsa89687?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47875/providers/Microsoft.Storage/storageAccounts/javacsmsa39616?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "3583a775-e1bd-40af-b249-b1f9295a6082", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "76f21c6e-0911-4e5b-a645-4f4c0a2d6477", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1195", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "5f5bbf4e-b953-469e-8a1e-b7d8c29f2869", - "Date" : "Mon, 22 Feb 2021 06:20:10 GMT", + "x-ms-correlation-request-id" : "bb7d1646-7943-4067-ae13-2b59599bfaf8", + "Date" : "Tue, 08 Feb 2022 05:53:37 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062011Z:5f5bbf4e-b953-469e-8a1e-b7d8c29f2869", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055337Z:bb7d1646-7943-4067-ae13-2b59599bfaf8", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "3c40f781-4033-47cb-bc9c-55e98c96c826", + "x-ms-request-id" : "14ce68d8-60d6-437a-bffa-d79e5c42fff5", "Body" : "", - "x-ms-client-request-id" : "3583a775-e1bd-40af-b249-b1f9295a6082", + "x-ms-client-request-id" : "76f21c6e-0911-4e5b-a645-4f4c0a2d6477", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/3c40f781-4033-47cb-bc9c-55e98c96c826?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/14ce68d8-60d6-437a-bffa-d79e5c42fff5?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/3c40f781-4033-47cb-bc9c-55e98c96c826?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/14ce68d8-60d6-437a-bffa-d79e5c42fff5?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "81677eaf-c619-4e04-8875-f7ea4b260e57" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "21ff29b9-9850-4fbd-9a5d-9bd577b0486e" }, "Response" : { + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", "StatusCode" : "200", - "x-ms-correlation-request-id" : "3c41698b-afc1-44e4-822e-52a919b112ea", - "Date" : "Mon, 22 Feb 2021 06:20:28 GMT", + "x-ms-correlation-request-id" : "888db37f-bc48-4564-a175-e72717c5b886", + "Date" : "Tue, 08 Feb 2022 05:53:54 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062029Z:3c41698b-afc1-44e4-822e-52a919b112ea", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055355Z:888db37f-bc48-4564-a175-e72717c5b886", "Expires" : "-1", - "Content-Length" : "1665", - "x-ms-request-id" : "b1c278cb-9ae3-40c6-b06d-78e64ccd58c0", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg32185/providers/Microsoft.Storage/storageAccounts/javacsmsa89687\",\"name\":\"javacsmsa89687\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:10.6185462Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:10.6185462Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:10.5091718Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa89687.dfs.core.windows.net/\",\"web\":\"https://javacsmsa89687.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa89687.blob.core.windows.net/\",\"queue\":\"https://javacsmsa89687.queue.core.windows.net/\",\"table\":\"https://javacsmsa89687.table.core.windows.net/\",\"file\":\"https://javacsmsa89687.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa89687-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa89687-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa89687-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa89687-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa89687-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "81677eaf-c619-4e04-8875-f7ea4b260e57", + "x-ms-request-id" : "fb5e83b9-e059-47fb-8b15-e371bb72d02c", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47875/providers/Microsoft.Storage/storageAccounts/javacsmsa39616\",\"name\":\"javacsmsa39616\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:36.1040501Z\",\"key2\":\"2022-02-08T05:53:36.1040501Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.1040501Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.1040501Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:35.9478565Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa39616.dfs.core.windows.net/\",\"web\":\"https://javacsmsa39616.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa39616.blob.core.windows.net/\",\"queue\":\"https://javacsmsa39616.queue.core.windows.net/\",\"table\":\"https://javacsmsa39616.table.core.windows.net/\",\"file\":\"https://javacsmsa39616.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa39616-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa39616-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa39616-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa39616-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa39616-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "21ff29b9-9850-4fbd-9a5d-9bd577b0486e", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg32185/providers/Microsoft.Storage/storageAccounts/javacsmsa89687?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47875/providers/Microsoft.Storage/storageAccounts/javacsmsa39616?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "40889992-7f77-4e8c-8447-43631cd8ab9d", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "c07bcd6a-d1ca-48ae-b4a6-dcefaecdf626", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11998", "StatusCode" : "200", - "x-ms-correlation-request-id" : "9a8b8339-76cb-4b18-b832-9acaa1a4239e", - "Date" : "Mon, 22 Feb 2021 06:20:30 GMT", + "x-ms-correlation-request-id" : "75b796df-1abb-4ef5-84c3-494180495ea1", + "Date" : "Tue, 08 Feb 2022 05:53:54 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062030Z:9a8b8339-76cb-4b18-b832-9acaa1a4239e", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055355Z:75b796df-1abb-4ef5-84c3-494180495ea1", "Expires" : "-1", - "Content-Length" : "1665", - "x-ms-request-id" : "5a0dded7-8309-45cf-8919-985015e66a96", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg32185/providers/Microsoft.Storage/storageAccounts/javacsmsa89687\",\"name\":\"javacsmsa89687\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:10.6185462Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:10.6185462Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:10.5091718Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa89687.dfs.core.windows.net/\",\"web\":\"https://javacsmsa89687.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa89687.blob.core.windows.net/\",\"queue\":\"https://javacsmsa89687.queue.core.windows.net/\",\"table\":\"https://javacsmsa89687.table.core.windows.net/\",\"file\":\"https://javacsmsa89687.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa89687-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa89687-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa89687-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa89687-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa89687-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "40889992-7f77-4e8c-8447-43631cd8ab9d", + "x-ms-request-id" : "484b9013-8779-42e1-b43b-9ff44721901b", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47875/providers/Microsoft.Storage/storageAccounts/javacsmsa39616\",\"name\":\"javacsmsa39616\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:36.1040501Z\",\"key2\":\"2022-02-08T05:53:36.1040501Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.1040501Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.1040501Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:35.9478565Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa39616.dfs.core.windows.net/\",\"web\":\"https://javacsmsa39616.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa39616.blob.core.windows.net/\",\"queue\":\"https://javacsmsa39616.queue.core.windows.net/\",\"table\":\"https://javacsmsa39616.table.core.windows.net/\",\"file\":\"https://javacsmsa39616.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa39616-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa39616-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa39616-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa39616-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa39616-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "c07bcd6a-d1ca-48ae-b4a6-dcefaecdf626", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg32185/providers/Microsoft.Storage/storageAccounts/javacsmsa89687?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47875/providers/Microsoft.Storage/storageAccounts/javacsmsa39616?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "547f78f0-e032-4409-a8c4-5d483049a4bd", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "6c70041f-593d-448a-a9ad-00107e0c45d5", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1859", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1191", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "57c642de-88c5-4a95-b25d-8b5a07c5bddf", - "Date" : "Mon, 22 Feb 2021 06:20:33 GMT", + "x-ms-correlation-request-id" : "926c0838-0a6f-4e5e-b798-85002fed68de", + "Date" : "Tue, 08 Feb 2022 05:53:58 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062034Z:57c642de-88c5-4a95-b25d-8b5a07c5bddf", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055358Z:926c0838-0a6f-4e5e-b798-85002fed68de", "Expires" : "-1", - "Content-Length" : "1705", - "x-ms-request-id" : "26ecc5e7-0cb8-45c5-9325-822b6bb4a8a0", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg32185/providers/Microsoft.Storage/storageAccounts/javacsmsa89687\",\"name\":\"javacsmsa89687\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[{\"value\":\"23.20.0.0/20\",\"action\":\"Allow\"}],\"defaultAction\":\"Deny\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:10.6185462Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:10.6185462Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:10.5091718Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa89687.dfs.core.windows.net/\",\"web\":\"https://javacsmsa89687.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa89687.blob.core.windows.net/\",\"queue\":\"https://javacsmsa89687.queue.core.windows.net/\",\"table\":\"https://javacsmsa89687.table.core.windows.net/\",\"file\":\"https://javacsmsa89687.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa89687-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa89687-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa89687-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa89687-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa89687-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "547f78f0-e032-4409-a8c4-5d483049a4bd", + "x-ms-request-id" : "aa5c4272-9e7e-4ba0-b80b-4c9543a0165a", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg47875/providers/Microsoft.Storage/storageAccounts/javacsmsa39616\",\"name\":\"javacsmsa39616\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:36.1040501Z\",\"key2\":\"2022-02-08T05:53:36.1040501Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[{\"value\":\"23.20.0.0/20\",\"action\":\"Allow\"}],\"defaultAction\":\"Deny\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.1040501Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.1040501Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:35.9478565Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa39616.dfs.core.windows.net/\",\"web\":\"https://javacsmsa39616.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa39616.blob.core.windows.net/\",\"queue\":\"https://javacsmsa39616.queue.core.windows.net/\",\"table\":\"https://javacsmsa39616.table.core.windows.net/\",\"file\":\"https://javacsmsa39616.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa39616-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa39616-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa39616-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa39616-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa39616-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "6c70041f-593d-448a-a9ad-00107e0c45d5", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg32185?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg47875?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "124a4b06-831f-4dd2-8ccf-1c91dace2d5d", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "784c8c0a-f094-4763-a563-fd1759cc46b4", "Content-Type" : "application/json" }, "Response" : { - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "content-length" : "0", + "x-ms-ratelimit-remaining-subscription-deletes" : "14997", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "c233c0db-b56d-4902-9bd6-00f643cd2759", - "Date" : "Mon, 22 Feb 2021 06:20:37 GMT", + "x-ms-correlation-request-id" : "39392965-b533-4432-a5c8-132e5c391c8e", + "Date" : "Tue, 08 Feb 2022 05:53:59 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062038Z:c233c0db-b56d-4902-9bd6-00f643cd2759", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055400Z:39392965-b533-4432-a5c8-132e5c391c8e", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "c233c0db-b56d-4902-9bd6-00f643cd2759", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMjE4NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "39392965-b533-4432-a5c8-132e5c391c8e", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Nzg3NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMjE4NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Nzg3NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "4671e99f-0cec-40a3-a7cd-9cb89e2ee1dd" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "898a62e1-e147-447a-ac9d-d90eea303949" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "202", - "x-ms-correlation-request-id" : "8a19a06d-c50c-4bed-aa28-5e9496c7eb6b", - "Date" : "Mon, 22 Feb 2021 06:20:52 GMT", + "x-ms-correlation-request-id" : "1dfae68c-ad03-47b4-b240-381d0021d796", + "Date" : "Tue, 08 Feb 2022 05:54:15 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062053Z:8a19a06d-c50c-4bed-aa28-5e9496c7eb6b", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055416Z:1dfae68c-ad03-47b4-b240-381d0021d796", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "8a19a06d-c50c-4bed-aa28-5e9496c7eb6b", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMjE4NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "1dfae68c-ad03-47b4-b240-381d0021d796", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Nzg3NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMjE4NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Nzg3NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "ab09585c-cc12-4d25-8757-7edbf072e55b" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "fc3f9ee9-e4f0-477e-99e5-ccbbc148e2c7", - "Date" : "Mon, 22 Feb 2021 06:21:08 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062109Z:fc3f9ee9-e4f0-477e-99e5-ccbbc148e2c7", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "fc3f9ee9-e4f0-477e-99e5-ccbbc148e2c7", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMjE4NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMjE4NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "601da7a6-5777-41c3-99cc-4da126221bbc" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "8698625d-3451-453c-9314-325cb3df3383" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "x-ms-ratelimit-remaining-subscription-reads" : "11987", "StatusCode" : "202", - "x-ms-correlation-request-id" : "055e1c77-e641-4acc-b397-b8dec5c9263d", - "Date" : "Mon, 22 Feb 2021 06:21:24 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062124Z:055e1c77-e641-4acc-b397-b8dec5c9263d", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "055e1c77-e641-4acc-b397-b8dec5c9263d", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMjE4NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMjE4NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "2e7a1e73-4c6c-4606-ba22-1f2a3d773070" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "0e4dde03-d92e-4a6a-94fa-ee92e4fe5a36", - "Date" : "Mon, 22 Feb 2021 06:21:39 GMT", + "x-ms-correlation-request-id" : "d67828b3-2648-4bd4-b186-03cff3900489", + "Date" : "Tue, 08 Feb 2022 05:54:31 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062140Z:0e4dde03-d92e-4a6a-94fa-ee92e4fe5a36", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055432Z:d67828b3-2648-4bd4-b186-03cff3900489", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "0e4dde03-d92e-4a6a-94fa-ee92e4fe5a36", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMjE4NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "d67828b3-2648-4bd4-b186-03cff3900489", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Nzg3NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMjE4NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Nzg3NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "17141eff-ea27-4ad7-9d99-01d0a1ad0ac5" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "385867b7-aba4-44bd-bfad-1b31e7910c77" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", "StatusCode" : "202", - "x-ms-correlation-request-id" : "a4b8ff63-3159-4601-a55b-9055c646369f", - "Date" : "Mon, 22 Feb 2021 06:21:55 GMT", + "x-ms-correlation-request-id" : "68b7224a-fd18-4e05-a47d-6f285635dca1", + "Date" : "Tue, 08 Feb 2022 05:54:46 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062155Z:a4b8ff63-3159-4601-a55b-9055c646369f", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055447Z:68b7224a-fd18-4e05-a47d-6f285635dca1", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "a4b8ff63-3159-4601-a55b-9055c646369f", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMjE4NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "68b7224a-fd18-4e05-a47d-6f285635dca1", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Nzg3NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMjE4NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Nzg3NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "b6ecab57-6a0b-47c5-b631-f67a58be56ed" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "382e7109-9d1c-4229-876e-a6e9a789c8a1" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "202", - "x-ms-correlation-request-id" : "a0eef789-d1c9-4c9f-9231-1c42abddef6b", - "Date" : "Mon, 22 Feb 2021 06:22:11 GMT", + "x-ms-correlation-request-id" : "5b186033-771f-4471-bc2b-4e1ff99e65ce", + "Date" : "Tue, 08 Feb 2022 05:55:02 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062211Z:a0eef789-d1c9-4c9f-9231-1c42abddef6b", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055503Z:5b186033-771f-4471-bc2b-4e1ff99e65ce", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "a0eef789-d1c9-4c9f-9231-1c42abddef6b", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMjE4NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "5b186033-771f-4471-bc2b-4e1ff99e65ce", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Nzg3NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMjE4NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Nzg3NS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "d1408371-7660-473e-b35f-470de9247be5" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "b65151cf-6a82-44cd-ac60-8e551b914bce" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", "StatusCode" : "200", - "x-ms-correlation-request-id" : "d1662905-6247-45ac-804e-f6496171bac8", - "Date" : "Mon, 22 Feb 2021 06:22:26 GMT", + "x-ms-correlation-request-id" : "569fd953-ab74-450b-bd91-3b5d50c72226", + "Date" : "Tue, 08 Feb 2022 05:55:18 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062227Z:d1662905-6247-45ac-804e-f6496171bac8", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055519Z:569fd953-ab74-450b-bd91-3b5d50c72226", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "d1662905-6247-45ac-804e-f6496171bac8" + "x-ms-request-id" : "569fd953-ab74-450b-bd91-3b5d50c72226" }, "Exception" : null } ], - "variables" : [ "javacsmrg32185", "javacsmsa89687" ] + "variables" : [ "javacsmrg47875", "javacsmsa39616" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountOperationsTests.canCRUDStorageAccount.json b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountOperationsTests.canCRUDStorageAccount.json index 56afaefae1235..06f54bbf5d7e7 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountOperationsTests.canCRUDStorageAccount.json +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountOperationsTests.canCRUDStorageAccount.json @@ -1,446 +1,307 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg60698?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg26921?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "b84a80e1-081d-4c3a-81da-9be752b1fb17", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "162f8cd8-93c9-415d-9aea-48a031bd6c14", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "227", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1194", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "f0e60a0c-05c7-4e41-a1d0-b16b140ce3ec", - "Date" : "Mon, 22 Feb 2021 06:23:58 GMT", + "x-ms-correlation-request-id" : "dfe929eb-b970-4a55-b0bd-75da1d06bcb4", + "Date" : "Tue, 08 Feb 2022 05:53:28 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062359Z:f0e60a0c-05c7-4e41-a1d0-b16b140ce3ec", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055329Z:dfe929eb-b970-4a55-b0bd-75da1d06bcb4", "Expires" : "-1", - "Content-Length" : "227", - "x-ms-request-id" : "f0e60a0c-05c7-4e41-a1d0-b16b140ce3ec", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60698\",\"name\":\"javacsmrg60698\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastasia\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "dfe929eb-b970-4a55-b0bd-75da1d06bcb4", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26921\",\"name\":\"javacsmrg26921\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastasia\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60698/providers/Microsoft.Storage/storageAccounts/javacsmsa76878?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26921/providers/Microsoft.Storage/storageAccounts/javacsmsa59123?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "24e9a76d-ad4c-4e8a-82d4-8e744ed01456", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "1719109a-4862-4a56-a12c-96b5933ffea5", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1193", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "d6b9f9c9-7d89-40ac-b43e-e8733979fd4f", - "Date" : "Mon, 22 Feb 2021 06:24:01 GMT", + "x-ms-correlation-request-id" : "6cd67393-5f7e-4f60-9619-5a2963f62389", + "Date" : "Tue, 08 Feb 2022 05:53:34 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062402Z:d6b9f9c9-7d89-40ac-b43e-e8733979fd4f", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055335Z:6cd67393-5f7e-4f60-9619-5a2963f62389", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "2c06e84a-9c25-49df-b27f-5b84d2714d3f", + "x-ms-request-id" : "be040244-c1ba-4297-bf1e-8102ef20eb7f", "Body" : "", - "x-ms-client-request-id" : "24e9a76d-ad4c-4e8a-82d4-8e744ed01456", + "x-ms-client-request-id" : "1719109a-4862-4a56-a12c-96b5933ffea5", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastasia/asyncoperations/2c06e84a-9c25-49df-b27f-5b84d2714d3f?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastasia/asyncoperations/be040244-c1ba-4297-bf1e-8102ef20eb7f?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastasia/asyncoperations/2c06e84a-9c25-49df-b27f-5b84d2714d3f?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastasia/asyncoperations/be040244-c1ba-4297-bf1e-8102ef20eb7f?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "8ae54f9d-abcc-4aba-815b-3f93d469250e" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "39bdd34d-1773-4036-8890-25b9d0f8876e" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "6d1492ce-4067-4f2d-b3ee-9317faecc0d4", - "Date" : "Mon, 22 Feb 2021 06:24:19 GMT", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", + "StatusCode" : "202", + "x-ms-correlation-request-id" : "f72f2564-3946-4fb4-971e-efc9dc7b46d7", + "Date" : "Tue, 08 Feb 2022 05:53:52 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062419Z:6d1492ce-4067-4f2d-b3ee-9317faecc0d4", + "Retry-After" : "0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055352Z:f72f2564-3946-4fb4-971e-efc9dc7b46d7", "Expires" : "-1", - "Content-Length" : "1709", - "x-ms-request-id" : "b606d53f-a1aa-49fa-833a-c82752f8a39b", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60698/providers/Microsoft.Storage/storageAccounts/javacsmsa76878\",\"name\":\"javacsmsa76878\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastasia\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"privateEndpointConnections\":[],\"isHnsEnabled\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:24:00.9989759Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:24:00.9989759Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:24:00.9520824Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa76878.dfs.core.windows.net/\",\"web\":\"https://javacsmsa76878.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa76878.blob.core.windows.net/\",\"queue\":\"https://javacsmsa76878.queue.core.windows.net/\",\"table\":\"https://javacsmsa76878.table.core.windows.net/\",\"file\":\"https://javacsmsa76878.file.core.windows.net/\"},\"primaryLocation\":\"eastasia\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"southeastasia\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa76878-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa76878-secondary.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa76878-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa76878-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa76878-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "8ae54f9d-abcc-4aba-815b-3f93d469250e", - "Content-Type" : "application/json" + "x-ms-request-id" : "abcae336-3798-4382-9225-f268379d54aa", + "Body" : "", + "x-ms-client-request-id" : "39bdd34d-1773-4036-8890-25b9d0f8876e", + "Content-Type" : "text/plain; charset=utf-8", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastasia/asyncoperations/be040244-c1ba-4297-bf1e-8102ef20eb7f?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60698/providers/Microsoft.Storage/storageAccounts/javacsmsa76878?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastasia/asyncoperations/be040244-c1ba-4297-bf1e-8102ef20eb7f?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "d582788a-23f8-4974-b9e3-5a06a375a6f7", - "Content-Type" : "application/json" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "097ccbed-131b-48ae-9dcc-d099df016084" }, "Response" : { + "content-length" : "1863", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", "StatusCode" : "200", - "x-ms-correlation-request-id" : "6231b59b-3969-4100-b0a8-72ad5e8a9748", - "Date" : "Mon, 22 Feb 2021 06:24:19 GMT", + "x-ms-correlation-request-id" : "46ccb2b8-c6ee-4d43-99fe-7c11f4bc3a10", + "Date" : "Tue, 08 Feb 2022 05:53:55 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062419Z:6231b59b-3969-4100-b0a8-72ad5e8a9748", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055355Z:46ccb2b8-c6ee-4d43-99fe-7c11f4bc3a10", "Expires" : "-1", - "Content-Length" : "1709", - "x-ms-request-id" : "08665624-473e-4af7-8e10-7050d664708d", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60698/providers/Microsoft.Storage/storageAccounts/javacsmsa76878\",\"name\":\"javacsmsa76878\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastasia\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"privateEndpointConnections\":[],\"isHnsEnabled\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:24:00.9989759Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:24:00.9989759Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:24:00.9520824Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa76878.dfs.core.windows.net/\",\"web\":\"https://javacsmsa76878.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa76878.blob.core.windows.net/\",\"queue\":\"https://javacsmsa76878.queue.core.windows.net/\",\"table\":\"https://javacsmsa76878.table.core.windows.net/\",\"file\":\"https://javacsmsa76878.file.core.windows.net/\"},\"primaryLocation\":\"eastasia\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"southeastasia\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa76878-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa76878-secondary.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa76878-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa76878-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa76878-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "d582788a-23f8-4974-b9e3-5a06a375a6f7", + "x-ms-request-id" : "5ef2c802-56e9-4ed6-9659-8d584739f1e7", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26921/providers/Microsoft.Storage/storageAccounts/javacsmsa59123\",\"name\":\"javacsmsa59123\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastasia\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:32.2152596Z\",\"key2\":\"2022-02-08T05:53:32.2152596Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"isHnsEnabled\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.2152596Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.2152596Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:32.1683767Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa59123.dfs.core.windows.net/\",\"web\":\"https://javacsmsa59123.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa59123.blob.core.windows.net/\",\"queue\":\"https://javacsmsa59123.queue.core.windows.net/\",\"table\":\"https://javacsmsa59123.table.core.windows.net/\",\"file\":\"https://javacsmsa59123.file.core.windows.net/\"},\"primaryLocation\":\"eastasia\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"southeastasia\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa59123-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa59123-secondary.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa59123-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa59123-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa59123-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "097ccbed-131b-48ae-9dcc-d099df016084", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60698/providers/Microsoft.Storage/storageAccounts?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26921/providers/Microsoft.Storage/storageAccounts/javacsmsa59123?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "4726d8c1-14d6-4d7c-a79e-d5a6f57cd340", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "c554e57b-fb80-45bb-8dac-29226d5acf79", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1863", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", "StatusCode" : "200", - "x-ms-correlation-request-id" : "f5d4f868-0003-4ee9-9dd8-e95576f22a8c", - "Date" : "Mon, 22 Feb 2021 06:24:19 GMT", + "x-ms-correlation-request-id" : "27019f66-5bde-4a76-bb61-75990b4ecd59", + "Date" : "Tue, 08 Feb 2022 05:53:55 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062419Z:f5d4f868-0003-4ee9-9dd8-e95576f22a8c", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:27019f66-5bde-4a76-bb61-75990b4ecd59", "Expires" : "-1", - "Content-Length" : "1721", - "x-ms-request-id" : "795ad7bb-772c-4fe3-bcbe-63a8af83fb06", - "Body" : "{\"value\":[{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60698/providers/Microsoft.Storage/storageAccounts/javacsmsa76878\",\"name\":\"javacsmsa76878\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastasia\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"privateEndpointConnections\":[],\"isHnsEnabled\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:24:00.9989759Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:24:00.9989759Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:24:00.9520824Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa76878.dfs.core.windows.net/\",\"web\":\"https://javacsmsa76878.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa76878.blob.core.windows.net/\",\"queue\":\"https://javacsmsa76878.queue.core.windows.net/\",\"table\":\"https://javacsmsa76878.table.core.windows.net/\",\"file\":\"https://javacsmsa76878.file.core.windows.net/\"},\"primaryLocation\":\"eastasia\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"southeastasia\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa76878-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa76878-secondary.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa76878-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa76878-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa76878-secondary.table.core.windows.net/\"}}}]}", - "x-ms-client-request-id" : "4726d8c1-14d6-4d7c-a79e-d5a6f57cd340", + "x-ms-request-id" : "b8aa96cc-c896-4a44-ab01-68a4e6ec092a", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26921/providers/Microsoft.Storage/storageAccounts/javacsmsa59123\",\"name\":\"javacsmsa59123\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastasia\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:32.2152596Z\",\"key2\":\"2022-02-08T05:53:32.2152596Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"isHnsEnabled\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.2152596Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.2152596Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:32.1683767Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa59123.dfs.core.windows.net/\",\"web\":\"https://javacsmsa59123.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa59123.blob.core.windows.net/\",\"queue\":\"https://javacsmsa59123.queue.core.windows.net/\",\"table\":\"https://javacsmsa59123.table.core.windows.net/\",\"file\":\"https://javacsmsa59123.file.core.windows.net/\"},\"primaryLocation\":\"eastasia\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"southeastasia\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa59123-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa59123-secondary.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa59123-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa59123-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa59123-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "c554e57b-fb80-45bb-8dac-29226d5acf79", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60698/providers/Microsoft.Storage/storageAccounts/javacsmsa76878?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26921/providers/Microsoft.Storage/storageAccounts?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "d2378a29-a7b4-4c8f-ae4f-c3346ad8ae0f", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "bbae8344-1077-48ad-aeb0-bc18c557b428", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1875", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", "StatusCode" : "200", - "x-ms-correlation-request-id" : "3262ac62-a5c5-47b9-aab2-31d62c884da8", - "Date" : "Mon, 22 Feb 2021 06:24:20 GMT", + "x-ms-correlation-request-id" : "89c3e24b-c396-4fbb-93a7-f2d8bb017182", + "Date" : "Tue, 08 Feb 2022 05:53:55 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062420Z:3262ac62-a5c5-47b9-aab2-31d62c884da8", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:89c3e24b-c396-4fbb-93a7-f2d8bb017182", "Expires" : "-1", - "Content-Length" : "1709", - "x-ms-request-id" : "b07d7ab0-8a6b-46dc-82e9-78d296a00104", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60698/providers/Microsoft.Storage/storageAccounts/javacsmsa76878\",\"name\":\"javacsmsa76878\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastasia\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"privateEndpointConnections\":[],\"isHnsEnabled\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:24:00.9989759Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:24:00.9989759Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:24:00.9520824Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa76878.dfs.core.windows.net/\",\"web\":\"https://javacsmsa76878.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa76878.blob.core.windows.net/\",\"queue\":\"https://javacsmsa76878.queue.core.windows.net/\",\"table\":\"https://javacsmsa76878.table.core.windows.net/\",\"file\":\"https://javacsmsa76878.file.core.windows.net/\"},\"primaryLocation\":\"eastasia\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"southeastasia\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa76878-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa76878-secondary.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa76878-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa76878-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa76878-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "d2378a29-a7b4-4c8f-ae4f-c3346ad8ae0f", + "x-ms-request-id" : "088919c9-a6cd-4f4c-8dc9-6d197bc6757a", + "Body" : "{\"value\":[{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26921/providers/Microsoft.Storage/storageAccounts/javacsmsa59123\",\"name\":\"javacsmsa59123\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastasia\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:32.2152596Z\",\"key2\":\"2022-02-08T05:53:32.2152596Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"isHnsEnabled\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.2152596Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.2152596Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:32.1683767Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa59123.dfs.core.windows.net/\",\"web\":\"https://javacsmsa59123.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa59123.blob.core.windows.net/\",\"queue\":\"https://javacsmsa59123.queue.core.windows.net/\",\"table\":\"https://javacsmsa59123.table.core.windows.net/\",\"file\":\"https://javacsmsa59123.file.core.windows.net/\"},\"primaryLocation\":\"eastasia\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"southeastasia\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa59123-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa59123-secondary.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa59123-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa59123-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa59123-secondary.table.core.windows.net/\"}}}]}", + "x-ms-client-request-id" : "bbae8344-1077-48ad-aeb0-bc18c557b428", "Content-Type" : "application/json" }, "Exception" : null }, { - "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60698/providers/Microsoft.Storage/storageAccounts/javacsmsa76878/listKeys?api-version=2021-04-01", + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26921/providers/Microsoft.Storage/storageAccounts/javacsmsa59123?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "a9e4d7a3-16cf-41d4-84fd-2bef0ad057d9", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "59523b16-4004-46d1-a48c-a91063c5da42", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1863", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", "StatusCode" : "200", - "x-ms-correlation-request-id" : "4fe98b1b-5b3a-4cb7-b2c4-f5d939f9cda4", - "Date" : "Mon, 22 Feb 2021 06:24:20 GMT", + "x-ms-correlation-request-id" : "ea1d9976-54f8-4723-acf3-631a8c394a0e", + "Date" : "Tue, 08 Feb 2022 05:53:55 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-ratelimit-remaining-subscription-resource-requests" : "11999", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062420Z:4fe98b1b-5b3a-4cb7-b2c4-f5d939f9cda4", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:ea1d9976-54f8-4723-acf3-631a8c394a0e", "Expires" : "-1", - "Content-Length" : "288", - "x-ms-request-id" : "a96cf583-f229-412c-a0bc-d4699b6c5af0", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"***REMOVED***\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"***REMOVED***\",\"permissions\":\"FULL\"}]}", - "x-ms-client-request-id" : "a9e4d7a3-16cf-41d4-84fd-2bef0ad057d9", + "x-ms-request-id" : "e02e2a78-bd83-4369-858e-b77184d6d838", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26921/providers/Microsoft.Storage/storageAccounts/javacsmsa59123\",\"name\":\"javacsmsa59123\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastasia\",\"tags\":{\"tag1\":\"value1\"},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:32.2152596Z\",\"key2\":\"2022-02-08T05:53:32.2152596Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"isHnsEnabled\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.2152596Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.2152596Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:32.1683767Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa59123.dfs.core.windows.net/\",\"web\":\"https://javacsmsa59123.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa59123.blob.core.windows.net/\",\"queue\":\"https://javacsmsa59123.queue.core.windows.net/\",\"table\":\"https://javacsmsa59123.table.core.windows.net/\",\"file\":\"https://javacsmsa59123.file.core.windows.net/\"},\"primaryLocation\":\"eastasia\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"southeastasia\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa59123-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa59123-secondary.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa59123-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa59123-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa59123-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "59523b16-4004-46d1-a48c-a91063c5da42", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "POST", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60698/providers/Microsoft.Storage/storageAccounts/javacsmsa76878/regenerateKey?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26921/providers/Microsoft.Storage/storageAccounts/javacsmsa59123/listKeys?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "dbc04e69-6c76-4d91-9469-346c2a383ad1", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "29be643e-c719-48fe-b701-2bcebb72a308", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "380", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "42829f41-8413-41a0-b092-13f619ea87f3", - "Date" : "Mon, 22 Feb 2021 06:24:20 GMT", + "x-ms-correlation-request-id" : "c0f7eb87-1999-40a9-b84a-3b00532141ea", + "Date" : "Tue, 08 Feb 2022 05:53:56 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062420Z:42829f41-8413-41a0-b092-13f619ea87f3", + "x-ms-ratelimit-remaining-subscription-resource-requests" : "11999", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:c0f7eb87-1999-40a9-b84a-3b00532141ea", "Expires" : "-1", - "Content-Length" : "288", - "x-ms-request-id" : "f641905b-8edb-4b47-9509-a944cb92351c", - "Body" : "{\"keys\":[{\"keyName\":\"key1\",\"value\":\"***REMOVED***\",\"permissions\":\"FULL\"},{\"keyName\":\"key2\",\"value\":\"***REMOVED***\",\"permissions\":\"FULL\"}]}", - "x-ms-client-request-id" : "dbc04e69-6c76-4d91-9469-346c2a383ad1", + "x-ms-request-id" : "3312bca4-4367-477f-b921-51f46ec7553e", + "Body" : "{\"keys\":[{\"creationTime\":\"2022-02-08T05:53:32.2152596Z\",\"keyName\":\"key1\",\"value\":\"***REMOVED***\",\"permissions\":\"FULL\"},{\"creationTime\":\"2022-02-08T05:53:32.2152596Z\",\"keyName\":\"key2\",\"value\":\"***REMOVED***\",\"permissions\":\"FULL\"}]}", + "x-ms-client-request-id" : "29be643e-c719-48fe-b701-2bcebb72a308", "Content-Type" : "application/json" }, "Exception" : null }, { - "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60698/providers/Microsoft.Storage/storageAccounts/javacsmsa76878?api-version=2021-04-01", + "Method" : "POST", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26921/providers/Microsoft.Storage/storageAccounts/javacsmsa59123/regenerateKey?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "370fc55a-ae5f-4f80-828b-72ff4564cc74", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "0e85a755-df4e-4583-afbe-046ba1edcf3d", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "380", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1192", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "85031baf-00c1-4923-a792-442a2467570b", - "Date" : "Mon, 22 Feb 2021 06:24:22 GMT", + "x-ms-correlation-request-id" : "e69f1fbb-dcf4-4930-8acb-3ff56f3e1a87", + "Date" : "Tue, 08 Feb 2022 05:53:56 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062422Z:85031baf-00c1-4923-a792-442a2467570b", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055357Z:e69f1fbb-dcf4-4930-8acb-3ff56f3e1a87", "Expires" : "-1", - "Content-Length" : "1304", - "x-ms-request-id" : "79b8bfc3-249a-49f5-baac-69ba08f8f461", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg60698/providers/Microsoft.Storage/storageAccounts/javacsmsa76878\",\"name\":\"javacsmsa76878\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastasia\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"properties\":{\"privateEndpointConnections\":[],\"isHnsEnabled\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:24:00.9989759Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:24:00.9989759Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:24:00.9520824Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa76878.dfs.core.windows.net/\",\"web\":\"https://javacsmsa76878.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa76878.blob.core.windows.net/\",\"queue\":\"https://javacsmsa76878.queue.core.windows.net/\",\"table\":\"https://javacsmsa76878.table.core.windows.net/\",\"file\":\"https://javacsmsa76878.file.core.windows.net/\"},\"primaryLocation\":\"eastasia\",\"statusOfPrimary\":\"available\"}}", - "x-ms-client-request-id" : "370fc55a-ae5f-4f80-828b-72ff4564cc74", + "x-ms-request-id" : "8739d45e-6bcc-4f8a-9274-c33ee3c89104", + "Body" : "{\"keys\":[{\"creationTime\":\"2022-02-08T05:53:57.0123021Z\",\"keyName\":\"key1\",\"value\":\"***REMOVED***\",\"permissions\":\"FULL\"},{\"creationTime\":\"2022-02-08T05:53:32.2152596Z\",\"keyName\":\"key2\",\"value\":\"***REMOVED***\",\"permissions\":\"FULL\"}]}", + "x-ms-client-request-id" : "0e85a755-df4e-4583-afbe-046ba1edcf3d", "Content-Type" : "application/json" }, "Exception" : null }, { - "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg60698?api-version=2021-01-01", + "Method" : "PATCH", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26921/providers/Microsoft.Storage/storageAccounts/javacsmsa59123?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "aee7d183-0c4d-4bae-9517-a98450eb01b1", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "8d7e445a-a5d1-42f2-b12d-c971556b5d09", "Content-Type" : "application/json" }, "Response" : { - "x-ms-ratelimit-remaining-subscription-deletes" : "14996", - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "d7813df3-3c3b-41c1-aa4e-820ed771e305", - "Date" : "Mon, 22 Feb 2021 06:24:23 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062423Z:d7813df3-3c3b-41c1-aa4e-820ed771e305", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "d7813df3-3c3b-41c1-aa4e-820ed771e305", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MDY5OC1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MDY5OC1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "0f27a21f-e869-4182-8086-9d57a0c75dda" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "c3fcd36c-3bbb-4515-81db-5c6a243c8e8e", - "Date" : "Mon, 22 Feb 2021 06:24:38 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062439Z:c3fcd36c-3bbb-4515-81db-5c6a243c8e8e", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "c3fcd36c-3bbb-4515-81db-5c6a243c8e8e", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MDY5OC1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MDY5OC1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "90c726b3-88f1-4b4a-b69b-4b12fbb669c5" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "c97bdbd3-8223-4842-ab7a-d1e4562a913c", - "Date" : "Mon, 22 Feb 2021 06:24:53 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062454Z:c97bdbd3-8223-4842-ab7a-d1e4562a913c", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "c97bdbd3-8223-4842-ab7a-d1e4562a913c", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MDY5OC1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MDY5OC1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "a98b6e2f-25eb-4606-b310-ee3d7b91362c" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11973", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "c4091ef5-6e3b-453c-affe-5daef14b12ee", - "Date" : "Mon, 22 Feb 2021 06:25:09 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062509Z:c4091ef5-6e3b-453c-affe-5daef14b12ee", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "c4091ef5-6e3b-453c-affe-5daef14b12ee", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MDY5OC1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MDY5OC1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "67477dbb-1abd-449e-b465-b81c0955cac0" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11972", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "b8665c10-43e3-43d3-bf4c-0df0f0bec1d1", - "Date" : "Mon, 22 Feb 2021 06:25:24 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062524Z:b8665c10-43e3-43d3-bf4c-0df0f0bec1d1", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "b8665c10-43e3-43d3-bf4c-0df0f0bec1d1", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MDY5OC1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MDY5OC1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "252bd5ce-b724-4e2f-8a03-d1de90747dd2" - }, - "Response" : { + "content-length" : "1458", + "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11971", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "f102e8cd-0805-47b3-ac24-07a4f89512b9", - "Date" : "Mon, 22 Feb 2021 06:25:39 GMT", + "retry-after" : "0", + "StatusCode" : "200", + "x-ms-correlation-request-id" : "59fffd04-08f2-4fec-a47c-b96c4e3c7b6d", + "Date" : "Tue, 08 Feb 2022 05:53:59 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062539Z:f102e8cd-0805-47b3-ac24-07a4f89512b9", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055400Z:59fffd04-08f2-4fec-a47c-b96c4e3c7b6d", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "f102e8cd-0805-47b3-ac24-07a4f89512b9", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MDY5OC1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2020-06-01" + "x-ms-request-id" : "1e9d415c-d412-4500-9628-d55754befd26", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg26921/providers/Microsoft.Storage/storageAccounts/javacsmsa59123\",\"name\":\"javacsmsa59123\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastasia\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:57.0123021Z\",\"key2\":\"2022-02-08T05:53:32.2152596Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"isHnsEnabled\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.2152596Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.2152596Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:32.1683767Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa59123.dfs.core.windows.net/\",\"web\":\"https://javacsmsa59123.z7.web.core.windows.net/\",\"blob\":\"https://javacsmsa59123.blob.core.windows.net/\",\"queue\":\"https://javacsmsa59123.queue.core.windows.net/\",\"table\":\"https://javacsmsa59123.table.core.windows.net/\",\"file\":\"https://javacsmsa59123.file.core.windows.net/\"},\"primaryLocation\":\"eastasia\",\"statusOfPrimary\":\"available\"}}", + "x-ms-client-request-id" : "8d7e445a-a5d1-42f2-b12d-c971556b5d09", + "Content-Type" : "application/json" }, "Exception" : null }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MDY5OC1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2020-06-01", + "Method" : "DELETE", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg26921?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "b5b5a244-52be-408f-9a21-c8df09a4a8c5" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "7e7034b2-5fd5-47c6-8f7c-9aec569f52af", + "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", + "x-ms-ratelimit-remaining-subscription-deletes" : "14998", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11970", "StatusCode" : "202", - "x-ms-correlation-request-id" : "c090febb-bf13-4e04-855e-793c5c8af403", - "Date" : "Mon, 22 Feb 2021 06:25:54 GMT", + "x-ms-correlation-request-id" : "ca9484a3-adb5-4992-8aaa-6212f70b28d6", + "Date" : "Tue, 08 Feb 2022 05:54:01 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062554Z:c090febb-bf13-4e04-855e-793c5c8af403", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "c090febb-bf13-4e04-855e-793c5c8af403", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MDY5OC1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MDY5OC1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "c2c0e07d-cdbc-43d0-80af-a6a745253045" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11969", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "a98b3bca-435a-428c-98e9-2b45f8a8047a", - "Date" : "Mon, 22 Feb 2021 06:26:09 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062610Z:a98b3bca-435a-428c-98e9-2b45f8a8047a", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055401Z:ca9484a3-adb5-4992-8aaa-6212f70b28d6", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "a98b3bca-435a-428c-98e9-2b45f8a8047a" + "x-ms-request-id" : "ca9484a3-adb5-4992-8aaa-6212f70b28d6", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNjkyMS1FQVNUQVNJQSIsImpvYkxvY2F0aW9uIjoiZWFzdGFzaWEifQ?api-version=2021-01-01" }, "Exception" : null } ], - "variables" : [ "javacsmrg60698", "javacsmsa76878" ] + "variables" : [ "javacsmrg26921", "javacsmsa59123" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountOperationsTests.canEnableLargeFileSharesOnStorageAccount.json b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountOperationsTests.canEnableLargeFileSharesOnStorageAccount.json index aa76cfcbedc03..d1b077b3c7575 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountOperationsTests.canEnableLargeFileSharesOnStorageAccount.json +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountOperationsTests.canEnableLargeFileSharesOnStorageAccount.json @@ -1,306 +1,139 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg03552?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg31719?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "824dea5a-09f5-48c6-afe6-dbb3df636cac", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "fc9660a8-0262-47ed-9e80-7a79526e52a8", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "226", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "18a6a54d-dfa3-45cd-9d52-b9d400868dd9", - "Date" : "Mon, 22 Feb 2021 06:20:06 GMT", + "x-ms-correlation-request-id" : "ea732a6a-8863-4b9b-9736-b768885b42eb", + "Date" : "Tue, 08 Feb 2022 05:53:31 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062006Z:18a6a54d-dfa3-45cd-9d52-b9d400868dd9", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055332Z:ea732a6a-8863-4b9b-9736-b768885b42eb", "Expires" : "-1", - "Content-Length" : "226", - "x-ms-request-id" : "18a6a54d-dfa3-45cd-9d52-b9d400868dd9", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg03552\",\"name\":\"javacsmrg03552\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "ea732a6a-8863-4b9b-9736-b768885b42eb", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg31719\",\"name\":\"javacsmrg31719\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus2\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg03552/providers/Microsoft.Storage/storageAccounts/javacsmsa34280?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg31719/providers/Microsoft.Storage/storageAccounts/javacsmsa32164?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "c05f02fd-796c-48d3-a9b9-52ca42f44997", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "a15c51f7-e56b-4d4b-8c50-6e5c4ce5c6a0", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1198", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "8b2e2f68-62bf-4ec9-9766-0aa3a5c542a5", - "Date" : "Mon, 22 Feb 2021 06:20:13 GMT", + "x-ms-correlation-request-id" : "c6fc50f8-2775-4350-bfa9-10d1ff8c78e3", + "Date" : "Tue, 08 Feb 2022 05:53:38 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062013Z:8b2e2f68-62bf-4ec9-9766-0aa3a5c542a5", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055338Z:c6fc50f8-2775-4350-bfa9-10d1ff8c78e3", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "e576d841-36d0-4ab3-95c0-2bb0f4f0dfb8", + "x-ms-request-id" : "7790b6fb-6606-48e6-90a7-cb1f48fadcd8", "Body" : "", - "x-ms-client-request-id" : "c05f02fd-796c-48d3-a9b9-52ca42f44997", + "x-ms-client-request-id" : "a15c51f7-e56b-4d4b-8c50-6e5c4ce5c6a0", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/e576d841-36d0-4ab3-95c0-2bb0f4f0dfb8?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/7790b6fb-6606-48e6-90a7-cb1f48fadcd8?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/e576d841-36d0-4ab3-95c0-2bb0f4f0dfb8?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/7790b6fb-6606-48e6-90a7-cb1f48fadcd8?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "c0de3ca6-7b9d-436a-a1e5-ec9b93d4c77b" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "16fc5c7b-5587-49d5-a7c9-b95cedfe84a0" }, "Response" : { + "content-length" : "1439", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", "StatusCode" : "200", - "x-ms-correlation-request-id" : "9c5b4966-ee73-4c8f-9eb1-e98f9094a11e", - "Date" : "Mon, 22 Feb 2021 06:20:30 GMT", + "x-ms-correlation-request-id" : "b7b89e98-3ab4-4ced-92ae-9e19bb650024", + "Date" : "Tue, 08 Feb 2022 05:53:56 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062030Z:9c5b4966-ee73-4c8f-9eb1-e98f9094a11e", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:b7b89e98-3ab4-4ced-92ae-9e19bb650024", "Expires" : "-1", - "Content-Length" : "1285", - "x-ms-request-id" : "e1f9fcac-57a7-4e3b-bcc3-ca05c24ca8c0", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg03552/providers/Microsoft.Storage/storageAccounts/javacsmsa34280\",\"name\":\"javacsmsa34280\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"largeFileSharesState\":\"Enabled\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:12.8745983Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:12.8745983Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:12.7964703Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa34280.dfs.core.windows.net/\",\"web\":\"https://javacsmsa34280.z20.web.core.windows.net/\",\"blob\":\"https://javacsmsa34280.blob.core.windows.net/\",\"queue\":\"https://javacsmsa34280.queue.core.windows.net/\",\"table\":\"https://javacsmsa34280.table.core.windows.net/\",\"file\":\"https://javacsmsa34280.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}", - "x-ms-client-request-id" : "c0de3ca6-7b9d-436a-a1e5-ec9b93d4c77b", + "x-ms-request-id" : "8fccae3f-ce15-494d-970f-3e44ed3a191d", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg31719/providers/Microsoft.Storage/storageAccounts/javacsmsa32164\",\"name\":\"javacsmsa32164\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:37.3943500Z\",\"key2\":\"2022-02-08T05:53:37.3943500Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"largeFileSharesState\":\"Enabled\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.3943500Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.3943500Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:37.2224726Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa32164.dfs.core.windows.net/\",\"web\":\"https://javacsmsa32164.z20.web.core.windows.net/\",\"blob\":\"https://javacsmsa32164.blob.core.windows.net/\",\"queue\":\"https://javacsmsa32164.queue.core.windows.net/\",\"table\":\"https://javacsmsa32164.table.core.windows.net/\",\"file\":\"https://javacsmsa32164.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}", + "x-ms-client-request-id" : "16fc5c7b-5587-49d5-a7c9-b95cedfe84a0", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg03552/providers/Microsoft.Storage/storageAccounts/javacsmsa34280?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg31719/providers/Microsoft.Storage/storageAccounts/javacsmsa32164?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "e929c3ec-a9c1-4ddf-9b34-61c7afa11ddb", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "e230612b-5d04-408d-acd9-692030b08b47", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1439", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", "StatusCode" : "200", - "x-ms-correlation-request-id" : "def52d0c-ce90-4f17-9e79-f870dd3c8ffb", - "Date" : "Mon, 22 Feb 2021 06:20:30 GMT", + "x-ms-correlation-request-id" : "3bd2962d-83a9-47af-86c6-d14d92ad4582", + "Date" : "Tue, 08 Feb 2022 05:53:56 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062031Z:def52d0c-ce90-4f17-9e79-f870dd3c8ffb", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055357Z:3bd2962d-83a9-47af-86c6-d14d92ad4582", "Expires" : "-1", - "Content-Length" : "1285", - "x-ms-request-id" : "d47382f5-2b47-4c5b-a4c7-b66f339e4e5c", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg03552/providers/Microsoft.Storage/storageAccounts/javacsmsa34280\",\"name\":\"javacsmsa34280\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"largeFileSharesState\":\"Enabled\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:12.8745983Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:12.8745983Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:12.7964703Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa34280.dfs.core.windows.net/\",\"web\":\"https://javacsmsa34280.z20.web.core.windows.net/\",\"blob\":\"https://javacsmsa34280.blob.core.windows.net/\",\"queue\":\"https://javacsmsa34280.queue.core.windows.net/\",\"table\":\"https://javacsmsa34280.table.core.windows.net/\",\"file\":\"https://javacsmsa34280.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}", - "x-ms-client-request-id" : "e929c3ec-a9c1-4ddf-9b34-61c7afa11ddb", + "x-ms-request-id" : "261aa80c-5f78-4d7b-b956-4bbc3298f405", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg31719/providers/Microsoft.Storage/storageAccounts/javacsmsa32164\",\"name\":\"javacsmsa32164\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus2\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:37.3943500Z\",\"key2\":\"2022-02-08T05:53:37.3943500Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"largeFileSharesState\":\"Enabled\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.3943500Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.3943500Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:37.2224726Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa32164.dfs.core.windows.net/\",\"web\":\"https://javacsmsa32164.z20.web.core.windows.net/\",\"blob\":\"https://javacsmsa32164.blob.core.windows.net/\",\"queue\":\"https://javacsmsa32164.queue.core.windows.net/\",\"table\":\"https://javacsmsa32164.table.core.windows.net/\",\"file\":\"https://javacsmsa32164.file.core.windows.net/\"},\"primaryLocation\":\"eastus2\",\"statusOfPrimary\":\"available\"}}", + "x-ms-client-request-id" : "e230612b-5d04-408d-acd9-692030b08b47", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg03552?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg31719?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "3854408c-52e5-47b2-989b-12d75577d604", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "4ba9daf7-0ab0-410e-bb0b-9575db073ed2", "Content-Type" : "application/json" }, "Response" : { - "x-ms-ratelimit-remaining-subscription-deletes" : "14997", + "content-length" : "0", + "x-ms-ratelimit-remaining-subscription-deletes" : "14998", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "cfa26605-24bd-49e8-801c-76c31a616e6d", - "Date" : "Mon, 22 Feb 2021 06:20:34 GMT", + "x-ms-correlation-request-id" : "09437b5a-fb5a-4efb-9baf-44ee63e7fafe", + "Date" : "Tue, 08 Feb 2022 05:54:03 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062035Z:cfa26605-24bd-49e8-801c-76c31a616e6d", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055404Z:09437b5a-fb5a-4efb-9baf-44ee63e7fafe", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "cfa26605-24bd-49e8-801c-76c31a616e6d", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMzU1Mi1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMzU1Mi1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "28a01a68-a1df-46cf-85a2-73bf6c0edb42" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "6fecfa83-14fa-4664-bf3d-de70821c4de0", - "Date" : "Mon, 22 Feb 2021 06:20:50 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062051Z:6fecfa83-14fa-4664-bf3d-de70821c4de0", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "6fecfa83-14fa-4664-bf3d-de70821c4de0", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMzU1Mi1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMzU1Mi1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "a40ac4d4-0408-4639-87b5-a6b29c6d9d9b" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "75246ef6-a80a-4e82-9bbb-0ea6d3828d3f", - "Date" : "Mon, 22 Feb 2021 06:21:06 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062106Z:75246ef6-a80a-4e82-9bbb-0ea6d3828d3f", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "75246ef6-a80a-4e82-9bbb-0ea6d3828d3f", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMzU1Mi1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMzU1Mi1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "17bf006f-ede6-494f-b471-40c564866cdb" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "1f7bdfe9-f489-4866-8321-a9896eefe4fd", - "Date" : "Mon, 22 Feb 2021 06:21:21 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062122Z:1f7bdfe9-f489-4866-8321-a9896eefe4fd", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "1f7bdfe9-f489-4866-8321-a9896eefe4fd", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMzU1Mi1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMzU1Mi1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "c62b8f43-db34-4006-b7d3-2e922bf0ef42" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "cd6b01af-68c6-408f-8112-de214560a317", - "Date" : "Mon, 22 Feb 2021 06:21:38 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062138Z:cd6b01af-68c6-408f-8112-de214560a317", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "cd6b01af-68c6-408f-8112-de214560a317", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMzU1Mi1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMzU1Mi1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "107cb61f-f75d-49bb-8348-0ae3affc151b" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "316f4b72-c1fd-4b7a-815a-64a340d748dd", - "Date" : "Mon, 22 Feb 2021 06:21:53 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062153Z:316f4b72-c1fd-4b7a-815a-64a340d748dd", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "316f4b72-c1fd-4b7a-815a-64a340d748dd", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMzU1Mi1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMzU1Mi1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "ffa5377a-da3d-45ba-8aec-277f569f4273" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "f27a195c-5e84-498a-8fd1-85ae4db1d566", - "Date" : "Mon, 22 Feb 2021 06:22:09 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062209Z:f27a195c-5e84-498a-8fd1-85ae4db1d566", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "f27a195c-5e84-498a-8fd1-85ae4db1d566", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMzU1Mi1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMzU1Mi1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "a3c56466-6955-4cf8-a860-a0bdd00e6132" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", - "StatusCode" : "200", - "x-ms-correlation-request-id" : "fa620b94-5208-4981-80f4-7ca5eb6ca318", - "Date" : "Mon, 22 Feb 2021 06:22:24 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062224Z:fa620b94-5208-4981-80f4-7ca5eb6ca318", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "fa620b94-5208-4981-80f4-7ca5eb6ca318" + "x-ms-request-id" : "09437b5a-fb5a-4efb-9baf-44ee63e7fafe", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkczMTcxOS1FQVNUVVMyIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyIn0?api-version=2021-01-01" }, "Exception" : null } ], - "variables" : [ "javacsmrg03552", "javacsmsa34280" ] + "variables" : [ "javacsmrg31719", "javacsmsa32164" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountOperationsTests.storageAccountDefault.json b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountOperationsTests.storageAccountDefault.json index d59c3f226db1d..3affa68f32d09 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountOperationsTests.storageAccountDefault.json +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageAccountOperationsTests.storageAccountDefault.json @@ -1,277 +1,277 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg00940?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg69217?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "1533b908-a39f-4822-8a87-b9af85198eeb", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "93db366d-14c5-4da6-904c-9eb790381e39", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "225", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "x-ms-ratelimit-remaining-subscription-writes" : "1194", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "b1266d31-eb03-49f8-ab23-eb13f388168e", - "Date" : "Fri, 05 Mar 2021 04:59:25 GMT", + "x-ms-correlation-request-id" : "1e66ae2e-9109-4025-8cdc-b2764192182a", + "Date" : "Tue, 08 Feb 2022 05:53:28 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210305T045926Z:b1266d31-eb03-49f8-ab23-eb13f388168e", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055329Z:1e66ae2e-9109-4025-8cdc-b2764192182a", "Expires" : "-1", - "Content-Length" : "225", - "x-ms-request-id" : "b1266d31-eb03-49f8-ab23-eb13f388168e", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00940\",\"name\":\"javacsmrg00940\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "1e66ae2e-9109-4025-8cdc-b2764192182a", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69217\",\"name\":\"javacsmrg69217\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00940/providers/Microsoft.Storage/storageAccounts/javacsmsa10856?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69217/providers/Microsoft.Storage/storageAccounts/javacsmsa51639?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "2e64f81f-cc58-45ea-b140-e6263e3f0954", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "2311b87c-b6ef-4ff1-a5f6-75451110feff", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "x-ms-ratelimit-remaining-subscription-writes" : "1193", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "6fdbb888-0797-4bb2-8b2a-99f3c71b41b7", - "Date" : "Fri, 05 Mar 2021 04:59:31 GMT", + "x-ms-correlation-request-id" : "29a3ba92-aa2e-442a-b631-35552474a784", + "Date" : "Tue, 08 Feb 2022 05:53:32 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210305T045932Z:6fdbb888-0797-4bb2-8b2a-99f3c71b41b7", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055333Z:29a3ba92-aa2e-442a-b631-35552474a784", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "2a353491-169f-41a0-9dbb-97c29dee1586", + "x-ms-request-id" : "8f360833-de65-46f0-9071-7692fbe71dbd", "Body" : "", - "x-ms-client-request-id" : "2e64f81f-cc58-45ea-b140-e6263e3f0954", + "x-ms-client-request-id" : "2311b87c-b6ef-4ff1-a5f6-75451110feff", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2a353491-169f-41a0-9dbb-97c29dee1586?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/8f360833-de65-46f0-9071-7692fbe71dbd?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2a353491-169f-41a0-9dbb-97c29dee1586?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/8f360833-de65-46f0-9071-7692fbe71dbd?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "0c796212-ea67-4b08-b97e-b8ab37d2befb" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "8505f5c9-25c9-45e7-bf2d-45d451dc505a" }, "Response" : { + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11999", "StatusCode" : "200", - "x-ms-correlation-request-id" : "048e3d74-abdf-403d-9f92-36dd44c3481d", - "Date" : "Fri, 05 Mar 2021 04:59:49 GMT", + "x-ms-correlation-request-id" : "e3e0843f-a2aa-43b9-baff-2e49adebea1d", + "Date" : "Tue, 08 Feb 2022 05:53:50 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210305T045949Z:048e3d74-abdf-403d-9f92-36dd44c3481d", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055351Z:e3e0843f-a2aa-43b9-baff-2e49adebea1d", "Expires" : "-1", - "Content-Length" : "1694", - "x-ms-request-id" : "bfebc899-33b6-44fa-b388-1e88384852a7", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00940/providers/Microsoft.Storage/storageAccounts/javacsmsa10856\",\"name\":\"javacsmsa10856\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-03-05T04:59:31.9310828Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-03-05T04:59:31.9310828Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-03-05T04:59:31.8373038Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa10856.dfs.core.windows.net/\",\"web\":\"https://javacsmsa10856.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa10856.blob.core.windows.net/\",\"queue\":\"https://javacsmsa10856.queue.core.windows.net/\",\"table\":\"https://javacsmsa10856.table.core.windows.net/\",\"file\":\"https://javacsmsa10856.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa10856-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa10856-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa10856-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa10856-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa10856-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "0c796212-ea67-4b08-b97e-b8ab37d2befb", + "x-ms-request-id" : "0a2e5b8a-36d2-4e50-92c0-16f8415e84a8", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69217/providers/Microsoft.Storage/storageAccounts/javacsmsa51639\",\"name\":\"javacsmsa51639\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:32.1353264Z\",\"key2\":\"2022-02-08T05:53:32.1353264Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.1353264Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.1353264Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:31.9947287Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa51639.dfs.core.windows.net/\",\"web\":\"https://javacsmsa51639.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa51639.blob.core.windows.net/\",\"queue\":\"https://javacsmsa51639.queue.core.windows.net/\",\"table\":\"https://javacsmsa51639.table.core.windows.net/\",\"file\":\"https://javacsmsa51639.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa51639-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa51639-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa51639-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa51639-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa51639-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "8505f5c9-25c9-45e7-bf2d-45d451dc505a", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00940/providers/Microsoft.Storage/storageAccounts/javacsmsa10856?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69217/providers/Microsoft.Storage/storageAccounts/javacsmsa51639?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "df9f1fa0-7a40-4395-93a4-e470cf567bb8", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "12b4890f-d352-4ba8-aa16-76becae62a94", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11998", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", "StatusCode" : "200", - "x-ms-correlation-request-id" : "2cbb9491-382a-4c1a-8459-c85e1ae2fa42", - "Date" : "Fri, 05 Mar 2021 04:59:51 GMT", + "x-ms-correlation-request-id" : "196a9216-16df-4a9b-b37b-7b5de8b38f32", + "Date" : "Tue, 08 Feb 2022 05:53:51 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210305T045951Z:2cbb9491-382a-4c1a-8459-c85e1ae2fa42", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055351Z:196a9216-16df-4a9b-b37b-7b5de8b38f32", "Expires" : "-1", - "Content-Length" : "1694", - "x-ms-request-id" : "ac9c7fd0-9f05-49c3-b723-004c4b3b5e80", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00940/providers/Microsoft.Storage/storageAccounts/javacsmsa10856\",\"name\":\"javacsmsa10856\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-03-05T04:59:31.9310828Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-03-05T04:59:31.9310828Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-03-05T04:59:31.8373038Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa10856.dfs.core.windows.net/\",\"web\":\"https://javacsmsa10856.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa10856.blob.core.windows.net/\",\"queue\":\"https://javacsmsa10856.queue.core.windows.net/\",\"table\":\"https://javacsmsa10856.table.core.windows.net/\",\"file\":\"https://javacsmsa10856.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa10856-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa10856-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa10856-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa10856-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa10856-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "df9f1fa0-7a40-4395-93a4-e470cf567bb8", + "x-ms-request-id" : "5dfa24ac-f466-4f87-a9da-7c2702468b5e", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69217/providers/Microsoft.Storage/storageAccounts/javacsmsa51639\",\"name\":\"javacsmsa51639\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:32.1353264Z\",\"key2\":\"2022-02-08T05:53:32.1353264Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.1353264Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.1353264Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:31.9947287Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa51639.dfs.core.windows.net/\",\"web\":\"https://javacsmsa51639.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa51639.blob.core.windows.net/\",\"queue\":\"https://javacsmsa51639.queue.core.windows.net/\",\"table\":\"https://javacsmsa51639.table.core.windows.net/\",\"file\":\"https://javacsmsa51639.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa51639-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa51639-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa51639-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa51639-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa51639-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "12b4890f-d352-4ba8-aa16-76becae62a94", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00940/providers/Microsoft.Storage/storageAccounts/javacsmsa10856?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69217/providers/Microsoft.Storage/storageAccounts/javacsmsa51639?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "3507aca1-0fd9-4e0d-b921-d9a0fed250c5", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "1ecba2de-70e5-48dc-87ca-2401857bd4c6", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1850", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "x-ms-ratelimit-remaining-subscription-writes" : "1190", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "90ec8735-41e2-45da-b842-e60f1506752f", - "Date" : "Fri, 05 Mar 2021 04:59:55 GMT", + "x-ms-correlation-request-id" : "4e22038b-e5fc-4090-ab60-31aa4851b9dc", + "Date" : "Tue, 08 Feb 2022 05:53:55 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210305T045955Z:90ec8735-41e2-45da-b842-e60f1506752f", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:4e22038b-e5fc-4090-ab60-31aa4851b9dc", "Expires" : "-1", - "Content-Length" : "1754", - "x-ms-request-id" : "8b93a3d6-b7ad-42b5-ba8e-84550e687d94", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00940/providers/Microsoft.Storage/storageAccounts/javacsmsa10856\",\"name\":\"javacsmsa10856\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_1\",\"allowBlobPublicAccess\":false,\"allowSharedKeyAccess\":false,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-03-05T04:59:31.9310828Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-03-05T04:59:31.9310828Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-03-05T04:59:31.8373038Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa10856.dfs.core.windows.net/\",\"web\":\"https://javacsmsa10856.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa10856.blob.core.windows.net/\",\"queue\":\"https://javacsmsa10856.queue.core.windows.net/\",\"table\":\"https://javacsmsa10856.table.core.windows.net/\",\"file\":\"https://javacsmsa10856.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa10856-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa10856-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa10856-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa10856-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa10856-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "3507aca1-0fd9-4e0d-b921-d9a0fed250c5", + "x-ms-request-id" : "51025df2-a92e-4de5-9227-90a23a933a10", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69217/providers/Microsoft.Storage/storageAccounts/javacsmsa51639\",\"name\":\"javacsmsa51639\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:32.1353264Z\",\"key2\":\"2022-02-08T05:53:32.1353264Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_1\",\"allowBlobPublicAccess\":false,\"allowSharedKeyAccess\":false,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.1353264Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:32.1353264Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:31.9947287Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa51639.dfs.core.windows.net/\",\"web\":\"https://javacsmsa51639.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa51639.blob.core.windows.net/\",\"queue\":\"https://javacsmsa51639.queue.core.windows.net/\",\"table\":\"https://javacsmsa51639.table.core.windows.net/\",\"file\":\"https://javacsmsa51639.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa51639-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa51639-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa51639-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa51639-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa51639-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "1ecba2de-70e5-48dc-87ca-2401857bd4c6", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg00940?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg69217?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "9334ee8c-6e68-4b64-baec-9408e6f473c8", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "03d96410-e65b-466c-95ed-87c7d3b972e6", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "225", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "x-ms-ratelimit-remaining-subscription-writes" : "1194", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "8db7b7f7-c0eb-49d8-ad48-459808e0d33e", - "Date" : "Fri, 05 Mar 2021 04:59:56 GMT", + "x-ms-correlation-request-id" : "4a8c9480-9315-41b5-a53c-e7a0d729d96c", + "Date" : "Tue, 08 Feb 2022 05:53:56 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210305T045956Z:8db7b7f7-c0eb-49d8-ad48-459808e0d33e", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055357Z:4a8c9480-9315-41b5-a53c-e7a0d729d96c", "Expires" : "-1", - "Content-Length" : "225", - "x-ms-request-id" : "8db7b7f7-c0eb-49d8-ad48-459808e0d33e", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00940\",\"name\":\"javacsmrg00940\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "4a8c9480-9315-41b5-a53c-e7a0d729d96c", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69217\",\"name\":\"javacsmrg69217\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00940/providers/Microsoft.Storage/storageAccounts/javacsmsa30132?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69217/providers/Microsoft.Storage/storageAccounts/javacsmsa16534?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "dd65a9a2-cd4d-4335-9b28-a2472ebf7e53", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "9fb9f73c-47be-43dc-b5e9-108b0c39b933", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1195", + "x-ms-ratelimit-remaining-subscription-writes" : "1188", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "5af0efd7-a238-4d1b-9e37-601aafcec04d", - "Date" : "Fri, 05 Mar 2021 04:59:59 GMT", + "x-ms-correlation-request-id" : "f1965a0e-ed3f-4b59-b7eb-662ce8f2c410", + "Date" : "Tue, 08 Feb 2022 05:54:02 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210305T045959Z:5af0efd7-a238-4d1b-9e37-601aafcec04d", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055403Z:f1965a0e-ed3f-4b59-b7eb-662ce8f2c410", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "95003679-0fea-4e9c-a8de-759307e66fa8", + "x-ms-request-id" : "93dd4d1e-8d45-406a-aae0-5da896d6e538", "Body" : "", - "x-ms-client-request-id" : "dd65a9a2-cd4d-4335-9b28-a2472ebf7e53", + "x-ms-client-request-id" : "9fb9f73c-47be-43dc-b5e9-108b0c39b933", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/95003679-0fea-4e9c-a8de-759307e66fa8?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/93dd4d1e-8d45-406a-aae0-5da896d6e538?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/95003679-0fea-4e9c-a8de-759307e66fa8?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/93dd4d1e-8d45-406a-aae0-5da896d6e538?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "717d2014-294a-4911-8bf9-256ade35c297" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "c4d47571-a235-4385-950c-e79ec37d5bc7" }, "Response" : { + "content-length" : "1304", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "1ef8eb87-8c62-4ff8-b4e7-771bc0f26927", - "Date" : "Fri, 05 Mar 2021 05:00:16 GMT", + "x-ms-correlation-request-id" : "ed8d0bac-a188-4c52-8ea0-36f5005003e3", + "Date" : "Tue, 08 Feb 2022 05:54:20 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210305T050016Z:1ef8eb87-8c62-4ff8-b4e7-771bc0f26927", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055420Z:ed8d0bac-a188-4c52-8ea0-36f5005003e3", "Expires" : "-1", - "Content-Length" : "1208", - "x-ms-request-id" : "da952a2f-fa2e-49fb-8aa9-92e70aaab64f", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00940/providers/Microsoft.Storage/storageAccounts/javacsmsa30132\",\"name\":\"javacsmsa30132\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_1\",\"allowBlobPublicAccess\":false,\"allowSharedKeyAccess\":false,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-03-05T04:59:58.6966678Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-03-05T04:59:58.6966678Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-03-05T04:59:58.5873092Z\",\"primaryEndpoints\":{\"blob\":\"https://javacsmsa30132.blob.core.windows.net/\",\"queue\":\"https://javacsmsa30132.queue.core.windows.net/\",\"table\":\"https://javacsmsa30132.table.core.windows.net/\",\"file\":\"https://javacsmsa30132.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\"}}", - "x-ms-client-request-id" : "717d2014-294a-4911-8bf9-256ade35c297", + "x-ms-request-id" : "bb70af11-c93e-45d2-b507-f9f62fc0dae6", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69217/providers/Microsoft.Storage/storageAccounts/javacsmsa16534\",\"name\":\"javacsmsa16534\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:54:02.0103292Z\",\"key2\":\"2022-02-08T05:54:02.0103292Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_1\",\"allowBlobPublicAccess\":false,\"allowSharedKeyAccess\":false,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:54:02.0103292Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:54:02.0103292Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:54:01.8561818Z\",\"primaryEndpoints\":{\"blob\":\"https://javacsmsa16534.blob.core.windows.net/\",\"queue\":\"https://javacsmsa16534.queue.core.windows.net/\",\"table\":\"https://javacsmsa16534.table.core.windows.net/\",\"file\":\"https://javacsmsa16534.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\"}}", + "x-ms-client-request-id" : "c4d47571-a235-4385-950c-e79ec37d5bc7", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00940/providers/Microsoft.Storage/storageAccounts/javacsmsa30132?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69217/providers/Microsoft.Storage/storageAccounts/javacsmsa16534?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "d0dff8ad-af5a-4832-a14c-bb6a3a3f5521", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "e2e7cddb-210e-4c1c-bdd7-8ef46d24d4b1", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1304", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", "StatusCode" : "200", - "x-ms-correlation-request-id" : "d247d086-0e0c-41a3-b5ca-bff2aa0e71c4", - "Date" : "Fri, 05 Mar 2021 05:00:16 GMT", + "x-ms-correlation-request-id" : "1e38419a-c96b-4f74-a511-cef4043222ad", + "Date" : "Tue, 08 Feb 2022 05:54:20 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210305T050016Z:d247d086-0e0c-41a3-b5ca-bff2aa0e71c4", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055421Z:1e38419a-c96b-4f74-a511-cef4043222ad", "Expires" : "-1", - "Content-Length" : "1208", - "x-ms-request-id" : "974a120c-5b43-4afb-b9e2-c75beed3a2d9", - "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg00940/providers/Microsoft.Storage/storageAccounts/javacsmsa30132\",\"name\":\"javacsmsa30132\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_1\",\"allowBlobPublicAccess\":false,\"allowSharedKeyAccess\":false,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-03-05T04:59:58.6966678Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-03-05T04:59:58.6966678Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-03-05T04:59:58.5873092Z\",\"primaryEndpoints\":{\"blob\":\"https://javacsmsa30132.blob.core.windows.net/\",\"queue\":\"https://javacsmsa30132.queue.core.windows.net/\",\"table\":\"https://javacsmsa30132.table.core.windows.net/\",\"file\":\"https://javacsmsa30132.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\"}}", - "x-ms-client-request-id" : "d0dff8ad-af5a-4832-a14c-bb6a3a3f5521", + "x-ms-request-id" : "bf02156b-a4fa-4533-acf1-4b4e72357b59", + "Body" : "{\"sku\":{\"name\":\"Standard_LRS\",\"tier\":\"Standard\"},\"kind\":\"Storage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg69217/providers/Microsoft.Storage/storageAccounts/javacsmsa16534\",\"name\":\"javacsmsa16534\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:54:02.0103292Z\",\"key2\":\"2022-02-08T05:54:02.0103292Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_1\",\"allowBlobPublicAccess\":false,\"allowSharedKeyAccess\":false,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":false,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:54:02.0103292Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:54:02.0103292Z\"}},\"keySource\":\"Microsoft.Storage\"},\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:54:01.8561818Z\",\"primaryEndpoints\":{\"blob\":\"https://javacsmsa16534.blob.core.windows.net/\",\"queue\":\"https://javacsmsa16534.queue.core.windows.net/\",\"table\":\"https://javacsmsa16534.table.core.windows.net/\",\"file\":\"https://javacsmsa16534.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\"}}", + "x-ms-client-request-id" : "e2e7cddb-210e-4c1c-bdd7-8ef46d24d4b1", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg00940?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg69217?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "da0e4bda-4168-4b83-a02a-c16839226d40", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "14cfd001-6bca-4dd9-91cf-8a7e6848d9d0", "Content-Type" : "application/json" }, "Response" : { - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "content-length" : "0", + "x-ms-ratelimit-remaining-subscription-deletes" : "14997", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "1330f212-c9ee-4d1a-815f-c5cb3205d67c", - "Date" : "Fri, 05 Mar 2021 05:00:19 GMT", + "x-ms-correlation-request-id" : "61add337-6a34-4b3a-911c-330bcb6d55f2", + "Date" : "Tue, 08 Feb 2022 05:54:23 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210305T050020Z:1330f212-c9ee-4d1a-815f-c5cb3205d67c", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055424Z:61add337-6a34-4b3a-911c-330bcb6d55f2", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "1330f212-c9ee-4d1a-815f-c5cb3205d67c", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMDk0MC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "61add337-6a34-4b3a-911c-330bcb6d55f2", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2OTIxNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null } ], - "variables" : [ "javacsmrg00940", "javacsmsa10856", "javacsmsa30132" ] + "variables" : [ "javacsmrg69217", "javacsmsa51639", "javacsmsa16534" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobContainersTests.canCreateBlobContainer.json b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobContainersTests.canCreateBlobContainer.json index dce4ec2538547..1ad1ae75090ca 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobContainersTests.canCreateBlobContainer.json +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobContainersTests.canCreateBlobContainer.json @@ -1,335 +1,287 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg24309?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg98513?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "56a52d5d-1987-447c-b1cc-dca6a3c66572", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "626e73d4-5ef5-4e28-99b2-278666da1442", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "225", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1194", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "c9240f3e-4045-4351-bc32-8e7325d36fc0", - "Date" : "Mon, 22 Feb 2021 06:20:06 GMT", + "x-ms-correlation-request-id" : "fd4850cf-88d6-4aec-a9e5-de84fc537ca2", + "Date" : "Tue, 08 Feb 2022 05:53:30 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062006Z:c9240f3e-4045-4351-bc32-8e7325d36fc0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055330Z:fd4850cf-88d6-4aec-a9e5-de84fc537ca2", "Expires" : "-1", - "Content-Length" : "225", - "x-ms-request-id" : "c9240f3e-4045-4351-bc32-8e7325d36fc0", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24309\",\"name\":\"javacsmrg24309\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "fd4850cf-88d6-4aec-a9e5-de84fc537ca2", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg98513\",\"name\":\"javacsmrg98513\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24309/providers/Microsoft.Storage/storageAccounts/javacmsa705794?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg98513/providers/Microsoft.Storage/storageAccounts/javacmsa39316d?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "f0f67cc4-b9b5-4e13-b39b-7229d8d3caa3", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "cf08655e-59ee-4c84-8a73-0b1b22b306e9", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1192", + "x-ms-ratelimit-remaining-subscription-writes" : "1195", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "e0be83c1-eb4b-479c-ac68-04f98bcfbbc0", - "Date" : "Mon, 22 Feb 2021 06:20:11 GMT", + "x-ms-correlation-request-id" : "009bb561-2119-4e45-9fd0-926c42f962ac", + "Date" : "Tue, 08 Feb 2022 05:53:37 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062011Z:e0be83c1-eb4b-479c-ac68-04f98bcfbbc0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055337Z:009bb561-2119-4e45-9fd0-926c42f962ac", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "001216da-c48e-4ff1-8099-7b3b3912657d", + "x-ms-request-id" : "72e94be6-6d63-4a07-a914-c1894904b7c1", "Body" : "", - "x-ms-client-request-id" : "f0f67cc4-b9b5-4e13-b39b-7229d8d3caa3", + "x-ms-client-request-id" : "cf08655e-59ee-4c84-8a73-0b1b22b306e9", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/001216da-c48e-4ff1-8099-7b3b3912657d?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/72e94be6-6d63-4a07-a914-c1894904b7c1?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/001216da-c48e-4ff1-8099-7b3b3912657d?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/72e94be6-6d63-4a07-a914-c1894904b7c1?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "1b6529a7-a5ca-427a-9ac3-6ed7b775fecf" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "feb8638d-7c54-4b7f-962c-196ed2271f55" }, "Response" : { + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", "StatusCode" : "200", - "x-ms-correlation-request-id" : "69d4250a-cd6a-48c0-8b1e-37584038e00b", - "Date" : "Mon, 22 Feb 2021 06:20:29 GMT", + "x-ms-correlation-request-id" : "6d85360c-b3ac-43ff-90a4-8b4e9fe56fca", + "Date" : "Tue, 08 Feb 2022 05:53:54 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062029Z:69d4250a-cd6a-48c0-8b1e-37584038e00b", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055355Z:6d85360c-b3ac-43ff-90a4-8b4e9fe56fca", "Expires" : "-1", - "Content-Length" : "1665", - "x-ms-request-id" : "42e09283-0535-4df6-bbdd-7a0cdb2b3398", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24309/providers/Microsoft.Storage/storageAccounts/javacmsa705794\",\"name\":\"javacmsa705794\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:11.2904140Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:11.2904140Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:11.1654219Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa705794.dfs.core.windows.net/\",\"web\":\"https://javacmsa705794.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa705794.blob.core.windows.net/\",\"queue\":\"https://javacmsa705794.queue.core.windows.net/\",\"table\":\"https://javacmsa705794.table.core.windows.net/\",\"file\":\"https://javacmsa705794.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa705794-secondary.dfs.core.windows.net/\",\"web\":\"https://javacmsa705794-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa705794-secondary.blob.core.windows.net/\",\"queue\":\"https://javacmsa705794-secondary.queue.core.windows.net/\",\"table\":\"https://javacmsa705794-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "1b6529a7-a5ca-427a-9ac3-6ed7b775fecf", + "x-ms-request-id" : "f24c6087-4d09-4f37-b57e-d59cfcf34dde", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg98513/providers/Microsoft.Storage/storageAccounts/javacmsa39316d\",\"name\":\"javacmsa39316d\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:36.2759369Z\",\"key2\":\"2022-02-08T05:53:36.2759369Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.2759369Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.2759369Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:36.1040501Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa39316d.dfs.core.windows.net/\",\"web\":\"https://javacmsa39316d.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa39316d.blob.core.windows.net/\",\"queue\":\"https://javacmsa39316d.queue.core.windows.net/\",\"table\":\"https://javacmsa39316d.table.core.windows.net/\",\"file\":\"https://javacmsa39316d.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa39316d-secondary.dfs.core.windows.net/\",\"web\":\"https://javacmsa39316d-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa39316d-secondary.blob.core.windows.net/\",\"queue\":\"https://javacmsa39316d-secondary.queue.core.windows.net/\",\"table\":\"https://javacmsa39316d-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "feb8638d-7c54-4b7f-962c-196ed2271f55", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24309/providers/Microsoft.Storage/storageAccounts/javacmsa705794?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg98513/providers/Microsoft.Storage/storageAccounts/javacmsa39316d?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "cb9a328e-98f8-452d-a503-a2fea2762dfc", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "27ae7c48-83ab-497f-89f4-2f260b4c69c3", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", "StatusCode" : "200", - "x-ms-correlation-request-id" : "d1119bac-165f-4c09-8360-3c535e7eeba2", - "Date" : "Mon, 22 Feb 2021 06:20:30 GMT", + "x-ms-correlation-request-id" : "8a4d3d1e-a587-4bb0-a267-9ce158a34781", + "Date" : "Tue, 08 Feb 2022 05:53:54 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062031Z:d1119bac-165f-4c09-8360-3c535e7eeba2", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055355Z:8a4d3d1e-a587-4bb0-a267-9ce158a34781", "Expires" : "-1", - "Content-Length" : "1665", - "x-ms-request-id" : "6f70c40e-30b2-423c-9fe9-8bc37924d953", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24309/providers/Microsoft.Storage/storageAccounts/javacmsa705794\",\"name\":\"javacmsa705794\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:11.2904140Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:11.2904140Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:11.1654219Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa705794.dfs.core.windows.net/\",\"web\":\"https://javacmsa705794.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa705794.blob.core.windows.net/\",\"queue\":\"https://javacmsa705794.queue.core.windows.net/\",\"table\":\"https://javacmsa705794.table.core.windows.net/\",\"file\":\"https://javacmsa705794.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa705794-secondary.dfs.core.windows.net/\",\"web\":\"https://javacmsa705794-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa705794-secondary.blob.core.windows.net/\",\"queue\":\"https://javacmsa705794-secondary.queue.core.windows.net/\",\"table\":\"https://javacmsa705794-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "cb9a328e-98f8-452d-a503-a2fea2762dfc", + "x-ms-request-id" : "b0cb2e9c-d084-47d9-9bf8-19a5fc132ea3", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg98513/providers/Microsoft.Storage/storageAccounts/javacmsa39316d\",\"name\":\"javacmsa39316d\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:36.2759369Z\",\"key2\":\"2022-02-08T05:53:36.2759369Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.2759369Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.2759369Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:36.1040501Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa39316d.dfs.core.windows.net/\",\"web\":\"https://javacmsa39316d.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa39316d.blob.core.windows.net/\",\"queue\":\"https://javacmsa39316d.queue.core.windows.net/\",\"table\":\"https://javacmsa39316d.table.core.windows.net/\",\"file\":\"https://javacmsa39316d.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa39316d-secondary.dfs.core.windows.net/\",\"web\":\"https://javacmsa39316d-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa39316d-secondary.blob.core.windows.net/\",\"queue\":\"https://javacmsa39316d-secondary.queue.core.windows.net/\",\"table\":\"https://javacmsa39316d-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "27ae7c48-83ab-497f-89f4-2f260b4c69c3", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24309/providers/Microsoft.Storage/storageAccounts/javacmsa705794/blobServices/default/containers/blob-test?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg98513/providers/Microsoft.Storage/storageAccounts/javacmsa39316d/blobServices/default/containers/blob-test?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "1aa5e533-1cc2-48c6-b230-27fbdd50ecd4", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "e4ea0497-4a2a-4116-a051-5cb7c7386178", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "442", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1197", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "821bb5d5-db01-4f4d-8bbd-6b7d790ced03", - "Date" : "Mon, 22 Feb 2021 06:20:31 GMT", + "x-ms-correlation-request-id" : "1750dbf8-2c3d-4dfb-a42a-01e250d4e2c6", + "Date" : "Tue, 08 Feb 2022 05:53:55 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "\"0x8D8D6F9F4EA86EF\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062031Z:821bb5d5-db01-4f4d-8bbd-6b7d790ced03", + "ETag" : "\"0x8D9EAC764DB7C22\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:1750dbf8-2c3d-4dfb-a42a-01e250d4e2c6", "Expires" : "-1", - "Content-Length" : "442", - "x-ms-request-id" : "74652421-9555-47a2-abb7-01a8f337cec4", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg24309/providers/Microsoft.Storage/storageAccounts/javacmsa705794/blobServices/default/containers/blob-test\",\"name\":\"blob-test\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers\",\"properties\":{\"deleted\":false,\"remainingRetentionDays\":0,\"metadata\":{\"a\":\"b\",\"c\":\"d\"},\"publicAccess\":\"Container\",\"hasImmutabilityPolicy\":false,\"hasLegalHold\":false}}", - "x-ms-client-request-id" : "1aa5e533-1cc2-48c6-b230-27fbdd50ecd4", + "x-ms-request-id" : "c2aa22d9-c170-463c-8508-7d99475c615d", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg98513/providers/Microsoft.Storage/storageAccounts/javacmsa39316d/blobServices/default/containers/blob-test\",\"name\":\"blob-test\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers\",\"properties\":{\"deleted\":false,\"remainingRetentionDays\":0,\"metadata\":{\"a\":\"b\",\"c\":\"d\"},\"publicAccess\":\"Container\",\"hasImmutabilityPolicy\":false,\"hasLegalHold\":false}}", + "x-ms-client-request-id" : "e4ea0497-4a2a-4116-a051-5cb7c7386178", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg24309?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg98513?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "93052766-56fb-4474-8adf-ac5381af47ef", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "ad6c2d34-6f13-4e26-aada-d505579040ae", "Content-Type" : "application/json" }, "Response" : { - "x-ms-ratelimit-remaining-subscription-deletes" : "14997", - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "b7b02311-99f2-48c4-8afb-f4dae26b1c3f", - "Date" : "Mon, 22 Feb 2021 06:20:34 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062035Z:b7b02311-99f2-48c4-8afb-f4dae26b1c3f", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "b7b02311-99f2-48c4-8afb-f4dae26b1c3f", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNDMwOS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNDMwOS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "c07b48dd-fdcc-45f5-aa7a-34ddaad7d6b4" - }, - "Response" : { + "content-length" : "0", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", "StatusCode" : "202", - "x-ms-correlation-request-id" : "a054532f-278e-48cb-905e-76edb99c362d", - "Date" : "Mon, 22 Feb 2021 06:20:50 GMT", + "x-ms-correlation-request-id" : "09b1d2a1-cbc0-429d-9237-c95a9e66060c", + "Date" : "Tue, 08 Feb 2022 05:53:57 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062051Z:a054532f-278e-48cb-905e-76edb99c362d", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055357Z:09b1d2a1-cbc0-429d-9237-c95a9e66060c", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "a054532f-278e-48cb-905e-76edb99c362d", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNDMwOS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "09b1d2a1-cbc0-429d-9237-c95a9e66060c", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5ODUxMy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNDMwOS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5ODUxMy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "70100aa5-de7d-4664-b6c5-3f615a8dadc7" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "78c72797-67ba-4f44-8c20-51691bcf6dea" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", "StatusCode" : "202", - "x-ms-correlation-request-id" : "23767189-6a5b-4253-873a-9c813c09e036", - "Date" : "Mon, 22 Feb 2021 06:21:06 GMT", + "x-ms-correlation-request-id" : "1c9f898b-057f-494f-844a-d139e20e1c89", + "Date" : "Tue, 08 Feb 2022 05:54:13 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062107Z:23767189-6a5b-4253-873a-9c813c09e036", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055413Z:1c9f898b-057f-494f-844a-d139e20e1c89", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "23767189-6a5b-4253-873a-9c813c09e036", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNDMwOS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "1c9f898b-057f-494f-844a-d139e20e1c89", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5ODUxMy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNDMwOS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5ODUxMy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "d0216a59-1513-4912-ba0f-58018d8e7911" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "0681d9e4-d777-46f3-9991-a5ad8a86c4a5" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", "StatusCode" : "202", - "x-ms-correlation-request-id" : "75a42be2-2554-4021-89fb-124d5b709b47", - "Date" : "Mon, 22 Feb 2021 06:21:23 GMT", + "x-ms-correlation-request-id" : "46c6fd37-48e7-4548-9fdd-dca780eab582", + "Date" : "Tue, 08 Feb 2022 05:54:28 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062123Z:75a42be2-2554-4021-89fb-124d5b709b47", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055428Z:46c6fd37-48e7-4548-9fdd-dca780eab582", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "75a42be2-2554-4021-89fb-124d5b709b47", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNDMwOS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "46c6fd37-48e7-4548-9fdd-dca780eab582", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5ODUxMy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNDMwOS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5ODUxMy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "14c8ec90-4e9b-4c3b-ae78-b4838c424e7e" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "09246af7-07b4-4ca5-b4eb-2cd3d6cac57c" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "1165bc1a-d40c-4370-abd4-4a4909912c8d", - "Date" : "Mon, 22 Feb 2021 06:21:38 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062139Z:1165bc1a-d40c-4370-abd4-4a4909912c8d", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "1165bc1a-d40c-4370-abd4-4a4909912c8d", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNDMwOS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNDMwOS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "4adc5c23-938b-4a90-a92c-cf8d008af6f8" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", "StatusCode" : "202", - "x-ms-correlation-request-id" : "c4cfa7b8-ca50-4a1f-ac30-349a28ee5c5b", - "Date" : "Mon, 22 Feb 2021 06:21:54 GMT", + "x-ms-correlation-request-id" : "44885e94-eef1-45ef-8f8a-85b87ac64379", + "Date" : "Tue, 08 Feb 2022 05:54:43 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062155Z:c4cfa7b8-ca50-4a1f-ac30-349a28ee5c5b", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055444Z:44885e94-eef1-45ef-8f8a-85b87ac64379", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "c4cfa7b8-ca50-4a1f-ac30-349a28ee5c5b", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNDMwOS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "44885e94-eef1-45ef-8f8a-85b87ac64379", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5ODUxMy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNDMwOS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5ODUxMy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "d218d486-af1d-42a4-8b27-10aec50551d3" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "a2f81585-721e-4939-abd5-71d23afa8b0a" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", "StatusCode" : "202", - "x-ms-correlation-request-id" : "611400e4-7817-465a-91b6-a2de4bd3e2b2", - "Date" : "Mon, 22 Feb 2021 06:22:10 GMT", + "x-ms-correlation-request-id" : "6fdb4c7e-1562-4b14-8d44-b10418308421", + "Date" : "Tue, 08 Feb 2022 05:54:59 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062210Z:611400e4-7817-465a-91b6-a2de4bd3e2b2", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055459Z:6fdb4c7e-1562-4b14-8d44-b10418308421", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "611400e4-7817-465a-91b6-a2de4bd3e2b2", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNDMwOS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "6fdb4c7e-1562-4b14-8d44-b10418308421", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5ODUxMy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyNDMwOS1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5ODUxMy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "b21d7151-b91f-4908-b478-95c747891450" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "c55d52cd-dea6-4113-a23a-f34f17746c92" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", "StatusCode" : "200", - "x-ms-correlation-request-id" : "ee0d1604-f977-40c4-8293-bd1974f48c74", - "Date" : "Mon, 22 Feb 2021 06:22:25 GMT", + "x-ms-correlation-request-id" : "2ffb09ab-e603-4267-bf9c-1d8d7faa3044", + "Date" : "Tue, 08 Feb 2022 05:55:14 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062226Z:ee0d1604-f977-40c4-8293-bd1974f48c74", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055515Z:2ffb09ab-e603-4267-bf9c-1d8d7faa3044", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "ee0d1604-f977-40c4-8293-bd1974f48c74" + "x-ms-request-id" : "2ffb09ab-e603-4267-bf9c-1d8d7faa3044" }, "Exception" : null } ], - "variables" : [ "javacsmrg24309", "javacmsa705794" ] + "variables" : [ "javacsmrg98513", "javacmsa39316d" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobContainersTests.canUpdateBlobContainer.json b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobContainersTests.canUpdateBlobContainer.json index 9924a757e7c74..5487c2d8fd761 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobContainersTests.canUpdateBlobContainer.json +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobContainersTests.canUpdateBlobContainer.json @@ -1,364 +1,316 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg42930?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg79010?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "e2caabc5-f9f4-4124-9b4b-510687120e75", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "fb43a48c-6cfc-4e49-8e59-c952d382ec38", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "225", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1192", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "0d0aad2a-01e6-47dc-8500-801c7359a211", - "Date" : "Mon, 22 Feb 2021 06:20:06 GMT", + "x-ms-correlation-request-id" : "b3e2b19c-acc3-485e-affe-99614aa01d07", + "Date" : "Tue, 08 Feb 2022 05:53:30 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062006Z:0d0aad2a-01e6-47dc-8500-801c7359a211", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055330Z:b3e2b19c-acc3-485e-affe-99614aa01d07", "Expires" : "-1", - "Content-Length" : "225", - "x-ms-request-id" : "0d0aad2a-01e6-47dc-8500-801c7359a211", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg42930\",\"name\":\"javacsmrg42930\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "b3e2b19c-acc3-485e-affe-99614aa01d07", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg79010\",\"name\":\"javacsmrg79010\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg42930/providers/Microsoft.Storage/storageAccounts/javacmsa187702?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg79010/providers/Microsoft.Storage/storageAccounts/javacmsa792285?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "d4f3bb9e-64b8-401b-af61-e6b32b4a6ad4", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "4925a352-5ce3-40e1-ab8b-bcce45b20383", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1191", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "aa12d226-1a0e-4230-a39d-ed5dc3dd9f66", - "Date" : "Mon, 22 Feb 2021 06:20:12 GMT", + "x-ms-correlation-request-id" : "2d41a2ea-ad7b-49b8-b932-73aa32589974", + "Date" : "Tue, 08 Feb 2022 05:53:37 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062013Z:aa12d226-1a0e-4230-a39d-ed5dc3dd9f66", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055337Z:2d41a2ea-ad7b-49b8-b932-73aa32589974", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "bf200690-482a-4726-82fa-423eac2f9f1b", + "x-ms-request-id" : "56884534-bf37-49be-93b5-12b3cdd35dc1", "Body" : "", - "x-ms-client-request-id" : "d4f3bb9e-64b8-401b-af61-e6b32b4a6ad4", + "x-ms-client-request-id" : "4925a352-5ce3-40e1-ab8b-bcce45b20383", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/bf200690-482a-4726-82fa-423eac2f9f1b?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/56884534-bf37-49be-93b5-12b3cdd35dc1?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/bf200690-482a-4726-82fa-423eac2f9f1b?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/56884534-bf37-49be-93b5-12b3cdd35dc1?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "e66b2498-caa7-4643-a0c9-11db4984d040" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "21fb3acc-3ab0-42a4-b2a4-8fd9ca269dc5" }, "Response" : { + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", "StatusCode" : "200", - "x-ms-correlation-request-id" : "507447b7-9f74-4ea1-bd6f-ff9d9b5e982e", - "Date" : "Mon, 22 Feb 2021 06:20:30 GMT", + "x-ms-correlation-request-id" : "87ea8425-4d0d-434b-96d2-afef01f0168b", + "Date" : "Tue, 08 Feb 2022 05:53:55 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062031Z:507447b7-9f74-4ea1-bd6f-ff9d9b5e982e", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055355Z:87ea8425-4d0d-434b-96d2-afef01f0168b", "Expires" : "-1", - "Content-Length" : "1665", - "x-ms-request-id" : "220cb8fa-f8d7-4eb4-9c26-416b54eb038b", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg42930/providers/Microsoft.Storage/storageAccounts/javacmsa187702\",\"name\":\"javacmsa187702\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:12.6341633Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:12.6341633Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:12.5247935Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa187702.dfs.core.windows.net/\",\"web\":\"https://javacmsa187702.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa187702.blob.core.windows.net/\",\"queue\":\"https://javacmsa187702.queue.core.windows.net/\",\"table\":\"https://javacmsa187702.table.core.windows.net/\",\"file\":\"https://javacmsa187702.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa187702-secondary.dfs.core.windows.net/\",\"web\":\"https://javacmsa187702-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa187702-secondary.blob.core.windows.net/\",\"queue\":\"https://javacmsa187702-secondary.queue.core.windows.net/\",\"table\":\"https://javacmsa187702-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "e66b2498-caa7-4643-a0c9-11db4984d040", + "x-ms-request-id" : "86648724-411e-4424-866a-838cb1806817", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg79010/providers/Microsoft.Storage/storageAccounts/javacmsa792285\",\"name\":\"javacmsa792285\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:36.0884253Z\",\"key2\":\"2022-02-08T05:53:36.0884253Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.0884253Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.0884253Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:35.9478565Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa792285.dfs.core.windows.net/\",\"web\":\"https://javacmsa792285.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa792285.blob.core.windows.net/\",\"queue\":\"https://javacmsa792285.queue.core.windows.net/\",\"table\":\"https://javacmsa792285.table.core.windows.net/\",\"file\":\"https://javacmsa792285.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa792285-secondary.dfs.core.windows.net/\",\"web\":\"https://javacmsa792285-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa792285-secondary.blob.core.windows.net/\",\"queue\":\"https://javacmsa792285-secondary.queue.core.windows.net/\",\"table\":\"https://javacmsa792285-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "21fb3acc-3ab0-42a4-b2a4-8fd9ca269dc5", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg42930/providers/Microsoft.Storage/storageAccounts/javacmsa187702?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg79010/providers/Microsoft.Storage/storageAccounts/javacmsa792285?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "3c0c42d9-6c48-434f-b397-35c02126476a", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "61ba7486-88b5-4c32-8ab6-7f619c56fe13", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "x-ms-ratelimit-remaining-subscription-reads" : "11997", "StatusCode" : "200", - "x-ms-correlation-request-id" : "fb009dbc-3423-4f89-8a91-69611e8da9bc", - "Date" : "Mon, 22 Feb 2021 06:20:30 GMT", + "x-ms-correlation-request-id" : "dda5480f-248f-4e0d-a10b-b4af15cfbc83", + "Date" : "Tue, 08 Feb 2022 05:53:55 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062031Z:fb009dbc-3423-4f89-8a91-69611e8da9bc", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055355Z:dda5480f-248f-4e0d-a10b-b4af15cfbc83", "Expires" : "-1", - "Content-Length" : "1665", - "x-ms-request-id" : "a096a5ce-ae65-4b56-995a-ba56caee9e39", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg42930/providers/Microsoft.Storage/storageAccounts/javacmsa187702\",\"name\":\"javacmsa187702\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:12.6341633Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:12.6341633Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:12.5247935Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa187702.dfs.core.windows.net/\",\"web\":\"https://javacmsa187702.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa187702.blob.core.windows.net/\",\"queue\":\"https://javacmsa187702.queue.core.windows.net/\",\"table\":\"https://javacmsa187702.table.core.windows.net/\",\"file\":\"https://javacmsa187702.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa187702-secondary.dfs.core.windows.net/\",\"web\":\"https://javacmsa187702-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa187702-secondary.blob.core.windows.net/\",\"queue\":\"https://javacmsa187702-secondary.queue.core.windows.net/\",\"table\":\"https://javacmsa187702-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "3c0c42d9-6c48-434f-b397-35c02126476a", + "x-ms-request-id" : "73f3f84f-7d13-4f48-b960-82b828d53381", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg79010/providers/Microsoft.Storage/storageAccounts/javacmsa792285\",\"name\":\"javacmsa792285\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:36.0884253Z\",\"key2\":\"2022-02-08T05:53:36.0884253Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.0884253Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.0884253Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:35.9478565Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa792285.dfs.core.windows.net/\",\"web\":\"https://javacmsa792285.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa792285.blob.core.windows.net/\",\"queue\":\"https://javacmsa792285.queue.core.windows.net/\",\"table\":\"https://javacmsa792285.table.core.windows.net/\",\"file\":\"https://javacmsa792285.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa792285-secondary.dfs.core.windows.net/\",\"web\":\"https://javacmsa792285-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacmsa792285-secondary.blob.core.windows.net/\",\"queue\":\"https://javacmsa792285-secondary.queue.core.windows.net/\",\"table\":\"https://javacmsa792285-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "61ba7486-88b5-4c32-8ab6-7f619c56fe13", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg42930/providers/Microsoft.Storage/storageAccounts/javacmsa187702/blobServices/default/containers/blob-test?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg79010/providers/Microsoft.Storage/storageAccounts/javacmsa792285/blobServices/default/containers/blob-test?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "8509e0da-e007-449c-92ea-8a6f6afeb574", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "9c2b78dc-32ce-457d-8137-3ef2d94129aa", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "434", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1194", + "x-ms-ratelimit-remaining-subscription-writes" : "1186", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "fda9c382-2e10-4ab8-b87a-eeb6d14a74be", - "Date" : "Mon, 22 Feb 2021 06:20:31 GMT", + "x-ms-correlation-request-id" : "28ec3d88-5c8f-4d4d-a3e4-0134e5221d1a", + "Date" : "Tue, 08 Feb 2022 05:53:56 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "\"0x8D8D6F9F516777A\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062032Z:fda9c382-2e10-4ab8-b87a-eeb6d14a74be", + "ETag" : "\"0x8D9EAC765647EF8\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055357Z:28ec3d88-5c8f-4d4d-a3e4-0134e5221d1a", "Expires" : "-1", - "Content-Length" : "434", - "x-ms-request-id" : "6b8cfa8c-2a11-47a5-9aab-502fef5e9b25", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg42930/providers/Microsoft.Storage/storageAccounts/javacmsa187702/blobServices/default/containers/blob-test\",\"name\":\"blob-test\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers\",\"properties\":{\"deleted\":false,\"remainingRetentionDays\":0,\"metadata\":{\"a\":\"b\"},\"publicAccess\":\"Container\",\"hasImmutabilityPolicy\":false,\"hasLegalHold\":false}}", - "x-ms-client-request-id" : "8509e0da-e007-449c-92ea-8a6f6afeb574", + "x-ms-request-id" : "afe7be61-b271-4c1c-8834-7ffb096c1b42", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg79010/providers/Microsoft.Storage/storageAccounts/javacmsa792285/blobServices/default/containers/blob-test\",\"name\":\"blob-test\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers\",\"properties\":{\"deleted\":false,\"remainingRetentionDays\":0,\"metadata\":{\"a\":\"b\"},\"publicAccess\":\"Container\",\"hasImmutabilityPolicy\":false,\"hasLegalHold\":false}}", + "x-ms-client-request-id" : "9c2b78dc-32ce-457d-8137-3ef2d94129aa", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PATCH", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg42930/providers/Microsoft.Storage/storageAccounts/javacmsa187702/blobServices/default/containers/blob-test?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg79010/providers/Microsoft.Storage/storageAccounts/javacmsa792285/blobServices/default/containers/blob-test?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "78a1767b-3c51-423f-bbca-8a2c6a18d326", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "3af3d555-5650-4f65-9b0b-4a6f24a8817c", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "437", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "x-ms-ratelimit-remaining-subscription-writes" : "1189", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "4e8b90e8-056a-42db-ac19-4d9bd324db92", - "Date" : "Mon, 22 Feb 2021 06:20:32 GMT", + "x-ms-correlation-request-id" : "dad3facb-5d20-48bd-afca-d8d67f2ac0f4", + "Date" : "Tue, 08 Feb 2022 05:53:57 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "ETag" : "\"0x8D8D6F9F57B8D39\"", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062032Z:4e8b90e8-056a-42db-ac19-4d9bd324db92", + "ETag" : "\"0x8D9EAC7662BEE37\"", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055358Z:dad3facb-5d20-48bd-afca-d8d67f2ac0f4", "Expires" : "-1", - "Content-Length" : "437", - "x-ms-request-id" : "fa103e22-23b2-458a-97ca-dd696fcaa531", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg42930/providers/Microsoft.Storage/storageAccounts/javacmsa187702/blobServices/default/containers/blob-test\",\"name\":\"blob-test\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers\",\"properties\":{\"deleted\":false,\"remainingRetentionDays\":0,\"metadata\":{\"c\":\"d\",\"e\":\"f\"},\"publicAccess\":\"Blob\",\"hasImmutabilityPolicy\":false,\"hasLegalHold\":false}}", - "x-ms-client-request-id" : "78a1767b-3c51-423f-bbca-8a2c6a18d326", + "x-ms-request-id" : "5b31c674-ed13-4365-9658-bf497f19f0bf", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg79010/providers/Microsoft.Storage/storageAccounts/javacmsa792285/blobServices/default/containers/blob-test\",\"name\":\"blob-test\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices/containers\",\"properties\":{\"deleted\":false,\"remainingRetentionDays\":0,\"metadata\":{\"c\":\"d\",\"e\":\"f\"},\"publicAccess\":\"Blob\",\"hasImmutabilityPolicy\":false,\"hasLegalHold\":false}}", + "x-ms-client-request-id" : "3af3d555-5650-4f65-9b0b-4a6f24a8817c", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg42930?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg79010?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "ac78d556-c56d-40e5-aa50-df7aa1246af7", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "5fe8b0b4-ebbf-4cdb-b1ff-5a0e7ddfd504", "Content-Type" : "application/json" }, "Response" : { - "x-ms-ratelimit-remaining-subscription-deletes" : "14998", + "content-length" : "0", + "x-ms-ratelimit-remaining-subscription-deletes" : "14994", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "9e9a892c-51b9-41bb-8bf2-034ccb1b1491", - "Date" : "Mon, 22 Feb 2021 06:20:35 GMT", + "x-ms-correlation-request-id" : "d8b8bc90-8596-4a10-91d6-e9d523399f7f", + "Date" : "Tue, 08 Feb 2022 05:54:01 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062035Z:9e9a892c-51b9-41bb-8bf2-034ccb1b1491", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055401Z:d8b8bc90-8596-4a10-91d6-e9d523399f7f", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "9e9a892c-51b9-41bb-8bf2-034ccb1b1491", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0MjkzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "d8b8bc90-8596-4a10-91d6-e9d523399f7f", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc3OTAxMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0MjkzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc3OTAxMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "4beebe02-0875-410e-ad4b-ef742947ae88" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "ee0cc0b9-e13b-44e3-bac7-e0a0d1f6f9f6" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "x-ms-ratelimit-remaining-subscription-reads" : "11970", "StatusCode" : "202", - "x-ms-correlation-request-id" : "77d2a4ae-7f92-4e76-994b-6dd760b2d18b", - "Date" : "Mon, 22 Feb 2021 06:20:50 GMT", + "x-ms-correlation-request-id" : "a94d9a04-60b2-43ad-afab-a834dd0ff8a7", + "Date" : "Tue, 08 Feb 2022 05:54:17 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062051Z:77d2a4ae-7f92-4e76-994b-6dd760b2d18b", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055417Z:a94d9a04-60b2-43ad-afab-a834dd0ff8a7", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "77d2a4ae-7f92-4e76-994b-6dd760b2d18b", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0MjkzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "a94d9a04-60b2-43ad-afab-a834dd0ff8a7", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc3OTAxMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0MjkzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc3OTAxMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "260c751f-e1de-43ce-90d2-a88a01729de2" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "a2d0046d-8df6-4f58-b664-772a0b8d1fa4" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "99c0f65e-a0e8-466f-b81d-9a764e9e8282", - "Date" : "Mon, 22 Feb 2021 06:21:07 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062107Z:99c0f65e-a0e8-466f-b81d-9a764e9e8282", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "99c0f65e-a0e8-466f-b81d-9a764e9e8282", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0MjkzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0MjkzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "4c10d126-eff7-45e8-9670-b4e8940702eb" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "x-ms-ratelimit-remaining-subscription-reads" : "11975", "StatusCode" : "202", - "x-ms-correlation-request-id" : "1ab85b8c-65c6-4cb6-be14-0d220a34d7e2", - "Date" : "Mon, 22 Feb 2021 06:21:22 GMT", + "x-ms-correlation-request-id" : "27105842-2737-46b8-89be-ef8f2a9b7869", + "Date" : "Tue, 08 Feb 2022 05:54:32 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062123Z:1ab85b8c-65c6-4cb6-be14-0d220a34d7e2", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055433Z:27105842-2737-46b8-89be-ef8f2a9b7869", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "1ab85b8c-65c6-4cb6-be14-0d220a34d7e2", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0MjkzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "27105842-2737-46b8-89be-ef8f2a9b7869", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc3OTAxMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0MjkzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc3OTAxMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "93fa65ac-fc91-4fe4-9a78-413306099ba2" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "d4452878-2130-4963-9e1e-4c1d3270803a" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", "StatusCode" : "202", - "x-ms-correlation-request-id" : "e3f39c16-5a66-4161-be90-d0bed0922325", - "Date" : "Mon, 22 Feb 2021 06:21:38 GMT", + "x-ms-correlation-request-id" : "70c2944c-3375-4a96-9fc2-589a5c260b05", + "Date" : "Tue, 08 Feb 2022 05:54:47 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062138Z:e3f39c16-5a66-4161-be90-d0bed0922325", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055448Z:70c2944c-3375-4a96-9fc2-589a5c260b05", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "e3f39c16-5a66-4161-be90-d0bed0922325", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0MjkzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "70c2944c-3375-4a96-9fc2-589a5c260b05", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc3OTAxMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0MjkzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc3OTAxMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "ca463f93-5364-41b0-b15b-4446c5b9f2a6" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "cf7b39a3-b669-41b5-97e7-14bddea06ac0" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11978", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", "StatusCode" : "202", - "x-ms-correlation-request-id" : "284068b1-2c35-462c-a589-c5762006aa18", - "Date" : "Mon, 22 Feb 2021 06:21:53 GMT", + "x-ms-correlation-request-id" : "581e3035-db75-4132-b7b2-c7ce578037da", + "Date" : "Tue, 08 Feb 2022 05:55:04 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062154Z:284068b1-2c35-462c-a589-c5762006aa18", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055504Z:581e3035-db75-4132-b7b2-c7ce578037da", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "284068b1-2c35-462c-a589-c5762006aa18", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0MjkzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "581e3035-db75-4132-b7b2-c7ce578037da", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc3OTAxMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0MjkzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc3OTAxMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "0da68df2-0959-4ee0-9aa4-9bdbdfe9728a" - }, - "Response" : { - "X-Content-Type-Options" : "nosniff", - "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", - "StatusCode" : "202", - "x-ms-correlation-request-id" : "53d8330a-a07d-4046-9a83-e9e152c2f9b2", - "Date" : "Mon, 22 Feb 2021 06:22:09 GMT", - "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", - "Cache-Control" : "no-cache", - "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062209Z:53d8330a-a07d-4046-9a83-e9e152c2f9b2", - "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "53d8330a-a07d-4046-9a83-e9e152c2f9b2", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0MjkzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0MjkzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", - "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "1dc25bc7-3f78-455b-9154-ab9fe9b8b82a" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "a4b66fcb-0fdc-4a90-a970-fa21a7cc980c" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", "StatusCode" : "200", - "x-ms-correlation-request-id" : "5f921110-b4aa-4626-a72e-8891fdaeb96c", - "Date" : "Mon, 22 Feb 2021 06:22:25 GMT", + "x-ms-correlation-request-id" : "e0eeba94-6b16-4069-afb4-946cc224293d", + "Date" : "Tue, 08 Feb 2022 05:55:19 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062225Z:5f921110-b4aa-4626-a72e-8891fdaeb96c", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055519Z:e0eeba94-6b16-4069-afb4-946cc224293d", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "5f921110-b4aa-4626-a72e-8891fdaeb96c" + "x-ms-request-id" : "e0eeba94-6b16-4069-afb4-946cc224293d" }, "Exception" : null } ], - "variables" : [ "javacsmrg42930", "javacmsa187702" ] + "variables" : [ "javacsmrg79010", "javacmsa792285" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobServicesTests.canCreateBlobServices.json b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobServicesTests.canCreateBlobServices.json index 38eb44fa8ff07..5b67b90fbafcf 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobServicesTests.canCreateBlobServices.json +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobServicesTests.canCreateBlobServices.json @@ -1,334 +1,358 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg93063?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg02007?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "def860bd-7a8a-4148-a103-a00e669be1f9", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "73cda2b5-ad77-45b2-b543-ab620968a96a", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "225", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1199", + "x-ms-ratelimit-remaining-subscription-writes" : "1196", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "4242439b-bbb5-41e7-96fb-afd1805ceada", - "Date" : "Mon, 22 Feb 2021 06:20:05 GMT", + "x-ms-correlation-request-id" : "b136d3fe-8e71-411c-8fb5-7d54f41ac8f1", + "Date" : "Tue, 08 Feb 2022 05:53:30 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062006Z:4242439b-bbb5-41e7-96fb-afd1805ceada", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055330Z:b136d3fe-8e71-411c-8fb5-7d54f41ac8f1", "Expires" : "-1", - "Content-Length" : "225", - "x-ms-request-id" : "4242439b-bbb5-41e7-96fb-afd1805ceada", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg93063\",\"name\":\"javacsmrg93063\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "b136d3fe-8e71-411c-8fb5-7d54f41ac8f1", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg02007\",\"name\":\"javacsmrg02007\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg93063/providers/Microsoft.Storage/storageAccounts/javacsmsa84922?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg02007/providers/Microsoft.Storage/storageAccounts/javacsmsa89292?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "893d59ea-1077-4b57-be95-5ef9b4f52d33", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "e49eab8e-a155-46e8-8c43-a364e23ce18f", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "x-ms-ratelimit-remaining-subscription-writes" : "1195", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "d234c6c1-3187-4997-b783-59026e4744d1", - "Date" : "Mon, 22 Feb 2021 06:20:12 GMT", + "x-ms-correlation-request-id" : "f32b8e45-2784-4cf0-ad3e-0410b7d9e8ff", + "Date" : "Tue, 08 Feb 2022 05:53:36 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062012Z:d234c6c1-3187-4997-b783-59026e4744d1", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055336Z:f32b8e45-2784-4cf0-ad3e-0410b7d9e8ff", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "ed242ea3-ac07-42e8-aeec-52109dfa0cf0", + "x-ms-request-id" : "7ef4a183-b0d5-4355-b8fc-c95d778287ef", "Body" : "", - "x-ms-client-request-id" : "893d59ea-1077-4b57-be95-5ef9b4f52d33", + "x-ms-client-request-id" : "e49eab8e-a155-46e8-8c43-a364e23ce18f", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ed242ea3-ac07-42e8-aeec-52109dfa0cf0?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/7ef4a183-b0d5-4355-b8fc-c95d778287ef?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/ed242ea3-ac07-42e8-aeec-52109dfa0cf0?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/7ef4a183-b0d5-4355-b8fc-c95d778287ef?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "e534abd9-6512-458f-9a39-96af711f1129" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "2ec19ff4-fbd8-4cba-93e6-fea5e76f7c33" }, "Response" : { + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11997", + "x-ms-ratelimit-remaining-subscription-reads" : "11999", "StatusCode" : "200", - "x-ms-correlation-request-id" : "4069ff27-8281-4b97-ae24-9d1413d4f668", - "Date" : "Mon, 22 Feb 2021 06:20:30 GMT", + "x-ms-correlation-request-id" : "60ebbe4d-40a3-4823-88ee-4c8f3da76f3a", + "Date" : "Tue, 08 Feb 2022 05:53:53 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062030Z:4069ff27-8281-4b97-ae24-9d1413d4f668", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055354Z:60ebbe4d-40a3-4823-88ee-4c8f3da76f3a", "Expires" : "-1", - "Content-Length" : "1665", - "x-ms-request-id" : "0048b436-28bc-4541-bbff-e8b2e2251c7e", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg93063/providers/Microsoft.Storage/storageAccounts/javacsmsa84922\",\"name\":\"javacsmsa84922\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:12.1498308Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:12.1498308Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:12.0404229Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa84922.dfs.core.windows.net/\",\"web\":\"https://javacsmsa84922.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa84922.blob.core.windows.net/\",\"queue\":\"https://javacsmsa84922.queue.core.windows.net/\",\"table\":\"https://javacsmsa84922.table.core.windows.net/\",\"file\":\"https://javacsmsa84922.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa84922-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa84922-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa84922-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa84922-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa84922-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "e534abd9-6512-458f-9a39-96af711f1129", + "x-ms-request-id" : "7734414a-1403-4efa-84a1-b8e8df0206d1", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg02007/providers/Microsoft.Storage/storageAccounts/javacsmsa89292\",\"name\":\"javacsmsa89292\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:34.9165800Z\",\"key2\":\"2022-02-08T05:53:34.9165800Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:34.9165800Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:34.9165800Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:34.7759716Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa89292.dfs.core.windows.net/\",\"web\":\"https://javacsmsa89292.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa89292.blob.core.windows.net/\",\"queue\":\"https://javacsmsa89292.queue.core.windows.net/\",\"table\":\"https://javacsmsa89292.table.core.windows.net/\",\"file\":\"https://javacsmsa89292.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa89292-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa89292-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa89292-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa89292-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa89292-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "2ec19ff4-fbd8-4cba-93e6-fea5e76f7c33", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg93063/providers/Microsoft.Storage/storageAccounts/javacsmsa84922?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg02007/providers/Microsoft.Storage/storageAccounts/javacsmsa89292?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "7363ab71-0c08-4497-a860-a0fdc205de73", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "0d1ffacd-8e47-419a-9967-fef636d1cfe8", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "x-ms-ratelimit-remaining-subscription-reads" : "11990", "StatusCode" : "200", - "x-ms-correlation-request-id" : "05f5af6a-0a34-439f-afd5-e1a51eb33d28", - "Date" : "Mon, 22 Feb 2021 06:20:30 GMT", + "x-ms-correlation-request-id" : "cd09554a-0458-4c3e-8624-fb553ed962ce", + "Date" : "Tue, 08 Feb 2022 05:53:54 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062031Z:05f5af6a-0a34-439f-afd5-e1a51eb33d28", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055354Z:cd09554a-0458-4c3e-8624-fb553ed962ce", "Expires" : "-1", - "Content-Length" : "1665", - "x-ms-request-id" : "93410d11-de3e-4039-8b9f-c71131918365", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg93063/providers/Microsoft.Storage/storageAccounts/javacsmsa84922\",\"name\":\"javacsmsa84922\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:12.1498308Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:12.1498308Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:12.0404229Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa84922.dfs.core.windows.net/\",\"web\":\"https://javacsmsa84922.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa84922.blob.core.windows.net/\",\"queue\":\"https://javacsmsa84922.queue.core.windows.net/\",\"table\":\"https://javacsmsa84922.table.core.windows.net/\",\"file\":\"https://javacsmsa84922.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa84922-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa84922-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa84922-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa84922-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa84922-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "7363ab71-0c08-4497-a860-a0fdc205de73", + "x-ms-request-id" : "cce53910-d546-4888-a0de-671568dbab0a", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg02007/providers/Microsoft.Storage/storageAccounts/javacsmsa89292\",\"name\":\"javacsmsa89292\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:34.9165800Z\",\"key2\":\"2022-02-08T05:53:34.9165800Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:34.9165800Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:34.9165800Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:34.7759716Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa89292.dfs.core.windows.net/\",\"web\":\"https://javacsmsa89292.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa89292.blob.core.windows.net/\",\"queue\":\"https://javacsmsa89292.queue.core.windows.net/\",\"table\":\"https://javacsmsa89292.table.core.windows.net/\",\"file\":\"https://javacsmsa89292.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa89292-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa89292-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa89292-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa89292-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa89292-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "0d1ffacd-8e47-419a-9967-fef636d1cfe8", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg93063/providers/Microsoft.Storage/storageAccounts/javacsmsa84922/blobServices/default?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg02007/providers/Microsoft.Storage/storageAccounts/javacsmsa89292/blobServices/default?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "a1ca694b-cbd8-41db-b0f8-7f60fa72fbbd", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "dfc58a90-be87-4ef8-99b5-2213c4bbf91c", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "308", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1190", + "x-ms-ratelimit-remaining-subscription-writes" : "1188", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "448fdd32-4e82-42cf-81a8-b1e6624d260f", - "Date" : "Mon, 22 Feb 2021 06:20:31 GMT", + "x-ms-correlation-request-id" : "c65918d0-29e0-467e-a9ec-4b0a5a37d189", + "Date" : "Tue, 08 Feb 2022 05:53:54 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062031Z:448fdd32-4e82-42cf-81a8-b1e6624d260f", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055355Z:c65918d0-29e0-467e-a9ec-4b0a5a37d189", "Expires" : "-1", - "Content-Length" : "308", - "x-ms-request-id" : "8edeb8b8-5f3c-469e-ae90-1f11b405e549", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg93063/providers/Microsoft.Storage/storageAccounts/javacsmsa84922/blobServices/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices\",\"properties\":{\"deleteRetentionPolicy\":{\"enabled\":true,\"days\":5}}}", - "x-ms-client-request-id" : "a1ca694b-cbd8-41db-b0f8-7f60fa72fbbd", + "x-ms-request-id" : "2048cde9-84b5-4386-bd9a-f66dc342810f", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg02007/providers/Microsoft.Storage/storageAccounts/javacsmsa89292/blobServices/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices\",\"properties\":{\"deleteRetentionPolicy\":{\"enabled\":true,\"days\":5}}}", + "x-ms-client-request-id" : "dfc58a90-be87-4ef8-99b5-2213c4bbf91c", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg93063?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg02007?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "d2746ee4-df55-44b4-a26a-bc56c4377dd3", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "6362998b-3b70-49e2-ac93-045c02c0d715", "Content-Type" : "application/json" }, "Response" : { - "x-ms-ratelimit-remaining-subscription-deletes" : "14998", + "content-length" : "0", + "x-ms-ratelimit-remaining-subscription-deletes" : "14996", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "91af52ba-e2ab-41ca-8da5-245ab8b5ba44", - "Date" : "Mon, 22 Feb 2021 06:20:34 GMT", + "x-ms-correlation-request-id" : "15a316cb-f96e-44d6-88e5-c58c0ea258ec", + "Date" : "Tue, 08 Feb 2022 05:53:57 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062034Z:91af52ba-e2ab-41ca-8da5-245ab8b5ba44", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055358Z:15a316cb-f96e-44d6-88e5-c58c0ea258ec", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "91af52ba-e2ab-41ca-8da5-245ab8b5ba44", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5MzA2My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "15a316cb-f96e-44d6-88e5-c58c0ea258ec", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5MzA2My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "c99df1cd-c898-48e5-83c1-f22b1bda4375" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "b2089e6d-cae2-4b08-b7f6-d6f1bcbb01d9" }, "Response" : { + "content-length" : "0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "x-ms-ratelimit-remaining-subscription-reads" : "11982", + "StatusCode" : "202", + "x-ms-correlation-request-id" : "36c4c628-ad96-48b0-8bf7-717fbaf69722", + "Date" : "Tue, 08 Feb 2022 05:54:14 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055414Z:36c4c628-ad96-48b0-8bf7-717fbaf69722", + "Expires" : "-1", + "x-ms-request-id" : "36c4c628-ad96-48b0-8bf7-717fbaf69722", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "bf6187f9-18c0-43d7-9398-5ca6c5142b41" + }, + "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "x-ms-ratelimit-remaining-subscription-reads" : "11990", "StatusCode" : "202", - "x-ms-correlation-request-id" : "310ca5cd-f29c-4d1f-9eed-71b007483602", - "Date" : "Mon, 22 Feb 2021 06:20:49 GMT", + "x-ms-correlation-request-id" : "98886756-e4f5-4453-a702-49ccb3f9438a", + "Date" : "Tue, 08 Feb 2022 05:54:29 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062050Z:310ca5cd-f29c-4d1f-9eed-71b007483602", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055430Z:98886756-e4f5-4453-a702-49ccb3f9438a", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "310ca5cd-f29c-4d1f-9eed-71b007483602", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5MzA2My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "98886756-e4f5-4453-a702-49ccb3f9438a", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5MzA2My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "f6b03c3a-9402-421e-a8a3-fb093c36d740" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "5aa776be-ba6c-405c-9359-0f335ac4ef7a" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11992", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "202", - "x-ms-correlation-request-id" : "6703ccf6-0cba-4d55-b79c-6cb1e8cf7342", - "Date" : "Mon, 22 Feb 2021 06:21:05 GMT", + "x-ms-correlation-request-id" : "7552947d-7494-4599-8b83-7832ee97a1df", + "Date" : "Tue, 08 Feb 2022 05:54:45 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062105Z:6703ccf6-0cba-4d55-b79c-6cb1e8cf7342", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055445Z:7552947d-7494-4599-8b83-7832ee97a1df", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "6703ccf6-0cba-4d55-b79c-6cb1e8cf7342", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5MzA2My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "7552947d-7494-4599-8b83-7832ee97a1df", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5MzA2My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "84a9bf57-8c97-495d-8f06-860b14e8707e" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "5ad9125e-0a7e-43ee-8f04-8ba5109e53c0" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", "StatusCode" : "202", - "x-ms-correlation-request-id" : "d3781968-df40-461a-9d93-16945d651274", - "Date" : "Mon, 22 Feb 2021 06:21:20 GMT", + "x-ms-correlation-request-id" : "60e0f8e8-c08e-48d1-ad4b-6d33d7514d78", + "Date" : "Tue, 08 Feb 2022 05:55:01 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062121Z:d3781968-df40-461a-9d93-16945d651274", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055502Z:60e0f8e8-c08e-48d1-ad4b-6d33d7514d78", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "d3781968-df40-461a-9d93-16945d651274", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5MzA2My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "60e0f8e8-c08e-48d1-ad4b-6d33d7514d78", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5MzA2My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "1bc109c9-458f-436e-b3d0-c8c67033bdec" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "2e859b26-fffc-4727-9379-ded41fd4506e" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", "StatusCode" : "202", - "x-ms-correlation-request-id" : "8be76283-4a5b-40d2-83ac-37cbc80adef3", - "Date" : "Mon, 22 Feb 2021 06:21:36 GMT", + "x-ms-correlation-request-id" : "df73dddf-c9fd-4496-9b94-5959c64dd705", + "Date" : "Tue, 08 Feb 2022 05:55:17 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062136Z:8be76283-4a5b-40d2-83ac-37cbc80adef3", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055517Z:df73dddf-c9fd-4496-9b94-5959c64dd705", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "8be76283-4a5b-40d2-83ac-37cbc80adef3", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5MzA2My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "df73dddf-c9fd-4496-9b94-5959c64dd705", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5MzA2My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "5f161c8a-9d5e-4425-8b77-0e3cae696b98" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "cbac151f-783c-4878-9617-893fab0c4597" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11979", + "x-ms-ratelimit-remaining-subscription-reads" : "11992", "StatusCode" : "202", - "x-ms-correlation-request-id" : "aaa8ce2a-fbe7-4944-a4dd-29fd84ad8c7c", - "Date" : "Mon, 22 Feb 2021 06:21:52 GMT", + "x-ms-correlation-request-id" : "38082070-4399-4c17-bcc7-a432ffdac9f8", + "Date" : "Tue, 08 Feb 2022 05:55:32 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062152Z:aaa8ce2a-fbe7-4944-a4dd-29fd84ad8c7c", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055533Z:38082070-4399-4c17-bcc7-a432ffdac9f8", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "aaa8ce2a-fbe7-4944-a4dd-29fd84ad8c7c", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5MzA2My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "38082070-4399-4c17-bcc7-a432ffdac9f8", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5MzA2My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "b3726f00-c1be-466a-a84d-e4530db25dcd" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "e3dd4970-6e1d-4a96-be7e-e05c61ea1829" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11977", + "x-ms-ratelimit-remaining-subscription-reads" : "11984", "StatusCode" : "202", - "x-ms-correlation-request-id" : "6ae0cd1a-22e6-40ba-9adf-e3dfab6210cd", - "Date" : "Mon, 22 Feb 2021 06:22:07 GMT", + "x-ms-correlation-request-id" : "7f862870-8976-474e-89ea-56e2e119ecd3", + "Date" : "Tue, 08 Feb 2022 05:55:48 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062208Z:6ae0cd1a-22e6-40ba-9adf-e3dfab6210cd", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055548Z:7f862870-8976-474e-89ea-56e2e119ecd3", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "6ae0cd1a-22e6-40ba-9adf-e3dfab6210cd", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5MzA2My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "7f862870-8976-474e-89ea-56e2e119ecd3", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5MzA2My1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwMjAwNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "2ed6068f-965c-4f36-8376-9fa0c77fc4ff" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "1eedcf83-34fe-419d-af7c-cff5e7c7ef77" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11976", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "200", - "x-ms-correlation-request-id" : "5e6d4a91-9f5d-406a-aaee-d7e40c5b3933", - "Date" : "Mon, 22 Feb 2021 06:22:23 GMT", + "x-ms-correlation-request-id" : "71287f66-3d7c-4b84-a174-11062f1ea3f1", + "Date" : "Tue, 08 Feb 2022 05:56:04 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062223Z:5e6d4a91-9f5d-406a-aaee-d7e40c5b3933", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055605Z:71287f66-3d7c-4b84-a174-11062f1ea3f1", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "5e6d4a91-9f5d-406a-aaee-d7e40c5b3933" + "x-ms-request-id" : "71287f66-3d7c-4b84-a174-11062f1ea3f1" }, "Exception" : null } ], - "variables" : [ "javacsmrg93063", "javacsmsa84922" ] + "variables" : [ "javacsmrg02007", "javacsmsa89292" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobServicesTests.canUpdateBlobServices.json b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobServicesTests.canUpdateBlobServices.json index 7c3fd3e056840..a007c14a128e4 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobServicesTests.canUpdateBlobServices.json +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageBlobServicesTests.canUpdateBlobServices.json @@ -1,362 +1,386 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg50230?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg45327?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "1522311a-5730-47ab-a290-12988cb2976a", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "36006c55-85b9-491d-8e83-8b99edfdda12", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "225", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1198", + "x-ms-ratelimit-remaining-subscription-writes" : "1199", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "a448145d-306d-453b-bf56-b8122d14b122", - "Date" : "Mon, 22 Feb 2021 06:20:06 GMT", + "x-ms-correlation-request-id" : "0f72f8a3-7016-4cf4-9bfe-9efdffb68908", + "Date" : "Tue, 08 Feb 2022 05:53:32 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062006Z:a448145d-306d-453b-bf56-b8122d14b122", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055332Z:0f72f8a3-7016-4cf4-9bfe-9efdffb68908", "Expires" : "-1", - "Content-Length" : "225", - "x-ms-request-id" : "a448145d-306d-453b-bf56-b8122d14b122", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg50230\",\"name\":\"javacsmrg50230\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "0f72f8a3-7016-4cf4-9bfe-9efdffb68908", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg45327\",\"name\":\"javacsmrg45327\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"eastus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg50230/providers/Microsoft.Storage/storageAccounts/javacsmsa81978?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg45327/providers/Microsoft.Storage/storageAccounts/javacsmsa48873?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "bf2fb7cc-4f2a-46d8-a85f-cec0086292d9", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "b3542a77-765d-4074-8d8b-47dc34dfeaa2", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "x-ms-ratelimit-remaining-subscription-writes" : "1198", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "da9092e7-9c94-4843-8c18-81fcb5f5538c", - "Date" : "Mon, 22 Feb 2021 06:20:11 GMT", + "x-ms-correlation-request-id" : "dadf2da2-7c5e-4b65-9a9b-b5732a3a2d3e", + "Date" : "Tue, 08 Feb 2022 05:53:38 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062011Z:da9092e7-9c94-4843-8c18-81fcb5f5538c", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055339Z:dadf2da2-7c5e-4b65-9a9b-b5732a3a2d3e", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "1e11f995-dab1-438c-9762-995bc42c4207", + "x-ms-request-id" : "85213ebb-6dc6-40b3-8ae3-4f4edbabc5d9", "Body" : "", - "x-ms-client-request-id" : "bf2fb7cc-4f2a-46d8-a85f-cec0086292d9", + "x-ms-client-request-id" : "b3542a77-765d-4074-8d8b-47dc34dfeaa2", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/1e11f995-dab1-438c-9762-995bc42c4207?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/85213ebb-6dc6-40b3-8ae3-4f4edbabc5d9?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/1e11f995-dab1-438c-9762-995bc42c4207?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/85213ebb-6dc6-40b3-8ae3-4f4edbabc5d9?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "a60e0c3a-76ba-4379-9293-d2b3bbd49524" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "2c11db1c-dbe9-4ab3-9a3b-c7342e2ccea2" }, "Response" : { + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "x-ms-ratelimit-remaining-subscription-reads" : "11978", "StatusCode" : "200", - "x-ms-correlation-request-id" : "ecc019c3-9bb4-4092-a3aa-e39f450656a0", - "Date" : "Mon, 22 Feb 2021 06:20:29 GMT", + "x-ms-correlation-request-id" : "4873fdfa-e5ec-4d1d-9c95-4468cf4bbba4", + "Date" : "Tue, 08 Feb 2022 05:53:55 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062029Z:ecc019c3-9bb4-4092-a3aa-e39f450656a0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:4873fdfa-e5ec-4d1d-9c95-4468cf4bbba4", "Expires" : "-1", - "Content-Length" : "1665", - "x-ms-request-id" : "40fc4212-1d6d-4f69-9e61-94c22a57b878", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg50230/providers/Microsoft.Storage/storageAccounts/javacsmsa81978\",\"name\":\"javacsmsa81978\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:11.2122884Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:11.2122884Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:11.1029262Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa81978.dfs.core.windows.net/\",\"web\":\"https://javacsmsa81978.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa81978.blob.core.windows.net/\",\"queue\":\"https://javacsmsa81978.queue.core.windows.net/\",\"table\":\"https://javacsmsa81978.table.core.windows.net/\",\"file\":\"https://javacsmsa81978.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa81978-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa81978-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa81978-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa81978-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa81978-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "a60e0c3a-76ba-4379-9293-d2b3bbd49524", + "x-ms-request-id" : "84227c1b-b976-4e13-8c4d-f16184f88ff4", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg45327/providers/Microsoft.Storage/storageAccounts/javacsmsa48873\",\"name\":\"javacsmsa48873\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:37.7915883Z\",\"key2\":\"2022-02-08T05:53:37.7915883Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.7915883Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.7915883Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:37.6509495Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa48873.dfs.core.windows.net/\",\"web\":\"https://javacsmsa48873.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa48873.blob.core.windows.net/\",\"queue\":\"https://javacsmsa48873.queue.core.windows.net/\",\"table\":\"https://javacsmsa48873.table.core.windows.net/\",\"file\":\"https://javacsmsa48873.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa48873-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa48873-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa48873-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa48873-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa48873-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "2c11db1c-dbe9-4ab3-9a3b-c7342e2ccea2", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg50230/providers/Microsoft.Storage/storageAccounts/javacsmsa81978?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg45327/providers/Microsoft.Storage/storageAccounts/javacsmsa48873?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "229327e6-2191-4fe5-9788-b908308f2185", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "20ebc1eb-a2df-4f21-aed7-184c4f8df2d6", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1819", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "x-ms-ratelimit-remaining-subscription-reads" : "11979", "StatusCode" : "200", - "x-ms-correlation-request-id" : "511f2c93-8821-4fa0-8331-b0886656413e", - "Date" : "Mon, 22 Feb 2021 06:20:29 GMT", + "x-ms-correlation-request-id" : "2b9938bb-3f99-41db-b2ce-85a3be3bd73b", + "Date" : "Tue, 08 Feb 2022 05:53:55 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062030Z:511f2c93-8821-4fa0-8331-b0886656413e", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:2b9938bb-3f99-41db-b2ce-85a3be3bd73b", "Expires" : "-1", - "Content-Length" : "1665", - "x-ms-request-id" : "c8479903-9e69-417a-a576-93e57b748d02", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg50230/providers/Microsoft.Storage/storageAccounts/javacsmsa81978\",\"name\":\"javacsmsa81978\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:11.2122884Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:11.2122884Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:11.1029262Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa81978.dfs.core.windows.net/\",\"web\":\"https://javacsmsa81978.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa81978.blob.core.windows.net/\",\"queue\":\"https://javacsmsa81978.queue.core.windows.net/\",\"table\":\"https://javacsmsa81978.table.core.windows.net/\",\"file\":\"https://javacsmsa81978.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa81978-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa81978-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa81978-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa81978-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa81978-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "229327e6-2191-4fe5-9788-b908308f2185", + "x-ms-request-id" : "eaeb12b4-4310-4341-b525-ef3e11f92d41", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"StorageV2\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg45327/providers/Microsoft.Storage/storageAccounts/javacsmsa48873\",\"name\":\"javacsmsa48873\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"eastus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:37.7915883Z\",\"key2\":\"2022-02-08T05:53:37.7915883Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.7915883Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.7915883Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Hot\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:37.6509495Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacsmsa48873.dfs.core.windows.net/\",\"web\":\"https://javacsmsa48873.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa48873.blob.core.windows.net/\",\"queue\":\"https://javacsmsa48873.queue.core.windows.net/\",\"table\":\"https://javacsmsa48873.table.core.windows.net/\",\"file\":\"https://javacsmsa48873.file.core.windows.net/\"},\"primaryLocation\":\"eastus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacsmsa48873-secondary.dfs.core.windows.net/\",\"web\":\"https://javacsmsa48873-secondary.z13.web.core.windows.net/\",\"blob\":\"https://javacsmsa48873-secondary.blob.core.windows.net/\",\"queue\":\"https://javacsmsa48873-secondary.queue.core.windows.net/\",\"table\":\"https://javacsmsa48873-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "20ebc1eb-a2df-4f21-aed7-184c4f8df2d6", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg50230/providers/Microsoft.Storage/storageAccounts/javacsmsa81978/blobServices/default?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg45327/providers/Microsoft.Storage/storageAccounts/javacsmsa48873/blobServices/default?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "7f3a022f-8f03-4e0e-8764-fe5efece35e8", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "3d752ed5-31ba-42e0-913e-05edac8e93ec", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "308", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1191", + "x-ms-ratelimit-remaining-subscription-writes" : "1185", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "a0b85ce9-8112-4400-b0bd-c7810eb51c87", - "Date" : "Mon, 22 Feb 2021 06:20:30 GMT", + "x-ms-correlation-request-id" : "ade3ac1b-a982-4518-858f-4afce21575ce", + "Date" : "Tue, 08 Feb 2022 05:53:57 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062031Z:a0b85ce9-8112-4400-b0bd-c7810eb51c87", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055358Z:ade3ac1b-a982-4518-858f-4afce21575ce", "Expires" : "-1", - "Content-Length" : "308", - "x-ms-request-id" : "ddc9d907-6994-430d-86a8-e7945988b4b4", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg50230/providers/Microsoft.Storage/storageAccounts/javacsmsa81978/blobServices/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices\",\"properties\":{\"deleteRetentionPolicy\":{\"enabled\":true,\"days\":5}}}", - "x-ms-client-request-id" : "7f3a022f-8f03-4e0e-8764-fe5efece35e8", + "x-ms-request-id" : "f939dcc4-6235-4769-8f8c-719e8c78e86e", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg45327/providers/Microsoft.Storage/storageAccounts/javacsmsa48873/blobServices/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices\",\"properties\":{\"deleteRetentionPolicy\":{\"enabled\":true,\"days\":5}}}", + "x-ms-client-request-id" : "3d752ed5-31ba-42e0-913e-05edac8e93ec", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg50230/providers/Microsoft.Storage/storageAccounts/javacsmsa81978/blobServices/default?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg45327/providers/Microsoft.Storage/storageAccounts/javacsmsa48873/blobServices/default?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "d04a1789-28b6-4213-ab94-78b7c0170675", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "66342ba8-400c-436d-b1ee-17648210c913", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "300", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1190", + "x-ms-ratelimit-remaining-subscription-writes" : "1184", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "66dfbbc7-0289-4abf-b07a-c41e935ddfa6", - "Date" : "Mon, 22 Feb 2021 06:20:32 GMT", + "x-ms-correlation-request-id" : "9aa2c205-2575-43b7-be94-79f2042bde53", + "Date" : "Tue, 08 Feb 2022 05:53:57 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062032Z:66dfbbc7-0289-4abf-b07a-c41e935ddfa6", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055358Z:9aa2c205-2575-43b7-be94-79f2042bde53", "Expires" : "-1", - "Content-Length" : "300", - "x-ms-request-id" : "5f6241e7-a4ec-4006-b8b4-e41bc6814ccd", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg50230/providers/Microsoft.Storage/storageAccounts/javacsmsa81978/blobServices/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices\",\"properties\":{\"deleteRetentionPolicy\":{\"enabled\":false}}}", - "x-ms-client-request-id" : "d04a1789-28b6-4213-ab94-78b7c0170675", + "x-ms-request-id" : "ab1c49d3-4a3e-43c2-bf52-4e086d4d6716", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg45327/providers/Microsoft.Storage/storageAccounts/javacsmsa48873/blobServices/default\",\"name\":\"default\",\"type\":\"Microsoft.Storage/storageAccounts/blobServices\",\"properties\":{\"deleteRetentionPolicy\":{\"enabled\":false}}}", + "x-ms-client-request-id" : "66342ba8-400c-436d-b1ee-17648210c913", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg50230?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg45327?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "2b941cbc-809f-4231-80ad-b6b528df01ec", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "ddc59d68-bca8-4508-9054-fc90a0c01a8e", "Content-Type" : "application/json" }, "Response" : { - "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "content-length" : "0", + "x-ms-ratelimit-remaining-subscription-deletes" : "14995", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "6b2aac34-0333-4304-bb68-68376c7a0a48", - "Date" : "Mon, 22 Feb 2021 06:20:34 GMT", + "x-ms-correlation-request-id" : "d701a4ef-2e74-493c-9829-1ed8811b8d6d", + "Date" : "Tue, 08 Feb 2022 05:53:59 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062035Z:6b2aac34-0333-4304-bb68-68376c7a0a48", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055400Z:d701a4ef-2e74-493c-9829-1ed8811b8d6d", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "6b2aac34-0333-4304-bb68-68376c7a0a48", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1MDIzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "d701a4ef-2e74-493c-9829-1ed8811b8d6d", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1MDIzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "f4e9c03b-8d32-412a-9bf9-0f0d8f6f7dfa" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "f9c4bf49-11c6-4aa9-8f79-c0d428164483" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "x-ms-ratelimit-remaining-subscription-reads" : "11977", "StatusCode" : "202", - "x-ms-correlation-request-id" : "38c0d9f7-cbce-4c42-9cbf-8a5e5ddbab41", - "Date" : "Mon, 22 Feb 2021 06:20:50 GMT", + "x-ms-correlation-request-id" : "010f5ed2-9a90-49f2-b4b1-7ee23085fecc", + "Date" : "Tue, 08 Feb 2022 05:54:15 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062050Z:38c0d9f7-cbce-4c42-9cbf-8a5e5ddbab41", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055415Z:010f5ed2-9a90-49f2-b4b1-7ee23085fecc", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "38c0d9f7-cbce-4c42-9cbf-8a5e5ddbab41", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1MDIzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "010f5ed2-9a90-49f2-b4b1-7ee23085fecc", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1MDIzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "8d21e98f-efbb-45ff-a415-8a6d9450c6c5" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "fc23ab73-5bbb-4d52-ac18-2cc0d6c47901" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "202", - "x-ms-correlation-request-id" : "0afb82de-ee21-4560-bf7f-9cb903c7195b", - "Date" : "Mon, 22 Feb 2021 06:21:05 GMT", + "x-ms-correlation-request-id" : "bdf517bb-1a5d-463e-a97f-967e4c3a18d3", + "Date" : "Tue, 08 Feb 2022 05:54:31 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062106Z:0afb82de-ee21-4560-bf7f-9cb903c7195b", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055431Z:bdf517bb-1a5d-463e-a97f-967e4c3a18d3", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "0afb82de-ee21-4560-bf7f-9cb903c7195b", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1MDIzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "bdf517bb-1a5d-463e-a97f-967e4c3a18d3", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1MDIzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "7ffeca7d-4a92-4dd3-8469-f3bab1a22255" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "7b29b084-8c82-4a0b-88fe-9c17b86e7b60" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11990", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", "StatusCode" : "202", - "x-ms-correlation-request-id" : "ea09080c-5d20-4d7d-bcac-e31f29a9efe9", - "Date" : "Mon, 22 Feb 2021 06:21:20 GMT", + "x-ms-correlation-request-id" : "e2d12032-abba-4538-8e0e-149da5acab89", + "Date" : "Tue, 08 Feb 2022 05:54:47 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062121Z:ea09080c-5d20-4d7d-bcac-e31f29a9efe9", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055447Z:e2d12032-abba-4538-8e0e-149da5acab89", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "ea09080c-5d20-4d7d-bcac-e31f29a9efe9", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1MDIzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "e2d12032-abba-4538-8e0e-149da5acab89", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1MDIzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "010d84ab-6c50-4661-8895-a5a24cd445a9" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "7a719379-4d11-4259-acdb-fdfa51731686" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "x-ms-ratelimit-remaining-subscription-reads" : "11972", "StatusCode" : "202", - "x-ms-correlation-request-id" : "78e55b63-16a5-480e-bc9b-7a3c58976b9f", - "Date" : "Mon, 22 Feb 2021 06:21:36 GMT", + "x-ms-correlation-request-id" : "3df41f62-ff89-4ded-94a6-9ef8347e0e7a", + "Date" : "Tue, 08 Feb 2022 05:55:02 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062137Z:78e55b63-16a5-480e-bc9b-7a3c58976b9f", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055503Z:3df41f62-ff89-4ded-94a6-9ef8347e0e7a", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "78e55b63-16a5-480e-bc9b-7a3c58976b9f", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1MDIzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "3df41f62-ff89-4ded-94a6-9ef8347e0e7a", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1MDIzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "210b347b-ec4b-4ee6-85a7-95f4ed45b6bb" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "a96daa3d-dd34-4d11-b54a-cee80a25e727" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "x-ms-ratelimit-remaining-subscription-reads" : "11971", "StatusCode" : "202", - "x-ms-correlation-request-id" : "5338a604-3231-4ebf-a008-16ca0c7f878e", - "Date" : "Mon, 22 Feb 2021 06:21:53 GMT", + "x-ms-correlation-request-id" : "2d2720b8-e1fc-42c4-9803-8b666bfddc7f", + "Date" : "Tue, 08 Feb 2022 05:55:17 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062153Z:5338a604-3231-4ebf-a008-16ca0c7f878e", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055518Z:2d2720b8-e1fc-42c4-9803-8b666bfddc7f", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "5338a604-3231-4ebf-a008-16ca0c7f878e", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1MDIzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "2d2720b8-e1fc-42c4-9803-8b666bfddc7f", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1MDIzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "e444e809-755c-45de-87d1-cd8ccae255f7" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "7220f517-605b-488c-a16d-49e75252e400" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", + "StatusCode" : "202", + "x-ms-correlation-request-id" : "8bdfb5b3-2c8a-46b7-aa52-c338b22614cc", + "Date" : "Tue, 08 Feb 2022 05:55:33 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055534Z:8bdfb5b3-2c8a-46b7-aa52-c338b22614cc", + "Expires" : "-1", + "x-ms-request-id" : "8bdfb5b3-2c8a-46b7-aa52-c338b22614cc", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "fcadcdbf-3c0a-470d-99bc-18cfdf6e48d5" + }, + "Response" : { + "content-length" : "0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "x-ms-ratelimit-remaining-subscription-reads" : "11969", "StatusCode" : "202", - "x-ms-correlation-request-id" : "0a6bd8dc-9740-4ddd-a10b-9bbb3446d29d", - "Date" : "Mon, 22 Feb 2021 06:22:08 GMT", + "x-ms-correlation-request-id" : "c88e1701-f07e-4e81-9ce2-70266eb6dd37", + "Date" : "Tue, 08 Feb 2022 05:55:49 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062209Z:0a6bd8dc-9740-4ddd-a10b-9bbb3446d29d", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055549Z:c88e1701-f07e-4e81-9ce2-70266eb6dd37", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "0a6bd8dc-9740-4ddd-a10b-9bbb3446d29d", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1MDIzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01" + "x-ms-request-id" : "c88e1701-f07e-4e81-9ce2-70266eb6dd37", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc1MDIzMC1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0NTMyNy1FQVNUVVMiLCJqb2JMb2NhdGlvbiI6ImVhc3R1cyJ9?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "21b5488f-dc03-4d78-a362-b9110677c9e6" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "6fcb35d0-2523-4106-ab46-cabe87fb0221" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11975", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", "StatusCode" : "200", - "x-ms-correlation-request-id" : "0aa6e54e-b9c2-415f-aa23-d5262c0b1a83", - "Date" : "Mon, 22 Feb 2021 06:22:24 GMT", + "x-ms-correlation-request-id" : "9c00fa8e-9628-4043-b4f9-ce8c4db79030", + "Date" : "Tue, 08 Feb 2022 05:56:05 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062224Z:0aa6e54e-b9c2-415f-aa23-d5262c0b1a83", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055605Z:9c00fa8e-9628-4043-b4f9-ce8c4db79030", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "0aa6e54e-b9c2-415f-aa23-d5262c0b1a83" + "x-ms-request-id" : "9c00fa8e-9628-4043-b4f9-ce8c4db79030" }, "Exception" : null } ], - "variables" : [ "javacsmrg50230", "javacsmsa81978" ] + "variables" : [ "javacsmrg45327", "javacsmsa48873" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageManagementPoliciesTests.canCreateManagementPolicies.json b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageManagementPoliciesTests.canCreateManagementPolicies.json index 590d1c1170bec..d0e3e738b725b 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageManagementPoliciesTests.canCreateManagementPolicies.json +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageManagementPoliciesTests.canCreateManagementPolicies.json @@ -1,310 +1,358 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg97459?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg62646?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "caab82fc-e0b7-4523-a78a-d9db5fe45b83", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "4ace5a24-ce68-4a4c-a347-e29d71be4600", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "232", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1197", + "x-ms-ratelimit-remaining-subscription-writes" : "1192", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "3fd5fdd7-747a-4b45-a6f8-3ba7a68cd206", - "Date" : "Mon, 22 Feb 2021 06:20:06 GMT", + "x-ms-correlation-request-id" : "ecc3568d-c16c-4c93-8e62-848407e00b91", + "Date" : "Tue, 08 Feb 2022 05:53:29 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062006Z:3fd5fdd7-747a-4b45-a6f8-3ba7a68cd206", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055329Z:ecc3568d-c16c-4c93-8e62-848407e00b91", "Expires" : "-1", - "Content-Length" : "232", - "x-ms-request-id" : "3fd5fdd7-747a-4b45-a6f8-3ba7a68cd206", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg97459\",\"name\":\"javacsmrg97459\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "ecc3568d-c16c-4c93-8e62-848407e00b91", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg62646\",\"name\":\"javacsmrg62646\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg97459/providers/Microsoft.Storage/storageAccounts/javacmsa129042?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg62646/providers/Microsoft.Storage/storageAccounts/javacmsa405694?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "8e28d896-d2b9-4933-b369-1b80ff9f5ec8", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "3c0eacf5-6c07-41da-bdcb-e0db09203ec9", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "x-ms-ratelimit-remaining-subscription-writes" : "1191", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "a9483c50-89cf-407b-a00f-621ed335cea4", - "Date" : "Mon, 22 Feb 2021 06:20:13 GMT", + "x-ms-correlation-request-id" : "b54728f9-cee0-4ddd-a84c-31f9515b928c", + "Date" : "Tue, 08 Feb 2022 05:53:37 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062013Z:a9483c50-89cf-407b-a00f-621ed335cea4", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055337Z:b54728f9-cee0-4ddd-a84c-31f9515b928c", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "bef39225-f726-4615-a320-0dcca4d33013", + "x-ms-request-id" : "5a56b8e3-e04e-488e-9e49-2bac9c404465", "Body" : "", - "x-ms-client-request-id" : "8e28d896-d2b9-4933-b369-1b80ff9f5ec8", + "x-ms-client-request-id" : "3c0eacf5-6c07-41da-bdcb-e0db09203ec9", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/bef39225-f726-4615-a320-0dcca4d33013?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/5a56b8e3-e04e-488e-9e49-2bac9c404465?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/bef39225-f726-4615-a320-0dcca4d33013?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/5a56b8e3-e04e-488e-9e49-2bac9c404465?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "cbf7dc9a-2767-458f-8b61-412a9265b005" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "7204b3ec-f60e-427d-b87b-94d6b5115e6c" }, "Response" : { + "content-length" : "1534", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "x-ms-ratelimit-remaining-subscription-reads" : "11983", "StatusCode" : "200", - "x-ms-correlation-request-id" : "8fd0adbe-2ccd-4c1d-a84d-942ee9f639fa", - "Date" : "Mon, 22 Feb 2021 06:20:30 GMT", + "x-ms-correlation-request-id" : "9429bb62-8f75-48c4-82cd-22d676c6803c", + "Date" : "Tue, 08 Feb 2022 05:53:54 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062031Z:8fd0adbe-2ccd-4c1d-a84d-942ee9f639fa", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055355Z:9429bb62-8f75-48c4-82cd-22d676c6803c", "Expires" : "-1", - "Content-Length" : "1380", - "x-ms-request-id" : "75855aa2-1a52-4a6f-82fb-febcb8537849", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"BlobStorage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg97459/providers/Microsoft.Storage/storageAccounts/javacmsa129042\",\"name\":\"javacmsa129042\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:13.1047414Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:13.1047414Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Cool\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:13.0422184Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa129042.dfs.core.windows.net/\",\"blob\":\"https://javacmsa129042.blob.core.windows.net/\",\"table\":\"https://javacmsa129042.table.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa129042-secondary.dfs.core.windows.net/\",\"blob\":\"https://javacmsa129042-secondary.blob.core.windows.net/\",\"table\":\"https://javacmsa129042-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "cbf7dc9a-2767-458f-8b61-412a9265b005", + "x-ms-request-id" : "70b55156-a037-477f-8aee-7999359748a6", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"BlobStorage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg62646/providers/Microsoft.Storage/storageAccounts/javacmsa405694\",\"name\":\"javacmsa405694\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:35.6217418Z\",\"key2\":\"2022-02-08T05:53:35.6217418Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:35.6373914Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:35.6373914Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Cool\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:35.5592897Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa405694.dfs.core.windows.net/\",\"blob\":\"https://javacmsa405694.blob.core.windows.net/\",\"table\":\"https://javacmsa405694.table.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa405694-secondary.dfs.core.windows.net/\",\"blob\":\"https://javacmsa405694-secondary.blob.core.windows.net/\",\"table\":\"https://javacmsa405694-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "7204b3ec-f60e-427d-b87b-94d6b5115e6c", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg97459/providers/Microsoft.Storage/storageAccounts/javacmsa129042?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg62646/providers/Microsoft.Storage/storageAccounts/javacmsa405694?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "35a94f36-cb20-4e6e-acbf-f7bea701b31d", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "b9330bb7-953a-4df2-9c2d-bd56076399f6", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1534", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11996", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", "StatusCode" : "200", - "x-ms-correlation-request-id" : "b369f2bc-3296-4224-8936-d2c078130e31", - "Date" : "Mon, 22 Feb 2021 06:20:31 GMT", + "x-ms-correlation-request-id" : "f92c59bc-3690-425a-b487-d41e73eba199", + "Date" : "Tue, 08 Feb 2022 05:53:56 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062031Z:b369f2bc-3296-4224-8936-d2c078130e31", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:f92c59bc-3690-425a-b487-d41e73eba199", "Expires" : "-1", - "Content-Length" : "1380", - "x-ms-request-id" : "a7a629e0-c214-456f-8ed0-4081e2adb5ca", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"BlobStorage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg97459/providers/Microsoft.Storage/storageAccounts/javacmsa129042\",\"name\":\"javacmsa129042\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:13.1047414Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:13.1047414Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Cool\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:13.0422184Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa129042.dfs.core.windows.net/\",\"blob\":\"https://javacmsa129042.blob.core.windows.net/\",\"table\":\"https://javacmsa129042.table.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa129042-secondary.dfs.core.windows.net/\",\"blob\":\"https://javacmsa129042-secondary.blob.core.windows.net/\",\"table\":\"https://javacmsa129042-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "35a94f36-cb20-4e6e-acbf-f7bea701b31d", + "x-ms-request-id" : "c165cb4e-f374-4110-a639-0228afae62b5", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"BlobStorage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg62646/providers/Microsoft.Storage/storageAccounts/javacmsa405694\",\"name\":\"javacmsa405694\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:35.6217418Z\",\"key2\":\"2022-02-08T05:53:35.6217418Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:35.6373914Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:35.6373914Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Cool\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:35.5592897Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa405694.dfs.core.windows.net/\",\"blob\":\"https://javacmsa405694.blob.core.windows.net/\",\"table\":\"https://javacmsa405694.table.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa405694-secondary.dfs.core.windows.net/\",\"blob\":\"https://javacmsa405694-secondary.blob.core.windows.net/\",\"table\":\"https://javacmsa405694-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "b9330bb7-953a-4df2-9c2d-bd56076399f6", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg97459/providers/Microsoft.Storage/storageAccounts/javacmsa129042/managementPolicies/default?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg62646/providers/Microsoft.Storage/storageAccounts/javacmsa405694/managementPolicies/default?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "4049d8f2-276f-4e73-94ae-691744b1bf1e", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "3ee2a803-41c6-4598-9964-3a847ce9348c", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "745", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1196", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "bdd23c44-3f38-499e-a9eb-728bf1493cfb", - "Date" : "Mon, 22 Feb 2021 06:20:32 GMT", + "x-ms-correlation-request-id" : "d2b1cdeb-257d-4d3a-afdb-3c4dc0bb0b01", + "Date" : "Tue, 08 Feb 2022 05:53:56 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062033Z:bdd23c44-3f38-499e-a9eb-728bf1493cfb", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:d2b1cdeb-257d-4d3a-afdb-3c4dc0bb0b01", "Expires" : "-1", - "Content-Length" : "745", - "x-ms-request-id" : "47e99797-c6e8-48e4-9d6a-b201cc7c8ba8", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg97459/providers/Microsoft.Storage/storageAccounts/javacmsa129042/managementPolicies/default\",\"name\":\"DefaultManagementPolicy\",\"type\":\"Microsoft.Storage/storageAccounts/managementPolicies\",\"properties\":{\"policy\":{\"rules\":[{\"enabled\":true,\"name\":\"rule1\",\"type\":\"Lifecycle\",\"definition\":{\"actions\":{\"baseBlob\":{\"tierToCool\":{\"daysAfterModificationGreaterThan\":30.0},\"tierToArchive\":{\"daysAfterModificationGreaterThan\":90.0},\"delete\":{\"daysAfterModificationGreaterThan\":2555.0}},\"snapshot\":{\"delete\":{\"daysAfterCreationGreaterThan\":90.0}}},\"filters\":{\"blobTypes\":[\"blockBlob\"],\"prefixMatch\":[\"container1/foo\"]}}}]},\"lastModifiedTime\":\"2021-02-22T06:20:32.8410014Z\"}}", - "x-ms-client-request-id" : "4049d8f2-276f-4e73-94ae-691744b1bf1e", + "x-ms-request-id" : "c483045b-ce2c-47f3-8965-a59a1b1783c7", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg62646/providers/Microsoft.Storage/storageAccounts/javacmsa405694/managementPolicies/default\",\"name\":\"DefaultManagementPolicy\",\"type\":\"Microsoft.Storage/storageAccounts/managementPolicies\",\"properties\":{\"policy\":{\"rules\":[{\"enabled\":true,\"name\":\"rule1\",\"type\":\"Lifecycle\",\"definition\":{\"actions\":{\"baseBlob\":{\"tierToCool\":{\"daysAfterModificationGreaterThan\":30.0},\"tierToArchive\":{\"daysAfterModificationGreaterThan\":90.0},\"delete\":{\"daysAfterModificationGreaterThan\":2555.0}},\"snapshot\":{\"delete\":{\"daysAfterCreationGreaterThan\":90.0}}},\"filters\":{\"blobTypes\":[\"blockBlob\"],\"prefixMatch\":[\"container1/foo\"]}}}]},\"lastModifiedTime\":\"2022-02-08T05:53:56.7938531Z\"}}", + "x-ms-client-request-id" : "3ee2a803-41c6-4598-9964-3a847ce9348c", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg97459?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg62646?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "e246eaa9-0ba6-4ea3-95e2-b094b8dd2be8", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "e1ab9e78-6dd2-4e9b-b4a6-7969a3f2fa9b", "Content-Type" : "application/json" }, "Response" : { - "x-ms-ratelimit-remaining-subscription-deletes" : "14998", + "content-length" : "0", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "StatusCode" : "202", + "x-ms-correlation-request-id" : "407b8802-b443-4e1d-a30d-e1541e8b1a38", + "Date" : "Tue, 08 Feb 2022 05:54:02 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055402Z:407b8802-b443-4e1d-a30d-e1541e8b1a38", + "Expires" : "-1", + "x-ms-request-id" : "407b8802-b443-4e1d-a30d-e1541e8b1a38", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "4759a467-6b19-465c-ba57-e27d00f83977" + }, + "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", + "x-ms-ratelimit-remaining-subscription-reads" : "11976", "StatusCode" : "202", - "x-ms-correlation-request-id" : "40a55228-4235-49c4-b8e2-b141f05fdd74", - "Date" : "Mon, 22 Feb 2021 06:20:35 GMT", + "x-ms-correlation-request-id" : "6e1ae35d-57e7-462e-897a-adb3d768fd0a", + "Date" : "Tue, 08 Feb 2022 05:54:18 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062035Z:40a55228-4235-49c4-b8e2-b141f05fdd74", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055419Z:6e1ae35d-57e7-462e-897a-adb3d768fd0a", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "40a55228-4235-49c4-b8e2-b141f05fdd74", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5NzQ1OS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "6e1ae35d-57e7-462e-897a-adb3d768fd0a", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5NzQ1OS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "fb2e3b1b-1e36-4dcb-baa9-43310dfdcc06" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "7dda0024-d554-4960-a8db-3d4500cdcbd9" }, "Response" : { + "content-length" : "0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "202", + "x-ms-correlation-request-id" : "599e7928-e0d9-4b1b-a9f6-5172759467e9", + "Date" : "Tue, 08 Feb 2022 05:54:35 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055435Z:599e7928-e0d9-4b1b-a9f6-5172759467e9", + "Expires" : "-1", + "x-ms-request-id" : "599e7928-e0d9-4b1b-a9f6-5172759467e9", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "921c0778-89e3-44c8-8bfb-a86f1ab4bde3" + }, + "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "x-ms-ratelimit-remaining-subscription-reads" : "11986", "StatusCode" : "202", - "x-ms-correlation-request-id" : "e2c149a6-4e7a-435c-b55c-03869806c897", - "Date" : "Mon, 22 Feb 2021 06:20:50 GMT", + "x-ms-correlation-request-id" : "140b6d5a-913b-4592-be85-382a6c49f668", + "Date" : "Tue, 08 Feb 2022 05:54:51 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062051Z:e2c149a6-4e7a-435c-b55c-03869806c897", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055451Z:140b6d5a-913b-4592-be85-382a6c49f668", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "e2c149a6-4e7a-435c-b55c-03869806c897", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5NzQ1OS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "140b6d5a-913b-4592-be85-382a6c49f668", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5NzQ1OS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "d57eaa2c-246f-4f42-bff2-ccc7dc318793" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "e7a9f29d-c04b-4f6a-a409-2db4cd9931fc" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", "StatusCode" : "202", - "x-ms-correlation-request-id" : "b69cd0d6-147c-49b3-bb78-e5b473c14da9", - "Date" : "Mon, 22 Feb 2021 06:21:06 GMT", + "x-ms-correlation-request-id" : "a7c2a674-2127-46b2-9232-c133b7e45f1a", + "Date" : "Tue, 08 Feb 2022 05:55:06 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062106Z:b69cd0d6-147c-49b3-bb78-e5b473c14da9", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055507Z:a7c2a674-2127-46b2-9232-c133b7e45f1a", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "b69cd0d6-147c-49b3-bb78-e5b473c14da9", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5NzQ1OS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "a7c2a674-2127-46b2-9232-c133b7e45f1a", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5NzQ1OS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "da1593f0-f952-420e-9bd2-0282b06342dc" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "a786d141-7537-41d7-8032-6ad3488bbe8e" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "x-ms-ratelimit-remaining-subscription-reads" : "11996", "StatusCode" : "202", - "x-ms-correlation-request-id" : "234f2608-9c6a-4de1-a89e-6c4fa480d426", - "Date" : "Mon, 22 Feb 2021 06:21:22 GMT", + "x-ms-correlation-request-id" : "4db2ee55-dddc-4864-8c37-4ad0d14b7a21", + "Date" : "Tue, 08 Feb 2022 05:55:23 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062122Z:234f2608-9c6a-4de1-a89e-6c4fa480d426", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055523Z:4db2ee55-dddc-4864-8c37-4ad0d14b7a21", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "234f2608-9c6a-4de1-a89e-6c4fa480d426", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5NzQ1OS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "4db2ee55-dddc-4864-8c37-4ad0d14b7a21", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5NzQ1OS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "c3b78985-2e13-4cce-b4f1-e87b9e0a3159" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "97dac422-bbe1-438a-a1c4-e851496fe2f1" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11980", + "x-ms-ratelimit-remaining-subscription-reads" : "11987", "StatusCode" : "202", - "x-ms-correlation-request-id" : "8d97a968-799a-4513-9391-1396bb62b8f5", - "Date" : "Mon, 22 Feb 2021 06:21:36 GMT", + "x-ms-correlation-request-id" : "4e9e6074-19f9-408e-bcb7-1bc3dd63b0f0", + "Date" : "Tue, 08 Feb 2022 05:55:38 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062137Z:8d97a968-799a-4513-9391-1396bb62b8f5", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055538Z:4e9e6074-19f9-408e-bcb7-1bc3dd63b0f0", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "8d97a968-799a-4513-9391-1396bb62b8f5", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5NzQ1OS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "4e9e6074-19f9-408e-bcb7-1bc3dd63b0f0", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5NzQ1OS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "6868349a-ef5e-4ba3-9a88-c515743d2949" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "7eaa2794-f21e-4a40-a4b2-25b23932a5c1" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "x-ms-ratelimit-remaining-subscription-reads" : "11968", "StatusCode" : "202", - "x-ms-correlation-request-id" : "a6cfc0e6-dc13-4e11-b517-9ed9c6c5fe80", - "Date" : "Mon, 22 Feb 2021 06:21:53 GMT", + "x-ms-correlation-request-id" : "f95fb9aa-e8ef-45f2-8b7f-b0502089b4af", + "Date" : "Tue, 08 Feb 2022 05:55:54 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062153Z:a6cfc0e6-dc13-4e11-b517-9ed9c6c5fe80", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055554Z:f95fb9aa-e8ef-45f2-8b7f-b0502089b4af", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "a6cfc0e6-dc13-4e11-b517-9ed9c6c5fe80", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5NzQ1OS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "f95fb9aa-e8ef-45f2-8b7f-b0502089b4af", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc5NzQ1OS1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc2MjY0Ni1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "4734d182-9ccc-427c-a7d6-1e22aa8f70c9" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "6666ced8-6232-4ac6-8e73-c31e40a77a47" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "x-ms-ratelimit-remaining-subscription-reads" : "11965", "StatusCode" : "200", - "x-ms-correlation-request-id" : "22a91a7c-f6d7-4cd5-983b-f4f1d8e757a8", - "Date" : "Mon, 22 Feb 2021 06:22:08 GMT", + "x-ms-correlation-request-id" : "7e1b6641-9380-4636-97ab-4ee66a9eabfc", + "Date" : "Tue, 08 Feb 2022 05:56:10 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062209Z:22a91a7c-f6d7-4cd5-983b-f4f1d8e757a8", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055611Z:7e1b6641-9380-4636-97ab-4ee66a9eabfc", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "22a91a7c-f6d7-4cd5-983b-f4f1d8e757a8" + "x-ms-request-id" : "7e1b6641-9380-4636-97ab-4ee66a9eabfc" }, "Exception" : null } ], - "variables" : [ "javacsmrg97459", "javacmsa129042" ] + "variables" : [ "javacsmrg62646", "javacmsa405694" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageManagementPoliciesTests.canUpdateManagementPolicy.json b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageManagementPoliciesTests.canUpdateManagementPolicy.json index 85aac53b33c1d..953853245bea1 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageManagementPoliciesTests.canUpdateManagementPolicy.json +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageManagementPoliciesTests.canUpdateManagementPolicy.json @@ -1,338 +1,386 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg43962?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg06716?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "5c3fd5bd-4c1b-4de5-9567-783f0ca373ae", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "b796b105-9274-4b7d-9cc4-b47a14d2ff2e", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "232", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1193", + "x-ms-ratelimit-remaining-subscription-writes" : "1190", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "7ad036a1-22e2-4251-9947-be94d854f7f3", - "Date" : "Mon, 22 Feb 2021 06:20:06 GMT", + "x-ms-correlation-request-id" : "aef683b8-c0d6-43fd-b3b6-015aefb0c63b", + "Date" : "Tue, 08 Feb 2022 05:53:29 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062007Z:7ad036a1-22e2-4251-9947-be94d854f7f3", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055329Z:aef683b8-c0d6-43fd-b3b6-015aefb0c63b", "Expires" : "-1", - "Content-Length" : "232", - "x-ms-request-id" : "7ad036a1-22e2-4251-9947-be94d854f7f3", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg43962\",\"name\":\"javacsmrg43962\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "aef683b8-c0d6-43fd-b3b6-015aefb0c63b", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg06716\",\"name\":\"javacsmrg06716\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg43962/providers/Microsoft.Storage/storageAccounts/javacmsa85428b?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg06716/providers/Microsoft.Storage/storageAccounts/javacmsa877052?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "e1874557-946b-4877-848a-85ce019728e4", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "b42660fe-e384-4605-9081-262a72e9ae19", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1192", + "x-ms-ratelimit-remaining-subscription-writes" : "1189", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "fda229d5-5fd9-4442-b75a-9a3e5a0c9cf8", - "Date" : "Mon, 22 Feb 2021 06:20:14 GMT", + "x-ms-correlation-request-id" : "12c238af-f77e-4431-869e-21cd71359ff0", + "Date" : "Tue, 08 Feb 2022 05:53:37 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062014Z:fda229d5-5fd9-4442-b75a-9a3e5a0c9cf8", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055337Z:12c238af-f77e-4431-869e-21cd71359ff0", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "c0a9552c-5a9e-487f-85d8-445fee20763d", + "x-ms-request-id" : "f43cf72f-1c3c-4aa8-9a3b-a424c3ff37bb", "Body" : "", - "x-ms-client-request-id" : "e1874557-946b-4877-848a-85ce019728e4", + "x-ms-client-request-id" : "b42660fe-e384-4605-9081-262a72e9ae19", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/c0a9552c-5a9e-487f-85d8-445fee20763d?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/f43cf72f-1c3c-4aa8-9a3b-a424c3ff37bb?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/c0a9552c-5a9e-487f-85d8-445fee20763d?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/f43cf72f-1c3c-4aa8-9a3b-a424c3ff37bb?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "0fccc9f5-fb1a-4c47-8475-41212f479afd" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "64cd1ece-7f08-43a6-886f-68f9fab9af2e" }, "Response" : { + "content-length" : "1534", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", "StatusCode" : "200", - "x-ms-correlation-request-id" : "2c83086e-34ce-44f3-a6dd-c6fc956c6656", - "Date" : "Mon, 22 Feb 2021 06:20:31 GMT", + "x-ms-correlation-request-id" : "80e2ff25-2e2c-475a-ae9a-5653b05a19cb", + "Date" : "Tue, 08 Feb 2022 05:53:54 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062032Z:2c83086e-34ce-44f3-a6dd-c6fc956c6656", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055355Z:80e2ff25-2e2c-475a-ae9a-5653b05a19cb", "Expires" : "-1", - "Content-Length" : "1380", - "x-ms-request-id" : "e636d8c0-a90c-4546-a97c-a65590ee73b7", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"BlobStorage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg43962/providers/Microsoft.Storage/storageAccounts/javacmsa85428b\",\"name\":\"javacmsa85428b\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:14.1203854Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:14.1203854Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Cool\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:14.0578744Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa85428b.dfs.core.windows.net/\",\"blob\":\"https://javacmsa85428b.blob.core.windows.net/\",\"table\":\"https://javacmsa85428b.table.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa85428b-secondary.dfs.core.windows.net/\",\"blob\":\"https://javacmsa85428b-secondary.blob.core.windows.net/\",\"table\":\"https://javacmsa85428b-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "0fccc9f5-fb1a-4c47-8475-41212f479afd", + "x-ms-request-id" : "26052b7c-fd61-4c7e-945f-944d5d88577f", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"BlobStorage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg06716/providers/Microsoft.Storage/storageAccounts/javacmsa877052\",\"name\":\"javacmsa877052\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:36.0436519Z\",\"key2\":\"2022-02-08T05:53:36.0436519Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.0436519Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.0436519Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Cool\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:35.9655000Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa877052.dfs.core.windows.net/\",\"blob\":\"https://javacmsa877052.blob.core.windows.net/\",\"table\":\"https://javacmsa877052.table.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa877052-secondary.dfs.core.windows.net/\",\"blob\":\"https://javacmsa877052-secondary.blob.core.windows.net/\",\"table\":\"https://javacmsa877052-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "64cd1ece-7f08-43a6-886f-68f9fab9af2e", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg43962/providers/Microsoft.Storage/storageAccounts/javacmsa85428b?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg06716/providers/Microsoft.Storage/storageAccounts/javacmsa877052?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "b1f0dd99-be18-40e1-b4c1-925991eccbe3", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "4bd7a6ad-6f53-44d2-8b47-db9c89f72b41", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1534", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "x-ms-ratelimit-remaining-subscription-reads" : "11998", "StatusCode" : "200", - "x-ms-correlation-request-id" : "502a3f05-d2c9-4a14-ad62-ba31889b51ac", - "Date" : "Mon, 22 Feb 2021 06:20:31 GMT", + "x-ms-correlation-request-id" : "27ce5afe-4fa2-4c39-a5bb-5d8be39f5db0", + "Date" : "Tue, 08 Feb 2022 05:53:55 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062032Z:502a3f05-d2c9-4a14-ad62-ba31889b51ac", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055356Z:27ce5afe-4fa2-4c39-a5bb-5d8be39f5db0", "Expires" : "-1", - "Content-Length" : "1380", - "x-ms-request-id" : "c9c10175-aad3-4a47-93c4-6ac437dc42bd", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"BlobStorage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg43962/providers/Microsoft.Storage/storageAccounts/javacmsa85428b\",\"name\":\"javacmsa85428b\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:14.1203854Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:14.1203854Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Cool\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:14.0578744Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa85428b.dfs.core.windows.net/\",\"blob\":\"https://javacmsa85428b.blob.core.windows.net/\",\"table\":\"https://javacmsa85428b.table.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa85428b-secondary.dfs.core.windows.net/\",\"blob\":\"https://javacmsa85428b-secondary.blob.core.windows.net/\",\"table\":\"https://javacmsa85428b-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "b1f0dd99-be18-40e1-b4c1-925991eccbe3", + "x-ms-request-id" : "0e934290-5ec6-4de0-9799-851e35c56cfc", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"BlobStorage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg06716/providers/Microsoft.Storage/storageAccounts/javacmsa877052\",\"name\":\"javacmsa877052\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:36.0436519Z\",\"key2\":\"2022-02-08T05:53:36.0436519Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.0436519Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:36.0436519Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Cool\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:35.9655000Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa877052.dfs.core.windows.net/\",\"blob\":\"https://javacmsa877052.blob.core.windows.net/\",\"table\":\"https://javacmsa877052.table.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa877052-secondary.dfs.core.windows.net/\",\"blob\":\"https://javacmsa877052-secondary.blob.core.windows.net/\",\"table\":\"https://javacmsa877052-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "4bd7a6ad-6f53-44d2-8b47-db9c89f72b41", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg43962/providers/Microsoft.Storage/storageAccounts/javacmsa85428b/managementPolicies/default?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg06716/providers/Microsoft.Storage/storageAccounts/javacmsa877052/managementPolicies/default?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "c92cc732-1b47-4e35-aef4-df0eb3780ee8", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "84a7011c-2ac5-432a-b80d-7c8f97cbf497", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "737", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1189", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "3255844b-8840-470f-838b-725a8ddf239e", - "Date" : "Mon, 22 Feb 2021 06:20:32 GMT", + "x-ms-correlation-request-id" : "e30226d6-c6eb-4430-bd77-480c8bba54a6", + "Date" : "Tue, 08 Feb 2022 05:53:56 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062033Z:3255844b-8840-470f-838b-725a8ddf239e", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055357Z:e30226d6-c6eb-4430-bd77-480c8bba54a6", "Expires" : "-1", - "Content-Length" : "737", - "x-ms-request-id" : "44b52fdf-66b2-4537-8c37-ff5bf9dae18d", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg43962/providers/Microsoft.Storage/storageAccounts/javacmsa85428b/managementPolicies/default\",\"name\":\"DefaultManagementPolicy\",\"type\":\"Microsoft.Storage/storageAccounts/managementPolicies\",\"properties\":{\"policy\":{\"rules\":[{\"enabled\":true,\"name\":\"rule1\",\"type\":\"Lifecycle\",\"definition\":{\"actions\":{\"snapshot\":{\"delete\":{\"daysAfterCreationGreaterThan\":100.0}}},\"filters\":{\"blobTypes\":[\"blockBlob\"],\"prefixMatch\":[\"asdf\"]}}},{\"enabled\":true,\"name\":\"rule2\",\"type\":\"Lifecycle\",\"definition\":{\"actions\":{\"baseBlob\":{\"delete\":{\"daysAfterModificationGreaterThan\":30.0}}},\"filters\":{\"blobTypes\":[\"blockBlob\"]}}}]},\"lastModifiedTime\":\"2021-02-22T06:20:33.1066269Z\"}}", - "x-ms-client-request-id" : "c92cc732-1b47-4e35-aef4-df0eb3780ee8", + "x-ms-request-id" : "fc094d6e-0487-468d-9ae9-26529ebf724f", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg06716/providers/Microsoft.Storage/storageAccounts/javacmsa877052/managementPolicies/default\",\"name\":\"DefaultManagementPolicy\",\"type\":\"Microsoft.Storage/storageAccounts/managementPolicies\",\"properties\":{\"policy\":{\"rules\":[{\"enabled\":true,\"name\":\"rule1\",\"type\":\"Lifecycle\",\"definition\":{\"actions\":{\"snapshot\":{\"delete\":{\"daysAfterCreationGreaterThan\":100.0}}},\"filters\":{\"blobTypes\":[\"blockBlob\"],\"prefixMatch\":[\"asdf\"]}}},{\"enabled\":true,\"name\":\"rule2\",\"type\":\"Lifecycle\",\"definition\":{\"actions\":{\"baseBlob\":{\"delete\":{\"daysAfterModificationGreaterThan\":30.0}}},\"filters\":{\"blobTypes\":[\"blockBlob\"]}}}]},\"lastModifiedTime\":\"2022-02-08T05:53:56.9969669Z\"}}", + "x-ms-client-request-id" : "84a7011c-2ac5-432a-b80d-7c8f97cbf497", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg43962/providers/Microsoft.Storage/storageAccounts/javacmsa85428b/managementPolicies/default?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg06716/providers/Microsoft.Storage/storageAccounts/javacmsa877052/managementPolicies/default?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "0aecbc49-6642-43c8-b86f-6ea7bc75af0b", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "ddcf9bf6-4f60-4492-a7b0-ad8929a644f3", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "745", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1195", + "x-ms-ratelimit-remaining-subscription-writes" : "1185", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "38464a04-6db9-4782-8e8e-3d28ad79b114", - "Date" : "Mon, 22 Feb 2021 06:20:33 GMT", + "x-ms-correlation-request-id" : "253136f0-185b-47a4-b2ed-bf0b7f02c182", + "Date" : "Tue, 08 Feb 2022 05:53:56 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062034Z:38464a04-6db9-4782-8e8e-3d28ad79b114", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055357Z:253136f0-185b-47a4-b2ed-bf0b7f02c182", "Expires" : "-1", - "Content-Length" : "745", - "x-ms-request-id" : "c9636184-04b4-4df3-ae0e-09ec54a4841b", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg43962/providers/Microsoft.Storage/storageAccounts/javacmsa85428b/managementPolicies/default\",\"name\":\"DefaultManagementPolicy\",\"type\":\"Microsoft.Storage/storageAccounts/managementPolicies\",\"properties\":{\"policy\":{\"rules\":[{\"enabled\":true,\"name\":\"rule1\",\"type\":\"Lifecycle\",\"definition\":{\"actions\":{\"baseBlob\":{\"tierToCool\":{\"daysAfterModificationGreaterThan\":30.0},\"tierToArchive\":{\"daysAfterModificationGreaterThan\":90.0},\"delete\":{\"daysAfterModificationGreaterThan\":2555.0}},\"snapshot\":{\"delete\":{\"daysAfterCreationGreaterThan\":90.0}}},\"filters\":{\"blobTypes\":[\"blockBlob\"],\"prefixMatch\":[\"container1/foo\"]}}}]},\"lastModifiedTime\":\"2021-02-22T06:20:33.8097452Z\"}}", - "x-ms-client-request-id" : "0aecbc49-6642-43c8-b86f-6ea7bc75af0b", + "x-ms-request-id" : "b4734a7d-3c2a-4b97-9e4e-0b6e1d695d45", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg06716/providers/Microsoft.Storage/storageAccounts/javacmsa877052/managementPolicies/default\",\"name\":\"DefaultManagementPolicy\",\"type\":\"Microsoft.Storage/storageAccounts/managementPolicies\",\"properties\":{\"policy\":{\"rules\":[{\"enabled\":true,\"name\":\"rule1\",\"type\":\"Lifecycle\",\"definition\":{\"actions\":{\"baseBlob\":{\"tierToCool\":{\"daysAfterModificationGreaterThan\":30.0},\"tierToArchive\":{\"daysAfterModificationGreaterThan\":90.0},\"delete\":{\"daysAfterModificationGreaterThan\":2555.0}},\"snapshot\":{\"delete\":{\"daysAfterCreationGreaterThan\":90.0}}},\"filters\":{\"blobTypes\":[\"blockBlob\"],\"prefixMatch\":[\"container1/foo\"]}}}]},\"lastModifiedTime\":\"2022-02-08T05:53:57.4656871Z\"}}", + "x-ms-client-request-id" : "ddcf9bf6-4f60-4492-a7b0-ad8929a644f3", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg43962?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg06716?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "058d1ef4-dbe4-406b-904e-cdaa3d6192df", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "57f54c52-7e3f-4dca-91c9-44598190c1fd", "Content-Type" : "application/json" }, "Response" : { - "x-ms-ratelimit-remaining-subscription-deletes" : "14998", + "content-length" : "0", + "x-ms-ratelimit-remaining-subscription-deletes" : "14999", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "0ed109c4-1c37-4ced-8373-371aa0d4987f", - "Date" : "Mon, 22 Feb 2021 06:20:38 GMT", + "x-ms-correlation-request-id" : "43038869-4e8f-43b6-9d9c-8df14a7062f6", + "Date" : "Tue, 08 Feb 2022 05:54:02 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062038Z:0ed109c4-1c37-4ced-8373-371aa0d4987f", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055403Z:43038869-4e8f-43b6-9d9c-8df14a7062f6", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "0ed109c4-1c37-4ced-8373-371aa0d4987f", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Mzk2Mi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "43038869-4e8f-43b6-9d9c-8df14a7062f6", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Mzk2Mi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "1d3475d8-fafc-4a94-bad4-1f48c77c25df" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "47651b11-a6eb-4d24-84f0-eb662dd8fb56" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11985", + "x-ms-ratelimit-remaining-subscription-reads" : "11981", "StatusCode" : "202", - "x-ms-correlation-request-id" : "3f4d5c53-4f48-4d47-9f13-73610e91edc9", - "Date" : "Mon, 22 Feb 2021 06:20:53 GMT", + "x-ms-correlation-request-id" : "4079645b-355d-43ff-949f-02c5e9a4944f", + "Date" : "Tue, 08 Feb 2022 05:54:19 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062054Z:3f4d5c53-4f48-4d47-9f13-73610e91edc9", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055419Z:4079645b-355d-43ff-949f-02c5e9a4944f", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "3f4d5c53-4f48-4d47-9f13-73610e91edc9", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Mzk2Mi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "4079645b-355d-43ff-949f-02c5e9a4944f", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Mzk2Mi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "de329043-c530-4f40-8672-0539d5f73326" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "8616206b-c940-47be-b55e-4cca57f5948c" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "x-ms-ratelimit-remaining-subscription-reads" : "11980", "StatusCode" : "202", - "x-ms-correlation-request-id" : "f0a3a065-b668-42c9-8d5b-cace068d3d48", - "Date" : "Mon, 22 Feb 2021 06:21:09 GMT", + "x-ms-correlation-request-id" : "439fc5a8-ca84-4d81-9ad8-fc608798d96b", + "Date" : "Tue, 08 Feb 2022 05:54:34 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062110Z:f0a3a065-b668-42c9-8d5b-cace068d3d48", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055434Z:439fc5a8-ca84-4d81-9ad8-fc608798d96b", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "f0a3a065-b668-42c9-8d5b-cace068d3d48", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Mzk2Mi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "439fc5a8-ca84-4d81-9ad8-fc608798d96b", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Mzk2Mi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "748a1b96-85c2-4e7c-808c-74d84f3bd828" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "1412e132-8276-4588-b539-a64befc64f8c" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11989", + "x-ms-ratelimit-remaining-subscription-reads" : "11995", "StatusCode" : "202", - "x-ms-correlation-request-id" : "b003fc14-807e-45b2-b18d-10509b14ddcd", - "Date" : "Mon, 22 Feb 2021 06:21:25 GMT", + "x-ms-correlation-request-id" : "c16a4e99-754a-449e-af74-d2ccc243ba38", + "Date" : "Tue, 08 Feb 2022 05:54:50 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062126Z:b003fc14-807e-45b2-b18d-10509b14ddcd", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055450Z:c16a4e99-754a-449e-af74-d2ccc243ba38", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "b003fc14-807e-45b2-b18d-10509b14ddcd", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Mzk2Mi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "c16a4e99-754a-449e-af74-d2ccc243ba38", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Mzk2Mi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "43bdbfda-ab75-4cc8-a2f4-8e2e732f324c" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "f6e33cc2-9ab1-47a5-8df5-9dd84885bb41" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "x-ms-ratelimit-remaining-subscription-reads" : "11967", "StatusCode" : "202", - "x-ms-correlation-request-id" : "59e1f456-a34c-4d07-81d9-5758997ef303", - "Date" : "Mon, 22 Feb 2021 06:21:41 GMT", + "x-ms-correlation-request-id" : "7158d023-fa60-4a6f-8e5d-a1a0e9c559de", + "Date" : "Tue, 08 Feb 2022 05:55:06 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062141Z:59e1f456-a34c-4d07-81d9-5758997ef303", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055507Z:7158d023-fa60-4a6f-8e5d-a1a0e9c559de", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "59e1f456-a34c-4d07-81d9-5758997ef303", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Mzk2Mi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "7158d023-fa60-4a6f-8e5d-a1a0e9c559de", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Mzk2Mi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "582c7a3c-7ed9-42de-8442-bb0005d590ea" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "3ffab155-0214-422e-a7e7-e0b682eb1f3b" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", "StatusCode" : "202", - "x-ms-correlation-request-id" : "22104057-3b1b-4c2d-bdcd-ac969d917fc2", - "Date" : "Mon, 22 Feb 2021 06:21:57 GMT", + "x-ms-correlation-request-id" : "177f22dc-7000-4037-a9c0-638cbe5e7077", + "Date" : "Tue, 08 Feb 2022 05:55:22 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062157Z:22104057-3b1b-4c2d-bdcd-ac969d917fc2", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055523Z:177f22dc-7000-4037-a9c0-638cbe5e7077", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "22104057-3b1b-4c2d-bdcd-ac969d917fc2", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Mzk2Mi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "177f22dc-7000-4037-a9c0-638cbe5e7077", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkc0Mzk2Mi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "4ce4fc18-9cdb-40ac-be3f-a2b556e482a1" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "59215e28-1e0d-468d-8aec-c089f7a9fc5c" }, "Response" : { + "content-length" : "0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "StatusCode" : "202", + "x-ms-correlation-request-id" : "f1e7c5b6-fa60-4f85-ae56-41107d5f7d90", + "Date" : "Tue, 08 Feb 2022 05:55:37 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055538Z:f1e7c5b6-fa60-4f85-ae56-41107d5f7d90", + "Expires" : "-1", + "x-ms-request-id" : "f1e7c5b6-fa60-4f85-ae56-41107d5f7d90", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "053e0064-6a64-4d62-9ecd-19556eacd0dd" + }, + "Response" : { + "content-length" : "0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "StatusCode" : "202", + "x-ms-correlation-request-id" : "eca0bea1-37e0-4952-9430-5706464ef464", + "Date" : "Tue, 08 Feb 2022 05:55:53 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055554Z:eca0bea1-37e0-4952-9430-5706464ef464", + "Expires" : "-1", + "x-ms-request-id" : "eca0bea1-37e0-4952-9430-5706464ef464", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcwNjcxNi1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "b3038aed-5f73-4015-9dec-59952555e57b" + }, + "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11981", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", "StatusCode" : "200", - "x-ms-correlation-request-id" : "cd18de02-895f-4d95-bec0-022b92e57ab1", - "Date" : "Mon, 22 Feb 2021 06:22:12 GMT", + "x-ms-correlation-request-id" : "ca6328f5-5c1a-4af0-8799-eb22e276559f", + "Date" : "Tue, 08 Feb 2022 05:56:10 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062212Z:cd18de02-895f-4d95-bec0-022b92e57ab1", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055610Z:ca6328f5-5c1a-4af0-8799-eb22e276559f", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "cd18de02-895f-4d95-bec0-022b92e57ab1" + "x-ms-request-id" : "ca6328f5-5c1a-4af0-8799-eb22e276559f" }, "Exception" : null } ], - "variables" : [ "javacsmrg43962", "javacmsa85428b" ] + "variables" : [ "javacsmrg06716", "javacmsa877052" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageManagementPoliciesTests.managementPolicyGetters.json b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageManagementPoliciesTests.managementPolicyGetters.json index f30aa8270d6d4..81adc9f16b97f 100644 --- a/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageManagementPoliciesTests.managementPolicyGetters.json +++ b/sdk/resourcemanager/azure-resourcemanager-storage/src/test/resources/session-records/StorageManagementPoliciesTests.managementPolicyGetters.json @@ -1,310 +1,358 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg29640?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg14747?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "907ddd70-db75-4687-9c7d-0132cc373c5d", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "7c4fcf34-d0cb-4cf6-b3d7-cafcffbd89cf", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "232", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1193", + "x-ms-ratelimit-remaining-subscription-writes" : "1190", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "201", - "x-ms-correlation-request-id" : "ae972558-5081-49c8-a9a3-febb23b4c9aa", - "Date" : "Mon, 22 Feb 2021 06:20:06 GMT", + "x-ms-correlation-request-id" : "ea011970-fae6-4a7f-a68a-40b61b352179", + "Date" : "Tue, 08 Feb 2022 05:53:31 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062007Z:ae972558-5081-49c8-a9a3-febb23b4c9aa", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055331Z:ea011970-fae6-4a7f-a68a-40b61b352179", "Expires" : "-1", - "Content-Length" : "232", - "x-ms-request-id" : "ae972558-5081-49c8-a9a3-febb23b4c9aa", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg29640\",\"name\":\"javacsmrg29640\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "x-ms-request-id" : "ea011970-fae6-4a7f-a68a-40b61b352179", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14747\",\"name\":\"javacsmrg14747\",\"type\":\"Microsoft.Resources/resourceGroups\",\"location\":\"westcentralus\",\"properties\":{\"provisioningState\":\"Succeeded\"}}", "Content-Type" : "application/json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg29640/providers/Microsoft.Storage/storageAccounts/javacmsa316968?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14747/providers/Microsoft.Storage/storageAccounts/javacmsa533725?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "af64d9f8-2506-4bc7-90ce-0a05f413da7a", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "8a066325-a333-4977-b414-16bb97dbf1bc", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1192", + "x-ms-ratelimit-remaining-subscription-writes" : "1189", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "175fbf45-2be0-4e93-9aff-8d1abe628857", - "Date" : "Mon, 22 Feb 2021 06:20:13 GMT", + "x-ms-correlation-request-id" : "2282b660-f141-42c3-82b8-82397c65d44c", + "Date" : "Tue, 08 Feb 2022 05:53:39 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062014Z:175fbf45-2be0-4e93-9aff-8d1abe628857", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055339Z:2282b660-f141-42c3-82b8-82397c65d44c", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "58f4083f-5782-4126-bd21-f6583d269993", + "x-ms-request-id" : "44f583e8-e65c-4e8b-8519-ec716153c895", "Body" : "", - "x-ms-client-request-id" : "af64d9f8-2506-4bc7-90ce-0a05f413da7a", + "x-ms-client-request-id" : "8a066325-a333-4977-b414-16bb97dbf1bc", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/58f4083f-5782-4126-bd21-f6583d269993?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/44f583e8-e65c-4e8b-8519-ec716153c895?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/58f4083f-5782-4126-bd21-f6583d269993?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westcentralus/asyncoperations/44f583e8-e65c-4e8b-8519-ec716153c895?monitor=true&api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "8aee6b8e-0914-4f2e-befe-33f7b2f958fe" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "56eaa982-bcc7-4c1a-a389-38c02a676a33" }, "Response" : { + "content-length" : "1534", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11991", + "x-ms-ratelimit-remaining-subscription-reads" : "11989", "StatusCode" : "200", - "x-ms-correlation-request-id" : "f7725d45-4d54-4cfa-831b-2ce7165063e0", - "Date" : "Mon, 22 Feb 2021 06:20:31 GMT", + "x-ms-correlation-request-id" : "f6960afd-3cba-45da-a4e4-5f0e07c3f2de", + "Date" : "Tue, 08 Feb 2022 05:53:56 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062031Z:f7725d45-4d54-4cfa-831b-2ce7165063e0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055357Z:f6960afd-3cba-45da-a4e4-5f0e07c3f2de", "Expires" : "-1", - "Content-Length" : "1380", - "x-ms-request-id" : "62853497-2d3c-4e42-951c-3f51844ec452", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"BlobStorage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg29640/providers/Microsoft.Storage/storageAccounts/javacmsa316968\",\"name\":\"javacmsa316968\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:13.3703701Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:13.3703701Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Cool\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:13.3078518Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa316968.dfs.core.windows.net/\",\"blob\":\"https://javacmsa316968.blob.core.windows.net/\",\"table\":\"https://javacmsa316968.table.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa316968-secondary.dfs.core.windows.net/\",\"blob\":\"https://javacmsa316968-secondary.blob.core.windows.net/\",\"table\":\"https://javacmsa316968-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "8aee6b8e-0914-4f2e-befe-33f7b2f958fe", + "x-ms-request-id" : "50a5b876-9a78-4112-bade-f0f6b72b8cdb", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"BlobStorage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14747/providers/Microsoft.Storage/storageAccounts/javacmsa533725\",\"name\":\"javacmsa533725\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:37.9030575Z\",\"key2\":\"2022-02-08T05:53:37.9030575Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.9030575Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.9030575Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Cool\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:37.8249910Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa533725.dfs.core.windows.net/\",\"blob\":\"https://javacmsa533725.blob.core.windows.net/\",\"table\":\"https://javacmsa533725.table.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa533725-secondary.dfs.core.windows.net/\",\"blob\":\"https://javacmsa533725-secondary.blob.core.windows.net/\",\"table\":\"https://javacmsa533725-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "56eaa982-bcc7-4c1a-a389-38c02a676a33", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg29640/providers/Microsoft.Storage/storageAccounts/javacmsa316968?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14747/providers/Microsoft.Storage/storageAccounts/javacmsa533725?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "261b33b4-a0f0-4aba-ab66-c58f171159eb", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "f093b051-bb94-48ee-b9c5-6620adef80cf", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "1534", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11988", + "x-ms-ratelimit-remaining-subscription-reads" : "11991", "StatusCode" : "200", - "x-ms-correlation-request-id" : "c5641fdd-15ce-461f-9aa5-75058ec74fbd", - "Date" : "Mon, 22 Feb 2021 06:20:31 GMT", + "x-ms-correlation-request-id" : "067491d8-cad1-4111-940f-5efd7c435541", + "Date" : "Tue, 08 Feb 2022 05:53:57 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062032Z:c5641fdd-15ce-461f-9aa5-75058ec74fbd", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055358Z:067491d8-cad1-4111-940f-5efd7c435541", "Expires" : "-1", - "Content-Length" : "1380", - "x-ms-request-id" : "3146df97-f751-4f73-bfd7-518e3f78d4b7", - "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"BlobStorage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg29640/providers/Microsoft.Storage/storageAccounts/javacmsa316968\",\"name\":\"javacmsa316968\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"privateEndpointConnections\":[],\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:13.3703701Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2021-02-22T06:20:13.3703701Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Cool\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2021-02-22T06:20:13.3078518Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa316968.dfs.core.windows.net/\",\"blob\":\"https://javacmsa316968.blob.core.windows.net/\",\"table\":\"https://javacmsa316968.table.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa316968-secondary.dfs.core.windows.net/\",\"blob\":\"https://javacmsa316968-secondary.blob.core.windows.net/\",\"table\":\"https://javacmsa316968-secondary.table.core.windows.net/\"}}}", - "x-ms-client-request-id" : "261b33b4-a0f0-4aba-ab66-c58f171159eb", + "x-ms-request-id" : "4cc34104-944a-4132-8909-8f9b5d6796a0", + "Body" : "{\"sku\":{\"name\":\"Standard_RAGRS\",\"tier\":\"Standard\"},\"kind\":\"BlobStorage\",\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14747/providers/Microsoft.Storage/storageAccounts/javacmsa533725\",\"name\":\"javacmsa533725\",\"type\":\"Microsoft.Storage/storageAccounts\",\"location\":\"westcentralus\",\"tags\":{},\"properties\":{\"keyCreationTime\":{\"key1\":\"2022-02-08T05:53:37.9030575Z\",\"key2\":\"2022-02-08T05:53:37.9030575Z\"},\"privateEndpointConnections\":[],\"minimumTlsVersion\":\"TLS1_2\",\"allowBlobPublicAccess\":true,\"networkAcls\":{\"bypass\":\"AzureServices\",\"virtualNetworkRules\":[],\"ipRules\":[],\"defaultAction\":\"Allow\"},\"supportsHttpsTrafficOnly\":true,\"encryption\":{\"services\":{\"file\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.9030575Z\"},\"blob\":{\"keyType\":\"Account\",\"enabled\":true,\"lastEnabledTime\":\"2022-02-08T05:53:37.9030575Z\"}},\"keySource\":\"Microsoft.Storage\"},\"accessTier\":\"Cool\",\"provisioningState\":\"Succeeded\",\"creationTime\":\"2022-02-08T05:53:37.8249910Z\",\"primaryEndpoints\":{\"dfs\":\"https://javacmsa533725.dfs.core.windows.net/\",\"blob\":\"https://javacmsa533725.blob.core.windows.net/\",\"table\":\"https://javacmsa533725.table.core.windows.net/\"},\"primaryLocation\":\"westcentralus\",\"statusOfPrimary\":\"available\",\"secondaryLocation\":\"westus2\",\"statusOfSecondary\":\"available\",\"secondaryEndpoints\":{\"dfs\":\"https://javacmsa533725-secondary.dfs.core.windows.net/\",\"blob\":\"https://javacmsa533725-secondary.blob.core.windows.net/\",\"table\":\"https://javacmsa533725-secondary.table.core.windows.net/\"}}}", + "x-ms-client-request-id" : "f093b051-bb94-48ee-b9c5-6620adef80cf", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg29640/providers/Microsoft.Storage/storageAccounts/javacmsa316968/managementPolicies/default?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14747/providers/Microsoft.Storage/storageAccounts/javacmsa533725/managementPolicies/default?api-version=2021-08-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "8e1ffe20-c99f-462e-9d69-ef7daae50b1d", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "88d98936-b19a-498a-9eb2-a2381fcf643e", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "745", "Server" : "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0", "X-Content-Type-Options" : "nosniff", - "x-ms-ratelimit-remaining-subscription-writes" : "1187", + "x-ms-ratelimit-remaining-subscription-writes" : "1197", "Pragma" : "no-cache", "retry-after" : "0", "StatusCode" : "200", - "x-ms-correlation-request-id" : "71d770ec-2748-4e2c-8042-8f6ec5586b39", - "Date" : "Mon, 22 Feb 2021 06:20:33 GMT", + "x-ms-correlation-request-id" : "042e4a0b-c2db-4866-8cff-cf33153c5a73", + "Date" : "Tue, 08 Feb 2022 05:53:58 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062033Z:71d770ec-2748-4e2c-8042-8f6ec5586b39", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055358Z:042e4a0b-c2db-4866-8cff-cf33153c5a73", "Expires" : "-1", - "Content-Length" : "745", - "x-ms-request-id" : "99b50a74-f150-42f9-b1ba-7b199ad83f4b", - "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg29640/providers/Microsoft.Storage/storageAccounts/javacmsa316968/managementPolicies/default\",\"name\":\"DefaultManagementPolicy\",\"type\":\"Microsoft.Storage/storageAccounts/managementPolicies\",\"properties\":{\"policy\":{\"rules\":[{\"enabled\":true,\"name\":\"rule1\",\"type\":\"Lifecycle\",\"definition\":{\"actions\":{\"baseBlob\":{\"tierToCool\":{\"daysAfterModificationGreaterThan\":30.0},\"tierToArchive\":{\"daysAfterModificationGreaterThan\":90.0},\"delete\":{\"daysAfterModificationGreaterThan\":2555.0}},\"snapshot\":{\"delete\":{\"daysAfterCreationGreaterThan\":90.0}}},\"filters\":{\"blobTypes\":[\"blockBlob\"],\"prefixMatch\":[\"container1/foo\"]}}}]},\"lastModifiedTime\":\"2021-02-22T06:20:33.2316278Z\"}}", - "x-ms-client-request-id" : "8e1ffe20-c99f-462e-9d69-ef7daae50b1d", + "x-ms-request-id" : "55cd7b69-2b05-4f0b-97f9-2de4ae4c2020", + "Body" : "{\"id\":\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg14747/providers/Microsoft.Storage/storageAccounts/javacmsa533725/managementPolicies/default\",\"name\":\"DefaultManagementPolicy\",\"type\":\"Microsoft.Storage/storageAccounts/managementPolicies\",\"properties\":{\"policy\":{\"rules\":[{\"enabled\":true,\"name\":\"rule1\",\"type\":\"Lifecycle\",\"definition\":{\"actions\":{\"baseBlob\":{\"tierToCool\":{\"daysAfterModificationGreaterThan\":30.0},\"tierToArchive\":{\"daysAfterModificationGreaterThan\":90.0},\"delete\":{\"daysAfterModificationGreaterThan\":2555.0}},\"snapshot\":{\"delete\":{\"daysAfterCreationGreaterThan\":90.0}}},\"filters\":{\"blobTypes\":[\"blockBlob\"],\"prefixMatch\":[\"container1/foo\"]}}}]},\"lastModifiedTime\":\"2022-02-08T05:53:58.4500928Z\"}}", + "x-ms-client-request-id" : "88d98936-b19a-498a-9eb2-a2381fcf643e", "Content-Type" : "application/json" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg29640?api-version=2021-01-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/javacsmrg14747?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "6336a1cc-998d-4e14-a96a-a1942e14a481", + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "117011d2-c2d4-4cf6-8c6e-867889a3d7ed", "Content-Type" : "application/json" }, "Response" : { + "content-length" : "0", "x-ms-ratelimit-remaining-subscription-deletes" : "14998", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "StatusCode" : "202", - "x-ms-correlation-request-id" : "16f487be-a206-47eb-b727-b1f4184f6510", - "Date" : "Mon, 22 Feb 2021 06:20:37 GMT", + "x-ms-correlation-request-id" : "1885310d-4fa3-4aae-b51e-df36a414e3f9", + "Date" : "Tue, 08 Feb 2022 05:54:04 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062038Z:16f487be-a206-47eb-b727-b1f4184f6510", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055405Z:1885310d-4fa3-4aae-b51e-df36a414e3f9", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "16f487be-a206-47eb-b727-b1f4184f6510", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyOTY0MC1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "1885310d-4fa3-4aae-b51e-df36a414e3f9", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyOTY0MC1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "41548418-11f2-4c4a-b3b8-6a8d7726e108" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "623c0d49-c7d6-4413-a2b3-ec2b03965bc6" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", "StatusCode" : "202", - "x-ms-correlation-request-id" : "4f23ccc5-8d26-473e-ae5d-f7f5664f4700", - "Date" : "Mon, 22 Feb 2021 06:20:53 GMT", + "x-ms-correlation-request-id" : "c46732ea-a162-4b25-bade-9be51a37f0e9", + "Date" : "Tue, 08 Feb 2022 05:54:20 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062053Z:4f23ccc5-8d26-473e-ae5d-f7f5664f4700", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055421Z:c46732ea-a162-4b25-bade-9be51a37f0e9", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "4f23ccc5-8d26-473e-ae5d-f7f5664f4700", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyOTY0MC1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "c46732ea-a162-4b25-bade-9be51a37f0e9", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyOTY0MC1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "3af615e0-5568-4964-9834-7958e3d329c1" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "3fff4b02-7ed8-40a8-800f-a32e5ee2bcf0" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11993", + "x-ms-ratelimit-remaining-subscription-reads" : "11974", + "StatusCode" : "202", + "x-ms-correlation-request-id" : "0e839b76-ab1a-4aec-b7b1-6fdc644301f3", + "Date" : "Tue, 08 Feb 2022 05:54:36 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055436Z:0e839b76-ab1a-4aec-b7b1-6fdc644301f3", + "Expires" : "-1", + "x-ms-request-id" : "0e839b76-ab1a-4aec-b7b1-6fdc644301f3", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "a29a6ae1-c9af-47ae-8795-78d161baa5fb" + }, + "Response" : { + "content-length" : "0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", "StatusCode" : "202", - "x-ms-correlation-request-id" : "d81508d6-9121-4373-bd2d-7f8ca622b0d8", - "Date" : "Mon, 22 Feb 2021 06:21:09 GMT", + "x-ms-correlation-request-id" : "4bc5b9dc-b62b-4067-9f80-026d1bbf850f", + "Date" : "Tue, 08 Feb 2022 05:54:51 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062109Z:d81508d6-9121-4373-bd2d-7f8ca622b0d8", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055452Z:4bc5b9dc-b62b-4067-9f80-026d1bbf850f", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "d81508d6-9121-4373-bd2d-7f8ca622b0d8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyOTY0MC1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "4bc5b9dc-b62b-4067-9f80-026d1bbf850f", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyOTY0MC1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "1d133510-6edc-4714-aad1-99caaf75e5ef" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "b0f2bb7c-175e-41f3-a95d-334aee270c5d" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11987", + "x-ms-ratelimit-remaining-subscription-reads" : "11988", "StatusCode" : "202", - "x-ms-correlation-request-id" : "811687fd-c18c-419a-86c9-2b2669c3b3a5", - "Date" : "Mon, 22 Feb 2021 06:21:24 GMT", + "x-ms-correlation-request-id" : "a1037b79-6d9d-48de-a2ee-93aa73afd57a", + "Date" : "Tue, 08 Feb 2022 05:55:08 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062125Z:811687fd-c18c-419a-86c9-2b2669c3b3a5", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055508Z:a1037b79-6d9d-48de-a2ee-93aa73afd57a", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "811687fd-c18c-419a-86c9-2b2669c3b3a5", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyOTY0MC1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "a1037b79-6d9d-48de-a2ee-93aa73afd57a", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyOTY0MC1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "e8a0ac54-8bd3-4358-9f19-c045040bd322" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "95dc25e2-b96b-4eca-896f-1a8847c47acf" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11986", + "x-ms-ratelimit-remaining-subscription-reads" : "11994", + "StatusCode" : "202", + "x-ms-correlation-request-id" : "4d3ea457-4555-4394-98cd-dabbfdd0818b", + "Date" : "Tue, 08 Feb 2022 05:55:24 GMT", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", + "Cache-Control" : "no-cache", + "Retry-After" : "0", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055524Z:4d3ea457-4555-4394-98cd-dabbfdd0818b", + "Expires" : "-1", + "x-ms-request-id" : "4d3ea457-4555-4394-98cd-dabbfdd0818b", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", + "Headers" : { + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "f1ba8386-3092-46ff-8725-8ceef4e91bcf" + }, + "Response" : { + "content-length" : "0", + "X-Content-Type-Options" : "nosniff", + "Pragma" : "no-cache", + "x-ms-ratelimit-remaining-subscription-reads" : "11993", "StatusCode" : "202", - "x-ms-correlation-request-id" : "71fe43f1-7274-426e-bb70-4f53c524514c", - "Date" : "Mon, 22 Feb 2021 06:21:41 GMT", + "x-ms-correlation-request-id" : "fe407f1b-de88-406b-afff-492fa095db41", + "Date" : "Tue, 08 Feb 2022 05:55:39 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062141Z:71fe43f1-7274-426e-bb70-4f53c524514c", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055540Z:fe407f1b-de88-406b-afff-492fa095db41", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "71fe43f1-7274-426e-bb70-4f53c524514c", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyOTY0MC1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "fe407f1b-de88-406b-afff-492fa095db41", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyOTY0MC1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "a71409bf-ea29-4dbe-bd57-458cb5f95f79" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "5f8b6c02-313c-4ddd-ab44-caa86299a269" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", - "x-ms-ratelimit-remaining-subscription-reads" : "11984", + "x-ms-ratelimit-remaining-subscription-reads" : "11973", "StatusCode" : "202", - "x-ms-correlation-request-id" : "61be168c-fa42-4790-b974-1c54102249cb", - "Date" : "Mon, 22 Feb 2021 06:21:56 GMT", + "x-ms-correlation-request-id" : "f0b0c100-08c4-4b60-a352-f2a5a6875301", + "Date" : "Tue, 08 Feb 2022 05:55:54 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", "Retry-After" : "0", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062156Z:61be168c-fa42-4790-b974-1c54102249cb", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055555Z:f0b0c100-08c4-4b60-a352-f2a5a6875301", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "61be168c-fa42-4790-b974-1c54102249cb", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyOTY0MC1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01" + "x-ms-request-id" : "f0b0c100-08c4-4b60-a352-f2a5a6875301", + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcyOTY0MC1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2020-06-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1KQVZBQ1NNUkcxNDc0Ny1XRVNUQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJ3ZXN0Y2VudHJhbHVzIn0?api-version=2021-01-01", "Headers" : { - "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", - "x-ms-client-request-id" : "2bde5314-0106-40e7-98d5-60efcb34041d" + "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources/2.12.0-beta.1 (17.0.1; Windows 10; 10.0)", + "x-ms-client-request-id" : "00c5a655-71b0-4027-aa74-9a48fd73adc0" }, "Response" : { + "content-length" : "0", "X-Content-Type-Options" : "nosniff", "Pragma" : "no-cache", "retry-after" : "0", - "x-ms-ratelimit-remaining-subscription-reads" : "11983", + "x-ms-ratelimit-remaining-subscription-reads" : "11985", "StatusCode" : "200", - "x-ms-correlation-request-id" : "472990bc-ab98-4c69-8918-5b30d281c8ff", - "Date" : "Mon, 22 Feb 2021 06:22:11 GMT", + "x-ms-correlation-request-id" : "086d6577-1101-490b-bfe6-597a11098d45", + "Date" : "Tue, 08 Feb 2022 05:56:10 GMT", "Strict-Transport-Security" : "max-age=31536000; includeSubDomains", "Cache-Control" : "no-cache", - "x-ms-routing-request-id" : "SOUTHEASTASIA:20210222T062212Z:472990bc-ab98-4c69-8918-5b30d281c8ff", + "x-ms-routing-request-id" : "SOUTHEASTASIA:20220208T055610Z:086d6577-1101-490b-bfe6-597a11098d45", "Expires" : "-1", - "Content-Length" : "0", - "x-ms-request-id" : "472990bc-ab98-4c69-8918-5b30d281c8ff" + "x-ms-request-id" : "086d6577-1101-490b-bfe6-597a11098d45" }, "Exception" : null } ], - "variables" : [ "javacsmrg29640", "javacmsa316968" ] + "variables" : [ "javacsmrg14747", "javacmsa533725" ] } \ No newline at end of file diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersClearLegalHoldSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersClearLegalHoldSamples.java index a78abb7f940ad..5ceb30f049685 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersClearLegalHoldSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersClearLegalHoldSamples.java @@ -11,7 +11,7 @@ /** Samples for BlobContainers ClearLegalHold. */ public final class BlobContainersClearLegalHoldSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersClearLegalHold.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersClearLegalHold.json */ /** * Sample code: ClearLegalHoldContainers. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersCreateOrUpdateImmutabilityPolicySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersCreateOrUpdateImmutabilityPolicySamples.java index 613d1ac8798ff..2d8615aa2566a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersCreateOrUpdateImmutabilityPolicySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersCreateOrUpdateImmutabilityPolicySamples.java @@ -10,7 +10,7 @@ /** Samples for BlobContainers CreateOrUpdateImmutabilityPolicy. */ public final class BlobContainersCreateOrUpdateImmutabilityPolicySamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersPutImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersPutImmutabilityPolicy.json */ /** * Sample code: CreateOrUpdateImmutabilityPolicy. @@ -33,4 +33,30 @@ public static void createOrUpdateImmutabilityPolicy(com.azure.resourcemanager.Az .withAllowProtectedAppendWrites(true), Context.NONE); } + + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersPutImmutabilityPolicyAllowProtectedAppendWritesAll.json + */ + /** + * Sample code: CreateOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createOrUpdateImmutabilityPolicyWithAllowProtectedAppendWritesAll( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .createOrUpdateImmutabilityPolicyWithResponse( + "res1782", + "sto7069", + "container6397", + null, + new ImmutabilityPolicyInner() + .withImmutabilityPeriodSinceCreationInDays(3) + .withAllowProtectedAppendWritesAll(true), + Context.NONE); + } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersCreateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersCreateSamples.java index 86e13e4274ea0..e55b5dcb91803 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersCreateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersCreateSamples.java @@ -11,7 +11,7 @@ /** Samples for BlobContainers Create. */ public final class BlobContainersCreateSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersPutDefaultEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersPutDefaultEncryptionScope.json */ /** * Sample code: PutContainerWithDefaultEncryptionScope. @@ -35,7 +35,7 @@ public static void putContainerWithDefaultEncryptionScope(com.azure.resourcemana } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersPutObjectLevelWorm.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersPutObjectLevelWorm.json */ /** * Sample code: PutContainerWithObjectLevelWorm. @@ -58,7 +58,7 @@ public static void putContainerWithObjectLevelWorm(com.azure.resourcemanager.Azu } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersPut.json */ /** * Sample code: PutContainers. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersDeleteImmutabilityPolicySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersDeleteImmutabilityPolicySamples.java index 88b3945de93e2..a6003a9128363 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersDeleteImmutabilityPolicySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersDeleteImmutabilityPolicySamples.java @@ -9,7 +9,7 @@ /** Samples for BlobContainers DeleteImmutabilityPolicy. */ public final class BlobContainersDeleteImmutabilityPolicySamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersDeleteImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersDeleteImmutabilityPolicy.json */ /** * Sample code: DeleteImmutabilityPolicy. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersDeleteSamples.java index 681aca2df7cdd..c7d647a11b8c8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for BlobContainers Delete. */ public final class BlobContainersDeleteSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersDelete.json */ /** * Sample code: DeleteContainers. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersExtendImmutabilityPolicySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersExtendImmutabilityPolicySamples.java index 22a3fe947d204..86577bf4a6bf8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersExtendImmutabilityPolicySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersExtendImmutabilityPolicySamples.java @@ -10,7 +10,7 @@ /** Samples for BlobContainers ExtendImmutabilityPolicy. */ public final class BlobContainersExtendImmutabilityPolicySamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersExtendImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersExtendImmutabilityPolicy.json */ /** * Sample code: ExtendImmutabilityPolicy. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersGetImmutabilityPolicySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersGetImmutabilityPolicySamples.java index 1447b3b2abde7..b874b2f2ee4fc 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersGetImmutabilityPolicySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersGetImmutabilityPolicySamples.java @@ -9,7 +9,7 @@ /** Samples for BlobContainers GetImmutabilityPolicy. */ public final class BlobContainersGetImmutabilityPolicySamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersGetImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersGetImmutabilityPolicy.json */ /** * Sample code: GetImmutabilityPolicy. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersGetSamples.java index 23d156fb2560e..44ae1a6c38f0d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersGetSamples.java @@ -9,7 +9,7 @@ /** Samples for BlobContainers Get. */ public final class BlobContainersGetSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersGet.json */ /** * Sample code: GetContainers. @@ -24,4 +24,22 @@ public static void getContainers(com.azure.resourcemanager.AzureResourceManager .getBlobContainers() .getWithResponse("res9871", "sto6217", "container1634", Context.NONE); } + + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersGetWithAllowProtectedAppendWritesAll.json + */ + /** + * Sample code: GetBlobContainersGetWithAllowProtectedAppendWritesAll. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getBlobContainersGetWithAllowProtectedAppendWritesAll( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .getWithResponse("res9871", "sto6217", "container1634", Context.NONE); + } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersLeaseSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersLeaseSamples.java index 2ed785e7d776c..ccd36e857e865 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersLeaseSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersLeaseSamples.java @@ -11,7 +11,7 @@ /** Samples for BlobContainers Lease. */ public final class BlobContainersLeaseSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersLease_Break.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersLease_Break.json */ /** * Sample code: Break a lease on a container. @@ -35,7 +35,7 @@ public static void breakALeaseOnAContainer(com.azure.resourcemanager.AzureResour } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersLease_Acquire.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersLease_Acquire.json */ /** * Sample code: Acquire a lease on a container. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersListSamples.java index 12d826780bfe4..bfe64f4633a36 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersListSamples.java @@ -10,7 +10,7 @@ /** Samples for BlobContainers List. */ public final class BlobContainersListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersList.json */ /** * Sample code: ListContainers. @@ -27,7 +27,7 @@ public static void listContainers(com.azure.resourcemanager.AzureResourceManager } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/DeletedBlobContainersList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/DeletedBlobContainersList.json */ /** * Sample code: ListDeletedContainers. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersLockImmutabilityPolicySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersLockImmutabilityPolicySamples.java index 98b8f5fcdddca..d3fea91b24e36 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersLockImmutabilityPolicySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersLockImmutabilityPolicySamples.java @@ -9,7 +9,7 @@ /** Samples for BlobContainers LockImmutabilityPolicy. */ public final class BlobContainersLockImmutabilityPolicySamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersLockImmutabilityPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersLockImmutabilityPolicy.json */ /** * Sample code: LockImmutabilityPolicy. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersObjectLevelWormSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersObjectLevelWormSamples.java index 70104da473f97..2d8a46f61d344 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersObjectLevelWormSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersObjectLevelWormSamples.java @@ -9,7 +9,7 @@ /** Samples for BlobContainers ObjectLevelWorm. */ public final class BlobContainersObjectLevelWormSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/ObjectLevelWormContainerMigration.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/ObjectLevelWormContainerMigration.json */ /** * Sample code: VersionLevelWormContainerMigration. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersSetLegalHoldSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersSetLegalHoldSamples.java index 0183229cd5dbd..b6b6089afdf67 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersSetLegalHoldSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersSetLegalHoldSamples.java @@ -11,7 +11,7 @@ /** Samples for BlobContainers SetLegalHold. */ public final class BlobContainersSetLegalHoldSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersSetLegalHold.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersSetLegalHold.json */ /** * Sample code: SetLegalHoldContainers. @@ -31,4 +31,29 @@ public static void setLegalHoldContainers(com.azure.resourcemanager.AzureResourc new LegalHoldInner().withTags(Arrays.asList("tag1", "tag2", "tag3")), Context.NONE); } + + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersSetLegalHoldAllowProtectedAppendWritesAll.json + */ + /** + * Sample code: SetLegalHoldContainersWithAllowProtectedAppendWritesAll. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void setLegalHoldContainersWithAllowProtectedAppendWritesAll( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getBlobContainers() + .setLegalHoldWithResponse( + "res4303", + "sto7280", + "container8723", + new LegalHoldInner() + .withTags(Arrays.asList("tag1", "tag2", "tag3")) + .withAllowProtectedAppendWritesAll(true), + Context.NONE); + } } diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersUpdateSamples.java index ec043506246e5..b53eabbbe9c8e 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobContainersUpdateSamples.java @@ -13,7 +13,7 @@ /** Samples for BlobContainers Update. */ public final class BlobContainersUpdateSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobContainersPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobContainersPatch.json */ /** * Sample code: UpdateContainers. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesCreateOrUpdateSamples.java index 36e72ea852519..c40bede8de819 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesCreateOrUpdateSamples.java @@ -20,7 +20,7 @@ /** Samples for BlobInventoryPolicies CreateOrUpdate. */ public final class BlobInventoryPoliciesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountSetBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountSetBlobInventoryPolicy.json */ /** * Sample code: StorageAccountSetBlobInventoryPolicy. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesDeleteSamples.java index a76841cba5d35..89d395cb4fa55 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesDeleteSamples.java @@ -10,7 +10,7 @@ /** Samples for BlobInventoryPolicies Delete. */ public final class BlobInventoryPoliciesDeleteSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountDeleteBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountDeleteBlobInventoryPolicy.json */ /** * Sample code: StorageAccountDeleteBlobInventoryPolicy. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesGetSamples.java index d475ea5b2e2c7..988eb97848ec0 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesGetSamples.java @@ -10,7 +10,7 @@ /** Samples for BlobInventoryPolicies Get. */ public final class BlobInventoryPoliciesGetSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountGetBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountGetBlobInventoryPolicy.json */ /** * Sample code: StorageAccountGetBlobInventoryPolicy. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesListSamples.java index 5daaa3015bb36..03c661daab83f 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobInventoryPoliciesListSamples.java @@ -9,7 +9,7 @@ /** Samples for BlobInventoryPolicies List. */ public final class BlobInventoryPoliciesListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountListBlobInventoryPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountListBlobInventoryPolicy.json */ /** * Sample code: StorageAccountGetBlobInventoryPolicy. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobServicesGetServicePropertiesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobServicesGetServicePropertiesSamples.java index 6de17f05ccbfa..c2dd709bf1331 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobServicesGetServicePropertiesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobServicesGetServicePropertiesSamples.java @@ -9,7 +9,7 @@ /** Samples for BlobServices GetServiceProperties. */ public final class BlobServicesGetServicePropertiesSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobServicesGet.json */ /** * Sample code: GetBlobServices. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobServicesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobServicesListSamples.java index c1a00806ead4c..3a7dfebd73cb4 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobServicesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobServicesListSamples.java @@ -9,7 +9,7 @@ /** Samples for BlobServices List. */ public final class BlobServicesListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobServicesList.json */ /** * Sample code: ListBlobServices. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobServicesSetServicePropertiesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobServicesSetServicePropertiesSamples.java index db34edc12a0a6..bb1408f859b9d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobServicesSetServicePropertiesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/BlobServicesSetServicePropertiesSamples.java @@ -18,7 +18,7 @@ /** Samples for BlobServices SetServiceProperties. */ public final class BlobServicesSetServicePropertiesSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobServicesPut.json */ /** * Sample code: PutBlobServices. @@ -81,7 +81,7 @@ public static void putBlobServices(com.azure.resourcemanager.AzureResourceManage } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobServicesPutLastAccessTimeBasedTracking.json */ /** * Sample code: BlobServicesPutLastAccessTimeBasedTracking. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/DeletedAccountsGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/DeletedAccountsGetSamples.java index d14c7f0a279a2..0c13eaff4c4a8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/DeletedAccountsGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/DeletedAccountsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for DeletedAccounts Get. */ public final class DeletedAccountsGetSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/DeletedAccountGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/DeletedAccountGet.json */ /** * Sample code: DeletedAccountGet. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/DeletedAccountsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/DeletedAccountsListSamples.java index b0039cc7e86d3..1349596d24313 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/DeletedAccountsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/DeletedAccountsListSamples.java @@ -9,7 +9,7 @@ /** Samples for DeletedAccounts List. */ public final class DeletedAccountsListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/DeletedAccountList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/DeletedAccountList.json */ /** * Sample code: DeletedAccountList. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesGetSamples.java index 2b9014b3d1734..31d851f358f50 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for EncryptionScopes Get. */ public final class EncryptionScopesGetSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountGetEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountGetEncryptionScope.json */ /** * Sample code: StorageAccountGetEncryptionScope. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesListSamples.java index d6a62defef630..8b4dc5882979c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesListSamples.java @@ -9,7 +9,7 @@ /** Samples for EncryptionScopes List. */ public final class EncryptionScopesListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountEncryptionScopeList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountEncryptionScopeList.json */ /** * Sample code: StorageAccountEncryptionScopeList. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesPatchSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesPatchSamples.java index 1bea6009e43ef..80190cd39ea29 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesPatchSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesPatchSamples.java @@ -12,7 +12,7 @@ /** Samples for EncryptionScopes Patch. */ public final class EncryptionScopesPatchSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountPatchEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountPatchEncryptionScope.json */ /** * Sample code: StorageAccountPatchEncryptionScope. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesPutSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesPutSamples.java index 671abab1b0aba..ff3e7274de494 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesPutSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/EncryptionScopesPutSamples.java @@ -10,7 +10,7 @@ /** Samples for EncryptionScopes Put. */ public final class EncryptionScopesPutSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountPutEncryptionScopeWithInfrastructureEncryption.json */ /** * Sample code: StorageAccountPutEncryptionScopeWithInfrastructureEncryption. @@ -33,7 +33,7 @@ public static void storageAccountPutEncryptionScopeWithInfrastructureEncryption( } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountPutEncryptionScope.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountPutEncryptionScope.json */ /** * Sample code: StorageAccountPutEncryptionScope. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileServicesGetServicePropertiesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileServicesGetServicePropertiesSamples.java index a3342365f684b..b4deb4ca89b91 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileServicesGetServicePropertiesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileServicesGetServicePropertiesSamples.java @@ -9,7 +9,7 @@ /** Samples for FileServices GetServiceProperties. */ public final class FileServicesGetServicePropertiesSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileServicesGet.json */ /** * Sample code: GetFileServices. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileServicesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileServicesListSamples.java index ff284d1de22aa..4580c850a59ea 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileServicesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileServicesListSamples.java @@ -9,7 +9,7 @@ /** Samples for FileServices List. */ public final class FileServicesListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileServicesList.json */ /** * Sample code: ListFileServices. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileServicesSetServicePropertiesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileServicesSetServicePropertiesSamples.java index 467934321a436..792209cca52ea 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileServicesSetServicePropertiesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileServicesSetServicePropertiesSamples.java @@ -17,7 +17,7 @@ /** Samples for FileServices SetServiceProperties. */ public final class FileServicesSetServicePropertiesSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileServicesPut.json */ /** * Sample code: PutFileServices. @@ -76,7 +76,7 @@ public static void putFileServices(com.azure.resourcemanager.AzureResourceManage } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileServicesPut_EnableSecureSmbFeatures.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileServicesPut_EnableSecureSmbFeatures.json */ /** * Sample code: PutFileServices_EnableSecureSmbFeatures. @@ -105,7 +105,7 @@ public static void putFileServicesEnableSecureSmbFeatures(com.azure.resourcemana } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileServicesPut_EnableSMBMultichannel.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileServicesPut_EnableSMBMultichannel.json */ /** * Sample code: PutFileServices_EnableSMBMultichannel. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesCreateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesCreateSamples.java index 79776584fe97a..e66eb9af733f6 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesCreateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesCreateSamples.java @@ -12,7 +12,7 @@ /** Samples for FileShares Create. */ public final class FileSharesCreateSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileSharesPut_AccessTier.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileSharesPut_AccessTier.json */ /** * Sample code: PutShares with Access Tier. @@ -35,7 +35,7 @@ public static void putSharesWithAccessTier(com.azure.resourcemanager.AzureResour } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileSharesPut_NFS.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileSharesPut_NFS.json */ /** * Sample code: Create NFS Shares. @@ -58,7 +58,7 @@ public static void createNFSShares(com.azure.resourcemanager.AzureResourceManage } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileSharesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileSharesPut.json */ /** * Sample code: PutShares. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesDeleteSamples.java index c8407af1de388..27f638000a382 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for FileShares Delete. */ public final class FileSharesDeleteSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileSharesDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileSharesDelete.json */ /** * Sample code: DeleteShares. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesGetSamples.java index 43583d8f2efbf..46c017e2ac645 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesGetSamples.java @@ -9,7 +9,7 @@ /** Samples for FileShares Get. */ public final class FileSharesGetSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileSharesGet_Stats.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileSharesGet_Stats.json */ /** * Sample code: GetShareStats. @@ -26,7 +26,7 @@ public static void getShareStats(com.azure.resourcemanager.AzureResourceManager } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileSharesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileSharesGet.json */ /** * Sample code: GetShares. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesLeaseSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesLeaseSamples.java index e154df33dbf88..51aea5a5402f7 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesLeaseSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesLeaseSamples.java @@ -11,7 +11,7 @@ /** Samples for FileShares Lease. */ public final class FileSharesLeaseSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileSharesLease_Break.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileSharesLease_Break.json */ /** * Sample code: Break a lease on a share. @@ -36,7 +36,7 @@ public static void breakALeaseOnAShare(com.azure.resourcemanager.AzureResourceMa } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileSharesLease_Acquire.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileSharesLease_Acquire.json */ /** * Sample code: Acquire a lease on a share. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesListSamples.java index 3c0f5b0e44034..f5eaa82adee91 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesListSamples.java @@ -9,7 +9,7 @@ /** Samples for FileShares List. */ public final class FileSharesListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileSharesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileSharesList.json */ /** * Sample code: ListShares. @@ -26,7 +26,7 @@ public static void listShares(com.azure.resourcemanager.AzureResourceManager azu } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/DeletedFileSharesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/DeletedFileSharesList.json */ /** * Sample code: ListDeletedShares. @@ -43,7 +43,7 @@ public static void listDeletedShares(com.azure.resourcemanager.AzureResourceMana } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileShareSnapshotsList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileShareSnapshotsList.json */ /** * Sample code: ListShareSnapshots. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesRestoreSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesRestoreSamples.java index 066a3951565a4..4218e0e607a13 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesRestoreSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesRestoreSamples.java @@ -10,7 +10,7 @@ /** Samples for FileShares Restore. */ public final class FileSharesRestoreSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileSharesRestore.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileSharesRestore.json */ /** * Sample code: RestoreShares. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesUpdateSamples.java index aa968e61febe1..fd291195f43f0 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/FileSharesUpdateSamples.java @@ -16,7 +16,7 @@ /** Samples for FileShares Update. */ public final class FileSharesUpdateSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileSharesPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileSharesPatch.json */ /** * Sample code: UpdateShares. @@ -38,7 +38,7 @@ public static void updateShares(com.azure.resourcemanager.AzureResourceManager a } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/FileShareAclsPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/FileShareAclsPatch.json */ /** * Sample code: UpdateShareAcls. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationCreateOrUpdateSamples.java new file mode 100644 index 0000000000000..66981b4b3d614 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationCreateOrUpdateSamples.java @@ -0,0 +1,78 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.generated; + +import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.fluent.models.LocalUserInner; +import com.azure.resourcemanager.storage.models.PermissionScope; +import com.azure.resourcemanager.storage.models.SshPublicKey; +import java.util.Arrays; + +/** Samples for LocalUsersOperation CreateOrUpdate. */ +public final class LocalUsersOperationCreateOrUpdateSamples { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/LocalUserCreate.json + */ + /** + * Sample code: CreateLocalUser. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void createLocalUser(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getLocalUsersOperations() + .createOrUpdateWithResponse( + "res6977", + "sto2527", + "user1", + new LocalUserInner() + .withPermissionScopes( + Arrays + .asList( + new PermissionScope() + .withPermissions("rwd") + .withService("file") + .withResourceName("share1"), + new PermissionScope() + .withPermissions("rw") + .withService("file") + .withResourceName("share2"))) + .withHomeDirectory("homedirectory") + .withSshAuthorizedKeys( + Arrays + .asList(new SshPublicKey().withDescription("key name").withKey("ssh-rsa keykeykeykeykey="))) + .withHasSshPassword(true), + Context.NONE); + } + + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/LocalUserUpdate.json + */ + /** + * Sample code: UpdateLocalUser. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void updateLocalUser(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getLocalUsersOperations() + .createOrUpdateWithResponse( + "res6977", + "sto2527", + "user1", + new LocalUserInner() + .withHomeDirectory("homedirectory2") + .withHasSharedKey(false) + .withHasSshKey(false) + .withHasSshPassword(false), + Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationDeleteSamples.java new file mode 100644 index 0000000000000..4476dea7fd0f9 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationDeleteSamples.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.generated; + +import com.azure.core.util.Context; + +/** Samples for LocalUsersOperation Delete. */ +public final class LocalUsersOperationDeleteSamples { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/LocalUserDelete.json + */ + /** + * Sample code: DeleteLocalUser. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void deleteLocalUser(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getLocalUsersOperations() + .deleteWithResponse("res6977", "sto2527", "user1", Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationGetSamples.java new file mode 100644 index 0000000000000..379b40a48c470 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationGetSamples.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.generated; + +import com.azure.core.util.Context; + +/** Samples for LocalUsersOperation Get. */ +public final class LocalUsersOperationGetSamples { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/LocalUserGet.json + */ + /** + * Sample code: GetLocalUser. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void getLocalUser(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getLocalUsersOperations() + .getWithResponse("res6977", "sto2527", "user1", Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationListKeysSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationListKeysSamples.java new file mode 100644 index 0000000000000..51f984453da9d --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationListKeysSamples.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.generated; + +import com.azure.core.util.Context; + +/** Samples for LocalUsersOperation ListKeys. */ +public final class LocalUsersOperationListKeysSamples { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/LocalUserListKeys.json + */ + /** + * Sample code: ListLocalUserKeys. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listLocalUserKeys(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getLocalUsersOperations() + .listKeysWithResponse("res6977", "sto2527", "user1", Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationListSamples.java new file mode 100644 index 0000000000000..779be064ba4c7 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationListSamples.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.generated; + +import com.azure.core.util.Context; + +/** Samples for LocalUsersOperation List. */ +public final class LocalUsersOperationListSamples { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/LocalUsersList.json + */ + /** + * Sample code: ListLocalUsers. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void listLocalUsers(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getLocalUsersOperations() + .list("res6977", "sto2527", Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationRegeneratePasswordSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationRegeneratePasswordSamples.java new file mode 100644 index 0000000000000..9e72388097ad4 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/LocalUsersOperationRegeneratePasswordSamples.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.generated; + +import com.azure.core.util.Context; + +/** Samples for LocalUsersOperation RegeneratePassword. */ +public final class LocalUsersOperationRegeneratePasswordSamples { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/LocalUserRegeneratePassword.json + */ + /** + * Sample code: RegenerateLocalUserPassword. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void regenerateLocalUserPassword(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getLocalUsersOperations() + .regeneratePasswordWithResponse("res6977", "sto2527", "user1", Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ManagementPoliciesCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ManagementPoliciesCreateOrUpdateSamples.java index 98ccd9e3d0b21..76a3c575cda02 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ManagementPoliciesCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ManagementPoliciesCreateOrUpdateSamples.java @@ -24,7 +24,7 @@ /** Samples for ManagementPolicies CreateOrUpdate. */ public final class ManagementPoliciesCreateOrUpdateSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountSetManagementPolicyWithSnapshotAndVersion.json */ /** * Sample code: StorageAccountSetManagementPolicyWithSnapshotAndVersion. @@ -100,7 +100,7 @@ public static void storageAccountSetManagementPolicyWithSnapshotAndVersion( } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountSetManagementPolicyForBlockAndAppendBlobs.json */ /** * Sample code: StorageAccountSetManagementPolicyForBlockAndAppendBlobs. @@ -157,7 +157,7 @@ public static void storageAccountSetManagementPolicyForBlockAndAppendBlobs( } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json */ /** * Sample code: StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions. @@ -217,7 +217,7 @@ public static void storageAccountSetManagementPolicyLastAccessTimeBasedBlobActio } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountSetManagementPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountSetManagementPolicy.json */ /** * Sample code: StorageAccountSetManagementPolicies. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ManagementPoliciesDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ManagementPoliciesDeleteSamples.java index 89d2f55d9109e..9a44792afa3e8 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ManagementPoliciesDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ManagementPoliciesDeleteSamples.java @@ -10,7 +10,7 @@ /** Samples for ManagementPolicies Delete. */ public final class ManagementPoliciesDeleteSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountDeleteManagementPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountDeleteManagementPolicy.json */ /** * Sample code: StorageAccountDeleteManagementPolicies. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ManagementPoliciesGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ManagementPoliciesGetSamples.java index 422638847edb3..63999bc05392c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ManagementPoliciesGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ManagementPoliciesGetSamples.java @@ -10,7 +10,7 @@ /** Samples for ManagementPolicies Get. */ public final class ManagementPoliciesGetSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountGetManagementPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountGetManagementPolicy.json */ /** * Sample code: StorageAccountGetManagementPolicies. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationCreateOrUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationCreateOrUpdateSamples.java index 783d93782c519..479056a23041d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationCreateOrUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationCreateOrUpdateSamples.java @@ -13,7 +13,7 @@ /** Samples for ObjectReplicationPoliciesOperation CreateOrUpdate. */ public final class ObjectReplicationPoliciesOperationCreateOrUpdateSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountCreateObjectReplicationPolicyOnSource.json */ /** * Sample code: StorageAccountCreateObjectReplicationPolicyOnSource. @@ -49,7 +49,7 @@ public static void storageAccountCreateObjectReplicationPolicyOnSource( } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountUpdateObjectReplicationPolicyOnDestination.json */ /** * Sample code: StorageAccountUpdateObjectReplicationPolicyOnDestination. @@ -87,7 +87,7 @@ public static void storageAccountUpdateObjectReplicationPolicyOnDestination( } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountCreateObjectReplicationPolicyOnDestination.json */ /** * Sample code: StorageAccountCreateObjectReplicationPolicyOnDestination. @@ -121,7 +121,7 @@ public static void storageAccountCreateObjectReplicationPolicyOnDestination( } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountUpdateObjectReplicationPolicyOnSource.json */ /** * Sample code: StorageAccountUpdateObjectReplicationPolicyOnSource. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationDeleteSamples.java index fa49f7b866fa8..8eb8508171fca 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for ObjectReplicationPoliciesOperation Delete. */ public final class ObjectReplicationPoliciesOperationDeleteSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountDeleteObjectReplicationPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountDeleteObjectReplicationPolicy.json */ /** * Sample code: StorageAccountDeleteObjectReplicationPolicies. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationGetSamples.java index 1d8b73ec5cae0..793baca0a45ba 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationGetSamples.java @@ -9,7 +9,7 @@ /** Samples for ObjectReplicationPoliciesOperation Get. */ public final class ObjectReplicationPoliciesOperationGetSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountGetObjectReplicationPolicy.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountGetObjectReplicationPolicy.json */ /** * Sample code: StorageAccountGetObjectReplicationPolicies. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationListSamples.java index 7900f7d0a3e9d..43e847ff6d8a0 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/ObjectReplicationPoliciesOperationListSamples.java @@ -9,7 +9,7 @@ /** Samples for ObjectReplicationPoliciesOperation List. */ public final class ObjectReplicationPoliciesOperationListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountListObjectReplicationPolicies.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountListObjectReplicationPolicies.json */ /** * Sample code: StorageAccountListObjectReplicationPolicies. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/OperationsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/OperationsListSamples.java index a73ed52a1dd24..20c37ba5b1879 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/OperationsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/OperationsListSamples.java @@ -9,7 +9,7 @@ /** Samples for Operations List. */ public final class OperationsListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/OperationsList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/OperationsList.json */ /** * Sample code: OperationsList. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsDeleteSamples.java index a3113e4dd2928..3afea56a61dc5 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for PrivateEndpointConnections Delete. */ public final class PrivateEndpointConnectionsDeleteSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountDeletePrivateEndpointConnection.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountDeletePrivateEndpointConnection.json */ /** * Sample code: StorageAccountDeletePrivateEndpointConnection. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsGetSamples.java index f727d1239e091..d08e25ed969b3 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsGetSamples.java @@ -9,7 +9,7 @@ /** Samples for PrivateEndpointConnections Get. */ public final class PrivateEndpointConnectionsGetSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountGetPrivateEndpointConnection.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountGetPrivateEndpointConnection.json */ /** * Sample code: StorageAccountGetPrivateEndpointConnection. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsListSamples.java index 3e9b1eced295d..e595782c5f44c 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsListSamples.java @@ -9,7 +9,7 @@ /** Samples for PrivateEndpointConnections List. */ public final class PrivateEndpointConnectionsListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountListPrivateEndpointConnections.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountListPrivateEndpointConnections.json */ /** * Sample code: StorageAccountListPrivateEndpointConnections. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsPutSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsPutSamples.java index c88c84003ae89..934bf4e6cfa9e 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsPutSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateEndpointConnectionsPutSamples.java @@ -12,7 +12,7 @@ /** Samples for PrivateEndpointConnections Put. */ public final class PrivateEndpointConnectionsPutSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountPutPrivateEndpointConnection.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountPutPrivateEndpointConnection.json */ /** * Sample code: StorageAccountPutPrivateEndpointConnection. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateLinkResourcesListByStorageAccountSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateLinkResourcesListByStorageAccountSamples.java index 874325fc48d65..54707a2c28652 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateLinkResourcesListByStorageAccountSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/PrivateLinkResourcesListByStorageAccountSamples.java @@ -9,7 +9,7 @@ /** Samples for PrivateLinkResources ListByStorageAccount. */ public final class PrivateLinkResourcesListByStorageAccountSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountListPrivateLinkResources.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountListPrivateLinkResources.json */ /** * Sample code: StorageAccountListPrivateLinkResources. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueCreateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueCreateSamples.java index 2d5fb3fed3a50..e25538e284cd2 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueCreateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueCreateSamples.java @@ -12,7 +12,7 @@ /** Samples for Queue Create. */ public final class QueueCreateSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/QueueOperationPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/QueueOperationPut.json */ /** * Sample code: QueueOperationPut. @@ -29,7 +29,7 @@ public static void queueOperationPut(com.azure.resourcemanager.AzureResourceMana } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/QueueOperationPutWithMetadata.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/QueueOperationPutWithMetadata.json */ /** * Sample code: QueueOperationPutWithMetadata. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueDeleteSamples.java index 7085896d259c3..2111985b1dde9 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Queue Delete. */ public final class QueueDeleteSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/QueueOperationDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/QueueOperationDelete.json */ /** * Sample code: QueueOperationDelete. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueGetSamples.java index 1766bf9f0d4c2..6a4bfa2a7e48d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueGetSamples.java @@ -9,7 +9,7 @@ /** Samples for Queue Get. */ public final class QueueGetSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/QueueOperationGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/QueueOperationGet.json */ /** * Sample code: QueueOperationGet. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueListSamples.java index 9ed3b9da676b2..1de562cea706e 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueListSamples.java @@ -9,7 +9,7 @@ /** Samples for Queue List. */ public final class QueueListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/QueueOperationList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/QueueOperationList.json */ /** * Sample code: QueueOperationList. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueServicesGetServicePropertiesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueServicesGetServicePropertiesSamples.java index 2f8053fdb263d..47e48388e8631 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueServicesGetServicePropertiesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueServicesGetServicePropertiesSamples.java @@ -9,7 +9,7 @@ /** Samples for QueueServices GetServiceProperties. */ public final class QueueServicesGetServicePropertiesSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/QueueServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/QueueServicesGet.json */ /** * Sample code: QueueServicesGet. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueServicesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueServicesListSamples.java index 682c17e75bebc..3c398b4d2012b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueServicesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueServicesListSamples.java @@ -9,7 +9,7 @@ /** Samples for QueueServices List. */ public final class QueueServicesListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/QueueServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/QueueServicesList.json */ /** * Sample code: QueueServicesList. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueServicesSetServicePropertiesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueServicesSetServicePropertiesSamples.java index f8e06d94df655..a88291c927120 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueServicesSetServicePropertiesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueServicesSetServicePropertiesSamples.java @@ -14,7 +14,7 @@ /** Samples for QueueServices SetServiceProperties. */ public final class QueueServicesSetServicePropertiesSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/QueueServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/QueueServicesPut.json */ /** * Sample code: QueueServicesPut. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueUpdateSamples.java index b8635d0c7e984..c02f049be222f 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/QueueUpdateSamples.java @@ -10,7 +10,7 @@ /** Samples for Queue Update. */ public final class QueueUpdateSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/QueueOperationPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/QueueOperationPatch.json */ /** * Sample code: QueueOperationPatch. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/SkusListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/SkusListSamples.java index 89968749706bb..1b19f68332d78 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/SkusListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/SkusListSamples.java @@ -9,7 +9,7 @@ /** Samples for Skus List. */ public final class SkusListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/SKUList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/SKUList.json */ /** * Sample code: SkuList. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsAbortHierarchicalNamespaceMigrationSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsAbortHierarchicalNamespaceMigrationSamples.java new file mode 100644 index 0000000000000..63c0b56ff915e --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsAbortHierarchicalNamespaceMigrationSamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.generated; + +import com.azure.core.util.Context; + +/** Samples for StorageAccounts AbortHierarchicalNamespaceMigration. */ +public final class StorageAccountsAbortHierarchicalNamespaceMigrationSamples { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountAbortHierarchicalNamespaceMigration.json + */ + /** + * Sample code: StorageAccountAbortHierarchicalNamespaceMigration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountAbortHierarchicalNamespaceMigration( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .abortHierarchicalNamespaceMigration("res4228", "sto2434", Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsCheckNameAvailabilitySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsCheckNameAvailabilitySamples.java index e0b3b7401ff2e..47ada7dc30f9b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsCheckNameAvailabilitySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsCheckNameAvailabilitySamples.java @@ -10,7 +10,7 @@ /** Samples for StorageAccounts CheckNameAvailability. */ public final class StorageAccountsCheckNameAvailabilitySamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountCheckNameAvailability.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountCheckNameAvailability.json */ /** * Sample code: StorageAccountCheckNameAvailability. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsCreateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsCreateSamples.java index 5a54d23df2d09..7a976f13f68b9 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsCreateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsCreateSamples.java @@ -5,6 +5,9 @@ package com.azure.resourcemanager.storage.generated; import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.AccountImmutabilityPolicyProperties; +import com.azure.resourcemanager.storage.models.AccountImmutabilityPolicyState; +import com.azure.resourcemanager.storage.models.AllowedCopyScope; import com.azure.resourcemanager.storage.models.Bypass; import com.azure.resourcemanager.storage.models.DefaultAction; import com.azure.resourcemanager.storage.models.Encryption; @@ -16,6 +19,7 @@ import com.azure.resourcemanager.storage.models.ExtendedLocationTypes; import com.azure.resourcemanager.storage.models.Identity; import com.azure.resourcemanager.storage.models.IdentityType; +import com.azure.resourcemanager.storage.models.ImmutableStorageAccount; import com.azure.resourcemanager.storage.models.KeyPolicy; import com.azure.resourcemanager.storage.models.KeySource; import com.azure.resourcemanager.storage.models.KeyType; @@ -23,6 +27,7 @@ import com.azure.resourcemanager.storage.models.Kind; import com.azure.resourcemanager.storage.models.MinimumTlsVersion; import com.azure.resourcemanager.storage.models.NetworkRuleSet; +import com.azure.resourcemanager.storage.models.PublicNetworkAccess; import com.azure.resourcemanager.storage.models.RoutingChoice; import com.azure.resourcemanager.storage.models.RoutingPreference; import com.azure.resourcemanager.storage.models.SasPolicy; @@ -38,7 +43,7 @@ /** Samples for StorageAccounts Create. */ public final class StorageAccountsCreateSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/NfsV3AccountCreate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/NfsV3AccountCreate.json */ /** * Sample code: NfsV3AccountCreate. @@ -76,7 +81,91 @@ public static void nfsV3AccountCreate(com.azure.resourcemanager.AzureResourceMan } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountCreate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountCreateWithImmutabilityPolicy.json + */ + /** + * Sample code: StorageAccountCreateWithImmutabilityPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateWithImmutabilityPolicy( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_GRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withExtendedLocation( + new ExtendedLocation().withName("losangeles001").withType(ExtendedLocationTypes.EDGE_ZONE)) + .withImmutableStorageWithVersioning( + new ImmutableStorageAccount() + .withEnabled(true) + .withImmutabilityPolicy( + new AccountImmutabilityPolicyProperties() + .withImmutabilityPeriodSinceCreationInDays(15) + .withState(AccountImmutabilityPolicyState.UNLOCKED) + .withAllowProtectedAppendWrites(true))), + Context.NONE); + } + + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountCreateAllowedCopyScopeToPrivateLink.json + */ + /** + * Sample code: StorageAccountCreateAllowedCopyScopeToPrivateLink. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateAllowedCopyScopeToPrivateLink( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_GRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withTags(mapOf("key1", "value1", "key2", "value2")) + .withAllowedCopyScope(AllowedCopyScope.PRIVATE_LINK) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE) + .withRequireInfrastructureEncryption(false)) + .withIsHnsEnabled(true) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true), + Context.NONE); + } + + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountCreate.json */ /** * Sample code: StorageAccountCreate. @@ -104,6 +193,207 @@ public static void storageAccountCreate(com.azure.resourcemanager.AzureResourceM .withSasExpirationPeriod("1.15:59:59") .withExpirationAction(ExpirationAction.LOG)) .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE) + .withRequireInfrastructureEncryption(false)) + .withIsSftpEnabled(true) + .withIsHnsEnabled(true) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true) + .withDefaultToOAuthAuthentication(false), + Context.NONE); + } + + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountCreateEnablePublicNetworkAccess.json + */ + /** + * Sample code: StorageAccountCreateEnablePublicNetworkAccess. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateEnablePublicNetworkAccess( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_GRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withExtendedLocation( + new ExtendedLocation().withName("losangeles001").withType(ExtendedLocationTypes.EDGE_ZONE)) + .withTags(mapOf("key1", "value1", "key2", "value2")) + .withPublicNetworkAccess(PublicNetworkAccess.ENABLED) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE) + .withRequireInfrastructureEncryption(false)) + .withIsHnsEnabled(true) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true), + Context.NONE); + } + + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountCreateAllowedCopyScopeToAAD.json + */ + /** + * Sample code: StorageAccountCreateAllowedCopyScopeToAAD. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateAllowedCopyScopeToAAD(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_GRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withTags(mapOf("key1", "value1", "key2", "value2")) + .withAllowedCopyScope(AllowedCopyScope.AAD) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE) + .withRequireInfrastructureEncryption(false)) + .withIsHnsEnabled(true) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true), + Context.NONE); + } + + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId.json + */ + /** + * Sample code: StorageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateUserAssignedIdentityWithFederatedIdentityClientId( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res131918", + "sto131918", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_LRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withIdentity( + new Identity() + .withType(IdentityType.USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf( + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}", + new UserAssignedIdentity()))) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_KEYVAULT) + .withKeyVaultProperties( + new KeyVaultProperties() + .withKeyName("wrappingKey") + .withKeyVersion("") + .withKeyVaultUri("https://myvault8569.vault.azure.net")) + .withEncryptionIdentity( + new EncryptionIdentity() + .withEncryptionUserAssignedIdentity( + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}") + .withEncryptionFederatedIdentityClientId("f83c6b1b-4d34-47e4-bb34-9d83df58b540"))), + Context.NONE); + } + + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountCreateDisallowPublicNetworkAccess.json + */ + /** + * Sample code: StorageAccountCreateDisallowPublicNetworkAccess. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountCreateDisallowPublicNetworkAccess( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .create( + "res9101", + "sto4445", + new StorageAccountCreateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_GRS)) + .withKind(Kind.STORAGE) + .withLocation("eastus") + .withExtendedLocation( + new ExtendedLocation().withName("losangeles001").withType(ExtendedLocationTypes.EDGE_ZONE)) + .withTags(mapOf("key1", "value1", "key2", "value2")) + .withPublicNetworkAccess(PublicNetworkAccess.DISABLED) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) .withEncryption( new Encryption() .withServices( @@ -125,7 +415,7 @@ public static void storageAccountCreate(com.azure.resourcemanager.AzureResourceM } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountCreateUserAssignedEncryptionIdentityWithCMK.json */ /** * Sample code: StorageAccountCreateUserAssignedEncryptionIdentityWithCMK. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsDeleteSamples.java index bfdfd0a920b64..d9613733ecf6f 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for StorageAccounts Delete. */ public final class StorageAccountsDeleteSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountDelete.json */ /** * Sample code: StorageAccountDelete. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsFailoverSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsFailoverSamples.java index bcb4fb7daf458..27f7f8cce8cc2 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsFailoverSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsFailoverSamples.java @@ -9,7 +9,7 @@ /** Samples for StorageAccounts Failover. */ public final class StorageAccountsFailoverSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountFailover.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountFailover.json */ /** * Sample code: StorageAccountFailover. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsGetByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsGetByResourceGroupSamples.java index 25be0cb658cf0..16578153b9e96 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsGetByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsGetByResourceGroupSamples.java @@ -9,7 +9,7 @@ /** Samples for StorageAccounts GetByResourceGroup. */ public final class StorageAccountsGetByResourceGroupSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountGetProperties.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountGetProperties.json */ /** * Sample code: StorageAccountGetProperties. @@ -26,7 +26,7 @@ public static void storageAccountGetProperties(com.azure.resourcemanager.AzureRe } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountGetPropertiesCMKEnabled.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountGetPropertiesCMKEnabled.json */ /** * Sample code: StorageAccountGetPropertiesCMKEnabled. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsHierarchicalNamespaceMigrationSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsHierarchicalNamespaceMigrationSamples.java new file mode 100644 index 0000000000000..6f283739a6cf1 --- /dev/null +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsHierarchicalNamespaceMigrationSamples.java @@ -0,0 +1,28 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.resourcemanager.storage.generated; + +import com.azure.core.util.Context; + +/** Samples for StorageAccounts HierarchicalNamespaceMigration. */ +public final class StorageAccountsHierarchicalNamespaceMigrationSamples { + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountHierarchicalNamespaceMigration.json + */ + /** + * Sample code: StorageAccountHierarchicalNamespaceMigration. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountHierarchicalNamespaceMigration( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .hierarchicalNamespaceMigration("res4228", "sto2434", "HnsOnValidationRequest", Context.NONE); + } +} diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListAccountSasSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListAccountSasSamples.java index e3402a407b567..51fca86e63f19 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListAccountSasSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListAccountSasSamples.java @@ -15,7 +15,7 @@ /** Samples for StorageAccounts ListAccountSas. */ public final class StorageAccountsListAccountSasSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountListAccountSAS.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountListAccountSAS.json */ /** * Sample code: StorageAccountListAccountSAS. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListByResourceGroupSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListByResourceGroupSamples.java index ae65e32e43b8f..df7424f18f129 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListByResourceGroupSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListByResourceGroupSamples.java @@ -9,7 +9,7 @@ /** Samples for StorageAccounts ListByResourceGroup. */ public final class StorageAccountsListByResourceGroupSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountListByResourceGroup.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountListByResourceGroup.json */ /** * Sample code: StorageAccountListByResourceGroup. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListKeysSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListKeysSamples.java index 93b49916b396f..4f7ef979ac691 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListKeysSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListKeysSamples.java @@ -9,7 +9,7 @@ /** Samples for StorageAccounts ListKeys. */ public final class StorageAccountsListKeysSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountListKeys.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountListKeys.json */ /** * Sample code: StorageAccountListKeys. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListSamples.java index 1fe41f471d0a2..100a6d535d787 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListSamples.java @@ -9,7 +9,7 @@ /** Samples for StorageAccounts List. */ public final class StorageAccountsListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountList.json */ /** * Sample code: StorageAccountList. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListServiceSasSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListServiceSasSamples.java index 405f14f5d75f6..8f48bdcfe4662 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListServiceSasSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsListServiceSasSamples.java @@ -13,7 +13,7 @@ /** Samples for StorageAccounts ListServiceSas. */ public final class StorageAccountsListServiceSasSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountListServiceSAS.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountListServiceSAS.json */ /** * Sample code: StorageAccountListServiceSAS. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsRegenerateKeySamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsRegenerateKeySamples.java index e507b83127c79..c867b8741e83b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsRegenerateKeySamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsRegenerateKeySamples.java @@ -10,7 +10,7 @@ /** Samples for StorageAccounts RegenerateKey. */ public final class StorageAccountsRegenerateKeySamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountRegenerateKey.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountRegenerateKey.json */ /** * Sample code: StorageAccountRegenerateKey. @@ -28,7 +28,7 @@ public static void storageAccountRegenerateKey(com.azure.resourcemanager.AzureRe } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountRegenerateKerbKey.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountRegenerateKerbKey.json */ /** * Sample code: StorageAccountRegenerateKerbKey. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsRestoreBlobRangesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsRestoreBlobRangesSamples.java index 73edd3a978c5f..cd3061253e83f 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsRestoreBlobRangesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsRestoreBlobRangesSamples.java @@ -13,7 +13,7 @@ /** Samples for StorageAccounts RestoreBlobRanges. */ public final class StorageAccountsRestoreBlobRangesSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/BlobRangesRestore.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/BlobRangesRestore.json */ /** * Sample code: BlobRangesRestore. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsRevokeUserDelegationKeysSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsRevokeUserDelegationKeysSamples.java index a06f6b9e4cd8a..572c7c71b6dc7 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsRevokeUserDelegationKeysSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsRevokeUserDelegationKeysSamples.java @@ -9,7 +9,7 @@ /** Samples for StorageAccounts RevokeUserDelegationKeys. */ public final class StorageAccountsRevokeUserDelegationKeysSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountRevokeUserDelegationKeys.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountRevokeUserDelegationKeys.json */ /** * Sample code: StorageAccountRevokeUserDelegationKeys. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsUpdateSamples.java index fd222abf6a049..f0de7b408a500 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/StorageAccountsUpdateSamples.java @@ -5,7 +5,11 @@ package com.azure.resourcemanager.storage.generated; import com.azure.core.util.Context; +import com.azure.resourcemanager.storage.models.AccountImmutabilityPolicyProperties; +import com.azure.resourcemanager.storage.models.AccountImmutabilityPolicyState; import com.azure.resourcemanager.storage.models.ActiveDirectoryProperties; +import com.azure.resourcemanager.storage.models.ActiveDirectoryPropertiesAccountType; +import com.azure.resourcemanager.storage.models.AllowedCopyScope; import com.azure.resourcemanager.storage.models.AzureFilesIdentityBasedAuthentication; import com.azure.resourcemanager.storage.models.DefaultAction; import com.azure.resourcemanager.storage.models.DirectoryServiceOptions; @@ -16,6 +20,7 @@ import com.azure.resourcemanager.storage.models.ExpirationAction; import com.azure.resourcemanager.storage.models.Identity; import com.azure.resourcemanager.storage.models.IdentityType; +import com.azure.resourcemanager.storage.models.ImmutableStorageAccount; import com.azure.resourcemanager.storage.models.KeyPolicy; import com.azure.resourcemanager.storage.models.KeySource; import com.azure.resourcemanager.storage.models.KeyType; @@ -23,6 +28,7 @@ import com.azure.resourcemanager.storage.models.Kind; import com.azure.resourcemanager.storage.models.MinimumTlsVersion; import com.azure.resourcemanager.storage.models.NetworkRuleSet; +import com.azure.resourcemanager.storage.models.PublicNetworkAccess; import com.azure.resourcemanager.storage.models.ResourceAccessRule; import com.azure.resourcemanager.storage.models.RoutingChoice; import com.azure.resourcemanager.storage.models.RoutingPreference; @@ -38,7 +44,85 @@ /** Samples for StorageAccounts Update. */ public final class StorageAccountsUpdateSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountEnableAD.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountUpdateWithImmutabilityPolicy.json + */ + /** + * Sample code: StorageAccountUpdateWithImmutabilityPolicy. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountUpdateWithImmutabilityPolicy( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .updateWithResponse( + "res9407", + "sto8596", + new StorageAccountUpdateParameters() + .withImmutableStorageWithVersioning( + new ImmutableStorageAccount() + .withEnabled(true) + .withImmutabilityPolicy( + new AccountImmutabilityPolicyProperties() + .withImmutabilityPeriodSinceCreationInDays(15) + .withState(AccountImmutabilityPolicyState.LOCKED) + .withAllowProtectedAppendWrites(true))), + Context.NONE); + } + + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId.json + */ + /** + * Sample code: StorageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountUpdateUserAssignedIdentityWithFederatedIdentityClientId( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .updateWithResponse( + "res131918", + "sto131918", + new StorageAccountUpdateParameters() + .withSku(new Sku().withName(SkuName.STANDARD_LRS)) + .withIdentity( + new Identity() + .withType(IdentityType.USER_ASSIGNED) + .withUserAssignedIdentities( + mapOf( + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}", + new UserAssignedIdentity()))) + .withKind(Kind.STORAGE) + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_KEYVAULT) + .withKeyVaultProperties( + new KeyVaultProperties() + .withKeyName("wrappingKey") + .withKeyVersion("") + .withKeyVaultUri("https://myvault8569.vault.azure.net")) + .withEncryptionIdentity( + new EncryptionIdentity() + .withEncryptionUserAssignedIdentity( + "/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{managed-identity-name}") + .withEncryptionFederatedIdentityClientId("3109d1c4-a5de-4d84-8832-feabb916a4b6"))), + Context.NONE); + } + + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountEnableAD.json */ /** * Sample code: StorageAccountEnableAD. @@ -65,12 +149,119 @@ public static void storageAccountEnableAD(com.azure.resourcemanager.AzureResourc .withForestName("adtest.com") .withDomainGuid("aebfc118-9fa9-4732-a21f-d98e41a77ae1") .withDomainSid("S-1-5-21-2400535526-2334094090-2402026252") - .withAzureStorageSid("S-1-5-21-2400535526-2334094090-2402026252-0012"))), + .withAzureStorageSid("S-1-5-21-2400535526-2334094090-2402026252-0012") + .withSamAccountName("sam12498") + .withAccountType(ActiveDirectoryPropertiesAccountType.USER))), + Context.NONE); + } + + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountUpdateAllowedCopyScopeToAAD.json + */ + /** + * Sample code: StorageAccountUpdateAllowedCopyScopeToAAD. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountUpdateAllowedCopyScopeToAAD(com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .updateWithResponse( + "res9407", + "sto8596", + new StorageAccountUpdateParameters() + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE)) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withNetworkRuleSet( + new NetworkRuleSet() + .withResourceAccessRules( + Arrays + .asList( + new ResourceAccessRule() + .withTenantId("72f988bf-86f1-41af-91ab-2d7cd011db47") + .withResourceId( + "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace"))) + .withDefaultAction(DefaultAction.ALLOW)) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true) + .withAllowedCopyScope(AllowedCopyScope.AAD), + Context.NONE); + } + + /* + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountUpdateDisablePublicNetworkAccess.json + */ + /** + * Sample code: StorageAccountUpdateDisablePublicNetworkAccess. + * + * @param azure The entry point for accessing resource management APIs in Azure. + */ + public static void storageAccountUpdateDisablePublicNetworkAccess( + com.azure.resourcemanager.AzureResourceManager azure) { + azure + .storageAccounts() + .manager() + .serviceClient() + .getStorageAccounts() + .updateWithResponse( + "res9407", + "sto8596", + new StorageAccountUpdateParameters() + .withEncryption( + new Encryption() + .withServices( + new EncryptionServices() + .withBlob(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT)) + .withFile(new EncryptionService().withEnabled(true).withKeyType(KeyType.ACCOUNT))) + .withKeySource(KeySource.MICROSOFT_STORAGE)) + .withSasPolicy( + new SasPolicy() + .withSasExpirationPeriod("1.15:59:59") + .withExpirationAction(ExpirationAction.LOG)) + .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withNetworkRuleSet( + new NetworkRuleSet() + .withResourceAccessRules( + Arrays + .asList( + new ResourceAccessRule() + .withTenantId("72f988bf-86f1-41af-91ab-2d7cd011db47") + .withResourceId( + "/subscriptions/a7e99807-abbf-4642-bdec-2c809a96a8bc/resourceGroups/res9407/providers/Microsoft.Synapse/workspaces/testworkspace"))) + .withDefaultAction(DefaultAction.ALLOW)) + .withRoutingPreference( + new RoutingPreference() + .withRoutingChoice(RoutingChoice.MICROSOFT_ROUTING) + .withPublishMicrosoftEndpoints(true) + .withPublishInternetEndpoints(true)) + .withAllowBlobPublicAccess(false) + .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) + .withAllowSharedKeyAccess(true) + .withPublicNetworkAccess(PublicNetworkAccess.DISABLED), Context.NONE); } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountEnableCMK.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountEnableCMK.json */ /** * Sample code: StorageAccountEnableCMK. @@ -103,7 +294,7 @@ public static void storageAccountEnableCMK(com.azure.resourcemanager.AzureResour } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountUpdate.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountUpdate.json */ /** * Sample code: StorageAccountUpdate. @@ -132,6 +323,8 @@ public static void storageAccountUpdate(com.azure.resourcemanager.AzureResourceM .withSasExpirationPeriod("1.15:59:59") .withExpirationAction(ExpirationAction.LOG)) .withKeyPolicy(new KeyPolicy().withKeyExpirationPeriodInDays(20)) + .withIsSftpEnabled(true) + .withIsLocalUserEnabled(true) .withNetworkRuleSet( new NetworkRuleSet() .withResourceAccessRules( @@ -149,12 +342,13 @@ public static void storageAccountUpdate(com.azure.resourcemanager.AzureResourceM .withPublishInternetEndpoints(true)) .withAllowBlobPublicAccess(false) .withMinimumTlsVersion(MinimumTlsVersion.TLS1_2) - .withAllowSharedKeyAccess(true), + .withAllowSharedKeyAccess(true) + .withDefaultToOAuthAuthentication(false), Context.NONE); } /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK.json */ /** * Sample code: StorageAccountUpdateUserAssignedEncryptionIdentityWithCMK. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableCreateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableCreateSamples.java index ba1a48ce12f91..89befb7f35ef1 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableCreateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableCreateSamples.java @@ -9,7 +9,7 @@ /** Samples for Table Create. */ public final class TableCreateSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/TableOperationPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/TableOperationPut.json */ /** * Sample code: TableOperationPut. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableDeleteSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableDeleteSamples.java index c0a1fb279dddb..c4fd2b3dac77b 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableDeleteSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableDeleteSamples.java @@ -9,7 +9,7 @@ /** Samples for Table Delete. */ public final class TableDeleteSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/TableOperationDelete.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/TableOperationDelete.json */ /** * Sample code: TableOperationDelete. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableGetSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableGetSamples.java index f016f5e53e4cb..9935a4f90e159 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableGetSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableGetSamples.java @@ -9,7 +9,7 @@ /** Samples for Table Get. */ public final class TableGetSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/TableOperationGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/TableOperationGet.json */ /** * Sample code: TableOperationGet. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableListSamples.java index 57e174cca4a37..053ee334005b9 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableListSamples.java @@ -9,7 +9,7 @@ /** Samples for Table List. */ public final class TableListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/TableOperationList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/TableOperationList.json */ /** * Sample code: TableOperationList. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableServicesGetServicePropertiesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableServicesGetServicePropertiesSamples.java index c734ebe3c8c9c..52f8856450bff 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableServicesGetServicePropertiesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableServicesGetServicePropertiesSamples.java @@ -9,7 +9,7 @@ /** Samples for TableServices GetServiceProperties. */ public final class TableServicesGetServicePropertiesSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/TableServicesGet.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/TableServicesGet.json */ /** * Sample code: TableServicesGet. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableServicesListSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableServicesListSamples.java index 403f5a4fa323b..572b3c5b6c11a 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableServicesListSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableServicesListSamples.java @@ -9,7 +9,7 @@ /** Samples for TableServices List. */ public final class TableServicesListSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/TableServicesList.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/TableServicesList.json */ /** * Sample code: TableServicesList. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableServicesSetServicePropertiesSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableServicesSetServicePropertiesSamples.java index 652ba10211891..58bc20b2e48bc 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableServicesSetServicePropertiesSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableServicesSetServicePropertiesSamples.java @@ -14,7 +14,7 @@ /** Samples for TableServices SetServiceProperties. */ public final class TableServicesSetServicePropertiesSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/TableServicesPut.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/TableServicesPut.json */ /** * Sample code: TableServicesPut. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableUpdateSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableUpdateSamples.java index 15a7f9bc35ba7..c92c44d960384 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableUpdateSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/TableUpdateSamples.java @@ -9,7 +9,7 @@ /** Samples for Table Update. */ public final class TableUpdateSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/TableOperationPatch.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/TableOperationPatch.json */ /** * Sample code: TableOperationPatch. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/UsagesListByLocationSamples.java b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/UsagesListByLocationSamples.java index 21ae164a8ed19..f1b05656722c3 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/UsagesListByLocationSamples.java +++ b/sdk/resourcemanager/azure-resourcemanager/src/samples/java/com/azure/resourcemanager/storage/generated/UsagesListByLocationSamples.java @@ -9,7 +9,7 @@ /** Samples for Usages ListByLocation. */ public final class UsagesListByLocationSamples { /* - * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-04-01/examples/StorageAccountListLocationUsage.json + * x-ms-original-file: specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/examples/StorageAccountListLocationUsage.json */ /** * Sample code: UsageList. diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.createStorageAccount.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.createStorageAccount.json index e3b5cbd7e9f10..2ed1f6b46d0ef 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.createStorageAccount.json +++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.createStorageAccount.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testsa16486group/providers/Microsoft.Storage/storageAccounts/testsa16486?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testsa16486group/providers/Microsoft.Storage/storageAccounts/testsa16486?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "4e784109-e149-4d16-a928-b1b551d0b079", @@ -51,12 +51,12 @@ "Body" : "", "x-ms-client-request-id" : "4e784109-e149-4d16-a928-b1b551d0b079", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastasia/asyncoperations/ab5809b7-5188-471f-b4a9-6c056d5a342d?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastasia/asyncoperations/ab5809b7-5188-471f-b4a9-6c056d5a342d?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastasia/asyncoperations/ab5809b7-5188-471f-b4a9-6c056d5a342d?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastasia/asyncoperations/ab5809b7-5188-471f-b4a9-6c056d5a342d?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f1df9624-77b3-4b92-9d60-90eee5390694" @@ -83,7 +83,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testsa16486group/providers/Microsoft.Storage/storageAccounts/testsa16486?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testsa16486group/providers/Microsoft.Storage/storageAccounts/testsa16486?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "231ad76f-1ea5-445c-a525-57992938dbbd", diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.listStorageAccounts.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.listStorageAccounts.json index 7b3a5822440f4..c8fcf020c7767 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.listStorageAccounts.json +++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.listStorageAccounts.json @@ -1,7 +1,7 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0bf5c2f6-27a4-4e63-bbda-5879a529fb21", diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testBatchAccount.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testBatchAccount.json index ada68a8e5374e..83aab2ce7b4ea 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testBatchAccount.json +++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testBatchAccount.json @@ -212,7 +212,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/batch671694group/providers/Microsoft.Storage/storageAccounts/batchsa671694?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/batch671694group/providers/Microsoft.Storage/storageAccounts/batchsa671694?api-version=2021-08-01", "Headers" : { "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:d916ff2a485200f321d6cba23dc3377b781cd392a6e37bf910c332cb391ba0cc Java:1.8.0_202 (StorageManagementClient, 2019-06-01)", "Content-Type" : "application/json; charset=utf-8" @@ -231,14 +231,14 @@ "x-content-type-options" : "nosniff", "x-ms-routing-request-id" : "JAPANEAST:20200202T221258Z:8e1e1d6d-8b69-4801-bfb8-7ec5c64d730a", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/centralindia/asyncoperations/54db0db8-3b40-4bab-8c09-7214fb1b9dd9?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/centralindia/asyncoperations/54db0db8-3b40-4bab-8c09-7214fb1b9dd9?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "54db0db8-3b40-4bab-8c09-7214fb1b9dd9", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/centralindia/asyncoperations/54db0db8-3b40-4bab-8c09-7214fb1b9dd9?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/centralindia/asyncoperations/54db0db8-3b40-4bab-8c09-7214fb1b9dd9?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:d916ff2a485200f321d6cba23dc3377b781cd392a6e37bf910c332cb391ba0cc Java:1.8.0_202 (StorageManagementClient, 2019-06-01)" }, @@ -256,14 +256,14 @@ "x-content-type-options" : "nosniff", "x-ms-routing-request-id" : "JAPANEAST:20200202T221258Z:d898e527-3af7-476c-bd9c-a02a594a9333", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/centralindia/asyncoperations/54db0db8-3b40-4bab-8c09-7214fb1b9dd9?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/centralindia/asyncoperations/54db0db8-3b40-4bab-8c09-7214fb1b9dd9?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "49c330e0-15ac-4121-81ac-46a030a0e539", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/centralindia/asyncoperations/54db0db8-3b40-4bab-8c09-7214fb1b9dd9?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/centralindia/asyncoperations/54db0db8-3b40-4bab-8c09-7214fb1b9dd9?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:d916ff2a485200f321d6cba23dc3377b781cd392a6e37bf910c332cb391ba0cc Java:1.8.0_202 (StorageManagementClient, 2019-06-01)" }, @@ -289,7 +289,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/batch671694group/providers/Microsoft.Storage/storageAccounts/batchsa671694?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/batch671694group/providers/Microsoft.Storage/storageAccounts/batchsa671694?api-version=2021-08-01", "Headers" : { "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:d916ff2a485200f321d6cba23dc3377b781cd392a6e37bf910c332cb391ba0cc Java:1.8.0_202 (StorageManagementClient, 2019-06-01)", "Content-Type" : "application/json; charset=utf-8" diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testManagementLocks.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testManagementLocks.json index 24852cd63086d..3177f6c3f6cc4 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testManagementLocks.json +++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testManagementLocks.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1849619ec/providers/Microsoft.Storage/storageAccounts/st92929ceb1?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1849619ec/providers/Microsoft.Storage/storageAccounts/st92929ceb1?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "52d415e2-b434-4909-a235-6b282dc75c91", @@ -51,7 +51,7 @@ "Body" : "", "x-ms-client-request-id" : "52d415e2-b434-4909-a235-6b282dc75c91", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c15ec03e-2b71-4267-83f0-54b41b30e929?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c15ec03e-2b71-4267-83f0-54b41b30e929?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -296,7 +296,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c15ec03e-2b71-4267-83f0-54b41b30e929?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/c15ec03e-2b71-4267-83f0-54b41b30e929?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "f7f4ceeb-cd93-403f-b53a-72fa219c616b" @@ -323,7 +323,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1849619ec/providers/Microsoft.Storage/storageAccounts/st92929ceb1?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1849619ec/providers/Microsoft.Storage/storageAccounts/st92929ceb1?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "00cf24b6-f76d-4c99-bb70-c0fe52fdac78", diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testNetworkWatcherFunctions.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testNetworkWatcherFunctions.json index 38bc305c933c3..1068bfbe1df28 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testNetworkWatcherFunctions.json +++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testNetworkWatcherFunctions.json @@ -2092,7 +2092,7 @@ } }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg923478/providers/Microsoft.Storage/storageAccounts/sa923478?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg923478/providers/Microsoft.Storage/storageAccounts/sa923478?api-version=2021-08-01", "Headers" : { "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:d916ff2a485200f321d6cba23dc3377b781cd392a6e37bf910c332cb391ba0cc Java:1.8.0_202 (StorageManagementClient, 2019-06-01)", "Content-Type" : "application/json; charset=utf-8" @@ -2111,14 +2111,14 @@ "x-content-type-options" : "nosniff", "x-ms-routing-request-id" : "SOUTHEASTASIA:20200102T121036Z:948abea2-bb83-4196-a31e-d09eaa2c2771", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f7c09f61-1951-4c21-8a8c-6ba5b0816984?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f7c09f61-1951-4c21-8a8c-6ba5b0816984?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "f7c09f61-1951-4c21-8a8c-6ba5b0816984", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f7c09f61-1951-4c21-8a8c-6ba5b0816984?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f7c09f61-1951-4c21-8a8c-6ba5b0816984?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:d916ff2a485200f321d6cba23dc3377b781cd392a6e37bf910c332cb391ba0cc Java:1.8.0_202 (StorageManagementClient, 2019-06-01)" }, @@ -2136,14 +2136,14 @@ "x-content-type-options" : "nosniff", "x-ms-routing-request-id" : "SOUTHEASTASIA:20200102T121036Z:ba4abab4-636b-4b88-8ae2-3ce49b6cb556", "content-type" : "text/plain; charset=utf-8", - "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f7c09f61-1951-4c21-8a8c-6ba5b0816984?monitor=true&api-version=2021-04-01", + "location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f7c09f61-1951-4c21-8a8c-6ba5b0816984?monitor=true&api-version=2021-08-01", "cache-control" : "no-cache", "x-ms-request-id" : "260d860c-21c9-4c9e-b288-d109fd7300cd", "Body" : "" } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f7c09f61-1951-4c21-8a8c-6ba5b0816984?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f7c09f61-1951-4c21-8a8c-6ba5b0816984?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:d916ff2a485200f321d6cba23dc3377b781cd392a6e37bf910c332cb391ba0cc Java:1.8.0_202 (StorageManagementClient, 2019-06-01)" }, @@ -2169,7 +2169,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg923478/providers/Microsoft.Storage/storageAccounts/sa923478?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg923478/providers/Microsoft.Storage/storageAccounts/sa923478?api-version=2021-08-01", "Headers" : { "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:d916ff2a485200f321d6cba23dc3377b781cd392a6e37bf910c332cb391ba0cc Java:1.8.0_202 (StorageManagementClient, 2019-06-01)", "Content-Type" : "application/json; charset=utf-8" diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testResourceStreaming.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testResourceStreaming.json index 6d233af0d6109..5da32261b47c9 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testResourceStreaming.json +++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testResourceStreaming.json @@ -81,7 +81,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgvm77608d67717cd/providers/Microsoft.Storage/storageAccounts/stg9110984c3db?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgvm77608d67717cd/providers/Microsoft.Storage/storageAccounts/stg9110984c3db?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "b748b73f-abb4-4122-8b06-22abb6594582", @@ -105,7 +105,7 @@ "Body" : "", "x-ms-client-request-id" : "b748b73f-abb4-4122-8b06-22abb6594582", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/57608c14-974b-4aff-8b8b-eade83700805?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/57608c14-974b-4aff-8b8b-eade83700805?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -346,7 +346,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/57608c14-974b-4aff-8b8b-eade83700805?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/57608c14-974b-4aff-8b8b-eade83700805?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c8d213ee-0398-4e43-b629-c42857ee455b" @@ -358,7 +358,7 @@ } }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/57608c14-974b-4aff-8b8b-eade83700805?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/57608c14-974b-4aff-8b8b-eade83700805?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c8d213ee-0398-4e43-b629-c42857ee455b" @@ -385,7 +385,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgvm77608d67717cd/providers/Microsoft.Storage/storageAccounts/stg9110984c3db?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgvm77608d67717cd/providers/Microsoft.Storage/storageAccounts/stg9110984c3db?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "bce9d9b2-db0f-47a9-a068-eaa2739f76fe", @@ -556,7 +556,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgvm77608d67717cd/providers/Microsoft.Storage/storageAccounts?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgvm77608d67717cd/providers/Microsoft.Storage/storageAccounts?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a237cbbb-16c4-4174-9f8a-c621b3557cdb", diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testVirtualMachineDataDisk.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testVirtualMachineDataDisk.json index ee0a1e5eb23e2..1f174822bfcba 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testVirtualMachineDataDisk.json +++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/AzureResourceManagerTests.testVirtualMachineDataDisk.json @@ -81,7 +81,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vm959041group/providers/Microsoft.Storage/storageAccounts/stg31016c9821d8b?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vm959041group/providers/Microsoft.Storage/storageAccounts/stg31016c9821d8b?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "e59ac14c-0c4c-4488-b04b-8519ac68494c", @@ -105,7 +105,7 @@ "Body" : "", "x-ms-client-request-id" : "e59ac14c-0c4c-4488-b04b-8519ac68494c", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/1fd04642-1720-4d38-acb5-58fdd198e2a0?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/1fd04642-1720-4d38-acb5-58fdd198e2a0?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { @@ -229,7 +229,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/1fd04642-1720-4d38-acb5-58fdd198e2a0?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/1fd04642-1720-4d38-acb5-58fdd198e2a0?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "bf925ca9-f46d-4802-bdf4-0770deb8436c" @@ -256,7 +256,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vm959041group/providers/Microsoft.Storage/storageAccounts/stg31016c9821d8b?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vm959041group/providers/Microsoft.Storage/storageAccounts/stg31016c9821d8b?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6ca0d4f7-1750-453b-9ce6-973c4dd01cb7", @@ -539,7 +539,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vm959041group/providers/Microsoft.Storage/storageAccounts/stg741189123f936?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vm959041group/providers/Microsoft.Storage/storageAccounts/stg741189123f936?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "ae3e564c-49c1-4b27-a564-6d6e155be9ba", @@ -563,12 +563,12 @@ "Body" : "", "x-ms-client-request-id" : "ae3e564c-49c1-4b27-a564-6d6e155be9ba", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/a3e888b7-e11a-4ce1-9992-bcc46f3ac17a?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/a3e888b7-e11a-4ce1-9992-bcc46f3ac17a?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/a3e888b7-e11a-4ce1-9992-bcc46f3ac17a?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/a3e888b7-e11a-4ce1-9992-bcc46f3ac17a?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "68a1d9d7-a44a-4729-90b7-e3fa92fb78d5" @@ -595,7 +595,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vm959041group/providers/Microsoft.Storage/storageAccounts/stg741189123f936?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vm959041group/providers/Microsoft.Storage/storageAccounts/stg741189123f936?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.2.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "0eb23816-9c66-4108-9c0e-ed88a03734a6", diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpoint.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpoint.json index d8ecfa77413f7..1112f957d2ab4 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpoint.json +++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpoint.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg85100/providers/Microsoft.Storage/storageAccounts/sa846224?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg85100/providers/Microsoft.Storage/storageAccounts/sa846224?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "a57a4074-3564-4f8b-b3a0-38461be9d8e8", @@ -51,12 +51,12 @@ "Body" : "", "x-ms-client-request-id" : "a57a4074-3564-4f8b-b3a0-38461be9d8e8", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/4e1c0b5f-20b6-40fd-ae08-24e080d9bdd8?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/4e1c0b5f-20b6-40fd-ae08-24e080d9bdd8?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/4e1c0b5f-20b6-40fd-ae08-24e080d9bdd8?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/4e1c0b5f-20b6-40fd-ae08-24e080d9bdd8?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "b938b8cc-6c93-40f9-89b0-51946cb25899" @@ -83,7 +83,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg85100/providers/Microsoft.Storage/storageAccounts/sa846224?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg85100/providers/Microsoft.Storage/storageAccounts/sa846224?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "c079a8d1-c612-48f7-a0f6-e621f727058a", @@ -287,7 +287,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg85100/providers/Microsoft.Storage/storageAccounts/sa846224/privateEndpointConnections?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg85100/providers/Microsoft.Storage/storageAccounts/sa846224/privateEndpointConnections?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "6cc84822-7aa8-4957-b3c1-367308b1abbd", @@ -315,7 +315,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg85100/providers/Microsoft.Storage/storageAccounts/sa846224/privateEndpointConnections/sa846224.91f1a076-5967-48ac-8d4a-35c7b02a4952?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg85100/providers/Microsoft.Storage/storageAccounts/sa846224/privateEndpointConnections/sa846224.91f1a076-5967-48ac-8d4a-35c7b02a4952?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "9bfd7549-08f9-4289-bf2c-8358ba000485", @@ -399,7 +399,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg85100/providers/Microsoft.Storage/storageAccounts/sa88962f?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg85100/providers/Microsoft.Storage/storageAccounts/sa88962f?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "b3e32d60-11f5-47cd-870c-b48461ea0290", @@ -423,12 +423,12 @@ "Body" : "", "x-ms-client-request-id" : "b3e32d60-11f5-47cd-870c-b48461ea0290", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/4563b544-7ad1-4efa-bcb8-cec598efd828?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/4563b544-7ad1-4efa-bcb8-cec598efd828?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/4563b544-7ad1-4efa-bcb8-cec598efd828?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/4563b544-7ad1-4efa-bcb8-cec598efd828?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "df085e6c-99e6-477c-bf8d-c8e2b2f1c19c" @@ -455,7 +455,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg85100/providers/Microsoft.Storage/storageAccounts/sa88962f?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg85100/providers/Microsoft.Storage/storageAccounts/sa88962f?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "7dfabe2e-41b0-4868-b9dd-23dc707be01f", diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpointE2E.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpointE2E.json index e69ec63d41f28..8be791fb9645d 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpointE2E.json +++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testPrivateEndpointE2E.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg93028/providers/Microsoft.Storage/storageAccounts/sa36418b?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg93028/providers/Microsoft.Storage/storageAccounts/sa36418b?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "31baa3ab-9657-40e7-95d9-58a718f280ae", @@ -51,12 +51,12 @@ "Body" : "", "x-ms-client-request-id" : "31baa3ab-9657-40e7-95d9-58a718f280ae", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5da3cba7-303b-4941-a04d-5fb6f83d3f54?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5da3cba7-303b-4941-a04d-5fb6f83d3f54?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5da3cba7-303b-4941-a04d-5fb6f83d3f54?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5da3cba7-303b-4941-a04d-5fb6f83d3f54?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "41839e9f-85d3-40ca-bfeb-d2e92adfb3be" @@ -79,12 +79,12 @@ "Body" : "", "x-ms-client-request-id" : "41839e9f-85d3-40ca-bfeb-d2e92adfb3be", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5da3cba7-303b-4941-a04d-5fb6f83d3f54?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5da3cba7-303b-4941-a04d-5fb6f83d3f54?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5da3cba7-303b-4941-a04d-5fb6f83d3f54?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/5da3cba7-303b-4941-a04d-5fb6f83d3f54?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "90da92ec-21ab-4233-820d-5b9673e03961" @@ -111,7 +111,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg93028/providers/Microsoft.Storage/storageAccounts/sa36418b?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg93028/providers/Microsoft.Storage/storageAccounts/sa36418b?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.3.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "2119c640-24fc-46df-ac04-e572a97309ef", diff --git a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testStoragePrivateLinkResources.json b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testStoragePrivateLinkResources.json index ae1ae5212fa39..8feffbb4d638f 100644 --- a/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testStoragePrivateLinkResources.json +++ b/sdk/resourcemanager/azure-resourcemanager/src/test/resources/session-records/PrivateLinkTests.testStoragePrivateLinkResources.json @@ -27,7 +27,7 @@ "Exception" : null }, { "Method" : "PUT", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg22653/providers/Microsoft.Storage/storageAccounts/sa84280e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg22653/providers/Microsoft.Storage/storageAccounts/sa84280e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "997aaed1-723e-4b37-85de-b36c93beba59", @@ -51,12 +51,12 @@ "Body" : "", "x-ms-client-request-id" : "997aaed1-723e-4b37-85de-b36c93beba59", "Content-Type" : "text/plain; charset=utf-8", - "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2f110a82-de4a-4aa9-b2c6-288da4c1dc55?monitor=true&api-version=2021-04-01" + "Location" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2f110a82-de4a-4aa9-b2c6-288da4c1dc55?monitor=true&api-version=2021-08-01" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2f110a82-de4a-4aa9-b2c6-288da4c1dc55?monitor=true&api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus/asyncoperations/2f110a82-de4a-4aa9-b2c6-288da4c1dc55?monitor=true&api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.resources.fluentcore.policy/null (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "292aeaf1-ddd9-4d6c-b5ee-51f2fbabc8ce" @@ -83,7 +83,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg22653/providers/Microsoft.Storage/storageAccounts/sa84280e?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg22653/providers/Microsoft.Storage/storageAccounts/sa84280e?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "b5175a72-a130-4e8e-b3ec-eef3c843c8f6", @@ -111,7 +111,7 @@ "Exception" : null }, { "Method" : "GET", - "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg22653/providers/Microsoft.Storage/storageAccounts/sa84280e/privateLinkResources?api-version=2021-04-01", + "Uri" : "http://localhost:1234/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/javacsmrg22653/providers/Microsoft.Storage/storageAccounts/sa84280e/privateLinkResources?api-version=2021-08-01", "Headers" : { "User-Agent" : "azsdk-java-com.azure.resourcemanager.storage/2.4.0-beta.1 (15.0.1; Windows 10; 10.0)", "x-ms-client-request-id" : "d551300c-83fc-49ff-ac4e-76e8c8d08e7e",