Skip to main content

impacted_resources

Creates, updates, deletes, gets or lists an impacted_resources resource.

Overview

Nameimpacted_resources
TypeResource
Idazure.resource_health.impacted_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
infoarrayAdditional information.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
targetRegionstringImpacted resource region name.
targetResourceIdstringIdentity for resource within Microsoft cloud.
targetResourceTypestringResource type within Microsoft cloud.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectevent_tracking_id, impacted_resource_name, subscription_idGets the specific impacted resource in the subscription by an event.
list_by_subscription_id_and_event_idselectevent_tracking_id, subscription_id$filterLists impacted resources in the subscription by an event.
get_by_tenant_idselectevent_tracking_id, impacted_resource_nameGets the specific impacted resource in the tenant by an event.
list_by_tenant_id_and_event_idselectevent_tracking_id$filterLists impacted resources in the tenant by an event.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
event_tracking_idstringEvent Id which uniquely identifies ServiceHealth event. Required.
impacted_resource_namestringName of the Impacted Resource. Required.
subscription_idstring
$filterstringThe filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN _. Default value is None.

SELECT examples

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

SELECT
id,
name,
info,
systemData,
targetRegion,
targetResourceId,
targetResourceType,
type
FROM azure.resource_health.impacted_resources
WHERE event_tracking_id = '{{ event_tracking_id }}' -- required
AND impacted_resource_name = '{{ impacted_resource_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;