CheckAvailabilityResponse Interface

public interface CheckAvailabilityResponse

An immutable client-side representation of CheckAvailabilityResponse.

Method Summary

Modifier and Type Method and Description
abstract CheckAvailabilityResponseInner innerModel()

Gets the inner com.azure.resourcemanager.netapp.fluent.models.CheckAvailabilityResponseInner object.

abstract Boolean isAvailable()

Gets the isAvailable property: true indicates name is valid and available.

abstract 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.

abstract InAvailabilityReasonType reason()

Gets the reason property: Invalid indicates the name provided does not match Azure App Service naming requirements.

Method Details

innerModel

public abstract CheckAvailabilityResponseInner innerModel()

Gets the inner com.azure.resourcemanager.netapp.fluent.models.CheckAvailabilityResponseInner object.

Returns:

the inner object.

isAvailable

public abstract Boolean isAvailable()

Gets the isAvailable property: true indicates name is valid and available. false indicates the name is invalid, unavailable, or both.

Returns:

the isAvailable value.

message

public abstract 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.

reason

public abstract InAvailabilityReasonType reason()

Gets the reason property: Invalid indicates the name provided does not match Azure App Service naming requirements. AlreadyExists indicates that the name is already in use and is therefore unavailable.

Returns:

the reason value.

Applies to