import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing DNS PTR 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.getPtrRecord({ * name: "test", * zoneName: "test-zone", * resourceGroupName: "test-rg", * }); * export const dnsPtrRecordId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2018-05-01 */ export declare function getPtrRecord(args: GetPtrRecordArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getPtrRecord. */ export interface GetPtrRecordArgs { /** * The name of the DNS PTR 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 getPtrRecord. */ export interface GetPtrRecordResult { /** * The FQDN of the DNS PTR Record. */ readonly fqdn: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; /** * List of Fully Qualified Domain Names. */ 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 PTR 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.getPtrRecord({ * name: "test", * zoneName: "test-zone", * resourceGroupName: "test-rg", * }); * export const dnsPtrRecordId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2018-05-01 */ export declare function getPtrRecordOutput(args: GetPtrRecordOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getPtrRecord. */ export interface GetPtrRecordOutputArgs { /** * The name of the DNS PTR 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; }