Class DeploymentInstance
Metadata of the deployment that is currently running. Accessible via Instance.
Inheritance
Inherited Members
Namespace: Pulumi
Assembly: Pulumi.dll
Syntax
public sealed class DeploymentInstance
Properties
View SourceIsDryRun
Whether or not the application is currently being previewed or actually applied.
Declaration
public bool IsDryRun { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
OrganizationName
Returns the current organization name.
Declaration
public string OrganizationName { get; }
Property Value
Type | Description |
---|---|
System.String |
ProjectName
Returns the current project name.
Declaration
public string ProjectName { get; }
Property Value
Type | Description |
---|---|
System.String |
StackName
Returns the current stack name.
Declaration
public string StackName { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
View SourceCall(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 |
---|---|---|
System.String | token | |
CallArgs | args | |
Resource | self | |
CallOptions | options |
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,
System.Threading.Tasks.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 |
---|---|---|
System.String | token | |
CallArgs | args | |
Resource | self | |
CallOptions | options |
Returns
Type | Description |
---|---|
Output<T> |
Type Parameters
Name | Description |
---|---|
T |
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,
System.Threading.Tasks.Task<TResult>s, Output<T>s etc.).
Declaration
public Output<T> Invoke<T>(string token, InvokeArgs args, InvokeOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | token | |
InvokeArgs | args | |
InvokeOptions | options |
Returns
Type | Description |
---|---|
Output<T> |
Type Parameters
Name | Description |
---|---|
T |
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 |
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 |