Show / Hide Table of Contents

Class BaseConfig

Base configuration object for extractors. The config should have a version property, so that versioning and compatibility can be tracked by the extractor.

Inheritance
object
VersionedConfig
BaseConfig
Inherited Members
VersionedConfig.Version
VersionedConfig.KeyVault
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Cognite.Extractor.Utils
Assembly: ExtractorUtils.dll
Syntax
public class BaseConfig : VersionedConfig

Properties

| Edit this page View Source

Cognite

Cognite configuration (optional)

Declaration
public CogniteConfig Cognite { get; set; }
Property Value
Type Description
CogniteConfig

A CogniteConfig config object

| Edit this page View Source

Logger

Logging configuration (optional)

Declaration
public LoggerConfig Logger { get; set; }
Property Value
Type Description
LoggerConfig

A LoggerConfig config object

| Edit this page View Source

Metrics

Metrics configuration (optional)

Declaration
public MetricsConfig Metrics { get; set; }
Property Value
Type Description
MetricsConfig

A MetricsConfig config object

| Edit this page View Source

StateStore

Configuration for extraction state storage (optional)

Declaration
public StateStoreConfig StateStore { get; set; }
Property Value
Type Description
StateStoreConfig
| Edit this page View Source

Type

Type of configuration this represents, local or remote. Will generally always be local.

Declaration
public ConfigurationMode Type { get; set; }
Property Value
Type Description
ConfigurationMode

Methods

| Edit this page View Source

GenerateDefaults()

Generate default configuration objects if the corresponding tags are not present in the yaml config file/string

Declaration
public override void GenerateDefaults()
Overrides
Cognite.Extractor.Configuration.VersionedConfig.GenerateDefaults()

Extension Methods

DataModelUtils.GetOrCreateResourcesAsync<T, T2>(T2, IEnumerable<InstanceIdentifier>, Func<IEnumerable<InstanceIdentifier>, IEnumerable<SourcedNodeWrite<T>>>, Func<IEnumerable<SourcedNodeWrite<T>>, SanitationMode, (IEnumerable<SourcedNodeWrite<T>>, IEnumerable<CogniteError<SourcedNodeWrite<T>>>)>, int, int, RetryMode, SanitationMode, CancellationToken)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX