PostgreSqlServerResource.GetLogFiles(CancellationToken) Method

Definition

List all the log files in a given server.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to