UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 37.4 kB
{"openapi":"3.0.0","info":{"description":"The Resource Health Client.","title":"Microsoft.ResourceHealth","version":"2018-07-01-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2018-08-01/ResourceHealth.json","version":"2.0"}],"x-providerName":"azure.com","x-serviceName":"resourcehealth-ResourceHealth","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/providers/Microsoft.ResourceHealth/operations":{"get":{"description":"Lists available operations for the resourcehealth resource provider","operationId":"Operations_List","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"The list of available operations for the resourcehealth resource provider","content":{"application/json":{"schema":{"$ref":"#/components/schemas/operationListResult"}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Operations"]}},"/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/availabilityStatuses":{"get":{"description":"Lists the current availability status for all the resources in the subscription.","operationId":"AvailabilityStatuses_ListBySubscriptionId","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ExpandParameter"}],"responses":{"200":{"description":"The list of current availability status for all the resources in the subscription","content":{"application/json":{"schema":{"$ref":"#/components/schemas/availabilityStatusListResult"},"examples":{"ListHealthBySubscriptionId":{"$ref":"#/components/examples/ListHealthBySubscriptionId"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["AvailabilityStatuses"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events":{"get":{"description":"Lists current service health events in the subscription.","operationId":"Events_ListBySubscriptionId","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"The list of current service health events in the subscription","content":{"application/json":{"schema":{"$ref":"#/components/schemas/events"},"examples":{"ListEventsBySubscriptionId":{"$ref":"#/components/examples/ListEventsBySubscriptionId"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Events"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/impactedResources":{"get":{"description":"Lists the current availability status for impacted resources in the subscription.","operationId":"ImpactedResources_ListBySubscriptionId","parameters":[{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/SubscriptionIdParameter"}],"responses":{"200":{"description":"The list of current availability status for impacted resources in the subscription","content":{"application/json":{"schema":{"$ref":"#/components/schemas/impactedResourceListResult"},"examples":{"ListHealthBySubscriptionId":{"$ref":"#/components/examples/ListHealthBySubscriptionId"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["ImpactedResources"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceHealth/availabilityStatuses":{"get":{"description":"Lists the current availability status for all the resources in the resource group.","operationId":"AvailabilityStatuses_ListByResourceGroup","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/ExpandParameter"}],"responses":{"200":{"description":"The list of current availability status for all the resources in the resource group","content":{"application/json":{"schema":{"$ref":"#/components/schemas/availabilityStatusListResult"},"examples":{"ListByResourceGroup":{"$ref":"#/components/examples/ListByResourceGroup"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["AvailabilityStatuses"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses":{"get":{"description":"Lists all historical availability transitions and impacting events for a single resource.","operationId":"AvailabilityStatuses_List","parameters":[{"description":"The fully qualified ID of the resource, including the resource name and resource type. Currently the API support not nested and one nesting level resource types : /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name} and /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}","in":"path","name":"resourceUri","required":true,"x-ms-skip-url-encoding":true,"schema":{"type":"string"},"examples":{"GetHealthHistoryByResource":{"value":"resourceUri"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/ExpandParameter"}],"responses":{"200":{"description":"The list of historical availability statuses for a single resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/availabilityStatusListResult"},"examples":{"GetHealthHistoryByResource":{"$ref":"#/components/examples/GetHealthHistoryByResource"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["AvailabilityStatuses"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses/current":{"get":{"description":"Gets current availability status for a single resource","operationId":"AvailabilityStatuses_GetByResource","parameters":[{"description":"The fully qualified ID of the resource, including the resource name and resource type. Currently the API support not nested and one nesting level resource types : /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name} and /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}","in":"path","name":"resourceUri","required":true,"x-ms-skip-url-encoding":true,"schema":{"type":"string"},"examples":{"GetCurrentHealthByResource":{"value":"resourceUri"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"},{"$ref":"#/components/parameters/ExpandParameter"}],"responses":{"200":{"description":"The current availability status for a single resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/availabilityStatus"},"examples":{"GetCurrentHealthByResource":{"$ref":"#/components/examples/GetCurrentHealthByResource"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["AvailabilityStatuses"]}},"/{resourceUri}/providers/Microsoft.ResourceHealth/events":{"get":{"description":"Lists current service health events for given resource.","operationId":"Events_ListBySingleResource","parameters":[{"description":"The fully qualified ID of the resource, including the resource name and resource type. Currently the API support not nested and one nesting level resource types : /subscriptions/{subscriptionId}/resourceGroups/{resource-group-name}/providers/{resource-provider-name}/{resource-type}/{resource-name} and /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resource-provider-name}/{parentResourceType}/{parentResourceName}/{resourceType}/{resourceName}","in":"path","name":"resourceUri","required":true,"x-ms-skip-url-encoding":true,"schema":{"type":"string"},"examples":{"ListEventsBySingleResource":{"value":"subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.Compute/virtualMachines/rhctestenvV1PI"}}},{"$ref":"#/components/parameters/ApiVersionParameter"},{"$ref":"#/components/parameters/FilterParameter"}],"responses":{"200":{"description":"The list of current service health events for given resource","content":{"application/json":{"schema":{"$ref":"#/components/schemas/events"},"examples":{"ListEventsBySingleResource":{"$ref":"#/components/examples/ListEventsBySingleResource"}}}}},"default":{"description":"DefaultErrorResponse","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"tags":["Events"],"x-ms-pageable":{"nextLinkName":"nextLink"}}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"ListHealthBySubscriptionId":{"value":{"nextLink":"{originalRequestUrl}?$skipToken={OpaquePageNumber}","value":[{"id":"<resourceId>/providers/Microsoft.ResourceHealth/impactedResources/current","name":"current","properties":{"availabilityState":"Available","occuredTime":"2016-03-29T09:12:00Z","reasonType":"Unplanned","summary":"Vm is available"},"type":"Microsoft.ResourceHealth/impactedResources"},{"id":"<resourceId>/providers/Microsoft.ResourceHealth/impactedResources/current","name":"current","properties":{"availabilityState":"Unavailable","occuredTime":"2016-03-29T09:12:00Z","reasonType":"Unplanned","summary":"We are sorry, we couldn't automatically recovery our virtualmachine"},"type":"Microsoft.ResourceHealth/impactedResources"}]}},"ListEventsBySubscriptionId":{"value":{"nextLink":"{originalRequestUrl}?$skipToken={OpaquePageNumber}","value":[{"id":"/providers/Microsoft.ResourceHealth/events/BC_1-FXZ","name":"BC_1-FXZ","properties":{"article":{"articleContent":"<html>An outage alert is being investigated. More information will be provided as it is known</html>"},"enableChatWithUs":false,"enableMicrosoftSupport":true,"eventLevel":"Informational","eventSource":"ResourceHealth","eventType":"ServiceIssue","faqs":[{"answer":"This is an answer","localeCode":"en","question":"This is a question"}],"header":"Your service might have been impacted by an Azure service issue","impact":[{"impactedRegions":[{"impactedRegion":"West US","impactedSubscriptions":["{subscriptionId}"],"lastUpdateTime":"2017-12-05T21:05:00Z","status":"Active"}],"impactedService":"Virtual Machines"}],"impactMitigationTime":"2018-11-08T00:00:00Z","impactStartTime":"2018-11-07T00:00:00Z","isHIR":false,"lastUpdateTime":"2018-11-08T00:00:00Z","level":"Warning","links":[{"bladeName":"RequestRCABlade","displayText":{"localizedValue":"Request RCA","value":"Request RCA"},"extensionName":"Microsoft_Azure_Health","parameters":{"rcaRequested":"False","trackingId":"BC_1-FXZ"},"type":"Hyperlink"},{"bladeName":"AzureHealthBrowseBlade","displayText":{"localizedValue":"Sign up for updates","value":"Sign up for updates"},"extensionName":"Microsoft_Azure_Health","parameters":{"trackingId":"BC_1-FXZ"},"type":"Button"}],"priority":2,"recommendedActions":{"actions":["action 1","action 2"],"groupId":2343,"localeCode":"en","title":"Recommended actions title"},"status":"Active","summary":"An outage alert is being investigated. More information will be provided as it is known.","title":"ACTIVE: Virtual machines in West US"},"type":"/providers/Microsoft.ResourceHealth/events"}]}},"ListByResourceGroup":{"value":{"nextLink":"{originalRequestUrl}?$skipToken={OpaquePageNumber}","value":[{"id":"<resourceId>/providers/Microsoft.ResourceHealth/AvailabilityStatueses/current","location":"eastus","name":"current","properties":{"availabilityState":"Available","detailedStatus":"We have not seen any issues with your virtual machine","occuredTime":"2016-03-29T09:12:00Z","reasonChronicity":"Persistent","reasonType":"Unplanned","recentlyResolved":{"resolvedTime":"2017-02-28T00:49:00Z","unavailabilitySummary":"We are sorry your SQL database is unavailable","unavailableOccurredTime":"2017-02-28T00:48:00Z"},"recommendedActions":[{"action":"To start this virtualmachine, open the resource blade and click Start","actionUrl":"<#ResourceBlade>","actionUrlText":"resourceblade"}],"reportedTime":"2016-05-04T14:11:29.7598931Z","summary":"Vm is available"},"type":"Microsoft.ResourceHealth/AvailabilityStatuses"},{"id":"<resourceId>/providers/Microsoft.ResourceHealth/AvailabilityStatueses/current","location":"eastus","name":"current","properties":{"availabilityState":"Unavailable","detailedStatus":"Diskproblemsarepreventingusfromautomaticallyrecoveringyourvirtualmachine","occuredTime":"2016-03-29T09:12:00Z","reasonChronicity":"Persistent","reasonType":"Unplanned","recommendedActions":[{"action":"To start this virtualmachine, open the resource blade","actionUrl":"<#ResourceBlade>","actionUrlText":"resourceblade"},{"action":"If you are experiencing problems you believe are caused by Azure, contact support","actionUrl":"<#SupportCase>","actionUrlText":"contactsupport"}],"reportedTime":"2016-05-04T14:11:29.7598931Z","resolutionETA":"2016-03-29T09:37:00Z","rootCauseAttributionTime":"2016-03-29T09:13:00Z","summary":"We are sorry, we couldn't automatically recovery our virtualmachine"},"type":"Microsoft.ResourceHealth/AvailabilityStatuses"}]}},"GetHealthHistoryByResource":{"value":{"value":[{"id":"/subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.ClassicCompute/virtualMachines/rhctes tenvV1PI/providers/Microsoft.ResourceHealth/availabilityStatuses/current","location":"eastus","name":"current","properties":{"availabilityState":"Unavailable","detailedStatus":"Disk problems are preventing us from automatically recovering your virtual machine","occuredTime":"2016-03-29T09:12:00Z","reasonChronicity":"Persistent","reasonType":"Unplanned","reportedTime":"2016-05-04T14:11:29.7598931Z","resolutionETA":"2016-03-29T09:37:00Z","rootCauseAttributionTime":"2016-03-29T09:13:00Z","serviceImpactingEvents":[{"correlationId":"b56d0180-2d6c-4f7b-b750-c1eca681874c","eventStartTime":"2016-05-02T19:23:13.7115125Z","eventStatusLastModifiedTime":"2016-05-02T19:27:04.9543491Z","incidentProperties":{"incidentType":"outage","region":"East US","service":"Virtual Machines","title":"Virtual Machines - West Europe [West Europe]"},"status":{"value":"Resolved"}}],"summary":"We're sorry, we couldn't automatically recover your virtual machine"},"type":"Microsoft.ResourceHealth/AvailabilityStatuses"},{"id":"/subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.ClassicCompute/virtualMachines/rhctes tenvV1PI/providers/Microsoft.ResourceHealth/availabilityStatuses/2016-03-28+16%3a23%3a00Z","location":"eastus","name":"2016-03-28+16%3a23%3a00Z","properties":{"availabilityState":"Available","detailedStatus":"There aren’t any known Azure platform problems affecting this virtual machine","occuredTime":"2016-03-28T16:23:00Z","reasonChronicity":"Persistent","summary":"This virtual machine is running normally"},"type":"Microsoft.ResourceHealth/AvailabilityStatuses"}]}},"GetCurrentHealthByResource":{"value":{"id":"/subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.ClassicCompute/virtualMachines /rhctestenvV1PI/providers/Microsoft.ResourceHealth/availabilityStatuses/current","location":"eastus","name":"current","properties":{"availabilityState":"Unavailable","detailedStatus":"Disk problems are preventing us from automatically recovering your virtual machine","occuredTime":"2016-03-29T09:12:00Z","reasonChronicity":"Persistent","reasonType":"Unplanned","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"}],"reportedTime":"2016-05-04T14:11:29.7598931Z","resolutionETA":"2016-03-29T09:37:00Z","rootCauseAttributionTime":"2016-03-29T09:13:00Z","summary":"We're sorry, we couldn't automatically recover your virtual machine"},"type":"Microsoft.ResourceHealth/AvailabilityStatuses"}},"ListEventsBySingleResource":{"value":{"nextLink":"{originalRequestUrl}?$skipToken={OpaquePageNumber}","value":[{"id":"/providers/Microsoft.ResourceHealth/events/BC_1-FXZ","name":"BC_1-FXZ","properties":{"article":{"articleContent":"<html>An outage alert is being investigated. More information will be provided as it is known</html>"},"enableChatWithUs":false,"enableMicrosoftSupport":true,"eventLevel":"Informational","eventSource":"ResourceHealth","eventType":"ServiceIssue","faqs":[{"answer":"This is an answer","localeCode":"en","question":"This is a question"}],"header":"Your service might have been impacted by an Azure service issue","impact":[{"impactedRegions":[{"impactedRegion":"West US","impactedSubscriptions":["{subscriptionId}"],"lastUpdateTime":"2017-12-05T21:05:00Z","status":"Active"}],"impactedService":"Virtual Machines"}],"impactMitigationTime":"2018-11-08T00:00:00Z","impactStartTime":"2018-11-07T00:00:00Z","isHIR":false,"lastUpdateTime":"2018-11-08T00:00:00Z","level":"Warning","links":[{"bladeName":"RequestRCABlade","displayText":{"localizedValue":"Request RCA","value":"Request RCA"},"extensionName":"Microsoft_Azure_Health","parameters":{"rcaRequested":"False","trackingId":"BC_1-FXZ"},"type":"Hyperlink"},{"bladeName":"AzureHealthBrowseBlade","displayText":{"localizedValue":"Sign up for updates","value":"Sign up for updates"},"extensionName":"Microsoft_Azure_Health","parameters":{"trackingId":"BC_1-FXZ"},"type":"Button"}],"priority":2,"recommendedActions":{"actions":["action 1","action 2"],"groupId":2343,"localeCode":"en","title":"Recommended actions title"},"status":"Active","summary":"An outage alert is being investigated. More information will be provided as it is known.","title":"ACTIVE: Virtual machines in West US"},"type":"/providers/Microsoft.ResourceHealth/events"}]}}},"parameters":{"ApiVersionParameter":{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"ListHealthBySubscriptionId":{"value":"2018-07-01-preview"},"ListEventsBySubscriptionId":{"value":"2018-07-01-preview"},"ListByResourceGroup":{"value":"2015-01-01"},"GetHealthHistoryByResource":{"value":"2015-01-01"},"GetCurrentHealthByResource":{"value":"2015-01-01"},"ListEventsBySingleResource":{"value":"2018-07-01-preview"}}},"EventIdParameter":{"description":"EventId for the Service health event","in":"path","name":"eventId","required":true,"schema":{"type":"string"}},"ExpandParameter":{"description":"Setting $expand=recommendedactions in url query expands the recommendedactions in the response.","in":"query","name":"$expand","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"ListHealthBySubscriptionId":{"value":"recommendedactions"},"ListByResourceGroup":{"value":"recommendedactions"},"GetCurrentHealthByResource":{"value":"recommendedactions"}}},"FilterParameter":{"description":"The filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN","in":"query","name":"$filter","required":false,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"ListEventsBySubscriptionId":{"value":"service eq 'Virtual Machines' or region eq 'West US'"},"ListHealthBySubscriptionId":{"value":"service eq 'Virtual Machines' or region eq 'West US'"}}},"ResourceGroupNameParameter":{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"ListByResourceGroup":{"value":"resourceGroupName"}}},"SubscriptionIdParameter":{"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"ListHealthBySubscriptionId":{"value":"subscriptionId"},"ListEventsBySubscriptionId":{"value":"subscriptionId"},"ListByResourceGroup":{"value":"subscriptionId"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"ErrorResponse":{"description":"Error details.","properties":{"code":{"description":"The error code.","readOnly":true,"type":"string"},"details":{"description":"The error details.","readOnly":true,"type":"string"},"message":{"description":"The error message.","readOnly":true,"type":"string"}},"type":"object"},"availabilityStatus":{"description":"availabilityStatus of a resource.","properties":{"id":{"description":"Azure Resource Manager Identity for the availabilityStatuses resource.","type":"string"},"location":{"description":"Azure Resource Manager geo location of the resource.","type":"string"},"name":{"description":"current.","type":"string"},"properties":{"description":"Properties of availability state.","properties":{"availabilityState":{"description":"Availability status of the resource. When it is null, this availabilityStatus object represents an availability impacting event","enum":["Available","Unavailable","Degraded","Unknown"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"AvailabilityStateValues"}},"detailedStatus":{"description":"Details of the availability status.","type":"string"},"healthEventCategory":{"description":"In case of an availability impacting event, it describes the category of a PlatformInitiated health impacting event. Examples are Planned, Unplanned etc.","type":"string"},"healthEventCause":{"description":"In case of an availability impacting event, it describes where the health impacting event was originated. Examples are PlatformInitiated, UserInitiated etc.","type":"string"},"healthEventId":{"description":"It is a unique Id that identifies the event","type":"string"},"healthEventType":{"description":"In case of an availability impacting event, it describes when the health impacting event was originated. Examples are Lifecycle, Downtime, Fault Analysis etc.","type":"string"},"occuredTime":{"description":"Timestamp for when last change in health status occurred.","format":"date-time","type":"string"},"reasonChronicity":{"description":"Chronicity of the availability transition.","enum":["Transient","Persistent"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"reasonChronicityTypes"}},"reasonType":{"description":"When the resource's availabilityState is Unavailable, it describes where the health impacting event was originated. Examples are planned, unplanned, user initiated or an outage etc.","type":"string"},"recentlyResolved":{"description":"An annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned","properties":{"resolvedTime":{"description":"Timestamp when the availabilityState changes to Available.","format":"date-time","type":"string"},"unavailabilitySummary":{"description":"Brief description of cause of the resource becoming unavailable.","type":"string"},"unavailableOccurredTime":{"description":"Timestamp for when the availabilityState changed to Unavailable","format":"date-time","type":"string"}},"type":"object"},"recommendedActions":{"description":"Lists actions the user can take based on the current availabilityState of the resource.","items":{"$ref":"#/components/schemas/recommendedAction"},"type":"array"},"reportedTime":{"description":"Timestamp for when the health was last checked. ","format":"date-time","type":"string"},"resolutionETA":{"description":"When the resource's availabilityState is Unavailable and the reasonType is not User Initiated, it provides the date and time for when the issue is expected to be resolved.","format":"date-time","type":"string"},"rootCauseAttributionTime":{"description":"When the resource's availabilityState is Unavailable, it provides the Timestamp for when the health impacting event was received.","format":"date-time","type":"string"},"serviceImpactingEvents":{"description":"Lists the service impacting events that may be affecting the health of the resource.","items":{"$ref":"#/components/schemas/serviceImpactingEvent"},"type":"array"},"summary":{"description":"Summary description of the availability status.","type":"string"}},"type":"object"},"type":{"description":"Microsoft.ResourceHealth/AvailabilityStatuses.","type":"string"}},"type":"object"},"availabilityStatusListResult":{"description":"The List availabilityStatus operation response.","properties":{"nextLink":{"description":"The URI to fetch the next page of availabilityStatuses. Call ListNext() with this URI to fetch the next page of availabilityStatuses.","type":"string"},"value":{"description":"The list of availabilityStatuses.","items":{"$ref":"#/components/schemas/availabilityStatus"},"type":"array"}},"required":["value"]},"event":{"allOf":[{"properties":{"id":{"description":"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"Service health event","properties":{"properties":{"description":"Properties of event.","properties":{"article":{"description":"Article of event.","properties":{"articleContent":{"description":"Article content of event.","type":"string"}},"type":"object"},"enableChatWithUs":{"description":"Tells if we want to enable or disable Microsoft Support for this event.","type":"boolean"},"enableMicrosoftSupport":{"description":"Tells if we want to enable or disable Microsoft Support for this event.","type":"boolean"},"eventLevel":{"description":"Level of event.","enum":["Critical","Warning","Informational"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"EventLevelValues"}},"eventSource":{"description":"Source of event.","enum":["ResourceHealth","ServiceHealth"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"EventSourceValues"}},"eventType":{"description":"Type of event.","enum":["ServiceIssue","PlannedMaintenance","HealthAdvisory","RCA"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"EventTypeValues"}},"faqs":{"description":"Frequently asked questions for the service health event.","items":{"$ref":"#/components/schemas/faq"},"type":"array"},"header":{"description":"Header text of event.","type":"string"},"impact":{"description":"List services impacted by the service health event.","items":{"$ref":"#/components/schemas/impact"},"type":"array"},"impactMitigationTime":{"description":"It provides the Timestamp for when the health impacting event resolved.","format":"date-time","type":"string"},"impactStartTime":{"description":"It provides the Timestamp for when the health impacting event started.","format":"date-time","type":"string"},"isHIR":{"description":"It provides information if the event is High incident rate event or not.","type":"boolean"},"lastUpdateTime":{"description":"It provides the Timestamp for when the health impacting event was last updated.","format":"date-time","type":"string"},"level":{"description":"Level of insight.","enum":["Critical","Warning"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"LevelValues"}},"links":{"description":"Useful links of event.","items":{"$ref":"#/components/schemas/link"},"type":"array"},"priority":{"description":"Priority level of the event.","type":"integer"},"recommendedActions":{"description":"Recommended actions of event.","properties":{"actions":{"description":"Recommended actions for the service health event.","items":{"description":"Recommended action for the service health event.","type":"string"},"type":"array"},"groupId":{"description":"Recommended action group Id for the service health event.","type":"integer"},"localeCode":{"description":"Recommended action locale for the service health event.","type":"string"},"title":{"description":"Recommended action title for the service health event.","type":"string"}},"type":"object"},"status":{"description":"Current status of event.","enum":["Active","Resolved"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"EventStatusValues"}},"summary":{"description":"Summary text of event.","type":"string"},"title":{"description":"Title text of event.","type":"string"}},"type":"object","x-ms-client-flatten":true}},"type":"object"},"events":{"description":"The List events operation response.","properties":{"nextLink":{"description":"The URI to fetch the next page of events. Call ListNext() with this URI to fetch the next page of events.","type":"string"},"value":{"description":"The list of event.","items":{"$ref":"#/components/schemas/event"},"type":"array"}},"required":["value"]},"faq":{"description":"Frequently asked question for the service health event","properties":{"answer":{"description":"FAQ answer for the service health event.","type":"string"},"localeCode":{"description":"FAQ locale for the service health event.","type":"string"},"question":{"description":"FAQ question for the service health event.","type":"string"}}},"impact":{"description":"Azure service impacted by the service health event.","properties":{"impactedRegions":{"description":"List regions impacted by the service health event.","items":{"$ref":"#/components/schemas/impactedServiceRegion"},"type":"array"},"impactedService":{"description":"Impacted service name.","type":"string"}}},"impactedResourceListResult":{"description":"The List impactedResourceStatus operation response.","properties":{"nextLink":{"description":"The URI to fetch the next page of impactedResourceStatus.","type":"string"},"value":{"description":"The list of impactedResourceStatus.","items":{"$ref":"#/components/schemas/impactedResourceStatus"},"type":"array"}},"required":["value"]},"impactedResourceStatus":{"allOf":[{"properties":{"id":{"description":"Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}","readOnly":true,"type":"string"},"name":{"description":"The name of the resource","readOnly":true,"type":"string"},"type":{"description":"The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"impactedResource with health status","properties":{"properties":{"description":"Properties of impacted resource status.","properties":{"availabilityState":{"description":"Impacted resource status of the resource.","enum":["Available","Unavailable","Degraded","Unknown"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"AvailabilityStateValues"}},"occuredTime":{"description":"Timestamp for when last change in health status occurred.","format":"date-time","type":"string"},"reasonType":{"description":"When the resource's availabilityState is Unavailable, it describes where the health impacting event was originated.","enum":["Unplanned","Planned","UserInitiated"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"ReasonTypeValues"}},"summary":{"description":"Summary description of the impacted resource status.","type":"string"},"title":{"description":"Title description of the impacted resource status.","type":"string"}},"type":"object","x-ms-client-flatten":true}},"type":"object"},"impactedServiceRegion":{"description":"Azure region impacted by the service health event.","properties":{"impactedRegion":{"description":"Impacted region name.","type":"string"},"impactedSubscriptions":{"description":"List subscription impacted by the service health event.","items":{"description":"Subscription impacted by the service health event.","type":"string"},"type":"array"},"lastUpdateTime":{"description":"It provides the Timestamp for when the last update for the service health event.","format":"date-time","type":"string"},"status":{"description":"Current status of event in the region.","enum":["Active","Resolved"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"EventStatusValues"}},"updates":{"description":"List of updates for given service health event.","items":{"$ref":"#/components/schemas/update"},"type":"array"}}},"link":{"description":"Useful links for service health event.","properties":{"bladeName":{"description":"It provides the name of portal extension blade to produce link for given service health event.","type":"string"},"displayText":{"description":"Display text of link.","properties":{"localizedValue":{"description":"Localized display text of link.","type":"string"},"value":{"description":"Display text of link.","type":"string"}},"type":"object"},"extensionName":{"description":"It provides the name of portal extension to produce link for given service health event.","type":"string"},"parameters":{"description":"It provides a map of parameter name and value for portal extension blade to produce lik for given service health event.","type":"object"},"type":{"description":"Type of link.","enum":["Button","Hyperlink"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"LinkTypeValues"}}}},"operation":{"description":"Operation available in the resourcehealth resource provider.","properties":{"display":{"description":"Properties of the operation.","properties":{"description":{"description":"Description of the operation.","type":"string"},"operation":{"description":"Operation name.","type":"string"},"provider":{"description":"Provider name.","type":"string"},"resource":{"description":"Resource name.","type":"string"}},"type":"object"},"name":{"description":"Name of the operation.","type":"string"}}},"operationListResult":{"description":"Lists the operations response.","properties":{"value":{"description":"List of operations available in the resourcehealth resource provider.","items":{"$ref":"#/components/schemas/operation"},"type":"array"}},"required":["value"]},"recommendedAction":{"description":"Lists actions the user can take based on the current availabilityState of the resource.","properties":{"action":{"description":"Recommended action.","type":"string"},"actionUrl":{"description":"Link to the action","type":"string"},"actionUrlText":{"description":"Substring of action, it describes which text should host the action url.","type":"string"}}},"serviceImpactingEvent":{"description":"Lists the service impacting events that may be affecting the health of the resource.","properties":{"correlationId":{"description":"Correlation id for the event","type":"string"},"eventStartTime":{"description":"Timestamp for when the event started.","format":"date-time","type":"string"},"eventStatusLastModifiedTime":{"description":"Timestamp for when event was submitted/detected.","format":"date-time","type":"string"},"incidentProperties":{"description":"Properties of the service impacting event.","properties":{"incidentType":{"description":"Type of Event.","type":"string"},"region":{"description":"Region impacted by the event.","type":"string"},"service":{"description":"Service impacted by the event.","type":"string"},"title":{"description":"Title of the incident.","type":"string"}},"type":"object"},"status":{"description":"Status of the service impacting event.","properties":{"value":{"description":"Current status of the event","type":"string"}},"type":"object"}}},"update":{"description":"Update for service health event.","properties":{"summary":{"description":"Summary text for the given update for the service health event.","type":"string"},"updateDateTime":{"description":"It provides the Timestamp for the given update for the service health event.","format":"date-time","type":"string"}}}}}}