Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.workflowexecutions/v1beta.Execution
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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.
Create Execution Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Execution(name: string, args: ExecutionArgs, opts?: CustomResourceOptions);
@overload
def Execution(resource_name: str,
args: ExecutionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Execution(resource_name: str,
opts: Optional[ResourceOptions] = None,
workflow_id: Optional[str] = None,
argument: Optional[str] = None,
call_log_level: Optional[ExecutionCallLogLevel] = None,
location: Optional[str] = None,
project: Optional[str] = None)
func NewExecution(ctx *Context, name string, args ExecutionArgs, opts ...ResourceOption) (*Execution, error)
public Execution(string name, ExecutionArgs args, CustomResourceOptions? opts = null)
public Execution(String name, ExecutionArgs args)
public Execution(String name, ExecutionArgs args, CustomResourceOptions options)
type: google-native:workflowexecutions/v1beta:Execution
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ExecutionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ExecutionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ExecutionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExecutionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExecutionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleexecutionResourceResourceFromWorkflowexecutionsv1beta = new GoogleNative.WorkflowExecutions.V1Beta.Execution("exampleexecutionResourceResourceFromWorkflowexecutionsv1beta", new()
{
WorkflowId = "string",
Argument = "string",
CallLogLevel = GoogleNative.WorkflowExecutions.V1Beta.ExecutionCallLogLevel.CallLogLevelUnspecified,
Location = "string",
Project = "string",
});
example, err := workflowexecutionsv1beta.NewExecution(ctx, "exampleexecutionResourceResourceFromWorkflowexecutionsv1beta", &workflowexecutionsv1beta.ExecutionArgs{
WorkflowId: pulumi.String("string"),
Argument: pulumi.String("string"),
CallLogLevel: workflowexecutionsv1beta.ExecutionCallLogLevelCallLogLevelUnspecified,
Location: pulumi.String("string"),
Project: pulumi.String("string"),
})
var exampleexecutionResourceResourceFromWorkflowexecutionsv1beta = new Execution("exampleexecutionResourceResourceFromWorkflowexecutionsv1beta", ExecutionArgs.builder()
.workflowId("string")
.argument("string")
.callLogLevel("CALL_LOG_LEVEL_UNSPECIFIED")
.location("string")
.project("string")
.build());
exampleexecution_resource_resource_from_workflowexecutionsv1beta = google_native.workflowexecutions.v1beta.Execution("exampleexecutionResourceResourceFromWorkflowexecutionsv1beta",
workflow_id="string",
argument="string",
call_log_level=google_native.workflowexecutions.v1beta.ExecutionCallLogLevel.CALL_LOG_LEVEL_UNSPECIFIED,
location="string",
project="string")
const exampleexecutionResourceResourceFromWorkflowexecutionsv1beta = new google_native.workflowexecutions.v1beta.Execution("exampleexecutionResourceResourceFromWorkflowexecutionsv1beta", {
workflowId: "string",
argument: "string",
callLogLevel: google_native.workflowexecutions.v1beta.ExecutionCallLogLevel.CallLogLevelUnspecified,
location: "string",
project: "string",
});
type: google-native:workflowexecutions/v1beta:Execution
properties:
argument: string
callLogLevel: CALL_LOG_LEVEL_UNSPECIFIED
location: string
project: string
workflowId: string
Execution Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Execution resource accepts the following input properties:
- Workflow
Id string - 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\"}"}'
- Call
Log Pulumi.Level Google Native. Workflow Executions. V1Beta. Execution Call Log Level - The call logging level associated to this execution.
- Location string
- Project string
- Workflow
Id string - 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\"}"}'
- Call
Log ExecutionLevel Call Log Level - The call logging level associated to this execution.
- Location string
- Project string
- workflow
Id String - 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\"}"}'
- call
Log ExecutionLevel Call Log Level - The call logging level associated to this execution.
- location String
- project String
- workflow
Id string - 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\"}"}'
- call
Log ExecutionLevel Call Log Level - The call logging level associated to this execution.
- location string
- project string
- workflow_
id str - 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_ Executionlevel Call Log Level - The call logging level associated to this execution.
- location str
- project str
- workflow
Id String - 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\"}"}'
- call
Log "CALL_LOG_LEVEL_UNSPECIFIED" | "LOG_ALL_CALLS" | "LOG_ERRORS_ONLY"Level - The call logging level associated to this execution.
- location String
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the Execution resource produces the following output properties:
- End
Time 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
FAILED
orCANCELLED
. - Id string
- The provider-assigned unique ID for this managed resource.
- 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
. - Start
Time 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.
- Workflow
Revision stringId - Revision of the workflow this execution is using.
- End
Time string - Marks the end of execution, successful or not.
- Error
Error
Response - The error which caused the execution to finish prematurely. The value is only present if the execution's state is
FAILED
orCANCELLED
. - Id string
- The provider-assigned unique ID for this managed resource.
- 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
. - Start
Time string - Marks the beginning of execution.
- State string
- Current state of the execution.
- Status
Status
Response - Status tracks the current steps and progress data of this execution.
- Workflow
Revision stringId - Revision of the workflow this execution is using.
- end
Time String - Marks the end of execution, successful or not.
- error
Error
Response - The error which caused the execution to finish prematurely. The value is only present if the execution's state is
FAILED
orCANCELLED
. - id String
- The provider-assigned unique ID for this managed resource.
- 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
. - start
Time String - Marks the beginning of execution.
- state String
- Current state of the execution.
- status
Status
Response - Status tracks the current steps and progress data of this execution.
- workflow
Revision StringId - Revision of the workflow this execution is using.
- end
Time string - Marks the end of execution, successful or not.
- error
Error
Response - The error which caused the execution to finish prematurely. The value is only present if the execution's state is
FAILED
orCANCELLED
. - id string
- The provider-assigned unique ID for this managed resource.
- 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
. - start
Time string - Marks the beginning of execution.
- state string
- Current state of the execution.
- status
Status
Response - Status tracks the current steps and progress data of this execution.
- workflow
Revision stringId - Revision of the workflow this execution is using.
- end_
time str - Marks the end of execution, successful or not.
- error
Error
Response - The error which caused the execution to finish prematurely. The value is only present if the execution's state is
FAILED
orCANCELLED
. - id str
- The provider-assigned unique ID for this managed resource.
- 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
Status
Response - Status tracks the current steps and progress data of this execution.
- workflow_
revision_ strid - Revision of the workflow this execution is using.
- end
Time 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
FAILED
orCANCELLED
. - id String
- The provider-assigned unique ID for this managed resource.
- 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
. - start
Time 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.
- workflow
Revision StringId - Revision of the workflow this execution is using.
Supporting Types
ErrorResponse, ErrorResponseArgs
- Context string
- Human-readable stack trace string.
- Payload string
- Error message and data returned represented as a JSON string.
- Stack
Trace 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.
- 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.
- 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.
- stack
Trace 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.
- stack
Trace Property Map - Stack trace with detailed information of where error was generated.
ExecutionCallLogLevel, ExecutionCallLogLevelArgs
- Call
Log Level Unspecified - CALL_LOG_LEVEL_UNSPECIFIEDNo call logging level specified.
- Log
All Calls - LOG_ALL_CALLSLog all call steps within workflows, all call returns, and all exceptions raised.
- Log
Errors Only - LOG_ERRORS_ONLYLog only exceptions that are raised from call steps within workflows.
- Execution
Call Log Level Call Log Level Unspecified - CALL_LOG_LEVEL_UNSPECIFIEDNo call logging level specified.
- Execution
Call Log Level Log All Calls - LOG_ALL_CALLSLog all call steps within workflows, all call returns, and all exceptions raised.
- Execution
Call Log Level Log Errors Only - LOG_ERRORS_ONLYLog only exceptions that are raised from call steps within workflows.
- Call
Log Level Unspecified - CALL_LOG_LEVEL_UNSPECIFIEDNo call logging level specified.
- Log
All Calls - LOG_ALL_CALLSLog all call steps within workflows, all call returns, and all exceptions raised.
- Log
Errors Only - LOG_ERRORS_ONLYLog only exceptions that are raised from call steps within workflows.
- Call
Log Level Unspecified - CALL_LOG_LEVEL_UNSPECIFIEDNo call logging level specified.
- Log
All Calls - LOG_ALL_CALLSLog all call steps within workflows, all call returns, and all exceptions raised.
- Log
Errors Only - LOG_ERRORS_ONLYLog only exceptions that are raised from call steps within workflows.
- CALL_LOG_LEVEL_UNSPECIFIED
- CALL_LOG_LEVEL_UNSPECIFIEDNo call logging level specified.
- LOG_ALL_CALLS
- LOG_ALL_CALLSLog all call steps within workflows, all call returns, and all exceptions raised.
- LOG_ERRORS_ONLY
- LOG_ERRORS_ONLYLog only exceptions that are raised from call steps within workflows.
- "CALL_LOG_LEVEL_UNSPECIFIED"
- CALL_LOG_LEVEL_UNSPECIFIEDNo call logging level specified.
- "LOG_ALL_CALLS"
- LOG_ALL_CALLSLog all call steps within workflows, all call returns, and all exceptions raised.
- "LOG_ERRORS_ONLY"
- LOG_ERRORS_ONLYLog only exceptions that are raised from call steps within workflows.
PositionResponse, PositionResponseArgs
StackTraceElementResponse, StackTraceElementResponseArgs
- 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
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
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
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
Position
Response - 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, StackTraceResponseArgs
- Elements
List<Pulumi.
Google Native. Workflow Executions. V1Beta. Inputs. Stack Trace Element Response> - An array of stack elements.
- Elements
[]Stack
Trace Element Response - An array of stack elements.
- elements
List<Stack
Trace Element Response> - An array of stack elements.
- elements
Stack
Trace Element Response[] - An array of stack elements.
- elements
Sequence[Stack
Trace Element Response] - An array of stack elements.
- elements List<Property Map>
- An array of stack elements.
StatusResponse, StatusResponseArgs
- Current
Steps 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
main
subworkflow, and ending with the most deeply nested step.
- Current
Steps []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
main
subworkflow, and ending with the most deeply nested step.
- current
Steps 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
main
subworkflow, and ending with the most deeply nested step.
- current
Steps 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
main
subworkflow, 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
main
subworkflow, and ending with the most deeply nested step.
- current
Steps 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
main
subworkflow, and ending with the most deeply nested step.
StepResponse, StepResponseArgs
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.