diff --git a/src/Compute/Compute.Test/ScenarioTests/DiskRPTests.cs b/src/Compute/Compute.Test/ScenarioTests/DiskRPTests.cs index a207a8c4278b..1f78f21a0bda 100644 --- a/src/Compute/Compute.Test/ScenarioTests/DiskRPTests.cs +++ b/src/Compute/Compute.Test/ScenarioTests/DiskRPTests.cs @@ -31,6 +31,13 @@ public void TestDisk() TestRunner.RunTestScript("Test-Disk"); } + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestEdgeZoneConfigurations() + { + TestRunner.RunTestScript("Test-EdgeZoneConfigurations"); + } + [Fact] [Trait(Category.AcceptanceType, Category.CheckIn)] public void TestSnapshot() diff --git a/src/Compute/Compute.Test/ScenarioTests/DiskRPTests.ps1 b/src/Compute/Compute.Test/ScenarioTests/DiskRPTests.ps1 index 1cd40de864ef..1221e50b0447 100644 --- a/src/Compute/Compute.Test/ScenarioTests/DiskRPTests.ps1 +++ b/src/Compute/Compute.Test/ScenarioTests/DiskRPTests.ps1 @@ -1374,4 +1374,36 @@ function Test-SnapshotDuplicateCreationFails # Cleanup Clean-ResourceGroup $rgname } -} \ No newline at end of file +} + +function Test-EdgeZoneConfigurations +{ + $rgname = Get-ComputeTestResourceName; + $loc = "eastus2euap"; + $edge = "eastus2euapmockedge"; + + try + { + New-AzResourceGroup -Name $rgname -Location $loc -Force; + + $diskconfig = New-AzDiskConfig -Location $loc -EdgeZone $edge -DiskSizeGB 1 -AccountType "Premium_LRS" -OsType "Windows" -CreateOption "Empty" -HyperVGeneration "V1"; + $diskname = "disk" + $rgname; + $disk = New-AzDisk -ResourceGroupName $rgname -DiskName $diskname -Disk $diskconfig; + Assert-AreEqual $disk.Location $loc; + Assert-AreEqual $disk.ExtendedLocation.Name $edge; + + $snapshotconfig = New-AzSnapshotConfig -Location $loc -EdgeZone $edge -DiskSizeGB 5 -SkuName Premium_LRS -OsType Windows -CreateOption Empty; + $snapshotname = "snapshot" + $rgname + $snapshot = New-AzSnapshot -ResourceGroupName $rgname -SnapshotName $snapshotname -Snapshot $snapshotconfig; + Assert-AreEqual $snapshot.Location $loc; + Assert-AreEqual $snapshot.ExtendedLocation.Name $edge + + $imageConfig = New-AzImageConfig -Location $loc -EdgeZone $edge -HyperVGeneration "V1"; + Assert-AreEqual $imageConfig.ExtendedLocation.Name $edge + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } +} diff --git a/src/Compute/Compute.Test/SessionRecords/Microsoft.Azure.Commands.Compute.Test.ScenarioTests.DiskRPTests/TestEdgeZoneConfigurations.json b/src/Compute/Compute.Test/SessionRecords/Microsoft.Azure.Commands.Compute.Test.ScenarioTests.DiskRPTests/TestEdgeZoneConfigurations.json new file mode 100644 index 000000000000..9f4503e8aaf7 --- /dev/null +++ b/src/Compute/Compute.Test/SessionRecords/Microsoft.Azure.Commands.Compute.Test.ScenarioTests.DiskRPTests/TestEdgeZoneConfigurations.json @@ -0,0 +1,1026 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/resourcegroups/crptestps2907?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL3Jlc291cmNlZ3JvdXBzL2NycHRlc3RwczI5MDc/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus2euap\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "91379073-92bb-4719-a0f0-a34affdcfcd3" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.32" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "33" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "b1891d46-176b-4639-bebf-01b5b31a61bf" + ], + "x-ms-correlation-request-id": [ + "b1891d46-176b-4639-bebf-01b5b31a61bf" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164728Z:b1891d46-176b-4639-bebf-01b5b31a61bf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:47:27 GMT" + ], + "Content-Length": [ + "184" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/resourceGroups/crptestps2907\",\r\n \"name\": \"crptestps2907\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/resourceGroups/crptestps2907/providers/Microsoft.Compute/disks/diskcrptestps2907?api-version=2020-09-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL3Jlc291cmNlR3JvdXBzL2NycHRlc3RwczI5MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5Db21wdXRlL2Rpc2tzL2Rpc2tjcnB0ZXN0cHMyOTA3P2FwaS12ZXJzaW9uPTIwMjAtMDktMzA=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\"\r\n },\r\n \"extendedLocation\": {\r\n \"name\": \"eastus2euapmockedge\",\r\n \"type\": \"EdgeZone\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Windows\",\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 1\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ca5b48d4-b7e4-4d7d-a0f3-9f33738b6369" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/44.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "349" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/2d740019-19ab-4a7d-8974-0ee4c74e1ec5?monitor=true&api-version=2020-09-30" + ], + "Retry-After": [ + "2" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/2d740019-19ab-4a7d-8974-0ee4c74e1ec5?api-version=2020-09-30" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/CreateUpdateDisks3Min;999,Microsoft.Compute/CreateUpdateDisks30Min;7999" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "7e74a236-8df8-4fa2-92c3-fb2029bb21a2_132629462040859600" + ], + "x-ms-request-id": [ + "2d740019-19ab-4a7d-8974-0ee4c74e1ec5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "3aeffaf2-d105-49b6-9e8b-792e50330577" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164731Z:3aeffaf2-d105-49b6-9e8b-792e50330577" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:47:30 GMT" + ], + "Content-Length": [ + "447" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"diskcrptestps2907\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {},\r\n \"extendedLocation\": {\r\n \"type\": \"EdgeZone\",\r\n \"name\": \"eastus2euapmockedge\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Windows\",\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 1,\r\n \"provisioningState\": \"Updating\",\r\n \"isArmResource\": true\r\n }\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/2d740019-19ab-4a7d-8974-0ee4c74e1ec5?api-version=2020-09-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvZWFzdHVzMmV1YXAvRGlza09wZXJhdGlvbnMvMmQ3NDAwMTktMTlhYi00YTdkLTg5NzQtMGVlNGM3NGUxZWM1P2FwaS12ZXJzaW9uPTIwMjAtMDktMzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ca5b48d4-b7e4-4d7d-a0f3-9f33738b6369" + ], + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/44.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399999" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "7e74a236-8df8-4fa2-92c3-fb2029bb21a2_132629462040859600" + ], + "x-ms-request-id": [ + "ada99c91-e11c-4961-8460-32a542b51586" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "d450a975-65a5-47db-af64-74ee7b93ccd8" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164733Z:d450a975-65a5-47db-af64-74ee7b93ccd8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:47:32 GMT" + ], + "Content-Length": [ + "1230" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2021-04-15T12:47:30.9617497-04:00\",\r\n \"endTime\": \"2021-04-15T12:47:31.1217506-04:00\",\r\n \"status\": \"Succeeded\",\r\n \"properties\": {\r\n \"output\": {\r\n \"name\": \"diskcrptestps2907\",\r\n \"id\": \"/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/resourceGroups/crptestps2907/providers/Microsoft.Compute/disks/diskcrptestps2907\",\r\n \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {},\r\n \"extendedLocation\": {\r\n \"type\": \"EdgeZone\",\r\n \"name\": \"eastus2euapmockedge\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Windows\",\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 1,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"timeCreated\": \"2021-04-15T12:47:30.9667045-04:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 1073741824,\r\n \"uniqueId\": \"e421f509-f47b-483f-bf52-e29454a2c4a6\",\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"tier\": \"P1\"\r\n }\r\n }\r\n },\r\n \"name\": \"2d740019-19ab-4a7d-8974-0ee4c74e1ec5\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/resourceGroups/crptestps2907/providers/Microsoft.Compute/disks/diskcrptestps2907?api-version=2020-09-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL3Jlc291cmNlR3JvdXBzL2NycHRlc3RwczI5MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5Db21wdXRlL2Rpc2tzL2Rpc2tjcnB0ZXN0cHMyOTA3P2FwaS12ZXJzaW9uPTIwMjAtMDktMzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ca5b48d4-b7e4-4d7d-a0f3-9f33738b6369" + ], + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/44.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/LowCostGet3Min;14999,Microsoft.Compute/LowCostGet30Min;119999" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "7e74a236-8df8-4fa2-92c3-fb2029bb21a2_132629462040859600" + ], + "x-ms-request-id": [ + "4605a183-ebdd-42c0-b7f4-c03bbaf3e869" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "49c7fece-76c2-49a2-8d46-7fbed9337c52" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164733Z:49c7fece-76c2-49a2-8d46-7fbed9337c52" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:47:32 GMT" + ], + "Content-Length": [ + "1005" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"diskcrptestps2907\",\r\n \"id\": \"/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/resourceGroups/crptestps2907/providers/Microsoft.Compute/disks/diskcrptestps2907\",\r\n \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {},\r\n \"extendedLocation\": {\r\n \"type\": \"EdgeZone\",\r\n \"name\": \"eastus2euapmockedge\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Windows\",\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 1,\r\n \"diskIOPSReadWrite\": 120,\r\n \"diskMBpsReadWrite\": 25,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"timeCreated\": \"2021-04-15T12:47:30.9667045-04:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 1073741824,\r\n \"uniqueId\": \"e421f509-f47b-483f-bf52-e29454a2c4a6\",\r\n \"networkAccessPolicy\": \"AllowAll\",\r\n \"tier\": \"P1\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/resourceGroups/crptestps2907/providers/Microsoft.Compute/snapshots/snapshotcrptestps2907?api-version=2020-09-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL3Jlc291cmNlR3JvdXBzL2NycHRlc3RwczI5MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5Db21wdXRlL3NuYXBzaG90cy9zbmFwc2hvdGNycHRlc3RwczI5MDc/YXBpLXZlcnNpb249MjAyMC0wOS0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "79caa997-8b31-428f-9227-750a66d4db8a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/44.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "49cc9db7-6a98-48e9-af1e-3e01376f804f" + ], + "x-ms-correlation-request-id": [ + "49cc9db7-6a98-48e9-af1e-3e01376f804f" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164734Z:49cc9db7-6a98-48e9-af1e-3e01376f804f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:47:34 GMT" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "234" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.Compute/snapshots/snapshotcrptestps2907' under resource group 'crptestps2907' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/resourceGroups/crptestps2907/providers/Microsoft.Compute/snapshots/snapshotcrptestps2907?api-version=2020-09-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL3Jlc291cmNlR3JvdXBzL2NycHRlc3RwczI5MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5Db21wdXRlL3NuYXBzaG90cy9zbmFwc2hvdGNycHRlc3RwczI5MDc/YXBpLXZlcnNpb249MjAyMC0wOS0zMA==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "79caa997-8b31-428f-9227-750a66d4db8a" + ], + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/44.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/LowCostGet3Min;14996,Microsoft.Compute/LowCostGet30Min;119996" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "7e74a236-8df8-4fa2-92c3-fb2029bb21a2_132629462040859600" + ], + "x-ms-request-id": [ + "c7c064b6-c0dd-4325-af43-4d33dfd821b3" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "4dc800f1-f3e6-4b44-8a6f-2e6a8994e466" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164739Z:4dc800f1-f3e6-4b44-8a6f-2e6a8994e466" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:47:38 GMT" + ], + "Content-Length": [ + "937" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"snapshotcrptestps2907\",\r\n \"id\": \"/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/resourceGroups/crptestps2907/providers/Microsoft.Compute/snapshots/snapshotcrptestps2907\",\r\n \"type\": \"Microsoft.Compute/snapshots\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {},\r\n \"extendedLocation\": {\r\n \"type\": \"EdgeZone\",\r\n \"name\": \"eastus2euapmockedge\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Windows\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 5,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"incremental\": false,\r\n \"timeCreated\": \"2021-04-15T12:47:36.7188931-04:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 5368709120,\r\n \"uniqueId\": \"13076a58-e553-4d07-9e02-14a728fb7d0e\",\r\n \"networkAccessPolicy\": \"AllowAll\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/resourceGroups/crptestps2907/providers/Microsoft.Compute/snapshots/snapshotcrptestps2907?api-version=2020-09-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL3Jlc291cmNlR3JvdXBzL2NycHRlc3RwczI5MDcvcHJvdmlkZXJzL01pY3Jvc29mdC5Db21wdXRlL3NuYXBzaG90cy9zbmFwc2hvdGNycHRlc3RwczI5MDc/YXBpLXZlcnNpb249MjAyMC0wOS0zMA==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\"\r\n },\r\n \"extendedLocation\": {\r\n \"name\": \"eastus2euapmockedge\",\r\n \"type\": \"EdgeZone\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Windows\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 5,\r\n \"incremental\": false\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {}\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "79caa997-8b31-428f-9227-750a66d4db8a" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/44.0.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "345" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/e769b9aa-95bc-4bd0-9e4b-25606635f428?monitor=true&api-version=2020-09-30" + ], + "Retry-After": [ + "2" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/e769b9aa-95bc-4bd0-9e4b-25606635f428?api-version=2020-09-30" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/HighCostSnapshotCreateHydrate3Min;999,Microsoft.Compute/HighCostSnapshotCreateHydrate30Min;7999" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "7e74a236-8df8-4fa2-92c3-fb2029bb21a2_132629462040859600" + ], + "x-ms-request-id": [ + "e769b9aa-95bc-4bd0-9e4b-25606635f428" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "51213d44-038c-4d85-ab76-12c0d5fddc82" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164736Z:51213d44-038c-4d85-ab76-12c0d5fddc82" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:47:36 GMT" + ], + "Content-Length": [ + "411" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {},\r\n \"extendedLocation\": {\r\n \"type\": \"EdgeZone\",\r\n \"name\": \"eastus2euapmockedge\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Windows\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 5,\r\n \"incremental\": false,\r\n \"provisioningState\": \"Updating\",\r\n \"isArmResource\": true\r\n }\r\n}", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/e769b9aa-95bc-4bd0-9e4b-25606635f428?api-version=2020-09-30", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvZWFzdHVzMmV1YXAvRGlza09wZXJhdGlvbnMvZTc2OWI5YWEtOTViYy00YmQwLTllNGItMjU2MDY2MzVmNDI4P2FwaS12ZXJzaW9uPTIwMjAtMDktMzA=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "79caa997-8b31-428f-9227-750a66d4db8a" + ], + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/44.0.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399997" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-served-by": [ + "7e74a236-8df8-4fa2-92c3-fb2029bb21a2_132629462040859600" + ], + "x-ms-request-id": [ + "bc4a4e98-2b49-4f5e-8ff0-6404f53111fa" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "c001e524-f1e8-4439-a591-a49a01977ee3" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164739Z:c001e524-f1e8-4439-a591-a49a01977ee3" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:47:38 GMT" + ], + "Content-Length": [ + "1161" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2021-04-15T12:47:36.708884-04:00\",\r\n \"endTime\": \"2021-04-15T12:47:37.0338842-04:00\",\r\n \"status\": \"Succeeded\",\r\n \"properties\": {\r\n \"output\": {\r\n \"name\": \"snapshotcrptestps2907\",\r\n \"id\": \"/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/resourceGroups/crptestps2907/providers/Microsoft.Compute/snapshots/snapshotcrptestps2907\",\r\n \"type\": \"Microsoft.Compute/snapshots\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {},\r\n \"extendedLocation\": {\r\n \"type\": \"EdgeZone\",\r\n \"name\": \"eastus2euapmockedge\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": {\r\n \"osType\": \"Windows\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 5,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"incremental\": false,\r\n \"timeCreated\": \"2021-04-15T12:47:36.7188931-04:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": 5368709120,\r\n \"uniqueId\": \"13076a58-e553-4d07-9e02-14a728fb7d0e\",\r\n \"networkAccessPolicy\": \"AllowAll\"\r\n }\r\n }\r\n },\r\n \"name\": \"e769b9aa-95bc-4bd0-9e4b-25606635f428\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/resourcegroups/crptestps2907?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL3Jlc291cmNlZ3JvdXBzL2NycHRlc3RwczI5MDc/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d8d1669a-4610-4837-89a3-b3af7fb87e71" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.32" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyOTA3LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "212bcf06-d3d3-456f-befd-a6460595dd57" + ], + "x-ms-correlation-request-id": [ + "212bcf06-d3d3-456f-befd-a6460595dd57" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164740Z:212bcf06-d3d3-456f-befd-a6460595dd57" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:47:40 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyOTA3LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15T1RBM0xVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.32" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyOTA3LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "ea14bf67-a837-40ea-825f-297d76e54f31" + ], + "x-ms-correlation-request-id": [ + "ea14bf67-a837-40ea-825f-297d76e54f31" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164756Z:ea14bf67-a837-40ea-825f-297d76e54f31" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:47:56 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyOTA3LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15T1RBM0xVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.32" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyOTA3LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "cf8e9960-96f7-46b4-be30-a199ff8e33b0" + ], + "x-ms-correlation-request-id": [ + "cf8e9960-96f7-46b4-be30-a199ff8e33b0" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164811Z:cf8e9960-96f7-46b4-be30-a199ff8e33b0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:48:11 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyOTA3LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15T1RBM0xVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.32" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyOTA3LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "f57fc3b6-1d0b-4a76-8885-3aefffa1c10a" + ], + "x-ms-correlation-request-id": [ + "f57fc3b6-1d0b-4a76-8885-3aefffa1c10a" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164827Z:f57fc3b6-1d0b-4a76-8885-3aefffa1c10a" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:48:27 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyOTA3LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15T1RBM0xVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.32" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyOTA3LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "98890f4c-72dd-4deb-8a0e-e8e626ea6e06" + ], + "x-ms-correlation-request-id": [ + "98890f4c-72dd-4deb-8a0e-e8e626ea6e06" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164842Z:98890f4c-72dd-4deb-8a0e-e8e626ea6e06" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:48:42 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyOTA3LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15T1RBM0xVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.32" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyOTA3LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "fc9c1de0-d082-452e-84dc-9e2cf8a16af1" + ], + "x-ms-correlation-request-id": [ + "fc9c1de0-d082-452e-84dc-9e2cf8a16af1" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164858Z:fc9c1de0-d082-452e-84dc-9e2cf8a16af1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:48:57 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyOTA3LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15T1RBM0xVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.32" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "b84dae7d-dc91-40b6-b434-46cfdc2707dd" + ], + "x-ms-correlation-request-id": [ + "b84dae7d-dc91-40b6-b434-46cfdc2707dd" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164913Z:b84dae7d-dc91-40b6-b434-46cfdc2707dd" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:49:13 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/1d85fdce-f71c-4ecd-a06d-ea46effcccd0/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyOTA3LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMWQ4NWZkY2UtZjcxYy00ZWNkLWEwNmQtZWE0NmVmZmNjY2QwL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15T1RBM0xVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.29916.01", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.19042.", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.32" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "12d564ee-aaec-4117-9bb6-c24b8b5742a7" + ], + "x-ms-correlation-request-id": [ + "12d564ee-aaec-4117-9bb6-c24b8b5742a7" + ], + "x-ms-routing-request-id": [ + "CANADACENTRAL:20210415T164914Z:12d564ee-aaec-4117-9bb6-c24b8b5742a7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 15 Apr 2021 16:49:13 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-EdgeZoneConfigurations": [ + "crptestps2907" + ] + }, + "Variables": { + "SubscriptionId": "1d85fdce-f71c-4ecd-a06d-ea46effcccd0" + } +} \ No newline at end of file diff --git a/src/Compute/Compute/Generated/Disk/Config/NewAzureRmDiskConfigCommand.cs b/src/Compute/Compute/Generated/Disk/Config/NewAzureRmDiskConfigCommand.cs index 3ed18b2cf1a9..b5e275c56edf 100644 --- a/src/Compute/Compute/Generated/Disk/Config/NewAzureRmDiskConfigCommand.cs +++ b/src/Compute/Compute/Generated/Disk/Config/NewAzureRmDiskConfigCommand.cs @@ -75,6 +75,12 @@ public partial class NewAzureRmDiskConfigCommand : Microsoft.Azure.Commands.Reso [LocationCompleter("Microsoft.Compute/disks")] public string Location { get; set; } + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Sets the edge zone name. If set, the query will be routed to the specified edgezone instead of the main region.")] + public string EdgeZone { get; set; } + [Parameter( Mandatory = false, ValueFromPipelineByPropertyName = true)] @@ -215,6 +221,9 @@ private void Run() // Encryption Encryption vEncryption = null; + // ExtendedLocation + ExtendedLocation vExtendedLocation = null; + if (this.IsParameterBound(c => c.SkuName)) { if (vSku == null) @@ -363,6 +372,11 @@ private void Run() vEncryption.Type = this.EncryptionType; } + if (this.IsParameterBound(c => c.EdgeZone)) + { + vExtendedLocation = new ExtendedLocation { Name = this.EdgeZone, Type = ExtendedLocationTypes.EdgeZone }; + } + var vDisk = new PSDisk { Zones = this.IsParameterBound(c => c.Zone) ? this.Zone : null, @@ -375,6 +389,7 @@ private void Run() DiskMBpsReadOnly = this.IsParameterBound(c => c.DiskMBpsReadOnly) ? this.DiskMBpsReadOnly : (long?)null, MaxShares = this.IsParameterBound(c => c.MaxSharesCount) ? this.MaxSharesCount : (int?)null, Location = this.IsParameterBound(c => c.Location) ? this.Location : null, + ExtendedLocation = vExtendedLocation, Tags = this.IsParameterBound(c => c.Tag) ? this.Tag.Cast().ToDictionary(ht => (string)ht.Key, ht => (string)ht.Value) : null, Sku = vSku, CreationData = vCreationData, diff --git a/src/Compute/Compute/Generated/Image/Config/NewAzureRmImageConfigCommand.cs b/src/Compute/Compute/Generated/Image/Config/NewAzureRmImageConfigCommand.cs index f378122bb0ff..2935d346d515 100644 --- a/src/Compute/Compute/Generated/Image/Config/NewAzureRmImageConfigCommand.cs +++ b/src/Compute/Compute/Generated/Image/Config/NewAzureRmImageConfigCommand.cs @@ -42,6 +42,12 @@ public partial class NewAzureRmImageConfigCommand : Microsoft.Azure.Commands.Res [LocationCompleter("Microsoft.Compute/images")] public string Location { get; set; } + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Sets the edge zone name. If set, the query will be routed to the specified edgezone instead of the main region.")] + public string EdgeZone { get; set; } + [Parameter( Mandatory = false, Position = 1, @@ -91,6 +97,9 @@ private void Run() // StorageProfile ImageStorageProfile vStorageProfile = null; + // ExtendedLocation + ExtendedLocation vExtendedLocation = null; + if (this.IsParameterBound(c => c.SourceVirtualMachineId)) { if (vSourceVirtualMachine == null) @@ -124,10 +133,16 @@ private void Run() } vStorageProfile.ZoneResilient = this.ZoneResilient.IsPresent; + if (this.IsParameterBound(c => c.EdgeZone)) + { + vExtendedLocation = new ExtendedLocation { Name = this.EdgeZone, Type = ExtendedLocationTypes.EdgeZone }; + } + var vImage = new PSImage { HyperVGeneration = this.IsParameterBound(c => c.HyperVGeneration) ? this.HyperVGeneration : "V1", Location = this.IsParameterBound(c => c.Location) ? this.Location : null, + ExtendedLocation = vExtendedLocation, Tags = this.IsParameterBound(c => c.Tag) ? this.Tag.Cast().ToDictionary(ht => (string)ht.Key, ht => (string)ht.Value) : null, SourceVirtualMachine = vSourceVirtualMachine, StorageProfile = vStorageProfile, diff --git a/src/Compute/Compute/Generated/Models/PSDisk.cs b/src/Compute/Compute/Generated/Models/PSDisk.cs index 2623065254ce..0c828ea4d6af 100644 --- a/src/Compute/Compute/Generated/Models/PSDisk.cs +++ b/src/Compute/Compute/Generated/Models/PSDisk.cs @@ -65,6 +65,7 @@ public string ResourceGroupName public string Name { get; set; } public string Type { get; set; } public string Location { get; set; } + public ExtendedLocation ExtendedLocation { get; set; } public IDictionary Tags { get; set; } // Gets or sets possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll' public string NetworkAccessPolicy { get; set; } diff --git a/src/Compute/Compute/Generated/Models/PSImage.cs b/src/Compute/Compute/Generated/Models/PSImage.cs index 60036e136722..a37675f90690 100644 --- a/src/Compute/Compute/Generated/Models/PSImage.cs +++ b/src/Compute/Compute/Generated/Models/PSImage.cs @@ -48,7 +48,7 @@ public string ResourceGroupName public string Name { get; set; } public string Type { get; set; } public string Location { get; set; } + public ExtendedLocation ExtendedLocation { get; set; } public IDictionary Tags { get; set; } - } } diff --git a/src/Compute/Compute/Generated/Models/PSSnapshot.cs b/src/Compute/Compute/Generated/Models/PSSnapshot.cs index be9de699788c..d2c07f6a402f 100644 --- a/src/Compute/Compute/Generated/Models/PSSnapshot.cs +++ b/src/Compute/Compute/Generated/Models/PSSnapshot.cs @@ -57,6 +57,7 @@ public string ResourceGroupName public string Name { get; set; } public string Type { get; set; } public string Location { get; set; } + public ExtendedLocation ExtendedLocation { get; set; } public IDictionary Tags { get; set; } // Gets or sets possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll' public string NetworkAccessPolicy { get; set; } diff --git a/src/Compute/Compute/Generated/Snapshot/Config/NewAzureRmSnapshotConfigCommand.cs b/src/Compute/Compute/Generated/Snapshot/Config/NewAzureRmSnapshotConfigCommand.cs index dc3b14fe5a85..8a77b57b9305 100644 --- a/src/Compute/Compute/Generated/Snapshot/Config/NewAzureRmSnapshotConfigCommand.cs +++ b/src/Compute/Compute/Generated/Snapshot/Config/NewAzureRmSnapshotConfigCommand.cs @@ -62,6 +62,12 @@ public partial class NewAzureRmSnapshotConfigCommand : Microsoft.Azure.Commands. [LocationCompleter("Microsoft.Compute/snapshots")] public string Location { get; set; } + [Parameter( + Mandatory = false, + ValueFromPipelineByPropertyName = true, + HelpMessage = "Sets the edge zone name. If set, the query will be routed to the specified edgezone instead of the main region.")] + public string EdgeZone { get; set; } + [Parameter( Mandatory = false, ValueFromPipelineByPropertyName = true)] @@ -162,6 +168,9 @@ private void Run() // Encryption Encryption vEncryption = null; + // ExtendedLocation + ExtendedLocation vExtendedLocation = null; + if (this.IsParameterBound(c => c.SkuName)) { if (vSku == null) @@ -283,6 +292,11 @@ private void Run() vEncryption.Type = this.EncryptionType; } + if (this.IsParameterBound(c => c.EdgeZone)) + { + vExtendedLocation = new ExtendedLocation { Name = this.EdgeZone, Type = ExtendedLocationTypes.EdgeZone }; + } + var vSnapshot = new PSSnapshot { OsType = this.IsParameterBound(c => c.OsType) ? this.OsType : (OperatingSystemTypes?)null, @@ -290,6 +304,7 @@ private void Run() DiskSizeGB = this.IsParameterBound(c => c.DiskSizeGB) ? this.DiskSizeGB : (int?)null, Incremental = this.Incremental.IsPresent, Location = this.IsParameterBound(c => c.Location) ? this.Location : null, + ExtendedLocation = vExtendedLocation, Tags = this.IsParameterBound(c => c.Tag) ? this.Tag.Cast().ToDictionary(ht => (string)ht.Key, ht => (string)ht.Value) : null, Sku = vSku, CreationData = vCreationData, diff --git a/src/Compute/Compute/help/New-AzDiskConfig.md b/src/Compute/Compute/help/New-AzDiskConfig.md index 114155ae2d8a..4ac6cbc698b3 100644 --- a/src/Compute/Compute/help/New-AzDiskConfig.md +++ b/src/Compute/Compute/help/New-AzDiskConfig.md @@ -14,7 +14,7 @@ Creates a configurable disk object. ``` New-AzDiskConfig [[-SkuName] ] [-Tier ] [-LogicalSectorSize ] - [[-OsType] ] [[-DiskSizeGB] ] [[-Location] ] + [[-OsType] ] [[-DiskSizeGB] ] [[-Location] ] [-EdgeZone ] [-Zone ] [-HyperVGeneration ] [-DiskIOPSReadWrite ] [-DiskMBpsReadWrite ] [-DiskIOPSReadOnly ] [-DiskMBpsReadOnly ] [-MaxSharesCount ] [-Tag ] [-CreateOption ] [-StorageAccountId ] [-ImageReference ] @@ -22,8 +22,8 @@ New-AzDiskConfig [[-SkuName] ] [-Tier ] [-LogicalSectorSize ] [-EncryptionSettingsEnabled ] [-DiskEncryptionKey ] [-KeyEncryptionKey ] [-DiskEncryptionSetId ] [-EncryptionType ] [-DiskAccessId ] - [-NetworkAccessPolicy ] [-BurstingEnabled ] [-DefaultProfile ] [-WhatIf] [-Confirm] - [] + [-NetworkAccessPolicy ] [-BurstingEnabled ] [-DefaultProfile ] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -354,6 +354,21 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -EdgeZone +Sets the edge zone name. If set, the query will be routed to the specified edgezone instead of the main region. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -LogicalSectorSize Logical sector size in bytes for Ultra disks. diff --git a/src/Compute/Compute/help/New-AzImageConfig.md b/src/Compute/Compute/help/New-AzImageConfig.md index 2c7d99bd92ee..f518e029a316 100644 --- a/src/Compute/Compute/help/New-AzImageConfig.md +++ b/src/Compute/Compute/help/New-AzImageConfig.md @@ -13,7 +13,7 @@ Creates a configurable image object. ## SYNTAX ``` -New-AzImageConfig [[-Location] ] [[-Tag] ] [[-SourceVirtualMachineId] ] +New-AzImageConfig [[-Location] ] [-EdgeZone ] [[-Tag] ] [[-SourceVirtualMachineId] ] [[-OsDisk] ] [-HyperVGeneration ] [-DataDisk ] [-ZoneResilient] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -105,6 +105,21 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -EdgeZone +Sets the edge zone name. If set, the query will be routed to the specified edgezone instead of the main region. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -OsDisk Specifies the operating system Disk. diff --git a/src/Compute/Compute/help/New-AzSnapshotConfig.md b/src/Compute/Compute/help/New-AzSnapshotConfig.md index 89c2fbf5949b..d61f2f658e3b 100644 --- a/src/Compute/Compute/help/New-AzSnapshotConfig.md +++ b/src/Compute/Compute/help/New-AzSnapshotConfig.md @@ -14,13 +14,13 @@ Creates a configurable snapshot object. ``` New-AzSnapshotConfig [[-SkuName] ] [[-OsType] ] [[-DiskSizeGB] ] - [[-Location] ] [-HyperVGeneration ] [-Incremental] [-Tag ] [-CreateOption ] - [-StorageAccountId ] [-ImageReference ] [-SourceUri ] - [-SourceResourceId ] [-EncryptionSettingsEnabled ] + [[-Location] ] [-EdgeZone ] [-HyperVGeneration ] [-Incremental] [-Tag ] + [-CreateOption ] [-StorageAccountId ] [-ImageReference ] + [-SourceUri ] [-SourceResourceId ] [-EncryptionSettingsEnabled ] [-DiskEncryptionKey ] [-KeyEncryptionKey ] - [-DiskEncryptionSetId ] [-EncryptionType ] [DiskAccessId ] - [-NetworkAccessPolicy ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-DiskEncryptionSetId ] [-EncryptionType ] [-DiskAccessId ] + [-NetworkAccessPolicy ] [-DefaultProfile ] [-WhatIf] [-Confirm] + [] ``` ## DESCRIPTION @@ -48,7 +48,8 @@ The last command takes the snapshot object and creates a snapshot with name 'Sna Creates a configurable snapshot object. (autogenerated) -```powershell +```powershell + New-AzSnapshotConfig -CreateOption Empty -Location 'Central US' -SourceUri 'https://contosoaccount.blob.core.windows.net/vhdstore/win7baseimage.vhd' ``` @@ -84,11 +85,11 @@ Accept pipeline input: False Accept wildcard characters: False ``` -### -DiskEncryptionKey -Specifies the disk encryption key object on a snapshot. +### -DiskAccessId +Gets or sets ARM id of the DiskAccess resource for using private endpoints on. ```yaml -Type: Microsoft.Azure.Management.Compute.Models.KeyVaultAndSecretReference +Type: System.String Parameter Sets: (All) Aliases: @@ -99,11 +100,11 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -DiskEncryptionSetId -Specifies the resource Id of the disk encryption set to use for enabling encryption at rest. +### -DiskEncryptionKey +Specifies the disk encryption key object on a snapshot. ```yaml -Type: System.String +Type: Microsoft.Azure.Management.Compute.Models.KeyVaultAndSecretReference Parameter Sets: (All) Aliases: @@ -114,38 +115,38 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -DiskSizeGB -Specifies the size of the disk in GB. +### -DiskEncryptionSetId +Specifies the resource Id of the disk encryption set to use for enabling encryption at rest. ```yaml -Type: System.Int32 +Type: System.String Parameter Sets: (All) Aliases: Required: False -Position: 2 +Position: Named Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -EncryptionSettingsEnabled -Enable encryption settings. +### -DiskSizeGB +Specifies the size of the disk in GB. ```yaml -Type: System.Nullable`1[System.Boolean] +Type: System.Int32 Parameter Sets: (All) Aliases: Required: False -Position: Named +Position: 2 Default value: None Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -EncryptionType -The type of key used to encrypt the data of the disk. Available values are: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey' +### -EdgeZone +Sets the edge zone name. If set, the query will be routed to the specified edgezone instead of the main region. ```yaml Type: System.String @@ -159,11 +160,11 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -DiskAccessId -Gets or sets ARM id of the DiskAccess resource for using private endpoints on. +### -EncryptionSettingsEnabled +Enable encryption settings. ```yaml -Type: System.String +Type: System.Nullable`1[System.Boolean] Parameter Sets: (All) Aliases: @@ -174,9 +175,8 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` -### -NetworkAccessPolicy -Network access policy defines the network access policy. -Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll' +### -EncryptionType +The type of key used to encrypt the data of the disk. Available values are: 'EncryptionAtRestWithPlatformKey', 'EncryptionAtRestWithCustomerKey' ```yaml Type: System.String @@ -265,6 +265,22 @@ Accept pipeline input: True (ByPropertyName) Accept wildcard characters: False ``` +### -NetworkAccessPolicy +Network access policy defines the network access policy. +Possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll' + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + ### -OsType Specifies the OS type.