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
idstringResource Id
namestringResource Name
locationstringResource Location
propertiesobjectEvent related data.
typestringResource Type

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceName, resourceGroupName, subscriptionId, eventNameapi-versionThe operation to get the details of an Azure Site recovery event.
listselectresourceName, resourceGroupName, subscriptionIdapi-version, $filterGets 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
eventNamestringThe name of the Azure Site Recovery event.
resourceGroupNamestringThe name of the resource group where the recovery services vault is present.
resourceNamestringThe name of the recovery services vault.
subscriptionIdstringThe subscription Id.
$filterstringOData filter options.
api-versionstringClient Api Version.

SELECT examples

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

SELECT
id,
name,
location,
properties,
type
FROM azure.recovery_services_site_recovery.replication_events
WHERE resourceName = '{{ resourceName }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND eventName = '{{ eventName }}' -- required
AND api-version = '{{ api-version }}'
;