@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.64 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets properties of an outbound endpoint for a DNS resolver.
*
* Uses Azure REST API version 2023-07-01-preview.
*
* Other available API versions: 2020-04-01-preview, 2022-07-01, 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 getOutboundEndpoint(args: GetOutboundEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetOutboundEndpointResult>;
export interface GetOutboundEndpointArgs {
/**
* The name of the DNS resolver.
*/
dnsResolverName: string;
/**
* The name of the outbound endpoint for the DNS resolver.
*/
outboundEndpointName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Describes an outbound endpoint for a DNS resolver.
*/
export interface GetOutboundEndpointResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* ETag of the outbound endpoint.
*/
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 outbound endpoint. This is a read-only property and any attempt to set this value will be ignored.
*/
readonly provisioningState: string;
/**
* The resourceGuid property of the outbound endpoint resource.
*/
readonly resourceGuid: string;
/**
* The reference to the subnet used for the outbound endpoint.
*/
readonly subnet: outputs.dnsresolver.SubResourceResponse;
/**
* 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;
}
/**
* Gets properties of an outbound endpoint for a DNS resolver.
*
* Uses Azure REST API version 2023-07-01-preview.
*
* Other available API versions: 2020-04-01-preview, 2022-07-01, 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 getOutboundEndpointOutput(args: GetOutboundEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOutboundEndpointResult>;
export interface GetOutboundEndpointOutputArgs {
/**
* The name of the DNS resolver.
*/
dnsResolverName: pulumi.Input<string>;
/**
* The name of the outbound endpoint for the DNS resolver.
*/
outboundEndpointName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}