Interface NameAvailabilityModel
public interface NameAvailabilityModel
An immutable client-side representation of NameAvailabilityModel.
-
Method Summary
Modifier and TypeMethodDescriptionGets the inner com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.NameAvailabilityModelInner object.message()Gets the message property: Detailed reason why the given name is available.name()Gets the name property: Name for which validity and availability was checked.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 resource.
-
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 for which validity and availability was checked.- Returns:
- the name value.
-
type
String type()Gets the type property: Type of resource. It can be 'Microsoft.DBforPostgreSQL/flexibleServers' or 'Microsoft.DBforPostgreSQL/flexibleServers/virtualendpoints'.- Returns:
- the type value.
-
innerModel
NameAvailabilityModelInner innerModel()Gets the inner com.azure.resourcemanager.postgresqlflexibleserver.fluent.models.NameAvailabilityModelInner object.- Returns:
- the inner object.
-