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.getOrgLogIntegrations describes all log integrations configured 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.getOrgLogIntegrations({
orgId: exampleMongodbatlasOrgLogIntegration.orgId,
});
export const orgLogIntegrationIds = example.then(example => .map(r => (r.integrationId)));
import pulumi
import pulumi_mongodbatlas as mongodbatlas
example = mongodbatlas.get_org_log_integrations(org_id=example_mongodbatlas_org_log_integration["orgId"])
pulumi.export("orgLogIntegrationIds", [r.integration_id for r in example.results])
Example coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() =>
{
var example = Mongodbatlas.GetOrgLogIntegrations.Invoke(new()
{
OrgId = exampleMongodbatlasOrgLogIntegration.OrgId,
});
return new Dictionary<string, object?>
{
["orgLogIntegrationIds"] = .Select(r =>
{
return r.IntegrationId;
}).ToList(),
};
});
Example coming soon!
Example coming soon!
terraform {
required_providers {
mongodbatlas = {
source = "pulumi/mongodbatlas"
}
}
}
data "mongodbatlas_org_log_integrations" "example" {
org_id = exampleMongodbatlasOrgLogIntegration.orgId
}
output "orgLogIntegrationIds" {
value = [for r in data.mongodbatlas_org_log_integrations.example.results : r.integrationId]
}
Using getOrgLogIntegrations
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 getOrgLogIntegrations(args: GetOrgLogIntegrationsArgs, opts?: InvokeOptions): Promise<GetOrgLogIntegrationsResult>
function getOrgLogIntegrationsOutput(args: GetOrgLogIntegrationsOutputArgs, opts?: InvokeOutputOptions): Output<GetOrgLogIntegrationsResult>def get_org_log_integrations(org_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOrgLogIntegrationsResult
def get_org_log_integrations_output(org_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetOrgLogIntegrationsResult]func LookupOrgLogIntegrations(ctx *Context, args *LookupOrgLogIntegrationsArgs, opts ...InvokeOption) (*LookupOrgLogIntegrationsResult, error)
func LookupOrgLogIntegrationsOutput(ctx *Context, args *LookupOrgLogIntegrationsOutputArgs, opts ...InvokeOption) LookupOrgLogIntegrationsResultOutput> Note: This function is named LookupOrgLogIntegrations in the Go SDK.
public static class GetOrgLogIntegrations
{
public static Task<GetOrgLogIntegrationsResult> InvokeAsync(GetOrgLogIntegrationsArgs args, InvokeOptions? opts = null)
public static Output<GetOrgLogIntegrationsResult> Invoke(GetOrgLogIntegrationsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetOrgLogIntegrationsResult> Invoke(GetOrgLogIntegrationsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetOrgLogIntegrationsResult> getOrgLogIntegrations(GetOrgLogIntegrationsArgs args, InvokeOptions options)
public static Output<GetOrgLogIntegrationsResult> getOrgLogIntegrations(GetOrgLogIntegrationsArgs args, InvokeOptions options)
public static Output<GetOrgLogIntegrationsResult> getOrgLogIntegrations(GetOrgLogIntegrationsArgs args, InvokeOutputOptions options)
fn::invoke:
function: mongodbatlas:index/getOrgLogIntegrations:getOrgLogIntegrations
arguments:
# arguments dictionarydata "mongodbatlas_get_org_log_integrations" "name" {
# arguments
}The following arguments are supported:
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- org_
id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- org_
id str - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
getOrgLogIntegrations Result
The following output properties are available:
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Results
List<Get
Org Log Integrations Result> - List of returned documents that MongoDB Cloud provides when completing this request.
- Org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- Results
[]Get
Org Log Integrations Result - List of returned documents that MongoDB Cloud provides when completing this request.
- org_
id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- results list(object)
- List of returned documents that MongoDB Cloud provides when completing this request.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- results
List<Get
Org Log Integrations Result> - List of returned documents that MongoDB Cloud provides when completing this request.
- org
Id string - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- results
Get
Org Log Integrations Result[] - List of returned documents that MongoDB Cloud provides when completing this request.
- org_
id str - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- results
Sequence[Get
Org Log Integrations Result] - List of returned documents that MongoDB Cloud provides when completing this request.
- org
Id String - Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
- results List<Property Map>
- List of returned documents that MongoDB Cloud provides when completing this request.
Supporting Types
GetOrgLogIntegrationsResult
- Integration
Id string - Unique 24-character hexadecimal digit string that identifies the log integration configuration.
- Log
Types List<string> - Array of log types exported by this integration.
- 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 24-character hexadecimal digit string that identifies the log integration configuration.
- Log
Types []string - Array of log types exported by this integration.
- 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 24-character hexadecimal digit string that identifies the log integration configuration.
- log_
types list(string) - Array of log types exported by this integration.
- 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 24-character hexadecimal digit string that identifies the log integration configuration.
- log
Types List<String> - Array of log types exported by this integration.
- 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 24-character hexadecimal digit string that identifies the log integration configuration.
- log
Types string[] - Array of log types exported by this integration.
- 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 24-character hexadecimal digit string that identifies the log integration configuration.
- log_
types Sequence[str] - Array of log types exported by this integration.
- 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 24-character hexadecimal digit string that identifies the log integration configuration.
- log
Types List<String> - Array of log types exported by this integration.
- 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