Class CheckProfileDnsNameAvailabilityResult
java.lang.Object
com.microsoft.azure.management.trafficmanager.CheckProfileDnsNameAvailabilityResult
The result of checking for DNS name availability.
-
Constructor Summary
ConstructorDescriptionCheckProfileDnsNameAvailabilityResult
(com.microsoft.azure.management.trafficmanager.implementation.TrafficManagerNameAvailabilityInner inner) Creates an instance of CheckProfileDnsNameAvailabilityResult. -
Method Summary
-
Constructor Details
-
CheckProfileDnsNameAvailabilityResult
public CheckProfileDnsNameAvailabilityResult(com.microsoft.azure.management.trafficmanager.implementation.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.
-
reason
- Returns:
- the reason that the DNS name could not be used
-
message
- Returns:
- an error message explaining the reason value in more detail
-