@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.92 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a private endpoint connection
*
* Uses Azure REST API version 2024-04-01-preview.
*
* Other available API versions: 2021-12-01, 2023-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native purview [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getPrivateEndpointConnection(args: GetPrivateEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetPrivateEndpointConnectionResult>;
export interface GetPrivateEndpointConnectionArgs {
/**
* The name of the account.
*/
accountName: string;
/**
* Name of the private endpoint connection.
*/
privateEndpointConnectionName: string;
/**
* The resource group name.
*/
resourceGroupName: string;
}
/**
* A private endpoint connection class.
*/
export interface GetPrivateEndpointConnectionResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* Gets or sets the identifier.
*/
readonly id: string;
/**
* Gets or sets the name.
*/
readonly name: string;
/**
* The private endpoint information.
*/
readonly privateEndpoint?: outputs.purview.PrivateEndpointResponse;
/**
* The private link service connection state.
*/
readonly privateLinkServiceConnectionState?: outputs.purview.PrivateLinkServiceConnectionStateResponse;
/**
* The provisioning state.
*/
readonly provisioningState: string;
/**
* Metadata pertaining to creation and last modification of the resource.
*/
readonly systemData: outputs.purview.ProxyResourceResponseSystemData;
/**
* Gets or sets the type.
*/
readonly type: string;
}
/**
* Get a private endpoint connection
*
* Uses Azure REST API version 2024-04-01-preview.
*
* Other available API versions: 2021-12-01, 2023-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native purview [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getPrivateEndpointConnectionOutput(args: GetPrivateEndpointConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPrivateEndpointConnectionResult>;
export interface GetPrivateEndpointConnectionOutputArgs {
/**
* The name of the account.
*/
accountName: pulumi.Input<string>;
/**
* Name of the private endpoint connection.
*/
privateEndpointConnectionName: pulumi.Input<string>;
/**
* The resource group name.
*/
resourceGroupName: pulumi.Input<string>;
}