import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Run Statement resource in Oracle Cloud Infrastructure Data Flow service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-flow/latest/RunStatement * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dataflow * * Executes a statement for a Session run. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testRunStatement = new oci.dataflow.RunStatement("test_run_statement", { * code: runStatementCode, * runId: testRun.id, * }); * ``` * * ## Import * * RunStatements can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataFlow/runStatement:RunStatement test_run_statement "runs/{runId}/statements/{statementId}" * ``` */ export declare class RunStatement extends pulumi.CustomResource { /** * Get an existing RunStatement 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: RunStatementState, opts?: pulumi.CustomResourceOptions): RunStatement; /** * Returns true if the given object is an instance of RunStatement. 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 RunStatement; /** * The statement code to execute. Example: `println(sc.version)` */ readonly code: pulumi.Output; /** * The execution output of a statement. */ readonly outputs: pulumi.Output; /** * The execution progress. */ readonly progress: pulumi.Output; /** * The unique ID for the run * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly runId: pulumi.Output; /** * The current state of this statement. */ readonly state: pulumi.Output; /** * The date and time a statement execution was completed, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2022-05-31T21:10:29.600Z` */ readonly timeCompleted: pulumi.Output; /** * The date and time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` */ readonly timeCreated: pulumi.Output; /** * Create a RunStatement 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: RunStatementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RunStatement resources. */ export interface RunStatementState { /** * The statement code to execute. Example: `println(sc.version)` */ code?: pulumi.Input; /** * The execution output of a statement. */ outputs?: pulumi.Input[] | undefined>; /** * The execution progress. */ progress?: pulumi.Input; /** * The unique ID for the run * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ runId?: pulumi.Input; /** * The current state of this statement. */ state?: pulumi.Input; /** * The date and time a statement execution was completed, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2022-05-31T21:10:29.600Z` */ timeCompleted?: pulumi.Input; /** * The date and time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` */ timeCreated?: pulumi.Input; } /** * The set of arguments for constructing a RunStatement resource. */ export interface RunStatementArgs { /** * The statement code to execute. Example: `println(sc.version)` */ code: pulumi.Input; /** * The unique ID for the run * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ runId: pulumi.Input; } //# sourceMappingURL=runStatement.d.ts.map