共用方式為


ManagedRestorableDroppedDbBackupShortTermRetentionPolicyCollection.GetAllAsync Method

Definition

Gets a dropped database's short term retention policy list.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/restorableDroppedDatabases/{restorableDroppedDatabaseId}/backupShortTermRetentionPolicies
  • Operation Id: ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies_ListByRestorableDroppedDatabase
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of ManagedRestorableDroppedDbBackupShortTermRetentionPolicyResource that may take multiple service requests to iterate over.

Applies to