ArmMaintenanceModelFactory.MaintenancePatchConfiguration 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.
public static Azure.ResourceManager.Maintenance.Models.MaintenancePatchConfiguration MaintenancePatchConfiguration(Azure.ResourceManager.Maintenance.Models.MaintenanceRebootOption? rebootSetting = default, Azure.ResourceManager.Maintenance.Models.MaintenanceWindowsPatchSettings windowsPatchSettings = default, Azure.ResourceManager.Maintenance.Models.MaintenanceLinuxPatchSettings linuxPatchSettings = default);
static member MaintenancePatchConfiguration : Nullable<Azure.ResourceManager.Maintenance.Models.MaintenanceRebootOption> * Azure.ResourceManager.Maintenance.Models.MaintenanceWindowsPatchSettings * Azure.ResourceManager.Maintenance.Models.MaintenanceLinuxPatchSettings -> Azure.ResourceManager.Maintenance.Models.MaintenancePatchConfiguration
Public Shared Function MaintenancePatchConfiguration (Optional rebootSetting As Nullable(Of MaintenanceRebootOption) = Nothing, Optional windowsPatchSettings As MaintenanceWindowsPatchSettings = Nothing, Optional linuxPatchSettings As MaintenanceLinuxPatchSettings = Nothing) As MaintenancePatchConfiguration
Parameters
- rebootSetting
- Nullable<MaintenanceRebootOption>
Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.
- windowsPatchSettings
- MaintenanceWindowsPatchSettings
Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.
- linuxPatchSettings
- MaintenanceLinuxPatchSettings
Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.
Returns
A new MaintenancePatchConfiguration instance for mocking.