Compartilhar via


VirtualMachineRunCommandsOperationsExtensions.BeginUpdateAsync Método

Definição

A operação para atualizar o comando executar.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineRunCommandInner> BeginUpdateAsync (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 BeginUpdateAsync : 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 BeginUpdateAsync (operations As IVirtualMachineRunCommandsOperations, resourceGroupName As String, vmName As String, runCommandName As String, runCommand As VirtualMachineRunCommandUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualMachineRunCommandInner)

Parâmetros

operations
IVirtualMachineRunCommandsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

vmName
String

O nome da máquina virtual em que o comando de execução deve ser atualizado.

runCommandName
String

O nome do comando de execução da máquina virtual.

runCommand
VirtualMachineRunCommandUpdate

Parâmetros fornecidos para a operação Atualizar RunCommand da Máquina Virtual.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a