ec logo
ElasticCloud (EC) v0.5.0, Jan 25 23

ec.getAzurePrivatelinkEndpoint

Use this data source to retrieve information about the Azure Private Link configuration for a given region. Further documentation on how to establish a PrivateLink connection can be found in the ESS documentation.

NOTE: This data source provides data relevant to the Elasticsearch Service (ESS) only, and should not be used for ECE.

Example Usage

using System.Collections.Generic;
using Pulumi;
using ElasticCloud = Pulumi.ElasticCloud;

return await Deployment.RunAsync(() => 
{
    var eastus = ElasticCloud.GetAzurePrivatelinkEndpoint.Invoke(new()
    {
        Region = "eastus",
    });

});
package main

import (
	"github.com/pulumi/pulumi-ec/sdk/go/ec"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ec.GetAzurePrivatelinkEndpoint(ctx, &ec.GetAzurePrivatelinkEndpointArgs{
			Region: "eastus",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ec.EcFunctions;
import com.pulumi.ec.inputs.GetAzurePrivatelinkEndpointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var eastus = EcFunctions.getAzurePrivatelinkEndpoint(GetAzurePrivatelinkEndpointArgs.builder()
            .region("eastus")
            .build());

    }
}
import pulumi
import pulumi_ec as ec

eastus = ec.get_azure_privatelink_endpoint(region="eastus")
import * as pulumi from "@pulumi/pulumi";
import * as ec from "@pulumi/ec";

const eastus = ec.getAzurePrivatelinkEndpoint({
    region: "eastus",
});
variables:
  eastus:
    fn::invoke:
      Function: ec:getAzurePrivatelinkEndpoint
      Arguments:
        region: eastus

Using getAzurePrivatelinkEndpoint

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAzurePrivatelinkEndpoint(args: GetAzurePrivatelinkEndpointArgs, opts?: InvokeOptions): Promise<GetAzurePrivatelinkEndpointResult>
function getAzurePrivatelinkEndpointOutput(args: GetAzurePrivatelinkEndpointOutputArgs, opts?: InvokeOptions): Output<GetAzurePrivatelinkEndpointResult>
def get_azure_privatelink_endpoint(region: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetAzurePrivatelinkEndpointResult
def get_azure_privatelink_endpoint_output(region: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetAzurePrivatelinkEndpointResult]
func GetAzurePrivatelinkEndpoint(ctx *Context, args *GetAzurePrivatelinkEndpointArgs, opts ...InvokeOption) (*GetAzurePrivatelinkEndpointResult, error)
func GetAzurePrivatelinkEndpointOutput(ctx *Context, args *GetAzurePrivatelinkEndpointOutputArgs, opts ...InvokeOption) GetAzurePrivatelinkEndpointResultOutput

> Note: This function is named GetAzurePrivatelinkEndpoint in the Go SDK.

public static class GetAzurePrivatelinkEndpoint 
{
    public static Task<GetAzurePrivatelinkEndpointResult> InvokeAsync(GetAzurePrivatelinkEndpointArgs args, InvokeOptions? opts = null)
    public static Output<GetAzurePrivatelinkEndpointResult> Invoke(GetAzurePrivatelinkEndpointInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAzurePrivatelinkEndpointResult> getAzurePrivatelinkEndpoint(GetAzurePrivatelinkEndpointArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: ec:index/getAzurePrivatelinkEndpoint:getAzurePrivatelinkEndpoint
  arguments:
    # arguments dictionary

The following arguments are supported:

Region string

Region to retrieve the Private Link configuration for.

Region string

Region to retrieve the Private Link configuration for.

region String

Region to retrieve the Private Link configuration for.

region string

Region to retrieve the Private Link configuration for.

region str

Region to retrieve the Private Link configuration for.

region String

Region to retrieve the Private Link configuration for.

getAzurePrivatelinkEndpoint Result

The following output properties are available:

DomainName string

The domain name to used in when configuring a private hosted zone in the VNet connection.

Id string

The provider-assigned unique ID for this managed resource.

Region string
ServiceAlias string

The service alias to establish a connection to.

DomainName string

The domain name to used in when configuring a private hosted zone in the VNet connection.

Id string

The provider-assigned unique ID for this managed resource.

Region string
ServiceAlias string

The service alias to establish a connection to.

domainName String

The domain name to used in when configuring a private hosted zone in the VNet connection.

id String

The provider-assigned unique ID for this managed resource.

region String
serviceAlias String

The service alias to establish a connection to.

domainName string

The domain name to used in when configuring a private hosted zone in the VNet connection.

id string

The provider-assigned unique ID for this managed resource.

region string
serviceAlias string

The service alias to establish a connection to.

domain_name str

The domain name to used in when configuring a private hosted zone in the VNet connection.

id str

The provider-assigned unique ID for this managed resource.

region str
service_alias str

The service alias to establish a connection to.

domainName String

The domain name to used in when configuring a private hosted zone in the VNet connection.

id String

The provider-assigned unique ID for this managed resource.

region String
serviceAlias String

The service alias to establish a connection to.

Package Details

Repository
ec pulumi/pulumi-ec
License
Apache-2.0
Notes

This Pulumi package is based on the ec Terraform Provider.