MongoDB Atlas v3.7.2, Mar 31 23
MongoDB Atlas v3.7.2, Mar 31 23
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:
- Project
Id string The unique ID for the project.
- Project
Id string The unique ID for the project.
- project
Id String The unique ID for the project.
- project
Id string The unique ID for the project.
- project_
id str The unique ID for the project.
- project
Id 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
List<Get
Privatelink Endpoints Service Adl Link> - Project
Id string - Results
List<Get
Privatelink Endpoints Service Adl Result> - Total
Count int
- Id string
The provider-assigned unique ID for this managed resource.
- Links
[]Get
Privatelink Endpoints Service Adl Link - Project
Id string - Results
[]Get
Privatelink Endpoints Service Adl Result - Total
Count int
- id String
The provider-assigned unique ID for this managed resource.
- links
List<Get
Privatelink Endpoints Service Adl Link> - project
Id String - results
List<Get
Privatelink Endpoints Service Adl Result> - total
Count Integer
- id string
The provider-assigned unique ID for this managed resource.
- links
Get
Privatelink Endpoints Service Adl Link[] - project
Id string - results
Get
Privatelink Endpoints Service Adl Result[] - total
Count number
- id str
The provider-assigned unique ID for this managed resource.
- links
Sequence[Get
Privatelink Endpoints Service Adl Link] - project_
id str - results
Sequence[Get
Privatelink Endpoints Service Adl Result] - total_
count int
- id String
The provider-assigned unique ID for this managed resource.
- links List<Property Map>
- project
Id String - results List<Property Map>
- total
Count Number
Supporting Types
GetPrivatelinkEndpointsServiceAdlLink
GetPrivatelinkEndpointsServiceAdlResult
- Comment string
Human-readable string to associate with this private endpoint.
- Endpoint
Id string Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.
- Provider
Name 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.
- Endpoint
Id string Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.
- Provider
Name 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.
- endpoint
Id String Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.
- provider
Name 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.
- endpoint
Id string Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.
- provider
Name 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.
- endpoint
Id String Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.
- provider
Name 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.