GeoBackupPolicyCollection.GetAll(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.Pageable<Azure.ResourceManager.Sql.GeoBackupPolicyResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.GeoBackupPolicyResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.GeoBackupPolicyResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of GeoBackupPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to