import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates an Execution. The returned Execution will have the id set. May return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to write to project - INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the containing History does not exist * 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. */ export declare class Execution extends pulumi.CustomResource { /** * Get an existing Execution resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Execution; /** * Returns true if the given object is an instance of Execution. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Execution; /** * The time when the Execution status transitioned to COMPLETE. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. - In create/update request: never set */ readonly completionTime: pulumi.Output; /** * The time when the Execution was created. This value will be set automatically when CreateExecution is called. - In response: always set - In create/update request: never set */ readonly creationTime: pulumi.Output; /** * The dimensions along which different steps in this execution may vary. This must remain fixed over the life of the execution. Returns INVALID_ARGUMENT if this field is set in an update request. Returns INVALID_ARGUMENT if the same name occurs in more than one dimension_definition. Returns INVALID_ARGUMENT if the size of the list is over 100. - In response: present if set by create - In create request: optional - In update request: never set */ readonly dimensionDefinitions: pulumi.Output; /** * A unique identifier within a History for this Execution. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create/update request: never set */ readonly executionId: pulumi.Output; readonly historyId: pulumi.Output; /** * Classify the result, for example into SUCCESS or FAILURE - In response: present if set by create/update request - In create/update request: optional */ readonly outcome: pulumi.Output; readonly project: pulumi.Output; /** * A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. */ readonly requestId: pulumi.Output; /** * Lightweight information about execution request. - In response: present if set by create - In create: optional - In update: optional */ readonly specification: pulumi.Output; /** * The initial state is IN_PROGRESS. The only legal state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an invalid transition is requested. The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. If the state is set to COMPLETE, all the in-progress steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - In response always set - In create/update request: optional */ readonly state: pulumi.Output; /** * TestExecution Matrix ID that the TestExecutionService uses. - In response: present if set by create - In create: optional - In update: never set */ readonly testExecutionMatrixId: pulumi.Output; /** * Create a Execution resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ExecutionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Execution resource. */ export interface ExecutionArgs { /** * The time when the Execution status transitioned to COMPLETE. This value will be set automatically when state transitions to COMPLETE. - In response: set if the execution state is COMPLETE. - In create/update request: never set */ completionTime?: pulumi.Input; /** * The time when the Execution was created. This value will be set automatically when CreateExecution is called. - In response: always set - In create/update request: never set */ creationTime?: pulumi.Input; /** * The dimensions along which different steps in this execution may vary. This must remain fixed over the life of the execution. Returns INVALID_ARGUMENT if this field is set in an update request. Returns INVALID_ARGUMENT if the same name occurs in more than one dimension_definition. Returns INVALID_ARGUMENT if the size of the list is over 100. - In response: present if set by create - In create request: optional - In update request: never set */ dimensionDefinitions?: pulumi.Input[]>; /** * A unique identifier within a History for this Execution. Returns INVALID_ARGUMENT if this field is set or overwritten by the caller. - In response always set - In create/update request: never set */ executionId?: pulumi.Input; historyId: pulumi.Input; /** * Classify the result, for example into SUCCESS or FAILURE - In response: present if set by create/update request - In create/update request: optional */ outcome?: pulumi.Input; project?: pulumi.Input; /** * A unique request ID for server to detect duplicated requests. For example, a UUID. Optional, but strongly recommended. */ requestId?: pulumi.Input; /** * Lightweight information about execution request. - In response: present if set by create - In create: optional - In update: optional */ specification?: pulumi.Input; /** * The initial state is IN_PROGRESS. The only legal state transitions is from IN_PROGRESS to COMPLETE. A PRECONDITION_FAILED will be returned if an invalid transition is requested. The state can only be set to COMPLETE once. A FAILED_PRECONDITION will be returned if the state is set to COMPLETE multiple times. If the state is set to COMPLETE, all the in-progress steps within the execution will be set as COMPLETE. If the outcome of the step is not set, the outcome will be set to INCONCLUSIVE. - In response always set - In create/update request: optional */ state?: pulumi.Input; /** * TestExecution Matrix ID that the TestExecutionService uses. - In response: present if set by create - In create: optional - In update: never set */ testExecutionMatrixId?: pulumi.Input; }