Interface CheckNameAvailabilityResult
public interface CheckNameAvailabilityResult
An immutable client-side representation of CheckNameAvailabilityResult.
-
Method Summary
Modifier and TypeMethodDescriptionGets the inner com.azure.resourcemanager.batch.fluent.models.CheckNameAvailabilityResultInner object.message()
Gets the message property: Gets an error message explaining the Reason value in more detail.Gets the nameAvailable property: Gets a boolean value that indicates whether the name is available for you to use.reason()
Gets the reason property: Gets the reason that a Batch account name could not be used.
-
Method Details
-
nameAvailable
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:
- the nameAvailable value.
-
reason
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:
- the reason value.
-
message
String message()Gets the message property: Gets an error message explaining the Reason value in more detail.- Returns:
- the message value.
-
innerModel
CheckNameAvailabilityResultInner innerModel()Gets the inner com.azure.resourcemanager.batch.fluent.models.CheckNameAvailabilityResultInner object.- Returns:
- the inner object.
-