Partager via


VirtualMachinesOperationsExtensions.BeginInstallPatchesAsync Méthode

Définition

Installe des correctifs sur la machine virtuelle.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesResult> BeginInstallPatchesAsync (this Microsoft.Azure.Management.Compute.IVirtualMachinesOperations operations, string resourceGroupName, string vmName, Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesParameters installPatchesInput, System.Threading.CancellationToken cancellationToken = default);
static member BeginInstallPatchesAsync : Microsoft.Azure.Management.Compute.IVirtualMachinesOperations * string * string * Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesResult>
<Extension()>
Public Function BeginInstallPatchesAsync (operations As IVirtualMachinesOperations, resourceGroupName As String, vmName As String, installPatchesInput As VirtualMachineInstallPatchesParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of VirtualMachineInstallPatchesResult)

Paramètres

operations
IVirtualMachinesOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

vmName
String

Nom de la machine virtuelle.

installPatchesInput
VirtualMachineInstallPatchesParameters

Entrée pour InstallPatches reçue directement par l’API

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à