MongoDB Atlas
getPrivatelinkEndpointServiceAdl
privatelink_endpoint_service_adl
Provides an Atlas Data Lake (ADL) and Online Archive PrivateLink endpoint resource.
NOTE: Groups and projects are synonymous terms. You may find group_id in the official documentation.
Example Usage
Basic
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
class MyStack : Stack
{
public MyStack()
{
var adlTest = new Mongodbatlas.PrivatelinkEndpointServiceAdl("adlTest", new Mongodbatlas.PrivatelinkEndpointServiceAdlArgs
{
ProjectId = "<PROJECT_ID>",
EndpointId = "<ENDPOINT_ID>",
Comment = "Comment for PrivateLink endpoint ADL",
Type = "DATA_LAKE",
ProviderName = "AWS",
});
var test = Mongodbatlas.GetPrivatelinkEndpointServiceAdl.Invoke(new Mongodbatlas.GetPrivatelinkEndpointServiceAdlInvokeArgs
{
ProjectId = adlTest.ProjectId,
PrivateLinkId = adlTest.EndpointId,
});
}
}
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.LookupPrivatelinkEndpointServiceAdlOutput(ctx, GetPrivatelinkEndpointServiceAdlOutputArgs{
ProjectId: adlTest.ProjectId,
PrivateLinkId: adlTest.EndpointId,
}, nil)
return nil
})
}
Coming soon!
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_endpoint_service_adl_output(project_id=adl_test.project_id,
private_link_id=adl_test.endpoint_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.getPrivatelinkEndpointServiceAdlOutput({
projectId: adlTest.projectId,
privateLinkId: adlTest.endpointId,
});
Coming soon!
Using getPrivatelinkEndpointServiceAdl
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 getPrivatelinkEndpointServiceAdl(args: GetPrivatelinkEndpointServiceAdlArgs, opts?: InvokeOptions): Promise<GetPrivatelinkEndpointServiceAdlResult>
function getPrivatelinkEndpointServiceAdlOutput(args: GetPrivatelinkEndpointServiceAdlOutputArgs, opts?: InvokeOptions): Output<GetPrivatelinkEndpointServiceAdlResult>
def get_privatelink_endpoint_service_adl(endpoint_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPrivatelinkEndpointServiceAdlResult
def get_privatelink_endpoint_service_adl_output(endpoint_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPrivatelinkEndpointServiceAdlResult]
func LookupPrivatelinkEndpointServiceAdl(ctx *Context, args *LookupPrivatelinkEndpointServiceAdlArgs, opts ...InvokeOption) (*LookupPrivatelinkEndpointServiceAdlResult, error)
func LookupPrivatelinkEndpointServiceAdlOutput(ctx *Context, args *LookupPrivatelinkEndpointServiceAdlOutputArgs, opts ...InvokeOption) LookupPrivatelinkEndpointServiceAdlResultOutput
> Note: This function is named LookupPrivatelinkEndpointServiceAdl
in the Go SDK.
public static class GetPrivatelinkEndpointServiceAdl
{
public static Task<GetPrivatelinkEndpointServiceAdlResult> InvokeAsync(GetPrivatelinkEndpointServiceAdlArgs args, InvokeOptions? opts = null)
public static Output<GetPrivatelinkEndpointServiceAdlResult> Invoke(GetPrivatelinkEndpointServiceAdlInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPrivatelinkEndpointServiceAdlResult> getPrivatelinkEndpointServiceAdl(GetPrivatelinkEndpointServiceAdlArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: mongodbatlas:index/getPrivatelinkEndpointServiceAdl:getPrivatelinkEndpointServiceAdl
Arguments:
# Arguments dictionary
The following arguments are supported:
- Endpoint
Id string Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.
- Project
Id string Unique 24-digit hexadecimal string that identifies the project.
- Endpoint
Id string Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.
- Project
Id string Unique 24-digit hexadecimal string that identifies the project.
- endpoint
Id String Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.
- project
Id String Unique 24-digit hexadecimal string that identifies the project.
- endpoint
Id string Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.
- project
Id string Unique 24-digit hexadecimal string that identifies the project.
- endpoint_
id str Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.
- project_
id str Unique 24-digit hexadecimal string that identifies the project.
- endpoint
Id String Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the |aws| PrivateLink feature.
- project
Id String Unique 24-digit hexadecimal string that identifies the project.
getPrivatelinkEndpointServiceAdl Result
The following output properties are available:
- Comment string
Human-readable string to associate with this private endpoint.
- Endpoint
Id string - Id string
The provider-assigned unique ID for this managed resource.
- Project
Id string - 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 - Id string
The provider-assigned unique ID for this managed resource.
- Project
Id string - 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 - id String
The provider-assigned unique ID for this managed resource.
- project
Id String - 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 - id string
The provider-assigned unique ID for this managed resource.
- project
Id string - 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 - id str
The provider-assigned unique ID for this managed resource.
- project_
id str - 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 - id String
The provider-assigned unique ID for this managed resource.
- project
Id String - 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
- https://github.com/pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
mongodbatlas
Terraform Provider.