你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IBicepValue Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |