Viewing docs for MongoDB Atlas v4.17.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
Viewing docs for MongoDB Atlas v4.17.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
mongodbatlas.OrgLogIntegration describes the configuration of a log integration at the organization level. Currently, OpenTelemetry is the only supported integration type.
To use this data source, the requesting Service Account or API Key must have the Organization Owner role.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const example = mongodbatlas.getOrgLogIntegration({
orgId: exampleMongodbatlasOrgLogIntegration.orgId,
integrationId: exampleMongodbatlasOrgLogIntegration.integrationId,
});
export const orgLogIntegrationType = example.then(example => example.type);
import pulumi
import pulumi_mongodbatlas as mongodbatlas
example = mongodbatlas.get_org_log_integration(org_id=example_mongodbatlas_org_log_integration["orgId"],
integration_id=example_mongodbatlas_org_log_integration["integrationId"])
pulumi.export("orgLogIntegrationType", example.type)
package main
import (
"github.com/pulumi/pulumi-mongodbatlas/sdk/v4/go/mongodbatlas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := mongodbatlas.GetOrgLogIntegration(ctx, &mongodbatlas.LookupOrgLogIntegrationArgs{
OrgId: exampleMongodbatlasOrgLogIntegration.OrgId,
IntegrationId: exampleMongodbatlasOrgLogIntegration.IntegrationId,
}, nil)
if err != nil {
return err
}
ctx.Export("orgLogIntegrationType", example.Type)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() =>
{
var example = Mongodbatlas.GetOrgLogIntegration.Invoke(new()
{
OrgId = exampleMongodbatlasOrgLogIntegration.OrgId,
IntegrationId = exampleMongodbatlasOrgLogIntegration.IntegrationId,
});
return new Dictionary<string, object?>
{
["orgLogIntegrationType"] = example.Apply(getOrgLogIntegrationResult => getOrgLogIntegrationResult.Type),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.MongodbatlasFunctions;
import com.pulumi.mongodbatlas.inputs.GetOrgLogIntegrationArgs;
import java.util.ArrayList;
import java.util.Arrays;
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) {
final var example = MongodbatlasFunctions.getOrgLogIntegration(GetOrgLogIntegrationArgs.builder()
.orgId(exampleMongodbatlasOrgLogIntegration.get("orgId"))
.integrationId(exampleMongodbatlasOrgLogIntegration.get("integrationId"))
.build());
ctx.export("orgLogIntegrationType", example.type());
}
}
variables:
example:
fn::invoke:
function: mongodbatlas:getOrgLogIntegration
arguments:
orgId: ${exampleMongodbatlasOrgLogIntegration.orgId}
integrationId: ${exampleMongodbatlasOrgLogIntegration.integrationId}
outputs:
orgLogIntegrationType: ${example.type}
terraform {
required_providers {
mongodbatlas = {
source = "pulumi/mongodbatlas"
}
}
}
data "mongodbatlas_org_log_integration" "example" {
org_id = exampleMongodbatlasOrgLogIntegration.orgId
integration_id = exampleMongodbatlasOrgLogIntegration.integrationId
}
output "orgLogIntegrationType" {
value = data.mongodbatlas_org_log_integration.example.type
}
Using getOrgLogIntegration
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 getOrgLogIntegration(args: GetOrgLogIntegrationArgs, opts?: InvokeOptions): Promise<GetOrgLogIntegrationResult>
function getOrgLogIntegrationOutput(args: GetOrgLogIntegrationOutputArgs, opts?: InvokeOutputOptions): Output<GetOrgLogIntegrationResult>def get_org_log_integration(integration_id: Optional[str] = None,
org_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOrgLogIntegrationResult
def get_org_log_integration_output(integration_id: pulumi.Input[Optional[str]] = None,
org_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetOrgLogIntegrationResult]func LookupOrgLogIntegration(ctx *Context, args *LookupOrgLogIntegrationArgs, opts ...InvokeOption) (*LookupOrgLogIntegrationResult, error)
func LookupOrgLogIntegrationOutput(ctx *Context, args *LookupOrgLogIntegrationOutputArgs, opts ...InvokeOption) LookupOrgLogIntegrationResultOutput> Note: This function is named LookupOrgLogIntegration in the Go SDK.
public static class GetOrgLogIntegration
{
public static Task<GetOrgLogIntegrationResult> InvokeAsync(GetOrgLogIntegrationArgs args, InvokeOptions? opts = null)
public static Output<GetOrgLogIntegrationResult> Invoke(GetOrgLogIntegrationInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetOrgLogIntegrationResult> Invoke(GetOrgLogIntegrationInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetOrgLogIntegrationResult> getOrgLogIntegration(GetOrgLogIntegrationArgs args, InvokeOptions options)
public static Output<GetOrgLogIntegrationResult> getOrgLogIntegration(GetOrgLogIntegrationArgs args, InvokeOptions options)
public static Output<GetOrgLogIntegrationResult> getOrgLogIntegration(GetOrgLogIntegrationArgs args, InvokeOutputOptions options)
fn::invoke:
function: mongodbatlas:index/getOrgLogIntegration:getOrgLogIntegration
arguments:
# arguments dictionarydata "mongodbatlas_get_org_log_integration" "name" {
# arguments
}The following arguments are supported:
- Integration
Id string - Unique identifier of the log integration configuration.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Integration
Id string - Unique identifier of the log integration configuration.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- integration_
id string - Unique identifier of the log integration configuration.
- org_
id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- integration
Id String - Unique identifier of the log integration configuration.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- integration
Id string - Unique identifier of the log integration configuration.
- org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- integration_
id str - Unique identifier of the log integration configuration.
- org_
id str - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- integration
Id String - Unique identifier of the log integration configuration.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
getOrgLogIntegration Result
The following output properties are available:
- Integration
Id string - Unique identifier of the log integration configuration.
- Log
Types List<string> - Array of log types exported by this integration.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Otel
Endpoint string - OpenTelemetry collector endpoint URL.
- Type string
- Human-readable label that identifies the service to which you want to integrate with Atlas. The value must match the log integration type. This value cannot be modified after the integration is created.
- Integration
Id string - Unique identifier of the log integration configuration.
- Log
Types []string - Array of log types exported by this integration.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Otel
Endpoint string - OpenTelemetry collector endpoint URL.
- Type string
- Human-readable label that identifies the service to which you want to integrate with Atlas. The value must match the log integration type. This value cannot be modified after the integration is created.
- integration_
id string - Unique identifier of the log integration configuration.
- log_
types list(string) - Array of log types exported by this integration.
- org_
id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- otel_
endpoint string - OpenTelemetry collector endpoint URL.
- type string
- Human-readable label that identifies the service to which you want to integrate with Atlas. The value must match the log integration type. This value cannot be modified after the integration is created.
- integration
Id String - Unique identifier of the log integration configuration.
- log
Types List<String> - Array of log types exported by this integration.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- otel
Endpoint String - OpenTelemetry collector endpoint URL.
- type String
- Human-readable label that identifies the service to which you want to integrate with Atlas. The value must match the log integration type. This value cannot be modified after the integration is created.
- integration
Id string - Unique identifier of the log integration configuration.
- log
Types string[] - Array of log types exported by this integration.
- org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- otel
Endpoint string - OpenTelemetry collector endpoint URL.
- type string
- Human-readable label that identifies the service to which you want to integrate with Atlas. The value must match the log integration type. This value cannot be modified after the integration is created.
- integration_
id str - Unique identifier of the log integration configuration.
- log_
types Sequence[str] - Array of log types exported by this integration.
- org_
id str - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- otel_
endpoint str - OpenTelemetry collector endpoint URL.
- type str
- Human-readable label that identifies the service to which you want to integrate with Atlas. The value must match the log integration type. This value cannot be modified after the integration is created.
- integration
Id String - Unique identifier of the log integration configuration.
- log
Types List<String> - Array of log types exported by this integration.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- otel
Endpoint String - OpenTelemetry collector endpoint URL.
- type String
- Human-readable label that identifies the service to which you want to integrate with Atlas. The value must match the log integration type. This value cannot be modified after the integration is created.
Package Details
- Repository
- MongoDB Atlas pulumi/pulumi-mongodbatlas
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
mongodbatlasTerraform Provider.
Viewing docs for MongoDB Atlas v4.17.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi