"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.commandsOutput = exports.commands = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of ecs commands
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.ecs.getCommands({
 *     commandId: "cmd-ychkepkhtim0tr3b****",
 * });
 * ```
 */
/** @deprecated volcengine.ecs.Commands has been deprecated in favor of volcengine.ecs.getCommands */
function commands(args, opts) {
    pulumi.log.warn("commands is deprecated: volcengine.ecs.Commands has been deprecated in favor of volcengine.ecs.getCommands");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:ecs/commands:Commands", {
        "commandId": args.commandId,
        "commandProvider": args.commandProvider,
        "name": args.name,
        "nameRegex": args.nameRegex,
        "order": args.order,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "tags": args.tags,
        "type": args.type,
    }, opts);
}
exports.commands = commands;
/**
 * Use this data source to query detailed information of ecs commands
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.ecs.getCommands({
 *     commandId: "cmd-ychkepkhtim0tr3b****",
 * });
 * ```
 */
/** @deprecated volcengine.ecs.Commands has been deprecated in favor of volcengine.ecs.getCommands */
function commandsOutput(args, opts) {
    return pulumi.output(args).apply((a) => commands(a, opts));
}
exports.commandsOutput = commandsOutput;
//# sourceMappingURL=commands.js.map