Compartir a través de


IVirtualMachineScaleSetsBeta.RunCommandVMInstanceAsync Método

Definición

Ejecute comandos en una instancia de máquina virtual en un conjunto de escalado de forma asincrónica.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandResultInner> RunCommandVMInstanceAsync (string groupName, string scaleSetName, string vmId, Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandInput inputCommand, System.Threading.CancellationToken cancellationToken = default);
abstract member RunCommandVMInstanceAsync : string * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandInput * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.RunCommandResultInner>
Public Function RunCommandVMInstanceAsync (groupName As String, scaleSetName As String, vmId As String, inputCommand As RunCommandInput, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RunCommandResultInner)

Parámetros

groupName
String

El nombre del grupo de recursos.

scaleSetName
String

Nombre del conjunto de escalado de máquinas virtuales.

vmId
String

Identificador de instancia de máquina virtual.

inputCommand
RunCommandInput

Entrada de comando.

cancellationToken
CancellationToken

Devoluciones

Se aplica a