CheckNameAvailabilityResponse Interface

public interface CheckNameAvailabilityResponse

An immutable client-side representation of CheckNameAvailabilityResponse.

Method Summary

Modifier and Type Method and Description
abstract CheckNameAvailabilityResponseInner innerModel()

Gets the inner com.azure.resourcemanager.selfhelp.fluent.models.CheckNameAvailabilityResponseInner object.

abstract String message()

Gets the message property: Gets an error message explaining the 'reason' value with more details.

abstract Boolean nameAvailable()

Gets the nameAvailable property: Returns true or false depending on the availability of the name.

abstract String reason()

Gets the reason property: Reason for why value is not available.

Method Details

innerModel

public abstract CheckNameAvailabilityResponseInner innerModel()

Gets the inner com.azure.resourcemanager.selfhelp.fluent.models.CheckNameAvailabilityResponseInner object.

Returns:

the inner object.

message

public abstract String message()

Gets the message property: Gets an error message explaining the 'reason' value with more details. This field is returned iif nameAvailable is false.

Returns:

the message value.

nameAvailable

public abstract Boolean nameAvailable()

Gets the nameAvailable property: Returns true or false depending on the availability of the name.

Returns:

the nameAvailable value.

reason

public abstract String reason()

Gets the reason property: Reason for why value is not available. This field is returned if nameAvailable is false.

Returns:

the reason value.

Applies to