CheckNameAvailabilityResult Interface
public interface CheckNameAvailabilityResult
An immutable client-side representation of CheckNameAvailabilityResult.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Check |
innerModel()
Gets the inner com. |
| abstract String |
message()
Gets the message property: Gets an error message explaining the Reason value in more detail. |
| abstract Boolean |
nameAvailable()
Gets the name |
|
abstract
Name |
reason()
Gets the reason property: Gets the reason that a Batch account name could not be used. |
Method Details
innerModel
public abstract CheckNameAvailabilityResultInner innerModel()
Gets the inner com.azure.resourcemanager.batch.fluent.models.CheckNameAvailabilityResultInner object.
Returns:
message
public abstract String message()
Gets the message property: Gets an error message explaining the Reason value in more detail.
Returns:
nameAvailable
public abstract Boolean nameAvailable()
Gets the nameAvailable property: Gets a boolean value that indicates whether the name is available for you to use. If true, the name is available. If false, the name has already been taken or invalid and cannot be used.
Returns:
reason
public abstract NameAvailabilityReason reason()
Gets the reason property: Gets the reason that a Batch account name could not be used. The Reason element is only returned if NameAvailable is false.
Returns: