Share via


PostgreSqlFlexibleServerResource.GetPostgreSqlFlexibleServerLogFiles Method

Definition

List all the server log files in a given server.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/logFiles
  • Operation Id: LogFiles_ListByServer
  • Default Api Version: 2024-08-01
public virtual Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLogFile> GetPostgreSqlFlexibleServerLogFiles (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPostgreSqlFlexibleServerLogFiles : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLogFile>
override this.GetPostgreSqlFlexibleServerLogFiles : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLogFile>
Public Overridable Function GetPostgreSqlFlexibleServerLogFiles (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PostgreSqlFlexibleServerLogFile)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to