Show / Hide Table of Contents

Class ConfigUtils

Config file utility class.

Inheritance
object
ConfigUtils
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.Common.Utils
Assembly: OCI.DotNetSDK.Common.dll
Syntax
public class ConfigUtils

Fields

AUTH_TYPE_IDENTIFIER

Declaration
public static readonly string AUTH_TYPE_IDENTIFIER
Field Value
Type Description
string

AUTH_TYPE_INSTANCE_PRINCIPAL

Declaration
public static readonly string AUTH_TYPE_INSTANCE_PRINCIPAL
Field Value
Type Description
string

DELEGATION_TOKEN_FILE

Declaration
public static readonly string DELEGATION_TOKEN_FILE
Field Value
Type Description
string

FINGERPRINT

Declaration
public static readonly string FINGERPRINT
Field Value
Type Description
string

KEY_FILE

Declaration
public static readonly string KEY_FILE
Field Value
Type Description
string

PASS_PHRASE

Declaration
public static readonly string PASS_PHRASE
Field Value
Type Description
string

REGION_ENV_VAR_NAME

Declaration
public static readonly string REGION_ENV_VAR_NAME
Field Value
Type Description
string

SESSION_TOKEN_FILE

Declaration
public static readonly string SESSION_TOKEN_FILE
Field Value
Type Description
string

TENANCY

Declaration
public static readonly string TENANCY
Field Value
Type Description
string

USER

Declaration
public static readonly string USER
Field Value
Type Description
string

logger

Declaration
protected static Logger logger
Field Value
Type Description
Logger

Methods

SetRegion(ConfigFile, out Region)

Sets the out variable with the, region id available in the config file. Otherwise, Sets the region id from OCI_REGION.

Declaration
public static void SetRegion(ConfigFile configFile, out Region region)
Parameters
Type Name Description
ConfigFile configFile
Region region
In this article
Back to top