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

com.azure.resourcemanager.redis.models.UpdateChannel Maven / Gradle / Ivy

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.redis.models;

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

/**
 * Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using
 * 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is
 * 'Stable'.
 */
public final class UpdateChannel extends ExpandableStringEnum {
    /**
     * Static value Stable for UpdateChannel.
     */
    public static final UpdateChannel STABLE = fromString("Stable");

    /**
     * Static value Preview for UpdateChannel.
     */
    public static final UpdateChannel PREVIEW = fromString("Preview");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy