UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

101 lines (100 loc) 2.75 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * 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 */ export declare function workspaces(args?: WorkspacesArgs, opts?: pulumi.InvokeOptions): Promise<WorkspacesResult>; /** * A collection of arguments for invoking Workspaces. */ export interface WorkspacesArgs { /** * A list of workspace ids. */ ids?: string[]; /** * Keyword to filter by workspace name or description. */ keyword?: string; /** * File name where to save data source results. */ outputFile?: string; /** * Sort Field (Name CreateTime). */ sortBy?: string; /** * The sort order. */ sortOrder?: string; } /** * A collection of values returned by Workspaces. */ export interface WorkspacesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly ids?: string[]; /** * A list of workspaces. */ readonly items: outputs.bioos.WorkspacesItem[]; readonly keyword?: string; readonly outputFile?: string; readonly sortBy?: string; readonly sortOrder?: string; /** * The total count of Workspace query. */ readonly totalCount: number; } /** * 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 */ export declare function workspacesOutput(args?: WorkspacesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<WorkspacesResult>; /** * A collection of arguments for invoking Workspaces. */ export interface WorkspacesOutputArgs { /** * A list of workspace ids. */ ids?: pulumi.Input<pulumi.Input<string>[]>; /** * Keyword to filter by workspace name or description. */ keyword?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * Sort Field (Name CreateTime). */ sortBy?: pulumi.Input<string>; /** * The sort order. */ sortOrder?: pulumi.Input<string>; }