Share via


SecurityInsightsExtensions.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 static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.Models.EnrichmentDomainWhois>> GetDomainWhoisInformationAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string domain, System.Threading.CancellationToken cancellationToken = default);
static member GetDomainWhoisInformationAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.Models.EnrichmentDomainWhois>>
<Extension()>
Public Function GetDomainWhoisInformationAsync (resourceGroupResource As ResourceGroupResource, domain As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of EnrichmentDomainWhois))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

domain
String

Domain name to be enriched.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or domain is null.

Applies to