MockableSecurityInsightsArmClient.GetGeodataByIp Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get geodata for a single IP address
- Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/enrichment/{enrichmentType}/listGeodataByIp.
- Operation Id. : SecurityInsights_ListGeodataByIp.
- Default Api Version. : 2025-07-01-preview.
public virtual Azure.Response<Azure.ResourceManager.SecurityInsights.Models.EnrichmentIpGeodata> GetGeodataByIp(Azure.Core.ResourceIdentifier scope, Azure.ResourceManager.SecurityInsights.Models.EnrichmentType enrichmentType, Azure.ResourceManager.SecurityInsights.Models.EnrichmentIPAddressContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGeodataByIp : Azure.Core.ResourceIdentifier * Azure.ResourceManager.SecurityInsights.Models.EnrichmentType * Azure.ResourceManager.SecurityInsights.Models.EnrichmentIPAddressContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.Models.EnrichmentIpGeodata>
override this.GetGeodataByIp : Azure.Core.ResourceIdentifier * Azure.ResourceManager.SecurityInsights.Models.EnrichmentType * Azure.ResourceManager.SecurityInsights.Models.EnrichmentIPAddressContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.Models.EnrichmentIpGeodata>
Public Overridable Function GetGeodataByIp (scope As ResourceIdentifier, enrichmentType As EnrichmentType, content As EnrichmentIPAddressContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of EnrichmentIpGeodata)
Parameters
- scope
- ResourceIdentifier
The scope that the resource will apply against.
- enrichmentType
- EnrichmentType
Enrichment type.
- content
- EnrichmentIPAddressContent
IP address (v4 or v6) to be enriched.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
scope or content is null.