Execution class
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.
Constructors
- Execution(String name, {ExecutionArgs? args, CustomResourceOptions? options})
-
Creates a new Execution.
nameThe Pulumi resource name.argsArguments used to configure this Execution. The set of arguments for Execution.optionsResource options controlling this resource's behavior.
Properties
-
argument
↔ Output<
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\"}"}'latefinal -
callLogLevel
↔ Output<
String> -
The call logging level associated to this execution.
latefinal
-
childResources
→ Set<
Resource> -
finalinherited
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
duration
↔ Output<
String> -
Measures the duration of the execution.
latefinal
-
endTime
↔ Output<
String> -
Marks the end of execution, successful or not.
latefinal
-
error
↔ Output<
ErrorResponse> -
The error which caused the execution to finish prematurely. The value is only present if the execution's state is
FAILEDorCANCELLED.latefinal - hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
labels
↔ Output<
Map< String, String> > -
Labels associated with this execution. Labels can contain at most 64 entries. Keys and values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, underscores, and dashes. Label keys must start with a letter. International characters are allowed. By default, labels are inherited from the workflow but are overridden by any labels associated with the execution.
latefinal
-
location
↔ Output<
String> -
latefinal
-
name
↔ Output<
String> -
The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
latefinal
-
project
↔ Output<
String> -
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
-
result
↔ Output<
String> -
Output of the execution represented as a JSON string. The value can only be present if the execution's state is
SUCCEEDED.latefinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
startTime
↔ Output<
String> -
Marks the beginning of execution.
latefinal
-
state
↔ Output<
String> -
Current state of the execution.
latefinal
-
stateError
↔ Output<
StateErrorResponse> -
Error regarding the state of the Execution resource. For example, this field will have error details if the execution data is unavailable due to revoked KMS key permissions.
latefinal
-
status
↔ Output<
StatusResponse> -
Status tracks the current steps and progress data of this execution.
latefinal
-
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
urn
↔ Output<
String> -
latefinalinherited
-
workflowId
↔ Output<
String> -
latefinal
-
workflowRevisionId
↔ Output<
String> -
Revision of the workflow this execution is using.
latefinal
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited