Dela via


ManagedBackupShortTermRetentionPolicyCollection.GetAll Method

Definition

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

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ManagedBackupShortTermRetentionPolicyResource that may take multiple service requests to iterate over.

Applies to