mongodbatlas.getThirdPartyIntegration
Explore with Pulumi AI
mongodbatlas.ThirdPartyIntegration
describe a Third-Party Integration Settings for the given type.
NOTE: Groups and projects are synonymous terms. You may find
groupId
in the official documentation.
Example Usage
Coming soon!
Coming soon!
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 testFlowdock = new ThirdPartyIntegration("testFlowdock", ThirdPartyIntegrationArgs.builder()
.projectId("<PROJECT-ID>")
.type("FLOWDOCK")
.flowName("<FLOW-NAME>")
.apiToken("<API-TOKEN>")
.orgName("<ORG-NAME>")
.build());
final var test = MongodbatlasFunctions.getThirdPartyIntegration(GetThirdPartyIntegrationArgs.builder()
.projectId(testFlowdock.projectId())
.build());
}
}
Coming soon!
Coming soon!
resources:
testFlowdock:
type: mongodbatlas:ThirdPartyIntegration
properties:
projectId: <PROJECT-ID>
type: FLOWDOCK
flowName: <FLOW-NAME>
apiToken: <API-TOKEN>
orgName: <ORG-NAME>
variables:
test:
fn::invoke:
Function: mongodbatlas:getThirdPartyIntegration
Arguments:
projectId: ${testFlowdock.projectId}
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(enabled: Optional[bool] = None,
microsoft_teams_webhook_url: Optional[str] = None,
project_id: Optional[str] = None,
scheme: Optional[str] = None,
service_discovery: Optional[str] = None,
type: Optional[str] = None,
user_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetThirdPartyIntegrationResult
def get_third_party_integration_output(enabled: Optional[pulumi.Input[bool]] = None,
microsoft_teams_webhook_url: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
scheme: Optional[pulumi.Input[str]] = None,
service_discovery: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
user_name: 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mongodbatlas:index/getThirdPartyIntegration:getThirdPartyIntegration
arguments:
# arguments dictionary
The following arguments are supported:
- Project
Id string The unique ID for the project to get all Third-Party service integrations
- Type string
Third-Party service integration type
- PAGER_DUTY
- DATADOG
- NEW_RELIC*
- OPS_GENIE
- VICTOR_OPS
- FLOWDOCK*
- WEBHOOK
- MICROSOFT_TEAMS
- PROMETHEUS
*resource is now deprecated and will be removed in the next major version, 1.9.0 Note: Field types NEW_RELIC, FLOWDOCK have now been fully deprecated as part of v1.10.0 release
- Enabled bool
Whether your cluster has Prometheus enabled.
- Microsoft
Teams stringWebhook Url Your Microsoft Teams incoming webhook URL.
- Scheme string
Your Prometheus protocol scheme configured for requests.
- Service
Discovery string Indicates which service discovery method is used, either file or http.
- User
Name string Your Prometheus username.
- Project
Id string The unique ID for the project to get all Third-Party service integrations
- Type string
Third-Party service integration type
- PAGER_DUTY
- DATADOG
- NEW_RELIC*
- OPS_GENIE
- VICTOR_OPS
- FLOWDOCK*
- WEBHOOK
- MICROSOFT_TEAMS
- PROMETHEUS
*resource is now deprecated and will be removed in the next major version, 1.9.0 Note: Field types NEW_RELIC, FLOWDOCK have now been fully deprecated as part of v1.10.0 release
- Enabled bool
Whether your cluster has Prometheus enabled.
- Microsoft
Teams stringWebhook Url Your Microsoft Teams incoming webhook URL.
- Scheme string
Your Prometheus protocol scheme configured for requests.
- Service
Discovery string Indicates which service discovery method is used, either file or http.
- User
Name string Your Prometheus username.
- project
Id String The unique ID for the project to get all Third-Party service integrations
- type String
Third-Party service integration type
- PAGER_DUTY
- DATADOG
- NEW_RELIC*
- OPS_GENIE
- VICTOR_OPS
- FLOWDOCK*
- WEBHOOK
- MICROSOFT_TEAMS
- PROMETHEUS
*resource is now deprecated and will be removed in the next major version, 1.9.0 Note: Field types NEW_RELIC, FLOWDOCK have now been fully deprecated as part of v1.10.0 release
- enabled Boolean
Whether your cluster has Prometheus enabled.
- microsoft
Teams StringWebhook Url Your Microsoft Teams incoming webhook URL.
- scheme String
Your Prometheus protocol scheme configured for requests.
- service
Discovery String Indicates which service discovery method is used, either file or http.
- user
Name String Your Prometheus username.
- project
Id string The unique ID for the project to get all Third-Party service integrations
- type string
Third-Party service integration type
- PAGER_DUTY
- DATADOG
- NEW_RELIC*
- OPS_GENIE
- VICTOR_OPS
- FLOWDOCK*
- WEBHOOK
- MICROSOFT_TEAMS
- PROMETHEUS
*resource is now deprecated and will be removed in the next major version, 1.9.0 Note: Field types NEW_RELIC, FLOWDOCK have now been fully deprecated as part of v1.10.0 release
- enabled boolean
Whether your cluster has Prometheus enabled.
- microsoft
Teams stringWebhook Url Your Microsoft Teams incoming webhook URL.
- scheme string
Your Prometheus protocol scheme configured for requests.
- service
Discovery string Indicates which service discovery method is used, either file or http.
- user
Name string Your Prometheus username.
- 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
- NEW_RELIC*
- OPS_GENIE
- VICTOR_OPS
- FLOWDOCK*
- WEBHOOK
- MICROSOFT_TEAMS
- PROMETHEUS
*resource is now deprecated and will be removed in the next major version, 1.9.0 Note: Field types NEW_RELIC, FLOWDOCK have now been fully deprecated as part of v1.10.0 release
- enabled bool
Whether your cluster has Prometheus enabled.
- microsoft_
teams_ strwebhook_ url Your Microsoft Teams incoming webhook URL.
- scheme str
Your Prometheus protocol scheme configured for requests.
- service_
discovery str Indicates which service discovery method is used, either file or http.
- user_
name str Your Prometheus username.
- project
Id String The unique ID for the project to get all Third-Party service integrations
- type String
Third-Party service integration type
- PAGER_DUTY
- DATADOG
- NEW_RELIC*
- OPS_GENIE
- VICTOR_OPS
- FLOWDOCK*
- WEBHOOK
- MICROSOFT_TEAMS
- PROMETHEUS
*resource is now deprecated and will be removed in the next major version, 1.9.0 Note: Field types NEW_RELIC, FLOWDOCK have now been fully deprecated as part of v1.10.0 release
- enabled Boolean
Whether your cluster has Prometheus enabled.
- microsoft
Teams StringWebhook Url Your Microsoft Teams incoming webhook URL.
- scheme String
Your Prometheus protocol scheme configured for requests.
- service
Discovery String Indicates which service discovery method is used, either file or http.
- user
Name String Your Prometheus username.
getThirdPartyIntegration Result
The following output properties are available:
- Account
Id string Unique identifier of your New Relic account.
- Api
Key string Your API Key.
- Api
Token string Your API Token.
- Channel
Name string - Id string
The provider-assigned unique ID for this managed resource.
- License
Key string Your License Key.
- Project
Id string - Region string
Indicates which API URL to use, either US or EU. Opsgenie will use US by default.
- Routing
Key string An optional field for your Routing Key.
- Secret string
An optional field for your webhook secret.
- Service
Key string Your Service Key.
- Team
Name string - Type string
Property equal to its own integration type
- Url string
Your webhook URL.
- Enabled bool
Whether your cluster has Prometheus enabled.
- Microsoft
Teams stringWebhook Url Your Microsoft Teams incoming webhook URL.
- Scheme string
Your Prometheus protocol scheme configured for requests.
- Service
Discovery string Indicates which service discovery method is used, either file or http.
- User
Name string Your Prometheus username.
- Account
Id string Unique identifier of your New Relic account.
- Api
Key string Your API Key.
- Api
Token string Your API Token.
- Channel
Name string - Id string
The provider-assigned unique ID for this managed resource.
- License
Key string Your License Key.
- Project
Id string - Region string
Indicates which API URL to use, either US or EU. Opsgenie will use US by default.
- Routing
Key string An optional field for your Routing Key.
- Secret string
An optional field for your webhook secret.
- Service
Key string Your Service Key.
- Team
Name string - Type string
Property equal to its own integration type
- Url string
Your webhook URL.
- Enabled bool
Whether your cluster has Prometheus enabled.
- Microsoft
Teams stringWebhook Url Your Microsoft Teams incoming webhook URL.
- Scheme string
Your Prometheus protocol scheme configured for requests.
- Service
Discovery string Indicates which service discovery method is used, either file or http.
- User
Name string Your Prometheus username.
- account
Id String Unique identifier of your New Relic account.
- api
Key String Your API Key.
- api
Token String Your API Token.
- channel
Name String - id String
The provider-assigned unique ID for this managed resource.
- license
Key String Your License Key.
- project
Id String - region String
Indicates which API URL to use, either US or EU. Opsgenie will use US by default.
- routing
Key String An optional field for your Routing Key.
- secret String
An optional field for your webhook secret.
- service
Key String Your Service Key.
- team
Name String - type String
Property equal to its own integration type
- url String
Your webhook URL.
- enabled Boolean
Whether your cluster has Prometheus enabled.
- microsoft
Teams StringWebhook Url Your Microsoft Teams incoming webhook URL.
- scheme String
Your Prometheus protocol scheme configured for requests.
- service
Discovery String Indicates which service discovery method is used, either file or http.
- user
Name String Your Prometheus username.
- account
Id string Unique identifier of your New Relic account.
- api
Key string Your API Key.
- api
Token string Your API Token.
- channel
Name string - id string
The provider-assigned unique ID for this managed resource.
- license
Key string Your License Key.
- project
Id string - region string
Indicates which API URL to use, either US or EU. Opsgenie will use US by default.
- routing
Key string An optional field for your Routing Key.
- secret string
An optional field for your webhook secret.
- service
Key string Your Service Key.
- team
Name string - type string
Property equal to its own integration type
- url string
Your webhook URL.
- enabled boolean
Whether your cluster has Prometheus enabled.
- microsoft
Teams stringWebhook Url Your Microsoft Teams incoming webhook URL.
- scheme string
Your Prometheus protocol scheme configured for requests.
- service
Discovery string Indicates which service discovery method is used, either file or http.
- user
Name string Your Prometheus username.
- account_
id str Unique identifier of your New Relic account.
- api_
key str Your API Key.
- api_
token str Your API Token.
- channel_
name str - id str
The provider-assigned unique ID for this managed resource.
- license_
key str Your License Key.
- project_
id str - region str
Indicates which API URL to use, either US or EU. Opsgenie will use US by default.
- routing_
key str An optional field for your Routing Key.
- secret str
An optional field for your webhook secret.
- service_
key str Your Service Key.
- team_
name str - type str
Property equal to its own integration type
- url str
Your webhook URL.
- enabled bool
Whether your cluster has Prometheus enabled.
- microsoft_
teams_ strwebhook_ url Your Microsoft Teams incoming webhook URL.
- scheme str
Your Prometheus protocol scheme configured for requests.
- service_
discovery str Indicates which service discovery method is used, either file or http.
- user_
name str Your Prometheus username.
- account
Id String Unique identifier of your New Relic account.
- api
Key String Your API Key.
- api
Token String Your API Token.
- channel
Name String - id String
The provider-assigned unique ID for this managed resource.
- license
Key String Your License Key.
- project
Id String - region String
Indicates which API URL to use, either US or EU. Opsgenie will use US by default.
- routing
Key String An optional field for your Routing Key.
- secret String
An optional field for your webhook secret.
- service
Key String Your Service Key.
- team
Name String - type String
Property equal to its own integration type
- url String
Your webhook URL.
- enabled Boolean
Whether your cluster has Prometheus enabled.
- microsoft
Teams StringWebhook Url Your Microsoft Teams incoming webhook URL.
- scheme String
Your Prometheus protocol scheme configured for requests.
- service
Discovery String Indicates which service discovery method is used, either file or http.
- 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
mongodbatlas
Terraform Provider.