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

mongodbatlas.PrivateLinkEndpointService

Explore with Pulumi AI

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

    mongodbatlas.PrivateLinkEndpointService provides a Private Endpoint Interface Link resource. This represents a Private Endpoint Interface Link, which adds one Interface Endpoint to a private endpoint connection in an Atlas project.

    **IMPORTANT:**You must have one of the following roles to successfully handle the resource:

    • Organization Owner
    • Project Owner

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

    NOTE: Create and delete wait for all clusters on the project to IDLE in order for their operations to complete. This ensures the latest connection strings can be retrieved following creation or deletion of this resource. Default timeout is 2hrs.

    Example with AWS

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const testPrivateLinkEndpoint = new mongodbatlas.PrivateLinkEndpoint("testPrivateLinkEndpoint", {
        projectId: "<PROJECT_ID>",
        providerName: "AWS",
        region: "US_EAST_1",
    });
    const ptfeService = new aws.ec2.VpcEndpoint("ptfeService", {
        vpcId: "vpc-7fc0a543",
        serviceName: testPrivateLinkEndpoint.endpointServiceName,
        vpcEndpointType: "Interface",
        subnetIds: ["subnet-de0406d2"],
        securityGroupIds: ["sg-3f238186"],
    });
    const testPrivateLinkEndpointService = new mongodbatlas.PrivateLinkEndpointService("testPrivateLinkEndpointService", {
        projectId: testPrivateLinkEndpoint.projectId,
        privateLinkId: testPrivateLinkEndpoint.privateLinkId,
        endpointServiceId: ptfeService.id,
        providerName: "AWS",
    });
    
    import pulumi
    import pulumi_aws as aws
    import pulumi_mongodbatlas as mongodbatlas
    
    test_private_link_endpoint = mongodbatlas.PrivateLinkEndpoint("testPrivateLinkEndpoint",
        project_id="<PROJECT_ID>",
        provider_name="AWS",
        region="US_EAST_1")
    ptfe_service = aws.ec2.VpcEndpoint("ptfeService",
        vpc_id="vpc-7fc0a543",
        service_name=test_private_link_endpoint.endpoint_service_name,
        vpc_endpoint_type="Interface",
        subnet_ids=["subnet-de0406d2"],
        security_group_ids=["sg-3f238186"])
    test_private_link_endpoint_service = mongodbatlas.PrivateLinkEndpointService("testPrivateLinkEndpointService",
        project_id=test_private_link_endpoint.project_id,
        private_link_id=test_private_link_endpoint.private_link_id,
        endpoint_service_id=ptfe_service.id,
        provider_name="AWS")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2"
    	"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 {
    		testPrivateLinkEndpoint, err := mongodbatlas.NewPrivateLinkEndpoint(ctx, "testPrivateLinkEndpoint", &mongodbatlas.PrivateLinkEndpointArgs{
    			ProjectId:    pulumi.String("<PROJECT_ID>"),
    			ProviderName: pulumi.String("AWS"),
    			Region:       pulumi.String("US_EAST_1"),
    		})
    		if err != nil {
    			return err
    		}
    		ptfeService, err := ec2.NewVpcEndpoint(ctx, "ptfeService", &ec2.VpcEndpointArgs{
    			VpcId:           pulumi.String("vpc-7fc0a543"),
    			ServiceName:     testPrivateLinkEndpoint.EndpointServiceName,
    			VpcEndpointType: pulumi.String("Interface"),
    			SubnetIds: pulumi.StringArray{
    				pulumi.String("subnet-de0406d2"),
    			},
    			SecurityGroupIds: pulumi.StringArray{
    				pulumi.String("sg-3f238186"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = mongodbatlas.NewPrivateLinkEndpointService(ctx, "testPrivateLinkEndpointService", &mongodbatlas.PrivateLinkEndpointServiceArgs{
    			ProjectId:         testPrivateLinkEndpoint.ProjectId,
    			PrivateLinkId:     testPrivateLinkEndpoint.PrivateLinkId,
    			EndpointServiceId: ptfeService.ID(),
    			ProviderName:      pulumi.String("AWS"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        var testPrivateLinkEndpoint = new Mongodbatlas.PrivateLinkEndpoint("testPrivateLinkEndpoint", new()
        {
            ProjectId = "<PROJECT_ID>",
            ProviderName = "AWS",
            Region = "US_EAST_1",
        });
    
        var ptfeService = new Aws.Ec2.VpcEndpoint("ptfeService", new()
        {
            VpcId = "vpc-7fc0a543",
            ServiceName = testPrivateLinkEndpoint.EndpointServiceName,
            VpcEndpointType = "Interface",
            SubnetIds = new[]
            {
                "subnet-de0406d2",
            },
            SecurityGroupIds = new[]
            {
                "sg-3f238186",
            },
        });
    
        var testPrivateLinkEndpointService = new Mongodbatlas.PrivateLinkEndpointService("testPrivateLinkEndpointService", new()
        {
            ProjectId = testPrivateLinkEndpoint.ProjectId,
            PrivateLinkId = testPrivateLinkEndpoint.PrivateLinkId,
            EndpointServiceId = ptfeService.Id,
            ProviderName = "AWS",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.PrivateLinkEndpoint;
    import com.pulumi.mongodbatlas.PrivateLinkEndpointArgs;
    import com.pulumi.aws.ec2.VpcEndpoint;
    import com.pulumi.aws.ec2.VpcEndpointArgs;
    import com.pulumi.mongodbatlas.PrivateLinkEndpointService;
    import com.pulumi.mongodbatlas.PrivateLinkEndpointServiceArgs;
    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 testPrivateLinkEndpoint = new PrivateLinkEndpoint("testPrivateLinkEndpoint", PrivateLinkEndpointArgs.builder()        
                .projectId("<PROJECT_ID>")
                .providerName("AWS")
                .region("US_EAST_1")
                .build());
    
            var ptfeService = new VpcEndpoint("ptfeService", VpcEndpointArgs.builder()        
                .vpcId("vpc-7fc0a543")
                .serviceName(testPrivateLinkEndpoint.endpointServiceName())
                .vpcEndpointType("Interface")
                .subnetIds("subnet-de0406d2")
                .securityGroupIds("sg-3f238186")
                .build());
    
            var testPrivateLinkEndpointService = new PrivateLinkEndpointService("testPrivateLinkEndpointService", PrivateLinkEndpointServiceArgs.builder()        
                .projectId(testPrivateLinkEndpoint.projectId())
                .privateLinkId(testPrivateLinkEndpoint.privateLinkId())
                .endpointServiceId(ptfeService.id())
                .providerName("AWS")
                .build());
    
        }
    }
    
    resources:
      testPrivateLinkEndpoint:
        type: mongodbatlas:PrivateLinkEndpoint
        properties:
          projectId: <PROJECT_ID>
          providerName: AWS
          region: US_EAST_1
      ptfeService:
        type: aws:ec2:VpcEndpoint
        properties:
          vpcId: vpc-7fc0a543
          serviceName: ${testPrivateLinkEndpoint.endpointServiceName}
          vpcEndpointType: Interface
          subnetIds:
            - subnet-de0406d2
          securityGroupIds:
            - sg-3f238186
      testPrivateLinkEndpointService:
        type: mongodbatlas:PrivateLinkEndpointService
        properties:
          projectId: ${testPrivateLinkEndpoint.projectId}
          privateLinkId: ${testPrivateLinkEndpoint.privateLinkId}
          endpointServiceId: ${ptfeService.id}
          providerName: AWS
    

    Example with Azure

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const testPrivateLinkEndpoint = new mongodbatlas.PrivateLinkEndpoint("testPrivateLinkEndpoint", {
        projectId: _var.project_id,
        providerName: "AZURE",
        region: "eastus2",
    });
    const testEndpoint = new azure.privatelink.Endpoint("testEndpoint", {
        location: data.azurerm_resource_group.test.location,
        resourceGroupName: _var.resource_group_name,
        subnetId: azurerm_subnet.test.id,
        privateServiceConnection: {
            name: testPrivateLinkEndpoint.privateLinkServiceName,
            privateConnectionResourceId: testPrivateLinkEndpoint.privateLinkServiceResourceId,
            isManualConnection: true,
            requestMessage: "Azure Private Link test",
        },
    });
    const testPrivateLinkEndpointService = new mongodbatlas.PrivateLinkEndpointService("testPrivateLinkEndpointService", {
        projectId: testPrivateLinkEndpoint.projectId,
        privateLinkId: testPrivateLinkEndpoint.privateLinkId,
        endpointServiceId: testEndpoint.id,
        privateEndpointIpAddress: testEndpoint.privateServiceConnection.apply(privateServiceConnection => privateServiceConnection.privateIpAddress),
        providerName: "AZURE",
    });
    
    import pulumi
    import pulumi_azure as azure
    import pulumi_mongodbatlas as mongodbatlas
    
    test_private_link_endpoint = mongodbatlas.PrivateLinkEndpoint("testPrivateLinkEndpoint",
        project_id=var["project_id"],
        provider_name="AZURE",
        region="eastus2")
    test_endpoint = azure.privatelink.Endpoint("testEndpoint",
        location=data["azurerm_resource_group"]["test"]["location"],
        resource_group_name=var["resource_group_name"],
        subnet_id=azurerm_subnet["test"]["id"],
        private_service_connection=azure.privatelink.EndpointPrivateServiceConnectionArgs(
            name=test_private_link_endpoint.private_link_service_name,
            private_connection_resource_id=test_private_link_endpoint.private_link_service_resource_id,
            is_manual_connection=True,
            request_message="Azure Private Link test",
        ))
    test_private_link_endpoint_service = mongodbatlas.PrivateLinkEndpointService("testPrivateLinkEndpointService",
        project_id=test_private_link_endpoint.project_id,
        private_link_id=test_private_link_endpoint.private_link_id,
        endpoint_service_id=test_endpoint.id,
        private_endpoint_ip_address=test_endpoint.private_service_connection.private_ip_address,
        provider_name="AZURE")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/privatelink"
    	"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 {
    		testPrivateLinkEndpoint, err := mongodbatlas.NewPrivateLinkEndpoint(ctx, "testPrivateLinkEndpoint", &mongodbatlas.PrivateLinkEndpointArgs{
    			ProjectId:    pulumi.Any(_var.Project_id),
    			ProviderName: pulumi.String("AZURE"),
    			Region:       pulumi.String("eastus2"),
    		})
    		if err != nil {
    			return err
    		}
    		testEndpoint, err := privatelink.NewEndpoint(ctx, "testEndpoint", &privatelink.EndpointArgs{
    			Location:          pulumi.Any(data.Azurerm_resource_group.Test.Location),
    			ResourceGroupName: pulumi.Any(_var.Resource_group_name),
    			SubnetId:          pulumi.Any(azurerm_subnet.Test.Id),
    			PrivateServiceConnection: &privatelink.EndpointPrivateServiceConnectionArgs{
    				Name:                        testPrivateLinkEndpoint.PrivateLinkServiceName,
    				PrivateConnectionResourceId: testPrivateLinkEndpoint.PrivateLinkServiceResourceId,
    				IsManualConnection:          pulumi.Bool(true),
    				RequestMessage:              pulumi.String("Azure Private Link test"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = mongodbatlas.NewPrivateLinkEndpointService(ctx, "testPrivateLinkEndpointService", &mongodbatlas.PrivateLinkEndpointServiceArgs{
    			ProjectId:         testPrivateLinkEndpoint.ProjectId,
    			PrivateLinkId:     testPrivateLinkEndpoint.PrivateLinkId,
    			EndpointServiceId: testEndpoint.ID(),
    			PrivateEndpointIpAddress: testEndpoint.PrivateServiceConnection.ApplyT(func(privateServiceConnection privatelink.EndpointPrivateServiceConnection) (*string, error) {
    				return &privateServiceConnection.PrivateIpAddress, nil
    			}).(pulumi.StringPtrOutput),
    			ProviderName: pulumi.String("AZURE"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        var testPrivateLinkEndpoint = new Mongodbatlas.PrivateLinkEndpoint("testPrivateLinkEndpoint", new()
        {
            ProjectId = @var.Project_id,
            ProviderName = "AZURE",
            Region = "eastus2",
        });
    
        var testEndpoint = new Azure.PrivateLink.Endpoint("testEndpoint", new()
        {
            Location = data.Azurerm_resource_group.Test.Location,
            ResourceGroupName = @var.Resource_group_name,
            SubnetId = azurerm_subnet.Test.Id,
            PrivateServiceConnection = new Azure.PrivateLink.Inputs.EndpointPrivateServiceConnectionArgs
            {
                Name = testPrivateLinkEndpoint.PrivateLinkServiceName,
                PrivateConnectionResourceId = testPrivateLinkEndpoint.PrivateLinkServiceResourceId,
                IsManualConnection = true,
                RequestMessage = "Azure Private Link test",
            },
        });
    
        var testPrivateLinkEndpointService = new Mongodbatlas.PrivateLinkEndpointService("testPrivateLinkEndpointService", new()
        {
            ProjectId = testPrivateLinkEndpoint.ProjectId,
            PrivateLinkId = testPrivateLinkEndpoint.PrivateLinkId,
            EndpointServiceId = testEndpoint.Id,
            PrivateEndpointIpAddress = testEndpoint.PrivateServiceConnection.Apply(privateServiceConnection => privateServiceConnection.PrivateIpAddress),
            ProviderName = "AZURE",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.PrivateLinkEndpoint;
    import com.pulumi.mongodbatlas.PrivateLinkEndpointArgs;
    import com.pulumi.azure.privatelink.Endpoint;
    import com.pulumi.azure.privatelink.EndpointArgs;
    import com.pulumi.azure.privatelink.inputs.EndpointPrivateServiceConnectionArgs;
    import com.pulumi.mongodbatlas.PrivateLinkEndpointService;
    import com.pulumi.mongodbatlas.PrivateLinkEndpointServiceArgs;
    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 testPrivateLinkEndpoint = new PrivateLinkEndpoint("testPrivateLinkEndpoint", PrivateLinkEndpointArgs.builder()        
                .projectId(var_.project_id())
                .providerName("AZURE")
                .region("eastus2")
                .build());
    
            var testEndpoint = new Endpoint("testEndpoint", EndpointArgs.builder()        
                .location(data.azurerm_resource_group().test().location())
                .resourceGroupName(var_.resource_group_name())
                .subnetId(azurerm_subnet.test().id())
                .privateServiceConnection(EndpointPrivateServiceConnectionArgs.builder()
                    .name(testPrivateLinkEndpoint.privateLinkServiceName())
                    .privateConnectionResourceId(testPrivateLinkEndpoint.privateLinkServiceResourceId())
                    .isManualConnection(true)
                    .requestMessage("Azure Private Link test")
                    .build())
                .build());
    
            var testPrivateLinkEndpointService = new PrivateLinkEndpointService("testPrivateLinkEndpointService", PrivateLinkEndpointServiceArgs.builder()        
                .projectId(testPrivateLinkEndpoint.projectId())
                .privateLinkId(testPrivateLinkEndpoint.privateLinkId())
                .endpointServiceId(testEndpoint.id())
                .privateEndpointIpAddress(testEndpoint.privateServiceConnection().applyValue(privateServiceConnection -> privateServiceConnection.privateIpAddress()))
                .providerName("AZURE")
                .build());
    
        }
    }
    
    resources:
      testPrivateLinkEndpoint:
        type: mongodbatlas:PrivateLinkEndpoint
        properties:
          projectId: ${var.project_id}
          providerName: AZURE
          region: eastus2
      testEndpoint:
        type: azure:privatelink:Endpoint
        properties:
          location: ${data.azurerm_resource_group.test.location}
          resourceGroupName: ${var.resource_group_name}
          subnetId: ${azurerm_subnet.test.id}
          privateServiceConnection:
            name: ${testPrivateLinkEndpoint.privateLinkServiceName}
            privateConnectionResourceId: ${testPrivateLinkEndpoint.privateLinkServiceResourceId}
            isManualConnection: true
            requestMessage: Azure Private Link test
      testPrivateLinkEndpointService:
        type: mongodbatlas:PrivateLinkEndpointService
        properties:
          projectId: ${testPrivateLinkEndpoint.projectId}
          privateLinkId: ${testPrivateLinkEndpoint.privateLinkId}
          endpointServiceId: ${testEndpoint.id}
          privateEndpointIpAddress: ${testEndpoint.privateServiceConnection.privateIpAddress}
          providerName: AZURE
    

    Example with GCP

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.PrivateLinkEndpoint;
    import com.pulumi.mongodbatlas.PrivateLinkEndpointArgs;
    import com.pulumi.gcp.compute.Network;
    import com.pulumi.gcp.compute.NetworkArgs;
    import com.pulumi.gcp.compute.Subnetwork;
    import com.pulumi.gcp.compute.SubnetworkArgs;
    import com.pulumi.gcp.compute.Address;
    import com.pulumi.gcp.compute.AddressArgs;
    import com.pulumi.gcp.compute.ForwardingRule;
    import com.pulumi.gcp.compute.ForwardingRuleArgs;
    import com.pulumi.mongodbatlas.PrivateLinkEndpointService;
    import com.pulumi.mongodbatlas.PrivateLinkEndpointServiceArgs;
    import com.pulumi.codegen.internal.KeyedValue;
    import com.pulumi.resources.CustomResourceOptions;
    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 testPrivateLinkEndpoint = new PrivateLinkEndpoint("testPrivateLinkEndpoint", PrivateLinkEndpointArgs.builder()        
                .projectId(var_.project_id())
                .providerName("GCP")
                .region(var_.gcp_region())
                .build());
    
            // Create a Google Network
            var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()        
                .project(var_.gcp_project())
                .build());
    
            // Create a Google Sub Network
            var defaultSubnetwork = new Subnetwork("defaultSubnetwork", SubnetworkArgs.builder()        
                .project(defaultNetwork.project())
                .ipCidrRange("10.0.0.0/16")
                .region(var_.gcp_region())
                .network(defaultNetwork.id())
                .build());
    
            // Create Google 50 Addresses
            for (var i = 0; i < 50; i++) {
                new Address("defaultAddress-" + i, AddressArgs.builder()            
                    .project(defaultSubnetwork.project())
                    .subnetwork(defaultSubnetwork.id())
                    .addressType("INTERNAL")
                    .address(String.format("10.0.42.%s", range.value()))
                    .region(var_.gcp_region())
                    .build(), CustomResourceOptions.builder()
                        .dependsOn(testPrivateLinkEndpoint)
                        .build());
    
            
    }
            // Create 50 Forwarding rules
            for (var i = 0; i < 50; i++) {
                new ForwardingRule("defaultForwardingRule-" + i, ForwardingRuleArgs.builder()            
                    .target(testPrivateLinkEndpoint.serviceAttachmentNames().applyValue(serviceAttachmentNames -> serviceAttachmentNames[range.value()]))
                    .project(defaultAddress[range.value()].project())
                    .region(defaultAddress[range.value()].region())
                    .ipAddress(defaultAddress[range.value()].id())
                    .network(defaultNetwork.id())
                    .loadBalancingScheme("")
                    .build());
    
            
    }
            var testPrivateLinkEndpointService = new PrivateLinkEndpointService("testPrivateLinkEndpointService", PrivateLinkEndpointServiceArgs.builder()        
                .projectId(testPrivateLinkEndpoint.projectId())
                .privateLinkId(testPrivateLinkEndpoint.privateLinkId())
                .providerName("GCP")
                .endpointServiceId(defaultNetwork.name())
                .gcpProjectId(var_.gcp_project())
                .dynamic(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                .build(), CustomResourceOptions.builder()
                    .dependsOn(defaultForwardingRule)
                    .build());
    
        }
    }
    
    Coming soon!
    

    Available complete examples

    • Setup private connection to a MongoDB Atlas Cluster with AWS VPC

    Create PrivateLinkEndpointService Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PrivateLinkEndpointService(name: string, args: PrivateLinkEndpointServiceArgs, opts?: CustomResourceOptions);
    @overload
    def PrivateLinkEndpointService(resource_name: str,
                                   args: PrivateLinkEndpointServiceArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def PrivateLinkEndpointService(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   endpoint_service_id: Optional[str] = None,
                                   private_link_id: Optional[str] = None,
                                   project_id: Optional[str] = None,
                                   provider_name: Optional[str] = None,
                                   endpoints: Optional[Sequence[PrivateLinkEndpointServiceEndpointArgs]] = None,
                                   gcp_project_id: Optional[str] = None,
                                   private_endpoint_ip_address: Optional[str] = None)
    func NewPrivateLinkEndpointService(ctx *Context, name string, args PrivateLinkEndpointServiceArgs, opts ...ResourceOption) (*PrivateLinkEndpointService, error)
    public PrivateLinkEndpointService(string name, PrivateLinkEndpointServiceArgs args, CustomResourceOptions? opts = null)
    public PrivateLinkEndpointService(String name, PrivateLinkEndpointServiceArgs args)
    public PrivateLinkEndpointService(String name, PrivateLinkEndpointServiceArgs args, CustomResourceOptions options)
    
    type: mongodbatlas:PrivateLinkEndpointService
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args PrivateLinkEndpointServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PrivateLinkEndpointServiceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PrivateLinkEndpointServiceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PrivateLinkEndpointServiceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PrivateLinkEndpointServiceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var privateLinkEndpointServiceResource = new Mongodbatlas.PrivateLinkEndpointService("privateLinkEndpointServiceResource", new()
    {
        EndpointServiceId = "string",
        PrivateLinkId = "string",
        ProjectId = "string",
        ProviderName = "string",
        Endpoints = new[]
        {
            new Mongodbatlas.Inputs.PrivateLinkEndpointServiceEndpointArgs
            {
                EndpointName = "string",
                IpAddress = "string",
                ServiceAttachmentName = "string",
                Status = "string",
            },
        },
        GcpProjectId = "string",
        PrivateEndpointIpAddress = "string",
    });
    
    example, err := mongodbatlas.NewPrivateLinkEndpointService(ctx, "privateLinkEndpointServiceResource", &mongodbatlas.PrivateLinkEndpointServiceArgs{
    	EndpointServiceId: pulumi.String("string"),
    	PrivateLinkId:     pulumi.String("string"),
    	ProjectId:         pulumi.String("string"),
    	ProviderName:      pulumi.String("string"),
    	Endpoints: mongodbatlas.PrivateLinkEndpointServiceEndpointArray{
    		&mongodbatlas.PrivateLinkEndpointServiceEndpointArgs{
    			EndpointName:          pulumi.String("string"),
    			IpAddress:             pulumi.String("string"),
    			ServiceAttachmentName: pulumi.String("string"),
    			Status:                pulumi.String("string"),
    		},
    	},
    	GcpProjectId:             pulumi.String("string"),
    	PrivateEndpointIpAddress: pulumi.String("string"),
    })
    
    var privateLinkEndpointServiceResource = new PrivateLinkEndpointService("privateLinkEndpointServiceResource", PrivateLinkEndpointServiceArgs.builder()        
        .endpointServiceId("string")
        .privateLinkId("string")
        .projectId("string")
        .providerName("string")
        .endpoints(PrivateLinkEndpointServiceEndpointArgs.builder()
            .endpointName("string")
            .ipAddress("string")
            .serviceAttachmentName("string")
            .status("string")
            .build())
        .gcpProjectId("string")
        .privateEndpointIpAddress("string")
        .build());
    
    private_link_endpoint_service_resource = mongodbatlas.PrivateLinkEndpointService("privateLinkEndpointServiceResource",
        endpoint_service_id="string",
        private_link_id="string",
        project_id="string",
        provider_name="string",
        endpoints=[mongodbatlas.PrivateLinkEndpointServiceEndpointArgs(
            endpoint_name="string",
            ip_address="string",
            service_attachment_name="string",
            status="string",
        )],
        gcp_project_id="string",
        private_endpoint_ip_address="string")
    
    const privateLinkEndpointServiceResource = new mongodbatlas.PrivateLinkEndpointService("privateLinkEndpointServiceResource", {
        endpointServiceId: "string",
        privateLinkId: "string",
        projectId: "string",
        providerName: "string",
        endpoints: [{
            endpointName: "string",
            ipAddress: "string",
            serviceAttachmentName: "string",
            status: "string",
        }],
        gcpProjectId: "string",
        privateEndpointIpAddress: "string",
    });
    
    type: mongodbatlas:PrivateLinkEndpointService
    properties:
        endpointServiceId: string
        endpoints:
            - endpointName: string
              ipAddress: string
              serviceAttachmentName: string
              status: string
        gcpProjectId: string
        privateEndpointIpAddress: string
        privateLinkId: string
        projectId: string
        providerName: string
    

    PrivateLinkEndpointService Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The PrivateLinkEndpointService resource accepts the following input properties:

    EndpointServiceId string
    Unique identifier of the interface endpoint you created in your VPC with the AWS, AZURE or GCP resource.
    PrivateLinkId string
    Unique identifier of the AWS or AZURE PrivateLink connection which is created by mongodbatlas.PrivateLinkEndpoint resource.
    ProjectId string
    Unique identifier for the project.
    ProviderName string
    Cloud provider for which you want to create a private endpoint. Atlas accepts AWS, AZURE or GCP.
    Endpoints List<PrivateLinkEndpointServiceEndpoint>
    Collection of individual private endpoints that comprise your endpoint group. Only for GCP. See below.
    GcpProjectId string
    Unique identifier of the GCP project in which you created your endpoints. Only for GCP.
    PrivateEndpointIpAddress string
    Private IP address of the private endpoint network interface you created in your Azure VNet. Only for AZURE.
    EndpointServiceId string
    Unique identifier of the interface endpoint you created in your VPC with the AWS, AZURE or GCP resource.
    PrivateLinkId string
    Unique identifier of the AWS or AZURE PrivateLink connection which is created by mongodbatlas.PrivateLinkEndpoint resource.
    ProjectId string
    Unique identifier for the project.
    ProviderName string
    Cloud provider for which you want to create a private endpoint. Atlas accepts AWS, AZURE or GCP.
    Endpoints []PrivateLinkEndpointServiceEndpointArgs
    Collection of individual private endpoints that comprise your endpoint group. Only for GCP. See below.
    GcpProjectId string
    Unique identifier of the GCP project in which you created your endpoints. Only for GCP.
    PrivateEndpointIpAddress string
    Private IP address of the private endpoint network interface you created in your Azure VNet. Only for AZURE.
    endpointServiceId String
    Unique identifier of the interface endpoint you created in your VPC with the AWS, AZURE or GCP resource.
    privateLinkId String
    Unique identifier of the AWS or AZURE PrivateLink connection which is created by mongodbatlas.PrivateLinkEndpoint resource.
    projectId String
    Unique identifier for the project.
    providerName String
    Cloud provider for which you want to create a private endpoint. Atlas accepts AWS, AZURE or GCP.
    endpoints List<PrivateLinkEndpointServiceEndpoint>
    Collection of individual private endpoints that comprise your endpoint group. Only for GCP. See below.
    gcpProjectId String
    Unique identifier of the GCP project in which you created your endpoints. Only for GCP.
    privateEndpointIpAddress String
    Private IP address of the private endpoint network interface you created in your Azure VNet. Only for AZURE.
    endpointServiceId string
    Unique identifier of the interface endpoint you created in your VPC with the AWS, AZURE or GCP resource.
    privateLinkId string
    Unique identifier of the AWS or AZURE PrivateLink connection which is created by mongodbatlas.PrivateLinkEndpoint resource.
    projectId string
    Unique identifier for the project.
    providerName string
    Cloud provider for which you want to create a private endpoint. Atlas accepts AWS, AZURE or GCP.
    endpoints PrivateLinkEndpointServiceEndpoint[]
    Collection of individual private endpoints that comprise your endpoint group. Only for GCP. See below.
    gcpProjectId string
    Unique identifier of the GCP project in which you created your endpoints. Only for GCP.
    privateEndpointIpAddress string
    Private IP address of the private endpoint network interface you created in your Azure VNet. Only for AZURE.
    endpoint_service_id str
    Unique identifier of the interface endpoint you created in your VPC with the AWS, AZURE or GCP resource.
    private_link_id str
    Unique identifier of the AWS or AZURE PrivateLink connection which is created by mongodbatlas.PrivateLinkEndpoint resource.
    project_id str
    Unique identifier for the project.
    provider_name str
    Cloud provider for which you want to create a private endpoint. Atlas accepts AWS, AZURE or GCP.
    endpoints Sequence[PrivateLinkEndpointServiceEndpointArgs]
    Collection of individual private endpoints that comprise your endpoint group. Only for GCP. See below.
    gcp_project_id str
    Unique identifier of the GCP project in which you created your endpoints. Only for GCP.
    private_endpoint_ip_address str
    Private IP address of the private endpoint network interface you created in your Azure VNet. Only for AZURE.
    endpointServiceId String
    Unique identifier of the interface endpoint you created in your VPC with the AWS, AZURE or GCP resource.
    privateLinkId String
    Unique identifier of the AWS or AZURE PrivateLink connection which is created by mongodbatlas.PrivateLinkEndpoint resource.
    projectId String
    Unique identifier for the project.
    providerName String
    Cloud provider for which you want to create a private endpoint. Atlas accepts AWS, AZURE or GCP.
    endpoints List<Property Map>
    Collection of individual private endpoints that comprise your endpoint group. Only for GCP. See below.
    gcpProjectId String
    Unique identifier of the GCP project in which you created your endpoints. Only for GCP.
    privateEndpointIpAddress String
    Private IP address of the private endpoint network interface you created in your Azure VNet. Only for AZURE.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PrivateLinkEndpointService resource produces the following output properties:

    AwsConnectionStatus string
    Status of the interface endpoint for AWS. Returns one of the following values:
    AzureStatus string
    Status of the interface endpoint for AZURE. Returns one of the following values:
    DeleteRequested bool
    Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
    EndpointGroupName string
    (Optional) Unique identifier of the endpoint group. The endpoint group encompasses all of the endpoints that you created in GCP.
    ErrorMessage string
    Error message pertaining to the interface endpoint. Returns null if there are no errors.
    GcpStatus string
    Status of the interface endpoint for GCP. Returns one of the following values:
    Id string
    The provider-assigned unique ID for this managed resource.
    InterfaceEndpointId string
    Unique identifier of the interface endpoint.
    PrivateEndpointConnectionName string
    Name of the connection for this private endpoint that Atlas generates.
    PrivateEndpointResourceId string
    Unique identifier of the private endpoint.
    AwsConnectionStatus string
    Status of the interface endpoint for AWS. Returns one of the following values:
    AzureStatus string
    Status of the interface endpoint for AZURE. Returns one of the following values:
    DeleteRequested bool
    Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
    EndpointGroupName string
    (Optional) Unique identifier of the endpoint group. The endpoint group encompasses all of the endpoints that you created in GCP.
    ErrorMessage string
    Error message pertaining to the interface endpoint. Returns null if there are no errors.
    GcpStatus string
    Status of the interface endpoint for GCP. Returns one of the following values:
    Id string
    The provider-assigned unique ID for this managed resource.
    InterfaceEndpointId string
    Unique identifier of the interface endpoint.
    PrivateEndpointConnectionName string
    Name of the connection for this private endpoint that Atlas generates.
    PrivateEndpointResourceId string
    Unique identifier of the private endpoint.
    awsConnectionStatus String
    Status of the interface endpoint for AWS. Returns one of the following values:
    azureStatus String
    Status of the interface endpoint for AZURE. Returns one of the following values:
    deleteRequested Boolean
    Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
    endpointGroupName String
    (Optional) Unique identifier of the endpoint group. The endpoint group encompasses all of the endpoints that you created in GCP.
    errorMessage String
    Error message pertaining to the interface endpoint. Returns null if there are no errors.
    gcpStatus String
    Status of the interface endpoint for GCP. Returns one of the following values:
    id String
    The provider-assigned unique ID for this managed resource.
    interfaceEndpointId String
    Unique identifier of the interface endpoint.
    privateEndpointConnectionName String
    Name of the connection for this private endpoint that Atlas generates.
    privateEndpointResourceId String
    Unique identifier of the private endpoint.
    awsConnectionStatus string
    Status of the interface endpoint for AWS. Returns one of the following values:
    azureStatus string
    Status of the interface endpoint for AZURE. Returns one of the following values:
    deleteRequested boolean
    Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
    endpointGroupName string
    (Optional) Unique identifier of the endpoint group. The endpoint group encompasses all of the endpoints that you created in GCP.
    errorMessage string
    Error message pertaining to the interface endpoint. Returns null if there are no errors.
    gcpStatus string
    Status of the interface endpoint for GCP. Returns one of the following values:
    id string
    The provider-assigned unique ID for this managed resource.
    interfaceEndpointId string
    Unique identifier of the interface endpoint.
    privateEndpointConnectionName string
    Name of the connection for this private endpoint that Atlas generates.
    privateEndpointResourceId string
    Unique identifier of the private endpoint.
    aws_connection_status str
    Status of the interface endpoint for AWS. Returns one of the following values:
    azure_status str
    Status of the interface endpoint for AZURE. Returns one of the following values:
    delete_requested bool
    Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
    endpoint_group_name str
    (Optional) Unique identifier of the endpoint group. The endpoint group encompasses all of the endpoints that you created in GCP.
    error_message str
    Error message pertaining to the interface endpoint. Returns null if there are no errors.
    gcp_status str
    Status of the interface endpoint for GCP. Returns one of the following values:
    id str
    The provider-assigned unique ID for this managed resource.
    interface_endpoint_id str
    Unique identifier of the interface endpoint.
    private_endpoint_connection_name str
    Name of the connection for this private endpoint that Atlas generates.
    private_endpoint_resource_id str
    Unique identifier of the private endpoint.
    awsConnectionStatus String
    Status of the interface endpoint for AWS. Returns one of the following values:
    azureStatus String
    Status of the interface endpoint for AZURE. Returns one of the following values:
    deleteRequested Boolean
    Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
    endpointGroupName String
    (Optional) Unique identifier of the endpoint group. The endpoint group encompasses all of the endpoints that you created in GCP.
    errorMessage String
    Error message pertaining to the interface endpoint. Returns null if there are no errors.
    gcpStatus String
    Status of the interface endpoint for GCP. Returns one of the following values:
    id String
    The provider-assigned unique ID for this managed resource.
    interfaceEndpointId String
    Unique identifier of the interface endpoint.
    privateEndpointConnectionName String
    Name of the connection for this private endpoint that Atlas generates.
    privateEndpointResourceId String
    Unique identifier of the private endpoint.

    Look up Existing PrivateLinkEndpointService Resource

    Get an existing PrivateLinkEndpointService resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PrivateLinkEndpointServiceState, opts?: CustomResourceOptions): PrivateLinkEndpointService
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            aws_connection_status: Optional[str] = None,
            azure_status: Optional[str] = None,
            delete_requested: Optional[bool] = None,
            endpoint_group_name: Optional[str] = None,
            endpoint_service_id: Optional[str] = None,
            endpoints: Optional[Sequence[PrivateLinkEndpointServiceEndpointArgs]] = None,
            error_message: Optional[str] = None,
            gcp_project_id: Optional[str] = None,
            gcp_status: Optional[str] = None,
            interface_endpoint_id: Optional[str] = None,
            private_endpoint_connection_name: Optional[str] = None,
            private_endpoint_ip_address: Optional[str] = None,
            private_endpoint_resource_id: Optional[str] = None,
            private_link_id: Optional[str] = None,
            project_id: Optional[str] = None,
            provider_name: Optional[str] = None) -> PrivateLinkEndpointService
    func GetPrivateLinkEndpointService(ctx *Context, name string, id IDInput, state *PrivateLinkEndpointServiceState, opts ...ResourceOption) (*PrivateLinkEndpointService, error)
    public static PrivateLinkEndpointService Get(string name, Input<string> id, PrivateLinkEndpointServiceState? state, CustomResourceOptions? opts = null)
    public static PrivateLinkEndpointService get(String name, Output<String> id, PrivateLinkEndpointServiceState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AwsConnectionStatus string
    Status of the interface endpoint for AWS. Returns one of the following values:
    AzureStatus string
    Status of the interface endpoint for AZURE. Returns one of the following values:
    DeleteRequested bool
    Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
    EndpointGroupName string
    (Optional) Unique identifier of the endpoint group. The endpoint group encompasses all of the endpoints that you created in GCP.
    EndpointServiceId string
    Unique identifier of the interface endpoint you created in your VPC with the AWS, AZURE or GCP resource.
    Endpoints List<PrivateLinkEndpointServiceEndpoint>
    Collection of individual private endpoints that comprise your endpoint group. Only for GCP. See below.
    ErrorMessage string
    Error message pertaining to the interface endpoint. Returns null if there are no errors.
    GcpProjectId string
    Unique identifier of the GCP project in which you created your endpoints. Only for GCP.
    GcpStatus string
    Status of the interface endpoint for GCP. Returns one of the following values:
    InterfaceEndpointId string
    Unique identifier of the interface endpoint.
    PrivateEndpointConnectionName string
    Name of the connection for this private endpoint that Atlas generates.
    PrivateEndpointIpAddress string
    Private IP address of the private endpoint network interface you created in your Azure VNet. Only for AZURE.
    PrivateEndpointResourceId string
    Unique identifier of the private endpoint.
    PrivateLinkId string
    Unique identifier of the AWS or AZURE PrivateLink connection which is created by mongodbatlas.PrivateLinkEndpoint resource.
    ProjectId string
    Unique identifier for the project.
    ProviderName string
    Cloud provider for which you want to create a private endpoint. Atlas accepts AWS, AZURE or GCP.
    AwsConnectionStatus string
    Status of the interface endpoint for AWS. Returns one of the following values:
    AzureStatus string
    Status of the interface endpoint for AZURE. Returns one of the following values:
    DeleteRequested bool
    Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
    EndpointGroupName string
    (Optional) Unique identifier of the endpoint group. The endpoint group encompasses all of the endpoints that you created in GCP.
    EndpointServiceId string
    Unique identifier of the interface endpoint you created in your VPC with the AWS, AZURE or GCP resource.
    Endpoints []PrivateLinkEndpointServiceEndpointArgs
    Collection of individual private endpoints that comprise your endpoint group. Only for GCP. See below.
    ErrorMessage string
    Error message pertaining to the interface endpoint. Returns null if there are no errors.
    GcpProjectId string
    Unique identifier of the GCP project in which you created your endpoints. Only for GCP.
    GcpStatus string
    Status of the interface endpoint for GCP. Returns one of the following values:
    InterfaceEndpointId string
    Unique identifier of the interface endpoint.
    PrivateEndpointConnectionName string
    Name of the connection for this private endpoint that Atlas generates.
    PrivateEndpointIpAddress string
    Private IP address of the private endpoint network interface you created in your Azure VNet. Only for AZURE.
    PrivateEndpointResourceId string
    Unique identifier of the private endpoint.
    PrivateLinkId string
    Unique identifier of the AWS or AZURE PrivateLink connection which is created by mongodbatlas.PrivateLinkEndpoint resource.
    ProjectId string
    Unique identifier for the project.
    ProviderName string
    Cloud provider for which you want to create a private endpoint. Atlas accepts AWS, AZURE or GCP.
    awsConnectionStatus String
    Status of the interface endpoint for AWS. Returns one of the following values:
    azureStatus String
    Status of the interface endpoint for AZURE. Returns one of the following values:
    deleteRequested Boolean
    Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
    endpointGroupName String
    (Optional) Unique identifier of the endpoint group. The endpoint group encompasses all of the endpoints that you created in GCP.
    endpointServiceId String
    Unique identifier of the interface endpoint you created in your VPC with the AWS, AZURE or GCP resource.
    endpoints List<PrivateLinkEndpointServiceEndpoint>
    Collection of individual private endpoints that comprise your endpoint group. Only for GCP. See below.
    errorMessage String
    Error message pertaining to the interface endpoint. Returns null if there are no errors.
    gcpProjectId String
    Unique identifier of the GCP project in which you created your endpoints. Only for GCP.
    gcpStatus String
    Status of the interface endpoint for GCP. Returns one of the following values:
    interfaceEndpointId String
    Unique identifier of the interface endpoint.
    privateEndpointConnectionName String
    Name of the connection for this private endpoint that Atlas generates.
    privateEndpointIpAddress String
    Private IP address of the private endpoint network interface you created in your Azure VNet. Only for AZURE.
    privateEndpointResourceId String
    Unique identifier of the private endpoint.
    privateLinkId String
    Unique identifier of the AWS or AZURE PrivateLink connection which is created by mongodbatlas.PrivateLinkEndpoint resource.
    projectId String
    Unique identifier for the project.
    providerName String
    Cloud provider for which you want to create a private endpoint. Atlas accepts AWS, AZURE or GCP.
    awsConnectionStatus string
    Status of the interface endpoint for AWS. Returns one of the following values:
    azureStatus string
    Status of the interface endpoint for AZURE. Returns one of the following values:
    deleteRequested boolean
    Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
    endpointGroupName string
    (Optional) Unique identifier of the endpoint group. The endpoint group encompasses all of the endpoints that you created in GCP.
    endpointServiceId string
    Unique identifier of the interface endpoint you created in your VPC with the AWS, AZURE or GCP resource.
    endpoints PrivateLinkEndpointServiceEndpoint[]
    Collection of individual private endpoints that comprise your endpoint group. Only for GCP. See below.
    errorMessage string
    Error message pertaining to the interface endpoint. Returns null if there are no errors.
    gcpProjectId string
    Unique identifier of the GCP project in which you created your endpoints. Only for GCP.
    gcpStatus string
    Status of the interface endpoint for GCP. Returns one of the following values:
    interfaceEndpointId string
    Unique identifier of the interface endpoint.
    privateEndpointConnectionName string
    Name of the connection for this private endpoint that Atlas generates.
    privateEndpointIpAddress string
    Private IP address of the private endpoint network interface you created in your Azure VNet. Only for AZURE.
    privateEndpointResourceId string
    Unique identifier of the private endpoint.
    privateLinkId string
    Unique identifier of the AWS or AZURE PrivateLink connection which is created by mongodbatlas.PrivateLinkEndpoint resource.
    projectId string
    Unique identifier for the project.
    providerName string
    Cloud provider for which you want to create a private endpoint. Atlas accepts AWS, AZURE or GCP.
    aws_connection_status str
    Status of the interface endpoint for AWS. Returns one of the following values:
    azure_status str
    Status of the interface endpoint for AZURE. Returns one of the following values:
    delete_requested bool
    Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
    endpoint_group_name str
    (Optional) Unique identifier of the endpoint group. The endpoint group encompasses all of the endpoints that you created in GCP.
    endpoint_service_id str
    Unique identifier of the interface endpoint you created in your VPC with the AWS, AZURE or GCP resource.
    endpoints Sequence[PrivateLinkEndpointServiceEndpointArgs]
    Collection of individual private endpoints that comprise your endpoint group. Only for GCP. See below.
    error_message str
    Error message pertaining to the interface endpoint. Returns null if there are no errors.
    gcp_project_id str
    Unique identifier of the GCP project in which you created your endpoints. Only for GCP.
    gcp_status str
    Status of the interface endpoint for GCP. Returns one of the following values:
    interface_endpoint_id str
    Unique identifier of the interface endpoint.
    private_endpoint_connection_name str
    Name of the connection for this private endpoint that Atlas generates.
    private_endpoint_ip_address str
    Private IP address of the private endpoint network interface you created in your Azure VNet. Only for AZURE.
    private_endpoint_resource_id str
    Unique identifier of the private endpoint.
    private_link_id str
    Unique identifier of the AWS or AZURE PrivateLink connection which is created by mongodbatlas.PrivateLinkEndpoint resource.
    project_id str
    Unique identifier for the project.
    provider_name str
    Cloud provider for which you want to create a private endpoint. Atlas accepts AWS, AZURE or GCP.
    awsConnectionStatus String
    Status of the interface endpoint for AWS. Returns one of the following values:
    azureStatus String
    Status of the interface endpoint for AZURE. Returns one of the following values:
    deleteRequested Boolean
    Indicates if Atlas received a request to remove the interface endpoint from the private endpoint connection.
    endpointGroupName String
    (Optional) Unique identifier of the endpoint group. The endpoint group encompasses all of the endpoints that you created in GCP.
    endpointServiceId String
    Unique identifier of the interface endpoint you created in your VPC with the AWS, AZURE or GCP resource.
    endpoints List<Property Map>
    Collection of individual private endpoints that comprise your endpoint group. Only for GCP. See below.
    errorMessage String
    Error message pertaining to the interface endpoint. Returns null if there are no errors.
    gcpProjectId String
    Unique identifier of the GCP project in which you created your endpoints. Only for GCP.
    gcpStatus String
    Status of the interface endpoint for GCP. Returns one of the following values:
    interfaceEndpointId String
    Unique identifier of the interface endpoint.
    privateEndpointConnectionName String
    Name of the connection for this private endpoint that Atlas generates.
    privateEndpointIpAddress String
    Private IP address of the private endpoint network interface you created in your Azure VNet. Only for AZURE.
    privateEndpointResourceId String
    Unique identifier of the private endpoint.
    privateLinkId String
    Unique identifier of the AWS or AZURE PrivateLink connection which is created by mongodbatlas.PrivateLinkEndpoint resource.
    projectId String
    Unique identifier for the project.
    providerName String
    Cloud provider for which you want to create a private endpoint. Atlas accepts AWS, AZURE or GCP.

    Supporting Types

    PrivateLinkEndpointServiceEndpoint, PrivateLinkEndpointServiceEndpointArgs

    EndpointName string
    Forwarding rule that corresponds to the endpoint you created in GCP.
    IpAddress string
    Private IP address of the endpoint you created in GCP.
    ServiceAttachmentName string
    Unique alphanumeric and special character strings that identify the service attachment associated with the endpoint.
    Status string
    Status of the endpoint. Atlas returns one of the values shown above.
    EndpointName string
    Forwarding rule that corresponds to the endpoint you created in GCP.
    IpAddress string
    Private IP address of the endpoint you created in GCP.
    ServiceAttachmentName string
    Unique alphanumeric and special character strings that identify the service attachment associated with the endpoint.
    Status string
    Status of the endpoint. Atlas returns one of the values shown above.
    endpointName String
    Forwarding rule that corresponds to the endpoint you created in GCP.
    ipAddress String
    Private IP address of the endpoint you created in GCP.
    serviceAttachmentName String
    Unique alphanumeric and special character strings that identify the service attachment associated with the endpoint.
    status String
    Status of the endpoint. Atlas returns one of the values shown above.
    endpointName string
    Forwarding rule that corresponds to the endpoint you created in GCP.
    ipAddress string
    Private IP address of the endpoint you created in GCP.
    serviceAttachmentName string
    Unique alphanumeric and special character strings that identify the service attachment associated with the endpoint.
    status string
    Status of the endpoint. Atlas returns one of the values shown above.
    endpoint_name str
    Forwarding rule that corresponds to the endpoint you created in GCP.
    ip_address str
    Private IP address of the endpoint you created in GCP.
    service_attachment_name str
    Unique alphanumeric and special character strings that identify the service attachment associated with the endpoint.
    status str
    Status of the endpoint. Atlas returns one of the values shown above.
    endpointName String
    Forwarding rule that corresponds to the endpoint you created in GCP.
    ipAddress String
    Private IP address of the endpoint you created in GCP.
    serviceAttachmentName String
    Unique alphanumeric and special character strings that identify the service attachment associated with the endpoint.
    status String
    Status of the endpoint. Atlas returns one of the values shown above.

    Import

    Private Endpoint Link Connection can be imported using project ID and username, in the format {project_id}--{private_link_id}--{endpoint_service_id}--{provider_name}, e.g.

    $ pulumi import mongodbatlas:index/privateLinkEndpointService:PrivateLinkEndpointService test 1112222b3bf99403840e8934--3242342343112--vpce-4242342343--AWS
    

    See detailed information for arguments and attributes: MongoDB API Private Endpoint Link Connection

    To learn more about importing existing cloud resources, see Importing resources.

    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