SiteRecoveryRecoveryPlanCollection Class

Definition

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

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

Constructors

SiteRecoveryRecoveryPlanCollection()

Initializes a new instance of the SiteRecoveryRecoveryPlanCollection 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

CreateOrUpdate(WaitUntil, String, SiteRecoveryRecoveryPlanCreateOrUpdateContent, CancellationToken)

The operation to create a recovery plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}
  • Operation Id: ReplicationRecoveryPlans_Create
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryRecoveryPlanResource
CreateOrUpdateAsync(WaitUntil, String, SiteRecoveryRecoveryPlanCreateOrUpdateContent, CancellationToken)

The operation to create a recovery plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}
  • Operation Id: ReplicationRecoveryPlans_Create
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryRecoveryPlanResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Gets the details of the recovery plan.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}
  • Operation Id: ReplicationRecoveryPlans_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryRecoveryPlanResource
GetAll(CancellationToken)

Lists the recovery plans in the vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans
  • Operation Id: ReplicationRecoveryPlans_List
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryRecoveryPlanResource
GetAllAsync(CancellationToken)

Lists the recovery plans in the vault.

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

Gets the details of the recovery plan.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationRecoveryPlans/{recoveryPlanName}
  • Operation Id: ReplicationRecoveryPlans_Get
  • Default Api Version: 2023-08-01
  • Resource: SiteRecoveryRecoveryPlanResource
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<SiteRecoveryRecoveryPlanResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SiteRecoveryRecoveryPlanResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to