Share via


Impacted Resources - Get

Gets the specific impacted resource in the subscription by an event.

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}/impactedResources/{impactedResourceName}?api-version=2025-04-01

URI Parameters

Name In Required Type Description
eventTrackingId
path True

string

Event Id which uniquely identifies ServiceHealth event.

impactedResourceName
path True

string

pattern: ^[^*#&+:<>%?]+$

Name of the Impacted Resource.

subscriptionId
path True

string

minLength: 1

The ID of the target subscription.

api-version
query True

string

minLength: 1

The API version to use for this operation.

Responses

Name Type Description
200 OK

eventImpactedResource

The details of Impacted Resource.

Other Status Codes

ErrorResponse

DefaultErrorResponse

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

ImpactedResourcesGet

Sample request

GET https://management.azure.com/subscriptions/subscriptionId/providers/Microsoft.ResourceHealth/events/BC_1-FXZ/impactedResources/abc-123-ghj-456?api-version=2025-04-01

Sample response

{
  "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"
  }
}

Definitions

Name Description
createdByType

The type of identity that created the resource.

ErrorResponse

Error details.

eventImpactedResource

Impacted resource for an event.

keyValueItem

Key value tuple.

systemData

Metadata pertaining to creation and last modification of the resource.

createdByType

The type of identity that created the resource.

Value Description
User
Application
ManagedIdentity
Key

ErrorResponse

Error details.

Name Type Description
code

string

The error code.

details

string

The error details.

message

string

The error message.

eventImpactedResource

Impacted resource for an event.

Name Type Description
id

string

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

The name of the resource

properties.info

keyValueItem[]

Additional information.

properties.targetRegion

string

Impacted resource region name.

properties.targetResourceId

string

Identity for resource within Microsoft cloud.

properties.targetResourceType

string

Resource type within Microsoft cloud.

systemData

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

keyValueItem

Key value tuple.

Name Type Description
key

string

Key of tuple.

value

string

Value of tuple.

systemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string (date-time)

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string (date-time)

The timestamp of resource last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.