You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mongodbatlas/alert_configurations.go
+26-24Lines changed: 26 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -100,30 +100,32 @@ type Threshold struct {
100
100
101
101
// Notification sends when an alert condition is detected.
102
102
typeNotificationstruct {
103
-
APITokenstring`json:"apiToken,omitempty"`// Slack API token or Bot token. Populated for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
104
-
ChannelNamestring`json:"channelName,omitempty"`// Slack channel name. Populated for the SLACK notifications type.
105
-
DatadogAPIKeystring`json:"datadogApiKey,omitempty"`// Datadog API Key. Found in the Datadog dashboard. Populated for the DATADOG notifications type.
106
-
DatadogRegionstring`json:"datadogRegion,omitempty"`// Region that indicates which API URL to use
107
-
DelayMin*int`json:"delayMin,omitempty"`// Number of minutes to wait after an alert condition is detected before sending out the first notification.
108
-
EmailAddressstring`json:"emailAddress,omitempty"`// Email address to which alert notifications are sent. Populated for the EMAIL notifications type.
109
-
EmailEnabled*bool`json:"emailEnabled,omitempty"`// Flag indicating if email notifications should be sent. Populated for ORG, GROUP, and USER notifications types.
110
-
FlowdockAPITokenstring`json:"flowdockApiToken,omitempty"`// The Flowdock personal API token. Populated for the FLOWDOCK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
111
-
FlowNamestring`json:"flowName,omitempty"`// Flowdock flow namse in lower-case letters.
112
-
IntervalMinint`json:"intervalMin,omitempty"`// Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved.
113
-
MobileNumberstring`json:"mobileNumber,omitempty"`// Mobile number to which alert notifications are sent. Populated for the SMS notifications type.
114
-
OpsGenieAPIKeystring`json:"opsGenieApiKey,omitempty"`// Opsgenie API Key. Populated 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.
115
-
OpsGenieRegionstring`json:"opsGenieRegion,omitempty"`// Region that indicates which API URL to use.
116
-
OrgNamestring`json:"orgName,omitempty"`// Flowdock organization name in lower-case letters. This is the name that appears after www.flowdock.com/app/ in the URL string. Populated for the FLOWDOCK notifications type.
117
-
ServiceKeystring`json:"serviceKey,omitempty"`// PagerDuty service key. Populated 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.
118
-
SMSEnabled*bool`json:"smsEnabled,omitempty"`// Flag indicating if text message notifications should be sent. Populated for ORG, GROUP, and USER notifications types.
119
-
TeamIDstring`json:"teamId,omitempty"`// Unique identifier of a team.
120
-
TeamNamestring`json:"teamName,omitempty"`// Label for the team that receives this notification.
121
-
TypeNamestring`json:"typeName,omitempty"`// Type of alert notification.
122
-
Usernamestring`json:"username,omitempty"`// Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Populated for the USER notifications type.
123
-
VictorOpsAPIKeystring`json:"victorOpsApiKey,omitempty"`// VictorOps API key. Populated 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.
124
-
VictorOpsRoutingKeystring`json:"victorOpsRoutingKey,omitempty"`// VictorOps routing key. Populated 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.
125
-
Roles []string`json:"roles,omitempty"`// The following roles grant privileges within a project.
126
-
103
+
APITokenstring`json:"apiToken,omitempty"`// Slack API token or Bot token. Populated for the SLACK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
104
+
ChannelNamestring`json:"channelName,omitempty"`// Slack channel name. Populated for the SLACK notifications type.
105
+
DatadogAPIKeystring`json:"datadogApiKey,omitempty"`// Datadog API Key. Found in the Datadog dashboard. Populated for the DATADOG notifications type.
106
+
DatadogRegionstring`json:"datadogRegion,omitempty"`// Region that indicates which API URL to use
107
+
DelayMin*int`json:"delayMin,omitempty"`// Number of minutes to wait after an alert condition is detected before sending out the first notification.
108
+
EmailAddressstring`json:"emailAddress,omitempty"`// Email address to which alert notifications are sent. Populated for the EMAIL notifications type.
109
+
EmailEnabled*bool`json:"emailEnabled,omitempty"`// Flag indicating if email notifications should be sent. Populated for ORG, GROUP, and USER notifications types.
110
+
FlowdockAPITokenstring`json:"flowdockApiToken,omitempty"`// The Flowdock personal API token. Populated for the FLOWDOCK notifications type. If the token later becomes invalid, Atlas sends an email to the project owner and eventually removes the token.
111
+
FlowNamestring`json:"flowName,omitempty"`// Flowdock flow namse in lower-case letters.
112
+
IntervalMinint`json:"intervalMin,omitempty"`// Number of minutes to wait between successive notifications for unacknowledged alerts that are not resolved.
113
+
MobileNumberstring`json:"mobileNumber,omitempty"`// Mobile number to which alert notifications are sent. Populated for the SMS notifications type.
114
+
OpsGenieAPIKeystring`json:"opsGenieApiKey,omitempty"`// Opsgenie API Key. Populated 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.
115
+
OpsGenieRegionstring`json:"opsGenieRegion,omitempty"`// Region that indicates which API URL to use.
116
+
OrgNamestring`json:"orgName,omitempty"`// Flowdock organization name in lower-case letters. This is the name that appears after www.flowdock.com/app/ in the URL string. Populated for the FLOWDOCK notifications type.
117
+
ServiceKeystring`json:"serviceKey,omitempty"`// PagerDuty service key. Populated 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.
118
+
SMSEnabled*bool`json:"smsEnabled,omitempty"`// Flag indicating if text message notifications should be sent. Populated for ORG, GROUP, and USER notifications types.
119
+
TeamIDstring`json:"teamId,omitempty"`// Unique identifier of a team.
120
+
TeamNamestring`json:"teamName,omitempty"`// Label for the team that receives this notification.
121
+
TypeNamestring`json:"typeName,omitempty"`// Type of alert notification.
122
+
Usernamestring`json:"username,omitempty"`// Name of the Atlas user to which to send notifications. Only a user in the project that owns the alert configuration is allowed here. Populated for the USER notifications type.
123
+
VictorOpsAPIKeystring`json:"victorOpsApiKey,omitempty"`// VictorOps API key. Populated 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.
124
+
VictorOpsRoutingKeystring`json:"victorOpsRoutingKey,omitempty"`// VictorOps routing key. Populated 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.
125
+
Roles []string`json:"roles,omitempty"`// The following roles grant privileges within a project.
126
+
MicrosoftTeamsWebhookURLstring`json:"microsoftTeamsWebhookUrl,omitempty"`// Microsoft Teams Wewbhook URL
0 commit comments