Share via


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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to