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) Location() pulumi.StringOutput
- func (o ExecutionOutput) Name() pulumi.StringOutput
- func (o ExecutionOutput) Project() pulumi.StringOutput
- func (o ExecutionOutput) Result() pulumi.StringOutput
- func (o ExecutionOutput) StartTime() pulumi.StringOutput
- func (o ExecutionOutput) State() pulumi.StringOutput
- func (o ExecutionOutput) Status() StatusResponseOutput
- func (o ExecutionOutput) ToExecutionOutput() ExecutionOutput
- func (o ExecutionOutput) ToExecutionOutputWithContext(ctx context.Context) ExecutionOutput
- func (o ExecutionOutput) WorkflowId() pulumi.StringOutput
- 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) Status() StatusResponseOutput
- 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
- type StatusResponse
- type StatusResponseOutput
- func (o StatusResponseOutput) CurrentSteps() StepResponseArrayOutput
- func (StatusResponseOutput) ElementType() reflect.Type
- func (o StatusResponseOutput) ToStatusResponseOutput() StatusResponseOutput
- func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Context) StatusResponseOutput
- type StepResponse
- type StepResponseArrayOutput
- func (StepResponseArrayOutput) ElementType() reflect.Type
- func (o StepResponseArrayOutput) Index(i pulumi.IntInput) StepResponseOutput
- func (o StepResponseArrayOutput) ToStepResponseArrayOutput() StepResponseArrayOutput
- func (o StepResponseArrayOutput) ToStepResponseArrayOutputWithContext(ctx context.Context) StepResponseArrayOutput
- type StepResponseOutput
- func (StepResponseOutput) ElementType() reflect.Type
- func (o StepResponseOutput) Routine() pulumi.StringOutput
- func (o StepResponseOutput) Step() pulumi.StringOutput
- func (o StepResponseOutput) ToStepResponseOutput() StepResponseOutput
- func (o StepResponseOutput) ToStepResponseOutputWithContext(ctx context.Context) StepResponseOutput
Constants ¶
const ( // No call logging level 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"` Location pulumi.StringOutput `pulumi:"location"` // The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} Name pulumi.StringOutput `pulumi:"name"` Project pulumi.StringOutput `pulumi:"project"` // 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"` // Status tracks the current steps and progress data of this execution. Status StatusResponseOutput `pulumi:"status"` WorkflowId pulumi.StringOutput `pulumi:"workflowId"` // 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) Location ¶ added in v0.21.0
func (o ExecutionOutput) Location() pulumi.StringOutput
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) Project ¶ added in v0.21.0
func (o ExecutionOutput) Project() pulumi.StringOutput
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) Status ¶ added in v0.26.0
func (o ExecutionOutput) Status() StatusResponseOutput
Status tracks the current steps and progress data of this 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) WorkflowId ¶ added in v0.21.0
func (o ExecutionOutput) WorkflowId() pulumi.StringOutput
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"` // Status tracks the current steps and progress data of this execution. Status StatusResponse `pulumi:"status"` // 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) Status ¶ added in v0.26.0
func (o LookupExecutionResultOutput) Status() StatusResponseOutput
Status tracks the current steps and progress data of this 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
type StatusResponse ¶ added in v0.26.0
type StatusResponse struct { // A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the `main` subworkflow, and ending with the most deeply nested step. CurrentSteps []StepResponse `pulumi:"currentSteps"` }
Represents the current status of this execution.
type StatusResponseOutput ¶ added in v0.26.0
type StatusResponseOutput struct{ *pulumi.OutputState }
Represents the current status of this execution.
func (StatusResponseOutput) CurrentSteps ¶ added in v0.26.0
func (o StatusResponseOutput) CurrentSteps() StepResponseArrayOutput
A list of currently executing or last executed step names for the workflow execution currently running. If the workflow has succeeded or failed, this is the last attempted or executed step. Presently, if the current step is inside a subworkflow, the list only includes that step. In the future, the list will contain items for each step in the call stack, starting with the outermost step in the `main` subworkflow, and ending with the most deeply nested step.
func (StatusResponseOutput) ElementType ¶ added in v0.26.0
func (StatusResponseOutput) ElementType() reflect.Type
func (StatusResponseOutput) ToStatusResponseOutput ¶ added in v0.26.0
func (o StatusResponseOutput) ToStatusResponseOutput() StatusResponseOutput
func (StatusResponseOutput) ToStatusResponseOutputWithContext ¶ added in v0.26.0
func (o StatusResponseOutput) ToStatusResponseOutputWithContext(ctx context.Context) StatusResponseOutput
type StepResponse ¶ added in v0.26.0
type StepResponse struct { // Name of a routine within the workflow. Routine string `pulumi:"routine"` // Name of a step within the routine. Step string `pulumi:"step"` }
Represents a step of the workflow this execution is running.
type StepResponseArrayOutput ¶ added in v0.26.0
type StepResponseArrayOutput struct{ *pulumi.OutputState }
func (StepResponseArrayOutput) ElementType ¶ added in v0.26.0
func (StepResponseArrayOutput) ElementType() reflect.Type
func (StepResponseArrayOutput) Index ¶ added in v0.26.0
func (o StepResponseArrayOutput) Index(i pulumi.IntInput) StepResponseOutput
func (StepResponseArrayOutput) ToStepResponseArrayOutput ¶ added in v0.26.0
func (o StepResponseArrayOutput) ToStepResponseArrayOutput() StepResponseArrayOutput
func (StepResponseArrayOutput) ToStepResponseArrayOutputWithContext ¶ added in v0.26.0
func (o StepResponseArrayOutput) ToStepResponseArrayOutputWithContext(ctx context.Context) StepResponseArrayOutput
type StepResponseOutput ¶ added in v0.26.0
type StepResponseOutput struct{ *pulumi.OutputState }
Represents a step of the workflow this execution is running.
func (StepResponseOutput) ElementType ¶ added in v0.26.0
func (StepResponseOutput) ElementType() reflect.Type
func (StepResponseOutput) Routine ¶ added in v0.26.0
func (o StepResponseOutput) Routine() pulumi.StringOutput
Name of a routine within the workflow.
func (StepResponseOutput) Step ¶ added in v0.26.0
func (o StepResponseOutput) Step() pulumi.StringOutput
Name of a step within the routine.
func (StepResponseOutput) ToStepResponseOutput ¶ added in v0.26.0
func (o StepResponseOutput) ToStepResponseOutput() StepResponseOutput
func (StepResponseOutput) ToStepResponseOutputWithContext ¶ added in v0.26.0
func (o StepResponseOutput) ToStepResponseOutputWithContext(ctx context.Context) StepResponseOutput