// 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 com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Defines values for InGuestPatchMode. */
public final class InGuestPatchMode extends ExpandableStringEnum<InGuestPatchMode> {
    /** Static value Manual for InGuestPatchMode. */
    public static final InGuestPatchMode MANUAL = fromString("Manual");

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

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

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

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