RecoveryServicesDataReplicationExtensions.GetDataReplicationVaults Method

Definition

Overloads

GetDataReplicationVaults(ResourceGroupResource)

Gets a collection of DataReplicationVaultResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDataReplicationVaults() instead.

GetDataReplicationVaults(SubscriptionResource, String, CancellationToken)

Gets the list of vaults in the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/replicationVaults
  • Operation Id: Vault_ListBySubscription

GetDataReplicationVaults(ResourceGroupResource)

Source:
RecoveryServicesDataReplicationExtensions.cs

Gets a collection of DataReplicationVaultResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDataReplicationVaults() instead.

public static Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationVaultCollection GetDataReplicationVaults (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetDataReplicationVaults : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationVaultCollection
<Extension()>
Public Function GetDataReplicationVaults (resourceGroupResource As ResourceGroupResource) As DataReplicationVaultCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of DataReplicationVaultResources and their operations over a DataReplicationVaultResource.

Exceptions

resourceGroupResource is null.

Applies to

GetDataReplicationVaults(SubscriptionResource, String, CancellationToken)

Source:
RecoveryServicesDataReplicationExtensions.cs

Gets the list of vaults in the given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DataReplication/replicationVaults
  • Operation Id: Vault_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationVaultResource> GetDataReplicationVaults (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string continuationToken = default, System.Threading.CancellationToken cancellationToken = default);
static member GetDataReplicationVaults : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.RecoveryServicesDataReplication.DataReplicationVaultResource>
<Extension()>
Public Function GetDataReplicationVaults (subscriptionResource As SubscriptionResource, Optional continuationToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DataReplicationVaultResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

continuationToken
String

Continuation token from the previous call.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of DataReplicationVaultResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to