Share via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to