"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.launchTemplatesOutput = exports.launchTemplates = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of ecs launch templates
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooLaunchTemplate = new volcengine.ecs.LaunchTemplate("fooLaunchTemplate", {
 *     description: "acc-test-desc",
 *     eipBandwidth: 1,
 *     eipBillingType: "PostPaidByBandwidth",
 *     eipIsp: "ChinaMobile",
 *     hostName: "tf-host-name",
 *     hpcClusterId: "hpcCluster-l8u24ovdmoab6opf",
 *     imageId: "image-ycjwwciuzy5pkh54xx8f",
 *     instanceChargeType: "PostPaid",
 *     instanceName: "tf-acc-name",
 *     instanceTypeId: "ecs.g1.large",
 *     keyPairName: "tf-key-pair",
 *     launchTemplateName: "tf-acc-template",
 * });
 * const fooLaunchTemplates = volcengine.ecs.getLaunchTemplatesOutput({
 *     ids: [fooLaunchTemplate.id],
 * });
 * ```
 */
/** @deprecated volcengine.ecs.LaunchTemplates has been deprecated in favor of volcengine.ecs.getLaunchTemplates */
function launchTemplates(args, opts) {
    pulumi.log.warn("launchTemplates is deprecated: volcengine.ecs.LaunchTemplates has been deprecated in favor of volcengine.ecs.getLaunchTemplates");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:ecs/launchTemplates:LaunchTemplates", {
        "ids": args.ids,
        "launchTemplateNames": args.launchTemplateNames,
        "launchTemplateProjectName": args.launchTemplateProjectName,
        "launchTemplateTags": args.launchTemplateTags,
        "nameRegex": args.nameRegex,
        "outputFile": args.outputFile,
    }, opts);
}
exports.launchTemplates = launchTemplates;
/**
 * Use this data source to query detailed information of ecs launch templates
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooLaunchTemplate = new volcengine.ecs.LaunchTemplate("fooLaunchTemplate", {
 *     description: "acc-test-desc",
 *     eipBandwidth: 1,
 *     eipBillingType: "PostPaidByBandwidth",
 *     eipIsp: "ChinaMobile",
 *     hostName: "tf-host-name",
 *     hpcClusterId: "hpcCluster-l8u24ovdmoab6opf",
 *     imageId: "image-ycjwwciuzy5pkh54xx8f",
 *     instanceChargeType: "PostPaid",
 *     instanceName: "tf-acc-name",
 *     instanceTypeId: "ecs.g1.large",
 *     keyPairName: "tf-key-pair",
 *     launchTemplateName: "tf-acc-template",
 * });
 * const fooLaunchTemplates = volcengine.ecs.getLaunchTemplatesOutput({
 *     ids: [fooLaunchTemplate.id],
 * });
 * ```
 */
/** @deprecated volcengine.ecs.LaunchTemplates has been deprecated in favor of volcengine.ecs.getLaunchTemplates */
function launchTemplatesOutput(args, opts) {
    return pulumi.output(args).apply((a) => launchTemplates(a, opts));
}
exports.launchTemplatesOutput = launchTemplatesOutput;
//# sourceMappingURL=launchTemplates.js.map