Class ClientEnvConfig.ProfileLoadOptions
- Namespace
- Temporalio.Common.EnvConfig
- Assembly
- Temporalio.dll
Options for loading a specific client configuration profile.
public class ClientEnvConfig.ProfileLoadOptions : ICloneable
- Inheritance
-
ClientEnvConfig.ProfileLoadOptions
- Implements
- Inherited Members
Properties
ConfigFileStrict
Gets or sets a value indicating whether to fail if configuration file is invalid. Default is false.
public bool ConfigFileStrict { get; set; }
Property Value
ConfigSource
Gets or sets the data source to load configuration from. If null, the configuration will be loaded from the default file path: os-specific-config-dir/temporalio/temporal.toml.
public DataSource? ConfigSource { get; set; }
Property Value
DisableEnv
Gets or sets a value indicating whether to disable environment variable overrides. Default is false.
public bool DisableEnv { get; set; }
Property Value
DisableFile
Gets or sets a value indicating whether to disable loading from file (only from environment). Default is false.
public bool DisableFile { get; set; }
Property Value
OverrideEnvVars
Gets or sets environment variables to use, or null to use system environment.
public IReadOnlyDictionary<string, string>? OverrideEnvVars { get; set; }
Property Value
Profile
Gets or sets the name of the profile to load. If null, "default" is used.
public string? Profile { get; set; }
Property Value
Methods
Clone()
Create a shallow copy of these options.
public virtual object Clone()
Returns
- object
A shallow copy of these options.