Share via


NetAppBackupVaultCollection Class

Definition

A class representing a collection of NetAppBackupVaultResource and their operations. Each NetAppBackupVaultResource in the collection will belong to the same instance of Azure.ResourceManager.NetApp.NetAppAccountResource. To get a NetAppBackupVaultCollection instance call the GetNetAppBackupVaults method from an instance of Azure.ResourceManager.NetApp.NetAppAccountResource.

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

Constructors

NetAppBackupVaultCollection()

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

Create or update the specified Backup Vault in the NetApp account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}
  • Operation Id: BackupVaults_CreateOrUpdate
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupVaultResource
CreateOrUpdateAsync(WaitUntil, String, NetAppBackupVaultData, CancellationToken)

Create or update the specified Backup Vault in the NetApp account

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}
  • Operation Id: BackupVaults_CreateOrUpdate
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupVaultResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}
  • Operation Id: BackupVaults_Get
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupVaultResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}
  • Operation Id: BackupVaults_Get
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupVaultResource
Get(String, CancellationToken)

Get the Backup Vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}
  • Operation Id: BackupVaults_Get
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupVaultResource
GetAll(CancellationToken)

List and describe all Backup Vaults in the NetApp account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults
  • Operation Id: BackupVaults_ListByNetAppAccount
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupVaultResource
GetAllAsync(CancellationToken)

List and describe all Backup Vaults in the NetApp account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults
  • Operation Id: BackupVaults_ListByNetAppAccount
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupVaultResource
GetAsync(String, CancellationToken)

Get the Backup Vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}
  • Operation Id: BackupVaults_Get
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupVaultResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}
  • Operation Id: BackupVaults_Get
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupVaultResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}
  • Operation Id: BackupVaults_Get
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupVaultResource
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<NetAppBackupVaultResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetAppBackupVaultResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to