Class MSTeamsV2Config

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<MSTeamsV2ConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class MSTeamsV2Config
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<MSTeamsV2ConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    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.
    See Also:
    Serialized Form
    • Constructor Detail

      • MSTeamsV2Config

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

        public MSTeamsV2Config​(HTTPConfig httpConfig,
                               Boolean sendResolved,
                               String text,
                               String title,
                               io.fabric8.kubernetes.api.model.SecretKeySelector webhookURL)
    • 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()
        Whether to notify about resolved alerts.
      • setSendResolved

        public void setSendResolved​(Boolean sendResolved)
        Whether to notify about resolved alerts.
      • getText

        public String getText()
        Message body template.
      • setText

        public void setText​(String text)
        Message body template.
      • getTitle

        public String getTitle()
        Message title template.
      • setTitle

        public void setTitle​(String title)
        Message title template.
      • getWebhookURL

        public io.fabric8.kubernetes.api.model.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​(io.fabric8.kubernetes.api.model.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)