Backups interface
Interface representing a Backups.
Methods
Method Details
beginCreate(string, string, string, string, Backup, BackupsCreateOptionalParams)
Create a backup under the Backup Vault
function beginCreate(resourceGroupName: string, accountName: string, backupVaultName: string, backupName: string, body: Backup, options?: BackupsCreateOptionalParams): Promise<SimplePollerLike<OperationState<Backup>, Backup>>
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
- backupName
-
string
The name of the backup
- body
- Backup
Backup object supplied in the body of the operation.
- options
- BackupsCreateOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Backup>, Backup>>
beginCreateAndWait(string, string, string, string, Backup, BackupsCreateOptionalParams)
Create a backup under the Backup Vault
function beginCreateAndWait(resourceGroupName: string, accountName: string, backupVaultName: string, backupName: string, body: Backup, options?: BackupsCreateOptionalParams): Promise<Backup>
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
- backupName
-
string
The name of the backup
- body
- Backup
Backup object supplied in the body of the operation.
- options
- BackupsCreateOptionalParams
The options parameters.
Returns
Promise<Backup>
beginDelete(string, string, string, string, BackupsDeleteOptionalParams)
Delete a Backup under the Backup Vault
function beginDelete(resourceGroupName: string, accountName: string, backupVaultName: string, backupName: string, options?: BackupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<BackupsDeleteHeaders>, BackupsDeleteHeaders>>
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
- backupName
-
string
The name of the backup
- options
- BackupsDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<BackupsDeleteHeaders>, BackupsDeleteHeaders>>
beginDeleteAndWait(string, string, string, string, BackupsDeleteOptionalParams)
Delete a Backup under the Backup Vault
function beginDeleteAndWait(resourceGroupName: string, accountName: string, backupVaultName: string, backupName: string, options?: BackupsDeleteOptionalParams): Promise<BackupsDeleteHeaders>
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
- backupName
-
string
The name of the backup
- options
- BackupsDeleteOptionalParams
The options parameters.
Returns
Promise<BackupsDeleteHeaders>
beginUpdate(string, string, string, string, BackupsUpdateOptionalParams)
Patch a Backup under the Backup Vault
function beginUpdate(resourceGroupName: string, accountName: string, backupVaultName: string, backupName: string, options?: BackupsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Backup>, Backup>>
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
- backupName
-
string
The name of the backup
- options
- BackupsUpdateOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<Backup>, Backup>>
beginUpdateAndWait(string, string, string, string, BackupsUpdateOptionalParams)
Patch a Backup under the Backup Vault
function beginUpdateAndWait(resourceGroupName: string, accountName: string, backupVaultName: string, backupName: string, options?: BackupsUpdateOptionalParams): Promise<Backup>
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
- backupName
-
string
The name of the backup
- options
- BackupsUpdateOptionalParams
The options parameters.
Returns
Promise<Backup>
get(string, string, string, string, BackupsGetOptionalParams)
Get the specified Backup under Backup Vault.
function get(resourceGroupName: string, accountName: string, backupVaultName: string, backupName: string, options?: BackupsGetOptionalParams): Promise<Backup>
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
- backupName
-
string
The name of the backup
- options
- BackupsGetOptionalParams
The options parameters.
Returns
Promise<Backup>
getLatestStatus(string, string, string, string, BackupsGetLatestStatusOptionalParams)
Get the latest status of the backup for a volume
function getLatestStatus(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: BackupsGetLatestStatusOptionalParams): Promise<BackupStatus>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- accountName
-
string
The name of the NetApp account
- poolName
-
string
The name of the capacity pool
- volumeName
-
string
The name of the volume
The options parameters.
Returns
Promise<BackupStatus>
getVolumeLatestRestoreStatus(string, string, string, string, BackupsGetVolumeLatestRestoreStatusOptionalParams)
Get the latest status of the restore for a volume
function getVolumeLatestRestoreStatus(resourceGroupName: string, accountName: string, poolName: string, volumeName: string, options?: BackupsGetVolumeLatestRestoreStatusOptionalParams): Promise<RestoreStatus>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- accountName
-
string
The name of the NetApp account
- poolName
-
string
The name of the capacity pool
- volumeName
-
string
The name of the volume
The options parameters.
Returns
Promise<RestoreStatus>
listByVault(string, string, string, BackupsListByVaultOptionalParams)
List all backups Under a Backup Vault
function listByVault(resourceGroupName: string, accountName: string, backupVaultName: string, options?: BackupsListByVaultOptionalParams): PagedAsyncIterableIterator<Backup, Backup[], PageSettings>
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
- options
- BackupsListByVaultOptionalParams
The options parameters.