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

com.azure.resourcemanager.sql.models.CheckNameAvailabilityResult Maven / Gradle / Ivy

Go to download

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.
package com.azure.resourcemanager.sql.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel;
import com.azure.resourcemanager.sql.fluent.models.CheckNameAvailabilityResponseInner;

/** The result of checking for the SQL server name availability. */
@Fluent
public interface CheckNameAvailabilityResult extends HasInnerModel {
    /** @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 - 2024 Weber Informatics LLC | Privacy Policy