UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

122 lines (121 loc) 5.05 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the specified private endpoint by resource group. * * Uses Azure REST API version 2024-05-01. * * Other available API versions: 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getPrivateEndpoint(args: GetPrivateEndpointArgs, opts?: pulumi.InvokeOptions): Promise<GetPrivateEndpointResult>; export interface GetPrivateEndpointArgs { /** * Expands referenced resources. */ expand?: string; /** * The name of the private endpoint. */ privateEndpointName: string; /** * The name of the resource group. */ resourceGroupName: string; } /** * Private endpoint resource. */ export interface GetPrivateEndpointResult { /** * Application security groups in which the private endpoint IP configuration is included. */ readonly applicationSecurityGroups?: outputs.network.ApplicationSecurityGroupResponse[]; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * An array of custom dns configurations. */ readonly customDnsConfigs?: outputs.network.CustomDnsConfigPropertiesFormatResponse[]; /** * The custom name of the network interface attached to the private endpoint. */ readonly customNetworkInterfaceName?: string; /** * A unique read-only string that changes whenever the resource is updated. */ readonly etag: string; /** * The extended location of the load balancer. */ readonly extendedLocation?: outputs.network.ExtendedLocationResponse; /** * Resource ID. */ readonly id?: string; /** * A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. */ readonly ipConfigurations?: outputs.network.PrivateEndpointIPConfigurationResponse[]; /** * Resource location. */ readonly location?: string; /** * A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. */ readonly manualPrivateLinkServiceConnections?: outputs.network.PrivateLinkServiceConnectionResponse[]; /** * Resource name. */ readonly name: string; /** * An array of references to the network interfaces created for this private endpoint. */ readonly networkInterfaces: outputs.network.NetworkInterfaceResponse[]; /** * A grouping of information about the connection to the remote resource. */ readonly privateLinkServiceConnections?: outputs.network.PrivateLinkServiceConnectionResponse[]; /** * The provisioning state of the private endpoint resource. */ readonly provisioningState: string; /** * The ID of the subnet from which the private IP will be allocated. */ readonly subnet?: outputs.network.SubnetResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Resource type. */ readonly type: string; } /** * Gets the specified private endpoint by resource group. * * Uses Azure REST API version 2024-05-01. * * Other available API versions: 2019-04-01, 2019-06-01, 2019-07-01, 2019-08-01, 2019-09-01, 2019-11-01, 2019-12-01, 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-07-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native network [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getPrivateEndpointOutput(args: GetPrivateEndpointOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPrivateEndpointResult>; export interface GetPrivateEndpointOutputArgs { /** * Expands referenced resources. */ expand?: pulumi.Input<string>; /** * The name of the private endpoint. */ privateEndpointName: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; }