Documentation
¶
Index ¶
- Constants
- type ErrorResponse
- type ErrorResponseOutput
- func (o ErrorResponseOutput) Context() pulumi.StringOutput
- func (ErrorResponseOutput) ElementType() reflect.Type
- func (o ErrorResponseOutput) Payload() pulumi.StringOutput
- func (o ErrorResponseOutput) StackTrace() StackTraceResponseOutput
- func (o ErrorResponseOutput) ToErrorResponseOutput() ErrorResponseOutput
- func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Context) ErrorResponseOutput
- type Execution
- type ExecutionArgs
- type ExecutionCallLogLevel
- func (ExecutionCallLogLevel) ElementType() reflect.Type
- func (e ExecutionCallLogLevel) ToExecutionCallLogLevelOutput() ExecutionCallLogLevelOutput
- func (e ExecutionCallLogLevel) ToExecutionCallLogLevelOutputWithContext(ctx context.Context) ExecutionCallLogLevelOutput
- func (e ExecutionCallLogLevel) ToExecutionCallLogLevelPtrOutput() ExecutionCallLogLevelPtrOutput
- func (e ExecutionCallLogLevel) ToExecutionCallLogLevelPtrOutputWithContext(ctx context.Context) ExecutionCallLogLevelPtrOutput
- func (e ExecutionCallLogLevel) ToStringOutput() pulumi.StringOutput
- func (e ExecutionCallLogLevel) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e ExecutionCallLogLevel) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e ExecutionCallLogLevel) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type ExecutionCallLogLevelInput
- type ExecutionCallLogLevelOutput
- func (ExecutionCallLogLevelOutput) ElementType() reflect.Type
- func (o ExecutionCallLogLevelOutput) ToExecutionCallLogLevelOutput() ExecutionCallLogLevelOutput
- func (o ExecutionCallLogLevelOutput) ToExecutionCallLogLevelOutputWithContext(ctx context.Context) ExecutionCallLogLevelOutput
- func (o ExecutionCallLogLevelOutput) ToExecutionCallLogLevelPtrOutput() ExecutionCallLogLevelPtrOutput
- func (o ExecutionCallLogLevelOutput) ToExecutionCallLogLevelPtrOutputWithContext(ctx context.Context) ExecutionCallLogLevelPtrOutput
- func (o ExecutionCallLogLevelOutput) ToStringOutput() pulumi.StringOutput
- func (o ExecutionCallLogLevelOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o ExecutionCallLogLevelOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o ExecutionCallLogLevelOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type ExecutionCallLogLevelPtrInput
- type ExecutionCallLogLevelPtrOutput
- func (o ExecutionCallLogLevelPtrOutput) Elem() ExecutionCallLogLevelOutput
- func (ExecutionCallLogLevelPtrOutput) ElementType() reflect.Type
- func (o ExecutionCallLogLevelPtrOutput) ToExecutionCallLogLevelPtrOutput() ExecutionCallLogLevelPtrOutput
- func (o ExecutionCallLogLevelPtrOutput) ToExecutionCallLogLevelPtrOutputWithContext(ctx context.Context) ExecutionCallLogLevelPtrOutput
- func (o ExecutionCallLogLevelPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o ExecutionCallLogLevelPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type ExecutionInput
- type ExecutionOutput
- func (o ExecutionOutput) Argument() pulumi.StringOutput
- func (o ExecutionOutput) CallLogLevel() pulumi.StringOutput
- func (ExecutionOutput) ElementType() reflect.Type
- func (o ExecutionOutput) EndTime() pulumi.StringOutput
- func (o ExecutionOutput) Error() ErrorResponseOutput
- func (o ExecutionOutput) Name() pulumi.StringOutput
- func (o ExecutionOutput) Result() pulumi.StringOutput
- func (o ExecutionOutput) StartTime() pulumi.StringOutput
- func (o ExecutionOutput) State() pulumi.StringOutput
- func (o ExecutionOutput) ToExecutionOutput() ExecutionOutput
- func (o ExecutionOutput) ToExecutionOutputWithContext(ctx context.Context) ExecutionOutput
- func (o ExecutionOutput) WorkflowRevisionId() pulumi.StringOutput
- type ExecutionState
- type LookupExecutionArgs
- type LookupExecutionOutputArgs
- type LookupExecutionResult
- type LookupExecutionResultOutput
- func (o LookupExecutionResultOutput) Argument() pulumi.StringOutput
- func (o LookupExecutionResultOutput) CallLogLevel() pulumi.StringOutput
- func (LookupExecutionResultOutput) ElementType() reflect.Type
- func (o LookupExecutionResultOutput) EndTime() pulumi.StringOutput
- func (o LookupExecutionResultOutput) Error() ErrorResponseOutput
- func (o LookupExecutionResultOutput) Name() pulumi.StringOutput
- func (o LookupExecutionResultOutput) Result() pulumi.StringOutput
- func (o LookupExecutionResultOutput) StartTime() pulumi.StringOutput
- func (o LookupExecutionResultOutput) State() pulumi.StringOutput
- func (o LookupExecutionResultOutput) ToLookupExecutionResultOutput() LookupExecutionResultOutput
- func (o LookupExecutionResultOutput) ToLookupExecutionResultOutputWithContext(ctx context.Context) LookupExecutionResultOutput
- func (o LookupExecutionResultOutput) WorkflowRevisionId() pulumi.StringOutput
- type PositionResponse
- type PositionResponseOutput
- func (o PositionResponseOutput) Column() pulumi.StringOutput
- func (PositionResponseOutput) ElementType() reflect.Type
- func (o PositionResponseOutput) Length() pulumi.StringOutput
- func (o PositionResponseOutput) Line() pulumi.StringOutput
- func (o PositionResponseOutput) ToPositionResponseOutput() PositionResponseOutput
- func (o PositionResponseOutput) ToPositionResponseOutputWithContext(ctx context.Context) PositionResponseOutput
- type StackTraceElementResponse
- type StackTraceElementResponseArrayOutput
- func (StackTraceElementResponseArrayOutput) ElementType() reflect.Type
- func (o StackTraceElementResponseArrayOutput) Index(i pulumi.IntInput) StackTraceElementResponseOutput
- func (o StackTraceElementResponseArrayOutput) ToStackTraceElementResponseArrayOutput() StackTraceElementResponseArrayOutput
- func (o StackTraceElementResponseArrayOutput) ToStackTraceElementResponseArrayOutputWithContext(ctx context.Context) StackTraceElementResponseArrayOutput
- type StackTraceElementResponseOutput
- func (StackTraceElementResponseOutput) ElementType() reflect.Type
- func (o StackTraceElementResponseOutput) Position() PositionResponseOutput
- func (o StackTraceElementResponseOutput) Routine() pulumi.StringOutput
- func (o StackTraceElementResponseOutput) Step() pulumi.StringOutput
- func (o StackTraceElementResponseOutput) ToStackTraceElementResponseOutput() StackTraceElementResponseOutput
- func (o StackTraceElementResponseOutput) ToStackTraceElementResponseOutputWithContext(ctx context.Context) StackTraceElementResponseOutput
- type StackTraceResponse
- type StackTraceResponseOutput
- func (StackTraceResponseOutput) ElementType() reflect.Type
- func (o StackTraceResponseOutput) Elements() StackTraceElementResponseArrayOutput
- func (o StackTraceResponseOutput) ToStackTraceResponseOutput() StackTraceResponseOutput
- func (o StackTraceResponseOutput) ToStackTraceResponseOutputWithContext(ctx context.Context) StackTraceResponseOutput
Constants ¶
const ( // No call logging specified. ExecutionCallLogLevelCallLogLevelUnspecified = ExecutionCallLogLevel("CALL_LOG_LEVEL_UNSPECIFIED") // Log all call steps within workflows, all call returns, and all exceptions raised. ExecutionCallLogLevelLogAllCalls = ExecutionCallLogLevel("LOG_ALL_CALLS") // Log only exceptions that are raised from call steps within workflows. ExecutionCallLogLevelLogErrorsOnly = ExecutionCallLogLevel("LOG_ERRORS_ONLY") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct { // Human-readable stack trace string. Context string `pulumi:"context"` // Error message and data returned represented as a JSON string. Payload string `pulumi:"payload"` // Stack trace with detailed information of where error was generated. StackTrace StackTraceResponse `pulumi:"stackTrace"` }
Error describes why the execution was abnormally terminated.
type ErrorResponseOutput ¶
type ErrorResponseOutput struct{ *pulumi.OutputState }
Error describes why the execution was abnormally terminated.
func (ErrorResponseOutput) Context ¶
func (o ErrorResponseOutput) Context() pulumi.StringOutput
Human-readable stack trace string.
func (ErrorResponseOutput) ElementType ¶
func (ErrorResponseOutput) ElementType() reflect.Type
func (ErrorResponseOutput) Payload ¶
func (o ErrorResponseOutput) Payload() pulumi.StringOutput
Error message and data returned represented as a JSON string.
func (ErrorResponseOutput) StackTrace ¶
func (o ErrorResponseOutput) StackTrace() StackTraceResponseOutput
Stack trace with detailed information of where error was generated.
func (ErrorResponseOutput) ToErrorResponseOutput ¶
func (o ErrorResponseOutput) ToErrorResponseOutput() ErrorResponseOutput
func (ErrorResponseOutput) ToErrorResponseOutputWithContext ¶
func (o ErrorResponseOutput) ToErrorResponseOutputWithContext(ctx context.Context) ErrorResponseOutput
type Execution ¶ added in v0.3.0
type Execution struct { pulumi.CustomResourceState // Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'` Argument pulumi.StringOutput `pulumi:"argument"` // The call logging level associated to this execution. CallLogLevel pulumi.StringOutput `pulumi:"callLogLevel"` // Marks the end of execution, successful or not. EndTime pulumi.StringOutput `pulumi:"endTime"` // The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`. Error ErrorResponseOutput `pulumi:"error"` // The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} Name pulumi.StringOutput `pulumi:"name"` // Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`. Result pulumi.StringOutput `pulumi:"result"` // Marks the beginning of execution. StartTime pulumi.StringOutput `pulumi:"startTime"` // Current state of the execution. State pulumi.StringOutput `pulumi:"state"` // Revision of the workflow this execution is using. WorkflowRevisionId pulumi.StringOutput `pulumi:"workflowRevisionId"` }
Creates a new execution using the latest revision of the given workflow. Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
func GetExecution ¶ added in v0.3.0
func GetExecution(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ExecutionState, opts ...pulumi.ResourceOption) (*Execution, error)
GetExecution gets an existing Execution resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewExecution ¶ added in v0.3.0
func NewExecution(ctx *pulumi.Context, name string, args *ExecutionArgs, opts ...pulumi.ResourceOption) (*Execution, error)
NewExecution registers a new resource with the given unique name, arguments, and options.
func (*Execution) ElementType ¶ added in v0.3.0
func (*Execution) ToExecutionOutput ¶ added in v0.3.0
func (i *Execution) ToExecutionOutput() ExecutionOutput
func (*Execution) ToExecutionOutputWithContext ¶ added in v0.3.0
func (i *Execution) ToExecutionOutputWithContext(ctx context.Context) ExecutionOutput
type ExecutionArgs ¶ added in v0.3.0
type ExecutionArgs struct { // Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'` Argument pulumi.StringPtrInput // The call logging level associated to this execution. CallLogLevel ExecutionCallLogLevelPtrInput Location pulumi.StringPtrInput Project pulumi.StringPtrInput WorkflowId pulumi.StringInput }
The set of arguments for constructing a Execution resource.
func (ExecutionArgs) ElementType ¶ added in v0.3.0
func (ExecutionArgs) ElementType() reflect.Type
type ExecutionCallLogLevel ¶ added in v0.8.0
type ExecutionCallLogLevel string
The call logging level associated to this execution.
func (ExecutionCallLogLevel) ElementType ¶ added in v0.8.0
func (ExecutionCallLogLevel) ElementType() reflect.Type
func (ExecutionCallLogLevel) ToExecutionCallLogLevelOutput ¶ added in v0.8.0
func (e ExecutionCallLogLevel) ToExecutionCallLogLevelOutput() ExecutionCallLogLevelOutput
func (ExecutionCallLogLevel) ToExecutionCallLogLevelOutputWithContext ¶ added in v0.8.0
func (e ExecutionCallLogLevel) ToExecutionCallLogLevelOutputWithContext(ctx context.Context) ExecutionCallLogLevelOutput
func (ExecutionCallLogLevel) ToExecutionCallLogLevelPtrOutput ¶ added in v0.8.0
func (e ExecutionCallLogLevel) ToExecutionCallLogLevelPtrOutput() ExecutionCallLogLevelPtrOutput
func (ExecutionCallLogLevel) ToExecutionCallLogLevelPtrOutputWithContext ¶ added in v0.8.0
func (e ExecutionCallLogLevel) ToExecutionCallLogLevelPtrOutputWithContext(ctx context.Context) ExecutionCallLogLevelPtrOutput
func (ExecutionCallLogLevel) ToStringOutput ¶ added in v0.8.0
func (e ExecutionCallLogLevel) ToStringOutput() pulumi.StringOutput
func (ExecutionCallLogLevel) ToStringOutputWithContext ¶ added in v0.8.0
func (e ExecutionCallLogLevel) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (ExecutionCallLogLevel) ToStringPtrOutput ¶ added in v0.8.0
func (e ExecutionCallLogLevel) ToStringPtrOutput() pulumi.StringPtrOutput
func (ExecutionCallLogLevel) ToStringPtrOutputWithContext ¶ added in v0.8.0
func (e ExecutionCallLogLevel) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type ExecutionCallLogLevelInput ¶ added in v0.8.0
type ExecutionCallLogLevelInput interface { pulumi.Input ToExecutionCallLogLevelOutput() ExecutionCallLogLevelOutput ToExecutionCallLogLevelOutputWithContext(context.Context) ExecutionCallLogLevelOutput }
ExecutionCallLogLevelInput is an input type that accepts ExecutionCallLogLevelArgs and ExecutionCallLogLevelOutput values. You can construct a concrete instance of `ExecutionCallLogLevelInput` via:
ExecutionCallLogLevelArgs{...}
type ExecutionCallLogLevelOutput ¶ added in v0.8.0
type ExecutionCallLogLevelOutput struct{ *pulumi.OutputState }
func (ExecutionCallLogLevelOutput) ElementType ¶ added in v0.8.0
func (ExecutionCallLogLevelOutput) ElementType() reflect.Type
func (ExecutionCallLogLevelOutput) ToExecutionCallLogLevelOutput ¶ added in v0.8.0
func (o ExecutionCallLogLevelOutput) ToExecutionCallLogLevelOutput() ExecutionCallLogLevelOutput
func (ExecutionCallLogLevelOutput) ToExecutionCallLogLevelOutputWithContext ¶ added in v0.8.0
func (o ExecutionCallLogLevelOutput) ToExecutionCallLogLevelOutputWithContext(ctx context.Context) ExecutionCallLogLevelOutput
func (ExecutionCallLogLevelOutput) ToExecutionCallLogLevelPtrOutput ¶ added in v0.8.0
func (o ExecutionCallLogLevelOutput) ToExecutionCallLogLevelPtrOutput() ExecutionCallLogLevelPtrOutput
func (ExecutionCallLogLevelOutput) ToExecutionCallLogLevelPtrOutputWithContext ¶ added in v0.8.0
func (o ExecutionCallLogLevelOutput) ToExecutionCallLogLevelPtrOutputWithContext(ctx context.Context) ExecutionCallLogLevelPtrOutput
func (ExecutionCallLogLevelOutput) ToStringOutput ¶ added in v0.8.0
func (o ExecutionCallLogLevelOutput) ToStringOutput() pulumi.StringOutput
func (ExecutionCallLogLevelOutput) ToStringOutputWithContext ¶ added in v0.8.0
func (o ExecutionCallLogLevelOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (ExecutionCallLogLevelOutput) ToStringPtrOutput ¶ added in v0.8.0
func (o ExecutionCallLogLevelOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (ExecutionCallLogLevelOutput) ToStringPtrOutputWithContext ¶ added in v0.8.0
func (o ExecutionCallLogLevelOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type ExecutionCallLogLevelPtrInput ¶ added in v0.8.0
type ExecutionCallLogLevelPtrInput interface { pulumi.Input ToExecutionCallLogLevelPtrOutput() ExecutionCallLogLevelPtrOutput ToExecutionCallLogLevelPtrOutputWithContext(context.Context) ExecutionCallLogLevelPtrOutput }
func ExecutionCallLogLevelPtr ¶ added in v0.8.0
func ExecutionCallLogLevelPtr(v string) ExecutionCallLogLevelPtrInput
type ExecutionCallLogLevelPtrOutput ¶ added in v0.8.0
type ExecutionCallLogLevelPtrOutput struct{ *pulumi.OutputState }
func (ExecutionCallLogLevelPtrOutput) Elem ¶ added in v0.8.0
func (o ExecutionCallLogLevelPtrOutput) Elem() ExecutionCallLogLevelOutput
func (ExecutionCallLogLevelPtrOutput) ElementType ¶ added in v0.8.0
func (ExecutionCallLogLevelPtrOutput) ElementType() reflect.Type
func (ExecutionCallLogLevelPtrOutput) ToExecutionCallLogLevelPtrOutput ¶ added in v0.8.0
func (o ExecutionCallLogLevelPtrOutput) ToExecutionCallLogLevelPtrOutput() ExecutionCallLogLevelPtrOutput
func (ExecutionCallLogLevelPtrOutput) ToExecutionCallLogLevelPtrOutputWithContext ¶ added in v0.8.0
func (o ExecutionCallLogLevelPtrOutput) ToExecutionCallLogLevelPtrOutputWithContext(ctx context.Context) ExecutionCallLogLevelPtrOutput
func (ExecutionCallLogLevelPtrOutput) ToStringPtrOutput ¶ added in v0.8.0
func (o ExecutionCallLogLevelPtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (ExecutionCallLogLevelPtrOutput) ToStringPtrOutputWithContext ¶ added in v0.8.0
func (o ExecutionCallLogLevelPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type ExecutionInput ¶ added in v0.3.0
type ExecutionInput interface { pulumi.Input ToExecutionOutput() ExecutionOutput ToExecutionOutputWithContext(ctx context.Context) ExecutionOutput }
type ExecutionOutput ¶ added in v0.3.0
type ExecutionOutput struct{ *pulumi.OutputState }
func (ExecutionOutput) Argument ¶ added in v0.19.0
func (o ExecutionOutput) Argument() pulumi.StringOutput
Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
func (ExecutionOutput) CallLogLevel ¶ added in v0.19.0
func (o ExecutionOutput) CallLogLevel() pulumi.StringOutput
The call logging level associated to this execution.
func (ExecutionOutput) ElementType ¶ added in v0.3.0
func (ExecutionOutput) ElementType() reflect.Type
func (ExecutionOutput) EndTime ¶ added in v0.19.0
func (o ExecutionOutput) EndTime() pulumi.StringOutput
Marks the end of execution, successful or not.
func (ExecutionOutput) Error ¶ added in v0.19.0
func (o ExecutionOutput) Error() ErrorResponseOutput
The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`.
func (ExecutionOutput) Name ¶ added in v0.19.0
func (o ExecutionOutput) Name() pulumi.StringOutput
The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
func (ExecutionOutput) Result ¶ added in v0.19.0
func (o ExecutionOutput) Result() pulumi.StringOutput
Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`.
func (ExecutionOutput) StartTime ¶ added in v0.19.0
func (o ExecutionOutput) StartTime() pulumi.StringOutput
Marks the beginning of execution.
func (ExecutionOutput) State ¶ added in v0.19.0
func (o ExecutionOutput) State() pulumi.StringOutput
Current state of the execution.
func (ExecutionOutput) ToExecutionOutput ¶ added in v0.3.0
func (o ExecutionOutput) ToExecutionOutput() ExecutionOutput
func (ExecutionOutput) ToExecutionOutputWithContext ¶ added in v0.3.0
func (o ExecutionOutput) ToExecutionOutputWithContext(ctx context.Context) ExecutionOutput
func (ExecutionOutput) WorkflowRevisionId ¶ added in v0.19.0
func (o ExecutionOutput) WorkflowRevisionId() pulumi.StringOutput
Revision of the workflow this execution is using.
type ExecutionState ¶ added in v0.3.0
type ExecutionState struct { }
func (ExecutionState) ElementType ¶ added in v0.3.0
func (ExecutionState) ElementType() reflect.Type
type LookupExecutionArgs ¶ added in v0.4.0
type LookupExecutionOutputArgs ¶ added in v0.8.0
type LookupExecutionOutputArgs struct { ExecutionId pulumi.StringInput `pulumi:"executionId"` Location pulumi.StringInput `pulumi:"location"` Project pulumi.StringPtrInput `pulumi:"project"` View pulumi.StringPtrInput `pulumi:"view"` WorkflowId pulumi.StringInput `pulumi:"workflowId"` }
func (LookupExecutionOutputArgs) ElementType ¶ added in v0.8.0
func (LookupExecutionOutputArgs) ElementType() reflect.Type
type LookupExecutionResult ¶ added in v0.4.0
type LookupExecutionResult struct { // Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'` Argument string `pulumi:"argument"` // The call logging level associated to this execution. CallLogLevel string `pulumi:"callLogLevel"` // Marks the end of execution, successful or not. EndTime string `pulumi:"endTime"` // The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`. Error ErrorResponse `pulumi:"error"` // The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} Name string `pulumi:"name"` // Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`. Result string `pulumi:"result"` // Marks the beginning of execution. StartTime string `pulumi:"startTime"` // Current state of the execution. State string `pulumi:"state"` // Revision of the workflow this execution is using. WorkflowRevisionId string `pulumi:"workflowRevisionId"` }
func LookupExecution ¶ added in v0.4.0
func LookupExecution(ctx *pulumi.Context, args *LookupExecutionArgs, opts ...pulumi.InvokeOption) (*LookupExecutionResult, error)
Returns an execution of the given name.
type LookupExecutionResultOutput ¶ added in v0.8.0
type LookupExecutionResultOutput struct{ *pulumi.OutputState }
func LookupExecutionOutput ¶ added in v0.8.0
func LookupExecutionOutput(ctx *pulumi.Context, args LookupExecutionOutputArgs, opts ...pulumi.InvokeOption) LookupExecutionResultOutput
func (LookupExecutionResultOutput) Argument ¶ added in v0.8.0
func (o LookupExecutionResultOutput) Argument() pulumi.StringOutput
Input parameters of the execution represented as a JSON string. The size limit is 32KB. *Note*: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
func (LookupExecutionResultOutput) CallLogLevel ¶ added in v0.8.0
func (o LookupExecutionResultOutput) CallLogLevel() pulumi.StringOutput
The call logging level associated to this execution.
func (LookupExecutionResultOutput) ElementType ¶ added in v0.8.0
func (LookupExecutionResultOutput) ElementType() reflect.Type
func (LookupExecutionResultOutput) EndTime ¶ added in v0.8.0
func (o LookupExecutionResultOutput) EndTime() pulumi.StringOutput
Marks the end of execution, successful or not.
func (LookupExecutionResultOutput) Error ¶ added in v0.8.0
func (o LookupExecutionResultOutput) Error() ErrorResponseOutput
The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`.
func (LookupExecutionResultOutput) Name ¶ added in v0.8.0
func (o LookupExecutionResultOutput) Name() pulumi.StringOutput
The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
func (LookupExecutionResultOutput) Result ¶ added in v0.8.0
func (o LookupExecutionResultOutput) Result() pulumi.StringOutput
Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`.
func (LookupExecutionResultOutput) StartTime ¶ added in v0.8.0
func (o LookupExecutionResultOutput) StartTime() pulumi.StringOutput
Marks the beginning of execution.
func (LookupExecutionResultOutput) State ¶ added in v0.8.0
func (o LookupExecutionResultOutput) State() pulumi.StringOutput
Current state of the execution.
func (LookupExecutionResultOutput) ToLookupExecutionResultOutput ¶ added in v0.8.0
func (o LookupExecutionResultOutput) ToLookupExecutionResultOutput() LookupExecutionResultOutput
func (LookupExecutionResultOutput) ToLookupExecutionResultOutputWithContext ¶ added in v0.8.0
func (o LookupExecutionResultOutput) ToLookupExecutionResultOutputWithContext(ctx context.Context) LookupExecutionResultOutput
func (LookupExecutionResultOutput) WorkflowRevisionId ¶ added in v0.8.0
func (o LookupExecutionResultOutput) WorkflowRevisionId() pulumi.StringOutput
Revision of the workflow this execution is using.
type PositionResponse ¶
type PositionResponse struct { // The source code column position (of the line) the current instruction was generated from. Column string `pulumi:"column"` // The number of bytes of source code making up this stack trace element. Length string `pulumi:"length"` // The source code line number the current instruction was generated from. Line string `pulumi:"line"` }
Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes.
type PositionResponseOutput ¶
type PositionResponseOutput struct{ *pulumi.OutputState }
Position contains source position information about the stack trace element such as line number, column number and length of the code block in bytes.
func (PositionResponseOutput) Column ¶
func (o PositionResponseOutput) Column() pulumi.StringOutput
The source code column position (of the line) the current instruction was generated from.
func (PositionResponseOutput) ElementType ¶
func (PositionResponseOutput) ElementType() reflect.Type
func (PositionResponseOutput) Length ¶
func (o PositionResponseOutput) Length() pulumi.StringOutput
The number of bytes of source code making up this stack trace element.
func (PositionResponseOutput) Line ¶
func (o PositionResponseOutput) Line() pulumi.StringOutput
The source code line number the current instruction was generated from.
func (PositionResponseOutput) ToPositionResponseOutput ¶
func (o PositionResponseOutput) ToPositionResponseOutput() PositionResponseOutput
func (PositionResponseOutput) ToPositionResponseOutputWithContext ¶
func (o PositionResponseOutput) ToPositionResponseOutputWithContext(ctx context.Context) PositionResponseOutput
type StackTraceElementResponse ¶
type StackTraceElementResponse struct { // The source position information of the stack trace element. Position PositionResponse `pulumi:"position"` // The routine where the error occurred. Routine string `pulumi:"routine"` // The step the error occurred at. Step string `pulumi:"step"` }
A single stack element (frame) where an error occurred.
type StackTraceElementResponseArrayOutput ¶
type StackTraceElementResponseArrayOutput struct{ *pulumi.OutputState }
func (StackTraceElementResponseArrayOutput) ElementType ¶
func (StackTraceElementResponseArrayOutput) ElementType() reflect.Type
func (StackTraceElementResponseArrayOutput) Index ¶
func (o StackTraceElementResponseArrayOutput) Index(i pulumi.IntInput) StackTraceElementResponseOutput
func (StackTraceElementResponseArrayOutput) ToStackTraceElementResponseArrayOutput ¶
func (o StackTraceElementResponseArrayOutput) ToStackTraceElementResponseArrayOutput() StackTraceElementResponseArrayOutput
func (StackTraceElementResponseArrayOutput) ToStackTraceElementResponseArrayOutputWithContext ¶
func (o StackTraceElementResponseArrayOutput) ToStackTraceElementResponseArrayOutputWithContext(ctx context.Context) StackTraceElementResponseArrayOutput
type StackTraceElementResponseOutput ¶
type StackTraceElementResponseOutput struct{ *pulumi.OutputState }
A single stack element (frame) where an error occurred.
func (StackTraceElementResponseOutput) ElementType ¶
func (StackTraceElementResponseOutput) ElementType() reflect.Type
func (StackTraceElementResponseOutput) Position ¶
func (o StackTraceElementResponseOutput) Position() PositionResponseOutput
The source position information of the stack trace element.
func (StackTraceElementResponseOutput) Routine ¶
func (o StackTraceElementResponseOutput) Routine() pulumi.StringOutput
The routine where the error occurred.
func (StackTraceElementResponseOutput) Step ¶
func (o StackTraceElementResponseOutput) Step() pulumi.StringOutput
The step the error occurred at.
func (StackTraceElementResponseOutput) ToStackTraceElementResponseOutput ¶
func (o StackTraceElementResponseOutput) ToStackTraceElementResponseOutput() StackTraceElementResponseOutput
func (StackTraceElementResponseOutput) ToStackTraceElementResponseOutputWithContext ¶
func (o StackTraceElementResponseOutput) ToStackTraceElementResponseOutputWithContext(ctx context.Context) StackTraceElementResponseOutput
type StackTraceResponse ¶
type StackTraceResponse struct { // An array of stack elements. Elements []StackTraceElementResponse `pulumi:"elements"` }
A collection of stack elements (frames) where an error occurred.
type StackTraceResponseOutput ¶
type StackTraceResponseOutput struct{ *pulumi.OutputState }
A collection of stack elements (frames) where an error occurred.
func (StackTraceResponseOutput) ElementType ¶
func (StackTraceResponseOutput) ElementType() reflect.Type
func (StackTraceResponseOutput) Elements ¶
func (o StackTraceResponseOutput) Elements() StackTraceElementResponseArrayOutput
An array of stack elements.
func (StackTraceResponseOutput) ToStackTraceResponseOutput ¶
func (o StackTraceResponseOutput) ToStackTraceResponseOutput() StackTraceResponseOutput
func (StackTraceResponseOutput) ToStackTraceResponseOutputWithContext ¶
func (o StackTraceResponseOutput) ToStackTraceResponseOutputWithContext(ctx context.Context) StackTraceResponseOutput