Class PatchSettingsArgs.Builder

  • Enclosing class:
    PatchSettingsArgs

    public static final class PatchSettingsArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • assessmentMode

        public PatchSettingsArgs.Builder assessmentMode​(@Nullable
                                                        com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​WindowsPatchAssessmentMode>> assessmentMode)
        Parameters:
        assessmentMode - Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
        Returns:
        builder
      • assessmentMode

        public PatchSettingsArgs.Builder assessmentMode​(com.pulumi.core.Either<java.lang.String,​WindowsPatchAssessmentMode> assessmentMode)
        Parameters:
        assessmentMode - Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
        Returns:
        builder
      • assessmentMode

        public PatchSettingsArgs.Builder assessmentMode​(java.lang.String assessmentMode)
        Parameters:
        assessmentMode - Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
        Returns:
        builder
      • assessmentMode

        public PatchSettingsArgs.Builder assessmentMode​(WindowsPatchAssessmentMode assessmentMode)
        Parameters:
        assessmentMode - Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.
        Returns:
        builder
      • enableHotpatching

        public PatchSettingsArgs.Builder enableHotpatching​(@Nullable
                                                           com.pulumi.core.Output<java.lang.Boolean> enableHotpatching)
        Parameters:
        enableHotpatching - Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
        Returns:
        builder
      • enableHotpatching

        public PatchSettingsArgs.Builder enableHotpatching​(java.lang.Boolean enableHotpatching)
        Parameters:
        enableHotpatching - Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'.
        Returns:
        builder
      • patchMode

        public PatchSettingsArgs.Builder patchMode​(@Nullable
                                                   com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,​WindowsVMGuestPatchMode>> patchMode)
        Parameters:
        patchMode - Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
        Returns:
        builder
      • patchMode

        public PatchSettingsArgs.Builder patchMode​(com.pulumi.core.Either<java.lang.String,​WindowsVMGuestPatchMode> patchMode)
        Parameters:
        patchMode - Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
        Returns:
        builder
      • patchMode

        public PatchSettingsArgs.Builder patchMode​(java.lang.String patchMode)
        Parameters:
        patchMode - Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
        Returns:
        builder
      • patchMode

        public PatchSettingsArgs.Builder patchMode​(WindowsVMGuestPatchMode patchMode)
        Parameters:
        patchMode - Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true
        Returns:
        builder