Interface IpGeodatasClient
public interface IpGeodatasClient
An instance of this class provides access to all the operations defined in IpGeodatasClient.
-
Method Summary
Modifier and TypeMethodDescriptionGet geodata for a single IP address.com.azure.core.http.rest.Response<EnrichmentIpGeodataInner>
getWithResponse
(String resourceGroupName, String ipAddress, com.azure.core.util.Context context) Get geodata for a single IP address.
-
Method Details
-
get
Get geodata for a single IP address.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.ipAddress
- IP address (v4 or v6) to be enriched.- Returns:
- geodata for a single IP address.
- 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<EnrichmentIpGeodataInner> getWithResponse(String resourceGroupName, String ipAddress, com.azure.core.util.Context context) Get geodata for a single IP address.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.ipAddress
- IP address (v4 or v6) to be enriched.context
- The context to associate with this operation.- Returns:
- geodata for a single IP address 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.
-