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

com.azure.resourcemanager.mysqlflexibleserver.models.CreateMode 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.mysqlflexibleserver.models;

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

/**
 * The mode to create a new MySQL server.
 */
public final class CreateMode extends ExpandableStringEnum {
    /**
     * Static value Default for CreateMode.
     */
    public static final CreateMode DEFAULT = fromString("Default");

    /**
     * Static value PointInTimeRestore for CreateMode.
     */
    public static final CreateMode POINT_IN_TIME_RESTORE = fromString("PointInTimeRestore");

    /**
     * Static value Replica for CreateMode.
     */
    public static final CreateMode REPLICA = fromString("Replica");

    /**
     * Static value GeoRestore for CreateMode.
     */
    public static final CreateMode GEO_RESTORE = fromString("GeoRestore");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy