// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.networkcloud.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Selects the boot method for the virtual machine. */
public final class VirtualMachineBootMethod extends ExpandableStringEnum<VirtualMachineBootMethod> {
    /** Static value UEFI for VirtualMachineBootMethod. */
    public static final VirtualMachineBootMethod UEFI = fromString("UEFI");

    /** Static value BIOS for VirtualMachineBootMethod. */
    public static final VirtualMachineBootMethod BIOS = fromString("BIOS");

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

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

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