"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.workspacesOutput = exports.workspaces = 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],
 * });
 * ```
 */
/** @deprecated volcengine.vmp.Workspaces has been deprecated in favor of volcengine.vmp.getWorkspaces */
function workspaces(args, opts) {
    pulumi.log.warn("workspaces is deprecated: volcengine.vmp.Workspaces has been deprecated in favor of volcengine.vmp.getWorkspaces");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:vmp/workspaces:Workspaces", {
        "ids": args.ids,
        "instanceTypeIds": args.instanceTypeIds,
        "name": args.name,
        "outputFile": args.outputFile,
        "projectName": args.projectName,
        "statuses": args.statuses,
        "tags": args.tags,
    }, opts);
}
exports.workspaces = workspaces;
/**
 * 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],
 * });
 * ```
 */
/** @deprecated volcengine.vmp.Workspaces has been deprecated in favor of volcengine.vmp.getWorkspaces */
function workspacesOutput(args, opts) {
    return pulumi.output(args).apply((a) => workspaces(a, opts));
}
exports.workspacesOutput = workspacesOutput;
//# sourceMappingURL=workspaces.js.map