Class VictorOpsConfig

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class VictorOpsConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<VictorOpsConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    VictorOpsConfig configures notifications via VictorOps. See https://prometheus.io/docs/alerting/latest/configuration/#victorops_config
    See Also:
    Serialized Form
    • Constructor Detail

      • VictorOpsConfig

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

      • getApiKey

        public io.fabric8.kubernetes.api.model.SecretKeySelector getApiKey()
        VictorOpsConfig configures notifications via VictorOps. See https://prometheus.io/docs/alerting/latest/configuration/#victorops_config
      • setApiKey

        public void setApiKey​(io.fabric8.kubernetes.api.model.SecretKeySelector apiKey)
        VictorOpsConfig configures notifications via VictorOps. See https://prometheus.io/docs/alerting/latest/configuration/#victorops_config
      • getApiUrl

        public String getApiUrl()
        The VictorOps API URL.
      • setApiUrl

        public void setApiUrl​(String apiUrl)
        The VictorOps API URL.
      • getCustomFields

        public List<KeyValue> getCustomFields()
        Additional custom fields for notification.
      • setCustomFields

        public void setCustomFields​(List<KeyValue> customFields)
        Additional custom fields for notification.
      • getEntityDisplayName

        public String getEntityDisplayName()
        Contains summary of the alerted problem.
      • setEntityDisplayName

        public void setEntityDisplayName​(String entityDisplayName)
        Contains summary of the alerted problem.
      • getHttpConfig

        public HTTPConfig getHttpConfig()
        VictorOpsConfig configures notifications via VictorOps. See https://prometheus.io/docs/alerting/latest/configuration/#victorops_config
      • setHttpConfig

        public void setHttpConfig​(HTTPConfig httpConfig)
        VictorOpsConfig configures notifications via VictorOps. See https://prometheus.io/docs/alerting/latest/configuration/#victorops_config
      • getMessageType

        public String getMessageType()
        Describes the behavior of the alert (CRITICAL, WARNING, INFO).
      • setMessageType

        public void setMessageType​(String messageType)
        Describes the behavior of the alert (CRITICAL, WARNING, INFO).
      • getMonitoringTool

        public String getMonitoringTool()
        The monitoring tool the state message is from.
      • setMonitoringTool

        public void setMonitoringTool​(String monitoringTool)
        The monitoring tool the state message is from.
      • getRoutingKey

        public String getRoutingKey()
        A key used to map the alert to a team.
      • setRoutingKey

        public void setRoutingKey​(String routingKey)
        A key used to map the alert to a team.
      • getSendResolved

        public Boolean getSendResolved()
        Whether or not to notify about resolved alerts.
      • setSendResolved

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

        public String getStateMessage()
        Contains long explanation of the alerted problem.
      • setStateMessage

        public void setStateMessage​(String stateMessage)
        Contains long explanation of the alerted problem.
      • getAdditionalProperties

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

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

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