次の方法で共有


NameAvailabilityResponse Interface

public interface NameAvailabilityResponse

An immutable client-side representation of NameAvailabilityResponse.

Method Summary

Modifier and Type Method and Description
abstract NameAvailabilityResponseInner innerModel()

Gets the inner com.azure.resourcemanager.datamigration.fluent.models.NameAvailabilityResponseInner object.

abstract String message()

Gets the message property: The localized reason why the name is not available, if nameAvailable is false.

abstract Boolean nameAvailable()

Gets the nameAvailable property: If true, the name is valid and available.

abstract NameCheckFailureReason reason()

Gets the reason property: The reason why the name is not available, if nameAvailable is false.

Method Details

innerModel

public abstract NameAvailabilityResponseInner innerModel()

Gets the inner com.azure.resourcemanager.datamigration.fluent.models.NameAvailabilityResponseInner object.

Returns:

the inner object.

message

public abstract String message()

Gets the message property: The localized reason why the name is not available, if nameAvailable is false.

Returns:

the message value.

nameAvailable

public abstract Boolean nameAvailable()

Gets the nameAvailable property: If true, the name is valid and available. If false, 'reason' describes why not.

Returns:

the nameAvailable value.

reason

public abstract NameCheckFailureReason reason()

Gets the reason property: The reason why the name is not available, if nameAvailable is false.

Returns:

the reason value.

Applies to