1. Packages
  2. Mongodbatlas Provider
  3. API Docs
  4. getPrivatelinkEndpointServiceDataFederationOnlineArchives
MongoDB Atlas v3.20.4 published on Wednesday, Oct 30, 2024 by Pulumi

mongodbatlas.getPrivatelinkEndpointServiceDataFederationOnlineArchives

Explore with Pulumi AI

mongodbatlas logo
MongoDB Atlas v3.20.4 published on Wednesday, Oct 30, 2024 by Pulumi

    # Data Source: mongodbatlas.getPrivatelinkEndpointServiceDataFederationOnlineArchives

    mongodbatlas.getPrivatelinkEndpointServiceDataFederationOnlineArchives describes Private Endpoint Service resources for Data Federation and Online Archive.

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as mongodbatlas from "@pulumi/mongodbatlas";
    
    const atlas_project = new mongodbatlas.Project("atlas-project", {
        orgId: atlasOrgId,
        name: atlasProjectName,
    });
    const test = new mongodbatlas.PrivatelinkEndpointServiceDataFederationOnlineArchive("test", {
        projectId: atlas_project.id,
        endpointId: "vpce-046cf43c79424d4c9",
        providerName: "AWS",
        comment: "Test",
        region: "US_EAST_1",
        customerEndpointDnsName: "vpce-046cf43c79424d4c9-nmls2y9k.vpce-svc-0824460b72e1a420e.us-east-1.vpce.amazonaws.com",
    });
    const testDataSource = mongodbatlas.getPrivatelinkEndpointServiceDataFederationOnlineArchivesOutput({
        projectId: atlas_project.id,
    });
    
    import pulumi
    import pulumi_mongodbatlas as mongodbatlas
    
    atlas_project = mongodbatlas.Project("atlas-project",
        org_id=atlas_org_id,
        name=atlas_project_name)
    test = mongodbatlas.PrivatelinkEndpointServiceDataFederationOnlineArchive("test",
        project_id=atlas_project.id,
        endpoint_id="vpce-046cf43c79424d4c9",
        provider_name="AWS",
        comment="Test",
        region="US_EAST_1",
        customer_endpoint_dns_name="vpce-046cf43c79424d4c9-nmls2y9k.vpce-svc-0824460b72e1a420e.us-east-1.vpce.amazonaws.com")
    test_data_source = mongodbatlas.get_privatelink_endpoint_service_data_federation_online_archives_output(project_id=atlas_project.id)
    
    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 {
    		_, err := mongodbatlas.NewProject(ctx, "atlas-project", &mongodbatlas.ProjectArgs{
    			OrgId: pulumi.Any(atlasOrgId),
    			Name:  pulumi.Any(atlasProjectName),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = mongodbatlas.NewPrivatelinkEndpointServiceDataFederationOnlineArchive(ctx, "test", &mongodbatlas.PrivatelinkEndpointServiceDataFederationOnlineArchiveArgs{
    			ProjectId:               atlas_project.ID(),
    			EndpointId:              pulumi.String("vpce-046cf43c79424d4c9"),
    			ProviderName:            pulumi.String("AWS"),
    			Comment:                 pulumi.String("Test"),
    			Region:                  pulumi.String("US_EAST_1"),
    			CustomerEndpointDnsName: pulumi.String("vpce-046cf43c79424d4c9-nmls2y9k.vpce-svc-0824460b72e1a420e.us-east-1.vpce.amazonaws.com"),
    		})
    		if err != nil {
    			return err
    		}
    		_ = mongodbatlas.LookupPrivatelinkEndpointServiceDataFederationOnlineArchivesOutput(ctx, mongodbatlas.GetPrivatelinkEndpointServiceDataFederationOnlineArchivesOutputArgs{
    			ProjectId: atlas_project.ID(),
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Mongodbatlas = Pulumi.Mongodbatlas;
    
    return await Deployment.RunAsync(() => 
    {
        var atlas_project = new Mongodbatlas.Project("atlas-project", new()
        {
            OrgId = atlasOrgId,
            Name = atlasProjectName,
        });
    
        var test = new Mongodbatlas.PrivatelinkEndpointServiceDataFederationOnlineArchive("test", new()
        {
            ProjectId = atlas_project.Id,
            EndpointId = "vpce-046cf43c79424d4c9",
            ProviderName = "AWS",
            Comment = "Test",
            Region = "US_EAST_1",
            CustomerEndpointDnsName = "vpce-046cf43c79424d4c9-nmls2y9k.vpce-svc-0824460b72e1a420e.us-east-1.vpce.amazonaws.com",
        });
    
        var testDataSource = Mongodbatlas.GetPrivatelinkEndpointServiceDataFederationOnlineArchives.Invoke(new()
        {
            ProjectId = atlas_project.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mongodbatlas.Project;
    import com.pulumi.mongodbatlas.ProjectArgs;
    import com.pulumi.mongodbatlas.PrivatelinkEndpointServiceDataFederationOnlineArchive;
    import com.pulumi.mongodbatlas.PrivatelinkEndpointServiceDataFederationOnlineArchiveArgs;
    import com.pulumi.mongodbatlas.MongodbatlasFunctions;
    import com.pulumi.mongodbatlas.inputs.GetPrivatelinkEndpointServiceDataFederationOnlineArchivesArgs;
    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 atlas_project = new Project("atlas-project", ProjectArgs.builder()
                .orgId(atlasOrgId)
                .name(atlasProjectName)
                .build());
    
            var test = new PrivatelinkEndpointServiceDataFederationOnlineArchive("test", PrivatelinkEndpointServiceDataFederationOnlineArchiveArgs.builder()
                .projectId(atlas_project.id())
                .endpointId("vpce-046cf43c79424d4c9")
                .providerName("AWS")
                .comment("Test")
                .region("US_EAST_1")
                .customerEndpointDnsName("vpce-046cf43c79424d4c9-nmls2y9k.vpce-svc-0824460b72e1a420e.us-east-1.vpce.amazonaws.com")
                .build());
    
            final var testDataSource = MongodbatlasFunctions.getPrivatelinkEndpointServiceDataFederationOnlineArchives(GetPrivatelinkEndpointServiceDataFederationOnlineArchivesArgs.builder()
                .projectId(atlas_project.id())
                .build());
    
        }
    }
    
    resources:
      atlas-project:
        type: mongodbatlas:Project
        properties:
          orgId: ${atlasOrgId}
          name: ${atlasProjectName}
      test:
        type: mongodbatlas:PrivatelinkEndpointServiceDataFederationOnlineArchive
        properties:
          projectId: ${["atlas-project"].id}
          endpointId: vpce-046cf43c79424d4c9
          providerName: AWS
          comment: Test
          region: US_EAST_1
          customerEndpointDnsName: vpce-046cf43c79424d4c9-nmls2y9k.vpce-svc-0824460b72e1a420e.us-east-1.vpce.amazonaws.com
    variables:
      testDataSource:
        fn::invoke:
          Function: mongodbatlas:getPrivatelinkEndpointServiceDataFederationOnlineArchives
          Arguments:
            projectId: ${["atlas-project"].id}
    

    Using getPrivatelinkEndpointServiceDataFederationOnlineArchives

    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 getPrivatelinkEndpointServiceDataFederationOnlineArchives(args: GetPrivatelinkEndpointServiceDataFederationOnlineArchivesArgs, opts?: InvokeOptions): Promise<GetPrivatelinkEndpointServiceDataFederationOnlineArchivesResult>
    function getPrivatelinkEndpointServiceDataFederationOnlineArchivesOutput(args: GetPrivatelinkEndpointServiceDataFederationOnlineArchivesOutputArgs, opts?: InvokeOptions): Output<GetPrivatelinkEndpointServiceDataFederationOnlineArchivesResult>
    def get_privatelink_endpoint_service_data_federation_online_archives(project_id: Optional[str] = None,
                                                                         opts: Optional[InvokeOptions] = None) -> GetPrivatelinkEndpointServiceDataFederationOnlineArchivesResult
    def get_privatelink_endpoint_service_data_federation_online_archives_output(project_id: Optional[pulumi.Input[str]] = None,
                                                                         opts: Optional[InvokeOptions] = None) -> Output[GetPrivatelinkEndpointServiceDataFederationOnlineArchivesResult]
    func LookupPrivatelinkEndpointServiceDataFederationOnlineArchives(ctx *Context, args *LookupPrivatelinkEndpointServiceDataFederationOnlineArchivesArgs, opts ...InvokeOption) (*LookupPrivatelinkEndpointServiceDataFederationOnlineArchivesResult, error)
    func LookupPrivatelinkEndpointServiceDataFederationOnlineArchivesOutput(ctx *Context, args *LookupPrivatelinkEndpointServiceDataFederationOnlineArchivesOutputArgs, opts ...InvokeOption) LookupPrivatelinkEndpointServiceDataFederationOnlineArchivesResultOutput

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

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

    The following arguments are supported:

    ProjectId string
    Unique 24-hexadecimal digit string that identifies your project.
    ProjectId string
    Unique 24-hexadecimal digit string that identifies your project.
    projectId String
    Unique 24-hexadecimal digit string that identifies your project.
    projectId string
    Unique 24-hexadecimal digit string that identifies your project.
    project_id str
    Unique 24-hexadecimal digit string that identifies your project.
    projectId String
    Unique 24-hexadecimal digit string that identifies your project.

    getPrivatelinkEndpointServiceDataFederationOnlineArchives Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    Results List<GetPrivatelinkEndpointServiceDataFederationOnlineArchivesResult>
    A list where each represents a Private Endpoint Service
    Id string
    The provider-assigned unique ID for this managed resource.
    ProjectId string
    Results []GetPrivatelinkEndpointServiceDataFederationOnlineArchivesResult
    A list where each represents a Private Endpoint Service
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    results List<GetPrivatelinkEndpointServiceDataFederationOnlineArchivesResult>
    A list where each represents a Private Endpoint Service
    id string
    The provider-assigned unique ID for this managed resource.
    projectId string
    results GetPrivatelinkEndpointServiceDataFederationOnlineArchivesResult[]
    A list where each represents a Private Endpoint Service
    id str
    The provider-assigned unique ID for this managed resource.
    project_id str
    results Sequence[GetPrivatelinkEndpointServiceDataFederationOnlineArchivesResult]
    A list where each represents a Private Endpoint Service
    id String
    The provider-assigned unique ID for this managed resource.
    projectId String
    results List<Property Map>
    A list where each represents a Private Endpoint Service

    Supporting Types

    GetPrivatelinkEndpointServiceDataFederationOnlineArchivesResult

    Comment string
    Human-readable string to associate with this private endpoint.
    CustomerEndpointDnsName string
    (Optional) Human-readable label to identify VPC endpoint DNS name.
    EndpointId string
    Unique 22-character alphanumeric string that identifies the private endpoint. See Atlas Data Lake supports Amazon Web Services private endpoints using the AWS PrivateLink feature.
    ProviderName string
    Human-readable label that identifies the cloud service provider.
    Region string
    Human-readable label to identify the region of VPC endpoint. Requires the Atlas region name, see the reference list for AWS, GCP, Azure.
    Type string
    Human-readable label that identifies the resource type associated with this private endpoint.
    Comment string
    Human-readable string to associate with this private endpoint.
    CustomerEndpointDnsName string
    (Optional) Human-readable label to identify VPC endpoint DNS name.
    EndpointId string
    Unique 22-character alphanumeric string that identifies the private endpoint. See Atlas Data Lake supports Amazon Web Services private endpoints using the AWS PrivateLink feature.
    ProviderName string
    Human-readable label that identifies the cloud service provider.
    Region string
    Human-readable label to identify the region of VPC endpoint. Requires the Atlas region name, see the reference list for AWS, GCP, Azure.
    Type string
    Human-readable label that identifies the resource type associated with this private endpoint.
    comment String
    Human-readable string to associate with this private endpoint.
    customerEndpointDnsName String
    (Optional) Human-readable label to identify VPC endpoint DNS name.
    endpointId String
    Unique 22-character alphanumeric string that identifies the private endpoint. See Atlas Data Lake supports Amazon Web Services private endpoints using the AWS PrivateLink feature.
    providerName String
    Human-readable label that identifies the cloud service provider.
    region String
    Human-readable label to identify the region of VPC endpoint. Requires the Atlas region name, see the reference list for AWS, GCP, Azure.
    type String
    Human-readable label that identifies the resource type associated with this private endpoint.
    comment string
    Human-readable string to associate with this private endpoint.
    customerEndpointDnsName string
    (Optional) Human-readable label to identify VPC endpoint DNS name.
    endpointId string
    Unique 22-character alphanumeric string that identifies the private endpoint. See Atlas Data Lake supports Amazon Web Services private endpoints using the AWS PrivateLink feature.
    providerName string
    Human-readable label that identifies the cloud service provider.
    region string
    Human-readable label to identify the region of VPC endpoint. Requires the Atlas region name, see the reference list for AWS, GCP, Azure.
    type string
    Human-readable label that identifies the resource type associated with this private endpoint.
    comment str
    Human-readable string to associate with this private endpoint.
    customer_endpoint_dns_name str
    (Optional) Human-readable label to identify VPC endpoint DNS name.
    endpoint_id str
    Unique 22-character alphanumeric string that identifies the private endpoint. See Atlas Data Lake supports Amazon Web Services private endpoints using the AWS PrivateLink feature.
    provider_name str
    Human-readable label that identifies the cloud service provider.
    region str
    Human-readable label to identify the region of VPC endpoint. Requires the Atlas region name, see the reference list for AWS, GCP, Azure.
    type str
    Human-readable label that identifies the resource type associated with this private endpoint.
    comment String
    Human-readable string to associate with this private endpoint.
    customerEndpointDnsName String
    (Optional) Human-readable label to identify VPC endpoint DNS name.
    endpointId String
    Unique 22-character alphanumeric string that identifies the private endpoint. See Atlas Data Lake supports Amazon Web Services private endpoints using the AWS PrivateLink feature.
    providerName String
    Human-readable label that identifies the cloud service provider.
    region String
    Human-readable label to identify the region of VPC endpoint. Requires the Atlas region name, see the reference list for AWS, GCP, Azure.
    type String
    Human-readable label that identifies the resource type associated with this private endpoint.

    Package Details

    Repository
    MongoDB Atlas pulumi/pulumi-mongodbatlas
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the mongodbatlas Terraform Provider.
    mongodbatlas logo
    MongoDB Atlas v3.20.4 published on Wednesday, Oct 30, 2024 by Pulumi