diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json new file mode 100644 index 000000000000..ad1af4fad2a2 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json @@ -0,0 +1,2155 @@ +{ + "swagger": "2.0", + "info": { + "version": "2022-10-01-preview", + "title": "Microsoft.ResourceHealth", + "description": "The Resource Health Client." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/availabilityStatuses": { + "get": { + "tags": [ + "AvailabilityStatuses" + ], + "operationId": "AvailabilityStatuses_ListBySubscriptionId", + "description": "Lists the current availability status for all the resources in the subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ExpandParameter" + } + ], + "responses": { + "200": { + "description": "The list of current availability status for all the resources in the subscription", + "schema": { + "$ref": "#/definitions/availabilityStatusListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListHealthBySubscriptionId": { + "$ref": "./examples/AvailabilityStatuses_ListBySubscriptionId.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceHealth/availabilityStatuses": { + "get": { + "tags": [ + "AvailabilityStatuses" + ], + "operationId": "AvailabilityStatuses_ListByResourceGroup", + "description": "Lists the current availability status for all the resources in the resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/ExpandParameter" + } + ], + "responses": { + "200": { + "description": "The list of current availability status for all the resources in the resource group", + "schema": { + "$ref": "#/definitions/availabilityStatusListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListByResourceGroup": { + "$ref": "./examples/AvailabilityStatuses_ListByResourceGroup.json" + } + } + } + }, + "/providers/Microsoft.ResourceHealth/operations": { + "get": { + "tags": [ + "Operations" + ], + "operationId": "Operations_List", + "description": "Lists available operations for the resourcehealth resource provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The list of available operations for the resourcehealth resource provider", + "schema": { + "$ref": "#/definitions/operationListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetOperationsList": { + "$ref": "./examples/Operations_List.json" + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses/current": { + "get": { + "tags": [ + "AvailabilityStatuses" + ], + "operationId": "AvailabilityStatuses_GetByResource", + "description": "Gets current availability status for a single resource", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "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}", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/ExpandParameter" + } + ], + "responses": { + "200": { + "description": "The current availability status for a single resource", + "schema": { + "$ref": "#/definitions/availabilityStatus" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetCurrentHealthByResource": { + "$ref": "./examples/AvailabilityStatus_GetByResource.json" + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ResourceHealth/availabilityStatuses": { + "get": { + "tags": [ + "AvailabilityStatuses" + ], + "operationId": "AvailabilityStatuses_List", + "description": "Lists all historical availability transitions and impacting events for a single resource.", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "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}", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/ExpandParameter" + } + ], + "responses": { + "200": { + "description": "The list of historical availability statuses for a single resource", + "schema": { + "$ref": "#/definitions/availabilityStatusListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "GetHealthHistoryByResource": { + "$ref": "./examples/AvailabilityStatuses_List.json" + } + } + } + }, + "/providers/Microsoft.ResourceHealth/metadata": { + "get": { + "tags": [ + "Metadata" + ], + "operationId": "Metadata_List", + "description": "Gets the list of metadata entities.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. Successfully retrieved metadata entities", + "schema": { + "$ref": "#/definitions/MetadataEntityListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetMetadata": { + "$ref": "./examples/Metadata_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.ResourceHealth/metadata/{name}": { + "get": { + "tags": [ + "Metadata" + ], + "operationId": "Metadata_GetEntity", + "description": "Gets the list of metadata entities.", + "parameters": [ + { + "name": "name", + "in": "path", + "description": "Name of metadata entity.", + "required": true, + "type": "string" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. Successfully retrieved metadata entities", + "schema": { + "$ref": "#/definitions/MetadataEntity" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetMetadata": { + "$ref": "./examples/Metadata_GetEntity.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources": { + "get": { + "tags": [ + "EventImpactedResources" + ], + "operationId": "ImpactedResources_ListBySubscriptionIdAndEventId", + "description": "Lists impacted resources in the subscription by an event.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/EventTrackingIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "The list of impacted resources in the subscription by an event.", + "schema": { + "$ref": "#/definitions/eventImpactedResourceListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListImpactedResourcesBySubscriptionId": { + "$ref": "./examples/ImpactedResources_ListBySubscriptionId_ListByEventId.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}": { + "get": { + "tags": [ + "EventImpactedResources" + ], + "operationId": "ImpactedResources_Get", + "description": "Gets the specific impacted resource in the subscription by an event.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/EventTrackingIdParameter" + }, + { + "$ref": "#/parameters/ImpactedResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The details of Impacted Resource.", + "schema": { + "$ref": "#/definitions/eventImpactedResource" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImpactedResourcesGet": { + "$ref": "./examples/ImpactedResources_Get.json" + } + } + } + }, + "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources": { + "get": { + "tags": [ + "EventImpactedResources" + ], + "operationId": "ImpactedResources_ListByTenantIdAndEventId", + "description": "Lists impacted resources in the tenant by an event.", + "parameters": [ + { + "$ref": "#/parameters/EventTrackingIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "The list of impacted resources in the tenant by an event.", + "schema": { + "$ref": "#/definitions/eventImpactedResourceListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListEventsByTenantId": { + "$ref": "./examples/ImpactedResources_ListByTenantId_ListByEventId.json" + } + } + } + }, + "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}": { + "get": { + "tags": [ + "EventImpactedResources" + ], + "operationId": "ImpactedResources_GetByTenantId", + "description": "Gets the specific impacted resource in the tenant by an event.", + "parameters": [ + { + "$ref": "#/parameters/EventTrackingIdParameter" + }, + { + "$ref": "#/parameters/ImpactedResourceNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The details of Impacted Resource.", + "schema": { + "$ref": "#/definitions/eventImpactedResource" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ImpactedResourcesGet": { + "$ref": "./examples/ImpactedResources_GetByTenantId.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/listSecurityAdvisoryImpactedResources": { + "post": { + "tags": [ + "SecurityAdvisoryImpactedResources" + ], + "operationId": "SecurityAdvisoryImpactedResources_ListBySubscriptionIdAndEventId", + "description": "Lists impacted resources in the subscription by an event (Security Advisory).", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/EventTrackingIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "The list of impacted resources in the subscription by an event (Security Advisory).", + "schema": { + "$ref": "#/definitions/eventImpactedResourceListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListSecurityAdvisoryImpactedResourcesBySubscriptionId": { + "$ref": "./examples/SecurityAdvisoryImpactedResources_ListBySubscriptionId_ListByEventId.json" + } + } + } + }, + "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/listSecurityAdvisoryImpactedResources": { + "post": { + "tags": [ + "SecurityAdvisoryImpactedResources" + ], + "operationId": "SecurityAdvisoryImpactedResources_ListByTenantIdAndEventId", + "description": "Lists impacted resources in the tenant by an event (Security Advisory).", + "parameters": [ + { + "$ref": "#/parameters/EventTrackingIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "The list of impacted resources in the tenant by an event (Security Advisory).", + "schema": { + "$ref": "#/definitions/eventImpactedResourceListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListSecurityAdvisoryImpactedResourcesByTenantId": { + "$ref": "./examples/SecurityAdvisoryImpactedResources_ListByTenantId_ListByEventId.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events": { + "get": { + "tags": [ + "Events" + ], + "operationId": "Events_ListBySubscriptionId", + "description": "Lists service health events in the subscription.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/QueryStartTimeParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The list of current service health events in the subscription", + "schema": { + "$ref": "#/definitions/events" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListEventsBySubscriptionId": { + "$ref": "./examples/Events_ListBySubscriptionId.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}": { + "get": { + "tags": [ + "Event" + ], + "operationId": "Event_GetBySubscriptionIdAndTrackingId", + "description": "Service health event in the subscription by event tracking id", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/QueryStartTimeParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/EventTrackingIdParameter" + } + ], + "responses": { + "200": { + "description": "Service Health Event in the subscription requested by tracking id.", + "schema": { + "$ref": "#/definitions/event" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "SecurityAdvisoriesEventBySubscriptionIdAndTrackingId": { + "$ref": "./examples/Event_GetBySubscriptionIdAndTrackingId.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/fetchEventDetails": { + "post": { + "tags": [ + "Event" + ], + "operationId": "Event_fetchDetailsBySubscriptionIdAndTrackingId", + "description": "Service health event details in the subscription by event tracking id. This can be used to fetch sensitive properties for Security Advisory events", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/EventTrackingIdParameter" + } + ], + "responses": { + "200": { + "description": "Service Health Event details in the subscription requested by tracking id.", + "schema": { + "$ref": "#/definitions/event" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EventDetailsBySubscriptionIdAndTrackingId": { + "$ref": "./examples/Event_fetchDetailsBySubscriptionIdAndTrackingId.json" + } + } + } + }, + "/providers/Microsoft.ResourceHealth/events": { + "get": { + "tags": [ + "Events" + ], + "operationId": "Events_ListByTenantId", + "description": "Lists current service health events in the tenant.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/QueryStartTimeParameter" + } + ], + "responses": { + "200": { + "description": "The list of service health events in the tenant", + "schema": { + "$ref": "#/definitions/events" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListEventsByTenantId": { + "$ref": "./examples/Events_ListByTenantId.json" + } + } + } + }, + "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}": { + "get": { + "tags": [ + "Event" + ], + "operationId": "Event_GetByTenantIdAndTrackingId", + "description": "Service health event in the tenant by event tracking id", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + }, + { + "$ref": "#/parameters/QueryStartTimeParameter" + }, + { + "$ref": "#/parameters/EventTrackingIdParameter" + } + ], + "responses": { + "200": { + "description": "Service Health Event in the subscription requested by tracking id.", + "schema": { + "$ref": "#/definitions/event" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EventByTenantIdAndTrackingId": { + "$ref": "./examples/Event_GetByTenantIdAndTrackingId.json" + } + } + } + }, + "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/fetchEventDetails": { + "post": { + "tags": [ + "Event" + ], + "operationId": "Event_fetchDetailsByTenantIdAndTrackingId", + "description": "Service health event details in the tenant by event tracking id. This can be used to fetch sensitive properties for Security Advisory events", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/EventTrackingIdParameter" + } + ], + "responses": { + "200": { + "description": "Service health event details in the tenant by event tracking id.", + "schema": { + "$ref": "#/definitions/event" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "EventDetailsByTenantIdAndTrackingId": { + "$ref": "./examples/Event_fetchDetailsByTenantIdAndTrackingId.json" + } + } + } + }, + "/{resourceUri}/providers/Microsoft.ResourceHealth/events": { + "get": { + "tags": [ + "Events" + ], + "operationId": "Events_ListBySingleResource", + "description": "Lists current service health events for given resource.", + "parameters": [ + { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "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}", + "x-ms-skip-url-encoding": true + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "The list of current service health events for given resource", + "schema": { + "$ref": "#/definitions/events" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-examples": { + "ListEventsBySingleResource": { + "$ref": "./examples/Events_ListBySingleResource.json" + } + } + } + }, + "/providers/Microsoft.ResourceHealth/emergingIssues": { + "get": { + "tags": [ + "EmergingIssues" + ], + "operationId": "EmergingIssues_List", + "description": "Lists Azure services' emerging issues.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The body contains a list of azure emerging issues.", + "schema": { + "$ref": "#/definitions/emergingIssueListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetEmergingIssues": { + "$ref": "./examples/EmergingIssues_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.ResourceHealth/emergingIssues/{issueName}": { + "get": { + "tags": [ + "EmergingIssues" + ], + "operationId": "EmergingIssues_Get", + "description": "Gets Azure services' emerging issues.", + "parameters": [ + { + "$ref": "#/parameters/IssueNameParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The body contains properties of azure emerging issues, which includes a list of status banner and status active events.", + "schema": { + "$ref": "#/definitions/emergingIssuesGetResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetEmergingIssues": { + "$ref": "./examples/EmergingIssues_Get.json" + } + } + } + } + }, + "definitions": { + "events": { + "type": "object", + "properties": { + "value": { + "type": "array", + "x-ms-identifiers": [], + "items": { + "$ref": "#/definitions/event" + }, + "description": "The list of event." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of events. Call ListNext() with this URI to fetch the next page of events." + } + }, + "required": [ + "value" + ], + "description": "The List events operation response." + }, + "event": { + "type": "object", + "description": "Service health event", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "type": "object", + "description": "Properties of event.", + "properties": { + "eventType": { + "type": "string", + "description": "Type of event.", + "enum": [ + "ServiceIssue", + "PlannedMaintenance", + "HealthAdvisory", + "RCA", + "EmergingIssues", + "SecurityAdvisory" + ], + "x-ms-enum": { + "name": "EventTypeValues", + "modelAsString": true + } + }, + "eventSource": { + "type": "string", + "description": "Source of event.", + "enum": [ + "ResourceHealth", + "ServiceHealth" + ], + "x-ms-enum": { + "name": "EventSourceValues", + "modelAsString": true + } + }, + "status": { + "type": "string", + "description": "Current status of event.", + "enum": [ + "Active", + "Resolved" + ], + "x-ms-enum": { + "name": "EventStatusValues", + "modelAsString": true + } + }, + "title": { + "type": "string", + "description": "Title text of event." + }, + "summary": { + "type": "string", + "description": "Summary text of event." + }, + "header": { + "type": "string", + "description": "Header text of event." + }, + "level": { + "type": "string", + "description": "Level of insight.", + "enum": [ + "Critical", + "Warning" + ], + "x-ms-enum": { + "name": "LevelValues", + "modelAsString": true + } + }, + "eventLevel": { + "type": "string", + "description": "Level of event.", + "enum": [ + "Critical", + "Error", + "Warning", + "Informational" + ], + "x-ms-enum": { + "name": "EventLevelValues", + "modelAsString": true + } + }, + "externalIncidentId": { + "type": "string", + "description": "The id of the Incident" + }, + "article": { + "type": "object", + "description": "Article of event.", + "properties": { + "articleContent": { + "type": "string", + "description": "Article content of event." + } + } + }, + "links": { + "type": "array", + "x-ms-identifiers": [], + "description": "Useful links of event.", + "items": { + "$ref": "#/definitions/link" + } + }, + "impactStartTime": { + "type": "string", + "description": "It provides the Timestamp for when the health impacting event started.", + "format": "date-time" + }, + "impactMitigationTime": { + "type": "string", + "description": "It provides the Timestamp for when the health impacting event resolved.", + "format": "date-time" + }, + "impact": { + "type": "array", + "x-ms-identifiers": [], + "description": "List services impacted by the service health event.", + "items": { + "$ref": "#/definitions/impact" + } + }, + "recommendedActions": { + "type": "object", + "description": "Recommended actions of event.", + "properties": { + "message": { + "type": "string", + "description": "Recommended action title for the service health event." + }, + "actions": { + "type": "array", + "x-ms-identifiers": [], + "description": "Recommended actions for the service health event.", + "items": { + "type": "object", + "description": "Recommended action for the service health event.", + "properties": { + "groupId": { + "type": "integer", + "format": "int32", + "description": "Recommended action group Id for the service health event." + }, + "actionText": { + "type": "string", + "description": "Recommended action text" + } + } + } + }, + "localeCode": { + "type": "string", + "description": "Recommended action locale for the service health event." + } + } + }, + "faqs": { + "type": "array", + "x-ms-identifiers": [], + "description": "Frequently asked questions for the service health event.", + "items": { + "$ref": "#/definitions/faq" + } + }, + "isHIR": { + "type": "boolean", + "description": "It provides information if the event is High incident rate event or not." + }, + "enableMicrosoftSupport": { + "type": "boolean", + "description": "Tells if we want to enable or disable Microsoft Support for this event." + }, + "description": { + "type": "string", + "description": "Contains the communication message for the event, that could include summary, root cause and other details." + }, + "platformInitiated": { + "type": "boolean", + "description": "Is true if the event is platform initiated." + }, + "enableChatWithUs": { + "type": "boolean", + "description": "Tells if we want to enable or disable Microsoft Support for this event." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "Priority level of the event. Has value from 0 to 23. 0 is the highest priority. Service issue events have higher priority followed by planned maintenance and health advisory. Critical events have higher priority followed by error, warning and informational. Furthermore, active events have higher priority than resolved." + }, + "lastUpdateTime": { + "type": "string", + "description": "It provides the Timestamp for when the health impacting event was last updated.", + "format": "date-time" + }, + "hirStage": { + "type": "string", + "description": "Stage for HIR Document" + }, + "additionalInformation": { + "type": "object", + "description": "Additional information", + "properties": { + "message": { + "type": "string", + "description": "Additional information Message" + } + } + }, + "duration": { + "type": "integer", + "description": "duration in seconds", + "format": "int32" + }, + "impactType": { + "type": "string", + "description": "The type of the impact" + } + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "link": { + "type": "object", + "description": "Useful links for service health event.", + "properties": { + "type": { + "type": "string", + "description": "Type of link.", + "enum": [ + "Button", + "Hyperlink" + ], + "x-ms-enum": { + "name": "LinkTypeValues", + "modelAsString": true + } + }, + "displayText": { + "type": "object", + "description": "Display text of link.", + "properties": { + "value": { + "type": "string", + "description": "Display text of link." + }, + "localizedValue": { + "type": "string", + "description": "Localized display text of link." + } + } + }, + "extensionName": { + "type": "string", + "description": "It provides the name of portal extension to produce link for given service health event." + }, + "bladeName": { + "type": "string", + "description": "It provides the name of portal extension blade to produce link for given service health event." + }, + "parameters": { + "type": "object", + "description": "It provides a map of parameter name and value for portal extension blade to produce lik for given service health event." + } + } + }, + "impact": { + "type": "object", + "description": "Azure service impacted by the service health event.", + "properties": { + "impactedService": { + "type": "string", + "description": "Impacted service name." + }, + "impactedRegions": { + "type": "array", + "x-ms-identifiers": [], + "description": "List regions impacted by the service health event.", + "items": { + "$ref": "#/definitions/impactedServiceRegion" + } + } + } + }, + "impactedServiceRegion": { + "type": "object", + "description": "Azure region impacted by the service health event.", + "properties": { + "impactedRegion": { + "type": "string", + "description": "Impacted region name." + }, + "status": { + "type": "string", + "description": "Current status of event in the region.", + "enum": [ + "Active", + "Resolved" + ], + "x-ms-enum": { + "name": "EventStatusValues", + "modelAsString": true + } + }, + "impactedSubscriptions": { + "type": "array", + "x-ms-identifiers": [], + "description": "List subscription impacted by the service health event.", + "items": { + "type": "string", + "description": "Subscription impacted by the service health event." + } + }, + "impactedTenants": { + "type": "array", + "x-ms-identifiers": [], + "description": "List tenant impacted by the service health event.", + "items": { + "type": "string", + "description": "Tenant impacted by the service health event." + } + }, + "lastUpdateTime": { + "type": "string", + "description": "It provides the Timestamp for when the last update for the service health event.", + "format": "date-time" + }, + "updates": { + "type": "array", + "x-ms-identifiers": [], + "description": "List of updates for given service health event.", + "items": { + "$ref": "#/definitions/update" + } + } + } + }, + "update": { + "type": "object", + "description": "Update for service health event.", + "properties": { + "summary": { + "type": "string", + "description": "Summary text for the given update for the service health event." + }, + "updateDateTime": { + "type": "string", + "description": "It provides the Timestamp for the given update for the service health event.", + "format": "date-time" + } + } + }, + "faq": { + "type": "object", + "description": "Frequently asked question for the service health event", + "properties": { + "question": { + "type": "string", + "description": "FAQ question for the service health event." + }, + "answer": { + "type": "string", + "description": "FAQ answer for the service health event." + }, + "localeCode": { + "type": "string", + "description": "FAQ locale for the service health event." + } + } + }, + "impactedResourceStatus": { + "type": "object", + "description": "impactedResource with health status", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "type": "object", + "description": "Properties of impacted resource status.", + "properties": { + "availabilityState": { + "type": "string", + "description": "Impacted resource status of the resource.", + "enum": [ + "Available", + "Unavailable", + "Degraded", + "Unknown" + ], + "x-ms-enum": { + "name": "AvailabilityStateValues", + "modelAsString": true + } + }, + "title": { + "type": "string", + "description": "Title description of the impacted resource status." + }, + "summary": { + "type": "string", + "description": "Summary description of the impacted resource status." + }, + "reasonType": { + "type": "string", + "description": "When the resource's availabilityState is Unavailable, it describes where the health impacting event was originated.", + "enum": [ + "Unplanned", + "Planned", + "UserInitiated" + ], + "x-ms-enum": { + "name": "ReasonTypeValues", + "modelAsString": true + } + }, + "occurredTime": { + "type": "string", + "description": "Timestamp for when last change in health status occurred.", + "format": "date-time" + } + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "MetadataEntityListResult": { + "description": "The list of metadata entities", + "type": "object", + "properties": { + "value": { + "description": "The list of metadata entities.", + "type": "array", + "items": { + "$ref": "#/definitions/MetadataEntity" + } + }, + "nextLink": { + "description": "The link used to get the next page of metadata.", + "type": "string" + } + } + }, + "MetadataEntity": { + "description": "The metadata entity contract.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/MetadataEntityProperties", + "description": "The metadata entity properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "MetadataEntityProperties": { + "description": "The metadata entity properties", + "type": "object", + "properties": { + "displayName": { + "description": "The display name.", + "type": "string" + }, + "dependsOn": { + "description": "The list of keys on which this entity depends on.", + "type": "array", + "items": { + "type": "string" + } + }, + "applicableScenarios": { + "description": "The list of scenarios applicable to this metadata entity.", + "type": "array", + "items": { + "enum": [ + "Alerts" + ], + "type": "string", + "x-ms-enum": { + "name": "Scenario", + "modelAsString": true + } + } + }, + "supportedValues": { + "description": "The list of supported values.", + "type": "array", + "items": { + "$ref": "#/definitions/MetadataSupportedValueDetail" + } + } + } + }, + "MetadataSupportedValueDetail": { + "description": "The metadata supported value detail.", + "type": "object", + "properties": { + "id": { + "description": "The id.", + "type": "string" + }, + "displayName": { + "description": "The display name.", + "type": "string" + }, + "resourceTypes": { + "description": "The list of associated resource types.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "availabilityStatusListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/availabilityStatus" + }, + "description": "The list of availabilityStatuses." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of availabilityStatuses. Call ListNext() with this URI to fetch the next page of availabilityStatuses." + } + }, + "required": [ + "value" + ], + "description": "The List availabilityStatus operation response." + }, + "availabilityStatus": { + "type": "object", + "description": "availabilityStatus of a resource.", + "properties": { + "id": { + "type": "string", + "description": "Azure Resource Manager Identity for the availabilityStatuses resource." + }, + "name": { + "type": "string", + "description": "current." + }, + "type": { + "type": "string", + "description": "Microsoft.ResourceHealth/AvailabilityStatuses." + }, + "location": { + "type": "string", + "description": "Azure Resource Manager geo location of the resource." + }, + "properties": { + "type": "object", + "description": "Properties of availability state.", + "properties": { + "availabilityState": { + "type": "string", + "description": "Availability status of the resource. When it is null, this availabilityStatus object represents an availability impacting event", + "enum": [ + "Available", + "Unavailable", + "Degraded", + "Unknown" + ], + "x-ms-enum": { + "name": "AvailabilityStateValues", + "modelAsString": true + } + }, + "title": { + "type": "string", + "description": "Title description of the availability status." + }, + "summary": { + "type": "string", + "description": "Summary description of the availability status." + }, + "detailedStatus": { + "type": "string", + "description": "Details of the availability status." + }, + "reasonType": { + "type": "string", + "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." + }, + "context": { + "type": "string", + "description": "When an event is created, it can either be triggered by a customer or the platform of the resource and this field will illustrate that. This field is connected to the category field in this object." + }, + "category": { + "type": "string", + "description": "When a context field is set to Platform, this field will reflect if the event was planned or unplanned. If the context field does not have a value of Platform, then this field will be ignored." + }, + "rootCauseAttributionTime": { + "type": "string", + "description": "When the resource's availabilityState is Unavailable, it provides the Timestamp for when the health impacting event was received.", + "format": "date-time" + }, + "healthEventType": { + "type": "string", + "description": "In case of an availability impacting event, it describes when the health impacting event was originated. Examples are Lifecycle, Downtime, Fault Analysis etc." + }, + "healthEventCause": { + "type": "string", + "description": "In case of an availability impacting event, it describes where the health impacting event was originated. Examples are PlatformInitiated, UserInitiated etc." + }, + "healthEventCategory": { + "type": "string", + "description": "In case of an availability impacting event, it describes the category of a PlatformInitiated health impacting event. Examples are Planned, Unplanned etc." + }, + "healthEventId": { + "type": "string", + "description": "It is a unique Id that identifies the event" + }, + "resolutionETA": { + "type": "string", + "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" + }, + "occuredTime": { + "type": "string", + "description": "Timestamp for when last change in health status occurred.", + "format": "date-time" + }, + "reasonChronicity": { + "type": "string", + "description": "Chronicity of the availability transition.", + "enum": [ + "Transient", + "Persistent" + ], + "x-ms-enum": { + "name": "reasonChronicityTypes", + "modelAsString": true + } + }, + "reportedTime": { + "type": "string", + "description": "Timestamp for when the health was last checked. ", + "format": "date-time" + }, + "recentlyResolved": { + "type": "object", + "description": "An annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned", + "properties": { + "unavailableOccuredTime": { + "type": "string", + "description": "Timestamp for when the availabilityState changed to Unavailable", + "format": "date-time" + }, + "resolvedTime": { + "type": "string", + "description": "Timestamp when the availabilityState changes to Available.", + "format": "date-time" + }, + "unavailableSummary": { + "type": "string", + "description": "Brief description of cause of the resource becoming unavailable." + } + } + }, + "recommendedActions": { + "type": "array", + "description": "Lists actions the user can take based on the current availabilityState of the resource.", + "items": { + "$ref": "#/definitions/recommendedAction" + }, + "x-ms-identifiers": [ + "action" + ] + }, + "serviceImpactingEvents": { + "type": "array", + "description": "Lists the service impacting events that may be affecting the health of the resource.", + "items": { + "$ref": "#/definitions/serviceImpactingEvent" + }, + "x-ms-identifiers": [ + "correlationId" + ] + } + } + } + } + }, + "operationListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/operation" + }, + "x-ms-identifiers": [ + "name" + ], + "description": "List of operations available in the resourcehealth resource provider." + } + }, + "required": [ + "value" + ], + "description": "Lists the operations response." + }, + "operation": { + "description": "Operation available in the resourcehealth resource provider.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the operation." + }, + "display": { + "type": "object", + "description": "Properties of the operation.", + "properties": { + "provider": { + "type": "string", + "description": "Provider name." + }, + "resource": { + "type": "string", + "description": "Resource name." + }, + "operation": { + "type": "string", + "description": "Operation name." + }, + "description": { + "type": "string", + "description": "Description of the operation." + } + } + } + } + }, + "recommendedAction": { + "type": "object", + "description": "Lists actions the user can take based on the current availabilityState of the resource.", + "properties": { + "action": { + "type": "string", + "description": "Recommended action." + }, + "actionUrl": { + "type": "string", + "description": "Link to the action" + }, + "actionUrlText": { + "type": "string", + "description": "Substring of action, it describes which text should host the action url." + } + } + }, + "serviceImpactingEvent": { + "type": "object", + "description": "Lists the service impacting events that may be affecting the health of the resource.", + "properties": { + "eventStartTime": { + "type": "string", + "description": "Timestamp for when the event started.", + "format": "date-time" + }, + "eventStatusLastModifiedTime": { + "type": "string", + "description": "Timestamp for when event was submitted/detected.", + "format": "date-time" + }, + "correlationId": { + "type": "string", + "description": "Correlation id for the event" + }, + "status": { + "type": "object", + "description": "Status of the service impacting event.", + "properties": { + "value": { + "type": "string", + "description": "Current status of the event" + } + } + }, + "incidentProperties": { + "type": "object", + "description": "Properties of the service impacting event.", + "properties": { + "title": { + "type": "string", + "description": "Title of the incident." + }, + "service": { + "type": "string", + "description": "Service impacted by the event." + }, + "region": { + "type": "string", + "description": "Region impacted by the event." + }, + "incidentType": { + "type": "string", + "description": "Type of Event." + } + } + } + } + }, + "statusBanner": { + "type": "object", + "description": "Banner type of emerging issue.", + "properties": { + "title": { + "type": "string", + "description": "The banner title." + }, + "message": { + "type": "string", + "description": "The details of banner." + }, + "cloud": { + "type": "string", + "description": "The cloud type of this banner." + }, + "lastModifiedTime": { + "type": "string", + "description": "The last time modified on this banner.", + "format": "date-time" + } + } + }, + "impactedRegion": { + "type": "object", + "description": "Object of impacted region.", + "properties": { + "id": { + "type": "string", + "description": "The impacted region id." + }, + "name": { + "type": "string", + "description": "The impacted region name." + } + } + }, + "eventImpactedResourceListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/eventImpactedResource" + }, + "description": "The list of eventImpactedResources." + }, + "nextLink": { + "type": "string", + "description": "The URI to fetch the next page of events. Call ListNext() with this URI to fetch the next page of impacted resource." + } + }, + "required": [ + "value" + ], + "description": "The List of eventImpactedResources operation response." + }, + "eventImpactedResource": { + "type": "object", + "description": "Impacted resource for an event.", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "type": "object", + "description": "Properties of impacted resource.", + "properties": { + "targetResourceType": { + "readOnly": true, + "type": "string", + "description": "Resource type within Microsoft cloud." + }, + "targetResourceId": { + "readOnly": true, + "type": "string", + "description": "Identity for resource within Microsoft cloud." + }, + "targetRegion": { + "readOnly": true, + "type": "string", + "description": "Impacted resource region name." + }, + "info": { + "type": "array", + "items": { + "$ref": "#/definitions/keyValueItem" + }, + "description": "Additional information.", + "x-ms-identifiers": [] + } + } + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ProxyResource" + } + ] + }, + "keyValueItem": { + "type": "object", + "description": "Key value tuple.", + "properties": { + "key": { + "readOnly": true, + "type": "string", + "description": "Key of tuple." + }, + "value": { + "readOnly": true, + "type": "string", + "description": "Value of tuple." + } + } + }, + "emergingIssueListResult": { + "description": "The list of emerging issues.", + "type": "object", + "properties": { + "value": { + "description": "The list of emerging issues.", + "type": "array", + "items": { + "$ref": "#/definitions/emergingIssuesGetResult" + } + }, + "nextLink": { + "description": "The link used to get the next page of emerging issues.", + "type": "string" + } + } + }, + "emergingIssuesGetResult": { + "description": "The Get EmergingIssues operation response.", + "type": "object", + "properties": { + "properties": { + "$ref": "#/definitions/emergingIssue", + "description": "The emerging issue entity properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/Resource" + } + ] + }, + "emergingIssue": { + "type": "object", + "description": "On-going emerging issue from azure status.", + "properties": { + "refreshTimestamp": { + "type": "string", + "description": "Timestamp for when last time refreshed for ongoing emerging issue.", + "format": "date-time" + }, + "statusBanners": { + "type": "array", + "items": { + "$ref": "#/definitions/statusBanner" + }, + "description": "The list of emerging issues of banner type.", + "x-ms-identifiers": [] + }, + "statusActiveEvents": { + "type": "array", + "items": { + "$ref": "#/definitions/statusActiveEvent" + }, + "description": "The list of emerging issues of active event type.", + "x-ms-identifiers": [] + } + } + }, + "statusActiveEvent": { + "type": "object", + "description": "Active event type of emerging issue.", + "properties": { + "title": { + "type": "string", + "description": "The active event title." + }, + "description": { + "type": "string", + "description": "The details of active event." + }, + "trackingId": { + "type": "string", + "description": "The tracking id of this active event." + }, + "startTime": { + "type": "string", + "description": "The impact start time on this active event.", + "format": "date-time" + }, + "cloud": { + "type": "string", + "description": "The cloud type of this active event." + }, + "severity": { + "type": "string", + "description": "The severity level of this active event.", + "enum": [ + "Information", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "SeverityValues", + "modelAsString": true + } + }, + "stage": { + "type": "string", + "description": "The stage of this active event.", + "enum": [ + "Active", + "Resolve", + "Archived" + ], + "x-ms-enum": { + "name": "StageValues", + "modelAsString": true + } + }, + "published": { + "type": "boolean", + "description": "The boolean value of this active event if published or not." + }, + "lastModifiedTime": { + "type": "string", + "description": "The last time modified on this banner.", + "format": "date-time" + }, + "impacts": { + "type": "array", + "items": { + "$ref": "#/definitions/emergingIssueImpact" + }, + "description": "The list of emerging issues impacts." + } + } + }, + "emergingIssueImpact": { + "type": "object", + "description": "Object of the emerging issue impact on services and regions.", + "properties": { + "id": { + "type": "string", + "description": "The impacted service id." + }, + "name": { + "type": "string", + "description": "The impacted service name." + }, + "regions": { + "type": "array", + "items": { + "$ref": "#/definitions/impactedRegion" + }, + "description": "The list of impacted regions for corresponding emerging issues." + } + } + }, + "ErrorResponse": { + "description": "Error details.", + "type": "object", + "properties": { + "code": { + "description": "The error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "The error message.", + "type": "string", + "readOnly": true + }, + "details": { + "description": "The error details.", + "type": "string", + "readOnly": true + } + } + } + }, + "parameters": { + "QueryStartTimeParameter": { + "name": "queryStartTime", + "in": "query", + "required": false, + "type": "string", + "description": "Specifies from when to return events, based on the lastUpdateTime property. For example, queryStartTime = 7/24/2020 OR queryStartTime=7%2F24%2F2020", + "x-ms-parameter-location": "method" + }, + "IssueNameParameter": { + "name": "issueName", + "in": "path", + "description": "The name of the emerging issue.", + "required": true, + "type": "string", + "enum": [ + "default" + ], + "x-ms-enum": { + "name": "IssueNameParameter", + "modelAsString": true + }, + "x-ms-parameter-location": "method" + }, + "ResourceGroupNameParameter": { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group.", + "x-ms-parameter-location": "method" + }, + "FilterParameter": { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "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", + "x-ms-parameter-location": "method" + }, + "ExpandParameter": { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "Setting $expand=recommendedactions in url query expands the recommendedactions in the response.", + "x-ms-parameter-location": "method" + }, + "EventTrackingIdParameter": { + "name": "eventTrackingId", + "in": "path", + "required": true, + "type": "string", + "description": "Event Id which uniquely identifies ServiceHealth event.", + "x-ms-parameter-location": "method" + }, + "ImpactedResourceNameParameter": { + "name": "impactedResourceName", + "in": "path", + "description": "Name of the Impacted Resource.", + "required": true, + "type": "string", + "pattern": "^[^*#&+:<>%?]+$", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatus_GetByResource.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatus_GetByResource.json new file mode 100644 index 000000000000..9cfb21ffc9d2 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatus_GetByResource.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "resourceUri": "resourceUri", + "api-version": "2022-10-01-preview", + "$expand": "recommendedactions" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.ClassicCompute/virtualMachines /rhctestenvV1PI/providers/Microsoft.ResourceHealth/availabilityStatuses/current", + "name": "current", + "type": "Microsoft.ResourceHealth/AvailabilityStatuses", + "location": "eastus", + "properties": { + "availabilityState": "Unavailable", + "title": "Unavailable", + "summary": "We're sorry, we couldn't automatically recover your virtual machine", + "reasonType": "Unplanned", + "context": "Platform Initiated", + "category": "Unplanned", + "reasonChronicity": "Persistent", + "detailedStatus": "Disk problems are preventing us from automatically recovering your virtual machine", + "occuredTime": "2016-03-29T09:12:00Z", + "reportedTime": "2016-05-04T14:11:29.7598931Z", + "rootCauseAttributionTime": "2016-03-29T09:13:00Z", + "resolutionETA": "2016-03-29T09:37:00Z", + "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" + } + ] + } + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_List.json new file mode 100644 index 000000000000..4b0cec167de6 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_List.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "resourceUri": "resourceUri", + "api-version": "2022-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.ClassicCompute/virtualMachines/rhctes tenvV1PI/providers/Microsoft.ResourceHealth/availabilityStatuses/current", + "name": "current", + "type": "Microsoft.ResourceHealth/AvailabilityStatuses", + "location": "eastus", + "properties": { + "availabilityState": "Unavailable", + "title": "Unavailable", + "summary": "We're sorry, we couldn't automatically recover your virtual machine", + "reasonType": "Unplanned", + "context": "Platform Initiated", + "category": "Unplanned", + "reasonChronicity": "Persistent", + "detailedStatus": "Disk problems are preventing us from automatically recovering your virtual machine", + "occuredTime": "2016-03-29T09:12:00Z", + "reportedTime": "2016-05-04T14:11:29.7598931Z", + "rootCauseAttributionTime": "2016-03-29T09:13:00Z", + "resolutionETA": "2016-03-29T09:37:00Z", + "serviceImpactingEvents": [ + { + "eventStartTime": "2016-05-02T19:23:13.7115125Z", + "eventStatusLastModifiedTime": "2016-05-02T19:27:04.9543491Z", + "correlationId": "b56d0180-2d6c-4f7b-b750-c1eca681874c", + "status": { + "value": "Resolved" + }, + "incidentProperties": { + "title": "Virtual Machines - West Europe [West Europe]", + "service": "Virtual Machines", + "region": "East US", + "incidentType": "outage" + } + } + ] + } + }, + { + "id": "/subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.ClassicCompute/virtualMachines/rhctes tenvV1PI/providers/Microsoft.ResourceHealth/availabilityStatuses/2016-03-28+16%3a23%3a00Z", + "name": "2016-03-28+16%3a23%3a00Z", + "type": "Microsoft.ResourceHealth/AvailabilityStatuses", + "location": "eastus", + "properties": { + "availabilityState": "Available", + "summary": "This virtual machine is running normally", + "reasonChronicity": "Persistent", + "detailedStatus": "There aren’t any known Azure platform problems affecting this virtual machine", + "occuredTime": "2016-03-28T16:23:00Z" + } + } + ] + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json new file mode 100644 index 000000000000..1a15aac04be9 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_ListByResourceGroup.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "resourceGroupName": "resourceGroupName", + "api-version": "2022-10-01-preview", + "$expand": "recommendedactions" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.ResourceHealth/AvailabilityStatueses/current", + "name": "current", + "type": "Microsoft.ResourceHealth/AvailabilityStatuses", + "location": "eastus", + "properties": { + "availabilityState": "Available", + "title": "Available", + "summary": "Vm is available", + "reasonType": "Unplanned", + "context": "Platform Initiated", + "category": "Unplanned", + "reasonChronicity": "Persistent", + "detailedStatus": "We have not seen any issues with your virtual machine", + "occuredTime": "2016-03-29T09:12:00Z", + "reportedTime": "2016-05-04T14:11:29.7598931Z", + "recentlyResolved": { + "unavailableOccuredTime": "2017-02-28T00:48:00Z", + "resolvedTime": "2017-02-28T00:49:00Z", + "unavailableSummary": "We are sorry your SQL database is unavailable" + }, + "recommendedActions": [ + { + "action": "To start this virtualmachine, open the resource blade and click Start", + "actionUrl": "<#ResourceBlade>", + "actionUrlText": "resourceblade" + } + ] + } + }, + { + "id": "/providers/Microsoft.ResourceHealth/AvailabilityStatueses/current", + "name": "current", + "type": "Microsoft.ResourceHealth/AvailabilityStatuses", + "location": "eastus", + "properties": { + "availabilityState": "Unavailable", + "title": "Unavailable", + "summary": "We are sorry, we couldn't automatically recovery our virtualmachine", + "reasonType": "Unplanned", + "reasonChronicity": "Persistent", + "detailedStatus": "Diskproblemsarepreventingusfromautomaticallyrecoveringyourvirtualmachine", + "occuredTime": "2016-03-29T09:12:00Z", + "reportedTime": "2016-05-04T14:11:29.7598931Z", + "rootCauseAttributionTime": "2016-03-29T09:13:00Z", + "resolutionETA": "2016-03-29T09:37:00Z", + "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" + } + ] + } + } + ], + "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json new file mode 100644 index 000000000000..2f2cac809139 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/AvailabilityStatuses_ListBySubscriptionId.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2022-10-01-preview", + "$expand": "recommendedactions" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.ResourceHealth/AvailabilityStatueses/current", + "name": "current", + "type": "Microsoft.ResourceHealth/AvailabilityStatuses", + "location": "eastus", + "properties": { + "availabilityState": "Available", + "title": "Available", + "summary": "Vm is available", + "reasonType": "Unplanned", + "reasonChronicity": "Persistent", + "context": "Platform Initiated", + "category": "Unplanned", + "detailedStatus": "We have not seen any issues with your virtual machine", + "occuredTime": "2016-03-29T09:12:00Z", + "reportedTime": "2016-05-04T14:11:29.7598931Z", + "recentlyResolved": { + "unavailableOccuredTime": "2017-02-28T00:48:00Z", + "resolvedTime": "2017-02-28T00:49:00Z", + "unavailableSummary": "We are sorry your SQL database is unavailable" + }, + "recommendedActions": [ + { + "action": "To start this virtualmachine, open the resource blade and click Start", + "actionUrl": "<#ResourceBlade>", + "actionUrlText": "resourceblade" + } + ] + } + }, + { + "id": "/providers/Microsoft.ResourceHealth/AvailabilityStatueses/current", + "name": "current", + "type": "Microsoft.ResourceHealth/AvailabilityStatuses", + "location": "eastus", + "properties": { + "availabilityState": "Unavailable", + "title": "Unavailable", + "summary": "We are sorry, we couldn't automatically recovery our virtualmachine", + "reasonType": "Unplanned", + "reasonChronicity": "Persistent", + "detailedStatus": "Diskproblemsarepreventingusfromautomaticallyrecoveringyourvirtualmachine", + "occuredTime": "2016-03-29T09:12:00Z", + "reportedTime": "2016-05-04T14:11:29.7598931Z", + "rootCauseAttributionTime": "2016-03-29T09:13:00Z", + "resolutionETA": "2016-03-29T09:37:00Z", + "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" + } + ] + } + } + ], + "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/EmergingIssues_Get.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/EmergingIssues_Get.json new file mode 100644 index 000000000000..6baddcabe607 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/EmergingIssues_Get.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "issueName": "default", + "api-version": "2022-10-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.ResourceHealth/emergingissues/default", + "type": "/providers/Microsoft.ResourceHealth/emergingissues", + "name": "default", + "properties": { + "refreshTimestamp": "2019-12-17T09:12:00Z", + "statusBanners": [ + { + "title": "Automatic updates to the dial tone page from ACM - banner", + "message": "Testing backup site", + "cloud": "Public", + "lastModifiedTime": "2019-12-15T08:04:00Z" + }, + { + "title": "Storage - West Europe", + "message": "A subset of customers using Storage in West Europe experienced service availability issues. In addition, resources with dependencies on the impacted storage scale units may have experienced downstream impact in the form of availability issues, connection failures, or high latency. Engineers are investigating the root cause.", + "cloud": "Public", + "lastModifiedTime": "2019-12-15T10:15:00Z" + } + ], + "statusActiveEvents": [ + { + "title": "Automatic updates to the dial tone page from ACM - SHD event", + "description": "Virtual Machines case", + "trackingId": "KTTK-TZ8", + "startTime": "2019-12-15T08:06:00Z", + "cloud": "Public", + "severity": "Information", + "stage": "Active", + "impacts": [ + { + "id": "virtual-machines", + "name": "Virtual Machines", + "regions": [ + { + "id": "us-central", + "name": "Central US" + }, + { + "id": "us-east", + "name": "East US" + } + ] + } + ], + "published": true, + "lastModifiedTime": "2019-12-15T08:10:00Z" + }, + { + "title": "Azure SQL Database - West Europe", + "description": "All Azure SQL service management requests (create, update, delete, etc.) are serviced through the SQL Control Plane infrastructure. Engineers determined that during this issue, the control plane service became unhealthy after receiving a significant increase in internally generated operations and reaching an operational threshold. This led to service management requests becoming unable to complete, which in-turn resulted in timeouts and throttling. Subsequent investigation by engineers determined this issue was due service requests from an internal Azure group that triggered a bug which caused an excessive number of internally generated operations.", + "trackingId": "4KHK-LS8", + "startTime": "2019-12-16T05:11:00Z", + "cloud": "Public", + "severity": "Error", + "stage": "Active", + "impacts": [ + { + "id": "sql-database", + "name": "SQL Database", + "regions": [ + { + "id": "europe-west", + "name": "West Europe" + } + ] + } + ], + "published": true, + "lastModifiedTime": "2019-12-16T05:11:00Z" + } + ] + } + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/EmergingIssues_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/EmergingIssues_List.json new file mode 100644 index 000000000000..447f1676aae0 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/EmergingIssues_List.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "id": "/providers/Microsoft.ResourceHealth/emergingissues/default", + "type": "/providers/Microsoft.ResourceHealth/emergingissues", + "name": "default", + "properties": { + "refreshTimestamp": "2019-12-17T09:12:00Z", + "statusBanners": [ + { + "title": "Automatic updates to the dial tone page from ACM - banner", + "message": "Testing backup site", + "cloud": "Public", + "lastModifiedTime": "2019-12-15T08:04:00Z" + }, + { + "title": "Storage - West Europe", + "message": "A subset of customers using Storage in West Europe experienced service availability issues. In addition, resources with dependencies on the impacted storage scale units may have experienced downstream impact in the form of availability issues, connection failures, or high latency. Engineers are investigating the root cause.", + "cloud": "Public", + "lastModifiedTime": "2019-12-15T10:15:00Z" + } + ], + "statusActiveEvents": [ + { + "title": "Automatic updates to the dial tone page from ACM - SHD event", + "description": "Virtual Machines case", + "trackingId": "KTTK-TZ8", + "startTime": "2019-12-15T08:06:00Z", + "cloud": "Public", + "severity": "Information", + "stage": "Active", + "impacts": [ + { + "id": "virtual-machines", + "name": "Virtual Machines", + "regions": [ + { + "id": "us-central", + "name": "Central US" + }, + { + "id": "us-east", + "name": "East US" + } + ] + } + ], + "published": true, + "lastModifiedTime": "2019-12-15T08:10:00Z" + }, + { + "title": "Azure SQL Database - West Europe", + "description": "All Azure SQL service management requests (create, update, delete, etc.) are serviced through the SQL Control Plane infrastructure. Engineers determined that during this issue, the control plane service became unhealthy after receiving a significant increase in internally generated operations and reaching an operational threshold. This led to service management requests becoming unable to complete, which in-turn resulted in timeouts and throttling. Subsequent investigation by engineers determined this issue was due service requests from an internal Azure group that triggered a bug which caused an excessive number of internally generated operations.", + "trackingId": "4KHK-LS8", + "startTime": "2019-12-16T05:11:00Z", + "cloud": "Public", + "severity": "Error", + "stage": "Active", + "impacts": [ + { + "id": "sql-database", + "name": "SQL Database", + "regions": [ + { + "id": "europe-west", + "name": "West Europe" + } + ] + } + ], + "published": true, + "lastModifiedTime": "2019-12-16T05:11:00Z" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Event_GetBySubscriptionIdAndTrackingId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Event_GetBySubscriptionIdAndTrackingId.json new file mode 100644 index 000000000000..3eff32c798cc --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Event_GetBySubscriptionIdAndTrackingId.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "eventTrackingId": "eventTrackingId", + "api-version": "2022-10-01-preview", + "$filter": "properties/status eq 'Active'", + "queryStartTime": "7/10/2022" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}", + "name": "{eventTrackingId}", + "type": "/providers/Microsoft.ResourceHealth/events", + "properties": { + "eventType": "ServiceIssue", + "eventSource": "ResourceHealth", + "status": "Active", + "title": "ACTIVE: Virtual machines in West US", + "summary": "An outage alert is being investigated. More information will be provided as it is known.", + "header": "Your service might have been impacted by an Azure service issue", + "article": { + "articleContent": "An outage alert is being investigated. More information will be provided as it is known" + }, + "links": [ + { + "type": "Hyperlink", + "displayText": { + "value": "Request RCA", + "localizedValue": "Request RCA" + }, + "extensionName": "Microsoft_Azure_Health", + "bladeName": "RequestRCABlade", + "parameters": { + "trackingId": "{eventTrackingId}", + "rcaRequested": "False" + } + }, + { + "type": "Button", + "displayText": { + "value": "Sign up for updates", + "localizedValue": "Sign up for updates" + }, + "extensionName": "Microsoft_Azure_Health", + "bladeName": "AzureHealthBrowseBlade", + "parameters": { + "trackingId": "{eventTrackingId}" + } + } + ], + "level": "Warning", + "eventLevel": "Informational", + "impactStartTime": "2018-11-07T00:00:00Z", + "impactMitigationTime": "2018-11-08T00:00:00Z", + "impact": [ + { + "impactedService": "Virtual Machines", + "impactedRegions": [ + { + "impactedRegion": "West US", + "status": "Active", + "impactedSubscriptions": [ + "{subscriptionId}" + ], + "impactedTenants": [], + "lastUpdateTime": "2017-12-05T21:05:00Z" + } + ] + } + ], + "recommendedActions": { + "message": "Recommended actions title", + "actions": [ + { + "groupId": 23243, + "actionText": "action 1" + }, + { + "groupId": 23432, + "actionText": "action 2" + } + ], + "localeCode": "en" + }, + "faqs": [ + { + "question": "This is a question", + "answer": "This is an answer", + "localeCode": "en" + } + ], + "isHIR": false, + "enableMicrosoftSupport": true, + "enableChatWithUs": false, + "priority": 2, + "lastUpdateTime": "2018-11-08T00:00:00Z", + "hirStage": "resolved" + } + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Event_GetByTenantIdAndTrackingId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Event_GetByTenantIdAndTrackingId.json new file mode 100644 index 000000000000..9daeeaa130a2 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Event_GetByTenantIdAndTrackingId.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "eventTrackingId": "eventTrackingId", + "api-version": "2022-10-01-preview", + "$filter": "properties/status eq 'Active'", + "queryStartTime": "7/10/2022" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}", + "name": "{eventTrackingId}", + "type": "/providers/Microsoft.ResourceHealth/events", + "properties": { + "eventType": "ServiceIssue", + "eventSource": "ResourceHealth", + "status": "Active", + "title": "ACTIVE: Virtual machines in West US", + "summary": "An outage alert is being investigated. More information will be provided as it is known.", + "header": "Your service might have been impacted by an Azure service issue", + "article": { + "articleContent": "An outage alert is being investigated. More information will be provided as it is known" + }, + "links": [ + { + "type": "Hyperlink", + "displayText": { + "value": "Request RCA", + "localizedValue": "Request RCA" + }, + "extensionName": "Microsoft_Azure_Health", + "bladeName": "RequestRCABlade", + "parameters": { + "trackingId": "{eventTrackingId}", + "rcaRequested": "False" + } + }, + { + "type": "Button", + "displayText": { + "value": "Sign up for updates", + "localizedValue": "Sign up for updates" + }, + "extensionName": "Microsoft_Azure_Health", + "bladeName": "AzureHealthBrowseBlade", + "parameters": { + "trackingId": "{eventTrackingId}" + } + } + ], + "level": "Warning", + "eventLevel": "Informational", + "impactStartTime": "2018-11-07T00:00:00Z", + "impactMitigationTime": "2018-11-08T00:00:00Z", + "impact": [ + { + "impactedService": "Virtual Machines", + "impactedRegions": [ + { + "impactedRegion": "West US", + "status": "Active", + "impactedSubscriptions": [], + "impactedTenants": [ + "00000000-0000-0000-0000-000000000000" + ], + "lastUpdateTime": "2017-12-05T21:05:00Z" + } + ] + } + ], + "recommendedActions": { + "message": "Recommended actions title", + "actions": [ + { + "groupId": 23243, + "actionText": "action 1" + }, + { + "groupId": 23432, + "actionText": "action 2" + } + ], + "localeCode": "en" + }, + "faqs": [ + { + "question": "This is a question", + "answer": "This is an answer", + "localeCode": "en" + } + ], + "isHIR": false, + "enableMicrosoftSupport": true, + "enableChatWithUs": false, + "priority": 2, + "lastUpdateTime": "2018-11-08T00:00:00Z", + "hirStage": "resolved" + } + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Event_fetchDetailsBySubscriptionIdAndTrackingId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Event_fetchDetailsBySubscriptionIdAndTrackingId.json new file mode 100644 index 000000000000..6c57fdefab07 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Event_fetchDetailsBySubscriptionIdAndTrackingId.json @@ -0,0 +1,101 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "eventTrackingId": "eventTrackingId", + "api-version": "2022-10-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}", + "name": "{eventTrackingId}", + "type": "/providers/Microsoft.ResourceHealth/events", + "properties": { + "eventType": "ServiceIssue", + "eventSource": "ResourceHealth", + "status": "Active", + "title": "ACTIVE: Virtual machines in West US", + "summary": "An outage alert is being investigated. More information will be provided as it is known.", + "header": "Your service might have been impacted by an Azure service issue", + "article": { + "articleContent": "An outage alert is being investigated. More information will be provided as it is known" + }, + "links": [ + { + "type": "Hyperlink", + "displayText": { + "value": "Request RCA", + "localizedValue": "Request RCA" + }, + "extensionName": "Microsoft_Azure_Health", + "bladeName": "RequestRCABlade", + "parameters": { + "trackingId": "{eventTrackingId}", + "rcaRequested": "False" + } + }, + { + "type": "Button", + "displayText": { + "value": "Sign up for updates", + "localizedValue": "Sign up for updates" + }, + "extensionName": "Microsoft_Azure_Health", + "bladeName": "AzureHealthBrowseBlade", + "parameters": { + "trackingId": "{eventTrackingId}" + } + } + ], + "level": "Warning", + "eventLevel": "Informational", + "impactStartTime": "2018-11-07T00:00:00Z", + "impactMitigationTime": "2018-11-08T00:00:00Z", + "impact": [ + { + "impactedService": "Virtual Machines", + "impactedRegions": [ + { + "impactedRegion": "West US", + "status": "Active", + "impactedSubscriptions": [ + "{subscriptionId}" + ], + "impactedTenants": [], + "lastUpdateTime": "2017-12-05T21:05:00Z" + } + ] + } + ], + "recommendedActions": { + "message": "Recommended actions title", + "actions": [ + { + "groupId": 23243, + "actionText": "action 1" + }, + { + "groupId": 23432, + "actionText": "action 2" + } + ], + "localeCode": "en" + }, + "faqs": [ + { + "question": "This is a question", + "answer": "This is an answer", + "localeCode": "en" + } + ], + "isHIR": false, + "enableMicrosoftSupport": true, + "enableChatWithUs": false, + "priority": 2, + "lastUpdateTime": "2018-11-08T00:00:00Z", + "hirStage": "resolved" + } + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Event_fetchDetailsByTenantIdAndTrackingId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Event_fetchDetailsByTenantIdAndTrackingId.json new file mode 100644 index 000000000000..f295dc51f913 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Event_fetchDetailsByTenantIdAndTrackingId.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "eventTrackingId": "eventTrackingId", + "api-version": "2022-10-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.ResourceHealth/events/{eventTrackingId}", + "name": "{eventTrackingId}", + "type": "/providers/Microsoft.ResourceHealth/events", + "properties": { + "eventType": "ServiceIssue", + "eventSource": "ResourceHealth", + "status": "Active", + "title": "ACTIVE: Virtual machines in West US", + "summary": "An outage alert is being investigated. More information will be provided as it is known.", + "header": "Your service might have been impacted by an Azure service issue", + "article": { + "articleContent": "An outage alert is being investigated. More information will be provided as it is known" + }, + "links": [ + { + "type": "Hyperlink", + "displayText": { + "value": "Request RCA", + "localizedValue": "Request RCA" + }, + "extensionName": "Microsoft_Azure_Health", + "bladeName": "RequestRCABlade", + "parameters": { + "trackingId": "{eventTrackingId}", + "rcaRequested": "False" + } + }, + { + "type": "Button", + "displayText": { + "value": "Sign up for updates", + "localizedValue": "Sign up for updates" + }, + "extensionName": "Microsoft_Azure_Health", + "bladeName": "AzureHealthBrowseBlade", + "parameters": { + "trackingId": "{eventTrackingId}" + } + } + ], + "level": "Warning", + "eventLevel": "Informational", + "impactStartTime": "2018-11-07T00:00:00Z", + "impactMitigationTime": "2018-11-08T00:00:00Z", + "impact": [ + { + "impactedService": "Virtual Machines", + "impactedRegions": [ + { + "impactedRegion": "West US", + "status": "Active", + "impactedSubscriptions": [], + "impactedTenants": [ + "00000000-0000-0000-0000-000000000000" + ], + "lastUpdateTime": "2017-12-05T21:05:00Z" + } + ] + } + ], + "recommendedActions": { + "message": "Recommended actions title", + "actions": [ + { + "groupId": 23243, + "actionText": "action 1" + }, + { + "groupId": 23432, + "actionText": "action 2" + } + ], + "localeCode": "en" + }, + "faqs": [ + { + "question": "This is a question", + "answer": "This is an answer", + "localeCode": "en" + } + ], + "isHIR": false, + "enableMicrosoftSupport": true, + "enableChatWithUs": false, + "priority": 2, + "lastUpdateTime": "2018-11-08T00:00:00Z", + "hirStage": "resolved" + } + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Events_ListBySingleResource.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Events_ListBySingleResource.json new file mode 100644 index 000000000000..86c9a831891e --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Events_ListBySingleResource.json @@ -0,0 +1,104 @@ +{ + "parameters": { + "resourceUri": "subscriptions/4abcdefgh-ijkl-mnop-qrstuvwxyz/resourceGroups/rhctestenv/providers/Microsoft.Compute/virtualMachines/rhctestenvV1PI", + "api-version": "2022-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.ResourceHealth/events/BC_1-FXZ", + "name": "BC_1-FXZ", + "type": "/providers/Microsoft.ResourceHealth/events", + "properties": { + "eventType": "ServiceIssue", + "eventSource": "ResourceHealth", + "status": "Active", + "title": "ACTIVE: Virtual machines in West US", + "summary": "An outage alert is being investigated. More information will be provided as it is known.", + "header": "Your service might have been impacted by an Azure service issue", + "article": { + "articleContent": "An outage alert is being investigated. More information will be provided as it is known" + }, + "links": [ + { + "type": "Hyperlink", + "displayText": { + "value": "Request RCA", + "localizedValue": "Request RCA" + }, + "extensionName": "Microsoft_Azure_Health", + "bladeName": "RequestRCABlade", + "parameters": { + "trackingId": "BC_1-FXZ", + "rcaRequested": "False" + } + }, + { + "type": "Button", + "displayText": { + "value": "Sign up for updates", + "localizedValue": "Sign up for updates" + }, + "extensionName": "Microsoft_Azure_Health", + "bladeName": "AzureHealthBrowseBlade", + "parameters": { + "trackingId": "BC_1-FXZ" + } + } + ], + "level": "Warning", + "eventLevel": "Informational", + "impactStartTime": "2018-11-07T00:00:00Z", + "impactMitigationTime": "2018-11-08T00:00:00Z", + "impact": [ + { + "impactedService": "Virtual Machines", + "impactedRegions": [ + { + "impactedRegion": "West US", + "status": "Active", + "impactedSubscriptions": [ + "{subscriptionId}" + ], + "lastUpdateTime": "2017-12-05T21:05:00Z" + } + ] + } + ], + "recommendedActions": { + "message": "Recommended actions title", + "actions": [ + { + "groupId": 23243, + "actionText": "action 1" + }, + { + "groupId": 23432, + "actionText": "action 2" + } + ], + "localeCode": "en" + }, + "faqs": [ + { + "question": "This is a question", + "answer": "This is an answer", + "localeCode": "en" + } + ], + "isHIR": false, + "enableMicrosoftSupport": true, + "enableChatWithUs": false, + "priority": 2, + "lastUpdateTime": "2018-11-08T00:00:00Z", + "hirStage": "active" + } + } + ], + "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Events_ListBySubscriptionId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Events_ListBySubscriptionId.json new file mode 100644 index 000000000000..101b074a2051 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Events_ListBySubscriptionId.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "api-version": "2022-10-01-preview", + "$filter": "service eq 'Virtual Machines' or region eq 'West US'", + "queryStartTime": "7/24/2020" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.ResourceHealth/events/BC_1-FXZ", + "name": "BC_1-FXZ", + "type": "/providers/Microsoft.ResourceHealth/events", + "properties": { + "eventType": "ServiceIssue", + "eventSource": "ResourceHealth", + "status": "Active", + "title": "ACTIVE: Virtual machines in West US", + "summary": "An outage alert is being investigated. More information will be provided as it is known.", + "header": "Your service might have been impacted by an Azure service issue", + "article": { + "articleContent": "An outage alert is being investigated. More information will be provided as it is known" + }, + "links": [ + { + "type": "Hyperlink", + "displayText": { + "value": "Request RCA", + "localizedValue": "Request RCA" + }, + "extensionName": "Microsoft_Azure_Health", + "bladeName": "RequestRCABlade", + "parameters": { + "trackingId": "BC_1-FXZ", + "rcaRequested": "False" + } + }, + { + "type": "Button", + "displayText": { + "value": "Sign up for updates", + "localizedValue": "Sign up for updates" + }, + "extensionName": "Microsoft_Azure_Health", + "bladeName": "AzureHealthBrowseBlade", + "parameters": { + "trackingId": "BC_1-FXZ" + } + } + ], + "level": "Warning", + "eventLevel": "Informational", + "impactStartTime": "2018-11-07T00:00:00Z", + "impactMitigationTime": "2018-11-08T00:00:00Z", + "impact": [ + { + "impactedService": "Virtual Machines", + "impactedRegions": [ + { + "impactedRegion": "West US", + "status": "Active", + "impactedSubscriptions": [ + "{subscriptionId}" + ], + "impactedTenants": [], + "lastUpdateTime": "2017-12-05T21:05:00Z" + } + ] + } + ], + "recommendedActions": { + "message": "Recommended actions title", + "actions": [ + { + "groupId": 23243, + "actionText": "action 1" + }, + { + "groupId": 23432, + "actionText": "action 2" + } + ], + "localeCode": "en" + }, + "faqs": [ + { + "question": "This is a question", + "answer": "This is an answer", + "localeCode": "en" + } + ], + "isHIR": false, + "enableMicrosoftSupport": true, + "enableChatWithUs": false, + "priority": 2, + "lastUpdateTime": "2018-11-08T00:00:00Z", + "hirStage": "resolved" + } + } + ], + "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Events_ListByTenantId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Events_ListByTenantId.json new file mode 100644 index 000000000000..18e8e8f3dd59 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Events_ListByTenantId.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview", + "$filter": "service eq 'Virtual Machines' or region eq 'West US'", + "queryStartTime": "7/24/2020" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.ResourceHealth/events/BC_1-FXZ", + "name": "BC_1-FXZ", + "type": "/providers/Microsoft.ResourceHealth/events", + "properties": { + "eventType": "ServiceIssue", + "eventSource": "ServiceHealth", + "status": "Active", + "title": "ACTIVE: Virtual machines in West US", + "summary": "An outage alert is being investigated. More information will be provided as it is known.", + "header": "Your service might have been impacted by an Azure service issue", + "article": { + "articleContent": "An outage alert is being investigated. More information will be provided as it is known" + }, + "links": [ + { + "type": "Hyperlink", + "displayText": { + "value": "Request RCA", + "localizedValue": "Request RCA" + }, + "extensionName": "Microsoft_Azure_Health", + "bladeName": "RequestRCABlade", + "parameters": { + "trackingId": "BC_1-FXZ", + "rcaRequested": "False" + } + }, + { + "type": "Button", + "displayText": { + "value": "Sign up for updates", + "localizedValue": "Sign up for updates" + }, + "extensionName": "Microsoft_Azure_Health", + "bladeName": "AzureHealthBrowseBlade", + "parameters": { + "trackingId": "BC_1-FXZ" + } + } + ], + "level": "Warning", + "eventLevel": "Informational", + "impactStartTime": "2018-11-07T00:00:00Z", + "impactMitigationTime": "2018-11-08T00:00:00Z", + "impact": [ + { + "impactedService": "Virtual Machines", + "impactedRegions": [ + { + "impactedRegion": "West US", + "status": "Active", + "impactedSubscriptions": [], + "impactedTenants": [ + "00000000-0000-0000-0000-000000000000" + ], + "lastUpdateTime": "2017-12-05T21:05:00Z" + } + ] + } + ], + "recommendedActions": { + "message": "Recommended actions title", + "actions": [ + { + "groupId": 23243, + "actionText": "action 1" + }, + { + "groupId": 23432, + "actionText": "action 2" + } + ], + "localeCode": "en" + }, + "faqs": [ + { + "question": "This is a question", + "answer": "This is an answer", + "localeCode": "en" + } + ], + "isHIR": false, + "enableMicrosoftSupport": true, + "enableChatWithUs": false, + "priority": 2, + "lastUpdateTime": "2018-11-08T00:00:00Z", + "hirStage": "resolved" + } + } + ], + "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/ImpactedResources_Get.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/ImpactedResources_Get.json new file mode 100644 index 000000000000..6ba11fb3b685 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/ImpactedResources_Get.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "eventTrackingId": "BC_1-FXZ", + "impactedResourceName": "abc-123-ghj-456", + "api-version": "2022-10-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscripitionId}/providers/Microsoft.ResourceHealth/events/BC_1-FXZ/impactedResources/abc-123-ghj-456", + "name": "abc-123-ghj-456", + "type": "Microsoft.ResourceHealth/events/impactedResources", + "properties": { + "targetResourceType": "Microsoft.Compute/VirtualMachines", + "targetResourceId": "/subscriptions/4970d23e-ed41-4670-9c19-02a1d2808dd9/resourceGroups/TEST/providers/Microsoft.Compute/virtualMachines/testvm", + "targetRegion": "westus" + } + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/ImpactedResources_GetByTenantId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/ImpactedResources_GetByTenantId.json new file mode 100644 index 000000000000..22583f13829f --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/ImpactedResources_GetByTenantId.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "eventTrackingId": "BC_1-FXZ", + "impactedResourceName": "abc-123-ghj-456", + "api-version": "2022-10-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "providers/Microsoft.ResourceHealth/events/BC_1-FXZ/impactedResources/abc-123-ghj-456", + "name": "abc-123-ghj-456", + "type": "Microsoft.ResourceHealth/events/impactedResources", + "properties": { + "targetResourceType": "Microsoft.Compute/VirtualMachines", + "targetResourceId": "{resourceId}", + "targetRegion": "westus" + } + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/ImpactedResources_ListBySubscriptionId_ListByEventId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/ImpactedResources_ListBySubscriptionId_ListByEventId.json new file mode 100644 index 000000000000..3000875fbb88 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/ImpactedResources_ListBySubscriptionId_ListByEventId.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "eventTrackingId": "BC_1-FXZ", + "api-version": "2022-10-01-preview", + "$filter": "targetRegion eq 'westus'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscripitionId}/providers/Microsoft.ResourceHealth/events/BC_1-FXZ/impactedResources/abc-123-ghj-456", + "name": "abc-123-ghj-456", + "type": "Microsoft.ResourceHealth/events/impactedResources", + "properties": { + "targetResourceType": "Microsoft.Compute/VirtualMachines", + "targetResourceId": "/subscriptions/4970d23e-ed41-4670-9c19-02a1d2808dd9/resourceGroups/TEST/providers/Microsoft.Compute/virtualMachines/testvm", + "targetRegion": "westus" + } + }, + { + "id": "/subscriptions/{subscripitionId}/providers/Microsoft.ResourceHealth/events/BC_1-FXZ/impactedResources/jkl-901-hgy-445", + "name": "jkl-901-hgy-445", + "type": "Microsoft.ResourceHealth/events/impactedResources", + "properties": { + "info": [ + { + "key": "ContainerGrp", + "value": "xyz" + }, + { + "key": "UserGuid", + "value": "guid" + }, + { + "key": "AplicationID", + "value": "Abc" + }, + { + "key": "UserPrincipalObjectId", + "value": "def" + } + ] + } + }, + { + "id": "/subscriptions/{subscripitionId}/providers/Microsoft.ResourceHealth/events/BC_1-FXZ/impactedResources/wer-345-tyu-789", + "name": "wer-345-tyu-789", + "type": "Microsoft.ResourceHealth/events/impactedResources", + "properties": { + "targetResourceType": "Microsoft.Compute/VirtualMachines", + "targetResourceId": "/subscriptions/4970d23e-ed41-4670-9c19-02a1d2808dd9/resourceGroups/Dev2/providers/Microsoft.Compute/virtualMachines/testvm2", + "targetRegion": "westus" + } + } + ], + "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/ImpactedResources_ListByTenantId_ListByEventId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/ImpactedResources_ListByTenantId_ListByEventId.json new file mode 100644 index 000000000000..f2712e8edc5b --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/ImpactedResources_ListByTenantId_ListByEventId.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "eventTrackingId": "BC_1-FXZ", + "api-version": "2022-10-01-preview", + "$filter": "targetRegion eq 'westus'" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.ResourceHealth/events/BC_1-FXZ/impactedResources/abc-123-ghj-456", + "name": "abc-123-ghj-456", + "type": "Microsoft.ResourceHealth/events/impactedResources", + "properties": { + "targetResourceType": "Microsoft.Compute/VirtualMachines", + "targetResourceId": "{resourceId-1}", + "targetRegion": "westus" + } + }, + { + "id": "/providers/Microsoft.ResourceHealth/events/BC_1-FXZ/impactedResources/wer-345-tyu-789", + "name": "wer-345-tyu-789", + "type": "Microsoft.ResourceHealth/events/impactedResources", + "properties": { + "targetResourceType": "Microsoft.Compute/VirtualMachines", + "targetResourceId": "{resourceId-2}", + "targetRegion": "westus" + } + } + ], + "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Metadata_GetEntity.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Metadata_GetEntity.json new file mode 100644 index 000000000000..79ff76701198 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Metadata_GetEntity.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "name": "status", + "api-version": "2022-10-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.ResourceHealth/metadata/status", + "type": "Microsoft.ResourceHealth/metadata", + "name": "status", + "properties": { + "displayName": "Status", + "applicableScenarios": [ + "Alerts" + ], + "supportedValues": [ + { + "id": "Active", + "displayName": "Active" + }, + { + "id": "Resolved", + "displayName": "Resolved" + }, + { + "id": "In Progress", + "displayName": "In Progress" + }, + { + "id": "Updated", + "displayName": "Updated" + } + ] + } + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Metadata_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Metadata_List.json new file mode 100644 index 000000000000..22f7914d0007 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Metadata_List.json @@ -0,0 +1,1945 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview" + }, + "responses": { + "200": { + "body": { + "nextLink": "string", + "value": [ + { + "id": "/providers/Microsoft.ResourceHealth/metadata/status", + "type": "Microsoft.ResourceHealth/metadata", + "name": "status", + "properties": { + "displayName": "Status", + "applicableScenarios": [ + "Alerts" + ], + "supportedValues": [ + { + "id": "Active", + "displayName": "Active" + }, + { + "id": "Resolved", + "displayName": "Resolved" + }, + { + "id": "In Progress", + "displayName": "In Progress" + }, + { + "id": "Updated", + "displayName": "Updated" + } + ] + } + }, + { + "id": "/providers/Microsoft.ResourceHealth/metadata/level", + "type": "Microsoft.ResourceHealth/metadata", + "name": "level", + "properties": { + "displayName": "Level", + "applicableScenarios": [ + "Alerts" + ], + "supportedValues": [ + { + "id": "Informational", + "displayName": "Informational" + }, + { + "id": "Critical", + "displayName": "Critical" + } + ] + } + }, + { + "id": "/providers/Microsoft.ResourceHealth/metadata/cause", + "type": "Microsoft.ResourceHealth/metadata", + "name": "cause", + "properties": { + "displayName": "Cause", + "applicableScenarios": [ + "Alerts" + ], + "supportedValues": [ + { + "id": "PlatformInitiated", + "displayName": "Platform Initiated" + }, + { + "id": "UserInitiated", + "displayName": "User Initiated" + }, + { + "id": "Unknown", + "displayName": "Unknown" + } + ] + } + }, + { + "id": "/providers/Microsoft.ResourceHealth/metadata/previousHealthStatus", + "type": "Microsoft.ResourceHealth/metadata", + "name": "previousHealthStatus", + "properties": { + "displayName": "Previous Health Status", + "applicableScenarios": [ + "Alerts" + ], + "supportedValues": [ + { + "id": "Available", + "displayName": "Available" + }, + { + "id": "Unavailable", + "displayName": "Unavailable" + }, + { + "id": "Degraded", + "displayName": "Degraded" + }, + { + "id": "Unknown", + "displayName": "Unknown" + } + ] + } + }, + { + "id": "/providers/Microsoft.ResourceHealth/metadata/currentHealthStatus", + "type": "Microsoft.ResourceHealth/metadata", + "name": "currentHealthStatus", + "properties": { + "displayName": "Current Health Status", + "applicableScenarios": [ + "Alerts" + ], + "supportedValues": [ + { + "id": "Available", + "displayName": "Available" + }, + { + "id": "Unavailable", + "displayName": "Unavailable" + }, + { + "id": "Degraded", + "displayName": "Degraded" + }, + { + "id": "Unknown", + "displayName": "Unknown" + } + ] + } + }, + { + "id": "/providers/Microsoft.ResourceHealth/metadata/supportedResourceType", + "type": "Microsoft.ResourceHealth/metadata", + "name": "supportedResourceType", + "properties": { + "displayName": "Supported Resource Type", + "supportedValues": [ + { + "id": "Microsoft.AnalysisServices/servers", + "displayName": "Analysis Services" + }, + { + "id": "Microsoft.ApiManagement/service", + "displayName": "API Management service" + }, + { + "id": "Microsoft.AppPlatform/Spring", + "displayName": "Microsoft.AppPlatform/Spring" + }, + { + "id": "Microsoft.Kusto/Clusters", + "displayName": "Azure Data Explorer Cluster" + }, + { + "id": "Microsoft.Kusto/clusters/databases/dataconnections", + "displayName": "Azure Data Explorer Data Connection" + }, + { + "id": "microsoft.fluidrelay/fluidrelayservers", + "displayName": "microsoft.fluidrelay/fluidrelayservers" + }, + { + "id": "microsoft.ContainerService/managedClusters", + "displayName": "AKS cluster" + }, + { + "id": "Microsoft.Dashboard/grafana", + "displayName": "Microsoft.Dashboard/grafana" + }, + { + "id": "Microsoft.Purview/accounts", + "displayName": "Azure Purview" + }, + { + "id": "Microsoft.SignalRService/SignalR", + "displayName": "Microsoft.SignalRService/SignalR" + }, + { + "id": "Microsoft.SignalRService/WebPubSub", + "displayName": "Microsoft.SignalRService/WebPubSub" + }, + { + "id": "Microsoft.Batch/batchAccounts", + "displayName": "Batch account" + }, + { + "id": "Microsoft.Cache/Redis", + "displayName": "Redis cache" + }, + { + "id": "Microsoft.Cdn/profiles", + "displayName": "Cdn profile" + }, + { + "id": "Microsoft.ClassicCompute/DomainNames", + "displayName": "Cloud services (classic)" + }, + { + "id": "Microsoft.ClassicCompute/virtualMachines", + "displayName": "Virtual machine (classic)" + }, + { + "id": "Microsoft.CognitiveServices/accounts", + "displayName": "Cognitive Services account" + }, + { + "id": "Microsoft.Compute/hostGroups/hosts", + "displayName": "Azure Dedicated Host" + }, + { + "id": "Microsoft.Compute/virtualMachines", + "displayName": "Virtual machine" + }, + { + "id": "Microsoft.Compute/virtualMachineScaleSets", + "displayName": "Virtual machine scale sets" + }, + { + "id": "microsoft.connectedvmwarevsphere/vcenters", + "displayName": "microsoft.connectedvmwarevsphere/vcenters" + }, + { + "id": "Microsoft.DataFactory/factories", + "displayName": "Data factory" + }, + { + "id": "Microsoft.DataLakeAnalytics/accounts", + "displayName": "Data Lake Analytics account" + }, + { + "id": "Microsoft.DataLakeStore/accounts", + "displayName": "Data Lake Store account" + }, + { + "id": "Microsoft.DataMigration/services", + "displayName": "Azure Database Migration Service" + }, + { + "id": "Microsoft.DataProtection/BackupVaults", + "displayName": "Microsoft.DataProtection/BackupVaults" + }, + { + "id": "Microsoft.DataShare/accounts", + "displayName": "Azure Data Share account" + }, + { + "id": "Microsoft.DBforMariaDB/servers", + "displayName": "Azure Database for MariaDB servers" + }, + { + "id": "Microsoft.DBforMySQL/flexibleServers", + "displayName": "Azure Database for MySQL flexible servers" + }, + { + "id": "Microsoft.DBforMySQL/servers", + "displayName": "Azure Database for MySQL servers" + }, + { + "id": "Microsoft.DBforPostgreSQL/flexibleservers", + "displayName": "Azure Database for PostgreSQL Flexible Server" + }, + { + "id": "Microsoft.DBforPostgreSQL/servers", + "displayName": "Azure Database for PostgreSQL servers" + }, + { + "id": "Microsoft.DBforPostgreSQL/serverGroupsv2", + "displayName": "Microsoft.DBforPostgreSQL/serverGroupsv2" + }, + { + "id": "Microsoft.Devices/IotHubs", + "displayName": "IoT Hub" + }, + { + "id": "Microsoft.DigitalTwins/DigitalTwinsInstances", + "displayName": "Azure Digital Twins" + }, + { + "id": "Microsoft.Documentdb/databaseaccounts", + "displayName": "Cosmos DB" + }, + { + "id": "Microsoft.EventHub/namespaces", + "displayName": "Event Hub" + }, + { + "id": "Microsoft.ExtendedLocation/customLocations", + "displayName": "Microsoft.ExtendedLocation/customLocations" + }, + { + "id": "Microsoft.HdInsight/clusters", + "displayName": "HDInsight clusters" + }, + { + "id": "Microsoft.HybridCompute/machines", + "displayName": "Azure Arc enabled servers" + }, + { + "id": "Microsoft.HybridNetwork/devices", + "displayName": "Microsoft.HybridNetwork/devices" + }, + { + "id": "Microsoft.HybridNetwork/networkFunctions", + "displayName": "Microsoft.HybridNetwork/networkFunctions" + }, + { + "id": "Microsoft.IoTCentral/IoTApps", + "displayName": "IoT Central Application" + }, + { + "id": "Microsoft.KeyVault/vaults", + "displayName": "Key vault" + }, + { + "id": "Microsoft.Kubernetes/connectedClusters", + "displayName": "Azure Arc enabled Kubernetes" + }, + { + "id": "Microsoft.MachineLearning/webServices", + "displayName": "Machine Learning Studio web services" + }, + { + "id": "Microsoft.media/mediaservices", + "displayName": "Media service" + }, + { + "id": "Microsoft.Network/applicationGateways", + "displayName": "Application Gateway" + }, + { + "id": "Microsoft.Network/bastionHosts", + "displayName": "Microsoft.Network/bastionHosts" + }, + { + "id": "Microsoft.Network/Connections", + "displayName": "VPN Connection" + }, + { + "id": "Microsoft.Network/dnsResolvers/inboundEndpoints", + "displayName": "Microsoft.Network/dnsResolvers/inboundEndpoints" + }, + { + "id": "Microsoft.Network/dnsResolvers", + "displayName": "Microsoft.Network/dnsResolvers" + }, + { + "id": "Microsoft.Network/dnsResolvers/outboundEndpoints", + "displayName": "Microsoft.Network/dnsResolvers/outboundEndpoints" + }, + { + "id": "Microsoft.Network/dnszones", + "displayName": "Microsoft.Network/dnszones" + }, + { + "id": "Microsoft.Network/expressRouteCircuits", + "displayName": "ExpressRoute circuit" + }, + { + "id": "Microsoft.Network/ExpressRouteGateways", + "displayName": "Express RouteGateways" + }, + { + "id": "Microsoft.Network/frontdoors", + "displayName": "Front Door" + }, + { + "id": "Microsoft.Network/LoadBalancers", + "displayName": "Load balancer" + }, + { + "id": "Microsoft.Network/NATGateways", + "displayName": "Microsoft.Network/NATGateways" + }, + { + "id": "Microsoft.Network/trafficmanagerprofiles", + "displayName": "Traffic Manager profile" + }, + { + "id": "Microsoft.Network/virtualNetworkGateways", + "displayName": "VPN Gateway" + }, + { + "id": "Microsoft.NotificationHubs/Namespaces", + "displayName": "Notification Hub namespace" + }, + { + "id": "Microsoft.OperationalInsights/workspaces", + "displayName": "Log Analytics workspace" + }, + { + "id": "Microsoft.PowerBIDedicated/capacities", + "displayName": "Power BI Embedded" + }, + { + "id": "Microsoft.RecoveryServices/vaults", + "displayName": "Microsoft.RecoveryServices/vaults" + }, + { + "id": "Microsoft.ResourceConnector/appliances", + "displayName": "Microsoft.ResourceConnector/appliances" + }, + { + "id": "Microsoft.Search/searchServices", + "displayName": "Search service" + }, + { + "id": "Microsoft.ServiceBus/namespaces", + "displayName": "Service Bus" + }, + { + "id": "Microsoft.ServiceFabric/clusters", + "displayName": "Service Fabric cluster" + }, + { + "id": "Microsoft.ServiceFabric/managedClusters", + "displayName": "Microsoft.ServiceFabric/managedClusters" + }, + { + "id": "Microsoft.Sql/managedInstances/databases", + "displayName": "Managed database" + }, + { + "id": "Microsoft.Sql/managedInstances", + "displayName": "Managed instance" + }, + { + "id": "Microsoft.Sql/servers/databases", + "displayName": "SQL database" + }, + { + "id": "Microsoft.Storage/storageAccounts", + "displayName": "Storage account" + }, + { + "id": "Microsoft.StorageCache/caches", + "displayName": "Microsoft.StorageCache/caches" + }, + { + "id": "Microsoft.StreamAnalytics/streamingjobs", + "displayName": "Stream Analytics job" + }, + { + "id": "Microsoft.Synapse/workspaces", + "displayName": "Microsoft.Synapse/workspaces" + }, + { + "id": "Microsoft.Web/serverFarms", + "displayName": "App Service plan" + }, + { + "id": "Microsoft.Web/sites", + "displayName": "Website" + } + ] + } + }, + { + "id": "/providers/Microsoft.ResourceHealth/metadata/supportedEventTypes", + "type": "Microsoft.ResourceHealth/metadata", + "name": "supportedEventTypes", + "properties": { + "displayName": "Supported Service Health Event Types", + "supportedValues": [ + { + "id": "Maintenance", + "displayName": "Planned Maintenance" + }, + { + "id": "Informational", + "displayName": "Health Advisories" + }, + { + "id": "Security", + "displayName": "Security Advisories" + }, + { + "id": "ActionRequired", + "displayName": "Health Advisories" + }, + { + "id": "Incident", + "displayName": "Service Issue" + } + ] + } + }, + { + "id": "/providers/Microsoft.ResourceHealth/metadata/supportedServices", + "type": "Microsoft.ResourceHealth/metadata", + "name": "supportedServices", + "properties": { + "displayName": "Supported Service Health Services", + "supportedValues": [ + { + "id": "API Management", + "displayName": "API Management", + "resourceTypes": [ + "microsoft.apimanagement/service" + ] + }, + { + "id": "Action Groups", + "displayName": "Action Groups", + "resourceTypes": [ + "microsoft.insights/actiongroups", + "microsoft.alertsmanagement/alerts" + ] + }, + { + "id": "Activity Logs & Alerts", + "displayName": "Activity Logs & Alerts", + "resourceTypes": [ + "microsoft.insights/alertrules", + "microsoft.insights/activitylogalerts", + "microsoft.alertsmanagement/alerts" + ] + }, + { + "id": "Advisor", + "displayName": "Advisor", + "resourceTypes": [] + }, + { + "id": "Alerts", + "displayName": "Alerts", + "resourceTypes": [ + "microsoft.insights/alertrules", + "microsoft.insights/activitylogalerts", + "microsoft.insights/metricalerts", + "microsoft.insights/scheduledqueryrules", + "microsoft.insights/actiongroups", + "microsoft.alertsmanagement/alerts", + "microsoft.alertsmanagement/actionrules", + "microsoft.alertsmanagement/smartdetectoralertrules" + ] + }, + { + "id": "Alerts & Metrics", + "displayName": "Alerts & Metrics", + "resourceTypes": [ + "microsoft.insights/alertrules", + "microsoft.insights/metricalerts", + "microsoft.alertsmanagement/alerts" + ] + }, + { + "id": "App Service", + "displayName": "App Service", + "resourceTypes": [ + "microsoft.web/sites" + ] + }, + { + "id": "App Service (Linux)", + "displayName": "App Service (Linux)", + "resourceTypes": [ + "microsoft.web/sites" + ] + }, + { + "id": "App Service (Linux) \\ Web App for Containers", + "displayName": "App Service (Linux) \\ Web App for Containers", + "resourceTypes": [ + "microsoft.web/sites" + ] + }, + { + "id": "App Service (Linux) \\ Web Apps", + "displayName": "App Service (Linux) \\ Web Apps", + "resourceTypes": [ + "microsoft.web/sites" + ] + }, + { + "id": "App Service \\ Web Apps", + "displayName": "App Service \\ Web Apps", + "resourceTypes": [ + "microsoft.web/sites" + ] + }, + { + "id": "Application Gateway", + "displayName": "Application Gateway", + "resourceTypes": [ + "microsoft.network/applicationgateways" + ] + }, + { + "id": "Application Insights", + "displayName": "Application Insights", + "resourceTypes": [ + "microsoft.insights/components" + ] + }, + { + "id": "AutoScale", + "displayName": "AutoScale", + "resourceTypes": [ + "microsoft.insights/autoscalesettings" + ] + }, + { + "id": "Automation", + "displayName": "Automation", + "resourceTypes": [ + "microsoft.automation/automationaccounts", + "microsoft.automation/automationaccounts/runbooks", + "microsoft.automation/automationaccounts/jobs" + ] + }, + { + "id": "Azure Active Directory", + "displayName": "Azure Active Directory", + "resourceTypes": [] + }, + { + "id": "Azure Active Directory B2C", + "displayName": "Azure Active Directory B2C", + "resourceTypes": [] + }, + { + "id": "Azure Active Directory Domain Services", + "displayName": "Azure Active Directory Domain Services", + "resourceTypes": [ + "microsoft.aad/domainservices" + ] + }, + { + "id": "Azure Active Directory \\ Enterprise State Roaming", + "displayName": "Azure Active Directory \\ Enterprise State Roaming", + "resourceTypes": [] + }, + { + "id": "Azure Analysis Services", + "displayName": "Azure Analysis Services", + "resourceTypes": [ + "microsoft.analysisservices/servers" + ] + }, + { + "id": "Azure API for FHIR", + "displayName": "Azure API for FHIR", + "resourceTypes": [ + "Microsoft.HealthcareApis/services" + ] + }, + { + "id": "Azure App Configuration", + "displayName": "Azure App Configuration", + "resourceTypes": [] + }, + { + "id": "Azure Applied AI Services", + "displayName": "Azure Applied AI Services", + "resourceTypes": [] + }, + { + "id": "Azure Arc enabled Kubernetes", + "displayName": "Azure Arc enabled Kubernetes", + "resourceTypes": [ + "microsoft.kubernetes/connectedclusters" + ] + }, + { + "id": "Azure Arc enabled data services", + "displayName": "Azure Arc enabled data services", + "resourceTypes": [] + }, + { + "id": "Azure Arc enabled servers", + "displayName": "Azure Arc enabled servers", + "resourceTypes": [ + "microsoft.hybridcompute/machines" + ] + }, + { + "id": "Azure Bastion", + "displayName": "Azure Bastion", + "resourceTypes": [ + "microsoft.network/bastionhosts" + ] + }, + { + "id": "Azure Blueprints", + "displayName": "Azure Blueprints", + "resourceTypes": [] + }, + { + "id": "Azure Bot Service", + "displayName": "Azure Bot Service", + "resourceTypes": [ + "microsoft.botservice/botservices" + ] + }, + { + "id": "Azure Chaos Studio", + "displayName": "Azure Chaos Studio", + "resourceTypes": [] + }, + { + "id": "Azure Communication Services", + "displayName": "Azure Communication Services", + "resourceTypes": [ + "microsoft.communication/communicationservices" + ] + }, + { + "id": "Azure Container Apps", + "displayName": "Azure Container Apps", + "resourceTypes": [] + }, + { + "id": "Azure Container Registry", + "displayName": "Azure Container Registry", + "resourceTypes": [ + "microsoft.containerregistry/registries" + ] + }, + { + "id": "Azure Container Service", + "displayName": "Azure Container Service", + "resourceTypes": [ + "microsoft.containerservice/managedclusters" + ] + }, + { + "id": "Azure Cosmos DB", + "displayName": "Azure Cosmos DB", + "resourceTypes": [ + "microsoft.documentdb/databaseaccounts" + ] + }, + { + "id": "Azure Cosmos DB for PostgreSQL", + "displayName": "Azure Cosmos DB for PostgreSQL", + "resourceTypes": [ + "microsoft.dbforpostgresql/servergroupsv2" + ] + }, + { + "id": "Azure DDoS Protection", + "displayName": "Azure DDoS Protection", + "resourceTypes": [] + }, + { + "id": "Azure DNS", + "displayName": "Azure DNS", + "resourceTypes": [ + "microsoft.network/dnszones" + ] + }, + { + "id": "Azure Data Explorer", + "displayName": "Azure Data Explorer", + "resourceTypes": [ + "microsoft.kusto/clusters", + "microsoft.kusto/clusters/databases/dataconnections" + ] + }, + { + "id": "Azure Data Lake Storage Gen1", + "displayName": "Azure Data Lake Storage Gen1", + "resourceTypes": [ + "microsoft.datalakestore/accounts" + ] + }, + { + "id": "Azure Data Lake Storage Gen2", + "displayName": "Azure Data Lake Storage Gen2", + "resourceTypes": [ + "microsoft.datalakestore/accounts" + ] + }, + { + "id": "Azure Data Share", + "displayName": "Azure Data Share", + "resourceTypes": [ + "microsoft.datashare/accounts", + "microsoft.datashare/shares", + "microsoft.datashare/sharesubscriptions", + "microsoft.datashare/datasets", + "microsoft.datashare/datasetmappings", + "microsoft.datashare/invitations" + ] + }, + { + "id": "Azure Database for MySQL", + "displayName": "Azure Database for MySQL", + "resourceTypes": [ + "microsoft.dbformysql/servers" + ] + }, + { + "id": "Azure Database for MySQL flexible servers", + "displayName": "Azure Database for MySQL flexible servers", + "resourceTypes": [ + "microsoft.dbformysql/flexibleservers" + ] + }, + { + "id": "Azure Database for PostgreSQL", + "displayName": "Azure Database for PostgreSQL", + "resourceTypes": [ + "microsoft.dbforpostgresql/servers" + ] + }, + { + "id": "Azure Database for PostgreSQL flexible servers", + "displayName": "Azure Database for PostgreSQL flexible servers", + "resourceTypes": [ + "microsoft.dbforpostgresql/flexibleservers" + ] + }, + { + "id": "Azure Database Migration Service", + "displayName": "Azure Database Migration Service", + "resourceTypes": [ + "Microsoft.DataMigration/services" + ] + }, + { + "id": "Azure Databricks", + "displayName": "Azure Databricks", + "resourceTypes": [ + "microsoft.databricks/workspaces" + ] + }, + { + "id": "Azure Dedicated Host", + "displayName": "Azure Dedicated Host", + "resourceTypes": [ + "microsoft.compute/hostgroups/hosts" + ] + }, + { + "id": "Azure DevOps", + "displayName": "Azure DevOps", + "resourceTypes": [] + }, + { + "id": "Azure DevOps \\ Artifacts", + "displayName": "Azure DevOps \\ Artifacts", + "resourceTypes": [] + }, + { + "id": "Azure DevOps \\ Boards", + "displayName": "Azure DevOps \\ Boards", + "resourceTypes": [] + }, + { + "id": "Azure DevOps \\ Pipelines", + "displayName": "Azure DevOps \\ Pipelines", + "resourceTypes": [] + }, + { + "id": "Azure DevOps \\ Repos", + "displayName": "Azure DevOps \\ Repos", + "resourceTypes": [] + }, + { + "id": "Azure DevOps \\ Test Plans", + "displayName": "Azure DevOps \\ Test Plans", + "resourceTypes": [] + }, + { + "id": "Azure DevTest Labs", + "displayName": "Azure DevTest Labs", + "resourceTypes": [ + "microsoft.devtestlab/labs" + ] + }, + { + "id": "Azure Digital Twins", + "displayName": "Azure Digital Twins", + "resourceTypes": [ + "microsoft.digitaltwins/digitaltwinsinstances" + ] + }, + { + "id": "Azure FarmBeats", + "displayName": "Azure FarmBeats", + "resourceTypes": [] + }, + { + "id": "Azure File Sync", + "displayName": "Azure File Sync", + "resourceTypes": [] + }, + { + "id": "Azure Firewall", + "displayName": "Azure Firewall", + "resourceTypes": [ + "microsoft.network/azurefirewalls" + ] + }, + { + "id": "Azure Firewall Manager", + "displayName": "Azure Firewall Manager", + "resourceTypes": [ + "microsoft.network/firewallpolicies" + ] + }, + { + "id": "Azure Fluid Relay", + "displayName": "Azure Fluid Relay", + "resourceTypes": [ + "microsoft.fluidrelay/fluidrelayservers" + ] + }, + { + "id": "Azure Frontdoor", + "displayName": "Azure Frontdoor", + "resourceTypes": [ + "microsoft.network/frontdoors" + ] + }, + { + "id": "Azure Health Data Services", + "displayName": "Azure Health Data Services", + "resourceTypes": [] + }, + { + "id": "Azure HPC Cache", + "displayName": "Azure HPC Cache", + "resourceTypes": [ + "microsoft.storagecache/caches" + ] + }, + { + "id": "Azure Information Protection", + "displayName": "Azure Information Protection", + "resourceTypes": [] + }, + { + "id": "Azure Immersive Reader", + "displayName": "Azure Immersive Reader", + "resourceTypes": [] + }, + { + "id": "Azure IoT Hub", + "displayName": "Azure IoT Hub", + "resourceTypes": [ + "microsoft.devices/iothubs" + ] + }, + { + "id": "Azure Key Vault Managed HSM", + "displayName": "Azure Key Vault Managed HSM", + "resourceTypes": [] + }, + { + "id": "Azure Kubernetes Service (AKS)", + "displayName": "Azure Kubernetes Service (AKS)", + "resourceTypes": [ + "microsoft.containerservice/managedclusters" + ] + }, + { + "id": "Azure Kubernetes Service On Azure Stack HCI", + "displayName": "Azure Kubernetes Service On Azure Stack HCI", + "resourceTypes": [] + }, + { + "id": "Azure Lab Services", + "displayName": "Azure Lab Services", + "resourceTypes": [] + }, + { + "id": "Azure Load Testing", + "displayName": "Azure Load Testing", + "resourceTypes": [] + }, + { + "id": "Azure Managed Applications", + "displayName": "Azure Managed Applications", + "resourceTypes": [] + }, + { + "id": "Azure Managed Instance for Apache Cassandra", + "displayName": "Azure Managed Instance for Apache Cassandra", + "resourceTypes": [] + }, + { + "id": "Azure Maps", + "displayName": "Azure Maps", + "resourceTypes": [ + "microsoft.maps/accounts" + ] + }, + { + "id": "Azure Migrate", + "displayName": "Azure Migrate", + "resourceTypes": [ + "microsoft.migrate/migrateprojects" + ] + }, + { + "id": "Azure Monitor", + "displayName": "Azure Monitor", + "resourceTypes": [ + "microsoft.alertsmanagement/alerts", + "microsoft.insights/scheduledqueryrules" + ] + }, + { + "id": "Azure Netapp Files", + "displayName": "Azure Netapp Files", + "resourceTypes": [ + "microsoft.netapp/netappaccounts" + ] + }, + { + "id": "Azure Network Function Manager - Device", + "displayName": "Azure Network Function Manager - Device", + "resourceTypes": [ + "microsoft.hybridnetwork/devices" + ] + }, + { + "id": "Azure Network Function Manager - Network Function", + "displayName": "Azure Network Function Manager - Network Function", + "resourceTypes": [ + "microsoft.hybridnetwork/networkfunctions" + ] + }, + { + "id": "Azure OpenAI Service", + "displayName": "Azure OpenAI Service", + "resourceTypes": [] + }, + { + "id": "Azure Open Datasets", + "displayName": "Azure Open Datasets", + "resourceTypes": [] + }, + { + "id": "Azure Orbital", + "displayName": "Azure Orbital", + "resourceTypes": [] + }, + { + "id": "Azure Peering Service", + "displayName": "Azure Peering Service", + "resourceTypes": [ + "microsoft.peering/peeringservices" + ] + }, + { + "id": "Azure Policy", + "displayName": "Azure Policy", + "resourceTypes": [] + }, + { + "id": "Azure Private 5G Core", + "displayName": "Azure Private 5G Core", + "resourceTypes": [] + }, + { + "id": "Azure Private Link", + "displayName": "Azure Private Link", + "resourceTypes": [ + "microsoft.network/privateendpoints", + "microsoft.network/privatelinkservices" + ] + }, + { + "id": "Azure Purview", + "displayName": "Azure Purview", + "resourceTypes": [ + "microsoft.purview/accounts" + ] + }, + { + "id": "Azure Quantum", + "displayName": "Azure Quantum", + "resourceTypes": [] + }, + { + "id": "Azure Red Hat OpenShift", + "displayName": "Azure Red Hat OpenShift", + "resourceTypes": [] + }, + { + "id": "Azure Reservations", + "displayName": "Azure Reservations", + "resourceTypes": [] + }, + { + "id": "Azure Resource Manager", + "displayName": "Azure Resource Manager", + "resourceTypes": [] + }, + { + "id": "Azure Resource Mover", + "displayName": "Azure Resource Mover", + "resourceTypes": [ + "microsoft.migrate/movecollections" + ] + }, + { + "id": "Azure Search", + "displayName": "Azure Search", + "resourceTypes": [ + "microsoft.search/searchservices" + ] + }, + { + "id": "Azure Sentinel", + "displayName": "Azure Sentinel", + "resourceTypes": [] + }, + { + "id": "Azure Metrics Advisor", + "displayName": "Azure Metrics Advisor", + "resourceTypes": [] + }, + { + "id": "Azure SignalR Service", + "displayName": "Azure SignalR Service", + "resourceTypes": [ + "microsoft.signalrservice/signalr" + ] + }, + { + "id": "Azure Spatial Anchors", + "displayName": "Azure Spatial Anchors", + "resourceTypes": [ + "microsoft.mixedreality/spatialanchorsaccounts" + ] + }, + { + "id": "Azure Sphere", + "displayName": "Azure Sphere", + "resourceTypes": [] + }, + { + "id": "Azure Spring Cloud", + "displayName": "Azure Spring Cloud", + "resourceTypes": [ + "microsoft.appplatform/spring" + ] + }, + { + "id": "Azure SQL Migration extension for Azure Data Studio powered by Azure Database Migration Service", + "displayName": "Azure SQL Migration extension for Azure Data Studio powered by Azure Database Migration Service", + "resourceTypes": [ + "microsoft.datamigration/sqlmigrationservices" + ] + }, + { + "id": "Azure Stack", + "displayName": "Azure Stack", + "resourceTypes": [] + }, + { + "id": "Azure Stack Edge", + "displayName": "Azure Stack Edge", + "resourceTypes": [] + }, + { + "id": "Azure Stack HCI", + "displayName": "Azure Stack HCI", + "resourceTypes": [ + "microsoft.azurestackhci/clusters" + ] + }, + { + "id": "Azure Static Web Apps", + "displayName": "Azure Static Web Apps", + "resourceTypes": [ + "microsoft.web/staticsites" + ] + }, + { + "id": "Azure Synapse Analytics", + "displayName": "Azure Synapse Analytics", + "resourceTypes": [ + "microsoft.sql/servers", + "microsoft.synapse/workspaces" + ] + }, + { + "id": "Azure Video Analyzer", + "displayName": "Azure Video Analyzer", + "resourceTypes": [] + }, + { + "id": "Azure Video Analyzer For Media", + "displayName": "Azure Video Analyzer For Media", + "resourceTypes": [] + }, + { + "id": "Azure VMware Solution", + "displayName": "Azure VMware Solution", + "resourceTypes": [ + "microsoft.avs/privateclouds", + "microsoft.avs/privateclouds/clusters" + ] + }, + { + "id": "Azure VMware Solution by CloudSimple", + "displayName": "Azure VMware Solution by CloudSimple", + "resourceTypes": [] + }, + { + "id": "Azure Web PubSub", + "displayName": "Azure Web PubSub", + "resourceTypes": [] + }, + { + "id": "Recovery Services vault", + "displayName": "Recovery Services vault", + "resourceTypes": [ + "microsoft.recoveryservices/vaults" + ] + }, + { + "id": "Backup vault", + "displayName": "Backup vault", + "resourceTypes": [ + "microsoft.dataprotection/backupvaults" + ] + }, + { + "id": "Batch", + "displayName": "Batch", + "resourceTypes": [ + "microsoft.batch/batchaccounts" + ] + }, + { + "id": "BareMetal Infrastructure", + "displayName": "BareMetal Infrastructure", + "resourceTypes": [ + "microsoft.baremetalinfrastructure/baremetalinstances" + ] + }, + { + "id": "CDN", + "displayName": "CDN", + "resourceTypes": [ + "microsoft.cdn/profiles" + ] + }, + { + "id": "Change Analysis", + "displayName": "Change Analysis", + "resourceTypes": [] + }, + { + "id": "Cloud Services", + "displayName": "Cloud Services", + "resourceTypes": [ + "microsoft.classiccompute/domainnames", + "microsoft.compute/domainnames" + ] + }, + { + "id": "Cloud Shell", + "displayName": "Cloud Shell", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Anomaly Detector", + "displayName": "Cognitive Services \\ Anomaly Detector\"", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Azure Metrics Advisor", + "displayName": "Cognitive Services \\ Azure Metrics Advisor", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Bing Autosuggest API", + "displayName": "Cognitive Services \\ Bing Autosuggest API", + "resourceTypes": [ + "microsoft.cognitiveservices/accounts" + ] + }, + { + "id": "Cognitive Services \\ Bing Search API", + "displayName": "Cognitive Services \\ Bing Search API", + "resourceTypes": [ + "microsoft.cognitiveservices/accounts" + ] + }, + { + "id": "Cognitive Services \\ Bing Speech API", + "displayName": "Cognitive Services \\ Bing Speech API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Bing Spell Check API", + "displayName": "Cognitive Services \\ Bing Spell Check API", + "resourceTypes": [ + "microsoft.cognitiveservices/accounts" + ] + }, + { + "id": "Cognitive Services \\ Bing Video Search API", + "displayName": "Cognitive Services \\ Bing Video Search API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Bing Visual Search API", + "displayName": "Cognitive Services \\ Bing Visual Search API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Bing Web Search API", + "displayName": "Cognitive Services \\ Bing Web Search API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Computer Vision API", + "displayName": "Cognitive Services \\ Computer Vision API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Content Moderator API", + "displayName": "Cognitive Services \\ Content Moderator API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Custom Vision API", + "displayName": "Cognitive Services \\ Custom Vision API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Face API", + "displayName": "Cognitive Services \\ Face API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Form Recognizer API", + "displayName": "Cognitive Services \\ Form Recognizer API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Azure Form Recognizer", + "displayName": "Cognitive Services \\ Azure Form Recognizer", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Image Search API", + "displayName": "Cognitive Services \\ Image Search API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Language Understanding (LUIS)", + "displayName": "Cognitive Services \\ Language Understanding (LUIS)", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ News Search API", + "displayName": "Cognitive Services \\ News Search API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Personalizer API", + "displayName": "Cognitive Services \\ Personalizer API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ QnA Maker API", + "displayName": "Cognitive Services \\ QnA Maker API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Speech Services API", + "displayName": "Cognitive Services \\ Speech Services API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Speaker Recognition API", + "displayName": "Cognitive Services \\ Speaker Recognition API", + "resourceTypes": [] + }, + { + "id": "Cognitive Services \\ Text Analytics API", + "displayName": "Cognitive Services \\ Text Analytics API", + "resourceTypes": [ + "microsoft.cognitiveservices/accounts" + ] + }, + { + "id": "Cognitive Services \\ Translator Speech API", + "displayName": "Cognitive Services \\ Translator Speech API", + "resourceTypes": [ + "microsoft.cognitiveservices/accounts" + ] + }, + { + "id": "Cognitive Services \\ Translator Text API", + "displayName": "Cognitive Services \\ Translator Text API", + "resourceTypes": [ + "microsoft.cognitiveservices/accounts" + ] + }, + { + "id": "Container Instances", + "displayName": "Container Instances", + "resourceTypes": [ + "microsoft.containerinstance/containergroups" + ] + }, + { + "id": "Container Registry", + "displayName": "Container Registry", + "resourceTypes": [ + "microsoft.containerregistry/registries" + ] + }, + { + "id": "Cost Management", + "displayName": "Cost Management", + "resourceTypes": [] + }, + { + "id": "Data Catalog", + "displayName": "Data Catalog", + "resourceTypes": [ + "microsoft.datacatalog/catalogs" + ] + }, + { + "id": "Data Factory", + "displayName": "Data Factory", + "resourceTypes": [ + "microsoft.datafactory/datafactories" + ] + }, + { + "id": "Data Factory V1", + "displayName": "Data Factory V1", + "resourceTypes": [ + "microsoft.datafactory/datafactories" + ] + }, + { + "id": "Data Factory V2", + "displayName": "Data Factory V2", + "resourceTypes": [ + "microsoft.datafactory/factories" + ] + }, + { + "id": "Data Factory V2 \\ SSIS Integration Runtime", + "displayName": "Data Factory V2 \\ SSIS Integration Runtime", + "resourceTypes": [ + "microsoft.datafactory/factories" + ] + }, + { + "id": "Data Factory \\ Azure Integration Runtime", + "displayName": "Data Factory \\ Azure Integration Runtime", + "resourceTypes": [ + "microsoft.datafactory/datafactories" + ] + }, + { + "id": "Data Lake Analytics", + "displayName": "Data Lake Analytics", + "resourceTypes": [ + "microsoft.datalakeanalytics/accounts", + "microsoft.datalakeanalytics/accounts/storageaccounts" + ] + }, + { + "id": "Diagnostic Logs", + "displayName": "Diagnostic Logs", + "resourceTypes": [] + }, + { + "id": "Event Grid", + "displayName": "Event Grid", + "resourceTypes": [ + "microsoft.eventgrid/topics" + ] + }, + { + "id": "Event Hubs", + "displayName": "Event Hubs", + "resourceTypes": [ + "microsoft.eventhub/namespaces" + ] + }, + { + "id": "ExpressRoute", + "displayName": "ExpressRoute", + "resourceTypes": [ + "microsoft.network/expressroutecircuits" + ] + }, + { + "id": "ExpressRoute \\ ExpressRoute Circuits", + "displayName": "ExpressRoute \\ ExpressRoute Circuits", + "resourceTypes": [ + "microsoft.network/expressroutecircuits" + ] + }, + { + "id": "ExpressRoute \\ ExpressRoute Gateways", + "displayName": "ExpressRoute \\ ExpressRoute Gateways", + "resourceTypes": [] + }, + { + "id": "Functions", + "displayName": "Functions", + "resourceTypes": [ + "microsoft.web/sites" + ] + }, + { + "id": "HDInsight", + "displayName": "HDInsight", + "resourceTypes": [ + "microsoft.hdinsight/clusters" + ] + }, + { + "id": "Health Bot", + "displayName": "Health Bot", + "resourceTypes": [] + }, + { + "id": "HockeyApp", + "displayName": "HockeyApp", + "resourceTypes": [] + }, + { + "id": "Internet Analyzer", + "displayName": "Internet Analyzer", + "resourceTypes": [ + "microsoft.network/networkexperiment" + ] + }, + { + "id": "IoT Central", + "displayName": "IoT Central", + "resourceTypes": [ + "microsoft.iotcentral/iotapps" + ] + }, + { + "id": "IoT Hub \\ IoT Hub Device Provisioning Service", + "displayName": "IoT Hub \\ IoT Hub Device Provisioning Service", + "resourceTypes": [] + }, + { + "id": "Key Vault", + "displayName": "Key Vault", + "resourceTypes": [ + "microsoft.keyvault/vaults" + ] + }, + { + "id": "Load Balancer", + "displayName": "Load Balancer", + "resourceTypes": [ + "microsoft.network/loadbalancers" + ] + }, + { + "id": "Log Analytics", + "displayName": "Log Analytics", + "resourceTypes": [ + "microsoft.operationalinsights/workspaces" + ] + }, + { + "id": "Logic Apps", + "displayName": "Logic Apps", + "resourceTypes": [ + "microsoft.logic/workflows" + ] + }, + { + "id": "Machine Learning Services", + "displayName": "Machine Learning Services", + "resourceTypes": [ + "microsoft.machinelearning/workspaces", + "microsoft.machinelearning/commitmentplans", + "microsoft.machinelearning/webservices" + ] + }, + { + "id": "Machine Learning Services \\ Machine Learning Experimentation Service", + "displayName": "Machine Learning Services \\ Machine Learning Experimentation Service", + "resourceTypes": [] + }, + { + "id": "Machine Learning Services \\ Machine Learning Model Management", + "displayName": "Machine Learning Services \\ Machine Learning Model Management", + "resourceTypes": [] + }, + { + "id": "Machine Learning Studio", + "displayName": "Machine Learning Studio", + "resourceTypes": [] + }, + { + "id": "MariaDB", + "displayName": "MariaDB", + "resourceTypes": [ + "microsoft.dbformariadb/servers" + ] + }, + { + "id": "Marketplace", + "displayName": "Marketplace", + "resourceTypes": [] + }, + { + "id": "Media Services \\ Encoding", + "displayName": "Media Services \\ Encoding", + "resourceTypes": [ + "microsoft.media/mediaservices" + ] + }, + { + "id": "Media Services \\ Streaming", + "displayName": "Media Services \\ Streaming", + "resourceTypes": [ + "microsoft.media/mediaservices" + ] + }, + { + "id": "Microsoft Azure Attestation", + "displayName": "Microsoft Azure Attestation", + "resourceTypes": [] + }, + { + "id": "Microsoft Azure portal", + "displayName": "Microsoft Azure portal", + "resourceTypes": [] + }, + { + "id": "Microsoft Azure portal \\ Marketplace", + "displayName": "Microsoft Azure portal \\ Marketplace", + "resourceTypes": [] + }, + { + "id": "Microsoft Defender for Cloud", + "displayName": "Microsoft Defender for Cloud", + "resourceTypes": [] + }, + { + "id": "Microsoft Defender for IoT", + "displayName": "Microsoft Defender for IoT", + "resourceTypes": [] + }, + { + "id": "Microsoft Entra Permissions Management", + "displayName": "Microsoft Entra Permissions Management", + "resourceTypes": [] + }, + { + "id": "Microsoft Genomics", + "displayName": "Microsoft Genomics", + "resourceTypes": [] + }, + { + "id": "Mobile Engagement", + "displayName": "Mobile Engagement", + "resourceTypes": [] + }, + { + "id": "Multi-Factor Authentication", + "displayName": "Multi-Factor Authentication", + "resourceTypes": [] + }, + { + "id": "Network Infrastructure", + "displayName": "Network Infrastructure", + "resourceTypes": [] + }, + { + "id": "Network Watcher", + "displayName": "Network Watcher", + "resourceTypes": [] + }, + { + "id": "Notification Hubs", + "displayName": "Notification Hubs", + "resourceTypes": [ + "microsoft.notificationhubs/namespaces" + ] + }, + { + "id": "Power BI Embedded", + "displayName": "Power BI Embedded", + "resourceTypes": [ + "microsoft.powerbi/workspacecollections", + "microsoft.powerbidedicated/capacities" + ] + }, + { + "id": "Redis Cache", + "displayName": "Redis Cache", + "resourceTypes": [ + "microsoft.cache/redis" + ] + }, + { + "id": "Remote Rendering", + "displayName": "Remote Rendering", + "resourceTypes": [ + "microsoft.mixedreality/remoterenderingaccounts" + ] + }, + { + "id": "SAP HANA on Azure Large Instances", + "displayName": "SAP HANA on Azure Large Instances", + "resourceTypes": [ + "microsoft.hanaonazure/hanainstances" + ] + }, + { + "id": "SQL Data Warehouse", + "displayName": "SQL Data Warehouse", + "resourceTypes": [ + "microsoft.sql/servers/databases" + ] + }, + { + "id": "SQL Database", + "displayName": "SQL Database", + "resourceTypes": [ + "microsoft.sql/servers", + "microsoft.sql/servers/databases", + "microsoft.sql/servers/elasticpools" + ] + }, + { + "id": "SQL Managed Instance", + "displayName": "SQL Managed Instance", + "resourceTypes": [ + "microsoft.sql/managedinstances/databases", + "microsoft.sql/managedinstances" + ] + }, + { + "id": "SQL Server on Azure Virtual Machines", + "displayName": "SQL Server on Azure Virtual Machines", + "resourceTypes": [ + "microsoft.sqlvirtualmachine/sqlvirtualmachines" + ] + }, + { + "id": "SQL Server Stretch Database", + "displayName": "SQL Server Stretch Database", + "resourceTypes": [] + }, + { + "id": "Scheduler", + "displayName": "Scheduler", + "resourceTypes": [ + "microsoft.scheduler/jobcollections" + ] + }, + { + "id": "Security Center", + "displayName": "Security Center", + "resourceTypes": [] + }, + { + "id": "Service Bus", + "displayName": "Service Bus", + "resourceTypes": [ + "microsoft.servicebus/namespaces" + ] + }, + { + "id": "Service Fabric", + "displayName": "Service Fabric", + "resourceTypes": [ + "microsoft.servicefabric/clusters" + ] + }, + { + "id": "Site Recovery", + "displayName": "Site Recovery", + "resourceTypes": [ + "microsoft.recoveryservices/vaults" + ] + }, + { + "id": "StorSimple", + "displayName": "StorSimple", + "resourceTypes": [ + "microsoft.storsimple/managers", + "microsoft.storsimplebvtd2/managers" + ] + }, + { + "id": "Storage", + "displayName": "Storage", + "resourceTypes": [ + "microsoft.classicstorage/storageaccounts", + "microsoft.storage/storageaccounts" + ] + }, + { + "id": "Stream Analytics", + "displayName": "Stream Analytics", + "resourceTypes": [ + "microsoft.streamanalytics/streamingjobs" + ] + }, + { + "id": "Subscription Management", + "displayName": "Subscription Management", + "resourceTypes": [] + }, + { + "id": "Time Series Insights", + "displayName": "Time Series Insights", + "resourceTypes": [] + }, + { + "id": "Traffic Manager", + "displayName": "Traffic Manager", + "resourceTypes": [ + "microsoft.network/trafficmanagerprofiles" + ] + }, + { + "id": "VPN Gateway", + "displayName": "VPN Gateway", + "resourceTypes": [ + "microsoft.network/virtualnetworkgateways", + "microsoft.network/connections" + ] + }, + { + "id": "VPN Gateway \\ Virtual WAN", + "displayName": "VPN Gateway \\ Virtual WAN", + "resourceTypes": [] + }, + { + "id": "Virtual Machine Scale Sets", + "displayName": "Virtual Machine Scale Sets", + "resourceTypes": [ + "microsoft.compute/virtualmachinescalesets" + ] + }, + { + "id": "Virtual Machines", + "displayName": "Virtual Machines", + "resourceTypes": [ + "microsoft.classiccompute/virtualmachines", + "microsoft.compute/virtualmachines" + ] + }, + { + "id": "Virtual Network", + "displayName": "Virtual Network", + "resourceTypes": [ + "microsoft.network/virtualnetworks", + "microsoft.classicnetwork/virtualnetworks" + ] + }, + { + "id": "Windows 10 IoT Core Services", + "displayName": "Windows 10 IoT Core Services", + "resourceTypes": [] + }, + { + "id": "Windows Virtual Desktop", + "displayName": "Windows Virtual Desktop", + "resourceTypes": [ + "microsoft.desktopvirtualization/hostpools" + ] + }, + { + "id": "Azure Automanage", + "displayName": "Azure Automanage", + "resourceTypes": [ + "microsoft.automanage/configurationprofiles", + "microsoft.compute/virtualmachines/providers/configurationprofileassignments", + "microsoft.hybridcompute/machines/providers/configurationprofileassignments", + "microsoft.Azurestackhci/clusters/providers/configurationprofileassignments" + ] + }, + { + "id": "Microsoft Graph", + "displayName": "Microsoft Graph", + "resourceTypes": [] + }, + { + "id": "Azure confidential ledger", + "displayName": "Azure confidential ledger", + "resourceTypes": [] + }, + { + "id": "Azure Managed Grafana", + "displayName": "Azure Managed Grafana", + "resourceTypes": [] + }, + { + "id": "Universal Print", + "displayName": "Universal Print", + "resourceTypes": [] + }, + { + "id": "Azure Applied AI Services \\ Azure Video Indexer", + "displayName": "Azure Applied AI Services \\ Azure Video Indexer", + "resourceTypes": [] + }, + { + "id": "Azure Route Server", + "displayName": "Azure Route Server", + "resourceTypes": [] + }, + { + "id": "Virtual Network NAT", + "displayName": "Virtual Network NAT", + "resourceTypes": [] + }, + { + "id": "Microsoft Defender External Attack Surface Management", + "displayName": "Microsoft Defender External Attack Surface Management", + "resourceTypes": [] + } + ] + } + } + ] + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Operations_List.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Operations_List.json new file mode 100644 index 000000000000..d1152a2c50e4 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/Operations_List.json @@ -0,0 +1,163 @@ +{ + "parameters": { + "api-version": "2022-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.ResourceHealth/Operations/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "Get Operations", + "description": "Get the operations available for the Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.ResourceHealth/Notifications/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Notification", + "operation": "Receive notification", + "description": "Receives ARM notifications" + } + }, + { + "name": "Microsoft.ResourceHealth/AvailabilityStatuses/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "Get Availability Statuses", + "description": "Gets the availability statuses for all resources in the specified scope" + } + }, + { + "name": "Microsoft.ResourceHealth/AvailabilityStatuses/current/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "Get Availability Status", + "description": "Gets the availability status for the specified resource" + } + }, + { + "name": "Microsoft.ResourceHealth/events/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Events", + "operation": "Get Service Health Events", + "description": "Get Service Health Events for given subscription" + } + }, + { + "name": "Microsoft.ResourceHealth/emergingissues/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Emerging Issues", + "operation": "Get Azure Emerging Issues", + "description": "Get Azure services' emerging issues" + } + }, + { + "name": "Microsoft.ResourceHealth/potentialoutages/read", + "display": { + "provider": "Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.ResourceHealth/impactedResources/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Impacted Resources", + "operation": "Get Impacted Resources", + "description": "Get Impacted Resources for given subscription" + } + }, + { + "name": "Microsoft.ResourceHealth/register/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Registration", + "operation": "Register with the Provider", + "description": "Registers the subscription for the Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.ResourceHealth/unregister/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Unregistration", + "operation": "Unregister with the Provider", + "description": "Unregisters the subscription for the Microsoft ResourceHealth" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Availability Status", + "operation": "HealthEvent Change", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Activated/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Activated", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Updated/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Updated", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Resolved/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Resolved", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/InProgress/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event InProgress", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.Resourcehealth/healthevent/Pending/action", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Health Event", + "operation": "Health Event Pending", + "description": "Denotes the change in health state for the specified resource" + } + }, + { + "name": "Microsoft.ResourceHealth/metadata/read", + "display": { + "provider": "Microsoft ResourceHealth", + "resource": "Metadata", + "operation": "Read Metadata", + "description": "Gets Metadata" + } + } + ] + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/SecurityAdvisoryImpactedResources_ListBySubscriptionId_ListByEventId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/SecurityAdvisoryImpactedResources_ListBySubscriptionId_ListByEventId.json new file mode 100644 index 000000000000..c38960087b34 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/SecurityAdvisoryImpactedResources_ListBySubscriptionId_ListByEventId.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "subscriptionId": "subscriptionId", + "eventTrackingId": "BC_1-FXZ", + "api-version": "2022-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/{subscripitionId}/providers/Microsoft.ResourceHealth/events/BC_1-FXZ/impactedResources/jkl-901-hgy-445", + "name": "jkl-901-hgy-445", + "type": "Microsoft.ResourceHealth/events/impactedResources", + "properties": { + "info": [ + { + "key": "key-A", + "value": "sample-1" + }, + { + "key": "key-B", + "value": "sample-2" + }, + { + "key": "key-C", + "value": "sample-3" + }, + { + "key": "key-D", + "value": "sample-4" + } + ] + } + }, + { + "id": "/subscriptions/{subscripitionId}/providers/Microsoft.ResourceHealth/events/BC_1-FXZ/impactedResources/wer-345-tyu-789", + "name": "wer-345-tyu-789", + "type": "Microsoft.ResourceHealth/events/impactedResources", + "properties": { + "info": [ + { + "key": "key-E", + "value": "sample-5" + }, + { + "key": "key-F", + "value": "sample-6" + }, + { + "key": "key-G", + "value": "sample-7" + }, + { + "key": "key-H", + "value": "sample-8" + } + ] + } + } + ], + "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/SecurityAdvisoryImpactedResources_ListByTenantId_ListByEventId.json b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/SecurityAdvisoryImpactedResources_ListByTenantId_ListByEventId.json new file mode 100644 index 000000000000..189b219f8705 --- /dev/null +++ b/specification/resourcehealth/resource-manager/Microsoft.ResourceHealth/preview/2022-10-01-preview/examples/SecurityAdvisoryImpactedResources_ListByTenantId_ListByEventId.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "eventTrackingId": "BC_1-FXZ", + "api-version": "2022-10-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/providers/Microsoft.ResourceHealth/events/BC_1-FXZ/impactedResources/jkl-901-hgy-445", + "name": "jkl-901-hgy-445", + "type": "Microsoft.ResourceHealth/events/impactedResources", + "properties": { + "info": [ + { + "key": "key-A", + "value": "sample-1" + }, + { + "key": "key-B", + "value": "sample-2" + }, + { + "key": "key-C", + "value": "sample-3" + }, + { + "key": "key-D", + "value": "sample-4" + } + ] + } + }, + { + "id": "/providers/Microsoft.ResourceHealth/events/BC_1-FXZ/impactedResources/wer-345-tyu-789", + "name": "wer-345-tyu-789", + "type": "Microsoft.ResourceHealth/events/impactedResources", + "properties": { + "info": [ + { + "key": "key-E", + "value": "sample-5" + }, + { + "key": "key-F", + "value": "sample-6" + }, + { + "key": "key-G", + "value": "sample-7" + }, + { + "key": "key-H", + "value": "sample-8" + } + ] + } + } + ], + "nextLink": "{originalRequestUrl}?$skipToken={OpaquePageNumber}" + } + } + } +} diff --git a/specification/resourcehealth/resource-manager/readme.md b/specification/resourcehealth/resource-manager/readme.md index 5b817cc62b46..4ee1858d0fed 100644 --- a/specification/resourcehealth/resource-manager/readme.md +++ b/specification/resourcehealth/resource-manager/readme.md @@ -26,10 +26,19 @@ These are the global settings for the ResourceHealth API. ``` yaml openapi-type: arm -tag: package-2022-05 +tag: package-preview-2022-10 ``` +### Tag: package-preview-2022-10 + +These settings apply only when `--tag=package-preview-2022-10` is specified on the command line. + +```yaml $(tag) == 'package-preview-2022-10' +input-file: + - Microsoft.ResourceHealth/preview/2022-10-01-preview/ResourceHealth.json +``` + ### Tag: package-2022-05 These settings apply only when `--tag=package-2022-05` is specified on the command line. @@ -38,6 +47,7 @@ These settings apply only when `--tag=package-2022-05` is specified on the comma input-file: - Microsoft.ResourceHealth/stable/2022-05-01/ResourceHealth.json ``` + ### Tag: package-preview-2022-05-01 These settings apply only when `--tag=package-2022-05-01-preview` is specified on the command line.