public interface IpGeodatas
Resource collection API of IpGeodatas.
  • Method Details

    • get

      EnrichmentIpGeodata get(String resourceGroupName, String ipAddress)
      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<EnrichmentIpGeodata> 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.