BicepValue<T> Class

Definition

Represents a value or expression.

public class BicepValue<T> : Azure.Provisioning.BicepValue
type BicepValue<'T> = class
    inherit BicepValue
Public Class BicepValue(Of T)
Inherits BicepValue

Type Parameters

T

The type of the value.

Inheritance
BicepValue<T>

Constructors

BicepValue<T>(BicepExpression)

Creates a new BicepValue.

BicepValue<T>(Expression)

Creates a new BicepValue.

BicepValue<T>(T)

Creates a new BicepValue.

Properties

Expression (Inherited from BicepValue)
Kind

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

(Inherited from BicepValue)
Value

Gets or sets the literal value. You can also rely on implicit conversions most of the time.

Methods

ClearValue()

Clears a previously assigned literal or expression value.

Compile()

Compile this value to a Bicep expression.

(Inherited from BicepValue)
ToString()

Returns a string that represents the current object.

(Inherited from BicepValue)

Operators

Implicit(BicepExpression to BicepValue<T>)
Implicit(BicepValue<T> to BicepValue<String>)
Implicit(Expression to BicepValue<T>)
Implicit(ProvisioningVariable to BicepValue<T>)
Implicit(T to BicepValue<T>)

Explicit Interface Implementations

IBicepValue.Assign(IBicepValue)

Assign a value to this property.

(Inherited from BicepValue)
IBicepValue.Expression

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

(Inherited from BicepValue)
IBicepValue.IsOutput

Tracks whether this is an output only property.

(Inherited from BicepValue)
IBicepValue.IsRequired

Tracks whether this property is required.

(Inherited from BicepValue)
IBicepValue.IsSecure

Tracks whether this contains a secure value.

(Inherited from BicepValue)
IBicepValue.Kind

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

(Inherited from BicepValue)
IBicepValue.LiteralValue

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

(Inherited from BicepValue)
IBicepValue.Self

Gets information about where this value was defined.

(Inherited from BicepValue)
IBicepValue.SetReadOnly()

Make this value readonly.

(Inherited from BicepValue)
IBicepValue.Source

Gets information about where this value was assigned from.

(Inherited from BicepValue)

Extension Methods

Unwrap<T>(BicepValue<T>)

Unwrap the BicepValue from a model.

Applies to