UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

84 lines (83 loc) 2.92 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get whois information for a single domain name * * Uses Azure REST API version 2025-01-01-preview. * * Other available API versions: 2024-01-01-preview, 2024-04-01-preview, 2024-10-01-preview, 2025-04-01-preview, 2025-07-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native securityinsights [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listWhoisByDomain(args: ListWhoisByDomainArgs, opts?: pulumi.InvokeOptions): Promise<ListWhoisByDomainResult>; export interface ListWhoisByDomainArgs { /** * The domain name */ domain?: string; /** * Enrichment type */ enrichmentType: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the workspace. */ workspaceName: string; } /** * Whois information for a given domain and associated metadata */ export interface ListWhoisByDomainResult { /** * The timestamp at which this record was created */ readonly created?: string; /** * The domain for this whois record */ readonly domain?: string; /** * The timestamp at which this record will expire */ readonly expires?: string; /** * The whois record for a given domain */ readonly parsedWhois?: outputs.securityinsights.EnrichmentDomainWhoisDetailsResponse; /** * The hostname of this registrar's whois server */ readonly server?: string; /** * The timestamp at which this record was last updated */ readonly updated?: string; } /** * Get whois information for a single domain name * * Uses Azure REST API version 2025-01-01-preview. * * Other available API versions: 2024-01-01-preview, 2024-04-01-preview, 2024-10-01-preview, 2025-04-01-preview, 2025-07-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native securityinsights [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function listWhoisByDomainOutput(args: ListWhoisByDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ListWhoisByDomainResult>; export interface ListWhoisByDomainOutputArgs { /** * The domain name */ domain?: pulumi.Input<string>; /** * Enrichment type */ enrichmentType: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the workspace. */ workspaceName: pulumi.Input<string>; }