Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.workflowexecutions/v1beta.getExecution
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Returns an execution of the given name.
Using getExecution
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getExecution(args: GetExecutionArgs, opts?: InvokeOptions): Promise<GetExecutionResult>
function getExecutionOutput(args: GetExecutionOutputArgs, opts?: InvokeOptions): Output<GetExecutionResult>def get_execution(execution_id: Optional[str] = None,
                  location: Optional[str] = None,
                  project: Optional[str] = None,
                  view: Optional[str] = None,
                  workflow_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetExecutionResult
def get_execution_output(execution_id: Optional[pulumi.Input[str]] = None,
                  location: Optional[pulumi.Input[str]] = None,
                  project: Optional[pulumi.Input[str]] = None,
                  view: Optional[pulumi.Input[str]] = None,
                  workflow_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetExecutionResult]func LookupExecution(ctx *Context, args *LookupExecutionArgs, opts ...InvokeOption) (*LookupExecutionResult, error)
func LookupExecutionOutput(ctx *Context, args *LookupExecutionOutputArgs, opts ...InvokeOption) LookupExecutionResultOutput> Note: This function is named LookupExecution in the Go SDK.
public static class GetExecution 
{
    public static Task<GetExecutionResult> InvokeAsync(GetExecutionArgs args, InvokeOptions? opts = null)
    public static Output<GetExecutionResult> Invoke(GetExecutionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetExecutionResult> getExecution(GetExecutionArgs args, InvokeOptions options)
public static Output<GetExecutionResult> getExecution(GetExecutionArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:workflowexecutions/v1beta:getExecution
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ExecutionId string
- Location string
- WorkflowId string
- Project string
- View string
- ExecutionId string
- Location string
- WorkflowId string
- Project string
- View string
- executionId String
- location String
- workflowId String
- project String
- view String
- executionId string
- location string
- workflowId string
- project string
- view string
- execution_id str
- location str
- workflow_id str
- project str
- view str
- executionId String
- location String
- workflowId String
- project String
- view String
getExecution Result
The following output properties are available:
- Argument string
- 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\"}"}'
- CallLog stringLevel 
- The call logging level associated to this execution.
- EndTime string
- Marks the end of execution, successful or not.
- Error
Pulumi.Google Native. Workflow Executions. V1Beta. Outputs. Error Response 
- The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILEDorCANCELLED.
- Name string
- The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
- Result string
- Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED.
- StartTime string
- Marks the beginning of execution.
- State string
- Current state of the execution.
- Status
Pulumi.Google Native. Workflow Executions. V1Beta. Outputs. Status Response 
- Status tracks the current steps and progress data of this execution.
- WorkflowRevision stringId 
- Revision of the workflow this execution is using.
- Argument string
- 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\"}"}'
- CallLog stringLevel 
- The call logging level associated to this execution.
- EndTime string
- Marks the end of execution, successful or not.
- Error
ErrorResponse 
- The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILEDorCANCELLED.
- Name string
- The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
- Result string
- Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED.
- StartTime string
- Marks the beginning of execution.
- State string
- Current state of the execution.
- Status
StatusResponse 
- Status tracks the current steps and progress data of this execution.
- WorkflowRevision stringId 
- Revision of the workflow this execution is using.
- argument String
- 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\"}"}'
- callLog StringLevel 
- The call logging level associated to this execution.
- endTime String
- Marks the end of execution, successful or not.
- error
ErrorResponse 
- The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILEDorCANCELLED.
- name String
- The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
- result String
- Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED.
- startTime String
- Marks the beginning of execution.
- state String
- Current state of the execution.
- status
StatusResponse 
- Status tracks the current steps and progress data of this execution.
- workflowRevision StringId 
- Revision of the workflow this execution is using.
- argument string
- 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\"}"}'
- callLog stringLevel 
- The call logging level associated to this execution.
- endTime string
- Marks the end of execution, successful or not.
- error
ErrorResponse 
- The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILEDorCANCELLED.
- name string
- The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
- result string
- Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED.
- startTime string
- Marks the beginning of execution.
- state string
- Current state of the execution.
- status
StatusResponse 
- Status tracks the current steps and progress data of this execution.
- workflowRevision stringId 
- Revision of the workflow this execution is using.
- argument str
- 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\"}"}'
- call_log_ strlevel 
- The call logging level associated to this execution.
- end_time str
- Marks the end of execution, successful or not.
- error
ErrorResponse 
- The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILEDorCANCELLED.
- name str
- The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
- result str
- Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED.
- start_time str
- Marks the beginning of execution.
- state str
- Current state of the execution.
- status
StatusResponse 
- Status tracks the current steps and progress data of this execution.
- workflow_revision_ strid 
- Revision of the workflow this execution is using.
- argument String
- 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\"}"}'
- callLog StringLevel 
- The call logging level associated to this execution.
- endTime String
- Marks the end of execution, successful or not.
- error Property Map
- The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILEDorCANCELLED.
- name String
- The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
- result String
- Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED.
- startTime String
- Marks the beginning of execution.
- state String
- Current state of the execution.
- status Property Map
- Status tracks the current steps and progress data of this execution.
- workflowRevision StringId 
- Revision of the workflow this execution is using.
Supporting Types
ErrorResponse 
- Context string
- Human-readable stack trace string.
- Payload string
- Error message and data returned represented as a JSON string.
- StackTrace Pulumi.Google Native. Workflow Executions. V1Beta. Inputs. Stack Trace Response 
- Stack trace with detailed information of where error was generated.
- Context string
- Human-readable stack trace string.
- Payload string
- Error message and data returned represented as a JSON string.
- StackTrace StackTrace Response 
- Stack trace with detailed information of where error was generated.
- context String
- Human-readable stack trace string.
- payload String
- Error message and data returned represented as a JSON string.
- stackTrace StackTrace Response 
- Stack trace with detailed information of where error was generated.
- context string
- Human-readable stack trace string.
- payload string
- Error message and data returned represented as a JSON string.
- stackTrace StackTrace Response 
- Stack trace with detailed information of where error was generated.
- context str
- Human-readable stack trace string.
- payload str
- Error message and data returned represented as a JSON string.
- stack_trace StackTrace Response 
- Stack trace with detailed information of where error was generated.
- context String
- Human-readable stack trace string.
- payload String
- Error message and data returned represented as a JSON string.
- stackTrace Property Map
- Stack trace with detailed information of where error was generated.
PositionResponse 
StackTraceElementResponse   
- Position
Pulumi.Google Native. Workflow Executions. V1Beta. Inputs. Position Response 
- The source position information of the stack trace element.
- Routine string
- The routine where the error occurred.
- Step string
- The step the error occurred at.
- Position
PositionResponse 
- The source position information of the stack trace element.
- Routine string
- The routine where the error occurred.
- Step string
- The step the error occurred at.
- position
PositionResponse 
- The source position information of the stack trace element.
- routine String
- The routine where the error occurred.
- step String
- The step the error occurred at.
- position
PositionResponse 
- The source position information of the stack trace element.
- routine string
- The routine where the error occurred.
- step string
- The step the error occurred at.
- position
PositionResponse 
- The source position information of the stack trace element.
- routine str
- The routine where the error occurred.
- step str
- The step the error occurred at.
- position Property Map
- The source position information of the stack trace element.
- routine String
- The routine where the error occurred.
- step String
- The step the error occurred at.
StackTraceResponse  
- Elements
List<Pulumi.Google Native. Workflow Executions. V1Beta. Inputs. Stack Trace Element Response> 
- An array of stack elements.
- Elements
[]StackTrace Element Response 
- An array of stack elements.
- elements
List<StackTrace Element Response> 
- An array of stack elements.
- elements
StackTrace Element Response[] 
- An array of stack elements.
- elements
Sequence[StackTrace Element Response] 
- An array of stack elements.
- elements List<Property Map>
- An array of stack elements.
StatusResponse 
- CurrentSteps List<Pulumi.Google Native. Workflow Executions. V1Beta. Inputs. Step Response> 
- 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 mainsubworkflow, and ending with the most deeply nested step.
- CurrentSteps []StepResponse 
- 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 mainsubworkflow, and ending with the most deeply nested step.
- currentSteps List<StepResponse> 
- 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 mainsubworkflow, and ending with the most deeply nested step.
- currentSteps StepResponse[] 
- 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 mainsubworkflow, and ending with the most deeply nested step.
- current_steps Sequence[StepResponse] 
- 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 mainsubworkflow, and ending with the most deeply nested step.
- currentSteps List<Property Map>
- 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 mainsubworkflow, and ending with the most deeply nested step.
StepResponse 
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi