MockableSecurityInsightsArmClient.GetDomainWhoisInformationAsync Method

Definition

Get whois information for a single domain name

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/enrichment/{enrichmentType}/listWhoisByDomain.
  • Operation Id. : SecurityInsights_ListWhoisByDomain.
  • Default Api Version. : 2025-07-01-preview.
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.Models.EnrichmentDomainWhois>> GetDomainWhoisInformationAsync(Azure.Core.ResourceIdentifier scope, Azure.ResourceManager.SecurityInsights.Models.EnrichmentType enrichmentType, Azure.ResourceManager.SecurityInsights.Models.EnrichmentDomainContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDomainWhoisInformationAsync : Azure.Core.ResourceIdentifier * Azure.ResourceManager.SecurityInsights.Models.EnrichmentType * Azure.ResourceManager.SecurityInsights.Models.EnrichmentDomainContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.Models.EnrichmentDomainWhois>>
override this.GetDomainWhoisInformationAsync : Azure.Core.ResourceIdentifier * Azure.ResourceManager.SecurityInsights.Models.EnrichmentType * Azure.ResourceManager.SecurityInsights.Models.EnrichmentDomainContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.Models.EnrichmentDomainWhois>>
Public Overridable Function GetDomainWhoisInformationAsync (scope As ResourceIdentifier, enrichmentType As EnrichmentType, content As EnrichmentDomainContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EnrichmentDomainWhois))

Parameters

scope
ResourceIdentifier

The scope that the resource will apply against.

enrichmentType
EnrichmentType

Enrichment type.

content
EnrichmentDomainContent

Domain name to be enriched. Only domain name is accepted.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

scope or content is null.

Applies to