Dela via


BicepValue Class

Definition

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

public abstract class BicepValue : Azure.Provisioning.IBicepValue
public abstract class BicepValue
type BicepValue = class
    interface IBicepValue
type BicepValue = class
Public MustInherit Class BicepValue
Implements IBicepValue
Public MustInherit Class BicepValue
Inheritance
BicepValue
Derived
Implements

Properties

Expression
Kind

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

Methods

Compile()

Compile this value to a Bicep expression.

ToString()

Returns a string that represents the current object.

Operators

Explicit(BicepValue to BicepExpression)

Gets a bicep expression corresponding to this instance.

Explicit Interface Implementations

IBicepValue.Assign(IBicepValue)

Assign a value to this property.

IBicepValue.Expression

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

IBicepValue.IsOutput

Tracks whether this is an output only property.

IBicepValue.IsRequired

Tracks whether this property is required.

IBicepValue.IsSecure

Tracks whether this contains a secure value.

IBicepValue.Kind

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

IBicepValue.LiteralValue

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

IBicepValue.Self

Gets information about where this value was defined.

IBicepValue.SetReadOnly()

Make this value readonly.

IBicepValue.Source

Gets information about where this value was assigned from.

Applies to