Class CheckNameAvailabilityResponseInner
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.CheckNameAvailabilityResponseInner
The result of a name availability check.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CheckNameAvailabilityResponseInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the available property: True if the name is available, otherwise false.message()Get the message property: A message explaining why the name is unavailable.name()Get the name property: The name whose availability was checked.reason()Get the reason property: The reason code explaining why the name is unavailable.voidvalidate()Validates the instance.
-
Constructor Details
-
CheckNameAvailabilityResponseInner
public CheckNameAvailabilityResponseInner()Creates an instance of CheckNameAvailabilityResponseInner class.
-
-
Method Details
-
name
Get the name property: The name whose availability was checked.- Returns:
- the name value.
-
available
Get the available property: True if the name is available, otherwise false.- Returns:
- the available value.
-
reason
Get the reason property: The reason code explaining why the name is unavailable. Will be undefined if the name is available.- Returns:
- the reason value.
-
message
Get the message property: A message explaining why the name is unavailable. Will be undefined if the name is available.- Returns:
- the message value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-