ElasticCloud (EC) v0.8.1 published on Tuesday, Jun 4, 2024 by Pulumi
ec.getAzurePrivatelinkEndpoint
Explore with Pulumi AI
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.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ec from "@pulumi/ec";
const eastus = ec.getAzurePrivatelinkEndpoint({
region: "eastus",
});
import pulumi
import pulumi_ec as ec
eastus = ec.get_azure_privatelink_endpoint(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
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ElasticCloud = Pulumi.ElasticCloud;
return await Deployment.RunAsync(() =>
{
var eastus = ElasticCloud.GetAzurePrivatelinkEndpoint.Invoke(new()
{
Region = "eastus",
});
});
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());
}
}
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:
- Domain
Name 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
- Region to retrieve the Private Link configuration for.
- Service
Alias string - The service alias to establish a connection to.
- Domain
Name 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
- Region to retrieve the Private Link configuration for.
- Service
Alias string - The service alias to establish a connection to.
- domain
Name 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
- Region to retrieve the Private Link configuration for.
- service
Alias String - The service alias to establish a connection to.
- domain
Name 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
- Region to retrieve the Private Link configuration for.
- service
Alias 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
- Region to retrieve the Private Link configuration for.
- service_
alias str - The service alias to establish a connection to.
- domain
Name 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
- Region to retrieve the Private Link configuration for.
- service
Alias 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.