@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.72 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get information related to a specific private endpoint connection in the project. Returns a json object of type 'privateEndpointConnections' as specified in the models section.
*
* Uses Azure REST API version 2019-10-01.
*/
export declare function getPrivateEndpointConnection(args: GetPrivateEndpointConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetPrivateEndpointConnectionResult>;
export interface GetPrivateEndpointConnectionArgs {
/**
* Unique name of a private endpoint connection within a project.
*/
privateEndpointConnectionName: string;
/**
* Name of the Azure Migrate project.
*/
projectName: string;
/**
* Name of the Azure Resource Group that project is part of.
*/
resourceGroupName: string;
}
/**
* A private endpoint connection for a project.
*/
export interface GetPrivateEndpointConnectionResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* For optimistic concurrency control.
*/
readonly eTag?: string;
/**
* Path reference to this private endpoint endpoint connection. /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/privateEndpointConnections/{privateEndpointConnectionName}
*/
readonly id: string;
/**
* Name of the private endpoint endpoint connection.
*/
readonly name: string;
/**
* Properties of the private endpoint endpoint connection.
*/
readonly properties: outputs.migrate.PrivateEndpointConnectionPropertiesResponse;
/**
* Type of the object = [Microsoft.Migrate/assessmentProjects/privateEndpointConnections].
*/
readonly type: string;
}
/**
* Get information related to a specific private endpoint connection in the project. Returns a json object of type 'privateEndpointConnections' as specified in the models section.
*
* Uses Azure REST API version 2019-10-01.
*/
export declare function getPrivateEndpointConnectionOutput(args: GetPrivateEndpointConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPrivateEndpointConnectionResult>;
export interface GetPrivateEndpointConnectionOutputArgs {
/**
* Unique name of a private endpoint connection within a project.
*/
privateEndpointConnectionName: pulumi.Input<string>;
/**
* Name of the Azure Migrate project.
*/
projectName: pulumi.Input<string>;
/**
* Name of the Azure Resource Group that project is part of.
*/
resourceGroupName: pulumi.Input<string>;
}