Class OVHCloudSDConfig

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class OVHCloudSDConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<OVHCloudSDConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    OVHCloudSDConfig configurations allow retrieving scrape targets from OVHcloud's dedicated servers and VPS using their API. See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#ovhcloud_sd_config
    See Also:
    Serialized Form
    • Constructor Detail

      • OVHCloudSDConfig

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

        public OVHCloudSDConfig​(String applicationKey,
                                io.fabric8.kubernetes.api.model.SecretKeySelector applicationSecret,
                                io.fabric8.kubernetes.api.model.SecretKeySelector consumerKey,
                                String endpoint,
                                String refreshInterval,
                                String service)
    • Method Detail

      • getApplicationKey

        public String getApplicationKey()
        Access key to use. https://api.ovh.com.
      • setApplicationKey

        public void setApplicationKey​(String applicationKey)
        Access key to use. https://api.ovh.com.
      • getApplicationSecret

        public io.fabric8.kubernetes.api.model.SecretKeySelector getApplicationSecret()
        OVHCloudSDConfig configurations allow retrieving scrape targets from OVHcloud's dedicated servers and VPS using their API. See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#ovhcloud_sd_config
      • setApplicationSecret

        public void setApplicationSecret​(io.fabric8.kubernetes.api.model.SecretKeySelector applicationSecret)
        OVHCloudSDConfig configurations allow retrieving scrape targets from OVHcloud's dedicated servers and VPS using their API. See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#ovhcloud_sd_config
      • getConsumerKey

        public io.fabric8.kubernetes.api.model.SecretKeySelector getConsumerKey()
        OVHCloudSDConfig configurations allow retrieving scrape targets from OVHcloud's dedicated servers and VPS using their API. See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#ovhcloud_sd_config
      • setConsumerKey

        public void setConsumerKey​(io.fabric8.kubernetes.api.model.SecretKeySelector consumerKey)
        OVHCloudSDConfig configurations allow retrieving scrape targets from OVHcloud's dedicated servers and VPS using their API. See https://prometheus.io/docs/prometheus/latest/configuration/configuration/#ovhcloud_sd_config
      • getEndpoint

        public String getEndpoint()
        Custom endpoint to be used.
      • setEndpoint

        public void setEndpoint​(String endpoint)
        Custom endpoint to be used.
      • getRefreshInterval

        public String getRefreshInterval()
        Refresh interval to re-read the resources list.
      • setRefreshInterval

        public void setRefreshInterval​(String refreshInterval)
        Refresh interval to re-read the resources list.
      • getService

        public String getService()
        Service of the targets to retrieve. Must be `VPS` or `DedicatedServer`.
      • setService

        public void setService​(String service)
        Service of the targets to retrieve. Must be `VPS` or `DedicatedServer`.
      • getAdditionalProperties

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

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

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