Freigeben über


VirtualMachineScaleSetVMRunCommandsOperationsExtensions.BeginCreateOrUpdate Methode

Definition

Der Vorgang zum Erstellen oder Aktualisieren des VMSS-Vm-Ausführungsbefehls.

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

Parameter

operations
IVirtualMachineScaleSetVMRunCommandsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe.

vmScaleSetName
String

Der Name der VM-Skalierungsgruppe.

instanceId
String

Die instance-ID des virtuellen Computers.

runCommandName
String

Der Name des Befehls zum Ausführen des virtuellen Computers.

runCommand
VirtualMachineRunCommand

Parameter, die für den RunCommand-Vorgang "Vm erstellen" bereitgestellt werden.

Gibt zurück

Gilt für: