Megosztás a következőn keresztül:


MachineInstallPatchesContent(TimeSpan, VmGuestPatchRebootSetting) Constructor

Definition

Initializes a new instance of MachineInstallPatchesContent.

public MachineInstallPatchesContent (TimeSpan maximumDuration, Azure.ResourceManager.HybridCompute.Models.VmGuestPatchRebootSetting rebootSetting);
new Azure.ResourceManager.HybridCompute.Models.MachineInstallPatchesContent : TimeSpan * Azure.ResourceManager.HybridCompute.Models.VmGuestPatchRebootSetting -> Azure.ResourceManager.HybridCompute.Models.MachineInstallPatchesContent
Public Sub New (maximumDuration As TimeSpan, rebootSetting As VmGuestPatchRebootSetting)

Parameters

maximumDuration
TimeSpan

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.

Applies to