Partilhar via


VirtualMachineScaleSetVMRunCommandsOperationsExtensions.BeginCreateOrUpdate Método

Definição

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

public static Microsoft.Azure.Management.Compute.Models.VirtualMachineRunCommand BeginCreateOrUpdate (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMRunCommandsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, string runCommandName, Microsoft.Azure.Management.Compute.Models.VirtualMachineRunCommand runCommand);
static member BeginCreateOrUpdate : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMRunCommandsOperations * string * string * string * string * Microsoft.Azure.Management.Compute.Models.VirtualMachineRunCommand -> Microsoft.Azure.Management.Compute.Models.VirtualMachineRunCommand
<Extension()>
Public Function BeginCreateOrUpdate (operations As IVirtualMachineScaleSetVMRunCommandsOperations, resourceGroupName As String, vmScaleSetName As String, instanceId As String, runCommandName As String, runCommand As VirtualMachineRunCommand) As 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 de VMs.

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
VirtualMachineRunCommand

Parâmetros fornecidos para a operação Create Virtual Machine RunCommand.

Retornos

Aplica-se a