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

com.azure.resourcemanager.compute.models.WindowsVMGuestPatchMode Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Compute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.44.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.compute.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * 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.
 */
public final class WindowsVMGuestPatchMode extends ExpandableStringEnum {
    /**
     * Static value Manual for WindowsVMGuestPatchMode.
     */
    public static final WindowsVMGuestPatchMode MANUAL = fromString("Manual");

    /**
     * Static value AutomaticByOS for WindowsVMGuestPatchMode.
     */
    public static final WindowsVMGuestPatchMode AUTOMATIC_BY_OS = fromString("AutomaticByOS");

    /**
     * Static value AutomaticByPlatform for WindowsVMGuestPatchMode.
     */
    public static final WindowsVMGuestPatchMode AUTOMATIC_BY_PLATFORM = fromString("AutomaticByPlatform");

    /**
     * Creates a new instance of WindowsVMGuestPatchMode value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public WindowsVMGuestPatchMode() {
    }

    /**
     * Creates or finds a WindowsVMGuestPatchMode from its string representation.
     * 
     * @param name a name to look for.
     * @return the corresponding WindowsVMGuestPatchMode.
     */
    public static WindowsVMGuestPatchMode fromString(String name) {
        return fromString(name, WindowsVMGuestPatchMode.class);
    }

    /**
     * Gets known WindowsVMGuestPatchMode values.
     * 
     * @return known WindowsVMGuestPatchMode values.
     */
    public static Collection values() {
        return values(WindowsVMGuestPatchMode.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy