com.azure.resourcemanager.sql.models.ManagedServerCreateMode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-sql Show documentation
Show all versions of azure-resourcemanager-sql Show documentation
This package contains Microsoft Azure Sql Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
The 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.sql.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Specifies the mode of database creation.
*
* Default: Regular instance creation.
*
* Restore: Creates an instance by restoring a set of backups to specific point in time. RestorePointInTime and
* SourceManagedInstanceId must be specified.
*/
public final class ManagedServerCreateMode extends ExpandableStringEnum {
/**
* Static value Default for ManagedServerCreateMode.
*/
public static final ManagedServerCreateMode DEFAULT = fromString("Default");
/**
* Static value PointInTimeRestore for ManagedServerCreateMode.
*/
public static final ManagedServerCreateMode POINT_IN_TIME_RESTORE = fromString("PointInTimeRestore");
/**
* Creates a new instance of ManagedServerCreateMode value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public ManagedServerCreateMode() {
}
/**
* Creates or finds a ManagedServerCreateMode from its string representation.
*
* @param name a name to look for.
* @return the corresponding ManagedServerCreateMode.
*/
public static ManagedServerCreateMode fromString(String name) {
return fromString(name, ManagedServerCreateMode.class);
}
/**
* Gets known ManagedServerCreateMode values.
*
* @return known ManagedServerCreateMode values.
*/
public static Collection values() {
return values(ManagedServerCreateMode.class);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy