CheckNameAvailabilityResultInner Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.implementation.CheckNameAvailabilityResultInner

public class CheckNameAvailabilityResultInner

The CheckNameAvailability operation response.

Method Summary

Modifier and Type Method and Description
String message()

Get gets an error message explaining the Reason value in more detail.

Boolean nameAvailable()

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

NameAvailabilityReason reason()

Get gets the reason that a Batch account name could not be used. The Reason element is only returned if NameAvailable is false. Possible values include: 'Invalid', 'AlreadyExists'.

Method Details

message

public String message()

Get gets an error message explaining the Reason value in more detail.

Returns:

the message value

nameAvailable

public Boolean nameAvailable()

Get 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

public NameAvailabilityReason reason()

Get gets the reason that a Batch account name could not be used. The Reason element is only returned if NameAvailable is false. Possible values include: 'Invalid', 'AlreadyExists'.

Returns:

the reason value

Applies to