Compartir a través de


IContainerGroup.ExecuteCommandAsync Método

Definición

Inicia el comando exec para una instancia de contenedor específica dentro del grupo de contenedores.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerExecResponse> ExecuteCommandAsync (string containerName, string command, int row, int column, System.Threading.CancellationToken cancellationToken = default);
abstract member ExecuteCommandAsync : string * string * int * int * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerExecResponse>
Public Function ExecuteCommandAsync (containerName As String, command As String, row As Integer, column As Integer, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IContainerExecResponse)

Parámetros

containerName
String

Nombre de la instancia de contenedor.

command
String

Comando que se va a ejecutar.

row
Int32

Tamaño de fila del terminal.

column
Int32

Tamaño de columna del terminal.

cancellationToken
CancellationToken

Devoluciones

Se aplica a