Package version:

Interface BackupVaults

Interface representing a BackupVaults.

interface BackupVaults {
    beginCreateOrUpdate(resourceGroupName: string, accountName: string, backupVaultName: string, body: BackupVault, options?: BackupVaultsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<BackupVault>, BackupVault>>;
    beginCreateOrUpdateAndWait(resourceGroupName: string, accountName: string, backupVaultName: string, body: BackupVault, options?: BackupVaultsCreateOrUpdateOptionalParams): Promise<BackupVault>;
    beginDelete(resourceGroupName: string, accountName: string, backupVaultName: string, options?: BackupVaultsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<BackupVaultsDeleteHeaders>, BackupVaultsDeleteHeaders>>;
    beginDeleteAndWait(resourceGroupName: string, accountName: string, backupVaultName: string, options?: BackupVaultsDeleteOptionalParams): Promise<BackupVaultsDeleteHeaders>;
    beginUpdate(resourceGroupName: string, accountName: string, backupVaultName: string, body: BackupVaultPatch, options?: BackupVaultsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<BackupVault>, BackupVault>>;
    beginUpdateAndWait(resourceGroupName: string, accountName: string, backupVaultName: string, body: BackupVaultPatch, options?: BackupVaultsUpdateOptionalParams): Promise<BackupVault>;
    get(resourceGroupName: string, accountName: string, backupVaultName: string, options?: BackupVaultsGetOptionalParams): Promise<BackupVault>;
    listByNetAppAccount(resourceGroupName: string, accountName: string, options?: BackupVaultsListByNetAppAccountOptionalParams): PagedAsyncIterableIterator<BackupVault>;
}

Methods

  • Create or update the specified Backup Vault in the NetApp account

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      The name of the NetApp account

    • backupVaultName: string

      The name of the Backup Vault

    • body: BackupVault

      BackupVault object supplied in the body of the operation.

    • Optionaloptions: BackupVaultsCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<BackupVault>, BackupVault>>

  • Create or update the specified Backup Vault in the NetApp account

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      The name of the NetApp account

    • backupVaultName: string

      The name of the Backup Vault

    • body: BackupVault

      BackupVault object supplied in the body of the operation.

    • Optionaloptions: BackupVaultsCreateOrUpdateOptionalParams

      The options parameters.

    Returns Promise<BackupVault>

  • Patch the specified NetApp Backup Vault

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      The name of the NetApp account

    • backupVaultName: string

      The name of the Backup Vault

    • body: BackupVaultPatch

      Backup Vault object supplied in the body of the operation.

    • Optionaloptions: BackupVaultsUpdateOptionalParams

      The options parameters.

    Returns Promise<SimplePollerLike<OperationState<BackupVault>, BackupVault>>

  • Patch the specified NetApp Backup Vault

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      The name of the NetApp account

    • backupVaultName: string

      The name of the Backup Vault

    • body: BackupVaultPatch

      Backup Vault object supplied in the body of the operation.

    • Optionaloptions: BackupVaultsUpdateOptionalParams

      The options parameters.

    Returns Promise<BackupVault>

  • Get the Backup Vault

    Parameters

    • resourceGroupName: string

      The name of the resource group. The name is case insensitive.

    • accountName: string

      The name of the NetApp account

    • backupVaultName: string

      The name of the Backup Vault

    • Optionaloptions: BackupVaultsGetOptionalParams

      The options parameters.

    Returns Promise<BackupVault>