Freigeben über


IVirtualMachinesOperations.BeginInstallPatchesWithHttpMessagesAsync Methode

Definition

Installiert Patches auf dem virtuellen Computer.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesResult>> BeginInstallPatchesWithHttpMessagesAsync (string resourceGroupName, string vmName, Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesParameters installPatchesInput, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginInstallPatchesWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesParameters * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesResult>>
Public Function BeginInstallPatchesWithHttpMessagesAsync (resourceGroupName As String, vmName As String, installPatchesInput As VirtualMachineInstallPatchesParameters, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of VirtualMachineInstallPatchesResult))

Parameter

resourceGroupName
String

Der Name der Ressourcengruppe.

vmName
String

Der Name des virtuellen Computers.

installPatchesInput
VirtualMachineInstallPatchesParameters

Eingabe für InstallPatches, die direkt von der API empfangen wird

customHeaders
Dictionary<String,List<String>>

Die Header, die der Anforderung hinzugefügt werden.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Ausnahmen

Wird ausgelöst, wenn der Vorgang einen ungültigen status Code zurückgegeben hat.

Wird ausgelöst, wenn die Antwort nicht deserialisiert werden kann

Wird ausgelöst, wenn ein erforderlicher Parameter NULL ist

Gilt für: