Class ResourcesSource
The settings and the Prometheus client, both null when resources.json is absent.
public sealed record ResourcesSource : IEquatable<ResourcesSource>
- Inheritance
-
ResourcesSource
- Implements
- Inherited Members
Constructors
ResourcesSource(ResourcesSettings?, PrometheusClient?)
The settings and the Prometheus client, both null when resources.json is absent.
public ResourcesSource(ResourcesSettings? Settings, PrometheusClient? Prometheus)
Parameters
SettingsResourcesSettingsPrometheusPrometheusClient
Properties
Prometheus
public PrometheusClient? Prometheus { get; init; }
Property Value
Settings
public ResourcesSettings? Settings { get; init; }
Property Value
Methods
From(ResourcesSettings?)
public static ResourcesSource From(ResourcesSettings? settings)
Parameters
settingsResourcesSettings