Partager via


AzureSqlDatabaseBackupCommunicator Class

Definition

This class is responsible for all the REST communication with the database backup REST endpoints.

public class AzureSqlDatabaseBackupCommunicator
type AzureSqlDatabaseBackupCommunicator = class
Public Class AzureSqlDatabaseBackupCommunicator
Inheritance
AzureSqlDatabaseBackupCommunicator

Constructors

AzureSqlDatabaseBackupCommunicator(IAzureContext)

Creates a communicator for Azure Sql Database backup REST endpoints.

Properties

Context

Gets or sets the Azure profile

Methods

CopyDatabaseLongTermRetentionBackup(String, String, String, String, String, CopyLongTermRetentionBackupParameters)

Copies a Long Term Retention backup to another server/database.

GetBackupLongTermRetentionVault(String, String, String)

Get a backup LongTermRetention vault for a given Azure SQL Server

GetDatabaseBackupLongTermRetentionPolicy(String, String, String, String)

Get a backup LongTermRetention policy for a Azure SQL Database

GetDatabaseBackupShortTermRetentionPolicy(String, String, String)

Get the ShortTermRetention policy for a Azure SQL Database

GetDatabaseGeoBackupPolicy(String, String, String, String)

Get a geo backup policy for a Azure SQL Database

GetDatabaseLongTermRetentionBackup(String, String, String, String)
GetDatabaseLongTermRetentionBackup(String, String, String, String, String)

Gets the Long Term Retention backup.

GetDatabaseLongTermRetentionBackups(String, String, String, Nullable<Boolean>, String)
GetDatabaseLongTermRetentionBackups(String, String, String, String, Nullable<Boolean>, String)

Gets the Long Term Retention backups.

GetDatabaseLongTermRetentionPolicy(String, String, String)

Gets a database's Long Term Retention policy.

GetDeletedDatabaseBackup(String, String, String)

Get a restorable deleted database for a given Sql Azure Database

GetGeoBackup(String, String, String)

Get a geo backup for a given Sql Azure Database

GetRecoverableDatabase(String, String, String, ODataQuery<RecoverableDatabase>)

Gets recoverable database for the given Sql Azure Database

GetRestorableDroppedDatabase(String, String, String, ODataQuery<RestorableDroppedDatabase>)

Get a restorable dropped database for a given Sql Azure Database

LegacyRestoreDatabase(String, String, String, DatabaseCreateOrUpdateParameters)

Restore a given Sql Azure Database

ListDeletedDatabaseBackups(String, String)

Lists the restorable deleted databases for a given Sql Azure Server

ListGeoBackups(String, String)

Lists the geo backups for a given Sql Azure Server

ListRestorePoints(String, String, String)

Lists the restore points for a given Sql Azure Database.

NewRestorePoint(String, String, String, CreateDatabaseRestorePointDefinition)

Creates a new restore point for a given Sql Azure Database.

RemoveDatabaseLongTermRetentionBackup(String, String, String, String)
RemoveDatabaseLongTermRetentionBackup(String, String, String, String, String)

Removes a Long Term Retention backup.

RemoveRestorePoint(String, String, String, String)

Removes a given restore point for a given Sql Azure Database.

RestoreDatabase(String, String, String, Database)
RestoreDatabase(String, String, String, Database, Dictionary<String,List<String>>)

Restore a given Sql Azure Database

SetBackupLongTermRetentionVault(String, String, String, BackupLongTermRetentionVaultCreateOrUpdateParameters)

Creates or updates a backup LongTermRetention vault

SetDatabaseBackupLongTermRetentionPolicy(String, String, String, String, DatabaseBackupLongTermRetentionPolicyCreateOrUpdateParameters)

Creates or updates a backup LongTermRetention policy

SetDatabaseBackupShortTermRetentionPolicy(String, String, String, BackupShortTermRetentionPolicy)

Sets a database's backup Short Term Retention policy.

SetDatabaseGeoBackupPolicy(String, String, String, String, GeoBackupPolicyCreateOrUpdateParameters)

Creates or updates a geo backup policy

SetDatabaseLongTermRetentionPolicy(String, String, String, BackupLongTermRetentionPolicy)
SetDatabaseLongTermRetentionPolicy(String, String, String, LongTermRetentionPolicy)

Sets a database's Long Term Retention policy.

UpdateDatabaseLongTermRetentionBackup(String, String, String, String, String, UpdateLongTermRetentionBackupParameters)

Updates a Long Term Retention backup.

Applies to