BicepValueExtensions.Unwrap<T>(BicepValue<T>) Method
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.
Unwrap the BicepValue from a model.
public static T Unwrap<T> (this Azure.Provisioning.BicepValue<T> value) where T : Azure.Provisioning.Primitives.ProvisionableConstruct, new();
static member Unwrap : Azure.Provisioning.BicepValue<'T (requires 'T :> Azure.Provisioning.Primitives.ProvisionableConstruct and 'T : (new : unit -> 'T))> -> 'T (requires 'T :> Azure.Provisioning.Primitives.ProvisionableConstruct and 'T : (new : unit -> 'T))
<Extension()>
Public Function Unwrap(Of T As {ProvisionableConstructNew}) (value As BicepValue(Of T)) As T
Type Parameters
- T
Type of the model.
Parameters
- value
- BicepValue<T>
The value to unwrap.
Returns
T
An easily consumed model.