Share via


DataReplicationVaultCollection Class

Definition

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

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

Constructors

DataReplicationVaultCollection()

Initializes a new instance of the DataReplicationVaultCollection 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, DataReplicationVaultData, CancellationToken)

Creates the vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}
  • Operation Id: Vault_Create
CreateOrUpdateAsync(WaitUntil, String, DataReplicationVaultData, CancellationToken)

Creates the vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}
  • Operation Id: Vault_Create
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}
  • Operation Id: Vault_Get
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}
  • Operation Id: Vault_Get
Get(String, CancellationToken)

Gets the details of the vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}
  • Operation Id: Vault_Get
GetAll(String, CancellationToken)

Gets the list of vaults in the given subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults
  • Operation Id: Vault_List
GetAllAsync(String, CancellationToken)

Gets the list of vaults in the given subscription and resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults
  • Operation Id: Vault_List
GetAsync(String, CancellationToken)

Gets the details of the vault.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}
  • Operation Id: Vault_Get
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}
  • Operation Id: Vault_Get
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataReplication/replicationVaults/{vaultName}
  • Operation Id: Vault_Get
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<DataReplicationVaultResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DataReplicationVaultResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to