다음을 통해 공유


MockableMySqlSubscriptionResource.GetMySqlServersAsync Method

Definition

List all the servers in a given subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to