import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of ecs invocation results
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.ecs.getInvocationResults({
 *     invocationId: "ivk-ych9y4vujvl8j01c****",
 *     invocationResultStatuses: ["Success"],
 * });
 * ```
 */
/** @deprecated volcengine.ecs.InvocationResults has been deprecated in favor of volcengine.ecs.getInvocationResults */
export declare function invocationResults(args: InvocationResultsArgs, opts?: pulumi.InvokeOptions): Promise<InvocationResultsResult>;
/**
 * A collection of arguments for invoking InvocationResults.
 */
export interface InvocationResultsArgs {
    /**
     * The id of ecs command.
     */
    commandId?: string;
    /**
     * The id of ecs instance.
     */
    instanceId?: string;
    /**
     * The id of ecs invocation.
     */
    invocationId: string;
    /**
     * The list of status of ecs invocation in a single instance. Valid values: `Pending`, `Running`, `Success`, `Failed`, `Timeout`.
     */
    invocationResultStatuses?: string[];
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
}
/**
 * A collection of values returned by InvocationResults.
 */
export interface InvocationResultsResult {
    /**
     * The id of the ecs command.
     */
    readonly commandId?: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * The id of the ecs instance.
     */
    readonly instanceId?: string;
    /**
     * The id of the ecs invocation.
     */
    readonly invocationId: string;
    /**
     * The status of ecs invocation in a single instance.
     */
    readonly invocationResultStatuses?: string[];
    /**
     * The collection of query.
     */
    readonly invocationResults: outputs.ecs.InvocationResultsInvocationResult[];
    readonly outputFile?: string;
    /**
     * The total count of query.
     */
    readonly totalCount: number;
}
/**
 * Use this data source to query detailed information of ecs invocation results
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.ecs.getInvocationResults({
 *     invocationId: "ivk-ych9y4vujvl8j01c****",
 *     invocationResultStatuses: ["Success"],
 * });
 * ```
 */
/** @deprecated volcengine.ecs.InvocationResults has been deprecated in favor of volcengine.ecs.getInvocationResults */
export declare function invocationResultsOutput(args: InvocationResultsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<InvocationResultsResult>;
/**
 * A collection of arguments for invoking InvocationResults.
 */
export interface InvocationResultsOutputArgs {
    /**
     * The id of ecs command.
     */
    commandId?: pulumi.Input<string>;
    /**
     * The id of ecs instance.
     */
    instanceId?: pulumi.Input<string>;
    /**
     * The id of ecs invocation.
     */
    invocationId: pulumi.Input<string>;
    /**
     * The list of status of ecs invocation in a single instance. Valid values: `Pending`, `Running`, `Success`, `Failed`, `Timeout`.
     */
    invocationResultStatuses?: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
}
