"use strict";
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.invocationResultsOutput = exports.invocationResults = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * 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 */
function invocationResults(args, opts) {
    pulumi.log.warn("invocationResults is deprecated: volcengine.ecs.InvocationResults has been deprecated in favor of volcengine.ecs.getInvocationResults");
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:ecs/invocationResults:InvocationResults", {
        "commandId": args.commandId,
        "instanceId": args.instanceId,
        "invocationId": args.invocationId,
        "invocationResultStatuses": args.invocationResultStatuses,
        "outputFile": args.outputFile,
    }, opts);
}
exports.invocationResults = invocationResults;
/**
 * 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 */
function invocationResultsOutput(args, opts) {
    return pulumi.output(args).apply((a) => invocationResults(a, opts));
}
exports.invocationResultsOutput = invocationResultsOutput;
//# sourceMappingURL=invocationResults.js.map