Skip to main content

replication_events

Creates, updates, deletes, gets or lists a replication_events resource.

Overview

Namereplication_events
TypeResource
Idazure.recovery_services_site_recovery.replication_events

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.
affectedObjectCorrelationIdstringThe affected object correlationId for the event.
affectedObjectFriendlyNamestringThe friendly name of the source of the event on which it is raised (for example, VM, VMM etc).
descriptionstringThe event name.
eventCodestringThe Id of the monitoring event.
eventSpecificDetailsobjectThe event specific settings.
eventTypestringThe type of the event. for example: VM Health, Server Health, Job Failure etc.
fabricIdstringThe ARM ID of the fabric.
healthErrorsarrayThe list of errors / warnings capturing details associated with the issue(s).
locationstringResource Location.
providerSpecificDetailsobjectThe provider specific settings.
severitystringThe severity of the event.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
timeOfOccurrencestring (date-time)The time of occurrence of the event.
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
getselectresource_group_name, resource_name, event_name, subscription_idGet the details of an Azure Site recovery event. The operation to get the details of an Azure Site recovery event.
listselectresource_group_name, resource_name, subscription_id$filterGets the list of Azure Site Recovery events. Gets the list of Azure Site Recovery events for the vault.

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_namestringThe name of the Azure Site Recovery event. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
resource_namestringThe name of the Vault. Required.
subscription_idstring
$filterstringOData filter options. Default value is None.

SELECT examples

Get the details of an Azure Site recovery event. The operation to get the details of an Azure Site recovery event.

SELECT
id,
name,
affectedObjectCorrelationId,
affectedObjectFriendlyName,
description,
eventCode,
eventSpecificDetails,
eventType,
fabricId,
healthErrors,
location,
providerSpecificDetails,
severity,
systemData,
timeOfOccurrence,
type
FROM azure.recovery_services_site_recovery.replication_events
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND resource_name = '{{ resource_name }}' -- required
AND event_name = '{{ event_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;