import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing DNS NS Record within Azure DNS. * * > **Note:** [The Azure DNS API has a throttle limit of 500 read (GET) operations per 5 minutes](https://docs.microsoft.com/azure/azure-resource-manager/management/request-limits-and-throttling#network-throttling) - whilst the default read timeouts will work for most cases - in larger configurations you may need to set a larger read timeout then the default 5min. Although, we'd generally recommend that you split the resources out into smaller Terraform configurations to avoid the problem entirely. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.dns.getNsRecord({ * name: "test", * zoneName: "test-zone", * resourceGroupName: "test-rg", * }); * export const dnsNsRecordId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2018-05-01 */ export declare function getNsRecord(args: GetNsRecordArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNsRecord. */ export interface GetNsRecordArgs { /** * The name of the DNS NS Record. */ name: string; /** * Specifies the resource group where the DNS Zone (parent resource) exists. */ resourceGroupName: string; /** * Specifies the DNS Zone where the resource exists. */ zoneName: string; } /** * A collection of values returned by getNsRecord. */ export interface GetNsRecordResult { /** * The FQDN of the DNS NS Record. */ readonly fqdn: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; /** * A list of values that make up the NS record. */ readonly records: string[]; readonly resourceGroupName: string; /** * A mapping of tags assigned to the resource. */ readonly tags: { [key: string]: string; }; /** * The Time To Live (TTL) of the DNS record in seconds. */ readonly ttl: number; readonly zoneName: string; } /** * Use this data source to access information about an existing DNS NS Record within Azure DNS. * * > **Note:** [The Azure DNS API has a throttle limit of 500 read (GET) operations per 5 minutes](https://docs.microsoft.com/azure/azure-resource-manager/management/request-limits-and-throttling#network-throttling) - whilst the default read timeouts will work for most cases - in larger configurations you may need to set a larger read timeout then the default 5min. Although, we'd generally recommend that you split the resources out into smaller Terraform configurations to avoid the problem entirely. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.dns.getNsRecord({ * name: "test", * zoneName: "test-zone", * resourceGroupName: "test-rg", * }); * export const dnsNsRecordId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2018-05-01 */ export declare function getNsRecordOutput(args: GetNsRecordOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNsRecord. */ export interface GetNsRecordOutputArgs { /** * The name of the DNS NS Record. */ name: pulumi.Input; /** * Specifies the resource group where the DNS Zone (parent resource) exists. */ resourceGroupName: pulumi.Input; /** * Specifies the DNS Zone where the resource exists. */ zoneName: pulumi.Input; }