CheckProfileDnsNameAvailabilityResult Class
- java.
lang. Object - com.
azure. resourcemanager. trafficmanager. models. CheckProfileDnsNameAvailabilityResult
- com.
public class CheckProfileDnsNameAvailabilityResult
The result of checking for DNS name availability.
Constructor Summary
Constructor | Description |
---|---|
CheckProfileDnsNameAvailabilityResult(TrafficManagerNameAvailabilityInner inner) |
Creates an instance of Check |
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean | isAvailable() |
String | message() |
Profile |
reason() |
Methods inherited from java.lang.Object
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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java