Show / Hide Table of Contents

Class Deployment (mod)

Pulumi deployment functions.

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

Methods

val run: unit -> IDictionary<string,obj> -> int

Runs a function as a Pulumi Deployment (mod). Blocks internally until the provided function completes, so that this function could be used directly from the main function.

Declaration
val run: f:unit -> IDictionary<string,obj> -> int
Parameters
Type Name Description
unit -> System.Collections.Generic.IDictionary<string,obj> f
Returns
Type Description
int

val runAsync: unit -> Async<IDictionary<string,obj>> -> int

Runs an async function as a Pulumi Deployment (mod). Blocks internally until the provided function completes, so that this function could be used directly from the main function.

Declaration
val runAsync: f:unit -> Async<IDictionary<string,obj>> -> int
Parameters
Type Name Description
unit -> FSharp.Control.Async<System.Collections.Generic.IDictionary<string,obj>> f
Returns
Type Description
int

val runAsyncWithOptions: unit -> Async<IDictionary<string,obj>> -> StackOptions -> int

Runs an async function as a Pulumi Deployment (mod). Blocks internally until the provided function completes, so that this function could be used directly from the main function. StackOptions can be provided to the deployment.

Declaration
val runAsyncWithOptions: f:unit -> Async<IDictionary<string,obj>> -> options:StackOptions -> int
Parameters
Type Name Description
unit -> FSharp.Control.Async<System.Collections.Generic.IDictionary<string,obj>> f
StackOptions options
Returns
Type Description
int

val runTask: unit -> Task<IDictionary<string,obj>> -> int

Runs a task function as a Pulumi Deployment (mod). Blocks internally until the provided function completes, so that this function could be used directly from the main function.

Declaration
val runTask: f:unit -> Task<IDictionary<string,obj>> -> int
Parameters
Type Name Description
unit -> System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<string,obj>> f
Returns
Type Description
int

val runTaskWithOptions: unit -> Task<IDictionary<string,obj>> -> StackOptions -> int

Runs a task function as a Pulumi Deployment (mod). Blocks internally until the provided function completes, so that this function could be used directly from the main function. StackOptions can be provided to the deployment.

Declaration
val runTaskWithOptions: f:unit -> Task<IDictionary<string,obj>> -> options:StackOptions -> int
Parameters
Type Name Description
unit -> System.Threading.Tasks.Task<System.Collections.Generic.IDictionary<string,obj>> f
StackOptions options
Returns
Type Description
int
Back to top Copyright 2016-2022, Pulumi Corporation.