IContainerGroups.GetLogContent Method

Definition

Overloads

GetLogContent(String, String, String)

Get the log content for the specified container instance within a container group.

GetLogContent(String, String, String, Int32)

Get the log content for the specified container instance within a container group.

GetLogContent(String, String, String)

Get the log content for the specified container instance within a container group.

public string GetLogContent (string resourceGroupName, string containerGroupName, string containerName);
abstract member GetLogContent : string * string * string -> string
Public Function GetLogContent (resourceGroupName As String, containerGroupName As String, containerName As String) As String

Parameters

resourceGroupName
String

The Azure resource group name.

containerGroupName
String

The container group name.

containerName
String

The container instance name.

Returns

Applies to

GetLogContent(String, String, String, Int32)

Get the log content for the specified container instance within a container group.

public string GetLogContent (string resourceGroupName, string containerGroupName, string containerName, int tailLineCount);
abstract member GetLogContent : string * string * string * int -> string
Public Function GetLogContent (resourceGroupName As String, containerGroupName As String, containerName As String, tailLineCount As Integer) As String

Parameters

resourceGroupName
String

The Azure resource group name.

containerGroupName
String

The container group name.

containerName
String

The container instance name.

tailLineCount
Int32

Only get the last log lines up to this.

Returns

Applies to