ContainersOperationsExtensions.AttachAsync Method

Definition

Attach to the output of a specific container instance.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerInstance.Models.ContainerAttachResponse> AttachAsync (this Microsoft.Azure.Management.ContainerInstance.IContainersOperations operations, string resourceGroupName, string containerGroupName, string containerName, System.Threading.CancellationToken cancellationToken = default);
static member AttachAsync : Microsoft.Azure.Management.ContainerInstance.IContainersOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerInstance.Models.ContainerAttachResponse>
<Extension()>
Public Function AttachAsync (operations As IContainersOperations, resourceGroupName As String, containerGroupName As String, containerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ContainerAttachResponse)

Parameters

operations
IContainersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

containerGroupName
String

The name of the container group.

containerName
String

The name of the container instance.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Attach to the output stream of a specific container instance in a specified resource group and container group.

Applies to