Show / Hide Table of Contents

Class Outputs (mod)

Module containing utility functions to work with Output{T}'s.

Inheritance
Outputs (mod)
Namespace: Pulumi.FSharp
Assembly: Pulumi.FSharp.dll
Syntax
module Outputs

Methods

val all: List<Output<'a>> -> Output<List<'a>>

Combines a list of Output{'a} to produce an Output{List{'a}}.

Declaration
val all: values:List<Output<'a>> -> Output<List<'a>>
Parameters
Type Name Description
List<Output<'a>> values
Returns
Type Description
Output<List<'a>>
Type Parameters
Name Description
'a

val apply: 'a -> 'b -> Output<'a> -> Output<'b>

Transforms the data of Output{'a} with the provided function f. The result remains an Output{'b} so that dependent resources can be properly tracked.

Declaration
val apply: f:'a -> 'b -> output:Output<'a> -> Output<'b>
Parameters
Type Name Description
'a -> 'b f
Output<'a> output
Returns
Type Description
Output<'b>
Type Parameters
Name Description
'a
'b

val applyAsync: 'a -> Async<'b> -> Output<'a> -> Output<'b>

Transforms the data of Output{'a} with the provided asynchronous function f. The result remains an Output{'b} so that dependent resources can be properly tracked.

Declaration
val applyAsync: f:'a -> Async<'b> -> output:Output<'a> -> Output<'b>
Parameters
Type Name Description
'a -> FSharp.Control.Async<'b> f
Output<'a> output
Returns
Type Description
Output<'b>
Type Parameters
Name Description
'a
'b

val bind: 'a -> Output<'b> -> Output<'a> -> Output<'b>

Transforms the data of Output{'a} with the provided function f that returns Output{'b}. The result is flattened to an Output{'b}.

Declaration
val bind: f:'a -> Output<'b> -> output:Output<'a> -> Output<'b>
Parameters
Type Name Description
'a -> Output<'b> f
Output<'a> output
Returns
Type Description
Output<'b>
Type Parameters
Name Description
'a
'b

val pair: Output<'a> -> Output<'b> -> Output<'a * 'b>

Combines an Output{'a} with an Output{'b} to produce an Output{'a*'b}.

Declaration
val pair: a:Output<'a> -> b:Output<'b> -> Output<'a * 'b>
Parameters
Type Name Description
Output<'a> a
Output<'b> b
Returns
Type Description
Output<'a * 'b>
Type Parameters
Name Description
'a
'b

val pair3: Output<'a> -> Output<'b> -> Output<'c> -> Output<'a * 'b * 'c>

Combines three values of Output to produce a three-way tuple Output.

Declaration
val pair3: a:Output<'a> -> b:Output<'b> -> c:Output<'c> -> Output<'a * 'b * 'c>
Parameters
Type Name Description
Output<'a> a
Output<'b> b
Output<'c> c
Returns
Type Description
Output<'a * 'b * 'c>
Type Parameters
Name Description
'a
'b
'c

val pair4: Output<'a> -> Output<'b> -> Output<'c> -> Output<'d> -> Output<'a * 'b * 'c * 'd>

Combines four values of Output to produce a four-way tuple Output.

Declaration
val pair4: a:Output<'a> -> b:Output<'b> -> c:Output<'c> -> d:Output<'d> -> Output<'a * 'b * 'c * 'd>
Parameters
Type Name Description
Output<'a> a
Output<'b> b
Output<'c> c
Output<'d> d
Returns
Type Description
Output<'a * 'b * 'c * 'd>
Type Parameters
Name Description
'a
'b
'c
'd
Back to top Copyright 2016-2022, Pulumi Corporation.