All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.azurefleet.enums.WindowsVMGuestPatchMode Maven / Gradle / Ivy

There is a newer version: 2.89.2
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.azurefleet.enums;

import com.pulumi.core.annotations.EnumType;
import java.lang.String;
import java.util.Objects;
import java.util.StringJoiner;

    /**
     * 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
     * 
     */
    @EnumType
    public enum WindowsVMGuestPatchMode {
        /**
         * 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
         * 
         */
        Manual("Manual"),
        /**
         * The virtual machine will automatically be updated by the OS.
         * The property WindowsConfiguration.enableAutomaticUpdates must be true.
         * 
         */
        AutomaticByOS("AutomaticByOS"),
        /**
         * The virtual machine will automatically updated by the platform. The properties
         * provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true.
         * 
         */
        AutomaticByPlatform("AutomaticByPlatform");

        private final String value;

        WindowsVMGuestPatchMode(String value) {
            this.value = Objects.requireNonNull(value);
        }

        @EnumType.Converter
        public String getValue() {
            return this.value;
        }

        @Override
        public java.lang.String toString() {
            return new StringJoiner(", ", "WindowsVMGuestPatchMode[", "]")
                .add("value='" + this.value + "'")
                .toString();
        }
    }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy