Share via


LongTermRetentionBackups interface

Interface representing a LongTermRetentionBackups.

Methods

beginChangeAccessTier(string, string, string, string, ChangeLongTermRetentionBackupAccessTierParameters, LongTermRetentionBackupsChangeAccessTierOptionalParams)

Change a long term retention backup access tier.

beginChangeAccessTierAndWait(string, string, string, string, ChangeLongTermRetentionBackupAccessTierParameters, LongTermRetentionBackupsChangeAccessTierOptionalParams)

Change a long term retention backup access tier.

beginChangeAccessTierByResourceGroup(string, string, string, string, string, ChangeLongTermRetentionBackupAccessTierParameters, LongTermRetentionBackupsChangeAccessTierByResourceGroupOptionalParams)

Change a long term retention backup access tier.

beginChangeAccessTierByResourceGroupAndWait(string, string, string, string, string, ChangeLongTermRetentionBackupAccessTierParameters, LongTermRetentionBackupsChangeAccessTierByResourceGroupOptionalParams)

Change a long term retention backup access tier.

beginCopy(string, string, string, string, CopyLongTermRetentionBackupParameters, LongTermRetentionBackupsCopyOptionalParams)

Copy an existing long term retention backup.

beginCopyAndWait(string, string, string, string, CopyLongTermRetentionBackupParameters, LongTermRetentionBackupsCopyOptionalParams)

Copy an existing long term retention backup.

beginCopyByResourceGroup(string, string, string, string, string, CopyLongTermRetentionBackupParameters, LongTermRetentionBackupsCopyByResourceGroupOptionalParams)

Copy an existing long term retention backup to a different server.

beginCopyByResourceGroupAndWait(string, string, string, string, string, CopyLongTermRetentionBackupParameters, LongTermRetentionBackupsCopyByResourceGroupOptionalParams)

Copy an existing long term retention backup to a different server.

beginDelete(string, string, string, string, LongTermRetentionBackupsDeleteOptionalParams)

Deletes a long term retention backup.

beginDeleteAndWait(string, string, string, string, LongTermRetentionBackupsDeleteOptionalParams)

Deletes a long term retention backup.

beginDeleteByResourceGroup(string, string, string, string, string, LongTermRetentionBackupsDeleteByResourceGroupOptionalParams)

Deletes a long term retention backup.

beginDeleteByResourceGroupAndWait(string, string, string, string, string, LongTermRetentionBackupsDeleteByResourceGroupOptionalParams)

Deletes a long term retention backup.

beginLockTimeBasedImmutability(string, string, string, string, LongTermRetentionBackupsLockTimeBasedImmutabilityOptionalParams)

Lock time based immutability of an existing long term retention backup.

beginLockTimeBasedImmutabilityAndWait(string, string, string, string, LongTermRetentionBackupsLockTimeBasedImmutabilityOptionalParams)

Lock time based immutability of an existing long term retention backup.

beginLockTimeBasedImmutabilityByResourceGroup(string, string, string, string, string, LongTermRetentionBackupsLockTimeBasedImmutabilityByResourceGroupOptionalParams)

Lock time based immutability of an existing long term retention backup.

beginLockTimeBasedImmutabilityByResourceGroupAndWait(string, string, string, string, string, LongTermRetentionBackupsLockTimeBasedImmutabilityByResourceGroupOptionalParams)

Lock time based immutability of an existing long term retention backup.

beginRemoveLegalHoldImmutability(string, string, string, string, LongTermRetentionBackupsRemoveLegalHoldImmutabilityOptionalParams)

Remove legal hold immutability of an existing long term retention backup.

beginRemoveLegalHoldImmutabilityAndWait(string, string, string, string, LongTermRetentionBackupsRemoveLegalHoldImmutabilityOptionalParams)

Remove legal hold immutability of an existing long term retention backup.

beginRemoveLegalHoldImmutabilityByResourceGroup(string, string, string, string, string, LongTermRetentionBackupsRemoveLegalHoldImmutabilityByResourceGroupOptionalParams)

Remove legal hold immutability of an existing long term retention backup.

beginRemoveLegalHoldImmutabilityByResourceGroupAndWait(string, string, string, string, string, LongTermRetentionBackupsRemoveLegalHoldImmutabilityByResourceGroupOptionalParams)

Remove legal hold immutability of an existing long term retention backup.

beginRemoveTimeBasedImmutability(string, string, string, string, LongTermRetentionBackupsRemoveTimeBasedImmutabilityOptionalParams)

