Viewing docs for MongoDB Atlas v4.5.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Viewing docs for MongoDB Atlas v4.5.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
mongodbatlas.ThirdPartyIntegration describes a Third-Party Integration Settings for the given type.
NOTE: Groups and projects are synonymous terms. You may find
groupIdin the official documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mongodbatlas from "@pulumi/mongodbatlas";
const testDatadog = new mongodbatlas.ThirdPartyIntegration("test_datadog", {
projectId: "<PROJECT-ID>",
type: "DATADOG",
apiKey: "<API-KEY>",
region: "<REGION>",
});
const test = mongodbatlas.getThirdPartyIntegrationOutput({
projectId: testDatadog.projectId,
type: "DATADOG",
});
import pulumi
import pulumi_mongodbatlas as mongodbatlas
test_datadog = mongodbatlas.ThirdPartyIntegration("test_datadog",
project_id="<PROJECT-ID>",
type="DATADOG",
api_key="<API-KEY>",
region="<REGION>")
test = mongodbatlas.get_third_party_integration_output(project_id=test_datadog.project_id,
type="DATADOG")
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 {
testDatadog, err := mongodbatlas.NewThirdPartyIntegration(ctx, "test_datadog", &mongodbatlas.ThirdPartyIntegrationArgs{
ProjectId: pulumi.String("<PROJECT-ID>"),
Type: pulumi.String("DATADOG"),
ApiKey: pulumi.String("<API-KEY>"),
Region: pulumi.String("<REGION>"),
})
if err != nil {
return err
}
_ = mongodbatlas.LookupThirdPartyIntegrationOutput(ctx, mongodbatlas.GetThirdPartyIntegrationOutputArgs{
ProjectId: testDatadog.ProjectId,
Type: pulumi.String("DATADOG"),
}, nil)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mongodbatlas = Pulumi.Mongodbatlas;
return await Deployment.RunAsync(() =>
{
var testDatadog = new Mongodbatlas.ThirdPartyIntegration("test_datadog", new()
{
ProjectId = "<PROJECT-ID>",
Type = "DATADOG",
ApiKey = "<API-KEY>",
Region = "<REGION>",
});
var test = Mongodbatlas.GetThirdPartyIntegration.Invoke(new()
{
ProjectId = testDatadog.ProjectId,
Type = "DATADOG",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mongodbatlas.ThirdPartyIntegration;
import com.pulumi.mongodbatlas.ThirdPartyIntegrationArgs;
import com.pulumi.mongodbatlas.MongodbatlasFunctions;
import com.pulumi.mongodbatlas.inputs.GetThirdPartyIntegrationArgs;
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 testDatadog = new ThirdPartyIntegration("testDatadog", ThirdPartyIntegrationArgs.builder()
.projectId("<PROJECT-ID>")
.type("DATADOG")
.apiKey("<API-KEY>")
.region("<REGION>")
.build());
final var test = MongodbatlasFunctions.getThirdPartyIntegration(GetThirdPartyIntegrationArgs.builder()
.projectId(testDatadog.projectId())
.type("DATADOG")
.build());
}
}
resources:
testDatadog:
type: mongodbatlas:ThirdPartyIntegration
name: test_datadog
properties:
projectId: <PROJECT-ID>
type: DATADOG
apiKey: <API-KEY>
region: <REGION>
variables:
test:
fn::invoke:
function: mongodbatlas:getThirdPartyIntegration
arguments:
projectId: ${testDatadog.projectId}
type: DATADOG
Using getThirdPartyIntegration
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 getThirdPartyIntegration(args: GetThirdPartyIntegrationArgs, opts?: InvokeOptions): Promise<GetThirdPartyIntegrationResult>
function getThirdPartyIntegrationOutput(args: GetThirdPartyIntegrationOutputArgs, opts?: InvokeOptions): Output<GetThirdPartyIntegrationResult>def get_third_party_integration(project_id: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetThirdPartyIntegrationResult
def get_third_party_integration_output(project_id: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetThirdPartyIntegrationResult]func LookupThirdPartyIntegration(ctx *Context, args *LookupThirdPartyIntegrationArgs, opts ...InvokeOption) (*LookupThirdPartyIntegrationResult, error)
func LookupThirdPartyIntegrationOutput(ctx *Context, args *LookupThirdPartyIntegrationOutputArgs, opts ...InvokeOption) LookupThirdPartyIntegrationResultOutput> Note: This function is named LookupThirdPartyIntegration in the Go SDK.
public static class GetThirdPartyIntegration
{
public static Task<GetThirdPartyIntegrationResult> InvokeAsync(GetThirdPartyIntegrationArgs args, InvokeOptions? opts = null)
public static Output<GetThirdPartyIntegrationResult> Invoke(GetThirdPartyIntegrationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetThirdPartyIntegrationResult> getThirdPartyIntegration(GetThirdPartyIntegrationArgs args, InvokeOptions options)
public static Output<GetThirdPartyIntegrationResult> getThirdPartyIntegration(GetThirdPartyIntegrationArgs args, InvokeOptions options)
fn::invoke:
function: mongodbatlas:index/getThirdPartyIntegration:getThirdPartyIntegration
arguments:
# arguments dictionaryThe following arguments are supported:
- project_
id str - The unique ID for the project to get all Third-Party service integrations
- type str
- Third-Party service integration type
- PAGER_DUTY
- DATADOG
- OPS_GENIE
- VICTOR_OPS
- WEBHOOK
- MICROSOFT_TEAMS
- PROMETHEUS
getThirdPartyIntegration Result
The following output properties are available:
- Account
Id string - Api
Key string - Your API Key.
- Channel
Name string - Enabled bool
- Whether your cluster has Prometheus enabled.
- Id string
- Unique identifier of the integration.
- Microsoft
Teams stringWebhook Url - Your Microsoft Teams incoming webhook URL.
PROMETHEUS
- Project
Id string - Region string
- Two-letter code that indicates which API URL to use. See the
regionresponse field of MongoDB API Third-Party Service Integration documentation for more details. Opsgenie will use US by default.VICTOR_OPS
- Routing
Key string - An optional field for your Routing Key.
WEBHOOK
- Secret string
- An optional field for your webhook secret.
MICROSOFT_TEAMS
- Send
Collection boolLatency Metrics - Toggle sending collection latency metrics that includes database names and collection names and latency metrics on reads, writes, commands, and transactions.
- Send
Database boolMetrics - Toggle sending database metrics that includes database names and metrics on the number of collections, storage size, and index size.
- Send
Query boolStats Metrics - Toggle sending query shape metrics that includes query hash and metrics on latency, execution frequency, documents returned, and timestamps.
OPS_GENIE
- bool
- Toggle sending user provided group and cluster resource tags with the Datadog metrics.
- Service
Discovery string - Indicates which service discovery method is used, either file or http.
- Service
Key string - Your Service Key.
DATADOG
- Team
Name string - Type string
- Url string
- Your webhook URL.
- User
Name string - Your Prometheus username.
- Account
Id string - Api
Key string - Your API Key.
- Channel
Name string - Enabled bool
- Whether your cluster has Prometheus enabled.
- Id string
- Unique identifier of the integration.
- Microsoft
Teams stringWebhook Url - Your Microsoft Teams incoming webhook URL.
PROMETHEUS
- Project
Id string - Region string
- Two-letter code that indicates which API URL to use. See the
regionresponse field of MongoDB API Third-Party Service Integration documentation for more details. Opsgenie will use US by default.VICTOR_OPS
- Routing
Key string - An optional field for your Routing Key.
WEBHOOK
- Secret string
- An optional field for your webhook secret.
MICROSOFT_TEAMS
- Send
Collection boolLatency Metrics - Toggle sending collection latency metrics that includes database names and collection names and latency metrics on reads, writes, commands, and transactions.
- Send
Database boolMetrics - Toggle sending database metrics that includes database names and metrics on the number of collections, storage size, and index size.
- Send
Query boolStats Metrics - Toggle sending query shape metrics that includes query hash and metrics on latency, execution frequency, documents returned, and timestamps.
OPS_GENIE
- bool
- Toggle sending user provided group and cluster resource tags with the Datadog metrics.
- Service
Discovery string - Indicates which service discovery method is used, either file or http.
- Service
Key string - Your Service Key.
DATADOG
- Team
Name string - Type string
- Url string
- Your webhook URL.
- User
Name string - Your Prometheus username.
- account
Id String - api
Key String - Your API Key.
- channel
Name String - enabled Boolean
- Whether your cluster has Prometheus enabled.
- id String
- Unique identifier of the integration.
- microsoft
Teams StringWebhook Url - Your Microsoft Teams incoming webhook URL.
PROMETHEUS
- project
Id String - region String
- Two-letter code that indicates which API URL to use. See the
regionresponse field of MongoDB API Third-Party Service Integration documentation for more details. Opsgenie will use US by default.VICTOR_OPS
- routing
Key String - An optional field for your Routing Key.
WEBHOOK
- secret String
- An optional field for your webhook secret.
MICROSOFT_TEAMS
- send
Collection BooleanLatency Metrics - Toggle sending collection latency metrics that includes database names and collection names and latency metrics on reads, writes, commands, and transactions.
- send
Database BooleanMetrics - Toggle sending database metrics that includes database names and metrics on the number of collections, storage size, and index size.
- send
Query BooleanStats Metrics - Toggle sending query shape metrics that includes query hash and metrics on latency, execution frequency, documents returned, and timestamps.
OPS_GENIE
- Boolean
- Toggle sending user provided group and cluster resource tags with the Datadog metrics.
- service
Discovery String - Indicates which service discovery method is used, either file or http.
- service
Key String - Your Service Key.
DATADOG
- team
Name String - type String
- url String
- Your webhook URL.
- user
Name String - Your Prometheus username.
- account
Id string - api
Key string - Your API Key.
- channel
Name string - enabled boolean
- Whether your cluster has Prometheus enabled.
- id string
- Unique identifier of the integration.
- microsoft
Teams stringWebhook Url - Your Microsoft Teams incoming webhook URL.
PROMETHEUS
- project
Id string - region string
- Two-letter code that indicates which API URL to use. See the
regionresponse field of MongoDB API Third-Party Service Integration documentation for more details. Opsgenie will use US by default.VICTOR_OPS
- routing
Key string - An optional field for your Routing Key.
WEBHOOK
- secret string
- An optional field for your webhook secret.
MICROSOFT_TEAMS
- send
Collection booleanLatency Metrics - Toggle sending collection latency metrics that includes database names and collection names and latency metrics on reads, writes, commands, and transactions.
- send
Database booleanMetrics - Toggle sending database metrics that includes database names and metrics on the number of collections, storage size, and index size.
- send
Query booleanStats Metrics - Toggle sending query shape metrics that includes query hash and metrics on latency, execution frequency, documents returned, and timestamps.
OPS_GENIE
- boolean
- Toggle sending user provided group and cluster resource tags with the Datadog metrics.
- service
Discovery string - Indicates which service discovery method is used, either file or http.
- service
Key string - Your Service Key.
DATADOG
- team
Name string - type string
- url string
- Your webhook URL.
- user
Name string - Your Prometheus username.
- account_
id str - api_
key str - Your API Key.
- channel_
name str - enabled bool
- Whether your cluster has Prometheus enabled.
- id str
- Unique identifier of the integration.
- microsoft_
teams_ strwebhook_ url - Your Microsoft Teams incoming webhook URL.
PROMETHEUS
- project_
id str - region str
- Two-letter code that indicates which API URL to use. See the
regionresponse field of MongoDB API Third-Party Service Integration documentation for more details. Opsgenie will use US by default.VICTOR_OPS
- routing_
key str - An optional field for your Routing Key.
WEBHOOK
- secret str
- An optional field for your webhook secret.
MICROSOFT_TEAMS
- send_
collection_ boollatency_ metrics - Toggle sending collection latency metrics that includes database names and collection names and latency metrics on reads, writes, commands, and transactions.
- send_
database_ boolmetrics - Toggle sending database metrics that includes database names and metrics on the number of collections, storage size, and index size.
- send_
query_ boolstats_ metrics - Toggle sending query shape metrics that includes query hash and metrics on latency, execution frequency, documents returned, and timestamps.
OPS_GENIE
- bool
- Toggle sending user provided group and cluster resource tags with the Datadog metrics.
- service_
discovery str - Indicates which service discovery method is used, either file or http.
- service_
key str - Your Service Key.
DATADOG
- team_
name str - type str
- url str
- Your webhook URL.
- user_
name str - Your Prometheus username.
- account
Id String - api
Key String - Your API Key.
- channel
Name String - enabled Boolean
- Whether your cluster has Prometheus enabled.
- id String
- Unique identifier of the integration.
- microsoft
Teams StringWebhook Url - Your Microsoft Teams incoming webhook URL.
PROMETHEUS
- project
Id String - region String
- Two-letter code that indicates which API URL to use. See the
regionresponse field of MongoDB API Third-Party Service Integration documentation for more details. Opsgenie will use US by default.VICTOR_OPS
- routing
Key String - An optional field for your Routing Key.
WEBHOOK
- secret String
- An optional field for your webhook secret.
MICROSOFT_TEAMS
- send
Collection BooleanLatency Metrics - Toggle sending collection latency metrics that includes database names and collection names and latency metrics on reads, writes, commands, and transactions.
- send
Database BooleanMetrics - Toggle sending database metrics that includes database names and metrics on the number of collections, storage size, and index size.
- send
Query BooleanStats Metrics - Toggle sending query shape metrics that includes query hash and metrics on latency, execution frequency, documents returned, and timestamps.
OPS_GENIE
- Boolean
- Toggle sending user provided group and cluster resource tags with the Datadog metrics.
- service
Discovery String - Indicates which service discovery method is used, either file or http.
- service
Key String - Your Service Key.
DATADOG
- team
Name String - type String
- url String
- Your webhook URL.
- user
Name String - Your Prometheus username.
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.5.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
