ConfigurationConfiguration is the Schema for the Configurations API.
TypeMR
Providerprovider-mongodbatlas
Groupalert.mongodbatlas.m.crossplane.io
Scopenamespaced
Versionv1alpha1

1apiVersion: alert.mongodbatlas.m.crossplane.io/v1alpha1

2kind: Configuration

kind
string
metadata
object
spec
object

ConfigurationSpec defines the desired state of Configuration

forProvider
required
object

(No description available)

enabled
boolean
eventType
string
matcher
array

(No description available)

fieldName
string
operator
string
value
string
array

(No description available)

mode
string
operator
string
threshold
number
units
string
array

(No description available)

object

Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.

key
required
string
name
required
string
object

Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.

key
required
string
name
required
string
delayMin
number
object

Microsoft Teams Webhook Uniform Resource Locator (URL) that MongoDB Cloud needs to send this notification via Microsoft Teams. Required if type_name is MICROSOFT_TEAMS. If the URL later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.

key
required
string
name
required
string
object

Opsgenie API Key. Required for the OPS_GENIE notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.

key
required
string
name
required
string
roles
array

Optional. One or more roles that receive the configured alert. If you include this field, Atlas sends alerts only to users assigned the roles you specify in the array. If you omit this field, Atlas sends alerts to users assigned any role. This parameter is only valid if type_name is set to ORG, GROUP, or USER. Accepted values are:

object

PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.

key
required
string
name
required
string
smsEnabled
boolean
teamId
string
typeName
string
username
string
object

VictorOps API key. Required for the VICTOR_OPS notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.

key
required
string
name
required
string
object

VictorOps routing key. Optional for the VICTOR_OPS notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.

key
required
string
name
required
string
object

Optional authentication secret for the WEBHOOK notifications type.

key
required
string
name
required
string
object

Target URL for the WEBHOOK notifications type.

key
required
string
name
required
string
projectId
string
object

Reference to a Project in mongodbatlas to populate projectId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Project in mongodbatlas to populate projectId.

namespace
string
policy
object

Policies for selection.

resolve
string
array

(No description available)

operator
string
threshold
number
units
string
object

THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.

enabled
boolean
eventType
string
matcher
array

(No description available)

fieldName
string
operator
string
value
string
array

(No description available)

mode
string
operator
string
threshold
number
units
string
array

(No description available)

object

Slack API token. Required for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.

key
required
string
name
required
string
object

Datadog API Key. Found in the Datadog dashboard. Required for the DATADOG notifications type.

key
required
string
name
required
string
delayMin
number
object

Microsoft Teams Webhook Uniform Resource Locator (URL) that MongoDB Cloud needs to send this notification via Microsoft Teams. Required if type_name is MICROSOFT_TEAMS. If the URL later becomes invalid, MongoDB Cloud sends an email to the project owners. If the key remains invalid, MongoDB Cloud removes it.

key
required
string
name
required
string
object

Opsgenie API Key. Required for the OPS_GENIE notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.

key
required
string
name
required
string
roles
array

Optional. One or more roles that receive the configured alert. If you include this field, Atlas sends alerts only to users assigned the roles you specify in the array. If you omit this field, Atlas sends alerts to users assigned any role. This parameter is only valid if type_name is set to ORG, GROUP, or USER. Accepted values are:

object

PagerDuty service key. Required for the PAGER_DUTY notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.

key
required
string
name
required
string
smsEnabled
boolean
teamId
string
typeName
string
username
string
object

VictorOps API key. Required for the VICTOR_OPS notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.

key
required
string
name
required
string
object

VictorOps routing key. Optional for the VICTOR_OPS notifications type. If the key later becomes invalid, Atlas sends an email to the project owner and eventually removes the key.

key
required
string
name
required
string
object

Optional authentication secret for the WEBHOOK notifications type.

key
required
string
name
required
string
object

Target URL for the WEBHOOK notifications type.

key
required
string
name
required
string
projectId
string
object

Reference to a Project in mongodbatlas to populate projectId.

name
required
string
namespace
string
policy
object

Policies for referencing.

resolve
string
object

Selector for a Project in mongodbatlas to populate projectId.

namespace
string
policy
object

Policies for selection.

resolve
string
array

(No description available)

operator
string
threshold
number
units
string
array

THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

kind
required
string
name
required
string
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

name
required
string
status
object

ConfigurationStatus defines the observed state of Configuration.

object

(No description available)

created
string
enabled
boolean
eventType
string
id
string
matcher
array

(No description available)

fieldName
string
operator
string
value
string
array

(No description available)

mode
string
operator
string
threshold
number
units
string
array

(No description available)

delayMin
number
roles
array

Optional. One or more roles that receive the configured alert. If you include this field, Atlas sends alerts only to users assigned the roles you specify in the array. If you omit this field, Atlas sends alerts to users assigned any role. This parameter is only valid if type_name is set to ORG, GROUP, or USER. Accepted values are:

smsEnabled
boolean
teamId
string
teamName
string
typeName
string
username
string
projectId
string
array

(No description available)

operator
string
threshold
number
units
string
updated
string
array

Conditions of the resource.

lastTransitionTime
required
string
message
string
reason
required
string
status
required
string
type
required
string