UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

49 lines 1.94 kB
"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 bioos workspaces * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.bioos.getWorkspaces({}); * ``` */ /** @deprecated volcengine.bioos.Workspaces has been deprecated in favor of volcengine.bioos.getWorkspaces */ function workspaces(args, opts) { pulumi.log.warn("workspaces is deprecated: volcengine.bioos.Workspaces has been deprecated in favor of volcengine.bioos.getWorkspaces"); args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:bioos/workspaces:Workspaces", { "ids": args.ids, "keyword": args.keyword, "outputFile": args.outputFile, "sortBy": args.sortBy, "sortOrder": args.sortOrder, }, opts); } exports.workspaces = workspaces; /** * Use this data source to query detailed information of bioos workspaces * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const default = volcengine.bioos.getWorkspaces({}); * ``` */ /** @deprecated volcengine.bioos.Workspaces has been deprecated in favor of volcengine.bioos.getWorkspaces */ function workspacesOutput(args, opts) { return pulumi.output(args).apply((a) => workspaces(a, opts)); } exports.workspacesOutput = workspacesOutput; //# sourceMappingURL=workspaces.js.map