Remove time based immutability of an existing long term retention backup.

beginRemoveTimeBasedImmutabilityAndWait(string, string, string, string, LongTermRetentionBackupsRemoveTimeBasedImmutabilityOptionalParams)

Remove time based immutability of an existing long term retention backup.

beginRemoveTimeBasedImmutabilityByResourceGroup(string, string, string, string, string, LongTermRetentionBackupsRemoveTimeBasedImmutabilityByResourceGroupOptionalParams)

Remove time based immutability of an existing long term retention backup.

beginRemoveTimeBasedImmutabilityByResourceGroupAndWait(string, string, string, string, string, LongTermRetentionBackupsRemoveTimeBasedImmutabilityByResourceGroupOptionalParams)

Remove time based immutability of an existing long term retention backup.

beginSetLegalHoldImmutability(string, string, string, string, LongTermRetentionBackupsSetLegalHoldImmutabilityOptionalParams)

Set legal hold immutability of an existing long term retention backup.

beginSetLegalHoldImmutabilityAndWait(string, string, string, string, LongTermRetentionBackupsSetLegalHoldImmutabilityOptionalParams)

Set legal hold immutability of an existing long term retention backup.

beginSetLegalHoldImmutabilityByResourceGroup(string, string, string, string, string, LongTermRetentionBackupsSetLegalHoldImmutabilityByResourceGroupOptionalParams)

Set legal hold immutability of an existing long term retention backup.

beginSetLegalHoldImmutabilityByResourceGroupAndWait(string, string, string, string, string, LongTermRetentionBackupsSetLegalHoldImmutabilityByResourceGroupOptionalParams)

Set legal hold immutability of an existing long term retention backup.

beginUpdate(string, string, string, string, UpdateLongTermRetentionBackupParameters, LongTermRetentionBackupsUpdateOptionalParams)

Updates an existing long term retention backup.

beginUpdateAndWait(string, string, string, string, UpdateLongTermRetentionBackupParameters, LongTermRetentionBackupsUpdateOptionalParams)

Updates an existing long term retention backup.

beginUpdateByResourceGroup(string, string, string, string, string, UpdateLongTermRetentionBackupParameters, LongTermRetentionBackupsUpdateByResourceGroupOptionalParams)

Updates an existing long term retention backup.

beginUpdateByResourceGroupAndWait(string, string, string, string, string, UpdateLongTermRetentionBackupParameters, LongTermRetentionBackupsUpdateByResourceGroupOptionalParams)

Updates an existing long term retention backup.

get(string, string, string, string, LongTermRetentionBackupsGetOptionalParams)

Gets a long term retention backup.

getByResourceGroup(string, string, string, string, string, LongTermRetentionBackupsGetByResourceGroupOptionalParams)

Gets a long term retention backup.

listByDatabase(string, string, string, LongTermRetentionBackupsListByDatabaseOptionalParams)

Lists all long term retention backups for a database.

listByLocation(string, LongTermRetentionBackupsListByLocationOptionalParams)

Lists the long term retention backups for a given location.

listByResourceGroupDatabase(string, string, string, string, LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams)

Lists all long term retention backups for a database based on a particular resource group.

listByResourceGroupLocation(string, string, LongTermRetentionBackupsListByResourceGroupLocationOptionalParams)

Lists the long term retention backups for a given location based on resource group.

listByResourceGroupServer(string, string, string, LongTermRetentionBackupsListByResourceGroupServerOptionalParams)

Lists the long term retention backups for a given server based on resource groups.

listByServer(string, string, LongTermRetentionBackupsListByServerOptionalParams)

Lists the long term retention backups for a given server.

Method Details

beginChangeAccessTier(string, string, string, string, ChangeLongTermRetentionBackupAccessTierParameters, LongTermRetentionBackupsChangeAccessTierOptionalParams)

Change a long term retention backup access tier.

function beginChangeAccessTier(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: ChangeLongTermRetentionBackupAccessTierParameters, options?: LongTermRetentionBackupsChangeAccessTierOptionalParams): Promise<SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

Parameters

locationName

string

longTermRetentionServerName

string

longTermRetentionDatabaseName

string

backupName

string

parameters
ChangeLongTermRetentionBackupAccessTierParameters

Contains the information necessary to change long term retention backup access tier and related operation mode.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

beginChangeAccessTierAndWait(string, string, string, string, ChangeLongTermRetentionBackupAccessTierParameters, LongTermRetentionBackupsChangeAccessTierOptionalParams)

