Class AlertmanagerGlobalConfig

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class AlertmanagerGlobalConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<AlertmanagerGlobalConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
    See Also:
    Serialized Form
    • Method Detail

      • getHttpConfig

        public HTTPConfig getHttpConfig()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setHttpConfig

        public void setHttpConfig​(HTTPConfig httpConfig)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getJira

        public GlobalJiraConfig getJira()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setJira

        public void setJira​(GlobalJiraConfig jira)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getOpsGenieApiKey

        public io.fabric8.kubernetes.api.model.SecretKeySelector getOpsGenieApiKey()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setOpsGenieApiKey

        public void setOpsGenieApiKey​(io.fabric8.kubernetes.api.model.SecretKeySelector opsGenieApiKey)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getOpsGenieApiUrl

        public io.fabric8.kubernetes.api.model.SecretKeySelector getOpsGenieApiUrl()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setOpsGenieApiUrl

        public void setOpsGenieApiUrl​(io.fabric8.kubernetes.api.model.SecretKeySelector opsGenieApiUrl)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getPagerdutyUrl

        public String getPagerdutyUrl()
        The default Pagerduty URL.
      • setPagerdutyUrl

        public void setPagerdutyUrl​(String pagerdutyUrl)
        The default Pagerduty URL.
      • getResolveTimeout

        public String getResolveTimeout()
        ResolveTimeout is the default value used by alertmanager if the alert does not include EndsAt, after this time passes it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt.
      • setResolveTimeout

        public void setResolveTimeout​(String resolveTimeout)
        ResolveTimeout is the default value used by alertmanager if the alert does not include EndsAt, after this time passes it can declare the alert as resolved if it has not been updated. This has no impact on alerts from Prometheus, as they always include EndsAt.
      • getRocketChat

        public GlobalRocketChatConfig getRocketChat()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setRocketChat

        public void setRocketChat​(GlobalRocketChatConfig rocketChat)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getSlackApiUrl

        public io.fabric8.kubernetes.api.model.SecretKeySelector getSlackApiUrl()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setSlackApiUrl

        public void setSlackApiUrl​(io.fabric8.kubernetes.api.model.SecretKeySelector slackApiUrl)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getSmtp

        public GlobalSMTPConfig getSmtp()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setSmtp

        public void setSmtp​(GlobalSMTPConfig smtp)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getTelegram

        public GlobalTelegramConfig getTelegram()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setTelegram

        public void setTelegram​(GlobalTelegramConfig telegram)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getVictorops

        public GlobalVictorOpsConfig getVictorops()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setVictorops

        public void setVictorops​(GlobalVictorOpsConfig victorops)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getWebex

        public GlobalWebexConfig getWebex()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setWebex

        public void setWebex​(GlobalWebexConfig webex)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getWechat

        public GlobalWeChatConfig getWechat()
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • setWechat

        public void setWechat​(GlobalWeChatConfig wechat)
        AlertmanagerGlobalConfig configures parameters that are valid in all other configuration contexts. See https://prometheus.io/docs/alerting/latest/configuration/#configuration-file
      • getAdditionalProperties

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

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

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