ArmComputeModelFactory.VirtualMachineInstallPatchesContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of VirtualMachineInstallPatchesContent.
public static Azure.ResourceManager.Compute.Models.VirtualMachineInstallPatchesContent VirtualMachineInstallPatchesContent (TimeSpan? maximumDuration = default, Azure.ResourceManager.Compute.Models.VmGuestPatchRebootSetting rebootSetting = default, Azure.ResourceManager.Compute.Models.WindowsParameters windowsParameters = default, Azure.ResourceManager.Compute.Models.LinuxParameters linuxParameters = default);
static member VirtualMachineInstallPatchesContent : Nullable<TimeSpan> * Azure.ResourceManager.Compute.Models.VmGuestPatchRebootSetting * Azure.ResourceManager.Compute.Models.WindowsParameters * Azure.ResourceManager.Compute.Models.LinuxParameters -> Azure.ResourceManager.Compute.Models.VirtualMachineInstallPatchesContent
Public Shared Function VirtualMachineInstallPatchesContent (Optional maximumDuration As Nullable(Of TimeSpan) = Nothing, Optional rebootSetting As VmGuestPatchRebootSetting = Nothing, Optional windowsParameters As WindowsParameters = Nothing, Optional linuxParameters As LinuxParameters = Nothing) As VirtualMachineInstallPatchesContent
Parameters
Specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours).
- rebootSetting
- VmGuestPatchRebootSetting
Defines when it is acceptable to reboot a VM during a software update operation.
- windowsParameters
- WindowsParameters
Input for InstallPatches on a Windows VM, as directly received by the API.
- linuxParameters
- LinuxParameters
Input for InstallPatches on a Linux VM, as directly received by the API.
Returns
A new VirtualMachineInstallPatchesContent instance for mocking.
Applies to
Azure SDK for .NET