Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.googlenative.workflowexecutions.v1;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import com.pulumi.googlenative.Utilities;
import com.pulumi.googlenative.workflowexecutions.v1.ExecutionArgs;
import com.pulumi.googlenative.workflowexecutions.v1.outputs.ErrorResponse;
import com.pulumi.googlenative.workflowexecutions.v1.outputs.StateErrorResponse;
import com.pulumi.googlenative.workflowexecutions.v1.outputs.StatusResponse;
import java.lang.String;
import java.util.Map;
import javax.annotation.Nullable;
/**
* 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.
*
*/
@ResourceType(type="google-native:workflowexecutions/v1:Execution")
public class Execution extends com.pulumi.resources.CustomResource {
/**
* 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\"}"}'`
*
*/
@Export(name="argument", type=String.class, parameters={})
private Output argument;
/**
* @return 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\"}"}'`
*
*/
public Output argument() {
return this.argument;
}
/**
* The call logging level associated to this execution.
*
*/
@Export(name="callLogLevel", type=String.class, parameters={})
private Output callLogLevel;
/**
* @return The call logging level associated to this execution.
*
*/
public Output callLogLevel() {
return this.callLogLevel;
}
/**
* Measures the duration of the execution.
*
*/
@Export(name="duration", type=String.class, parameters={})
private Output duration;
/**
* @return Measures the duration of the execution.
*
*/
public Output duration() {
return this.duration;
}
/**
* Marks the end of execution, successful or not.
*
*/
@Export(name="endTime", type=String.class, parameters={})
private Output endTime;
/**
* @return Marks the end of execution, successful or not.
*
*/
public Output endTime() {
return this.endTime;
}
/**
* The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`.
*
*/
@Export(name="error", type=ErrorResponse.class, parameters={})
private Output error;
/**
* @return The error which caused the execution to finish prematurely. The value is only present if the execution's state is `FAILED` or `CANCELLED`.
*
*/
public Output error() {
return this.error;
}
/**
* 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.
*
*/
@Export(name="labels", type=Map.class, parameters={String.class, String.class})
private Output