diff --git a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin.csproj b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin.csproj
index 823e76b5a723..42c09ac3c647 100644
--- a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin.csproj
+++ b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin.csproj
@@ -40,8 +40,8 @@
false
-
- ..\..\..\packages\Microsoft.AzureStack.Management.InfrastructureInsights.Admin.0.2.0-preview\lib\net452\Microsoft.AzureStack.Management.InfrastructureInsights.Admin.dll
+
+ ..\..\..\packages\Microsoft.AzureStack.Management.InfrastructureInsights.Admin.0.3.0-preview\lib\net452\Microsoft.AzureStack.Management.InfrastructureInsights.Admin.dll
diff --git a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin/Azs.Infrastructureinsights.Admin.psd1 b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin/Azs.Infrastructureinsights.Admin.psd1
index 5881cf7dbc70..84dea89ff565 100644
--- a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin/Azs.Infrastructureinsights.Admin.psd1
+++ b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin/Azs.Infrastructureinsights.Admin.psd1
@@ -17,7 +17,7 @@ Licensed under the MIT License. See License.txt in the project root for license
RootModule = 'Azs.InfrastructureInsights.Admin.psm1'
# Version number of this module.
- ModuleVersion = '0.2.0'
+ ModuleVersion = '0.3.0'
# Supported PSEditions
# CompatiblePSEditions = @()
diff --git a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin/ChangeLog.md b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin/ChangeLog.md
index 0d3aececfd38..5cf6ca2e77bf 100644
--- a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin/ChangeLog.md
+++ b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin/ChangeLog.md
@@ -18,19 +18,22 @@
- Additional information about change #1
-->
## Current Release
+## Version 0.3.0
+* New admin cmdlet added
+ * Repair-AzsAlert
## Version 0.2.0
* Module dependencies updated
- * AzureRM.Profile
- * AzureRM.Resources
+ * AzureRM.Profile
+ * AzureRM.Resources
* Support handling names of nested resources
- * Get-AzsAlert
- * Close-AzsAlert
- * Get-AzsRegistrationHealth
- * Get-AzsRPHealth
+ * Get-AzsAlert
+ * Close-AzsAlert
+ * Get-AzsRegistrationHealth
+ * Get-AzsRPHealth
* Deprecations
- * Get-AzsRegistrationHealth, the parameter ResourceHealthId is now an alias for Name
- * Get-AzsRegistrationHealth, the parameter ServiceRegistrationId is now an alias for ServiceRegistrationName
- * Get-AzsRPHealth, the parameter ServiceHealth is now an alias for Name
+ * Get-AzsRegistrationHealth, the parameter ResourceHealthId is now an alias for Name
+ * Get-AzsRegistrationHealth, the parameter ServiceRegistrationId is now an alias for ServiceRegistrationName
+ * Get-AzsRPHealth, the parameter ServiceHealth is now an alias for Name
* Bug fixes
- * Handle ErrrorAction correctly now
+ * Handle ErrrorAction correctly now
diff --git a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin/Generated.PowerShell.Commands/SwaggerPathCommands/Repair-AzsAlert.ps1 b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin/Generated.PowerShell.Commands/SwaggerPathCommands/Repair-AzsAlert.ps1
new file mode 100644
index 000000000000..55a021907720
--- /dev/null
+++ b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/Azs.InfrastructureInsights.Admin/Generated.PowerShell.Commands/SwaggerPathCommands/Repair-AzsAlert.ps1
@@ -0,0 +1,145 @@
+<#
+Copyright (c) Microsoft Corporation. All rights reserved.
+Licensed under the MIT License. See License.txt in the project root for license information.
+#>
+
+<#
+.SYNOPSIS
+ Repairs the given alert.
+
+.DESCRIPTION
+ Repairs the given alert.
+
+.PARAMETER Name
+ The alert identifier.
+
+.PARAMETER Location
+ Name of the location.
+
+.PARAMETER ResourceGroupName
+ Resource group name which the resource resides.
+
+.PARAMETER InputObject
+ An alert returned from Get-AzsAlert.
+
+.PARAMETER Force
+ Don't ask for confirmation.
+
+.EXAMPLE
+
+ PS C:\> Repair-AzsAlert -Name f2147f3d-42ac-4316-8cbc-f0f9c18888b0
+
+ Repairs an alert by Name.
+
+.EXAMPLE
+
+ PS C:\> Get-AzsAlert -Name f2147f3d-42ac-4316-8cbc-f0f9c18888b0 | Repair-AzsAlert
+
+ Repairs an alert through piping.
+
+#>
+function Repair-AzsAlert {
+ [CmdletBinding(DefaultParameterSetName = 'Repair', SupportsShouldProcess = $true)]
+ param(
+ [Parameter(Mandatory = $true, ParameterSetName = 'Repair')]
+ [ValidateNotNullOrEmpty()]
+ [System.String]
+ $Name,
+
+ [Parameter(Mandatory = $false, ParameterSetName = 'Repair')]
+ [System.String]
+ $Location,
+
+ [Parameter(Mandatory = $false, ParameterSetName = 'Repair')]
+ [ValidateLength(1, 90)]
+ [System.String]
+ $ResourceGroupName,
+
+ [Parameter(Mandatory = $true, ValueFromPipeline = $true, ParameterSetName = 'InputObject')]
+ [ValidateNotNullOrEmpty()]
+ [Microsoft.AzureStack.Management.InfrastructureInsights.Admin.Models.Alert]
+ $InputObject,
+
+ [Parameter(Mandatory = $false)]
+ [switch]
+ $Force
+ )
+
+ Begin {
+ Initialize-PSSwaggerDependencies -Azure
+ $tracerObject = $null
+ if (('continue' -eq $DebugPreference) -or ('inquire' -eq $DebugPreference)) {
+ $oldDebugPreference = $global:DebugPreference
+ $global:DebugPreference = "continue"
+ $tracerObject = New-PSSwaggerClientTracing
+ Register-PSSwaggerClientTracing -TracerObject $tracerObject
+ }
+ }
+
+ Process {
+
+ if ('InputObject' -eq $PsCmdlet.ParameterSetName) {
+ $GetArmResourceIdParameterValue_params = @{
+ IdTemplate = '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/{region}/alerts/{alertName}'
+ }
+
+ $GetArmResourceIdParameterValue_params['Id'] = $InputObject.Id
+ $ArmResourceIdParameterValues = Get-ArmResourceIdParameterValue @GetArmResourceIdParameterValue_params
+
+ $ResourceGroupName = $ArmResourceIdParameterValues['resourceGroupName']
+ $Location = $ArmResourceIdParameterValues['region']
+ $Name = $ArmResourceIdParameterValues['alertName']
+ }
+
+ if ($PSCmdlet.ShouldProcess("$Name" , "Repair Alert")) {
+ if ($Force.IsPresent -or $PSCmdlet.ShouldContinue("Repair Alert?", "Performing operation repair on alert $Name")) {
+
+ $NewServiceClient_params = @{
+ FullClientTypeName = 'Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient'
+ }
+
+ $GlobalParameterHashtable = @{}
+ $NewServiceClient_params['GlobalParameterHashtable'] = $GlobalParameterHashtable
+
+ $GlobalParameterHashtable['SubscriptionId'] = $null
+ if ($PSBoundParameters.ContainsKey('SubscriptionId')) {
+ $GlobalParameterHashtable['SubscriptionId'] = $PSBoundParameters['SubscriptionId']
+ }
+
+ $InfrastructureInsightsAdminClient = New-ServiceClient @NewServiceClient_params
+
+ if ([System.String]::IsNullOrEmpty($Location)) {
+ $Location = (Get-AzureRMLocation).Location
+ }
+
+ if ([System.String]::IsNullOrEmpty($ResourceGroupName)) {
+ $ResourceGroupName = "System.$Location"
+ }
+
+ if ('Repair' -eq $PsCmdlet.ParameterSetName -or 'InputObject' -eq $PsCmdlet.ParameterSetName) {
+ Write-Verbose -Message 'Performing operation RepairWithHttpMessagesAsync on $InfrastructureInsightsAdminClient.'
+ $TaskResult = $InfrastructureInsightsAdminClient.Alerts.RepairWithHttpMessagesAsync($ResourceGroupName, $Location, $Name)
+ } else {
+ Write-Verbose -Message 'Failed to map parameter set to operation method.'
+ throw 'Module failed to find operation to execute.'
+ }
+
+ if ($TaskResult) {
+ $GetTaskResult_params = @{
+ TaskResult = $TaskResult
+ }
+
+ Get-TaskResult @GetTaskResult_params
+ }
+ }
+ }
+ }
+
+ End {
+ if ($tracerObject) {
+ $global:DebugPreference = $oldDebugPreference
+ Unregister-PSSwaggerClientTracing -TracerObject $tracerObject
+ }
+ }
+}
+
diff --git a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/packages.config b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/packages.config
index e084d73120f5..1170bd79b97a 100644
--- a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/packages.config
+++ b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Module/packages.config
@@ -1,4 +1,4 @@
-
+
\ No newline at end of file
diff --git a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/Azs.InfrastructureInsights.Admin.Tests.csproj b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/Azs.InfrastructureInsights.Admin.Tests.csproj
index a83fe87d55f6..39d104a95d5e 100644
--- a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/Azs.InfrastructureInsights.Admin.Tests.csproj
+++ b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/Azs.InfrastructureInsights.Admin.Tests.csproj
@@ -40,8 +40,8 @@
false
-
- ..\..\..\packages\Microsoft.AzureStack.Management.InfrastructureInsights.Admin.0.2.0-preview\lib\net452\Microsoft.AzureStack.Management.InfrastructureInsights.Admin.dll
+
+ ..\..\..\packages\Microsoft.AzureStack.Management.InfrastructureInsights.Admin.0.3.0-preview\lib\net452\Microsoft.AzureStack.Management.InfrastructureInsights.Admin.dll
diff --git a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/Properties/AssemblyInfo.cs b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/Properties/AssemblyInfo.cs
index 418070de392d..76dfacb98a76 100644
--- a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/Properties/AssemblyInfo.cs
+++ b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
+[assembly: AssemblyVersion("2.0.0.0")]
+[assembly: AssemblyFileVersion("2.0.0.0")]
diff --git a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/SessionRecords/InfrastructureInsightsAdminClient/TestRepairAlert.json b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/SessionRecords/InfrastructureInsightsAdminClient/TestRepairAlert.json
new file mode 100644
index 000000000000..b3d68ff7ae5e
--- /dev/null
+++ b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/SessionRecords/InfrastructureInsightsAdminClient/TestRepairAlert.json
@@ -0,0 +1,1496 @@
+{
+ "Entries": [
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "130588b1-010d-4fb3-862c-b3db09ab63e8"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 20:56:58 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvOvX24tSHPQiNiAzdjTmhETcu4DJufpBOao4MjDq+FV/7U1hX9zE3rMByjYssX2FsqKNNCodiLsCHchzHHFZDkBVVpe5D58Q+wRoGVag5OxTOAvPLzWAdUumgDURnqxJCO1pTXSFaAbA1IqojY1qA"
+ ],
+ "x-ms-correlation-request-id": [
+ "c3b2decb-de81-46e3-bb67-f5b0e76e49a4"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14979"
+ ],
+ "x-ms-request-id": [
+ "c3b2decb-de81-46e3-bb67-f5b0e76e49a4"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T205658Z:c3b2decb-de81-46e3-bb67-f5b0e76e49a4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "820"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local\",\r\n \"name\": \"local\",\r\n \"type\": \"Microsoft.InfrastructureInsights.Admin/regionHealths\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"usageMetrics\": [\r\n {\r\n \"name\": \"Physical memory\",\r\n \"metricsValue\": [\r\n {\r\n \"name\": \"Used\",\r\n \"unit\": \"GB\",\r\n \"value\": 88.431640625\r\n },\r\n {\r\n \"name\": \"Available\",\r\n \"unit\": \"GB\",\r\n \"value\": 167.474609375\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"Physical storage\",\r\n \"metricsValue\": [\r\n {\r\n \"name\": \"Used\",\r\n \"unit\": \"TB\",\r\n \"value\": 0.43429387733340263\r\n },\r\n {\r\n \"name\": \"Available\",\r\n \"unit\": \"TB\",\r\n \"value\": 20.503023017197847\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"Public IP address pools\",\r\n \"metricsValue\": [\r\n {\r\n \"name\": \"Used\",\r\n \"unit\": \"One\",\r\n \"value\": 33.0\r\n },\r\n {\r\n \"name\": \"Available\",\r\n \"unit\": \"One\",\r\n \"value\": 222.0\r\n }\r\n ]\r\n }\r\n ],\r\n \"alertSummary\": {\r\n \"criticalAlertCount\": 0,\r\n \"warningAlertCount\": 2\r\n }\r\n }\r\n }\r\n ]\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/wrongid/repair?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9hbGVydHMvd3JvbmdpZC9yZXBhaXI/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "150978a1-c1e1-449f-a344-62621bd6654a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 20:58:14 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/150978a1-c1e1-449f-a344-62621bd6654a?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvgzAMUON3dw2p6bimBXK+3hLxz/c38yJffK9+KuL4idcu/P1G0Tupsj7Yn2AtJEm4OHShnQLZ7V11FgJVPPEyq39kV3pUE2hkxlxtEO7Blxluu+4kpo4/r+/lKFIn2Y0v9qpE5H5v1wP/G8fBawTG"
+ ],
+ "x-ms-correlation-request-id": [
+ "27c743b7-d064-44a8-927a-676538efac7c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1191"
+ ],
+ "x-ms-request-id": [
+ "27c743b7-d064-44a8-927a-676538efac7c"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T205814Z:27c743b7-d064-44a8-927a-676538efac7c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/150978a1-c1e1-449f-a344-62621bd6654a?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9oZWFsdGhTZXJ2aWNlT3BlcmF0aW9uUmVzdWx0cy8xNTA5NzhhMS1jMWUxLTQ0OWYtYTM0NC02MjYyMWJkNjY1NGE/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Connection": [
+ "close"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 20:59:35 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv24TLYWz8kccYwvdXfP1tSuLTuFJgVvYZujZ0o/sBeEbc7CDxiF+xbRnz/OlS0+oKsZt9svwK4j4TlZXmUZ3ov/NtnJe3eZIGVqIppfFz/au3GiPRi0pjCGKeEk0PTY/wG4/a+aUldNt+n+5VFTfa"
+ ],
+ "x-ms-correlation-request-id": [
+ "7a2a8c63-eba6-4743-af15-954e5378fc38"
+ ],
+ "x-ms-failure-cause": [
+ "service"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14975"
+ ],
+ "x-ms-request-id": [
+ "7a2a8c63-eba6-4743-af15-954e5378fc38"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T205935Z:7a2a8c63-eba6-4743-af15-954e5378fc38"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "269"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n },\r\n \"error\": {\r\n \"code\": \"RemediateAlertFailed\",\r\n \"message\": \"Failed to remediate alert 'wrongid' with error message: Exception of type 'Microsoft.AzureStack.Common.Infrastructure.Http.Client.ErrorModel.NotFoundException' was thrown.\"\r\n }\r\n}",
+ "StatusCode": 500
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9hbGVydHM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "8cfcd704-b2d3-49c8-b6d3-91d30303c336"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 20:59:42 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv/vPZQZUqxenU/Arj+z4Tr/+aMzjWgtzCTEBFKhaqtG09kpLF7eAGRmZaxxGC7NgNLegT6yOQIGIY/tKxXxx/hPlVif8TuQA3KscxgaWZgHIh59N9w0W9wcOQIsum2fsQbCvwGRRGXhQ4YXIeNbwY"
+ ],
+ "x-ms-correlation-request-id": [
+ "c1ac7ba4-3327-4b0b-bfb4-392f67d902e3"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14974"
+ ],
+ "x-ms-request-id": [
+ "c1ac7ba4-3327-4b0b-bfb4-392f67d902e3"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T205942Z:c1ac7ba4-3327-4b0b-bfb4-392f67d902e3"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "22323"
+ ],
+ "Content-Type": [
+ "application/json; charset=utf-8"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/2cba8f07-4140-470f-a750-16af2f3f0aa4\",\r\n \"name\": \"local/2cba8f07-4140-470f-a750-16af2f3f0aa4\",\r\n \"type\": \"Microsoft.InfrastructureInsights.Admin/regionHealths/alerts\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"closedTimestamp\": \"2018-11-16T20:47:45.7979075Z\",\r\n \"createdTimestamp\": \"2018-11-16T20:41:43.1351285Z\",\r\n \"description\": [\r\n {\r\n \"text\": \"The infrastructure role instance AZS-CA01 is unavailable. This might impact performance and availability of Azure Stack services.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"faultId\": \"175149d2-aabe-49ea-9dd9-c404a4b42bdc\",\r\n \"alertId\": \"2cba8f07-4140-470f-a750-16af2f3f0aa4\",\r\n \"faultTypeId\": \"FRP.Heartbeat.InfraVM\",\r\n \"lastUpdatedTimestamp\": \"2018-11-16T20:47:45.7979075Z\",\r\n \"alertProperties\": {\r\n \"heartbeatAlert\": \"true\",\r\n \"nodeName\": \"AZS-CA01\"\r\n },\r\n \"remediation\": [\r\n {\r\n \"text\": \"1. Select the 'Repair' action to try to start the Infrastructure role instance, and then wait for the action to complete. Do not attempt to repair more than one alert at a time. Do not attempt the repair action if an update is in progress.\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 2. A few minutes after the Infrastructure role instance starts, the alert will automatically close. You can view the operational status of the role instance by navigating to the following \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"ResourceId\",\r\n \"resourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraroleinstances/AZS-CA01\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"AZS-CA01\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \". \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 3. If the alert remains active for more than a few minutes after the repair action completes, start the log file collection process using the guidance from \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"Uri\",\r\n \"uri\": \"https://aka.ms/azurestacklogfiles\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"https://aka.ms/azurestacklogfiles\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \", and then contact support.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"resourceProviderRegistrationId\": \"e56bc7b8-c8b5-4e25-b00c-4f951effb22c\",\r\n \"severity\": \"Warning\",\r\n \"state\": \"Closed\",\r\n \"title\": \"Infrastructure role instance unavailable\",\r\n \"impactedResourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AZS-CA01\",\r\n \"impactedResourceDisplayName\": \"AZS-CA01\",\r\n \"closedByUserAlias\": \"?api-version=1.0.0\",\r\n \"preview\": \"False\",\r\n \"hasValidRemediationAction\": true,\r\n \"remediationHistory\": {\r\n \"2018-11-16T20:44:01.7297579Z\": \"InProgress\",\r\n \"2018-11-16T20:44:22.5103805Z\": \"Complete\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/2fb6394d-0e1c-45e2-b3ff-89f52d801410\",\r\n \"name\": \"local/2fb6394d-0e1c-45e2-b3ff-89f52d801410\",\r\n \"type\": \"Microsoft.InfrastructureInsights.Admin/regionHealths/alerts\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"createdTimestamp\": \"2018-11-15T11:49:32.2454212Z\",\r\n \"description\": [\r\n {\r\n \"text\": \"Automatic backups are currently disabled. Infrastructure backups have not been created in the past 24 hours. This warning will appear every 24 hours until the issue is resolved.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"alertId\": \"2fb6394d-0e1c-45e2-b3ff-89f52d801410\",\r\n \"faultTypeId\": \"AzureStack.BackupController.BackupSchedulerPausedFault\",\r\n \"lastUpdatedTimestamp\": \"2018-11-16T11:49:32.425999Z\",\r\n \"alertProperties\": {},\r\n \"remediation\": [\r\n {\r\n \"text\": \"1. Address the issues that require the automatic backups to be disabled. \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 2. After all issues preventing backups are resolved, navigate to infrastructure backup and configure the settings to enable automatic backups.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"resourceProviderRegistrationId\": \"735044dd-b65d-4ac5-96db-7184d226f555\",\r\n \"severity\": \"Warning\",\r\n \"state\": \"Active\",\r\n \"title\": \"Automatic backups are disabled\",\r\n \"impactedResourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Backup.Admin/\",\r\n \"impactedResourceDisplayName\": \"Infrastructure backup\",\r\n \"preview\": \"False\",\r\n \"hasValidRemediationAction\": false,\r\n \"remediationHistory\": {\r\n \"2018-11-16T20:45:13.6208458Z\": \"Error\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/4504bee8-e574-4f7a-8b78-617bb8407707\",\r\n \"name\": \"local/4504bee8-e574-4f7a-8b78-617bb8407707\",\r\n \"type\": \"Microsoft.InfrastructureInsights.Admin/regionHealths/alerts\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"closedTimestamp\": \"2018-11-16T20:25:36.4927508Z\",\r\n \"createdTimestamp\": \"2018-11-16T20:20:34.1941039Z\",\r\n \"description\": [\r\n {\r\n \"text\": \"The infrastructure role instance AZS-CA01 is unavailable. This might impact performance and availability of Azure Stack services.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"faultId\": \"175149d2-aabe-49ea-9dd9-c404a4b42bdc\",\r\n \"alertId\": \"4504bee8-e574-4f7a-8b78-617bb8407707\",\r\n \"faultTypeId\": \"FRP.Heartbeat.InfraVM\",\r\n \"lastUpdatedTimestamp\": \"2018-11-16T20:25:36.4927508Z\",\r\n \"alertProperties\": {\r\n \"heartbeatAlert\": \"true\",\r\n \"nodeName\": \"AZS-CA01\"\r\n },\r\n \"remediation\": [\r\n {\r\n \"text\": \"1. Select the 'Repair' action to try to start the Infrastructure role instance, and then wait for the action to complete. Do not attempt to repair more than one alert at a time. Do not attempt the repair action if an update is in progress.\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 2. A few minutes after the Infrastructure role instance starts, the alert will automatically close. You can view the operational status of the role instance by navigating to the following \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"ResourceId\",\r\n \"resourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraroleinstances/AZS-CA01\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"AZS-CA01\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \". \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 3. If the alert remains active for more than a few minutes after the repair action completes, start the log file collection process using the guidance from \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"Uri\",\r\n \"uri\": \"https://aka.ms/azurestacklogfiles\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"https://aka.ms/azurestacklogfiles\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \", and then contact support.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"resourceProviderRegistrationId\": \"e56bc7b8-c8b5-4e25-b00c-4f951effb22c\",\r\n \"severity\": \"Warning\",\r\n \"state\": \"Closed\",\r\n \"title\": \"Infrastructure role instance unavailable\",\r\n \"impactedResourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AZS-CA01\",\r\n \"impactedResourceDisplayName\": \"AZS-CA01\",\r\n \"closedByUserAlias\": \"?api-version=1.0.0\",\r\n \"preview\": \"False\",\r\n \"hasValidRemediationAction\": true,\r\n \"remediationHistory\": {\r\n \"2018-11-16T20:22:38.8036412Z\": \"InProgress\",\r\n \"2018-11-16T20:23:03.9122224Z\": \"Complete\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/62ab6c3b-679d-4149-aafd-f6948ae65500\",\r\n \"name\": \"local/62ab6c3b-679d-4149-aafd-f6948ae65500\",\r\n \"type\": \"Microsoft.InfrastructureInsights.Admin/regionHealths/alerts\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"closedTimestamp\": \"2018-11-14T12:56:48.6819014Z\",\r\n \"createdTimestamp\": \"2018-11-14T12:56:48.416278Z\",\r\n \"description\": [\r\n {\r\n \"text\": \"Azure Stack is not activated.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"faultId\": \"AzureBridge.NotActivated\",\r\n \"alertId\": \"62ab6c3b-679d-4149-aafd-f6948ae65500\",\r\n \"faultTypeId\": \"AzureBridge.NotActivated\",\r\n \"lastUpdatedTimestamp\": \"2018-11-14T12:56:48.6819014Z\",\r\n \"alertProperties\": {},\r\n \"remediation\": [\r\n {\r\n \"text\": \"You have not activated Azure Stack. To do so, see the following help article: \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"Uri\",\r\n \"uri\": \"https://docs.microsoft.com/en-us/azure/azure-stack/azure-stack-register\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"https://docs.microsoft.com/en-us/azure/azure-stack/azure-stack-register\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \".\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"resourceRegistrationId\": \"72a643b2-3486-4ec5-ae13-bcb932c37a61\",\r\n \"resourceProviderRegistrationId\": \"e56bc7b8-c8b5-4e25-b00c-4f951effb22c\",\r\n \"severity\": \"Warning\",\r\n \"state\": \"Closed\",\r\n \"title\": \"Activation Required\",\r\n \"impactedResourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/AzureBridge\",\r\n \"impactedResourceDisplayName\": \"Azure bridge\",\r\n \"preview\": \"False\",\r\n \"hasValidRemediationAction\": false,\r\n \"remediationHistory\": {}\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/6d256351-87db-4eef-94e8-eca539257596\",\r\n \"name\": \"local/6d256351-87db-4eef-94e8-eca539257596\",\r\n \"type\": \"Microsoft.InfrastructureInsights.Admin/regionHealths/alerts\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"closedTimestamp\": \"2018-11-15T04:31:00.3897381Z\",\r\n \"createdTimestamp\": \"2018-11-15T04:13:50.8045616Z\",\r\n \"description\": [\r\n {\r\n \"text\": \"The infrastructure role instance AZS-WASP01 is unavailable. This might impact performance and availability of Azure Stack services.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"faultId\": \"21a670d7-ff74-4fea-ad51-6f919aa51f2f\",\r\n \"alertId\": \"6d256351-87db-4eef-94e8-eca539257596\",\r\n \"faultTypeId\": \"FRP.Heartbeat.InfraVM\",\r\n \"lastUpdatedTimestamp\": \"2018-11-15T04:31:00.3897381Z\",\r\n \"alertProperties\": {\r\n \"heartbeatAlert\": \"true\",\r\n \"nodeName\": \"AZS-WASP01\"\r\n },\r\n \"remediation\": [\r\n {\r\n \"text\": \"1. Select the 'Repair' action to try to start the Infrastructure role instance, and then wait for the action to complete. Do not attempt to repair more than one alert at a time. Do not attempt the repair action if an update is in progress.\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 2. A few minutes after the Infrastructure role instance starts, the alert will automatically close. You can view the operational status of the role instance by navigating to the following \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"ResourceId\",\r\n \"resourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraroleinstances/AZS-WASP01\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"AZS-WASP01\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \". \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 3. If the alert remains active for more than a few minutes after the repair action completes, start the log file collection process using the guidance from \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"Uri\",\r\n \"uri\": \"https://aka.ms/azurestacklogfiles\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"https://aka.ms/azurestacklogfiles\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \", and then contact support.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"resourceProviderRegistrationId\": \"e56bc7b8-c8b5-4e25-b00c-4f951effb22c\",\r\n \"severity\": \"Warning\",\r\n \"state\": \"Closed\",\r\n \"title\": \"Infrastructure role instance unavailable\",\r\n \"impactedResourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AZS-WASP01\",\r\n \"impactedResourceDisplayName\": \"AZS-WASP01\",\r\n \"closedByUserAlias\": \"?api-version=1.0.0\",\r\n \"preview\": \"False\",\r\n \"hasValidRemediationAction\": true,\r\n \"remediationHistory\": {\r\n \"2018-11-15T04:27:30.2504976Z\": \"InProgress\",\r\n \"2018-11-15T04:28:16.2339432Z\": \"Complete\",\r\n \"2018-11-15T22:31:23.9177348Z\": \"Error\",\r\n \"2018-11-15T22:33:01.8571773Z\": \"Error\",\r\n \"2018-11-15T23:05:56.437162Z\": \"Error\",\r\n \"2018-11-15T23:07:45.6605499Z\": \"Error\",\r\n \"2018-11-15T23:15:25.0076524Z\": \"Error\",\r\n \"2018-11-15T23:25:46.2501592Z\": \"Error\",\r\n \"2018-11-16T20:14:54.7225468Z\": \"Error\",\r\n \"2018-11-16T20:25:47.9140682Z\": \"Error\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/81d1af62-e329-4234-bc91-68cc139827cc\",\r\n \"name\": \"local/81d1af62-e329-4234-bc91-68cc139827cc\",\r\n \"type\": \"Microsoft.InfrastructureInsights.Admin/regionHealths/alerts\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"closedTimestamp\": \"2018-11-15T23:32:02.2538496Z\",\r\n \"createdTimestamp\": \"2018-11-15T22:15:27.4622141Z\",\r\n \"description\": [\r\n {\r\n \"text\": \"The infrastructure role instance AZS-CA01 is unavailable. This might impact performance and availability of Azure Stack services.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"faultId\": \"175149d2-aabe-49ea-9dd9-c404a4b42bdc\",\r\n \"alertId\": \"81d1af62-e329-4234-bc91-68cc139827cc\",\r\n \"faultTypeId\": \"FRP.Heartbeat.InfraVM\",\r\n \"lastUpdatedTimestamp\": \"2018-11-15T23:32:02.2538496Z\",\r\n \"alertProperties\": {\r\n \"heartbeatAlert\": \"true\",\r\n \"nodeName\": \"AZS-CA01\"\r\n },\r\n \"remediation\": [\r\n {\r\n \"text\": \"1. Select the 'Repair' action to try to start the Infrastructure role instance, and then wait for the action to complete. Do not attempt to repair more than one alert at a time. Do not attempt the repair action if an update is in progress.\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 2. A few minutes after the Infrastructure role instance starts, the alert will automatically close. You can view the operational status of the role instance by navigating to the following \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"ResourceId\",\r\n \"resourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraroleinstances/AZS-CA01\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"AZS-CA01\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \". \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 3. If the alert remains active for more than a few minutes after the repair action completes, start the log file collection process using the guidance from \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"Uri\",\r\n \"uri\": \"https://aka.ms/azurestacklogfiles\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"https://aka.ms/azurestacklogfiles\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \", and then contact support.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"resourceProviderRegistrationId\": \"e56bc7b8-c8b5-4e25-b00c-4f951effb22c\",\r\n \"severity\": \"Warning\",\r\n \"state\": \"Closed\",\r\n \"title\": \"Infrastructure role instance unavailable\",\r\n \"impactedResourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AZS-CA01\",\r\n \"impactedResourceDisplayName\": \"AZS-CA01\",\r\n \"closedByUserAlias\": \"?api-version=1.0.0\",\r\n \"preview\": \"False\",\r\n \"hasValidRemediationAction\": true,\r\n \"remediationHistory\": {\r\n \"2018-11-15T23:28:51.8626516Z\": \"InProgress\",\r\n \"2018-11-15T23:29:12.6431464Z\": \"Complete\",\r\n \"2018-11-16T20:28:01.6500849Z\": \"Error\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/d28e9d2a-c8a3-42a7-900d-eb64fe6b752c\",\r\n \"name\": \"local/d28e9d2a-c8a3-42a7-900d-eb64fe6b752c\",\r\n \"type\": \"Microsoft.InfrastructureInsights.Admin/regionHealths/alerts\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"closedTimestamp\": \"2018-11-14T16:04:55.776444Z\",\r\n \"createdTimestamp\": \"2018-11-14T16:01:54.3676954Z\",\r\n \"description\": [\r\n {\r\n \"text\": \"The infrastructure role instance AZS-CA01 is unavailable. This might impact performance and availability of Azure Stack services.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"faultId\": \"175149d2-aabe-49ea-9dd9-c404a4b42bdc\",\r\n \"alertId\": \"d28e9d2a-c8a3-42a7-900d-eb64fe6b752c\",\r\n \"faultTypeId\": \"FRP.Heartbeat.InfraVM\",\r\n \"lastUpdatedTimestamp\": \"2018-11-14T16:04:55.776444Z\",\r\n \"alertProperties\": {\r\n \"heartbeatAlert\": \"true\",\r\n \"nodeName\": \"AZS-CA01\"\r\n },\r\n \"remediation\": [\r\n {\r\n \"text\": \"1. Select the 'Repair' action to try to start the Infrastructure role instance, and then wait for the action to complete. Do not attempt to repair more than one alert at a time. Do not attempt the repair action if an update is in progress.\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 2. A few minutes after the Infrastructure role instance starts, the alert will automatically close. You can view the operational status of the role instance by navigating to the following \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"ResourceId\",\r\n \"resourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraroleinstances/AZS-CA01\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"AZS-CA01\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \". \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 3. If the alert remains active for more than a few minutes after the repair action completes, start the log file collection process using the guidance from \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"Uri\",\r\n \"uri\": \"https://aka.ms/azurestacklogfiles\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"https://aka.ms/azurestacklogfiles\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \", and then contact support.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"resourceProviderRegistrationId\": \"e56bc7b8-c8b5-4e25-b00c-4f951effb22c\",\r\n \"severity\": \"Warning\",\r\n \"state\": \"Closed\",\r\n \"title\": \"Infrastructure role instance unavailable\",\r\n \"impactedResourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AZS-CA01\",\r\n \"impactedResourceDisplayName\": \"AZS-CA01\",\r\n \"closedByUserAlias\": \"?api-version=1.0.0\",\r\n \"preview\": \"False\",\r\n \"hasValidRemediationAction\": true,\r\n \"remediationHistory\": {}\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/d74f40e9-c9b1-41d0-b7d6-d7d0971c438d\",\r\n \"name\": \"local/d74f40e9-c9b1-41d0-b7d6-d7d0971c438d\",\r\n \"type\": \"Microsoft.InfrastructureInsights.Admin/regionHealths/alerts\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"closedTimestamp\": \"2018-11-15T23:50:09.9009472Z\",\r\n \"createdTimestamp\": \"2018-11-15T23:44:07.1923436Z\",\r\n \"description\": [\r\n {\r\n \"text\": \"The infrastructure role instance AZS-CA01 is unavailable. This might impact performance and availability of Azure Stack services.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"faultId\": \"175149d2-aabe-49ea-9dd9-c404a4b42bdc\",\r\n \"alertId\": \"d74f40e9-c9b1-41d0-b7d6-d7d0971c438d\",\r\n \"faultTypeId\": \"FRP.Heartbeat.InfraVM\",\r\n \"lastUpdatedTimestamp\": \"2018-11-15T23:50:09.9009472Z\",\r\n \"alertProperties\": {\r\n \"heartbeatAlert\": \"true\",\r\n \"nodeName\": \"AZS-CA01\"\r\n },\r\n \"remediation\": [\r\n {\r\n \"text\": \"1. Select the 'Repair' action to try to start the Infrastructure role instance, and then wait for the action to complete. Do not attempt to repair more than one alert at a time. Do not attempt the repair action if an update is in progress.\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 2. A few minutes after the Infrastructure role instance starts, the alert will automatically close. You can view the operational status of the role instance by navigating to the following \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"ResourceId\",\r\n \"resourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraroleinstances/AZS-CA01\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"AZS-CA01\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \". \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 3. If the alert remains active for more than a few minutes after the repair action completes, start the log file collection process using the guidance from \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"Uri\",\r\n \"uri\": \"https://aka.ms/azurestacklogfiles\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"https://aka.ms/azurestacklogfiles\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \", and then contact support.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"resourceProviderRegistrationId\": \"e56bc7b8-c8b5-4e25-b00c-4f951effb22c\",\r\n \"severity\": \"Warning\",\r\n \"state\": \"Closed\",\r\n \"title\": \"Infrastructure role instance unavailable\",\r\n \"impactedResourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AZS-CA01\",\r\n \"impactedResourceDisplayName\": \"AZS-CA01\",\r\n \"closedByUserAlias\": \"?api-version=1.0.0\",\r\n \"preview\": \"False\",\r\n \"hasValidRemediationAction\": true,\r\n \"remediationHistory\": {\r\n \"2018-11-15T23:47:05.6806432Z\": \"InProgress\",\r\n \"2018-11-15T23:47:26.4454959Z\": \"Complete\"\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/dd33193b-b334-4675-a48c-5aa96d2c6974\",\r\n \"name\": \"local/dd33193b-b334-4675-a48c-5aa96d2c6974\",\r\n \"type\": \"Microsoft.InfrastructureInsights.Admin/regionHealths/alerts\",\r\n \"location\": \"local\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"createdTimestamp\": \"2018-11-16T20:53:48.4109847Z\",\r\n \"description\": [\r\n {\r\n \"text\": \"The infrastructure role instance AZS-CA01 is unavailable. This might impact performance and availability of Azure Stack services.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"faultId\": \"175149d2-aabe-49ea-9dd9-c404a4b42bdc\",\r\n \"alertId\": \"dd33193b-b334-4675-a48c-5aa96d2c6974\",\r\n \"faultTypeId\": \"FRP.Heartbeat.InfraVM\",\r\n \"lastUpdatedTimestamp\": \"2018-11-16T20:58:50.6326292Z\",\r\n \"alertProperties\": {\r\n \"heartbeatAlert\": \"true\",\r\n \"nodeName\": \"AZS-CA01\"\r\n },\r\n \"remediation\": [\r\n {\r\n \"text\": \"1. Select the 'Repair' action to try to start the Infrastructure role instance, and then wait for the action to complete. Do not attempt to repair more than one alert at a time. Do not attempt the repair action if an update is in progress.\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 2. A few minutes after the Infrastructure role instance starts, the alert will automatically close. You can view the operational status of the role instance by navigating to the following \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"ResourceId\",\r\n \"resourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraroleinstances/AZS-CA01\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"AZS-CA01\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \". \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"NewLine\"\r\n },\r\n {\r\n \"text\": \" 3. If the alert remains active for more than a few minutes after the repair action completes, start the log file collection process using the guidance from \",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"linkType\": \"Uri\",\r\n \"uri\": \"https://aka.ms/azurestacklogfiles\",\r\n \"type\": \"LinkBegin\"\r\n },\r\n {\r\n \"text\": \"https://aka.ms/azurestacklogfiles\",\r\n \"type\": \"Text\"\r\n },\r\n {\r\n \"type\": \"LinkEnd\"\r\n },\r\n {\r\n \"text\": \", and then contact support.\",\r\n \"type\": \"Text\"\r\n }\r\n ],\r\n \"resourceProviderRegistrationId\": \"e56bc7b8-c8b5-4e25-b00c-4f951effb22c\",\r\n \"severity\": \"Warning\",\r\n \"state\": \"Active\",\r\n \"title\": \"Infrastructure role instance unavailable\",\r\n \"impactedResourceId\": \"/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AZS-CA01\",\r\n \"impactedResourceDisplayName\": \"AZS-CA01\",\r\n \"preview\": \"False\",\r\n \"hasValidRemediationAction\": true,\r\n \"remediationHistory\": {}\r\n }\r\n }\r\n ]\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/2cba8f07-4140-470f-a750-16af2f3f0aa4/repair?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9hbGVydHMvMmNiYThmMDctNDE0MC00NzBmLWE3NTAtMTZhZjJmM2YwYWE0L3JlcGFpcj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "99013973-b43f-4d32-adec-185a0bdf3dec"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 20:59:47 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/99013973-b43f-4d32-adec-185a0bdf3dec?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv1wBgNik/1xazDVUVc3YYGjIddbUXRqNrT6gTdC8baoHBRo0wcMwuMAV92ZrniOUfKHYhIgAP9c4SrwRDb6yi73ZZTAP+PLYylybiHRN4edxh4nEL4/8QUGB/lnDjZfUGpAQlXDtveDiazqYsk9lI"
+ ],
+ "x-ms-correlation-request-id": [
+ "bade8882-a09c-46d2-b66c-ae0c50bf6b46"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1190"
+ ],
+ "x-ms-request-id": [
+ "bade8882-a09c-46d2-b66c-ae0c50bf6b46"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T205947Z:bade8882-a09c-46d2-b66c-ae0c50bf6b46"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/99013973-b43f-4d32-adec-185a0bdf3dec?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9oZWFsdGhTZXJ2aWNlT3BlcmF0aW9uUmVzdWx0cy85OTAxMzk3My1iNDNmLTRkMzItYWRlYy0xODVhMGJkZjNkZWM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:00:47 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv7CuszXri/2hxOU0/Mmu+ZransX2znerTD5erC05mqprUliAPE0vyD/j0T8v0FkknYeuF5ICboV/BCdGmYwRlHxp86alf8kfkgDw13jECAubZhT8z3DXZT/DTVBefK82Gagmj4lnafKRyp4JcVHpz"
+ ],
+ "x-ms-correlation-request-id": [
+ "207c1181-5b4b-41fc-a226-3f63bb40a27e"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14973"
+ ],
+ "x-ms-request-id": [
+ "207c1181-5b4b-41fc-a226-3f63bb40a27e"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T210047Z:207c1181-5b4b-41fc-a226-3f63bb40a27e"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "329"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n },\r\n \"error\": {\r\n \"code\": \"RemediateAlertPrecheckFailed\",\r\n \"message\": \"Alert remediation for alert '2cba8f07-4140-470f-a750-16af2f3f0aa4' failed prerequisite checks. Prerequiste checks include that the alert exists, is open, has a remediation action, and remediation is not already in progress.\"\r\n }\r\n}",
+ "StatusCode": 400
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/2fb6394d-0e1c-45e2-b3ff-89f52d801410/repair?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9hbGVydHMvMmZiNjM5NGQtMGUxYy00NWUyLWIzZmYtODlmNTJkODAxNDEwL3JlcGFpcj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "5339e49c-fb61-4f3e-9a6e-882f371af49a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:01:11 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/5339e49c-fb61-4f3e-9a6e-882f371af49a?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvuPyGX6VtWxQ2sEgvTz7botgSrBlcnr465+UngyCW1Tm+VZ+QmPzxUsng/7wAOxl2vsUWQVrH8Pd9ZAv+3TPaKE0n7cAtzLx6chV/tjofSakr/ttaBEAT0yUCmcmZhRnfucns7DG7m/tkmfQcUmqY"
+ ],
+ "x-ms-correlation-request-id": [
+ "4500dce8-f682-46aa-a7ee-81d02d42a6c7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1189"
+ ],
+ "x-ms-request-id": [
+ "4500dce8-f682-46aa-a7ee-81d02d42a6c7"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T210111Z:4500dce8-f682-46aa-a7ee-81d02d42a6c7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/5339e49c-fb61-4f3e-9a6e-882f371af49a?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9oZWFsdGhTZXJ2aWNlT3BlcmF0aW9uUmVzdWx0cy81MzM5ZTQ5Yy1mYjYxLTRmM2UtOWE2ZS04ODJmMzcxYWY0OWE/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:02:11 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv8hXZiahCogVEfNo6AHFO/mnIsxYiAKDUAMxFU5ihSG2QAFRIU9TPcfq1wQsEbJ+QSga5sSw1+j+2Kw/1669r6SjoEnUPWevYktVahr/F1SZSOS8qqDzXw3PfvuYRQ7acFQ340R6L4AetzpE7mcj7"
+ ],
+ "x-ms-correlation-request-id": [
+ "916b28c0-ce7f-4035-9bec-4c41551bf31b"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14972"
+ ],
+ "x-ms-request-id": [
+ "916b28c0-ce7f-4035-9bec-4c41551bf31b"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T210211Z:916b28c0-ce7f-4035-9bec-4c41551bf31b"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "329"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n },\r\n \"error\": {\r\n \"code\": \"RemediateAlertPrecheckFailed\",\r\n \"message\": \"Alert remediation for alert '2fb6394d-0e1c-45e2-b3ff-89f52d801410' failed prerequisite checks. Prerequiste checks include that the alert exists, is open, has a remediation action, and remediation is not already in progress.\"\r\n }\r\n}",
+ "StatusCode": 400
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/4504bee8-e574-4f7a-8b78-617bb8407707/repair?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9hbGVydHMvNDUwNGJlZTgtZTU3NC00ZjdhLThiNzgtNjE3YmI4NDA3NzA3L3JlcGFpcj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "2265d350-ca04-4d38-9755-d60a104af698"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:02:38 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/2265d350-ca04-4d38-9755-d60a104af698?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRva6lVHA//kNl9TVv7Pe/VTm6Ae+cJtwvAQd3CsstNr8M8BIcxUt09m0JhpfTvS8pP1Wqti21vNsRAkAmh2Bebn+mY8pWd9PsWrz8d1dowH3Cdw7Og8wnKhpKOv9GMjnETUGcDpXCU/KyaqNZoyP6t"
+ ],
+ "x-ms-correlation-request-id": [
+ "136db9e5-911d-471d-ad50-925b872acb7f"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1188"
+ ],
+ "x-ms-request-id": [
+ "136db9e5-911d-471d-ad50-925b872acb7f"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T210238Z:136db9e5-911d-471d-ad50-925b872acb7f"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/2265d350-ca04-4d38-9755-d60a104af698?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9oZWFsdGhTZXJ2aWNlT3BlcmF0aW9uUmVzdWx0cy8yMjY1ZDM1MC1jYTA0LTRkMzgtOTc1NS1kNjBhMTA0YWY2OTg/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:03:38 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvJnlKaBDKwwGjn/GWE8+mUCWtG0kHLab1z75dOrd1sZHcVNJhN6Y+a8a+eBPw8PkV02859hZmeRg3Xtam0n1u5zVJ/H4QJ9TnxaFyoEFIbwBoq1CSlvjrn8Pd7uOJsalw5Y3ZPbGuEFk+WiYvDrGz"
+ ],
+ "x-ms-correlation-request-id": [
+ "9433877d-3ba5-4571-95bf-4d9f1f127f78"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14971"
+ ],
+ "x-ms-request-id": [
+ "9433877d-3ba5-4571-95bf-4d9f1f127f78"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T210338Z:9433877d-3ba5-4571-95bf-4d9f1f127f78"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "329"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n },\r\n \"error\": {\r\n \"code\": \"RemediateAlertPrecheckFailed\",\r\n \"message\": \"Alert remediation for alert '4504bee8-e574-4f7a-8b78-617bb8407707' failed prerequisite checks. Prerequiste checks include that the alert exists, is open, has a remediation action, and remediation is not already in progress.\"\r\n }\r\n}",
+ "StatusCode": 400
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/62ab6c3b-679d-4149-aafd-f6948ae65500/repair?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9hbGVydHMvNjJhYjZjM2ItNjc5ZC00MTQ5LWFhZmQtZjY5NDhhZTY1NTAwL3JlcGFpcj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "dea78e13-816f-4671-abdf-f22e95429aa6"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:03:55 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/dea78e13-816f-4671-abdf-f22e95429aa6?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvUjIGe3x+cmCybeUeb78ujJVwPDMXrjKXfM4fNtmHQ33rDdwF07snEGTOKOc5js49p/T05OzLjRKPiUiJW9mOHZyDGckuWraSAQMGax1fGzvdwzr/zxkXNxntfvZ2zd4r77ZLgEj3Y7CNaZ42nFtw"
+ ],
+ "x-ms-correlation-request-id": [
+ "e5eb79a3-4792-4021-8731-9a753422b005"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1187"
+ ],
+ "x-ms-request-id": [
+ "e5eb79a3-4792-4021-8731-9a753422b005"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T210355Z:e5eb79a3-4792-4021-8731-9a753422b005"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/dea78e13-816f-4671-abdf-f22e95429aa6?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9oZWFsdGhTZXJ2aWNlT3BlcmF0aW9uUmVzdWx0cy9kZWE3OGUxMy04MTZmLTQ2NzEtYWJkZi1mMjJlOTU0MjlhYTY/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:04:55 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvqIdATh+L6gZgYr59czD99neRinFxg3tx0uJzVQXbhSBCJAQn0ws65fvsFgpl64NeBOH4Jhp4b/OL+q9XSs2Kezu5HfGv01RxyftusMi6UngI2TTY40fMGr2Pq6wEwdFgUk2d5jKBLpgc57e7/53f"
+ ],
+ "x-ms-correlation-request-id": [
+ "dc9592ad-73fa-41d1-afa6-14d8394867c2"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14970"
+ ],
+ "x-ms-request-id": [
+ "dc9592ad-73fa-41d1-afa6-14d8394867c2"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T210455Z:dc9592ad-73fa-41d1-afa6-14d8394867c2"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "329"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n },\r\n \"error\": {\r\n \"code\": \"RemediateAlertPrecheckFailed\",\r\n \"message\": \"Alert remediation for alert '62ab6c3b-679d-4149-aafd-f6948ae65500' failed prerequisite checks. Prerequiste checks include that the alert exists, is open, has a remediation action, and remediation is not already in progress.\"\r\n }\r\n}",
+ "StatusCode": 400
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/6d256351-87db-4eef-94e8-eca539257596/repair?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9hbGVydHMvNmQyNTYzNTEtODdkYi00ZWVmLTk0ZTgtZWNhNTM5MjU3NTk2L3JlcGFpcj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "dece287f-d718-4a94-886b-ecc6f26d640a"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:05:08 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/dece287f-d718-4a94-886b-ecc6f26d640a?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvA0ea4FXL4DnoeQBxmxbEABkypdwfUuCkiKBDiNA3DDn33xRhBNbf9x9xRHoShsTEU+rMZMK7o5rjoSJ4Gba52naTba9c8KTA8f8KpkxNXi9e8IMyQVOH1Ygh6vcHoOdUWHMNsuTBOXN0+I9UvNqt"
+ ],
+ "x-ms-correlation-request-id": [
+ "795aff20-e81d-44ab-8295-a24af612ad27"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1186"
+ ],
+ "x-ms-request-id": [
+ "795aff20-e81d-44ab-8295-a24af612ad27"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T210508Z:795aff20-e81d-44ab-8295-a24af612ad27"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/dece287f-d718-4a94-886b-ecc6f26d640a?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9oZWFsdGhTZXJ2aWNlT3BlcmF0aW9uUmVzdWx0cy9kZWNlMjg3Zi1kNzE4LTRhOTQtODg2Yi1lY2M2ZjI2ZDY0MGE/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:06:08 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvLHUxPaVxQns4ZVS3TfI0O61pKik7uyKuN34QvZo66bnld7/5ceHGAjHRrz3TqmMBp17hzMuHte5ITmt8FEEGff4fYPdm0IjOkloeEVb9h9WOhl4MkHGHlOOaasbLK8R/T5DxoKR/FkwS245DZCKW"
+ ],
+ "x-ms-correlation-request-id": [
+ "29e8091c-70f5-45bf-9314-e59a0432e1e5"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14969"
+ ],
+ "x-ms-request-id": [
+ "29e8091c-70f5-45bf-9314-e59a0432e1e5"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T210608Z:29e8091c-70f5-45bf-9314-e59a0432e1e5"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "329"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n },\r\n \"error\": {\r\n \"code\": \"RemediateAlertPrecheckFailed\",\r\n \"message\": \"Alert remediation for alert '6d256351-87db-4eef-94e8-eca539257596' failed prerequisite checks. Prerequiste checks include that the alert exists, is open, has a remediation action, and remediation is not already in progress.\"\r\n }\r\n}",
+ "StatusCode": 400
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/81d1af62-e329-4234-bc91-68cc139827cc/repair?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9hbGVydHMvODFkMWFmNjItZTMyOS00MjM0LWJjOTEtNjhjYzEzOTgyN2NjL3JlcGFpcj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "3504c88f-62e1-4fd2-a1e9-19d790615b3e"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:06:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/3504c88f-62e1-4fd2-a1e9-19d790615b3e?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvYxtzTZoe5H03iTr38qJeQ8v7uP6adpvKXccpdexfhH6spLdvxfTTJfxFBUNg7+Owi11zJYRvAVvJnvV5g8+9buneXUn4/gU8+OgMuehs/Ot4efB1n644SsrjvGJVvoKu03Tka0txIkAvs/y2/7V8"
+ ],
+ "x-ms-correlation-request-id": [
+ "eba5c414-d41c-4e1e-81c7-45935d73f51c"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1185"
+ ],
+ "x-ms-request-id": [
+ "eba5c414-d41c-4e1e-81c7-45935d73f51c"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T210618Z:eba5c414-d41c-4e1e-81c7-45935d73f51c"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/3504c88f-62e1-4fd2-a1e9-19d790615b3e?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9oZWFsdGhTZXJ2aWNlT3BlcmF0aW9uUmVzdWx0cy8zNTA0Yzg4Zi02MmUxLTRmZDItYTFlOS0xOWQ3OTA2MTViM2U/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:07:18 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvPkoj6ZtC1uym/YTpo6WQ1/SVjjMQpu8LMRLnrVPQw7m9wyc9fgCrnz/lWK4bsBckBD4tUmoONRCMKYiDUDzxgm80POYD47v98avyiRYHEFMM02CsjNTSZhBkqnPpWDGJ4CygwhY12WRWaQOQeCXy"
+ ],
+ "x-ms-correlation-request-id": [
+ "5881c668-9e2e-4a5a-937f-06acd4f053b8"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14968"
+ ],
+ "x-ms-request-id": [
+ "5881c668-9e2e-4a5a-937f-06acd4f053b8"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T210719Z:5881c668-9e2e-4a5a-937f-06acd4f053b8"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "329"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n },\r\n \"error\": {\r\n \"code\": \"RemediateAlertPrecheckFailed\",\r\n \"message\": \"Alert remediation for alert '81d1af62-e329-4234-bc91-68cc139827cc' failed prerequisite checks. Prerequiste checks include that the alert exists, is open, has a remediation action, and remediation is not already in progress.\"\r\n }\r\n}",
+ "StatusCode": 400
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/d28e9d2a-c8a3-42a7-900d-eb64fe6b752c/repair?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9hbGVydHMvZDI4ZTlkMmEtYzhhMy00MmE3LTkwMGQtZWI2NGZlNmI3NTJjL3JlcGFpcj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "d6f43659-aea0-48ee-ab32-a08160546ed0"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:08:49 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/d6f43659-aea0-48ee-ab32-a08160546ed0?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvVHlkciee8NnX5lNyf81DoIOtEB1IXds8ydHxocrU0WiqQPWfbNMKjmnbisJ/clwzeLL5HH+NwH5kz24Teb3DmAPdJ3/A7GIqJu5bvj98OXm/D26Rw34IONQ5GgaR/b+1U0igYe9yKcs3KQuV/bFz"
+ ],
+ "x-ms-correlation-request-id": [
+ "e6d8408a-f893-4320-a630-419b12471360"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1184"
+ ],
+ "x-ms-request-id": [
+ "e6d8408a-f893-4320-a630-419b12471360"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T210850Z:e6d8408a-f893-4320-a630-419b12471360"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/d6f43659-aea0-48ee-ab32-a08160546ed0?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9oZWFsdGhTZXJ2aWNlT3BlcmF0aW9uUmVzdWx0cy9kNmY0MzY1OS1hZWEwLTQ4ZWUtYWIzMi1hMDgxNjA1NDZlZDA/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:09:50 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvEsdKz3tD7ZXrwaV0wD7MDAwQt3gntZsgaQVLcGJbj4FG5RGYRk1wU18JP6acro25xvBRxUa5cg5I+oxbN7HXcEHKA0K7WjGcS+ovFKRnldO2SUthLMsvlLD9uM0EiKh3ZP1JL4/CKhXA6P1ubbnt"
+ ],
+ "x-ms-correlation-request-id": [
+ "5077bd54-54cc-46c8-a5e6-5123917ae2f4"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14967"
+ ],
+ "x-ms-request-id": [
+ "5077bd54-54cc-46c8-a5e6-5123917ae2f4"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T210950Z:5077bd54-54cc-46c8-a5e6-5123917ae2f4"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "329"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n },\r\n \"error\": {\r\n \"code\": \"RemediateAlertPrecheckFailed\",\r\n \"message\": \"Alert remediation for alert 'd28e9d2a-c8a3-42a7-900d-eb64fe6b752c' failed prerequisite checks. Prerequiste checks include that the alert exists, is open, has a remediation action, and remediation is not already in progress.\"\r\n }\r\n}",
+ "StatusCode": 400
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/d74f40e9-c9b1-41d0-b7d6-d7d0971c438d/repair?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9hbGVydHMvZDc0ZjQwZTktYzliMS00MWQwLWI3ZDYtZDdkMDk3MWM0MzhkL3JlcGFpcj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "509d40d8-00e5-4d30-a310-25923cfb3f43"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:10:53 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/509d40d8-00e5-4d30-a310-25923cfb3f43?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvsouWo/XG2voTgfO4ieBQGClD2/rJ19mFFNVVjM2ph7L12wl2aMqprNyoJIhktYbiKSUY8XoLiU7yi7aI2yksrBvRuWGQSQEwMi2eDbLhXo+K+QkbYVBbSDI39g2JMpkd5PIeq0DWEJmusokzA/y1"
+ ],
+ "x-ms-correlation-request-id": [
+ "cb920a1b-f0c7-4b0f-af53-76af7356be71"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1183"
+ ],
+ "x-ms-request-id": [
+ "cb920a1b-f0c7-4b0f-af53-76af7356be71"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T211053Z:cb920a1b-f0c7-4b0f-af53-76af7356be71"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/509d40d8-00e5-4d30-a310-25923cfb3f43?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9oZWFsdGhTZXJ2aWNlT3BlcmF0aW9uUmVzdWx0cy81MDlkNDBkOC0wMGU1LTRkMzAtYTMxMC0yNTkyM2NmYjNmNDM/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:11:53 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvEsYa21nJrgkRjGayTiE4W4QvJa9sQqVddYVwWO6Jwabt1cPKBtPFew2F8++5/i2zfvwHFhFSgpTSHKzJ3IzBBG0Np1kQ0hXVNUzH38v8oASQigl5FYb2/NL6jucaTxUQy/fXE+PWnXLI2YMO2wAA"
+ ],
+ "x-ms-correlation-request-id": [
+ "3b045beb-b665-45b8-bc53-da2b09531eeb"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14966"
+ ],
+ "x-ms-request-id": [
+ "3b045beb-b665-45b8-bc53-da2b09531eeb"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T211153Z:3b045beb-b665-45b8-bc53-da2b09531eeb"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "329"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Failed\"\r\n },\r\n \"error\": {\r\n \"code\": \"RemediateAlertPrecheckFailed\",\r\n \"message\": \"Alert remediation for alert 'd74f40e9-c9b1-41d0-b7d6-d7d0971c438d' failed prerequisite checks. Prerequiste checks include that the alert exists, is open, has a remediation action, and remediation is not already in progress.\"\r\n }\r\n}",
+ "StatusCode": 400
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/dd33193b-b334-4675-a48c-5aa96d2c6974/repair?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9hbGVydHMvZGQzMzE5M2ItYjMzNC00Njc1LWE0OGMtNWFhOTZkMmM2OTc0L3JlcGFpcj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx",
+ "RequestMethod": "POST",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "x-ms-client-request-id": [
+ "0a5c6f93-fee9-4725-b015-0d7be4bf206f"
+ ],
+ "accept-language": [
+ "en-US"
+ ],
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:12:09 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Location": [
+ "https://adminmanagement.local.azurestack.external/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/0a5c6f93-fee9-4725-b015-0d7be4bf206f?api-version=2016-05-01"
+ ],
+ "Retry-After": [
+ "60"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvTUxS96S1+RQhr8exxVDkR/OAcEERTBeEviGOJJf7kuGVfBVy/W4fGGKIF8h2l3PK71g136Xv7cUOtCoIZDJarwf2JRKgCI7piekM8G3K+maux4hBMqOvytEEah5FuSvFHuze2UL0LnC/L7WFxmHZ"
+ ],
+ "x-ms-correlation-request-id": [
+ "2249c070-1afa-42bf-bb92-be5e48c48696"
+ ],
+ "x-ms-ratelimit-remaining-subscription-writes": [
+ "1182"
+ ],
+ "x-ms-request-id": [
+ "2249c070-1afa-42bf-bb92-be5e48c48696"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T211209Z:2249c070-1afa-42bf-bb92-be5e48c48696"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "0"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "",
+ "StatusCode": 202
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/0a5c6f93-fee9-4725-b015-0d7be4bf206f?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9oZWFsdGhTZXJ2aWNlT3BlcmF0aW9uUmVzdWx0cy8wYTVjNmY5My1mZWU5LTQ3MjUtYjAxNS0wZDdiZTRiZjIwNmY/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:13:09 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRvS0LOPvz5fTSajPUN/hXpLRna+YEk5c+3C9fNRypVFODqdfz5pk2Sb2w884i2h/XdkFFCrA6A/9abulUp6vbsZJBoBnor6T4YeVySd7v6qxh5+HmpnKN3KLtudbcvyRy5sGIu2c6LjV4bEGY/hF8U"
+ ],
+ "x-ms-correlation-request-id": [
+ "6dce8cdf-c83d-409d-9a7d-609ec183f7ee"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14965"
+ ],
+ "x-ms-request-id": [
+ "6dce8cdf-c83d-409d-9a7d-609ec183f7ee"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T211309Z:6dce8cdf-c83d-409d-9a7d-609ec183f7ee"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "StatusCode": 200
+ },
+ {
+ "RequestUri": "/subscriptions/22fc5687-5914-49c3-8280-34f8a089827e/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/healthServiceOperationResults/0a5c6f93-fee9-4725-b015-0d7be4bf206f?api-version=2016-05-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvMjJmYzU2ODctNTkxNC00OWMzLTgyODAtMzRmOGEwODk4MjdlL3Jlc291cmNlR3JvdXBzL1N5c3RlbS5sb2NhbC9wcm92aWRlcnMvTWljcm9zb2Z0LkluZnJhc3RydWN0dXJlSW5zaWdodHMuQWRtaW4vcmVnaW9uSGVhbHRocy9sb2NhbC9oZWFsdGhTZXJ2aWNlT3BlcmF0aW9uUmVzdWx0cy8wYTVjNmY5My1mZWU5LTQ3MjUtYjAxNS0wZDdiZTRiZjIwNmY/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==",
+ "RequestMethod": "GET",
+ "RequestBody": "",
+ "RequestHeaders": {
+ "User-Agent": [
+ "FxVersion/4.6.26614.01",
+ "OSName/Windows",
+ "OSVersion/Microsoft.Windows.10.0.17134.",
+ "Microsoft.AzureStack.Management.InfrastructureInsights.Admin.InfrastructureInsightsAdminClient/0.3.0.0"
+ ]
+ },
+ "ResponseHeaders": {
+ "Cache-Control": [
+ "no-cache"
+ ],
+ "Date": [
+ "Fri, 16 Nov 2018 21:13:09 GMT"
+ ],
+ "Pragma": [
+ "no-cache"
+ ],
+ "Server": [
+ "Microsoft-HTTPAPI/2.0"
+ ],
+ "WWW-Authenticate": [
+ "oYG3MIG0oAMKAQChCwYJKoZIgvcSAQICooGfBIGcYIGZBgkqhkiG9xIBAgICAG+BiTCBhqADAgEFoQMCAQ+iejB4oAMCARKicQRv51we+H3IkKNErFKyFWD6RqV/sKoh7Bj/g5OtKmZuVzvLZFhMa5ROD5/YCXFvzW0aExf6EuAzN/eXs7mT6uUofpM4YjvxPtmEHW+xQBV8I5zxGbnoK3VakfO8ucKLHX/mpkEQdE8+fFF26fEFZlOB"
+ ],
+ "x-ms-correlation-request-id": [
+ "b7e4831a-306e-4731-a7bb-141c79483ed7"
+ ],
+ "x-ms-ratelimit-remaining-subscription-reads": [
+ "14964"
+ ],
+ "x-ms-request-id": [
+ "b7e4831a-306e-4731-a7bb-141c79483ed7"
+ ],
+ "x-ms-routing-request-id": [
+ "LOCAL:20181116T211309Z:b7e4831a-306e-4731-a7bb-141c79483ed7"
+ ],
+ "Strict-Transport-Security": [
+ "max-age=31536000; includeSubDomains"
+ ],
+ "X-Content-Type-Options": [
+ "nosniff"
+ ],
+ "Content-Length": [
+ "48"
+ ],
+ "Content-Type": [
+ "application/json"
+ ],
+ "Expires": [
+ "-1"
+ ]
+ },
+ "ResponseBody": "{\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}",
+ "StatusCode": 200
+ }
+ ],
+ "Names": {},
+ "Variables": {
+ "SubscriptionId": "22fc5687-5914-49c3-8280-34f8a089827e"
+ }
+}
\ No newline at end of file
diff --git a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/packages.config b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/packages.config
index 884380c449c4..c86ac7d5bce3 100644
--- a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/packages.config
+++ b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/packages.config
@@ -1,4 +1,4 @@
-
+
diff --git a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/src/Alert.Tests.ps1 b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/src/Alert.Tests.ps1
index f1d4d8d95e92..3229d4cfcceb 100644
--- a/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/src/Alert.Tests.ps1
+++ b/src/StackAdmin/Azs.InfrastructureInsights.Admin/Tests/src/Alert.Tests.ps1
@@ -18,22 +18,23 @@
.DESCRIPTION
Run AzureStack fabric admin edge gateway pool tests using either mock client or our client.
- The mock client allows for recording and playback. This allows for offline tests.
+ The mock client allows for recording and playback. This allows for offline tests.
.PARAMETER RunRaw
Run using our client creation path.
.EXAMPLE
PS C:\> .\src\Alert.Tests.ps1
- Describing Alerts
- [+] TestListAlerts 349ms
- [+] TestGetAlert 175ms
- [+] TestGetAllAlerts 866ms
- [+] TestCloseAlert 171ms
+ Describing Alerts
+ [+] TestListAlerts 349ms
+ [+] TestGetAlert 175ms
+ [+] TestGetAllAlerts 866ms
+ [+] TestCloseAlert 171ms
+ [+] TestRepairAlert 390ms
.NOTES
Author: Jeffrey Robinson
- Copyright: Microsoft
+ Copyright: Microsoft
Date: August 24, 2017
#>
param(
@@ -225,5 +226,51 @@ InModuleScope Azs.InfrastructureInsights.Admin {
}
}
}
+
+ it "TestRepairAlert" -Skip:$('TestRepairAlert' -in $global:SkippedTests) {
+ $global:TestName = 'TestRepairAlert'
+
+ $ErrorActionPreference = "SilentlyContinue"
+
+ # Test repair for a non-existing alert
+ Write-Verbose "Repairing alert with an invalid name"
+ Repair-AzsAlert -Name "wrongid" -Location "local" -Force -ErrorVariable invalidAlertErr
+ if(($invalidAlertErr -ne $null) -and ($invalidAlertErr -like '*RemediateAlertFailed*') -and ($invalidAlertErr -like '*NotFoundException*'))
+ {
+ Write-Verbose "As expected the repair operation failed"
+ }
+ else
+ {
+ throw $invalidAlertErr
+ }
+
+ $Alerts = Get-AzsAlert -ResourceGroupName $global:ResourceGroupName -Location $global:location
+ $Alerts | Should Not Be $null
+ foreach ($Alert in $Alerts)
+ {
+ $Alert | Should not be $null
+ $Alert.State | Should not be $null
+ Write-Verbose "Repairing alert $($Alert.Name)"
+ $Alert | Repair-AzsAlert -Force -ErrorVariable validAlertErr
+ if($validAlertErr -ne $null){
+ if ($Alert.State -eq "Active" -and $Alert.hasValidRemediationAction -eq $true)
+ {
+ throw "Repair operation failed with $validAlertErr"
+ }
+ else
+ {
+ if($validAlertErr -like '*RemediateAlertPrecheckFailed*')
+ {
+ Write-Verbose "As expected the repair operation failed"
+ }
+ else
+ {
+ throw "Repair operation failed with $validAlertErr"
+ }
+ }
+ }
+ }
+ return
+ }
}
}
diff --git a/src/StackAdmin/AzureStack/AzureStack.psd1 b/src/StackAdmin/AzureStack/AzureStack.psd1
index 008d60500c6b..9faacf7abcc8 100644
--- a/src/StackAdmin/AzureStack/AzureStack.psd1
+++ b/src/StackAdmin/AzureStack/AzureStack.psd1
@@ -57,9 +57,9 @@
@{ModuleName = 'Azs.Backup.Admin'; RequiredVersion = '0.2.0'; },
@{ModuleName = 'Azs.Commerce.Admin'; RequiredVersion = '0.2.0'; },
@{ModuleName = 'Azs.Compute.Admin'; RequiredVersion = '0.2.0'; },
- @{ModuleName = 'Azs.Fabric.Admin'; RequiredVersion = '0.2.1'; },
+ @{ModuleName = 'Azs.Fabric.Admin'; RequiredVersion = '0.3.0'; },
@{ModuleName = 'Azs.Gallery.Admin'; RequiredVersion = '0.2.0'; },
- @{ModuleName = 'Azs.InfrastructureInsights.Admin'; RequiredVersion = '0.2.0'; },
+ @{ModuleName = 'Azs.InfrastructureInsights.Admin'; RequiredVersion = '0.3.0'; },
@{ModuleName = 'Azs.KeyVault.Admin'; RequiredVersion = '0.2.0'; },
@{ModuleName = 'Azs.Network.Admin'; RequiredVersion = '0.2.0'; },
@{ModuleName = 'Azs.Storage.Admin'; RequiredVersion = '0.2.0'; },