"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.getWorkspacesOutput = exports.getWorkspaces = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of vmp workspaces
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooWorkspace = new volcengine.vmp.Workspace("fooWorkspace", {
 *     instanceTypeId: "vmp.standard.15d",
 *     deleteProtectionEnabled: false,
 *     description: "acc-test-1",
 *     username: "admin123",
 *     password: "*******",
 * });
 * const fooWorkspaces = volcengine.vmp.getWorkspacesOutput({
 *     ids: [fooWorkspace.id],
 * });
 * ```
 */
function getWorkspaces(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:vmp/getWorkspaces:getWorkspaces", {
        "ids": args.ids,
        "instanceTypeIds": args.instanceTypeIds,
        "name": args.name,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "statuses": args.statuses,
        "tags": args.tags,
    }, opts);
}
exports.getWorkspaces = getWorkspaces;
/**
 * Use this data source to query detailed information of vmp workspaces
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 * import * as volcengine from "@volcengine/pulumi";
 *
 * const fooWorkspace = new volcengine.vmp.Workspace("fooWorkspace", {
 *     instanceTypeId: "vmp.standard.15d",
 *     deleteProtectionEnabled: false,
 *     description: "acc-test-1",
 *     username: "admin123",
 *     password: "*******",
 * });
 * const fooWorkspaces = volcengine.vmp.getWorkspacesOutput({
 *     ids: [fooWorkspace.id],
 * });
 * ```
 */
function getWorkspacesOutput(args, opts) {
    return pulumi.output(args).apply((a) => getWorkspaces(a, opts));
}
exports.getWorkspacesOutput = getWorkspacesOutput;
//# sourceMappingURL=getWorkspaces.js.map