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

ec.getGcpPrivateServiceConnectEndpoint

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 us_central1 = ElasticCloud.GetGcpPrivateServiceConnectEndpoint.Invoke(new()
    {
        Region = "us-central1",
    });

});
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.GetGcpPrivateServiceConnectEndpoint(ctx, &ec.GetGcpPrivateServiceConnectEndpointArgs{
			Region: "us-central1",
		}, 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.GetGcpPrivateServiceConnectEndpointArgs;
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 us-central1 = EcFunctions.getGcpPrivateServiceConnectEndpoint(GetGcpPrivateServiceConnectEndpointArgs.builder()
            .region("us-central1")
            .build());

    }
}
import pulumi
import pulumi_ec as ec

us_central1 = ec.get_gcp_private_service_connect_endpoint(region="us-central1")
import * as pulumi from "@pulumi/pulumi";
import * as ec from "@pulumi/ec";

const us-central1 = ec.getGcpPrivateServiceConnectEndpoint({
    region: "us-central1",
});
variables:
  us-central1:
    fn::invoke:
      Function: ec:getGcpPrivateServiceConnectEndpoint
      Arguments:
        region: us-central1

Using getGcpPrivateServiceConnectEndpoint

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 getGcpPrivateServiceConnectEndpoint(args: GetGcpPrivateServiceConnectEndpointArgs, opts?: InvokeOptions): Promise<GetGcpPrivateServiceConnectEndpointResult>
function getGcpPrivateServiceConnectEndpointOutput(args: GetGcpPrivateServiceConnectEndpointOutputArgs, opts?: InvokeOptions): Output<GetGcpPrivateServiceConnectEndpointResult>
def get_gcp_private_service_connect_endpoint(region: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetGcpPrivateServiceConnectEndpointResult
def get_gcp_private_service_connect_endpoint_output(region: Optional[pulumi.Input[str]] = None,
                                             opts: Optional[InvokeOptions] = None) -> Output[GetGcpPrivateServiceConnectEndpointResult]
func GetGcpPrivateServiceConnectEndpoint(ctx *Context, args *GetGcpPrivateServiceConnectEndpointArgs, opts ...InvokeOption) (*GetGcpPrivateServiceConnectEndpointResult, error)
func GetGcpPrivateServiceConnectEndpointOutput(ctx *Context, args *GetGcpPrivateServiceConnectEndpointOutputArgs, opts ...InvokeOption) GetGcpPrivateServiceConnectEndpointResultOutput

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

public static class GetGcpPrivateServiceConnectEndpoint 
{
    public static Task<GetGcpPrivateServiceConnectEndpointResult> InvokeAsync(GetGcpPrivateServiceConnectEndpointArgs args, InvokeOptions? opts = null)
    public static Output<GetGcpPrivateServiceConnectEndpointResult> Invoke(GetGcpPrivateServiceConnectEndpointInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGcpPrivateServiceConnectEndpointResult> getGcpPrivateServiceConnectEndpoint(GetGcpPrivateServiceConnectEndpointArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: ec:index/getGcpPrivateServiceConnectEndpoint:getGcpPrivateServiceConnectEndpoint
  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.

getGcpPrivateServiceConnectEndpoint Result

The following output properties are available:

DomainName string

The domain name to point towards the PSC endpoint.

Id string

The provider-assigned unique ID for this managed resource.

Region string
ServiceAttachmentUri string

The service attachment URI to attach the PSC endpoint to.

DomainName string

The domain name to point towards the PSC endpoint.

Id string

The provider-assigned unique ID for this managed resource.

Region string
ServiceAttachmentUri string

The service attachment URI to attach the PSC endpoint to.

domainName String

The domain name to point towards the PSC endpoint.

id String

The provider-assigned unique ID for this managed resource.

region String
serviceAttachmentUri String

The service attachment URI to attach the PSC endpoint to.

domainName string

The domain name to point towards the PSC endpoint.

id string

The provider-assigned unique ID for this managed resource.

region string
serviceAttachmentUri string

The service attachment URI to attach the PSC endpoint to.

domain_name str

The domain name to point towards the PSC endpoint.

id str

The provider-assigned unique ID for this managed resource.

region str
service_attachment_uri str

The service attachment URI to attach the PSC endpoint to.

domainName String

The domain name to point towards the PSC endpoint.

id String

The provider-assigned unique ID for this managed resource.

region String
serviceAttachmentUri String

The service attachment URI to attach the PSC endpoint to.

Package Details

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

This Pulumi package is based on the ec Terraform Provider.