Class MSTeamsV2Config

    • Constructor Detail

      • MSTeamsV2Config

        public MSTeamsV2Config()
        No args constructor for use in serialization
    • Method Detail

      • getHttpConfig

        public HTTPConfig getHttpConfig()
        MSTeamsV2Config configures notifications via Microsoft Teams using the new message format with adaptive cards as required by flows. See https://prometheus.io/docs/alerting/latest/configuration/#msteamsv2_config It requires Alertmanager >= 0.28.0.
      • setHttpConfig

        public void setHttpConfig​(HTTPConfig httpConfig)
        MSTeamsV2Config configures notifications via Microsoft Teams using the new message format with adaptive cards as required by flows. See https://prometheus.io/docs/alerting/latest/configuration/#msteamsv2_config It requires Alertmanager >= 0.28.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.
      • getText

        public String getText()
        text defines the message body template for adaptive card notifications. This contains the detailed content displayed in the Teams adaptive card format.
      • setText

        public void setText​(String text)
        text defines the message body template for adaptive card notifications. This contains the detailed content displayed in the Teams adaptive card format.
      • getTitle

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

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

        public SecretKeySelector getWebhookURL()
        MSTeamsV2Config configures notifications via Microsoft Teams using the new message format with adaptive cards as required by flows. See https://prometheus.io/docs/alerting/latest/configuration/#msteamsv2_config It requires Alertmanager >= 0.28.0.
      • setWebhookURL

        public void setWebhookURL​(SecretKeySelector webhookURL)
        MSTeamsV2Config configures notifications via Microsoft Teams using the new message format with adaptive cards as required by flows. See https://prometheus.io/docs/alerting/latest/configuration/#msteamsv2_config It requires Alertmanager >= 0.28.0.
      • getAdditionalProperties

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

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

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