Show / Hide Table of Contents

Class DeploymentInstance

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

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

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
bool
View Source

OrganizationName

Returns the current organization name.

Declaration
public string OrganizationName { get; }
Property Value
Type Description
string
View Source

ProjectName

Returns the current project name.

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

StackName

Returns the current stack name.

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

Methods

View Source

Call(string, CallArgs, Resource?, CallOptions?)

Same as Call<T>(string, CallArgs, Resource?, CallOptions?), however the return value is ignored.

Declaration
public void Call(string token, CallArgs args, Resource? self = null, CallOptions? options = null)
Parameters
Type Name Description
string token
CallArgs args
Resource self
CallOptions options
View Source

Call<T>(string, CallArgs, Resource?, CallOptions?)

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

The result of Call<T>(string, CallArgs, Resource?, CallOptions?) will be a Output<T> resolved to the result value of the provider plugin.

The args inputs can be a bag of computed values(including, `T`s, Task<TResult>s, Output<T>s etc.).
Declaration
public Output<T> Call<T>(string token, CallArgs args, Resource? self = null, CallOptions? options = null)
Parameters
Type Name Description
string token
CallArgs args
Resource self
CallOptions options
Returns
Type Description
Output<T>
Type Parameters
Name Description
T
View Source

Invoke<T>(string, InvokeArgs, InvokeOptions?)

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

The result of Invoke<T>(string, InvokeArgs, InvokeOptions?) will be a Output resolved to the result value of the provider plugin.

Similar to the earlier InvokeAsync(string, InvokeArgs, InvokeOptions?), but supports passing input values and returns an Output value.

The args inputs can be a bag of computed values(including, `T`s, Task<TResult>s, Output<T>s etc.).
Declaration
public Output<T> Invoke<T>(string token, InvokeArgs args, InvokeOptions? options = null)
Parameters
Type Name Description
string token
InvokeArgs args
InvokeOptions options
Returns
Type Description
Output<T>
Type Parameters
Name Description
T
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
string token
InvokeArgs args
InvokeOptions options
Returns
Type Description
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 Task resolved to the result value of the provider plugin.

The args inputs can be a bag of computed values(including, `T`s, Task<TResult>s, Output<T>s etc.).
Declaration
public Task<T> InvokeAsync<T>(string token, InvokeArgs args, InvokeOptions? options = null)
Parameters
Type Name Description
string token
InvokeArgs args
InvokeOptions options
Returns
Type Description
Task<T>
Type Parameters
Name Description
T
View Source

InvokeSingle<T>(string, InvokeArgs, InvokeOptions?)

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

The result of InvokeSingle<T>(string, InvokeArgs, InvokeOptions?) will be a Output resolved to the result value of the provider plugin.

Similar to the earlier InvokeSingleAsync<T>(string, InvokeArgs, InvokeOptions?), but supports passing input values and returns an Output value.

The args inputs can be a bag of computed values(including, `T`s, Task<TResult>s, Output<T>s etc.).
Declaration
public Output<T> InvokeSingle<T>(string token, InvokeArgs args, InvokeOptions? options = null)
Parameters
Type Name Description
string token
InvokeArgs args
InvokeOptions options
Returns
Type Description
Output<T>
Type Parameters
Name Description
T
View Source

InvokeSingleAsync<T>(string, InvokeArgs, InvokeOptions?)

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

The result of InvokeSingleAsync<T>(string, InvokeArgs, InvokeOptions?) will be a Task resolved to the result value of the provider plugin which is expected to be a dictionary with single value.

The args inputs can be a bag of computed values(including, `T`s, Task<TResult>s, Output<T>s etc.).
Declaration
public Task<T> InvokeSingleAsync<T>(string token, InvokeArgs args, InvokeOptions? options = null)
Parameters
Type Name Description
string token
InvokeArgs args
InvokeOptions options
Returns
Type Description
Task<T>
Type Parameters
Name Description
T
  • View Source
Back to top Copyright 2016-2023, Pulumi Corporation.