Skip to main content

event

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

Overview

Nameevent
TypeResource
Idazure.recovery_services_data_replication.event

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.
correlationIdstringGets or sets the event correlation Id.
customPropertiesobjectEvent model custom properties. Required.
descriptionstringGets or sets the event description.
eventNamestringGets or sets the event name.
eventTypestringGets or sets the event type.
healthErrorsarrayGets or sets the errors associated with this event.
provisioningStatestringGets or sets the provisioning state of the event. Known values are: "Canceled", "Creating", "Deleting", "Deleted", "Failed", "Succeeded", and "Updating". (Canceled, Creating, Deleting, Deleted, Failed, Succeeded, Updating)
resourceNamestringGets or sets the resource name.
resourceTypestringGets or sets the resource type.
severitystringGets or sets the event severity.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
timeOfOccurrencestring (date-time)Gets or sets the time at which the event occurred at source.
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, vault_name, event_name, subscription_idGets the details of the event.
listselectresource_group_name, vault_name, subscription_idodataOptions, continuationToken, pageSizeGets the list of events in the given 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 event name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
vault_namestringThe vault name. Required.
continuationTokenstringContinuation token. Default value is None.
odataOptionsstringOData options. Default value is None.
pageSizeintegerPage size. Default value is None.

SELECT examples

Gets the details of the event.

SELECT
id,
name,
correlationId,
customProperties,
description,
eventName,
eventType,
healthErrors,
provisioningState,
resourceName,
resourceType,
severity,
systemData,
timeOfOccurrence,
type
FROM azure.recovery_services_data_replication.event
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND vault_name = '{{ vault_name }}' -- required
AND event_name = '{{ event_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;