Share via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to