共用方式為


MySqlFlexibleServerCollection.GetAllAsync(CancellationToken) Method

Definition

List all the servers in a given resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers
  • Operation Id: Servers_ListByResourceGroup
  • Default Api Version: 2023-12-30
  • Resource: MySqlFlexibleServerResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerResource>
Public Overridable Function GetAllAsync (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