Class MSTeamsV2Config
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1beta1.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 Summary
Constructors Constructor Description MSTeamsV2Config()No args constructor for use in serializationMSTeamsV2Config(HTTPConfig httpConfig, Boolean sendResolved, String text, String title, io.fabric8.kubernetes.api.model.SecretKeySelector webhookURL)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MSTeamsV2ConfigBuilderedit()Map<String,Object>getAdditionalProperties()HTTPConfiggetHttpConfig()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.BooleangetSendResolved()Whether to notify about resolved alerts.StringgetText()Message body template.StringgetTitle()Message title template.io.fabric8.kubernetes.api.model.SecretKeySelectorgetWebhookURL()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.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetHttpConfig(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.voidsetSendResolved(Boolean sendResolved)Whether to notify about resolved alerts.voidsetText(String text)Message body template.voidsetTitle(String title)Message title template.voidsetWebhookURL(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.MSTeamsV2ConfigBuildertoBuilder()
-
-
-
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.
-
edit
public MSTeamsV2ConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MSTeamsV2ConfigBuilder>
-
toBuilder
public MSTeamsV2ConfigBuilder toBuilder()
-
-