Change a long term retention backup access tier.

function beginChangeAccessTierAndWait(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: ChangeLongTermRetentionBackupAccessTierParameters, options?: LongTermRetentionBackupsChangeAccessTierOptionalParams): Promise<LongTermRetentionBackup>

Parameters

locationName

string

longTermRetentionServerName

string

longTermRetentionDatabaseName

string

backupName

string

parameters
ChangeLongTermRetentionBackupAccessTierParameters

Contains the information necessary to change long term retention backup access tier and related operation mode.

Returns

beginChangeAccessTierByResourceGroup(string, string, string, string, string, ChangeLongTermRetentionBackupAccessTierParameters, LongTermRetentionBackupsChangeAccessTierByResourceGroupOptionalParams)

Change a long term retention backup access tier.

function beginChangeAccessTierByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: ChangeLongTermRetentionBackupAccessTierParameters, options?: LongTermRetentionBackupsChangeAccessTierByResourceGroupOptionalParams): Promise<SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

longTermRetentionServerName

string

longTermRetentionDatabaseName

string

backupName

string

parameters
ChangeLongTermRetentionBackupAccessTierParameters

Contains the information necessary to change long term retention backup access tier and related operation mode.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

beginChangeAccessTierByResourceGroupAndWait(string, string, string, string, string, ChangeLongTermRetentionBackupAccessTierParameters, LongTermRetentionBackupsChangeAccessTierByResourceGroupOptionalParams)

Change a long term retention backup access tier.

function beginChangeAccessTierByResourceGroupAndWait(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: ChangeLongTermRetentionBackupAccessTierParameters, options?: LongTermRetentionBackupsChangeAccessTierByResourceGroupOptionalParams): Promise<LongTermRetentionBackup>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

longTermRetentionServerName

string

longTermRetentionDatabaseName

string

backupName

string

parameters
ChangeLongTermRetentionBackupAccessTierParameters

Contains the information necessary to change long term retention backup access tier and related operation mode.

Returns

beginCopy(string, string, string, string, CopyLongTermRetentionBackupParameters, LongTermRetentionBackupsCopyOptionalParams)

Copy an existing long term retention backup.

function beginCopy(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: CopyLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsCopyOptionalParams): Promise<SimplePollerLike<OperationState<LongTermRetentionBackupOperationResult>, LongTermRetentionBackupOperationResult>>

Parameters

locationName

string

The location of the database.

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

parameters
CopyLongTermRetentionBackupParameters

The parameters needed for long term retention copy request

options
LongTermRetentionBackupsCopyOptionalParams

The options parameters.

Returns

beginCopyAndWait(string, string, string, string, CopyLongTermRetentionBackupParameters, LongTermRetentionBackupsCopyOptionalParams)

Copy an existing long term retention backup.

function beginCopyAndWait(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: CopyLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsCopyOptionalParams): Promise<LongTermRetentionBackupOperationResult>

Parameters

locationName

string

The location of the database.

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

parameters
CopyLongTermRetentionBackupParameters

The parameters needed for long term retention copy request

options
LongTermRetentionBackupsCopyOptionalParams

The options parameters.

Returns

beginCopyByResourceGroup(string, string, string, string, string, CopyLongTermRetentionBackupParameters, LongTermRetentionBackupsCopyByResourceGroupOptionalParams)

Copy an existing long term retention backup to a different server.

function beginCopyByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: CopyLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsCopyByResourceGroupOptionalParams): Promise<SimplePollerLike<OperationState<LongTermRetentionBackupOperationResult>, LongTermRetentionBackupOperationResult>>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The location of the database.

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

parameters
CopyLongTermRetentionBackupParameters

The parameters needed for long term retention copy request

Returns

beginCopyByResourceGroupAndWait(string, string, string, string, string, CopyLongTermRetentionBackupParameters, LongTermRetentionBackupsCopyByResourceGroupOptionalParams)

Copy an existing long term retention backup to a different server.

function beginCopyByResourceGroupAndWait(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: CopyLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsCopyByResourceGroupOptionalParams): Promise<LongTermRetentionBackupOperationResult>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The location of the database.

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

parameters
CopyLongTermRetentionBackupParameters

The parameters needed for long term retention copy request

Returns

beginDelete(string, string, string, string, LongTermRetentionBackupsDeleteOptionalParams)

Deletes a long term retention backup.

function beginDelete(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

locationName

string

The location of the database

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

options
LongTermRetentionBackupsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, LongTermRetentionBackupsDeleteOptionalParams)

