Skip to content

Commit 6afea60

Browse files
authored
feat: added parameter team name for alert configurations (#272)
1 parent 210b54c commit 6afea60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mongodbatlas/alert_configurations.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ type Notification struct {
117117
ServiceKey string `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.
118118
SMSEnabled *bool `json:"smsEnabled,omitempty"` // Flag indicating if text message notifications should be sent. Populated for ORG, GROUP, and USER notifications types.
119119
TeamID string `json:"teamId,omitempty"` // Unique identifier of a team.
120+
TeamName string `json:"teamName,omitempty"` // Label for the team that receives this notification.
120121
TypeName string `json:"typeName,omitempty"` // Type of alert notification.
121122
Username string `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.
122123
VictorOpsAPIKey string `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.

0 commit comments

Comments
 (0)