Table of Contents

Class ResourcesSource

Namespace
Virtufin.Api.Resources
Assembly
Virtufin.Api.dll

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

Settings ResourcesSettings
Prometheus PrometheusClient

Properties

Prometheus

public PrometheusClient? Prometheus { get; init; }

Property Value

PrometheusClient

Settings

public ResourcesSettings? Settings { get; init; }

Property Value

ResourcesSettings

Methods

From(ResourcesSettings?)

public static ResourcesSource From(ResourcesSettings? settings)

Parameters

settings ResourcesSettings

Returns

ResourcesSource