// 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;

/** The name of the service. */
public final class OrchestrationServiceNames extends ExpandableStringEnum<OrchestrationServiceNames> {
    /** Static value AutomaticRepairs for OrchestrationServiceNames. */
    public static final OrchestrationServiceNames AUTOMATIC_REPAIRS = fromString("AutomaticRepairs");

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

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

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