Partager via


IVirtualMachineBeta.RunCommandAsync Méthode

Définition

Exécutez des commandes dans la machine virtuelle de manière asynchrone.

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

Paramètres

inputCommand
RunCommandInput

Entrée de commande.

cancellationToken
CancellationToken

Retours

S’applique à