Share via


SiteRecoveryPointCollection Class

Definition

A class representing a collection of SiteRecoveryPointResource and their operations. Each SiteRecoveryPointResource in the collection will belong to the same instance of ReplicationProtectedItemResource. To get a SiteRecoveryPointCollection instance call the GetSiteRecoveryPoints method from an instance of ReplicationProtectedItemResource.

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

Constructors

SiteRecoveryPointCollection()

Initializes a new instance of the SiteRecoveryPointCollection 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}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints/{recoveryPointName}
  • Operation Id: RecoveryPoints_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryPointResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints/{recoveryPointName}
  • Operation Id: RecoveryPoints_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryPointResource
Get(String, CancellationToken)

Get the details of specified recovery point.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints/{recoveryPointName}
  • Operation Id: RecoveryPoints_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryPointResource
GetAll(CancellationToken)

Lists the available recovery points for a replication protected item.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints
  • Operation Id: RecoveryPoints_ListByReplicationProtectedItems
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryPointResource
GetAllAsync(CancellationToken)

Lists the available recovery points for a replication protected item.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints
  • Operation Id: RecoveryPoints_ListByReplicationProtectedItems
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryPointResource
GetAsync(String, CancellationToken)

Get the details of specified recovery point.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints/{recoveryPointName}
  • Operation Id: RecoveryPoints_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryPointResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints/{recoveryPointName}
  • Operation Id: RecoveryPoints_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryPointResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/recoveryPoints/{recoveryPointName}
  • Operation Id: RecoveryPoints_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryPointResource
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<SiteRecoveryPointResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteRecoveryPointResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to