PostgreSqlFlexibleServerResource.GetPostgreSqlFlexibleServerLogFilesAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.AsyncPageable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLogFile> GetPostgreSqlFlexibleServerLogFilesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPostgreSqlFlexibleServerLogFilesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLogFile>
override this.GetPostgreSqlFlexibleServerLogFilesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerLogFile>
Public Overridable Function GetPostgreSqlFlexibleServerLogFilesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PostgreSqlFlexibleServerLogFile)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of PostgreSqlFlexibleServerLogFile that may take multiple service requests to iterate over.