Show / Hide Table of Contents

Class DeploymentInstance

Metadata of the deployment that is currently running. Accessible via Instance.

Inheritance
System.Object
DeploymentInstance
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi
Assembly: Pulumi.dll
Syntax
public sealed class DeploymentInstance : IDeployment

Properties

View Source

IsDryRun

Whether or not the application is currently being previewed or actually applied.

Declaration
public bool IsDryRun { get; }
Property Value
Type Description
System.Boolean
View Source

ProjectName

Returns the current project name.

Declaration
public string ProjectName { get; }
Property Value
Type Description
System.String
View Source

StackName

Returns the current stack name.

Declaration
public string StackName { get; }
Property Value
Type Description
System.String

Methods

View Source

InvokeAsync(String, InvokeArgs, InvokeOptions)

Same as InvokeAsync<T>(String, InvokeArgs, InvokeOptions), however the return value is ignored.

Declaration
public Task InvokeAsync(string token, InvokeArgs args, InvokeOptions options = null)
Parameters
Type Name Description
System.String token
InvokeArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task
View Source

InvokeAsync<T>(String, InvokeArgs, InvokeOptions)

Dynamically invokes the function 'token', which is offered by a provider plugin.

The result of InvokeAsync(String, InvokeArgs, InvokeOptions) will be a System.Threading.Tasks.Task resolved to the result value of the provider plugin.

The args inputs can be a bag of computed values(including, `T`s, System.Threading.Tasks.Task<TResult>s, Output<T>s etc.).

Declaration
public Task<T> InvokeAsync<T>(string token, InvokeArgs args, InvokeOptions options = null)
Parameters
Type Name Description
System.String token
InvokeArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<T>
Type Parameters
Name Description
T
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.