import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing Private DNS zone Virtual Network Link. These Links enable DNS resolution and registration inside Azure Virtual Networks using Azure Private DNS. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.privatedns.getZoneVirtualNetworkLink({ * name: "test", * resourceGroupName: "test-rg", * privateDnsZoneName: "test-zone", * }); * export const privateDnsARecordId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2024-06-01 */ export declare function getZoneVirtualNetworkLink(args: GetZoneVirtualNetworkLinkArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getZoneVirtualNetworkLink. */ export interface GetZoneVirtualNetworkLinkArgs { /** * The name of the Private DNS Zone Virtual Network Link. */ name: string; /** * The name of the Private DNS zone (without a terminating dot). */ privateDnsZoneName: string; /** * Specifies the resource group where the Private DNS Zone exists. */ resourceGroupName: string; } /** * A collection of values returned by getZoneVirtualNetworkLink. */ export interface GetZoneVirtualNetworkLinkResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; readonly privateDnsZoneName: string; /** * Whether the auto-registration of virtual machine records in the virtual network in the Private DNS zone is enabled or not. */ readonly registrationEnabled: boolean; /** * The resolution policy of the Private DNS Zone Virtual Network Link. */ readonly resolutionPolicy: string; readonly resourceGroupName: string; /** * A mapping of tags to assign to the resource. */ readonly tags: { [key: string]: string; }; /** * The ID of the Virtual Network that is linked to the DNS Zone. */ readonly virtualNetworkId: string; } /** * Use this data source to access information about an existing Private DNS zone Virtual Network Link. These Links enable DNS resolution and registration inside Azure Virtual Networks using Azure Private DNS. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.privatedns.getZoneVirtualNetworkLink({ * name: "test", * resourceGroupName: "test-rg", * privateDnsZoneName: "test-zone", * }); * export const privateDnsARecordId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2024-06-01 */ export declare function getZoneVirtualNetworkLinkOutput(args: GetZoneVirtualNetworkLinkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getZoneVirtualNetworkLink. */ export interface GetZoneVirtualNetworkLinkOutputArgs { /** * The name of the Private DNS Zone Virtual Network Link. */ name: pulumi.Input; /** * The name of the Private DNS zone (without a terminating dot). */ privateDnsZoneName: pulumi.Input; /** * Specifies the resource group where the Private DNS Zone exists. */ resourceGroupName: pulumi.Input; }