Deletes a long term retention backup.

function beginDeleteAndWait(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsDeleteOptionalParams): Promise<void>

Parameters

locationName

string

The location of the database

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

options
LongTermRetentionBackupsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginDeleteByResourceGroup(string, string, string, string, string, LongTermRetentionBackupsDeleteByResourceGroupOptionalParams)

Deletes a long term retention backup.

function beginDeleteByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsDeleteByResourceGroupOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The location of the database

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteByResourceGroupAndWait(string, string, string, string, string, LongTermRetentionBackupsDeleteByResourceGroupOptionalParams)

Deletes a long term retention backup.

function beginDeleteByResourceGroupAndWait(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsDeleteByResourceGroupOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The location of the database

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

Promise<void>

beginLockTimeBasedImmutability(string, string, string, string, LongTermRetentionBackupsLockTimeBasedImmutabilityOptionalParams)

Lock time based immutability of an existing long term retention backup.

function beginLockTimeBasedImmutability(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsLockTimeBasedImmutabilityOptionalParams): Promise<SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

Parameters

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

beginLockTimeBasedImmutabilityAndWait(string, string, string, string, LongTermRetentionBackupsLockTimeBasedImmutabilityOptionalParams)

Lock time based immutability of an existing long term retention backup.

function beginLockTimeBasedImmutabilityAndWait(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsLockTimeBasedImmutabilityOptionalParams): Promise<LongTermRetentionBackup>

Parameters

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

beginLockTimeBasedImmutabilityByResourceGroup(string, string, string, string, string, LongTermRetentionBackupsLockTimeBasedImmutabilityByResourceGroupOptionalParams)

Lock time based immutability of an existing long term retention backup.

function beginLockTimeBasedImmutabilityByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsLockTimeBasedImmutabilityByResourceGroupOptionalParams): Promise<SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

Parameters

resourceGroupName

string

The resource group name of the database.

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

beginLockTimeBasedImmutabilityByResourceGroupAndWait(string, string, string, string, string, LongTermRetentionBackupsLockTimeBasedImmutabilityByResourceGroupOptionalParams)

Lock time based immutability of an existing long term retention backup.

function beginLockTimeBasedImmutabilityByResourceGroupAndWait(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsLockTimeBasedImmutabilityByResourceGroupOptionalParams): Promise<LongTermRetentionBackup>

Parameters

resourceGroupName

string

The resource group name of the database.

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

beginRemoveLegalHoldImmutability(string, string, string, string, LongTermRetentionBackupsRemoveLegalHoldImmutabilityOptionalParams)

Remove legal hold immutability of an existing long term retention backup.

function beginRemoveLegalHoldImmutability(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveLegalHoldImmutabilityOptionalParams): Promise<SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

Parameters

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

beginRemoveLegalHoldImmutabilityAndWait(string, string, string, string, LongTermRetentionBackupsRemoveLegalHoldImmutabilityOptionalParams)

Remove legal hold immutability of an existing long term retention backup.

function beginRemoveLegalHoldImmutabilityAndWait(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveLegalHoldImmutabilityOptionalParams): Promise<LongTermRetentionBackup>

Parameters

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

beginRemoveLegalHoldImmutabilityByResourceGroup(string, string, string, string, string, LongTermRetentionBackupsRemoveLegalHoldImmutabilityByResourceGroupOptionalParams)

Remove legal hold immutability of an existing long term retention backup.

function beginRemoveLegalHoldImmutabilityByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveLegalHoldImmutabilityByResourceGroupOptionalParams): Promise<SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

Parameters

resourceGroupName

string

The resource group name of the database.

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

beginRemoveLegalHoldImmutabilityByResourceGroupAndWait(string, string, string, string, string, LongTermRetentionBackupsRemoveLegalHoldImmutabilityByResourceGroupOptionalParams)

Remove legal hold immutability of an existing long term retention backup.

function beginRemoveLegalHoldImmutabilityByResourceGroupAndWait(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveLegalHoldImmutabilityByResourceGroupOptionalParams): Promise<LongTermRetentionBackup>

Parameters

resourceGroupName

string

The resource group name of the database.

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

beginRemoveTimeBasedImmutability(string, string, string, string, LongTermRetentionBackupsRemoveTimeBasedImmutabilityOptionalParams)

Remove time based immutability of an existing long term retention backup.

function beginRemoveTimeBasedImmutability(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveTimeBasedImmutabilityOptionalParams): Promise<SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

