IContainerGroups.GetLogContentAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
GetLogContentAsync(String, String, String, CancellationToken) |
Rufen Sie den Protokollinhalt für den angegebenen Container instance innerhalb einer Containergruppe ab. |
GetLogContentAsync(String, String, String, Int32, CancellationToken) |
Rufen Sie den Protokollinhalt für den angegebenen Container instance innerhalb einer Containergruppe ab. |
GetLogContentAsync(String, String, String, CancellationToken)
Rufen Sie den Protokollinhalt für den angegebenen Container instance innerhalb einer Containergruppe ab.
public System.Threading.Tasks.Task<string> GetLogContentAsync(string resourceGroupName, string containerGroupName, string containerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLogContentAsync : string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetLogContentAsync (resourceGroupName As String, containerGroupName As String, containerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)
Parameter
- resourceGroupName
- String
Der Azure-Ressourcengruppenname.
- containerGroupName
- String
Der Name der Containergruppe.
- containerName
- String
Der Name des Containers instance.
- cancellationToken
- CancellationToken
Gibt zurück
Gilt für:
GetLogContentAsync(String, String, String, Int32, CancellationToken)
Rufen Sie den Protokollinhalt für den angegebenen Container instance innerhalb einer Containergruppe ab.
public System.Threading.Tasks.Task<string> GetLogContentAsync(string resourceGroupName, string containerGroupName, string containerName, int tailLineCount, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLogContentAsync : string * string * string * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Function GetLogContentAsync (resourceGroupName As String, containerGroupName As String, containerName As String, tailLineCount As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)
Parameter
- resourceGroupName
- String
Der Azure-Ressourcengruppenname.
- containerGroupName
- String
Der Name der Containergruppe.
- 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:
Azure SDK for .NET