SiteRecoveryEventCollection Class

Definition

A class representing a collection of SiteRecoveryEventResource and their operations. Each SiteRecoveryEventResource in the collection will belong to the same instance of ResourceGroupResource. To get a SiteRecoveryEventCollection instance call the GetSiteRecoveryEvents method from an instance of ResourceGroupResource.

public class SiteRecoveryEventCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryEventResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServicesSiteRecovery.SiteRecoveryEventResource>
type SiteRecoveryEventCollection = class
    inherit ArmCollection
    interface seq<SiteRecoveryEventResource>
    interface IEnumerable
    interface IAsyncEnumerable<SiteRecoveryEventResource>
Public Class SiteRecoveryEventCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SiteRecoveryEventResource), IEnumerable(Of SiteRecoveryEventResource)
Inheritance
SiteRecoveryEventCollection
Implements

Constructors

SiteRecoveryEventCollection()

Initializes a new instance of the SiteRecoveryEventCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents/{eventName}
  • Operation Id: ReplicationEvents_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryEventResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents/{eventName}
  • Operation Id: ReplicationEvents_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryEventResource
Get(String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents/{eventName}
  • Operation Id: ReplicationEvents_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryEventResource
GetAll(String, CancellationToken)

Gets the list of Azure Site Recovery events for the vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents
  • Operation Id: ReplicationEvents_List
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryEventResource
GetAllAsync(String, CancellationToken)

Gets the list of Azure Site Recovery events for the vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents
  • Operation Id: ReplicationEvents_List
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryEventResource
GetAsync(String, CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents/{eventName}
  • Operation Id: ReplicationEvents_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryEventResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents/{eventName}
  • Operation Id: ReplicationEvents_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryEventResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationEvents/{eventName}
  • Operation Id: ReplicationEvents_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryEventResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<SiteRecoveryEventResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteRecoveryEventResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to