Parameters

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

beginRemoveTimeBasedImmutabilityAndWait(string, string, string, string, LongTermRetentionBackupsRemoveTimeBasedImmutabilityOptionalParams)

Remove time based immutability of an existing long term retention backup.

function beginRemoveTimeBasedImmutabilityAndWait(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveTimeBasedImmutabilityOptionalParams): Promise<LongTermRetentionBackup>

Parameters

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

beginRemoveTimeBasedImmutabilityByResourceGroup(string, string, string, string, string, LongTermRetentionBackupsRemoveTimeBasedImmutabilityByResourceGroupOptionalParams)

Remove time based immutability of an existing long term retention backup.

function beginRemoveTimeBasedImmutabilityByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveTimeBasedImmutabilityByResourceGroupOptionalParams): Promise<SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

Parameters

resourceGroupName

string

The resource group name of the database.

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

beginRemoveTimeBasedImmutabilityByResourceGroupAndWait(string, string, string, string, string, LongTermRetentionBackupsRemoveTimeBasedImmutabilityByResourceGroupOptionalParams)

Remove time based immutability of an existing long term retention backup.

function beginRemoveTimeBasedImmutabilityByResourceGroupAndWait(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsRemoveTimeBasedImmutabilityByResourceGroupOptionalParams): Promise<LongTermRetentionBackup>

Parameters

resourceGroupName

string

The resource group name of the database.

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

beginSetLegalHoldImmutability(string, string, string, string, LongTermRetentionBackupsSetLegalHoldImmutabilityOptionalParams)

Set legal hold immutability of an existing long term retention backup.

function beginSetLegalHoldImmutability(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsSetLegalHoldImmutabilityOptionalParams): Promise<SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

Parameters

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

beginSetLegalHoldImmutabilityAndWait(string, string, string, string, LongTermRetentionBackupsSetLegalHoldImmutabilityOptionalParams)

Set legal hold immutability of an existing long term retention backup.

function beginSetLegalHoldImmutabilityAndWait(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsSetLegalHoldImmutabilityOptionalParams): Promise<LongTermRetentionBackup>

Parameters

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

beginSetLegalHoldImmutabilityByResourceGroup(string, string, string, string, string, LongTermRetentionBackupsSetLegalHoldImmutabilityByResourceGroupOptionalParams)

Set legal hold immutability of an existing long term retention backup.

function beginSetLegalHoldImmutabilityByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsSetLegalHoldImmutabilityByResourceGroupOptionalParams): Promise<SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

Parameters

resourceGroupName

string

The resource group name of the database.

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<LongTermRetentionBackup>, LongTermRetentionBackup>>

beginSetLegalHoldImmutabilityByResourceGroupAndWait(string, string, string, string, string, LongTermRetentionBackupsSetLegalHoldImmutabilityByResourceGroupOptionalParams)

Set legal hold immutability of an existing long term retention backup.

function beginSetLegalHoldImmutabilityByResourceGroupAndWait(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsSetLegalHoldImmutabilityByResourceGroupOptionalParams): Promise<LongTermRetentionBackup>

Parameters

resourceGroupName

string

The resource group name of the database.

locationName

string

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

beginUpdate(string, string, string, string, UpdateLongTermRetentionBackupParameters, LongTermRetentionBackupsUpdateOptionalParams)

Updates an existing long term retention backup.

function beginUpdate(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: UpdateLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<LongTermRetentionBackupOperationResult>, LongTermRetentionBackupOperationResult>>

Parameters

locationName

string

The location of the database.

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

parameters
UpdateLongTermRetentionBackupParameters

The requested backup resource state

options
LongTermRetentionBackupsUpdateOptionalParams

The options parameters.

Returns

beginUpdateAndWait(string, string, string, string, UpdateLongTermRetentionBackupParameters, LongTermRetentionBackupsUpdateOptionalParams)

Updates an existing long term retention backup.

function beginUpdateAndWait(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: UpdateLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsUpdateOptionalParams): Promise<LongTermRetentionBackupOperationResult>

Parameters

locationName

string

The location of the database.

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

parameters
UpdateLongTermRetentionBackupParameters

The requested backup resource state

options
LongTermRetentionBackupsUpdateOptionalParams

The options parameters.

Returns

beginUpdateByResourceGroup(string, string, string, string, string, UpdateLongTermRetentionBackupParameters, LongTermRetentionBackupsUpdateByResourceGroupOptionalParams)

Updates an existing long term retention backup.

function beginUpdateByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: UpdateLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsUpdateByResourceGroupOptionalParams): Promise<SimplePollerLike<OperationState<LongTermRetentionBackupOperationResult>, LongTermRetentionBackupOperationResult>>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The location of the database.

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

parameters
UpdateLongTermRetentionBackupParameters

The requested backup resource state

Returns

beginUpdateByResourceGroupAndWait(string, string, string, string, string, UpdateLongTermRetentionBackupParameters, LongTermRetentionBackupsUpdateByResourceGroupOptionalParams)

Updates an existing long term retention backup.

function beginUpdateByResourceGroupAndWait(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, parameters: UpdateLongTermRetentionBackupParameters, options?: LongTermRetentionBackupsUpdateByResourceGroupOptionalParams): Promise<LongTermRetentionBackupOperationResult>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The location of the database.

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

parameters
UpdateLongTermRetentionBackupParameters

The requested backup resource state

Returns

get(string, string, string, string, LongTermRetentionBackupsGetOptionalParams)

Gets a long term retention backup.

function get(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsGetOptionalParams): Promise<LongTermRetentionBackup>

Parameters

locationName

string

The location of the database.

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

options
LongTermRetentionBackupsGetOptionalParams

The options parameters.

Returns

getByResourceGroup(string, string, string, string, string, LongTermRetentionBackupsGetByResourceGroupOptionalParams)

Gets a long term retention backup.

function getByResourceGroup(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, backupName: string, options?: LongTermRetentionBackupsGetByResourceGroupOptionalParams): Promise<LongTermRetentionBackup>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The location of the database.

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

backupName

string

The backup name.

Returns

listByDatabase(string, string, string, LongTermRetentionBackupsListByDatabaseOptionalParams)

Lists all long term retention backups for a database.

function listByDatabase(locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: LongTermRetentionBackupsListByDatabaseOptionalParams): PagedAsyncIterableIterator<LongTermRetentionBackup, LongTermRetentionBackup[], PageSettings>

Parameters

locationName

string

The location of the database

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

Returns

listByLocation(string, LongTermRetentionBackupsListByLocationOptionalParams)

Lists the long term retention backups for a given location.

function listByLocation(locationName: string, options?: LongTermRetentionBackupsListByLocationOptionalParams): PagedAsyncIterableIterator<LongTermRetentionBackup, LongTermRetentionBackup[], PageSettings>

Parameters

locationName

string

The location of the database

Returns

listByResourceGroupDatabase(string, string, string, string, LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams)

Lists all long term retention backups for a database based on a particular resource group.

function listByResourceGroupDatabase(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, longTermRetentionDatabaseName: string, options?: LongTermRetentionBackupsListByResourceGroupDatabaseOptionalParams): PagedAsyncIterableIterator<LongTermRetentionBackup, LongTermRetentionBackup[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The location of the database

longTermRetentionServerName

string

The name of the server

longTermRetentionDatabaseName

string

The name of the database

Returns

listByResourceGroupLocation(string, string, LongTermRetentionBackupsListByResourceGroupLocationOptionalParams)

Lists the long term retention backups for a given location based on resource group.

function listByResourceGroupLocation(resourceGroupName: string, locationName: string, options?: LongTermRetentionBackupsListByResourceGroupLocationOptionalParams): PagedAsyncIterableIterator<LongTermRetentionBackup, LongTermRetentionBackup[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The location of the database

Returns

listByResourceGroupServer(string, string, string, LongTermRetentionBackupsListByResourceGroupServerOptionalParams)

Lists the long term retention backups for a given server based on resource groups.

function listByResourceGroupServer(resourceGroupName: string, locationName: string, longTermRetentionServerName: string, options?: LongTermRetentionBackupsListByResourceGroupServerOptionalParams): PagedAsyncIterableIterator<LongTermRetentionBackup, LongTermRetentionBackup[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

locationName

string

The location of the database

longTermRetentionServerName

string

The name of the server

Returns

listByServer(string, string, LongTermRetentionBackupsListByServerOptionalParams)

Lists the long term retention backups for a given server.

function listByServer(locationName: string, longTermRetentionServerName: string, options?: LongTermRetentionBackupsListByServerOptionalParams): PagedAsyncIterableIterator<LongTermRetentionBackup, LongTermRetentionBackup[], PageSettings>

Parameters

locationName

string

The location of the database

longTermRetentionServerName

string

The name of the server

options
LongTermRetentionBackupsListByServerOptionalParams

The options parameters.

Returns