From 6826fb5b080c687b3f26bf26605d0479dcebf0b4 Mon Sep 17 00:00:00 2001 From: Adam Sandor Date: Fri, 6 May 2022 16:11:14 -0400 Subject: [PATCH 1/4] manual play --- src/Compute/Compute/Az.Compute.psd1 | 2 +- .../DedicatedHostRestartMethod.cs | 50 +++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 src/Compute/Compute/Generated/DedicatedHost/DedicatedHostRestartMethod.cs diff --git a/src/Compute/Compute/Az.Compute.psd1 b/src/Compute/Compute/Az.Compute.psd1 index c11a054a375f..16a605a10d74 100644 --- a/src/Compute/Compute/Az.Compute.psd1 +++ b/src/Compute/Compute/Az.Compute.psd1 @@ -171,7 +171,7 @@ CmdletsToExport = 'Remove-AzAvailabilitySet', 'Get-AzAvailabilitySet', 'New-AzProximityPlacementGroup', 'Get-AzProximityPlacementGroup', 'Remove-AzProximityPlacementGroup', 'New-AzHostGroup', 'Get-AzHostGroup', 'Remove-AzHostGroup', 'New-AzHost', 'Get-AzHost', - 'Remove-AzHost', 'New-AzDiskEncryptionSetConfig', + 'Remove-AzHost', 'Restart-AzHost' 'New-AzDiskEncryptionSetConfig', 'New-AzDiskEncryptionSet', 'Get-AzDiskEncryptionSet', 'Remove-AzDiskEncryptionSet', 'Update-AzDiskEncryptionSet', 'Set-AzVmssOrchestrationServiceState', 'New-AzDiskAccess', diff --git a/src/Compute/Compute/Generated/DedicatedHost/DedicatedHostRestartMethod.cs b/src/Compute/Compute/Generated/DedicatedHost/DedicatedHostRestartMethod.cs new file mode 100644 index 000000000000..dd0b5f1c37bf --- /dev/null +++ b/src/Compute/Compute/Generated/DedicatedHost/DedicatedHostRestartMethod.cs @@ -0,0 +1,50 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Management.Automation; +using Microsoft.Azure.Commands.Compute.Automation.Models; +using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters; +using Microsoft.Azure.Management.Compute; +using Microsoft.Azure.Management.Compute.Models; +using Microsoft.WindowsAzure.Commands.Utilities.Common; + +namespace Microsoft.Azure.Commands.Compute.Automation +{ + [Cmdlet(VerbsLifecycle.Restart, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Host", DefaultParameterSetName = "DefaultParameterSet", SupportsShouldProcess = true)] + public partial class DedicatedHostRestartMethod : ComputeAutomationBaseCmdlet + { + + [Parameter( + ParameterSetName = "DefaultParameterSet", + Position = 0, + Mandatory = true, + ValueFromPipelineByPropertyName = true)] + [ResourceGroupCompleter] + public string ResourceGroupName { get; set; } + + [Parameter( + ParameterSetName = "DefaultParameterSet", + Position = 1, + Mandatory = true, + ValueFromPipelineByPropertyName = true)] + public string HostGroupName { get; set; } + + [Alias("HostName")] + [Parameter( + ParameterSetName = "DefaultParameterSet", + Position = 2, + Mandatory = true, + ValueFromPipelineByPropertyName = true)] + public string Name { get; set; } + + public override void ExecuteCmdlet() + { + base.ExecuteCmdlet(); + ExecuteClientAction(() => + { + + }); + } + } +} From 3204a646cd1f654c83d14acb0824da728355463e Mon Sep 17 00:00:00 2001 From: Adam Sandor Date: Mon, 9 May 2022 16:57:14 -0400 Subject: [PATCH 2/4] autorest readme dedicatedhostjson --- src/Compute/Compute.Autorest/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Compute/Compute.Autorest/README.md b/src/Compute/Compute.Autorest/README.md index 6742c91a0c90..1235973820a5 100644 --- a/src/Compute/Compute.Autorest/README.md +++ b/src/Compute/Compute.Autorest/README.md @@ -37,6 +37,7 @@ input-file: # You need to specify your swagger files here. - $(repo)/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/gallery.json - $(repo)/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/runCommands.json + - $(repo)/specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/dedicatedHost.json # If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally module-version: 0.1.0 # Normally, title is the service name From 842fae6c232a7dd6b756e2eafa89304fb8b70240 Mon Sep 17 00:00:00 2001 From: Adam Sandor Date: Wed, 11 May 2022 18:30:29 -0400 Subject: [PATCH 3/4] dev, test, changelog, help doc --- src/Compute/Compute.Autorest/README.md | 1 - .../ScenarioTests/DedicatedHostTests.cs | 7 + .../ScenarioTests/DedicatedHostTests.ps1 | 44 + .../TestDedicatedHostRestart.json | 2169 +++++++++++++++++ src/Compute/Compute/Az.Compute.psd1 | 2 +- src/Compute/Compute/ChangeLog.md | 1 + .../DedicatedHostRestartMethod.cs | 73 +- src/Compute/Compute/help/Restart-AzHost.md | 194 ++ 8 files changed, 2482 insertions(+), 9 deletions(-) create mode 100644 src/Compute/Compute.Test/SessionRecords/Microsoft.Azure.Commands.Compute.Test.ScenarioTests.DedicatedHostTests/TestDedicatedHostRestart.json create mode 100644 src/Compute/Compute/help/Restart-AzHost.md diff --git a/src/Compute/Compute.Autorest/README.md b/src/Compute/Compute.Autorest/README.md index 1235973820a5..6742c91a0c90 100644 --- a/src/Compute/Compute.Autorest/README.md +++ b/src/Compute/Compute.Autorest/README.md @@ -37,7 +37,6 @@ input-file: # You need to specify your swagger files here. - $(repo)/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/gallery.json - $(repo)/specification/compute/resource-manager/Microsoft.Compute/stable/2021-07-01/runCommands.json - - $(repo)/specification/compute/resource-manager/Microsoft.Compute/stable/2022-03-01/ComputeRP/dedicatedHost.json # If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally module-version: 0.1.0 # Normally, title is the service name diff --git a/src/Compute/Compute.Test/ScenarioTests/DedicatedHostTests.cs b/src/Compute/Compute.Test/ScenarioTests/DedicatedHostTests.cs index 756380259546..008ad43ad0a8 100644 --- a/src/Compute/Compute.Test/ScenarioTests/DedicatedHostTests.cs +++ b/src/Compute/Compute.Test/ScenarioTests/DedicatedHostTests.cs @@ -37,5 +37,12 @@ public void TestDedicatedHostVirtualMachine() { TestRunner.RunTestScript("Test-DedicatedHostVirtualMachine"); } + + [Fact] + [Trait(Category.AcceptanceType, Category.CheckIn)] + public void TestDedicatedHostRestart() + { + TestRunner.RunTestScript("Test-DedicatedHostRestart"); + } } } diff --git a/src/Compute/Compute.Test/ScenarioTests/DedicatedHostTests.ps1 b/src/Compute/Compute.Test/ScenarioTests/DedicatedHostTests.ps1 index 2fc5c512b9a6..0d7230cfec35 100644 --- a/src/Compute/Compute.Test/ScenarioTests/DedicatedHostTests.ps1 +++ b/src/Compute/Compute.Test/ScenarioTests/DedicatedHostTests.ps1 @@ -245,3 +245,47 @@ function Test-DedicatedHostVirtualMachine Clean-ResourceGroup $rgname } } + +<# +.SYNOPSIS +Test Restart dedicated host feature. +#> +function Test-DedicatedHostRestart +{ + # Setup + $rgname = Get-ComputeTestResourceName + + try + { + # Common + # [string]$loc = Get-Location "Microsoft.Resources" "resourceGroups" "East US 2 EUAP"; + # $loc = $loc.Replace(' ', ''); + $loc = "eastus2euap"; + + + New-AzResourceGroup -Name $rgname -Location $loc -Force; + + $hostGroupName = $rgname + 'hostgroup' + New-AzHostGroup -ResourceGroupName $rgname -Name $hostGroupName -Location $loc -PlatformFaultDomain 1 -Zone "2" -Tag @{key1 = "val1"}; + + $hostGroup = Get-AzHostGroup -ResourceGroupName $rgname -Name $hostGroupName; + $hostName = $rgname + 'host'; + New-AzHost -ResourceGroupName $rgname -HostGroupName $hostGroupName -Name $hostName -Location $loc -Sku "ESv3-Type1" -Tag @{key1 = "val2"}; + + $dedicatedHost = Get-AzHost -ResourceGroupName $rgname -HostGroupName $hostGroupName -Name $hostName; + + # Restart the dedicated host + Restart-AzHost -ResourceGroupName $rgname -HostGroupName $hostGroupName -Name $hostName; + + # Resource Id Parameter set + Restart-AzHost -ResourceId $dedicatedHost.Id; + + # Object Parameter set + Restart-AzHost -Host $dedicatedHost; + } + finally + { + # Cleanup + Clean-ResourceGroup $rgname + } +} \ No newline at end of file diff --git a/src/Compute/Compute.Test/SessionRecords/Microsoft.Azure.Commands.Compute.Test.ScenarioTests.DedicatedHostTests/TestDedicatedHostRestart.json b/src/Compute/Compute.Test/SessionRecords/Microsoft.Azure.Commands.Compute.Test.ScenarioTests.DedicatedHostTests/TestDedicatedHostRestart.json new file mode 100644 index 000000000000..f7a049f679f5 --- /dev/null +++ b/src/Compute/Compute.Test/SessionRecords/Microsoft.Azure.Commands.Compute.Test.ScenarioTests.DedicatedHostTests/TestDedicatedHostRestart.json @@ -0,0 +1,2169 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourcegroups/crptestps2376?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL3Jlc291cmNlZ3JvdXBzL2NycHRlc3RwczIzNzY/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"eastus2euap\"\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2eb296e0-8bec-4df0-9bee-57863ae68f96" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "33" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-request-id": [ + "7d09c120-80f3-4b10-ae24-a96416505c25" + ], + "x-ms-correlation-request-id": [ + "7d09c120-80f3-4b10-ae24-a96416505c25" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T214916Z:7d09c120-80f3-4b10-ae24-a96416505c25" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:49:15 GMT" + ], + "Content-Length": [ + "184" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourceGroups/crptestps2376\",\r\n \"name\": \"crptestps2376\",\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourceGroups/crptestps2376/providers/Microsoft.Compute/hostGroups/crptestps2376hostgroup?api-version=2021-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL3Jlc291cmNlR3JvdXBzL2NycHRlc3RwczIzNzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Db21wdXRlL2hvc3RHcm91cHMvY3JwdGVzdHBzMjM3Nmhvc3Rncm91cD9hcGktdmVyc2lvbj0yMDIxLTExLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"platformFaultDomainCount\": 1\r\n },\r\n \"zones\": [\r\n \"2\"\r\n ],\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {\r\n \"key1\": \"val1\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d1ecc21e-ae93-477e-bcbb-4a709143b925" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/54.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "161" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/PutDeleteDedicatedHost3Min;118,Microsoft.Compute/PutDeleteDedicatedHost30Min;591" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "69c7180e-e52a-4785-8f73-42b56351cb98" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "3a369d2a-f4e4-45d4-bb66-2ad1fa8f9800" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T214919Z:3a369d2a-f4e4-45d4-bb66-2ad1fa8f9800" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:49:18 GMT" + ], + "Content-Length": [ + "437" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"crptestps2376hostgroup\",\r\n \"id\": \"/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourceGroups/CRPTESTPS2376/providers/Microsoft.Compute/hostGroups/crptestps2376hostgroup\",\r\n \"type\": \"Microsoft.Compute/hostGroups\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {\r\n \"key1\": \"val1\"\r\n },\r\n \"zones\": [\r\n \"2\"\r\n ],\r\n \"properties\": {\r\n \"platformFaultDomainCount\": 1,\r\n \"supportAutomaticPlacement\": false\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourceGroups/crptestps2376/providers/Microsoft.Compute/hostGroups/crptestps2376hostgroup?api-version=2021-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL3Jlc291cmNlR3JvdXBzL2NycHRlc3RwczIzNzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Db21wdXRlL2hvc3RHcm91cHMvY3JwdGVzdHBzMjM3Nmhvc3Rncm91cD9hcGktdmVyc2lvbj0yMDIxLTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6cb62c47-652a-4b75-9357-ccf2fd0cb6e8" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/54.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/GetDedicatedHost30Min;853" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9b318e87-4b55-41e6-ae52-22172629a13a" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "3fbb83b8-492b-4d2b-803e-e8ab3ebafc59" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T214920Z:3fbb83b8-492b-4d2b-803e-e8ab3ebafc59" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:49:19 GMT" + ], + "Content-Length": [ + "437" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"crptestps2376hostgroup\",\r\n \"id\": \"/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourceGroups/CRPTESTPS2376/providers/Microsoft.Compute/hostGroups/crptestps2376hostgroup\",\r\n \"type\": \"Microsoft.Compute/hostGroups\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {\r\n \"key1\": \"val1\"\r\n },\r\n \"zones\": [\r\n \"2\"\r\n ],\r\n \"properties\": {\r\n \"platformFaultDomainCount\": 1,\r\n \"supportAutomaticPlacement\": false\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourceGroups/crptestps2376/providers/Microsoft.Compute/hostGroups/crptestps2376hostgroup/hosts/crptestps2376host?api-version=2021-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL3Jlc291cmNlR3JvdXBzL2NycHRlc3RwczIzNzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Db21wdXRlL2hvc3RHcm91cHMvY3JwdGVzdHBzMjM3Nmhvc3Rncm91cC9ob3N0cy9jcnB0ZXN0cHMyMzc2aG9zdD9hcGktdmVyc2lvbj0yMDIxLTExLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"ESv3-Type1\"\r\n },\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {\r\n \"key1\": \"val2\"\r\n }\r\n}", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e0491a9b-ebd3-4427-9534-c9c67c97a61d" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/54.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "116" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/providers/Microsoft.Compute/locations/EastUS2EUAP/operations/28f7230b-52b5-48bc-b4d8-10474d3505b0?p=ce1708c5-dbca-4b22-b426-e8b8908417da&api-version=2021-11-01" + ], + "Azure-AsyncNotification": [ + "Enabled" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/PutDeleteDedicatedHost3Min;117,Microsoft.Compute/PutDeleteDedicatedHost30Min;590" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "28f7230b-52b5-48bc-b4d8-10474d3505b0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "71edf31c-d39d-461e-b4ab-41c8a974a8a8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T214923Z:71edf31c-d39d-461e-b4ab-41c8a974a8a8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:49:22 GMT" + ], + "Content-Length": [ + "616" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"crptestps2376host\",\r\n \"id\": \"/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourceGroups/crptestps2376/providers/Microsoft.Compute/hostGroups/crptestps2376hostgroup/hosts/crptestps2376host\",\r\n \"type\": \"Microsoft.Compute/hostGroups/hosts\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {\r\n \"key1\": \"val2\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ESv3-Type1\"\r\n },\r\n \"properties\": {\r\n \"platformFaultDomain\": 0,\r\n \"autoReplaceOnFailure\": true,\r\n \"hostId\": \"2e29fa94-cc58-4526-bcd0-e931c96f836a\",\r\n \"provisioningState\": \"Creating\",\r\n \"timeCreated\": \"2022-05-11T17:49:22.7900337-04:00\"\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/providers/Microsoft.Compute/locations/EastUS2EUAP/operations/28f7230b-52b5-48bc-b4d8-10474d3505b0?p=ce1708c5-dbca-4b22-b426-e8b8908417da&api-version=2021-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL3Byb3ZpZGVycy9NaWNyb3NvZnQuQ29tcHV0ZS9sb2NhdGlvbnMvRWFzdFVTMkVVQVAvb3BlcmF0aW9ucy8yOGY3MjMwYi01MmI1LTQ4YmMtYjRkOC0xMDQ3NGQzNTA1YjA/cD1jZTE3MDhjNS1kYmNhLTRiMjItYjQyNi1lOGI4OTA4NDE3ZGEmYXBpLXZlcnNpb249MjAyMS0xMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e0491a9b-ebd3-4427-9534-c9c67c97a61d" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/54.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/GetOperation3Min;14999,Microsoft.Compute/GetOperation30Min;29977" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d6972bfb-7163-4eff-b2d9-a3ea2295d817" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "3137cb23-13e8-45bd-9dd0-bc679f8f371e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T214953Z:3137cb23-13e8-45bd-9dd0-bc679f8f371e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:49:53 GMT" + ], + "Content-Length": [ + "184" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"startTime\": \"2022-05-11T17:49:22.7900337-04:00\",\r\n \"endTime\": \"2022-05-11T17:49:23.2275555-04:00\",\r\n \"status\": \"Succeeded\",\r\n \"name\": \"28f7230b-52b5-48bc-b4d8-10474d3505b0\"\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourceGroups/crptestps2376/providers/Microsoft.Compute/hostGroups/crptestps2376hostgroup/hosts/crptestps2376host?api-version=2021-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL3Jlc291cmNlR3JvdXBzL2NycHRlc3RwczIzNzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Db21wdXRlL2hvc3RHcm91cHMvY3JwdGVzdHBzMjM3Nmhvc3Rncm91cC9ob3N0cy9jcnB0ZXN0cHMyMzc2aG9zdD9hcGktdmVyc2lvbj0yMDIxLTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e0491a9b-ebd3-4427-9534-c9c67c97a61d" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/54.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/GetDedicatedHost3Min;244,Microsoft.Compute/GetDedicatedHost30Min;849" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "52a05716-29db-4543-99c6-ff5a35d92f31" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "8e2f8833-9c34-4224-98d4-d23049a3145b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T214953Z:8e2f8833-9c34-4224-98d4-d23049a3145b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:49:53 GMT" + ], + "Content-Length": [ + "707" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"crptestps2376host\",\r\n \"id\": \"/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourceGroups/crptestps2376/providers/Microsoft.Compute/hostGroups/crptestps2376hostgroup/hosts/crptestps2376host\",\r\n \"type\": \"Microsoft.Compute/hostGroups/hosts\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {\r\n \"key1\": \"val2\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ESv3-Type1\"\r\n },\r\n \"properties\": {\r\n \"platformFaultDomain\": 0,\r\n \"autoReplaceOnFailure\": true,\r\n \"hostId\": \"2e29fa94-cc58-4526-bcd0-e931c96f836a\",\r\n \"virtualMachines\": [],\r\n \"provisioningTime\": \"2022-05-11T17:49:23.0087829-04:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-05-11T17:49:22.7900337-04:00\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourceGroups/crptestps2376/providers/Microsoft.Compute/hostGroups/crptestps2376hostgroup/hosts/crptestps2376host?api-version=2021-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL3Jlc291cmNlR3JvdXBzL2NycHRlc3RwczIzNzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Db21wdXRlL2hvc3RHcm91cHMvY3JwdGVzdHBzMjM3Nmhvc3Rncm91cC9ob3N0cy9jcnB0ZXN0cHMyMzc2aG9zdD9hcGktdmVyc2lvbj0yMDIxLTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5ec085cf-f4c5-4446-936f-556d8e5106ab" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/54.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/GetDedicatedHost3Min;243,Microsoft.Compute/GetDedicatedHost30Min;848" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "56df834e-732d-497d-b8a5-f0c0df321c3d" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "04ba8c0a-864e-498a-935a-5210ec104c9e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T214954Z:04ba8c0a-864e-498a-935a-5210ec104c9e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:49:53 GMT" + ], + "Content-Length": [ + "707" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"name\": \"crptestps2376host\",\r\n \"id\": \"/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourceGroups/crptestps2376/providers/Microsoft.Compute/hostGroups/crptestps2376hostgroup/hosts/crptestps2376host\",\r\n \"type\": \"Microsoft.Compute/hostGroups/hosts\",\r\n \"location\": \"eastus2euap\",\r\n \"tags\": {\r\n \"key1\": \"val2\"\r\n },\r\n \"sku\": {\r\n \"name\": \"ESv3-Type1\"\r\n },\r\n \"properties\": {\r\n \"platformFaultDomain\": 0,\r\n \"autoReplaceOnFailure\": true,\r\n \"hostId\": \"2e29fa94-cc58-4526-bcd0-e931c96f836a\",\r\n \"virtualMachines\": [],\r\n \"provisioningTime\": \"2022-05-11T17:49:23.0087829-04:00\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"timeCreated\": \"2022-05-11T17:49:22.7900337-04:00\"\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourceGroups/crptestps2376/providers/Microsoft.Compute/hostGroups/crptestps2376hostgroup/hosts/crptestps2376host/restart?api-version=2021-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL3Jlc291cmNlR3JvdXBzL2NycHRlc3RwczIzNzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Db21wdXRlL2hvc3RHcm91cHMvY3JwdGVzdHBzMjM3Nmhvc3Rncm91cC9ob3N0cy9jcnB0ZXN0cHMyMzc2aG9zdC9yZXN0YXJ0P2FwaS12ZXJzaW9uPTIwMjEtMTEtMDE=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "24b4c5bd-8b44-41ee-b58f-1c7b5ba4e9a9" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/54.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/providers/Microsoft.Compute/locations/EastUS2EUAP/operations/4760d721-3b20-4ab3-9765-dead9014ead5?p=ce1708c5-dbca-4b22-b426-e8b8908417da&api-version=2021-11-01" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/UpdateDedicatedHost3Min;119,Microsoft.Compute/UpdateDedicatedHost30Min;596" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4760d721-3b20-4ab3-9765-dead9014ead5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "1213ec78-89b4-4191-a85e-f584c28a3548" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T214955Z:1213ec78-89b4-4191-a85e-f584c28a3548" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:49:55 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourceGroups/crptestps2376/providers/Microsoft.Compute/hostGroups/crptestps2376hostgroup/hosts/crptestps2376host/restart?api-version=2021-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL3Jlc291cmNlR3JvdXBzL2NycHRlc3RwczIzNzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Db21wdXRlL2hvc3RHcm91cHMvY3JwdGVzdHBzMjM3Nmhvc3Rncm91cC9ob3N0cy9jcnB0ZXN0cHMyMzc2aG9zdC9yZXN0YXJ0P2FwaS12ZXJzaW9uPTIwMjEtMTEtMDE=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "faeda8e3-ec2f-4bb0-8087-364a1a091d34" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/54.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/providers/Microsoft.Compute/locations/EastUS2EUAP/operations/24de5ab6-a7b4-48ae-bce1-3487fd125a0d?p=ce1708c5-dbca-4b22-b426-e8b8908417da&api-version=2021-11-01" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/UpdateDedicatedHost3Min;118,Microsoft.Compute/UpdateDedicatedHost30Min;595" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "24de5ab6-a7b4-48ae-bce1-3487fd125a0d" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "81f57ccd-9709-485a-b43d-6d981e53743c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T214955Z:81f57ccd-9709-485a-b43d-6d981e53743c" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:49:55 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourceGroups/crptestps2376/providers/Microsoft.Compute/hostGroups/crptestps2376hostgroup/hosts/crptestps2376host/restart?api-version=2021-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL3Jlc291cmNlR3JvdXBzL2NycHRlc3RwczIzNzYvcHJvdmlkZXJzL01pY3Jvc29mdC5Db21wdXRlL2hvc3RHcm91cHMvY3JwdGVzdHBzMjM3Nmhvc3Rncm91cC9ob3N0cy9jcnB0ZXN0cHMyMzc2aG9zdC9yZXN0YXJ0P2FwaS12ZXJzaW9uPTIwMjEtMTEtMDE=", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "97694a4e-3b2e-4c4b-b5d1-2a0ee39131bb" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Compute.ComputeManagementClient/54.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Azure-AsyncOperation": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/providers/Microsoft.Compute/locations/EastUS2EUAP/operations/cf55da86-7c56-4675-9616-5e88927a8f93?p=ce1708c5-dbca-4b22-b426-e8b8908417da&api-version=2021-11-01" + ], + "x-ms-ratelimit-remaining-resource": [ + "Microsoft.Compute/UpdateDedicatedHost3Min;117,Microsoft.Compute/UpdateDedicatedHost30Min;594" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "cf55da86-7c56-4675-9616-5e88927a8f93" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "ecd19a0c-5ef1-4ced-a503-d08b61c7e73e" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T214956Z:ecd19a0c-5ef1-4ced-a503-d08b61c7e73e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:49:55 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/resourcegroups/crptestps2376?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL3Jlc291cmNlZ3JvdXBzL2NycHRlc3RwczIzNzY/YXBpLXZlcnNpb249MjAxNi0wOS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1377ae0b-5db6-42aa-8db2-b185e5afa40b" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-request-id": [ + "c17845f6-b2b1-40e7-8841-6ef7119ae542" + ], + "x-ms-correlation-request-id": [ + "c17845f6-b2b1-40e7-8841-6ef7119ae542" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T214958Z:c17845f6-b2b1-40e7-8841-6ef7119ae542" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:49:57 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-request-id": [ + "189c3c99-fd44-4a18-ad13-92b8c1e51a9c" + ], + "x-ms-correlation-request-id": [ + "189c3c99-fd44-4a18-ad13-92b8c1e51a9c" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215013Z:189c3c99-fd44-4a18-ad13-92b8c1e51a9c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:50:13 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-request-id": [ + "dc0f5f4f-187e-41d4-88ce-5335a0d963da" + ], + "x-ms-correlation-request-id": [ + "dc0f5f4f-187e-41d4-88ce-5335a0d963da" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215028Z:dc0f5f4f-187e-41d4-88ce-5335a0d963da" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:50:28 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-request-id": [ + "0f7c023a-06db-4169-81f2-ac96ddb130a8" + ], + "x-ms-correlation-request-id": [ + "0f7c023a-06db-4169-81f2-ac96ddb130a8" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215043Z:0f7c023a-06db-4169-81f2-ac96ddb130a8" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:50:43 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-request-id": [ + "04b8cc8e-bd5b-4fb3-950c-dcee67fa02bf" + ], + "x-ms-correlation-request-id": [ + "04b8cc8e-bd5b-4fb3-950c-dcee67fa02bf" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215059Z:04b8cc8e-bd5b-4fb3-950c-dcee67fa02bf" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:50:58 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-request-id": [ + "32aa7c8e-c7b7-4461-9a90-9819d6489c08" + ], + "x-ms-correlation-request-id": [ + "32aa7c8e-c7b7-4461-9a90-9819d6489c08" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215114Z:32aa7c8e-c7b7-4461-9a90-9819d6489c08" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:51:13 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-request-id": [ + "57056ca4-8864-42ff-89dc-54c83bdba633" + ], + "x-ms-correlation-request-id": [ + "57056ca4-8864-42ff-89dc-54c83bdba633" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215129Z:57056ca4-8864-42ff-89dc-54c83bdba633" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:51:28 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-request-id": [ + "cc57c1bf-15c3-49b9-91c0-0fed8637a542" + ], + "x-ms-correlation-request-id": [ + "cc57c1bf-15c3-49b9-91c0-0fed8637a542" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215144Z:cc57c1bf-15c3-49b9-91c0-0fed8637a542" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:51:44 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11992" + ], + "x-ms-request-id": [ + "b89e4f53-6850-4b1b-8fe8-6138475ad43b" + ], + "x-ms-correlation-request-id": [ + "b89e4f53-6850-4b1b-8fe8-6138475ad43b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215159Z:b89e4f53-6850-4b1b-8fe8-6138475ad43b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:51:59 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11991" + ], + "x-ms-request-id": [ + "43c485c7-e752-4455-8c6e-d5613435fcc9" + ], + "x-ms-correlation-request-id": [ + "43c485c7-e752-4455-8c6e-d5613435fcc9" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215214Z:43c485c7-e752-4455-8c6e-d5613435fcc9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:52:13 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11990" + ], + "x-ms-request-id": [ + "a195cd3e-bdc5-474c-8239-a7aef23be190" + ], + "x-ms-correlation-request-id": [ + "a195cd3e-bdc5-474c-8239-a7aef23be190" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215229Z:a195cd3e-bdc5-474c-8239-a7aef23be190" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:52:29 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11989" + ], + "x-ms-request-id": [ + "1c2adc60-1243-4a62-b3ae-07c893f48a19" + ], + "x-ms-correlation-request-id": [ + "1c2adc60-1243-4a62-b3ae-07c893f48a19" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215245Z:1c2adc60-1243-4a62-b3ae-07c893f48a19" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:52:44 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11988" + ], + "x-ms-request-id": [ + "4f677e84-e616-4564-842d-3acb43fc3094" + ], + "x-ms-correlation-request-id": [ + "4f677e84-e616-4564-842d-3acb43fc3094" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215300Z:4f677e84-e616-4564-842d-3acb43fc3094" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:52:59 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11987" + ], + "x-ms-request-id": [ + "247ceb7d-b877-49a9-a8e3-44a9e8ac5890" + ], + "x-ms-correlation-request-id": [ + "247ceb7d-b877-49a9-a8e3-44a9e8ac5890" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215315Z:247ceb7d-b877-49a9-a8e3-44a9e8ac5890" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:53:14 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11986" + ], + "x-ms-request-id": [ + "23c9ef5b-9385-4952-ae28-48b03b8584b6" + ], + "x-ms-correlation-request-id": [ + "23c9ef5b-9385-4952-ae28-48b03b8584b6" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215330Z:23c9ef5b-9385-4952-ae28-48b03b8584b6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:53:30 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11985" + ], + "x-ms-request-id": [ + "dedf0a31-2501-40f7-aa52-33691c77c9c7" + ], + "x-ms-correlation-request-id": [ + "dedf0a31-2501-40f7-aa52-33691c77c9c7" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215345Z:dedf0a31-2501-40f7-aa52-33691c77c9c7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:53:45 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11984" + ], + "x-ms-request-id": [ + "44e163ac-d0f3-4087-afab-631ce82756db" + ], + "x-ms-correlation-request-id": [ + "44e163ac-d0f3-4087-afab-631ce82756db" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215400Z:44e163ac-d0f3-4087-afab-631ce82756db" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:53:59 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11983" + ], + "x-ms-request-id": [ + "39207cdd-00c9-4cf0-b3d0-6a4eb9870e51" + ], + "x-ms-correlation-request-id": [ + "39207cdd-00c9-4cf0-b3d0-6a4eb9870e51" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215415Z:39207cdd-00c9-4cf0-b3d0-6a4eb9870e51" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:54:15 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11982" + ], + "x-ms-request-id": [ + "2f73700f-2c79-4021-9491-9c9ba068d9e0" + ], + "x-ms-correlation-request-id": [ + "2f73700f-2c79-4021-9491-9c9ba068d9e0" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215431Z:2f73700f-2c79-4021-9491-9c9ba068d9e0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:54:30 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11981" + ], + "x-ms-request-id": [ + "7fa4c9c1-cbc9-490a-83ef-6a9d3d71f317" + ], + "x-ms-correlation-request-id": [ + "7fa4c9c1-cbc9-490a-83ef-6a9d3d71f317" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215446Z:7fa4c9c1-cbc9-490a-83ef-6a9d3d71f317" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:54:45 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11980" + ], + "x-ms-request-id": [ + "4787f0b7-c9bf-4751-b8bd-e6a89ff49634" + ], + "x-ms-correlation-request-id": [ + "4787f0b7-c9bf-4751-b8bd-e6a89ff49634" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215501Z:4787f0b7-c9bf-4751-b8bd-e6a89ff49634" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:55:00 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11979" + ], + "x-ms-request-id": [ + "4f735d4d-5e85-49b3-8e70-394d1a1bb113" + ], + "x-ms-correlation-request-id": [ + "4f735d4d-5e85-49b3-8e70-394d1a1bb113" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215516Z:4f735d4d-5e85-49b3-8e70-394d1a1bb113" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:55:15 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11978" + ], + "x-ms-request-id": [ + "48cfb349-489b-4b38-bc8b-64dc00a6732b" + ], + "x-ms-correlation-request-id": [ + "48cfb349-489b-4b38-bc8b-64dc00a6732b" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215531Z:48cfb349-489b-4b38-bc8b-64dc00a6732b" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:55:31 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01" + ], + "Retry-After": [ + "15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11977" + ], + "x-ms-request-id": [ + "2ec3999d-017a-41cf-ac12-10b24366f92f" + ], + "x-ms-correlation-request-id": [ + "2ec3999d-017a-41cf-ac12-10b24366f92f" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215546Z:2ec3999d-017a-41cf-ac12-10b24366f92f" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:55:46 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11976" + ], + "x-ms-request-id": [ + "aa2e924d-77ee-456d-9554-c19f2bc422c1" + ], + "x-ms-correlation-request-id": [ + "aa2e924d-77ee-456d-9554-c19f2bc422c1" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215602Z:aa2e924d-77ee-456d-9554-c19f2bc422c1" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:56:01 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/e37510d7-33b6-4676-886f-ee75bcc01871/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DUlBURVNUUFMyMzc2LUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2016-09-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvZTM3NTEwZDctMzNiNi00Njc2LTg4NmYtZWU3NWJjYzAxODcxL29wZXJhdGlvbnJlc3VsdHMvZXlKcWIySkpaQ0k2SWxKRlUwOVZVa05GUjFKUFZWQkVSVXhGVkVsUFRrcFBRaTFEVWxCVVJWTlVVRk15TXpjMkxVVkJVMVJWVXpKRlZVRlFJaXdpYW05aVRHOWpZWFJwYjI0aU9pSmxZWE4wZFhNeVpYVmhjQ0o5P2FwaS12ZXJzaW9uPTIwMTYtMDktMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.700.22.21202", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.22000", + "Microsoft.Azure.Management.Internal.Resources.ResourceManagementClient/1.3.57" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11975" + ], + "x-ms-request-id": [ + "d2cee6a0-7e93-44cb-89cc-f98e0d7e7941" + ], + "x-ms-correlation-request-id": [ + "d2cee6a0-7e93-44cb-89cc-f98e0d7e7941" + ], + "x-ms-routing-request-id": [ + "CENTRALUS:20220511T215602Z:d2cee6a0-7e93-44cb-89cc-f98e0d7e7941" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 11 May 2022 21:56:01 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + } + ], + "Names": { + "Test-DedicatedHostRestart": [ + "crptestps2376" + ] + }, + "Variables": { + "SubscriptionId": "e37510d7-33b6-4676-886f-ee75bcc01871" + } +} \ No newline at end of file diff --git a/src/Compute/Compute/Az.Compute.psd1 b/src/Compute/Compute/Az.Compute.psd1 index 16a605a10d74..edbf1587f380 100644 --- a/src/Compute/Compute/Az.Compute.psd1 +++ b/src/Compute/Compute/Az.Compute.psd1 @@ -171,7 +171,7 @@ CmdletsToExport = 'Remove-AzAvailabilitySet', 'Get-AzAvailabilitySet', 'New-AzProximityPlacementGroup', 'Get-AzProximityPlacementGroup', 'Remove-AzProximityPlacementGroup', 'New-AzHostGroup', 'Get-AzHostGroup', 'Remove-AzHostGroup', 'New-AzHost', 'Get-AzHost', - 'Remove-AzHost', 'Restart-AzHost' 'New-AzDiskEncryptionSetConfig', + 'Remove-AzHost', 'Restart-AzHost', 'New-AzDiskEncryptionSetConfig', 'New-AzDiskEncryptionSet', 'Get-AzDiskEncryptionSet', 'Remove-AzDiskEncryptionSet', 'Update-AzDiskEncryptionSet', 'Set-AzVmssOrchestrationServiceState', 'New-AzDiskAccess', diff --git a/src/Compute/Compute/ChangeLog.md b/src/Compute/Compute/ChangeLog.md index 9e7a0994a067..b8f97132b949 100644 --- a/src/Compute/Compute/ChangeLog.md +++ b/src/Compute/Compute/ChangeLog.md @@ -21,6 +21,7 @@ --> ## Upcoming Release * Edited `New-AzVm` cmdlet internal logic to use the `PlatformFaultDomain` value in the `PSVirtualMachine` object passed to it in the new virtual machine. +* Added a new cmdlet named `Restart-AzHost` to restart dedicated hosts. ## Version 4.26.0 * Added `-ImageReferenceId` parameter to following cmdlets: `New-AzVm`, `New-AzVmConfig`, `New-AzVmss`, `Set-AzVmssStorageProfile` diff --git a/src/Compute/Compute/Generated/DedicatedHost/DedicatedHostRestartMethod.cs b/src/Compute/Compute/Generated/DedicatedHost/DedicatedHostRestartMethod.cs index dd0b5f1c37bf..bf6fd5807953 100644 --- a/src/Compute/Compute/Generated/DedicatedHost/DedicatedHostRestartMethod.cs +++ b/src/Compute/Compute/Generated/DedicatedHost/DedicatedHostRestartMethod.cs @@ -12,38 +12,97 @@ namespace Microsoft.Azure.Commands.Compute.Automation { [Cmdlet(VerbsLifecycle.Restart, ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "Host", DefaultParameterSetName = "DefaultParameterSet", SupportsShouldProcess = true)] + [OutputType(typeof(PSOperationStatusResponse))] public partial class DedicatedHostRestartMethod : ComputeAutomationBaseCmdlet { + private const string DefaultParameterSetName = "DefaultParameterSet", ResourceIdParamSet = "ResourceIdParameterSet", ObjectParamSet = "ObjectParameterSet"; [Parameter( - ParameterSetName = "DefaultParameterSet", + ParameterSetName = DefaultParameterSetName, Position = 0, Mandatory = true, - ValueFromPipelineByPropertyName = true)] + ValueFromPipelineByPropertyName = true, + HelpMessage = "The name of the resource group.")] [ResourceGroupCompleter] public string ResourceGroupName { get; set; } [Parameter( - ParameterSetName = "DefaultParameterSet", + ParameterSetName = DefaultParameterSetName, Position = 1, Mandatory = true, - ValueFromPipelineByPropertyName = true)] + ValueFromPipelineByPropertyName = true, + HelpMessage = "The name of the dedicated host group.")] public string HostGroupName { get; set; } [Alias("HostName")] [Parameter( - ParameterSetName = "DefaultParameterSet", + ParameterSetName = DefaultParameterSetName, Position = 2, Mandatory = true, - ValueFromPipelineByPropertyName = true)] + ValueFromPipelineByPropertyName = true, + HelpMessage = "The name of the dedicated host.")] public string Name { get; set; } + [Parameter( + ParameterSetName = ResourceIdParamSet, + Mandatory = true, + ValueFromPipelineByPropertyName = true, + HelpMessage = "The ARM resource id of the dedicated host.")] + public string ResourceId { get; set; } + + [Alias("Host")] + [Parameter( + ParameterSetName = ObjectParamSet, + Mandatory = true, + ValueFromPipeline = true, + HelpMessage = "The dedicated host object.")] + [ValidateNotNullOrEmpty] + public PSHost InputObject { get; set; } + public override void ExecuteCmdlet() { base.ExecuteCmdlet(); ExecuteClientAction(() => { - + if (ShouldProcess(this.Name, VerbsCommon.Remove)) + { + string resourceGroupName; + string hostGroupName; + string hostName; + switch (this.ParameterSetName) + { + case ResourceIdParamSet: + resourceGroupName = GetResourceGroupName(this.ResourceId); + hostGroupName = GetResourceName(this.ResourceId, "Microsoft.Compute/hostGroups", "hosts"); + hostName = GetInstanceId(this.ResourceId, "Microsoft.Compute/hostGroups", "hosts"); + break; + case ObjectParamSet: + resourceGroupName = GetResourceGroupName(this.InputObject.Id); + hostGroupName = GetResourceName(this.InputObject.Id, "Microsoft.Compute/hostGroups", "hosts"); + hostName = GetInstanceId(this.InputObject.Id, "Microsoft.Compute/hostGroups", "hosts"); + break; + default: + resourceGroupName = this.ResourceGroupName; + hostGroupName = this.HostGroupName; + hostName = this.Name; + break; + } + + var result = DedicatedHostsClient.RestartWithHttpMessagesAsync(resourceGroupName, hostGroupName, hostName).GetAwaiter().GetResult(); + + PSOperationStatusResponse output = new PSOperationStatusResponse + { + StartTime = this.StartTime, + EndTime = DateTime.Now + }; + + if (result != null && result.Request != null && result.Request.RequestUri != null) + { + output.Name = GetOperationIdFromUrlString(result.Request.RequestUri.ToString()); + } + + WriteObject(output); + } }); } } diff --git a/src/Compute/Compute/help/Restart-AzHost.md b/src/Compute/Compute/help/Restart-AzHost.md new file mode 100644 index 000000000000..21813575fea2 --- /dev/null +++ b/src/Compute/Compute/help/Restart-AzHost.md @@ -0,0 +1,194 @@ +--- +external help file: Microsoft.Azure.PowerShell.Cmdlets.Compute.dll-Help.xml +Module Name: Az.Compute +online version: +schema: 2.0.0 +--- + +# Restart-AzHost + +## SYNOPSIS +Restart the dedicated host. + +## SYNTAX + +### DefaultParameterSet (Default) +``` +Restart-AzHost [-ResourceGroupName] [-HostGroupName] [-Name] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] +``` + +### ResourceIdParameterSet +``` +Restart-AzHost -ResourceId [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +### ObjectParameterSet +``` +Restart-AzHost -InputObject [-DefaultProfile ] [-WhatIf] [-Confirm] + [] +``` + +## DESCRIPTION +Restart the dedicated host. The operation will complete successfully once the dedicated host has restarted and is running. To determine the health of VMs deployed on the dedicated host after the restart check the Resource Health Center in the Azure Portal. Please refer to https://docs.microsoft.com/en-us/azure/service-health/resource-health-overview for more details. + +## EXAMPLES + +### Example 1 +```powershell +$Location = ; +$ResourceGroupName = New-AzResourceGroup -Name $rgname -Location $Location -Force; + +$hostGroupName = $ResourceGroupName + 'hostgroup' +New-AzHostGroup -ResourceGroupName $ResourceGroupName -Name $hostGroupName -Location $Location -PlatformFaultDomain 1 -Zone "2" -Tag @{key1 = "val1"}; + +$hostGroup = Get-AzHostGroup -ResourceGroupName $ResourceGroupName -Name $hostGroupName; +$hostName = $ResourceGroupName + 'host'; +New-AzHost -ResourceGroupName $ResourceGroupName -HostGroupName $hostGroupName -Name $hostName -Location $Location -Sku "ESv3-Type1" -Tag @{key1 = "val2"}; + +$dedicatedHost = Get-AzHost -ResourceGroupName $ResourceGroupName -HostGroupName $hostGroupName -Name $hostName; +Restart-AzHost -ResourceGroupName $ResourceGroupName -HostGroupName $hostGroupName -Name $hostName; +``` + +This example creates a dedicated host group, a dedicated host, and a dedicated host. Then restart the dedicated host. + +## PARAMETERS + +### -DefaultProfile +The credentials, account, tenant, and subscription used for communication with Azure. + +```yaml +Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer +Parameter Sets: (All) +Aliases: AzContext, AzureRmContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -HostGroupName +The name of the dedicated host group. + +```yaml +Type: System.String +Parameter Sets: DefaultParameterSet +Aliases: + +Required: True +Position: 1 +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -InputObject +The dedicated host object. + +```yaml +Type: Microsoft.Azure.Commands.Compute.Automation.Models.PSHost +Parameter Sets: ObjectParameterSet +Aliases: Host + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the dedicated host. + +```yaml +Type: System.String +Parameter Sets: DefaultParameterSet +Aliases: HostName + +Required: True +Position: 2 +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. + +```yaml +Type: System.String +Parameter Sets: DefaultParameterSet +Aliases: + +Required: True +Position: 0 +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -ResourceId +The ARM resource id of the dedicated host. + +```yaml +Type: System.String +Parameter Sets: ResourceIdParameterSet +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByPropertyName) +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### System.String + +### Microsoft.Azure.Commands.Compute.Automation.Models.PSHost + +## OUTPUTS + +### Microsoft.Azure.Commands.Compute.Automation.Models.PSOperationStatusResponse + +## NOTES + +## RELATED LINKS From 329f2f060bdd1db6bb6e2c92e19aab46b80e4d7f Mon Sep 17 00:00:00 2001 From: Adam Sandor Date: Thu, 12 May 2022 14:38:42 -0400 Subject: [PATCH 4/4] doc cleanup from meeting --- .../Compute.Test/ScenarioTests/DedicatedHostTests.ps1 | 2 +- src/Compute/Compute/help/Restart-AzHost.md | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/Compute/Compute.Test/ScenarioTests/DedicatedHostTests.ps1 b/src/Compute/Compute.Test/ScenarioTests/DedicatedHostTests.ps1 index 0d7230cfec35..da8cd7b823f0 100644 --- a/src/Compute/Compute.Test/ScenarioTests/DedicatedHostTests.ps1 +++ b/src/Compute/Compute.Test/ScenarioTests/DedicatedHostTests.ps1 @@ -265,7 +265,7 @@ function Test-DedicatedHostRestart New-AzResourceGroup -Name $rgname -Location $loc -Force; - $hostGroupName = $rgname + 'hostgroup' + $hostGroupName = $rgname + 'hostgroup'; New-AzHostGroup -ResourceGroupName $rgname -Name $hostGroupName -Location $loc -PlatformFaultDomain 1 -Zone "2" -Tag @{key1 = "val1"}; $hostGroup = Get-AzHostGroup -ResourceGroupName $rgname -Name $hostGroupName; diff --git a/src/Compute/Compute/help/Restart-AzHost.md b/src/Compute/Compute/help/Restart-AzHost.md index 21813575fea2..003ad1ee50c9 100644 --- a/src/Compute/Compute/help/Restart-AzHost.md +++ b/src/Compute/Compute/help/Restart-AzHost.md @@ -49,9 +49,14 @@ New-AzHost -ResourceGroupName $ResourceGroupName -HostGroupName $hostGroupName - $dedicatedHost = Get-AzHost -ResourceGroupName $ResourceGroupName -HostGroupName $hostGroupName -Name $hostName; Restart-AzHost -ResourceGroupName $ResourceGroupName -HostGroupName $hostGroupName -Name $hostName; + +# Check the status of the restart operation +$hostRestart = Get-AzHost -ResourceGroupName $rgname -HostGroupName $hostGroupName -Name $hostName -InstanceView; +$hostRestart.InstanceView.Statuses[1].DisplayStatus; ``` -This example creates a dedicated host group, a dedicated host, and a dedicated host. Then restart the dedicated host. +This example creates a dedicated host group and a dedicated host. Then it begins restarting the dedicated host, and checks the status of this restart operation. +You can query the status of the restart operation with the `Get-AzHost` cmdlet using the `-InstanceView` parameter. ## PARAMETERS