1. Packages
  2. MongoDB Atlas
  3. API Docs
  4. getPrivatelinkEndpointServiceServerless
MongoDB Atlas v3.14.3 published on Monday, Apr 1, 2024 by Pulumi

mongodbatlas.getPrivatelinkEndpointServiceServerless

Explore with Pulumi AI

mongodbatlas logo
MongoDB Atlas v3.14.3 published on Monday, Apr 1, 2024 by Pulumi

    privatelink_endpoint_service_serverless Provides a Serverless PrivateLink Endpoint Service resource.

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

    Example with AWS

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const testServerlessInstance = new mongodbatlas.ServerlessInstance("testServerlessInstance", {
        projectId: "<PROJECT_ID>",
        providerSettingsBackingProviderName: "AWS",
        providerSettingsProviderName: "SERVERLESS",
        providerSettingsRegionName: "US_EAST_1",
        continuousBackupEnabled: true,
    });
    const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("testPrivatelinkEndpointServerless", {
        projectId: "<PROJECT_ID>",
        instanceName: testServerlessInstance.name,
        providerName: "AWS",
    });
    const testPrivatelinkEndpointServiceServerless = mongodbatlas.getPrivatelinkEndpointServiceServerlessOutput({
        projectId: "<PROJECT_ID>",
        instanceName: testServerlessInstance.name,
        endpointId: testPrivatelinkEndpointServerless.endpointId,
    });
    const testIndex_privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("testIndex/privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless", {
        projectId: "<PROJECT_ID>",
        instanceName: "test-db",
        endpointId: testPrivatelinkEndpointServerless.endpointId,
        providerName: "AWS",
        comment: "New serverless endpoint",
    });
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    test_serverless_instance = mongodbatlas.ServerlessInstance("testServerlessInstance",
        project_id="<PROJECT_ID>",
        provider_settings_backing_provider_name="AWS",
        provider_settings_provider_name="SERVERLESS",
        provider_settings_region_name="US_EAST_1",
        continuous_backup_enabled=True)
    test_privatelink_endpoint_serverless = mongodbatlas.PrivatelinkEndpointServerless("testPrivatelinkEndpointServerless",
        project_id="<PROJECT_ID>",
        instance_name=test_serverless_instance.name,
        provider_name="AWS")
    test_privatelink_endpoint_service_serverless = mongodbatlas.get_privatelink_endpoint_service_serverless_output(project_id="<PROJECT_ID>",
        instance_name=test_serverless_instance.name,
        endpoint_id=test_privatelink_endpoint_serverless.endpoint_id)
    test_index_privatelink_endpoint_service_serverless_privatelink_endpoint_service_serverless = mongodbatlas.PrivatelinkEndpointServiceServerless("testIndex/privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless",
        project_id="<PROJECT_ID>",
        instance_name="test-db",
        endpoint_id=test_privatelink_endpoint_serverless.endpoint_id,
        provider_name="AWS",
        comment="New serverless endpoint")
    
    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 {
    		testServerlessInstance, err := mongodbatlas.NewServerlessInstance(ctx, "testServerlessInstance", &mongodbatlas.ServerlessInstanceArgs{
    			ProjectId:                           pulumi.String("<PROJECT_ID>"),
    			ProviderSettingsBackingProviderName: pulumi.String("AWS"),
    			ProviderSettingsProviderName:        pulumi.String("SERVERLESS"),
    			ProviderSettingsRegionName:          pulumi.String("US_EAST_1"),
    			ContinuousBackupEnabled:             pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		testPrivatelinkEndpointServerless, err := mongodbatlas.NewPrivatelinkEndpointServerless(ctx, "testPrivatelinkEndpointServerless", &mongodbatlas.PrivatelinkEndpointServerlessArgs{
    			ProjectId:    pulumi.String("<PROJECT_ID>"),
    			InstanceName: testServerlessInstance.Name,
    			ProviderName: pulumi.String("AWS"),
    		})
    		if err != nil {
    			return err
    		}
    		_ = mongodbatlas.LookupPrivatelinkEndpointServiceServerlessOutput(ctx, mongodbatlas.GetPrivatelinkEndpointServiceServerlessOutputArgs{
    			ProjectId:    pulumi.String("<PROJECT_ID>"),
    			InstanceName: testServerlessInstance.Name,
    			EndpointId:   testPrivatelinkEndpointServerless.EndpointId,
    		}, nil)
    		_, err = mongodbatlas.NewPrivatelinkEndpointServiceServerless(ctx, "testIndex/privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless", &mongodbatlas.PrivatelinkEndpointServiceServerlessArgs{
    			ProjectId:    pulumi.String("<PROJECT_ID>"),
    			InstanceName: pulumi.String("test-db"),
    			EndpointId:   testPrivatelinkEndpointServerless.EndpointId,
    			ProviderName: pulumi.String("AWS"),
    			Comment:      pulumi.String("New serverless endpoint"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        var testServerlessInstance = new Mongodbatlas.ServerlessInstance("testServerlessInstance", new()
        {
            ProjectId = "<PROJECT_ID>",
            ProviderSettingsBackingProviderName = "AWS",
            ProviderSettingsProviderName = "SERVERLESS",
            ProviderSettingsRegionName = "US_EAST_1",
            ContinuousBackupEnabled = true,
        });
    
        var testPrivatelinkEndpointServerless = new Mongodbatlas.PrivatelinkEndpointServerless("testPrivatelinkEndpointServerless", new()
        {
            ProjectId = "<PROJECT_ID>",
            InstanceName = testServerlessInstance.Name,
            ProviderName = "AWS",
        });
    
        var testPrivatelinkEndpointServiceServerless = Mongodbatlas.GetPrivatelinkEndpointServiceServerless.Invoke(new()
        {
            ProjectId = "<PROJECT_ID>",
            InstanceName = testServerlessInstance.Name,
            EndpointId = testPrivatelinkEndpointServerless.EndpointId,
        });
    
        var testIndex_privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless = new Mongodbatlas.PrivatelinkEndpointServiceServerless("testIndex/privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless", new()
        {
            ProjectId = "<PROJECT_ID>",
            InstanceName = "test-db",
            EndpointId = testPrivatelinkEndpointServerless.EndpointId,
            ProviderName = "AWS",
            Comment = "New serverless endpoint",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.ServerlessInstance;
    import com.pulumi.mongodbatlas.ServerlessInstanceArgs;
    import com.pulumi.mongodbatlas.PrivatelinkEndpointServerless;
    import com.pulumi.mongodbatlas.PrivatelinkEndpointServerlessArgs;
    import com.pulumi.mongodbatlas.MongodbatlasFunctions;
    import com.pulumi.mongodbatlas.inputs.GetPrivatelinkEndpointServiceServerlessArgs;
    import com.pulumi.mongodbatlas.PrivatelinkEndpointServiceServerless;
    import com.pulumi.mongodbatlas.PrivatelinkEndpointServiceServerlessArgs;
    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 testServerlessInstance = new ServerlessInstance("testServerlessInstance", ServerlessInstanceArgs.builder()        
                .projectId("<PROJECT_ID>")
                .providerSettingsBackingProviderName("AWS")
                .providerSettingsProviderName("SERVERLESS")
                .providerSettingsRegionName("US_EAST_1")
                .continuousBackupEnabled(true)
                .build());
    
            var testPrivatelinkEndpointServerless = new PrivatelinkEndpointServerless("testPrivatelinkEndpointServerless", PrivatelinkEndpointServerlessArgs.builder()        
                .projectId("<PROJECT_ID>")
                .instanceName(testServerlessInstance.name())
                .providerName("AWS")
                .build());
    
            final var testPrivatelinkEndpointServiceServerless = MongodbatlasFunctions.getPrivatelinkEndpointServiceServerless(GetPrivatelinkEndpointServiceServerlessArgs.builder()
                .projectId("<PROJECT_ID>")
                .instanceName(testServerlessInstance.name())
                .endpointId(testPrivatelinkEndpointServerless.endpointId())
                .build());
    
            var testIndex_privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless = new PrivatelinkEndpointServiceServerless("testIndex/privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless", PrivatelinkEndpointServiceServerlessArgs.builder()        
                .projectId("<PROJECT_ID>")
                .instanceName("test-db")
                .endpointId(testPrivatelinkEndpointServerless.endpointId())
                .providerName("AWS")
                .comment("New serverless endpoint")
                .build());
    
        }
    }
    
    resources:
      testPrivatelinkEndpointServerless:
        type: mongodbatlas:PrivatelinkEndpointServerless
        properties:
          projectId: <PROJECT_ID>
          instanceName: ${testServerlessInstance.name}
          providerName: AWS
      testIndex/privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless:
        type: mongodbatlas:PrivatelinkEndpointServiceServerless
        properties:
          projectId: <PROJECT_ID>
          instanceName: test-db
          endpointId: ${testPrivatelinkEndpointServerless.endpointId}
          providerName: AWS
          comment: New serverless endpoint
      testServerlessInstance:
        type: mongodbatlas:ServerlessInstance
        properties:
          projectId: <PROJECT_ID>
          providerSettingsBackingProviderName: AWS
          providerSettingsProviderName: SERVERLESS
          providerSettingsRegionName: US_EAST_1
          continuousBackupEnabled: true
    variables:
      testPrivatelinkEndpointServiceServerless:
        fn::invoke:
          Function: mongodbatlas:getPrivatelinkEndpointServiceServerless
          Arguments:
            projectId: <PROJECT_ID>
            instanceName: ${testServerlessInstance.name}
            endpointId: ${testPrivatelinkEndpointServerless.endpointId}
    

    Example with AZURE

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const testServerlessInstance = new mongodbatlas.ServerlessInstance("testServerlessInstance", {
        projectId: "<PROJECT_ID>",
        providerSettingsBackingProviderName: "AZURE",
        providerSettingsProviderName: "SERVERLESS",
        providerSettingsRegionName: "US_EAST",
        continuousBackupEnabled: true,
    });
    const testPrivatelinkEndpointServerless = new mongodbatlas.PrivatelinkEndpointServerless("testPrivatelinkEndpointServerless", {
        projectId: "<PROJECT_ID>",
        instanceName: testServerlessInstance.name,
        providerName: "AZURE",
    });
    const testPrivatelinkEndpointServiceServerless = mongodbatlas.getPrivatelinkEndpointServiceServerlessOutput({
        projectId: "<PROJECT_ID>",
        instanceName: testServerlessInstance.name,
        endpointId: testPrivatelinkEndpointServerless.endpointId,
    });
    const testIndex_privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless = new mongodbatlas.PrivatelinkEndpointServiceServerless("testIndex/privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless", {
        projectId: "<PROJECT_ID>",
        instanceName: "test-db",
        endpointId: testPrivatelinkEndpointServerless.endpointId,
        providerName: "AZURE",
        comment: "New serverless endpoint",
    });
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    test_serverless_instance = mongodbatlas.ServerlessInstance("testServerlessInstance",
        project_id="<PROJECT_ID>",
        provider_settings_backing_provider_name="AZURE",
        provider_settings_provider_name="SERVERLESS",
        provider_settings_region_name="US_EAST",
        continuous_backup_enabled=True)
    test_privatelink_endpoint_serverless = mongodbatlas.PrivatelinkEndpointServerless("testPrivatelinkEndpointServerless",
        project_id="<PROJECT_ID>",
        instance_name=test_serverless_instance.name,
        provider_name="AZURE")
    test_privatelink_endpoint_service_serverless = mongodbatlas.get_privatelink_endpoint_service_serverless_output(project_id="<PROJECT_ID>",
        instance_name=test_serverless_instance.name,
        endpoint_id=test_privatelink_endpoint_serverless.endpoint_id)
    test_index_privatelink_endpoint_service_serverless_privatelink_endpoint_service_serverless = mongodbatlas.PrivatelinkEndpointServiceServerless("testIndex/privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless",
        project_id="<PROJECT_ID>",
        instance_name="test-db",
        endpoint_id=test_privatelink_endpoint_serverless.endpoint_id,
        provider_name="AZURE",
        comment="New serverless endpoint")
    
    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 {
    		testServerlessInstance, err := mongodbatlas.NewServerlessInstance(ctx, "testServerlessInstance", &mongodbatlas.ServerlessInstanceArgs{
    			ProjectId:                           pulumi.String("<PROJECT_ID>"),
    			ProviderSettingsBackingProviderName: pulumi.String("AZURE"),
    			ProviderSettingsProviderName:        pulumi.String("SERVERLESS"),
    			ProviderSettingsRegionName:          pulumi.String("US_EAST"),
    			ContinuousBackupEnabled:             pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		testPrivatelinkEndpointServerless, err := mongodbatlas.NewPrivatelinkEndpointServerless(ctx, "testPrivatelinkEndpointServerless", &mongodbatlas.PrivatelinkEndpointServerlessArgs{
    			ProjectId:    pulumi.String("<PROJECT_ID>"),
    			InstanceName: testServerlessInstance.Name,
    			ProviderName: pulumi.String("AZURE"),
    		})
    		if err != nil {
    			return err
    		}
    		_ = mongodbatlas.LookupPrivatelinkEndpointServiceServerlessOutput(ctx, mongodbatlas.GetPrivatelinkEndpointServiceServerlessOutputArgs{
    			ProjectId:    pulumi.String("<PROJECT_ID>"),
    			InstanceName: testServerlessInstance.Name,
    			EndpointId:   testPrivatelinkEndpointServerless.EndpointId,
    		}, nil)
    		_, err = mongodbatlas.NewPrivatelinkEndpointServiceServerless(ctx, "testIndex/privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless", &mongodbatlas.PrivatelinkEndpointServiceServerlessArgs{
    			ProjectId:    pulumi.String("<PROJECT_ID>"),
    			InstanceName: pulumi.String("test-db"),
    			EndpointId:   testPrivatelinkEndpointServerless.EndpointId,
    			ProviderName: pulumi.String("AZURE"),
    			Comment:      pulumi.String("New serverless endpoint"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        var testServerlessInstance = new Mongodbatlas.ServerlessInstance("testServerlessInstance", new()
        {
            ProjectId = "<PROJECT_ID>",
            ProviderSettingsBackingProviderName = "AZURE",
            ProviderSettingsProviderName = "SERVERLESS",
            ProviderSettingsRegionName = "US_EAST",
            ContinuousBackupEnabled = true,
        });
    
        var testPrivatelinkEndpointServerless = new Mongodbatlas.PrivatelinkEndpointServerless("testPrivatelinkEndpointServerless", new()
        {
            ProjectId = "<PROJECT_ID>",
            InstanceName = testServerlessInstance.Name,
            ProviderName = "AZURE",
        });
    
        var testPrivatelinkEndpointServiceServerless = Mongodbatlas.GetPrivatelinkEndpointServiceServerless.Invoke(new()
        {
            ProjectId = "<PROJECT_ID>",
            InstanceName = testServerlessInstance.Name,
            EndpointId = testPrivatelinkEndpointServerless.EndpointId,
        });
    
        var testIndex_privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless = new Mongodbatlas.PrivatelinkEndpointServiceServerless("testIndex/privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless", new()
        {
            ProjectId = "<PROJECT_ID>",
            InstanceName = "test-db",
            EndpointId = testPrivatelinkEndpointServerless.EndpointId,
            ProviderName = "AZURE",
            Comment = "New serverless endpoint",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.ServerlessInstance;
    import com.pulumi.mongodbatlas.ServerlessInstanceArgs;
    import com.pulumi.mongodbatlas.PrivatelinkEndpointServerless;
    import com.pulumi.mongodbatlas.PrivatelinkEndpointServerlessArgs;
    import com.pulumi.mongodbatlas.MongodbatlasFunctions;
    import com.pulumi.mongodbatlas.inputs.GetPrivatelinkEndpointServiceServerlessArgs;
    import com.pulumi.mongodbatlas.PrivatelinkEndpointServiceServerless;
    import com.pulumi.mongodbatlas.PrivatelinkEndpointServiceServerlessArgs;
    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 testServerlessInstance = new ServerlessInstance("testServerlessInstance", ServerlessInstanceArgs.builder()        
                .projectId("<PROJECT_ID>")
                .providerSettingsBackingProviderName("AZURE")
                .providerSettingsProviderName("SERVERLESS")
                .providerSettingsRegionName("US_EAST")
                .continuousBackupEnabled(true)
                .build());
    
            var testPrivatelinkEndpointServerless = new PrivatelinkEndpointServerless("testPrivatelinkEndpointServerless", PrivatelinkEndpointServerlessArgs.builder()        
                .projectId("<PROJECT_ID>")
                .instanceName(testServerlessInstance.name())
                .providerName("AZURE")
                .build());
    
            final var testPrivatelinkEndpointServiceServerless = MongodbatlasFunctions.getPrivatelinkEndpointServiceServerless(GetPrivatelinkEndpointServiceServerlessArgs.builder()
                .projectId("<PROJECT_ID>")
                .instanceName(testServerlessInstance.name())
                .endpointId(testPrivatelinkEndpointServerless.endpointId())
                .build());
    
            var testIndex_privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless = new PrivatelinkEndpointServiceServerless("testIndex/privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless", PrivatelinkEndpointServiceServerlessArgs.builder()        
                .projectId("<PROJECT_ID>")
                .instanceName("test-db")
                .endpointId(testPrivatelinkEndpointServerless.endpointId())
                .providerName("AZURE")
                .comment("New serverless endpoint")
                .build());
    
        }
    }
    
    resources:
      testPrivatelinkEndpointServerless:
        type: mongodbatlas:PrivatelinkEndpointServerless
        properties:
          projectId: <PROJECT_ID>
          instanceName: ${testServerlessInstance.name}
          providerName: AZURE
      testIndex/privatelinkEndpointServiceServerlessPrivatelinkEndpointServiceServerless:
        type: mongodbatlas:PrivatelinkEndpointServiceServerless
        properties:
          projectId: <PROJECT_ID>
          instanceName: test-db
          endpointId: ${testPrivatelinkEndpointServerless.endpointId}
          providerName: AZURE
          comment: New serverless endpoint
      testServerlessInstance:
        type: mongodbatlas:ServerlessInstance
        properties:
          projectId: <PROJECT_ID>
          providerSettingsBackingProviderName: AZURE
          providerSettingsProviderName: SERVERLESS
          providerSettingsRegionName: US_EAST
          continuousBackupEnabled: true
    variables:
      testPrivatelinkEndpointServiceServerless:
        fn::invoke:
          Function: mongodbatlas:getPrivatelinkEndpointServiceServerless
          Arguments:
            projectId: <PROJECT_ID>
            instanceName: ${testServerlessInstance.name}
            endpointId: ${testPrivatelinkEndpointServerless.endpointId}
    

    Available complete examples

    • Setup private connection to a MongoDB Atlas Serverless Instance with AWS VPC

    Using getPrivatelinkEndpointServiceServerless

    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 getPrivatelinkEndpointServiceServerless(args: GetPrivatelinkEndpointServiceServerlessArgs, opts?: InvokeOptions): Promise<GetPrivatelinkEndpointServiceServerlessResult>
    function getPrivatelinkEndpointServiceServerlessOutput(args: GetPrivatelinkEndpointServiceServerlessOutputArgs, opts?: InvokeOptions): Output<GetPrivatelinkEndpointServiceServerlessResult>
    def get_privatelink_endpoint_service_serverless(endpoint_id: Optional[str] = None,
                                                    instance_name: Optional[str] = None,
                                                    project_id: Optional[str] = None,
                                                    opts: Optional[InvokeOptions] = None) -> GetPrivatelinkEndpointServiceServerlessResult
    def get_privatelink_endpoint_service_serverless_output(endpoint_id: Optional[pulumi.Input[str]] = None,
                                                    instance_name: Optional[pulumi.Input[str]] = None,
                                                    project_id: Optional[pulumi.Input[str]] = None,
                                                    opts: Optional[InvokeOptions] = None) -> Output[GetPrivatelinkEndpointServiceServerlessResult]
    func LookupPrivatelinkEndpointServiceServerless(ctx *Context, args *LookupPrivatelinkEndpointServiceServerlessArgs, opts ...InvokeOption) (*LookupPrivatelinkEndpointServiceServerlessResult, error)
    func LookupPrivatelinkEndpointServiceServerlessOutput(ctx *Context, args *LookupPrivatelinkEndpointServiceServerlessOutputArgs, opts ...InvokeOption) LookupPrivatelinkEndpointServiceServerlessResultOutput

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

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

    The following arguments are supported:

    EndpointId string
    Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the AWS PrivateLink feature.
    InstanceName string
    Human-readable label that identifies the serverless instance
    ProjectId string
    Unique 24-digit hexadecimal string that identifies the project.
    EndpointId string
    Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the AWS PrivateLink feature.
    InstanceName string
    Human-readable label that identifies the serverless instance
    ProjectId string
    Unique 24-digit hexadecimal string that identifies the project.
    endpointId String
    Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the AWS PrivateLink feature.
    instanceName String
    Human-readable label that identifies the serverless instance
    projectId String
    Unique 24-digit hexadecimal string that identifies the project.
    endpointId string
    Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the AWS PrivateLink feature.
    instanceName string
    Human-readable label that identifies the serverless instance
    projectId 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.
    instance_name str
    Human-readable label that identifies the serverless instance
    project_id str
    Unique 24-digit hexadecimal string that identifies the project.
    endpointId String
    Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the AWS PrivateLink feature.
    instanceName String
    Human-readable label that identifies the serverless instance
    projectId String
    Unique 24-digit hexadecimal string that identifies the project.

    getPrivatelinkEndpointServiceServerless Result

    The following output properties are available:

    CloudProviderEndpointId string
    Comment string
    EndpointId string
    EndpointServiceName string
    Unique string that identifies the PrivateLink endpoint service. MongoDB Cloud returns null while it creates the endpoint service.
    ErrorMessage string
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceName string
    PrivateEndpointIpAddress string
    IPv4 address of the private endpoint in your Azure VNet that someone added to this private endpoint service.
    PrivateLinkServiceResourceId string
    Root-relative path that identifies the Azure Private Link Service that MongoDB Cloud manages.
    ProjectId string
    Status string
    Human-readable label that indicates the current operating status of the private endpoint. Values include: RESERVATION_REQUESTED, RESERVED, INITIATING, AVAILABLE, FAILED, DELETING.
    CloudProviderEndpointId string
    Comment string
    EndpointId string
    EndpointServiceName string
    Unique string that identifies the PrivateLink endpoint service. MongoDB Cloud returns null while it creates the endpoint service.
    ErrorMessage string
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceName string
    PrivateEndpointIpAddress string
    IPv4 address of the private endpoint in your Azure VNet that someone added to this private endpoint service.
    PrivateLinkServiceResourceId string
    Root-relative path that identifies the Azure Private Link Service that MongoDB Cloud manages.
    ProjectId string
    Status string
    Human-readable label that indicates the current operating status of the private endpoint. Values include: RESERVATION_REQUESTED, RESERVED, INITIATING, AVAILABLE, FAILED, DELETING.
    cloudProviderEndpointId String
    comment String
    endpointId String
    endpointServiceName String
    Unique string that identifies the PrivateLink endpoint service. MongoDB Cloud returns null while it creates the endpoint service.
    errorMessage String
    id String
    The provider-assigned unique ID for this managed resource.
    instanceName String
    privateEndpointIpAddress String
    IPv4 address of the private endpoint in your Azure VNet that someone added to this private endpoint service.
    privateLinkServiceResourceId String
    Root-relative path that identifies the Azure Private Link Service that MongoDB Cloud manages.
    projectId String
    status String
    Human-readable label that indicates the current operating status of the private endpoint. Values include: RESERVATION_REQUESTED, RESERVED, INITIATING, AVAILABLE, FAILED, DELETING.
    cloudProviderEndpointId string
    comment string
    endpointId string
    endpointServiceName string
    Unique string that identifies the PrivateLink endpoint service. MongoDB Cloud returns null while it creates the endpoint service.
    errorMessage string
    id string
    The provider-assigned unique ID for this managed resource.
    instanceName string
    privateEndpointIpAddress string
    IPv4 address of the private endpoint in your Azure VNet that someone added to this private endpoint service.
    privateLinkServiceResourceId string
    Root-relative path that identifies the Azure Private Link Service that MongoDB Cloud manages.
    projectId string
    status string
    Human-readable label that indicates the current operating status of the private endpoint. Values include: RESERVATION_REQUESTED, RESERVED, INITIATING, AVAILABLE, FAILED, DELETING.
    cloud_provider_endpoint_id str
    comment str
    endpoint_id str
    endpoint_service_name str
    Unique string that identifies the PrivateLink endpoint service. MongoDB Cloud returns null while it creates the endpoint service.
    error_message str
    id str
    The provider-assigned unique ID for this managed resource.
    instance_name str
    private_endpoint_ip_address str
    IPv4 address of the private endpoint in your Azure VNet that someone added to this private endpoint service.
    private_link_service_resource_id str
    Root-relative path that identifies the Azure Private Link Service that MongoDB Cloud manages.
    project_id str
    status str
    Human-readable label that indicates the current operating status of the private endpoint. Values include: RESERVATION_REQUESTED, RESERVED, INITIATING, AVAILABLE, FAILED, DELETING.
    cloudProviderEndpointId String
    comment String
    endpointId String
    endpointServiceName String
    Unique string that identifies the PrivateLink endpoint service. MongoDB Cloud returns null while it creates the endpoint service.
    errorMessage String
    id String
    The provider-assigned unique ID for this managed resource.
    instanceName String
    privateEndpointIpAddress String
    IPv4 address of the private endpoint in your Azure VNet that someone added to this private endpoint service.
    privateLinkServiceResourceId String
    Root-relative path that identifies the Azure Private Link Service that MongoDB Cloud manages.
    projectId String
    status String
    Human-readable label that indicates the current operating status of the private endpoint. Values include: RESERVATION_REQUESTED, RESERVED, INITIATING, AVAILABLE, FAILED, DELETING.

    Package Details

    Repository
    MongoDB Atlas pulumi/pulumi-mongodbatlas
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the mongodbatlas Terraform Provider.
    mongodbatlas logo
    MongoDB Atlas v3.14.3 published on Monday, Apr 1, 2024 by Pulumi