BicepValueExtensions.Unwrap<T>(BicepValue<T>) Method

Definition

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.

Applies to