Share via


GeoBackupPolicyCollection.GetAllAsync(CancellationToken) Method

Definition

Returns a list of geo backup policies.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/geoBackupPolicies
  • Operation Id: GeoBackupPolicies_ListByDatabase
  • Default Api Version: 2014-04-01
  • Resource: GeoBackupPolicyResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.GeoBackupPolicyResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.GeoBackupPolicyResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.GeoBackupPolicyResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of GeoBackupPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to