forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
423 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
...urceHealth/preview/2022-10-01-preview/examples/ChildAvailabilityStatus_GetByResource.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"parameters": { | ||
"resourceUri": "resourceUri", | ||
"api-version": "2022-10-01", | ||
"$expand": "recommendedactions" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/227b734f-e14f-4de6-b7fc-3190c21e69f6/resourceGroups/JUHACKETRHCTEST/providers/Microsoft.Compute/virtualMachineScaleSets/rhctest/virtualMachines/4/providers/Microsoft.ResourceHealth/child/availabilityStatuses/current", | ||
"name": "current", | ||
"type": "Microsoft.ResourceHealth/AvailabilityStatuses", | ||
"location": "southcentralus", | ||
"properties": { | ||
"availabilityState": "Available", | ||
"summary": "There aren't any known Azure platform problems affecting this virtual machine", | ||
"detailedStatus": "", | ||
"reasonType": "", | ||
"occuredTime": "2018-11-30T23:37:44Z", | ||
"reasonChronicity": "Persistent", | ||
"reportedTime": "2018-12-04T01:19:11.955255Z", | ||
"recommendedActions": [ | ||
{ | ||
"action": "To start this virtual machine, open the resource blade and click Start", | ||
"actionUrl": "<#ResourceBlade>", | ||
"actionUrlText": "resource blade" | ||
}, | ||
{ | ||
"action": "If you are experiencing problems you believe are caused by Azure, contact support", | ||
"actionUrl": "<#SupportCase>", | ||
"actionUrlText": "contact support" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
149 changes: 149 additions & 0 deletions
149
...ft.ResourceHealth/preview/2022-10-01-preview/examples/ChildAvailabilityStatuses_List.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
{ | ||
"parameters": { | ||
"resourceUri": "resourceUri", | ||
"api-version": "2022-10-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/227b734f-e14f-4de6-b7fc-3190c21e69f6/resourceGroups/JUHACKETRHCTEST/providers/Microsoft.Compute/virtualMachineScaleSets/rhctest/virtualMachines/4/providers/Microsoft.ResourceHealth/availabilityStatuses/current", | ||
"name": "current", | ||
"type": "Microsoft.ResourceHealth/AvailabilityStatuses", | ||
"location": "southcentralus", | ||
"properties": { | ||
"availabilityState": "Available", | ||
"summary": "There aren't any known Azure platform problems affecting this virtual machine", | ||
"detailedStatus": "", | ||
"reasonType": "", | ||
"recommendedActions": [ | ||
{ | ||
"action": "If you're having problems, use the Troubleshoot tool to get recommended solutions.", | ||
"actionUrl": "<#TroubleshootV2Blade>", | ||
"actionUrlText": "Troubleshoot tool" | ||
}, | ||
{ | ||
"action": "If you are experiencing problems you believe are caused by Azure, contact support", | ||
"actionUrl": "<#SupportCase>", | ||
"actionUrlText": "contact support" | ||
} | ||
], | ||
"occuredTime": "2018-11-30T23:37:44Z", | ||
"reasonChronicity": "Transient", | ||
"reportedTime": "2018-12-05T19:45:45.6640838Z" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/227b734f-e14f-4de6-b7fc-3190c21e69f6/resourceGroups/JUHACKETRHCTEST/providers/Microsoft.Compute/virtualMachineScaleSets/rhctest/virtualMachines/4/providers/Microsoft.ResourceHealth/availabilityStatuses/2018-11-30+23%3a36%3a03Z", | ||
"name": "2018-11-30+23%3a36%3a03Z", | ||
"type": "Microsoft.ResourceHealth/AvailabilityStatuses", | ||
"location": "southcentralus", | ||
"properties": { | ||
"availabilityState": "Unavailable", | ||
"summary": "This virtual machine is rebooting as requested by an authorized user or process. It will be back online after the reboot completes.", | ||
"detailedStatus": "", | ||
"reasonType": "Customer Initiated", | ||
"rootCauseAttributionTime": "2018-11-30T23:36:02.514Z", | ||
"recommendedActions": [ | ||
{ | ||
"action": "Check back here for status updates", | ||
"actionUrl": "", | ||
"actionUrlText": "" | ||
}, | ||
{ | ||
"action": "If you are experiencing problems you believe are caused by Azure, contact support", | ||
"actionUrl": "<#SupportCase>", | ||
"actionUrlText": "contact support" | ||
} | ||
], | ||
"occuredTime": "2018-11-30T23:36:03Z", | ||
"reasonChronicity": "Transient", | ||
"resolutionETA": "2018-11-30T23:56:03Z" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/227b734f-e14f-4de6-b7fc-3190c21e69f6/resourceGroups/JUHACKETRHCTEST/providers/Microsoft.Compute/virtualMachineScaleSets/rhctest/virtualMachines/4/providers/Microsoft.ResourceHealth/availabilityStatuses/2018-11-30+22%3a32%3a12Z", | ||
"name": "2018-11-30+22%3a32%3a12Z", | ||
"type": "Microsoft.ResourceHealth/AvailabilityStatuses", | ||
"location": "southcentralus", | ||
"properties": { | ||
"availabilityState": "Available", | ||
"summary": "There aren't any known Azure platform problems affecting this virtual machine", | ||
"detailedStatus": "", | ||
"reasonType": "", | ||
"recommendedActions": [ | ||
{ | ||
"action": "If you're having problems, use the Troubleshoot tool to get recommended solutions.", | ||
"actionUrl": "<#TroubleshootV2Blade>", | ||
"actionUrlText": "Troubleshoot tool" | ||
}, | ||
{ | ||
"action": "If you are experiencing problems you believe are caused by Azure, contact support", | ||
"actionUrl": "<#SupportCase>", | ||
"actionUrlText": "contact support" | ||
} | ||
], | ||
"occuredTime": "2018-11-30T22:32:12Z", | ||
"reasonChronicity": "Transient" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/227b734f-e14f-4de6-b7fc-3190c21e69f6/resourceGroups/JUHACKETRHCTEST/providers/Microsoft.Compute/virtualMachineScaleSets/rhctest/virtualMachines/4/providers/Microsoft.ResourceHealth/availabilityStatuses/2018-11-30+22%3a30%3a23Z", | ||
"name": "2018-11-30+22%3a30%3a23Z", | ||
"type": "Microsoft.ResourceHealth/AvailabilityStatuses", | ||
"location": "southcentralus", | ||
"properties": { | ||
"availabilityState": "Unavailable", | ||
"summary": "This virtual machine is rebooting as requested by an authorized user or process. It will be back online after the reboot completes.", | ||
"detailedStatus": "", | ||
"reasonType": "Customer Initiated", | ||
"rootCauseAttributionTime": "2018-11-30T22:30:22.256Z", | ||
"recommendedActions": [ | ||
{ | ||
"action": "Check back here for status updates", | ||
"actionUrl": "", | ||
"actionUrlText": "" | ||
}, | ||
{ | ||
"action": "If you are experiencing problems you believe are caused by Azure, contact support", | ||
"actionUrl": "<#SupportCase>", | ||
"actionUrlText": "contact support" | ||
} | ||
], | ||
"occuredTime": "2018-11-30T22:30:23Z", | ||
"reasonChronicity": "Transient", | ||
"resolutionETA": "2018-11-30T22:50:23Z" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/227b734f-e14f-4de6-b7fc-3190c21e69f6/resourceGroups/JUHACKETRHCTEST/providers/Microsoft.Compute/virtualMachineScaleSets/rhctest/virtualMachines/4/providers/Microsoft.ResourceHealth/availabilityStatuses/2018-11-21+00%3a00%3a00Z", | ||
"name": "2018-11-21+00%3a00%3a00Z", | ||
"type": "Microsoft.ResourceHealth/AvailabilityStatuses", | ||
"location": "southcentralus", | ||
"properties": { | ||
"availabilityState": "Available", | ||
"summary": "There aren't any known Azure platform problems affecting this virtual machine", | ||
"detailedStatus": "", | ||
"reasonType": "", | ||
"recommendedActions": [ | ||
{ | ||
"action": "If you're having problems, use the Troubleshoot tool to get recommended solutions.", | ||
"actionUrl": "<#TroubleshootV2Blade>", | ||
"actionUrlText": "Troubleshoot tool" | ||
}, | ||
{ | ||
"action": "If you are experiencing problems you believe are caused by Azure, contact support", | ||
"actionUrl": "<#SupportCase>", | ||
"actionUrlText": "contact support" | ||
} | ||
], | ||
"occuredTime": "2018-11-21T00:00:00Z", | ||
"reasonChronicity": "Transient" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.