Add F# operators for InputUnion (#4699)
This commit is contained in:
parent
f613b6917b
commit
1bdfd3dd41
|
@ -3,6 +3,9 @@ CHANGELOG
|
|||
|
||||
## HEAD (Unreleased)
|
||||
|
||||
- Add F# operators for InputUnion.
|
||||
[#4699](https://github.com/pulumi/pulumi/pull/4699)
|
||||
|
||||
- Add support for untagged outputs in Go SDK.
|
||||
[#4640](https://github.com/pulumi/pulumi/pull/4640)
|
||||
|
||||
|
|
|
@ -33,6 +33,17 @@ module Ops =
|
|||
result.Add item
|
||||
result
|
||||
|
||||
/// <summary>
|
||||
/// Wraps a raw value for the first type into an <see cref="InputUnion{'a,'b}" />.
|
||||
/// </summary>
|
||||
let inputUnion1Of2<'a, 'b> (valA: 'a) = InputUnion<'a, 'b>.op_Implicit(valA)
|
||||
|
||||
/// <summary>
|
||||
/// Wraps a raw value for the second type into an <see cref="InputUnion{'a,'b}" />.
|
||||
/// </summary>
|
||||
let inputUnion2Of2<'a, 'b> (valB: 'b) = InputUnion<'a, 'b>.op_Implicit(valB)
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Pulumi deployment functions.
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in a new issue