mongodbatlas.getPrivatelinkEndpointsServiceAdl

Explore with Pulumi AI

privatelink_endpoints_service_adl Describes the list of all Atlas Data Lake (ADL) and Online Archive PrivateLink endpoints resource.

NOTE: Groups and projects are synonymous terms. You may find group_id in the official documentation.

Example Usage

Basic

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

return await Deployment.RunAsync(() => 
{
    var adlTest = new Mongodbatlas.PrivatelinkEndpointServiceAdl("adlTest", new()
    {
        ProjectId = "<PROJECT_ID>",
        EndpointId = "<ENDPOINT_ID>",
        Comment = "Comment for PrivateLink endpoint ADL",
        Type = "DATA_LAKE",
        ProviderName = "AWS",
    });

    var test = Mongodbatlas.GetPrivatelinkEndpointsServiceAdl.Invoke(new()
    {
        ProjectId = adlTest.ProjectId,
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		adlTest, err := mongodbatlas.NewPrivatelinkEndpointServiceAdl(ctx, "adlTest", &mongodbatlas.PrivatelinkEndpointServiceAdlArgs{
			ProjectId:    pulumi.String("<PROJECT_ID>"),
			EndpointId:   pulumi.String("<ENDPOINT_ID>"),
			Comment:      pulumi.String("Comment for PrivateLink endpoint ADL"),
			Type:         pulumi.String("DATA_LAKE"),
			ProviderName: pulumi.String("AWS"),
		})
		if err != nil {
			return err
		}
		_ = mongodbatlas.LookupPrivatelinkEndpointsServiceAdlOutput(ctx, mongodbatlas.GetPrivatelinkEndpointsServiceAdlOutputArgs{
			ProjectId: adlTest.ProjectId,
		}, nil)
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.PrivatelinkEndpointServiceAdl;
import com.pulumi.mongodbatlas.PrivatelinkEndpointServiceAdlArgs;
import com.pulumi.mongodbatlas.MongodbatlasFunctions;
import com.pulumi.mongodbatlas.inputs.GetPrivatelinkEndpointsServiceAdlArgs;
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) {
        var adlTest = new PrivatelinkEndpointServiceAdl("adlTest", PrivatelinkEndpointServiceAdlArgs.builder()        
            .projectId("<PROJECT_ID>")
            .endpointId("<ENDPOINT_ID>")
            .comment("Comment for PrivateLink endpoint ADL")
            .type("DATA_LAKE")
            .providerName("AWS")
            .build());

        final var test = MongodbatlasFunctions.getPrivatelinkEndpointsServiceAdl(GetPrivatelinkEndpointsServiceAdlArgs.builder()
            .projectId(adlTest.projectId())
            .build());

    }
}
import pulumi
import pulumi_mongodbatlas as mongodbatlas

adl_test = mongodbatlas.PrivatelinkEndpointServiceAdl("adlTest",
    project_id="<PROJECT_ID>",
    endpoint_id="<ENDPOINT_ID>",
    comment="Comment for PrivateLink endpoint ADL",
    type="DATA_LAKE",
    provider_name="AWS")
test = mongodbatlas.get_privatelink_endpoints_service_adl_output(project_id=adl_test.project_id)
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";

const adlTest = new mongodbatlas.PrivatelinkEndpointServiceAdl("adlTest", {
    projectId: "<PROJECT_ID>",
    endpointId: "<ENDPOINT_ID>",
    comment: "Comment for PrivateLink endpoint ADL",
    type: "DATA_LAKE",
    providerName: "AWS",
});
const test = mongodbatlas.getPrivatelinkEndpointsServiceAdlOutput({
    projectId: adlTest.projectId,
});
resources:
  adlTest:
    type: mongodbatlas:PrivatelinkEndpointServiceAdl
    properties:
      projectId: <PROJECT_ID>
      endpointId: <ENDPOINT_ID>
      comment: Comment for PrivateLink endpoint ADL
      type: DATA_LAKE
      providerName: AWS
variables:
  test:
    fn::invoke:
      Function: mongodbatlas:getPrivatelinkEndpointsServiceAdl
      Arguments:
        projectId: ${adlTest.projectId}

Using getPrivatelinkEndpointsServiceAdl

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 getPrivatelinkEndpointsServiceAdl(args: GetPrivatelinkEndpointsServiceAdlArgs, opts?: InvokeOptions): Promise<GetPrivatelinkEndpointsServiceAdlResult>
function getPrivatelinkEndpointsServiceAdlOutput(args: GetPrivatelinkEndpointsServiceAdlOutputArgs, opts?: InvokeOptions): Output<GetPrivatelinkEndpointsServiceAdlResult>
def get_privatelink_endpoints_service_adl(project_id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetPrivatelinkEndpointsServiceAdlResult
def get_privatelink_endpoints_service_adl_output(project_id: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetPrivatelinkEndpointsServiceAdlResult]
func LookupPrivatelinkEndpointsServiceAdl(ctx *Context, args *LookupPrivatelinkEndpointsServiceAdlArgs, opts ...InvokeOption) (*LookupPrivatelinkEndpointsServiceAdlResult, error)
func LookupPrivatelinkEndpointsServiceAdlOutput(ctx *Context, args *LookupPrivatelinkEndpointsServiceAdlOutputArgs, opts ...InvokeOption) LookupPrivatelinkEndpointsServiceAdlResultOutput

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

public static class GetPrivatelinkEndpointsServiceAdl 
{
    public static Task<GetPrivatelinkEndpointsServiceAdlResult> InvokeAsync(GetPrivatelinkEndpointsServiceAdlArgs args, InvokeOptions? opts = null)
    public static Output<GetPrivatelinkEndpointsServiceAdlResult> Invoke(GetPrivatelinkEndpointsServiceAdlInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivatelinkEndpointsServiceAdlResult> getPrivatelinkEndpointsServiceAdl(GetPrivatelinkEndpointsServiceAdlArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: mongodbatlas:index/getPrivatelinkEndpointsServiceAdl:getPrivatelinkEndpointsServiceAdl
  arguments:
    # arguments dictionary

The following arguments are supported:

ProjectId string

The unique ID for the project.

ProjectId string

The unique ID for the project.

projectId String

The unique ID for the project.

projectId string

The unique ID for the project.

project_id str

The unique ID for the project.

projectId String

The unique ID for the project.

getPrivatelinkEndpointsServiceAdl Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Links []GetPrivatelinkEndpointsServiceAdlLink
ProjectId string
Results []GetPrivatelinkEndpointsServiceAdlResult
TotalCount int
id String

The provider-assigned unique ID for this managed resource.

links List<GetPrivatelinkEndpointsServiceAdlLink>
projectId String
results List<GetPrivatelinkEndpointsServiceAdlResult>
totalCount Integer
id string

The provider-assigned unique ID for this managed resource.

links GetPrivatelinkEndpointsServiceAdlLink[]
projectId string
results GetPrivatelinkEndpointsServiceAdlResult[]
totalCount number
id String

The provider-assigned unique ID for this managed resource.

links List<Property Map>
projectId String
results List<Property Map>
totalCount Number

Supporting Types

Href string
Rel string
Href string
Rel string
href String
rel String
href string
rel string
href str
rel str
href String
rel String

GetPrivatelinkEndpointsServiceAdlResult

Comment string

Human-readable string to associate with this private endpoint.

EndpointId string

Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.

ProviderName string

Human-readable label that identifies the cloud provider for this endpoint.

Type string

Human-readable label that identifies the type of resource to associate with this private endpoint.

Comment string

Human-readable string to associate with this private endpoint.

EndpointId string

Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.

ProviderName string

Human-readable label that identifies the cloud provider for this endpoint.

Type string

Human-readable label that identifies the type of resource to associate with this private endpoint.

comment String

Human-readable string to associate with this private endpoint.

endpointId String

Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.

providerName String

Human-readable label that identifies the cloud provider for this endpoint.

type String

Human-readable label that identifies the type of resource to associate with this private endpoint.

comment string

Human-readable string to associate with this private endpoint.

endpointId string

Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.

providerName string

Human-readable label that identifies the cloud provider for this endpoint.

type string

Human-readable label that identifies the type of resource to associate with this private endpoint.

comment str

Human-readable string to associate with this private endpoint.

endpoint_id str

Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.

provider_name str

Human-readable label that identifies the cloud provider for this endpoint.

type str

Human-readable label that identifies the type of resource to associate with this private endpoint.

comment String

Human-readable string to associate with this private endpoint.

endpointId String

Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.

providerName String

Human-readable label that identifies the cloud provider for this endpoint.

type String

Human-readable label that identifies the type of resource to associate with this private endpoint.

Package Details

Repository
MongoDB Atlas pulumi/pulumi-mongodbatlas
License
Apache-2.0
Notes

This Pulumi package is based on the mongodbatlas Terraform Provider.