com.microsoft.azure.management.sql.CheckNameAvailabilityResult Maven / Gradle / Ivy
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.sql;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.resources.fluentcore.model.HasInner;
import com.microsoft.azure.management.sql.implementation.CheckNameAvailabilityResponseInner;
/**
* The result of checking for the SQL server name availability.
*/
@Fluent
@Beta(Beta.SinceVersion.V1_8_0)
public interface CheckNameAvailabilityResult extends HasInner {
/**
* @return true if the specified name is valid and available for use, otherwise false
*/
boolean isAvailable();
/**
* @return the reason why the user-provided name for the SQL server could not be used
*/
String unavailabilityReason();
/**
* @return the error message that provides more detail for the reason why the name is not available
*/
String unavailabilityMessage();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy