Interface NameAvailabilityResponse
public interface NameAvailabilityResponse
An immutable client-side representation of NameAvailabilityResponse.
-
Method Summary
Modifier and TypeMethodDescriptionGets the inner com.azure.resourcemanager.datamigration.fluent.models.NameAvailabilityResponseInner object.message()
Gets the message property: The localized reason why the name is not available, if nameAvailable is false.Gets the nameAvailable property: If true, the name is valid and available.reason()
Gets the reason property: The reason why the name is not available, if nameAvailable is false.
-
Method Details
-
nameAvailable
Boolean nameAvailable()Gets the nameAvailable property: If true, the name is valid and available. If false, 'reason' describes why not.- Returns:
- the nameAvailable value.
-
reason
NameCheckFailureReason reason()Gets the reason property: The reason why the name is not available, if nameAvailable is false.- Returns:
- the reason value.
-
message
String message()Gets the message property: The localized reason why the name is not available, if nameAvailable is false.- Returns:
- the message value.
-
innerModel
NameAvailabilityResponseInner innerModel()Gets the inner com.azure.resourcemanager.datamigration.fluent.models.NameAvailabilityResponseInner object.- Returns:
- the inner object.
-