@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.83 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets properties of a DNS resolver policy virtual network link.
*
* Uses Azure REST API version 2023-07-01-preview.
*
* Other available API versions: 2025-05-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dnsresolver [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getDnsResolverPolicyVirtualNetworkLink(args: GetDnsResolverPolicyVirtualNetworkLinkArgs, opts?: pulumi.InvokeOptions): Promise<GetDnsResolverPolicyVirtualNetworkLinkResult>;
export interface GetDnsResolverPolicyVirtualNetworkLinkArgs {
/**
* The name of the DNS resolver policy.
*/
dnsResolverPolicyName: string;
/**
* The name of the DNS resolver policy virtual network link for the DNS resolver policy.
*/
dnsResolverPolicyVirtualNetworkLinkName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Describes a DNS resolver policy virtual network link.
*/
export interface GetDnsResolverPolicyVirtualNetworkLinkResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* ETag of the DNS resolver policy virtual network link.
*/
readonly etag: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The geo-location where the resource lives
*/
readonly location: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* The current provisioning state of the DNS resolver policy virtual network link. This is a read-only property and any attempt to set this value will be ignored.
*/
readonly provisioningState: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.dnsresolver.SystemDataResponse;
/**
* Resource tags.
*/
readonly tags?: {
[key: string]: string;
};
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
/**
* The reference to the virtual network. This cannot be changed after creation.
*/
readonly virtualNetwork: outputs.dnsresolver.SubResourceResponse;
}
/**
* Gets properties of a DNS resolver policy virtual network link.
*
* Uses Azure REST API version 2023-07-01-preview.
*
* Other available API versions: 2025-05-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dnsresolver [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getDnsResolverPolicyVirtualNetworkLinkOutput(args: GetDnsResolverPolicyVirtualNetworkLinkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDnsResolverPolicyVirtualNetworkLinkResult>;
export interface GetDnsResolverPolicyVirtualNetworkLinkOutputArgs {
/**
* The name of the DNS resolver policy.
*/
dnsResolverPolicyName: pulumi.Input<string>;
/**
* The name of the DNS resolver policy virtual network link for the DNS resolver policy.
*/
dnsResolverPolicyVirtualNetworkLinkName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}