Freigeben über


IContainerGroup.GetLogContentAsync Methode

Definition

Überlädt

GetLogContentAsync(String, CancellationToken)

Rufen Sie den Protokollinhalt für den angegebenen Container instance innerhalb der Containergruppe ab.

GetLogContentAsync(String, Int32, CancellationToken)

Rufen Sie den Protokollinhalt für den angegebenen Container instance innerhalb der Containergruppe ab.

GetLogContentAsync(String, CancellationToken)

Rufen Sie den Protokollinhalt für den angegebenen Container instance innerhalb der Containergruppe ab.

public System.Threading.Tasks.Task<string> GetLogContentAsync(string containerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLogContentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetLogContentAsync (containerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parameter

containerName
String

Der Name des Containers instance.

cancellationToken
CancellationToken

Gibt zurück

Gilt für:

GetLogContentAsync(String, Int32, CancellationToken)

Rufen Sie den Protokollinhalt für den angegebenen Container instance innerhalb der Containergruppe ab.

public System.Threading.Tasks.Task<string> GetLogContentAsync(string containerName, int tailLineCount, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLogContentAsync : string * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetLogContentAsync (containerName As String, tailLineCount As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)

Parameter

containerName
String

Der Name des Containers instance.

tailLineCount
Int32

Rufen Sie nur die letzten Protokollzeilen bis zu diesem Protokoll ab.

cancellationToken
CancellationToken

Gibt zurück

Gilt für: