Share via


ManagedDatabaseCollection.GetAllAsync(CancellationToken) Method

Definition

Gets a list of managed databases.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to