共用方式為


MySqlFlexibleServerResource.GetLogFilesAsync(CancellationToken) Method

Definition

List all the server log files in a given server.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to