Class OVHCloudSDConfig

    • Constructor Detail

      • OVHCloudSDConfig

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

      • getApplicationKey

        public String getApplicationKey()
        applicationKey defines the access key to use for OVHCloud API authentication. This is obtained from the OVHCloud API credentials at https://api.ovh.com.
      • setApplicationKey

        public void setApplicationKey​(String applicationKey)
        applicationKey defines the access key to use for OVHCloud API authentication. This is obtained from the OVHCloud API credentials at https://api.ovh.com.
      • getApplicationSecret

        public 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​(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 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​(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()
        endpoint defines a custom API endpoint to be used. When not specified, defaults to the standard OVHCloud API endpoint for the region.
      • setEndpoint

        public void setEndpoint​(String endpoint)
        endpoint defines a custom API endpoint to be used. When not specified, defaults to the standard OVHCloud API endpoint for the region.
      • getRefreshInterval

        public String getRefreshInterval()
        refreshInterval defines the time after which the provided names are refreshed. If not set, Prometheus uses its default value.
      • setRefreshInterval

        public void setRefreshInterval​(String refreshInterval)
        refreshInterval defines the time after which the provided names are refreshed. If not set, Prometheus uses its default value.
      • getService

        public String getService()
        service defines the service type of the targets to retrieve. Must be either `VPS` or `DedicatedServer` to specify which OVHCloud resources to discover.
      • setService

        public void setService​(String service)
        service defines the service type of the targets to retrieve. Must be either `VPS` or `DedicatedServer` to specify which OVHCloud resources to discover.
      • getAdditionalProperties

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

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

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