CheckProfileDnsNameAvailabilityResult Class

  • java.lang.Object
    • com.microsoft.azure.management.trafficmanager.CheckProfileDnsNameAvailabilityResult

public class CheckProfileDnsNameAvailabilityResult

The result of checking for DNS name availability.

Constructor Summary

Constructor Description
CheckProfileDnsNameAvailabilityResult(TrafficManagerNameAvailabilityInner inner)

Creates an instance of CheckProfileDnsNameAvailabilityResult.

Method Summary

Modifier and Type Method and Description
boolean isAvailable()
java.lang.String message()
ProfileDnsNameUnavailableReason reason()

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

CheckProfileDnsNameAvailabilityResult

public CheckProfileDnsNameAvailabilityResult(TrafficManagerNameAvailabilityInner inner)

Creates an instance of CheckProfileDnsNameAvailabilityResult.

Parameters:

inner - the inner object

Method Details

isAvailable

public boolean isAvailable()

Returns:

true if the DNS name is available to use, false if the name has already been taken or invalid and cannot be used.

message

public String message()

Returns:

an error message explaining the reason value in more detail

reason

public ProfileDnsNameUnavailableReason reason()

Returns:

the reason that the DNS name could not be used

Applies to