Class OVHCloudSDConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1alpha1.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 Summary
Constructors Constructor Description OVHCloudSDConfig()No args constructor for use in serializationOVHCloudSDConfig(String applicationKey, io.fabric8.kubernetes.api.model.SecretKeySelector applicationSecret, io.fabric8.kubernetes.api.model.SecretKeySelector consumerKey, String endpoint, String refreshInterval, String service)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OVHCloudSDConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetApplicationKey()Access key to use. https://api.ovh.com.io.fabric8.kubernetes.api.model.SecretKeySelectorgetApplicationSecret()OVHCloudSDConfig configurations allow retrieving scrape targets from OVHcloud's dedicated servers and VPS using their API.io.fabric8.kubernetes.api.model.SecretKeySelectorgetConsumerKey()OVHCloudSDConfig configurations allow retrieving scrape targets from OVHcloud's dedicated servers and VPS using their API.StringgetEndpoint()Custom endpoint to be used.StringgetRefreshInterval()Refresh interval to re-read the resources list.StringgetService()Service of the targets to retrieve.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetApplicationKey(String applicationKey)Access key to use. https://api.ovh.com.voidsetApplicationSecret(io.fabric8.kubernetes.api.model.SecretKeySelector applicationSecret)OVHCloudSDConfig configurations allow retrieving scrape targets from OVHcloud's dedicated servers and VPS using their API.voidsetConsumerKey(io.fabric8.kubernetes.api.model.SecretKeySelector consumerKey)OVHCloudSDConfig configurations allow retrieving scrape targets from OVHcloud's dedicated servers and VPS using their API.voidsetEndpoint(String endpoint)Custom endpoint to be used.voidsetRefreshInterval(String refreshInterval)Refresh interval to re-read the resources list.voidsetService(String service)Service of the targets to retrieve.OVHCloudSDConfigBuildertoBuilder()
-
-
-
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`.
-
edit
public OVHCloudSDConfigBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<OVHCloudSDConfigBuilder>
-
toBuilder
public OVHCloudSDConfigBuilder toBuilder()
-
-