Share via


MockableSecurityInsightsResourceGroupResource.GetIPGeodatum Method

Definition

Get geodata for a single IP address

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityInsights/enrichment/ip/geodata
  • Operation Id: IPGeodata_Get
  • Default Api Version: 2024-01-01-preview
public virtual Azure.Response<Azure.ResourceManager.SecurityInsights.Models.EnrichmentIPGeodata> GetIPGeodatum (string ipAddress, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIPGeodatum : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.Models.EnrichmentIPGeodata>
override this.GetIPGeodatum : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.Models.EnrichmentIPGeodata>
Public Overridable Function GetIPGeodatum (ipAddress As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EnrichmentIPGeodata)

Parameters

ipAddress
String

IP address (v4 or v6) to be enriched.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

ipAddress is null.

Applies to