MockableSecurityInsightsResourceGroupResource.GetDomainWhoisInformationAsync Method

Definition

Get whois information for a single domain name

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

Parameters

domain
String

Domain name to be enriched.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

domain is null.

Applies to