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