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

com.azure.resourcemanager.appcontainers.models.ActiveRevisionsMode Maven / Gradle / Ivy

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

package com.azure.resourcemanager.appcontainers.models;

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

/**
 * ActiveRevisionsMode controls how active revisions are handled for the Container app:
 * <list><item>Multiple: multiple revisions can be active.</item><item>Single: Only one revision
 * can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the
 * default.</item></list>.
 */
public final class ActiveRevisionsMode extends ExpandableStringEnum {
    /**
     * Static value Multiple for ActiveRevisionsMode.
     */
    public static final ActiveRevisionsMode MULTIPLE = fromString("Multiple");

    /**
     * Static value Single for ActiveRevisionsMode.
     */
    public static final ActiveRevisionsMode SINGLE = fromString("Single");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy