Share via


MockableMySqlFlexibleServersSubscriptionResource.GetMySqlFlexibleServersAsync Method

Definition

List all the servers in a given subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/flexibleServers
  • Operation Id: Servers_List
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerResource> GetMySqlFlexibleServersAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetMySqlFlexibleServersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerResource>
override this.GetMySqlFlexibleServersAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerResource>
Public Overridable Function GetMySqlFlexibleServersAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MySqlFlexibleServerResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to