import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access the connection status information about an existing Private Endpoint Connection. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.privatelink.getEndpointConnection({ * name: "example-private-endpoint", * resourceGroupName: "example-rg", * }); * export const privateEndpointStatus = example.then(example => example.privateServiceConnections?.[0]?.status); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getEndpointConnection(args: GetEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getEndpointConnection. */ export interface GetEndpointConnectionArgs { /** * Specifies the Name of the private endpoint. */ name: string; /** * Specifies the Name of the Resource Group within which the private endpoint exists. */ resourceGroupName: string; } /** * A collection of values returned by getEndpointConnection. */ export interface GetEndpointConnectionResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The supported Azure location where the resource exists. */ readonly location: string; /** * The name of the private endpoint. */ readonly name: string; readonly networkInterfaces: outputs.privatelink.GetEndpointConnectionNetworkInterface[]; readonly privateServiceConnections: outputs.privatelink.GetEndpointConnectionPrivateServiceConnection[]; readonly resourceGroupName: string; } /** * Use this data source to access the connection status information about an existing Private Endpoint Connection. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.privatelink.getEndpointConnection({ * name: "example-private-endpoint", * resourceGroupName: "example-rg", * }); * export const privateEndpointStatus = example.then(example => example.privateServiceConnections?.[0]?.status); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getEndpointConnectionOutput(args: GetEndpointConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getEndpointConnection. */ export interface GetEndpointConnectionOutputArgs { /** * Specifies the Name of the private endpoint. */ name: pulumi.Input; /** * Specifies the Name of the Resource Group within which the private endpoint exists. */ resourceGroupName: pulumi.Input; }