Compartilhar via


VirtualMachineScaleSetVMRunCommandsOperationsExtensions.BeginUpdateAsync Método

Definição

A operação para atualizar o comando de execução da VM VMSS.

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

Parâmetros

operations
IVirtualMachineScaleSetVMRunCommandsOperations

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

resourceGroupName
String

O nome do grupo de recursos.

vmScaleSetName
String

O nome do conjunto de dimensionamento da VM.

instanceId
String

A ID da instância da máquina virtual.

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