Condividi tramite


OperationalInsightsWorkspaceSecurityInsightsResource.GetWhoisByDomainAsync 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: ListWhoisByDomain
  • Default Api Version: 2024-01-01-preview
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.Models.EnrichmentDomainWhois>> GetWhoisByDomainAsync (Azure.ResourceManager.SecurityInsights.Models.EnrichmentType enrichmentType, Azure.ResourceManager.SecurityInsights.Models.EnrichmentDomainContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWhoisByDomainAsync : 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.GetWhoisByDomainAsync : 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 GetWhoisByDomainAsync (enrichmentType As EnrichmentType, content As EnrichmentDomainContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EnrichmentDomainWhois))

Parameters

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

content is null.

Applies to