Interface DomainWhois
public interface DomainWhois
Resource collection API of DomainWhois.
-
Method Summary
Modifier and TypeMethodDescriptionGet whois information for a single domain name.com.azure.core.http.rest.Response<EnrichmentDomainWhois>
getWithResponse
(String resourceGroupName, String domain, com.azure.core.util.Context context) Get whois information for a single domain name.
-
Method Details
-
get
Get whois information for a single domain name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.domain
- Domain name to be enriched.- Returns:
- whois information for a single domain name.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<EnrichmentDomainWhois> getWithResponse(String resourceGroupName, String domain, com.azure.core.util.Context context) Get whois information for a single domain name.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.domain
- Domain name to be enriched.context
- The context to associate with this operation.- Returns:
- whois information for a single domain name along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-