Show / Hide Table of Contents

Class ConnectionConfig

Configuration for connecting to CDF.

Inheritance
object
VersionedConfig
ConnectionConfig
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.Unstable.Configuration
Assembly: ExtractorUtils.dll
Syntax
public class ConnectionConfig : VersionedConfig

Properties

| Edit this page View Source

Authentication

Authentication config.

Declaration
public BaseAuthenticationConfig? Authentication { get; set; }
Property Value
Type Description
BaseAuthenticationConfig
| Edit this page View Source

BaseUrl

API base URL

Declaration
public string BaseUrl { get; set; }
Property Value
Type Description
string

Absolute Uri for the host. Default: https://api.cognitedata.com

| Edit this page View Source

CdfConnection

Configuration for the connection to CDF.

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

Integration

ID of integration in CDF, required.

Declaration
public IntegrationConfig? Integration { get; set; }
Property Value
Type Description
IntegrationConfig
| Edit this page View Source

Project

The project name

Declaration
public string? Project { get; set; }
Property Value
Type Description
string

project name

Methods

| Edit this page View Source

GenerateDefaults()

Should be implemented in Base classes to initialize properties with default values, in case the values were not present in the parsed yaml config

Declaration
public override void GenerateDefaults()
Overrides
Cognite.Extractor.Configuration.VersionedConfig.GenerateDefaults()
| Edit this page View Source

RegisterConverters(YamlConfigBuilder)

Register any necessary yaml converters.

Declaration
public static void RegisterConverters(YamlConfigBuilder builder)
Parameters
Type Name Description
YamlConfigBuilder builder

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