LongTermRetentionBackups interface
Interface representing a LongTermRetentionBackups.
Methods
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
Contains the information necessary to change long term retention backup access tier and related operation mode.
The options parameters.
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
Contains the information necessary to change long term retention backup access tier and related operation mode.
The options parameters.
Returns
Promise<LongTermRetentionBackup>
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
Contains the information necessary to change long term retention backup access tier and related operation mode.
The options parameters.
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
Contains the information necessary to change long term retention backup access tier and related operation mode.
The options parameters.
Returns
Promise<LongTermRetentionBackup>
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
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<LongTermRetentionBackupOperationResult>, LongTermRetentionBackupOperationResult>>
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
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
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<LongTermRetentionBackupOperationResult>, LongTermRetentionBackupOperationResult>>
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
The options parameters.
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.
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.
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.
The options parameters.
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.
The options parameters.
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.
The options parameters.
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.
The options parameters.
Returns
Promise<LongTermRetentionBackup>
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.
The options parameters.
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.
The options parameters.
Returns
Promise<LongTermRetentionBackup>
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.
The options parameters.
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.
The options parameters.
Returns
Promise<LongTermRetentionBackup>
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.
The options parameters.
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.
The options parameters.
Returns
Promise<LongTermRetentionBackup>
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.
The options parameters.
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.
The options parameters.
Returns
Promise<LongTermRetentionBackup>
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.
The options parameters.
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.
The options parameters.
Returns
Promise<LongTermRetentionBackup>
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.
The options parameters.
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.
The options parameters.
Returns
Promise<LongTermRetentionBackup>
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.
The options parameters.
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.
The options parameters.
Returns
Promise<LongTermRetentionBackup>
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
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<LongTermRetentionBackupOperationResult>, LongTermRetentionBackupOperationResult>>
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
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
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<LongTermRetentionBackupOperationResult>, LongTermRetentionBackupOperationResult>>
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
The options parameters.
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.
The options parameters.
Returns
Promise<LongTermRetentionBackup>
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.
The options parameters.
Returns
Promise<LongTermRetentionBackup>
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
The options parameters.
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
The options parameters.
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
The options parameters.
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
The options parameters.
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
The options parameters.
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
The options parameters.