Interface NameAvailability
public interface NameAvailability
An immutable client-side representation of NameAvailability.
-
Method Summary
Modifier and TypeMethodDescriptionGets the inner com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.NameAvailabilityInner object.message()
Gets the message property: Detailed reason why the given name is available.name()
Gets the name property: name of the PostgreSQL server.Gets the nameAvailable property: Indicates if the resource name is available.reason()
Gets the reason property: The reason why the given name is not available.type()
Gets the type property: type of the server.
-
Method Details
-
nameAvailable
Boolean nameAvailable()Gets the nameAvailable property: Indicates if the resource name is available.- Returns:
- the nameAvailable value.
-
reason
CheckNameAvailabilityReason reason()Gets the reason property: The reason why the given name is not available.- Returns:
- the reason value.
-
message
String message()Gets the message property: Detailed reason why the given name is available.- Returns:
- the message value.
-
name
String name()Gets the name property: name of the PostgreSQL server.- Returns:
- the name value.
-
type
String type()Gets the type property: type of the server.- Returns:
- the type value.
-
innerModel
NameAvailabilityInner innerModel()Gets the inner com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.NameAvailabilityInner object.- Returns:
- the inner object.
-