Partager via


VirtualMachineRunCommandsOperationsExtensions.UpdateAsync Méthode

Définition

Opération de mise à jour de la commande d’exécution.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandInner> UpdateAsync (this Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineRunCommandsOperations operations, string resourceGroupName, string vmName, string runCommandName, Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandUpdate runCommand, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Compute.Fluent.IVirtualMachineRunCommandsOperations * string * string * string * Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandInner>
<Extension()>
Public Function UpdateAsync (operations As IVirtualMachineRunCommandsOperations, resourceGroupName As String, vmName As String, runCommandName As String, runCommand As VirtualMachineRunCommandUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualMachineRunCommandInner)

Paramètres

operations
IVirtualMachineRunCommandsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

vmName
String

Nom de la machine virtuelle sur laquelle la commande d’exécution doit être mise à jour.

runCommandName
String

Nom de la commande d’exécution de la machine virtuelle.

runCommand
VirtualMachineRunCommandUpdate

Paramètres fournis à l’opération Update Virtual Machine RunCommand.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à