Freigeben über


SubscriptionLongTermRetentionBackupCollection.GetAll Methode

Definition

Listet alle Sicherungen der langfristigen Aufbewahrung für eine Datenbank auf.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/longTermRetentionServers/{longTermRetentionServerName}/longTermRetentionDatabases/{longTermRetentionDatabaseName}/longTermRetentionBackups
  • Vorgangs-IdLongTermRetentionBackups_ListByDatabase
public virtual Azure.Pageable<Azure.ResourceManager.Sql.SubscriptionLongTermRetentionBackupResource> GetAll (bool? onlyLatestPerDatabase = default, Azure.ResourceManager.Sql.Models.SqlDatabaseState? databaseState = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Nullable<bool> * Nullable<Azure.ResourceManager.Sql.Models.SqlDatabaseState> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SubscriptionLongTermRetentionBackupResource>
override this.GetAll : Nullable<bool> * Nullable<Azure.ResourceManager.Sql.Models.SqlDatabaseState> * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SubscriptionLongTermRetentionBackupResource>
Public Overridable Function GetAll (Optional onlyLatestPerDatabase As Nullable(Of Boolean) = Nothing, Optional databaseState As Nullable(Of SqlDatabaseState) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SubscriptionLongTermRetentionBackupResource)

Parameter

onlyLatestPerDatabase
Nullable<Boolean>

Gibt an, ob nur die neueste Sicherung für jede Datenbank abgerufen werden soll.

databaseState
Nullable<SqlDatabaseState>

Gibt an, ob nur Livedatenbanken, nur gelöschte Datenbanken oder alle Datenbanken abgefragt werden sollen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine Sammlung von SubscriptionLongTermRetentionBackupResource , die mehrere Dienstanforderungen durchlaufen kann.

Gilt für: