Interface CheckAvailabilityResponse
public interface CheckAvailabilityResponse
An immutable client-side representation of CheckAvailabilityResponse.
-
Method Summary
Modifier and TypeMethodDescriptionGets the inner com.azure.resourcemanager.netapp.fluent.models.CheckAvailabilityResponseInner object.Gets the isAvailable property: <code>true</code> indicates name is valid and available.message()
Gets the message property: If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name.reason()
Gets the reason property: <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements.
-
Method Details
-
isAvailable
Boolean isAvailable()Gets the isAvailable property: <code>true</code> indicates name is valid and available. <code>false</code> indicates the name is invalid, unavailable, or both.- Returns:
- the isAvailable value.
-
reason
InAvailabilityReasonType reason()Gets the reason property: <code>Invalid</code> indicates the name provided does not match Azure App Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and is therefore unavailable.- Returns:
- the reason value.
-
message
String message()Gets the message property: If reason == invalid, provide the user with the reason why the given name is invalid, and provide the resource naming requirements so that the user can select a valid name. If reason == AlreadyExists, explain that resource name is already in use, and direct them to select a different name.- Returns:
- the message value.
-
innerModel
CheckAvailabilityResponseInner innerModel()Gets the inner com.azure.resourcemanager.netapp.fluent.models.CheckAvailabilityResponseInner object.- Returns:
- the inner object.
-