Share via


NetAppBackupVaultBackupCollection Class

Definition

A class representing a collection of NetAppBackupVaultBackupResource and their operations. Each NetAppBackupVaultBackupResource in the collection will belong to the same instance of NetAppBackupVaultResource. To get a NetAppBackupVaultBackupCollection instance call the GetNetAppBackupVaultBackups method from an instance of NetAppBackupVaultResource.

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

Constructors

NetAppBackupVaultBackupCollection()

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

Create a backup under the Backup Vault

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

Create a backup under the Backup Vault

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/backupVaults/{backupVaultName}/backups/{backupName}
  • Operation Id: Backups_Create
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupVaultBackupResource
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}/backups/{backupName}
  • Operation Id: Backups_Get
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupVaultBackupResource
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}/backups/{backupName}
  • Operation Id: Backups_Get
  • Default Api Version: 2024-07-01
  • Resource: NetAppBackupVaultBackupResource
Get(String, CancellationToken)

Get the specified Backup under Backup Vault.

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

List all backups Under a Backup Vault

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

List all backups Under a Backup Vault

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

Get the specified Backup under Backup Vault.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<NetAppBackupVaultBackupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to