Skip to main content

Definition

Assembly: CloudNimble.Breakdance.DotHttp.dll Namespace: CloudNimble.Breakdance.DotHttp.Models Inheritance: System.Object

Syntax

Summary

Represents a value in the environment configuration.

Remarks

Can be a simple string or a provider-based secret reference (AspnetUserSecrets, AzureKeyVault, etc.).

Examples

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

IsSecret

Gets a value indicating whether this is a provider-based secret.

Syntax

Property Value

Type: bool

Remarks

Returns true when EnvironmentValue.Provider is not null or empty.

Provider

Gets or sets the provider type for secret resolution.

Syntax

Property Value

Type: string

Remarks

Supported providers include “AspnetUserSecrets”, “AzureKeyVault”, and “Encrypted”.

ResourceId

Gets or sets the Azure resource ID for the AzureKeyVault provider.

Syntax

Property Value

Type: string

SecretName

Gets or sets the secret name for provider-based values.

Syntax

Property Value

Type: string

Value

Gets or sets the simple string value when not using a provider.

Syntax

Property Value

Type: string

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

FromString

Creates an EnvironmentValue from a simple string.

Syntax

Parameters

NameTypeDescription
valuestringThe string value.

Returns

Type: CloudNimble.Breakdance.DotHttp.Models.EnvironmentValue A new EnvironmentValue with the specified value.

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?