Compartilhar via


IBicepValue Interface

Definition

Represents the value of a property that could be a literal .NET value, a Bicep expression, or it could be unset.

public interface IBicepValue
type IBicepValue = interface
Public Interface IBicepValue
Derived

Properties

Expression

Gets the expression for this value if it's not a literal.

IsEmpty

Gets whether this value is unset or empty.

IsOutput

Tracks whether this is an output only property.

IsRequired

Tracks whether this property is required.

IsSecure

Tracks whether this contains a secure value.

Kind

Gets the kind of this value (a literal value, an expression, or it's unset).

LiteralValue

Get the value of this expression, if it's literal.

Self

Gets information about where this value was defined.

Source

Gets information about where this value was assigned from.

Methods

Assign(IBicepValue)

Assign a value to this property.

Compile()

Compile this value to a Bicep expression.

SetReadOnly()

Make this value readonly.

Applies to