LongTermRetentionBackups

Lists the long term retention backups for a given location.

get/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionBackups

Path parameters

locationNamestring required

The location of the database

subscriptionIdstring required

The subscription ID that identifies an Azure subscription.

Query parameters

onlyLatestPerDatabaseboolean

Whether or not to only get the latest backup for each database.

databaseState'All' | 'Live' | 'Deleted'

Whether to query against just live databases, just deleted databases, or all databases.

api-versionstring required

The API version to use for the request.

Response

Successfully retrieved the list of backups.

valueLongTermRetentionBackup[] — unresolved $ref

Array of results.

nextLinkstring

Link to retrieve next page of results.

Changes

No recorded changes to this endpoint across all 9 revisions of this API.