共用方式為


VirtualMachinesOperationsExtensions.InstallPatches Method

Definition

Installs patches on the VM.

public static Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesResult InstallPatches (this Microsoft.Azure.Management.Compute.IVirtualMachinesOperations operations, string resourceGroupName, string vmName, Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesParameters installPatchesInput);
static member InstallPatches : Microsoft.Azure.Management.Compute.IVirtualMachinesOperations * string * string * Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesParameters -> Microsoft.Azure.Management.Compute.Models.VirtualMachineInstallPatchesResult
<Extension()>
Public Function InstallPatches (operations As IVirtualMachinesOperations, resourceGroupName As String, vmName As String, installPatchesInput As VirtualMachineInstallPatchesParameters) As VirtualMachineInstallPatchesResult

Parameters

operations
IVirtualMachinesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmName
String

The name of the virtual machine.

installPatchesInput
VirtualMachineInstallPatchesParameters

Input for InstallPatches as directly received by the API

Returns

Applies to