import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to access information about an existing Private Link Service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.privatelink.getService({ * name: "myPrivateLinkService", * resourceGroupName: "PrivateLinkServiceRG", * }); * export const privateLinkServiceId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getService. */ export interface GetServiceArgs { /** * The name of the private link service. */ name: string; /** * The name of the resource group in which the private link service resides. */ resourceGroupName: string; } /** * A collection of values returned by getService. */ export interface GetServiceResult { /** * The alias is a globally unique name for your private link service which Azure generates for you. Your can use this alias to request a connection to your private link service. */ readonly alias: string; /** * The list of subscription(s) globally unique identifiers that will be auto approved to use the private link service. */ readonly autoApprovalSubscriptionIds: string[]; /** * Does the Private Link Service support the Proxy Protocol? * * @deprecated the `enableProxyProtocol` property has been deprecated in favour of the `proxyProtocolEnabled` property and will be removed in v5.0 of the AzureRM Provider */ readonly enableProxyProtocol: boolean; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of Standard Load Balancer(SLB) resource IDs. The Private Link service is tied to the frontend IP address of a SLB. All traffic destined for the private link service will reach the frontend of the SLB. You can configure SLB rules to direct this traffic to appropriate backend pools where your applications are running. */ readonly loadBalancerFrontendIpConfigurationIds: string[]; /** * The supported Azure location where the resource exists. */ readonly location: string; /** * The name of private link service NAT IP configuration. */ readonly name: string; /** * The `natIpConfiguration` block as defined below. */ readonly natIpConfigurations: outputs.privatelink.GetServiceNatIpConfiguration[]; readonly proxyProtocolEnabled: boolean; readonly resourceGroupName: string; /** * A mapping of tags to assign to the resource. */ readonly tags: { [key: string]: string; }; /** * The list of subscription(s) globally unique identifiers(GUID) that will be able to see the private link service. */ readonly visibilitySubscriptionIds: string[]; } /** * Use this data source to access information about an existing Private Link Service. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.privatelink.getService({ * name: "myPrivateLinkService", * resourceGroupName: "PrivateLinkServiceRG", * }); * export const privateLinkServiceId = example.then(example => example.id); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 */ export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getService. */ export interface GetServiceOutputArgs { /** * The name of the private link service. */ name: pulumi.Input; /** * The name of the resource group in which the private link service resides. */ resourceGroupName: pulumi.Input; }