Class MSTeamsConfig

    • Method Detail

      • getHttpConfig

        public HTTPConfig getHttpConfig()
        MSTeamsConfig configures notifications via Microsoft Teams. It requires Alertmanager >= 0.26.0.
      • setHttpConfig

        public void setHttpConfig​(HTTPConfig httpConfig)
        MSTeamsConfig configures notifications via Microsoft Teams. It requires Alertmanager >= 0.26.0.
      • getSendResolved

        public Boolean getSendResolved()
        sendResolved defines whether or not to notify about resolved alerts.
      • setSendResolved

        public void setSendResolved​(Boolean sendResolved)
        sendResolved defines whether or not to notify about resolved alerts.
      • getSummary

        public String getSummary()
        summary defines the message summary template for Teams notifications. This provides a brief overview that appears in Teams notification previews. It requires Alertmanager >= 0.27.0.
      • setSummary

        public void setSummary​(String summary)
        summary defines the message summary template for Teams notifications. This provides a brief overview that appears in Teams notification previews. It requires Alertmanager >= 0.27.0.
      • getText

        public String getText()
        text defines the message body template for Teams notifications. This contains the detailed content of the Teams message.
      • setText

        public void setText​(String text)
        text defines the message body template for Teams notifications. This contains the detailed content of the Teams message.
      • getTitle

        public String getTitle()
        title defines the message title template for Teams notifications. This appears as the main heading of the Teams message card.
      • setTitle

        public void setTitle​(String title)
        title defines the message title template for Teams notifications. This appears as the main heading of the Teams message card.
      • getWebhookUrl

        public SecretKeySelector getWebhookUrl()
        MSTeamsConfig configures notifications via Microsoft Teams. It requires Alertmanager >= 0.26.0.
      • setWebhookUrl

        public void setWebhookUrl​(SecretKeySelector webhookUrl)
        MSTeamsConfig configures notifications via Microsoft Teams. It requires Alertmanager >= 0.26.0.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)