@volcengine/pulumi
Version:
A Pulumi package for creating and managing volcengine cloud resources.
112 lines (111 loc) • 3.34 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a resource to manage bioos workspace
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as volcengine from "@volcengine/pulumi";
*
* const foo = new volcengine.bioos.Workspace("foo", {
* coverPath: "template-cover/pic5.png",
* description: "test-description23",
* });
* //必填
* ```
*
* ## Import
*
* Workspace can be imported using the id, e.g.
*
* ```sh
* $ pulumi import volcengine:bioos/workspace:Workspace default *****
* ```
*/
export declare class Workspace extends pulumi.CustomResource {
/**
* Get an existing Workspace resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: WorkspaceState, opts?: pulumi.CustomResourceOptions): Workspace;
/**
* Returns true if the given object is an instance of Workspace. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Workspace;
/**
* Cover path (relative path in tos bucket).
*/
readonly coverPath: pulumi.Output<string>;
/**
* The description of the workspace.
*/
readonly description: pulumi.Output<string>;
/**
* The name of the workspace.
*/
readonly name: pulumi.Output<string>;
/**
* Whether the update complete.
*/
readonly updated: pulumi.Output<boolean>;
/**
* The id of the workspace.
*/
readonly workspaceId: pulumi.Output<string>;
/**
* Create a Workspace resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: WorkspaceArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Workspace resources.
*/
export interface WorkspaceState {
/**
* Cover path (relative path in tos bucket).
*/
coverPath?: pulumi.Input<string>;
/**
* The description of the workspace.
*/
description?: pulumi.Input<string>;
/**
* The name of the workspace.
*/
name?: pulumi.Input<string>;
/**
* Whether the update complete.
*/
updated?: pulumi.Input<boolean>;
/**
* The id of the workspace.
*/
workspaceId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Workspace resource.
*/
export interface WorkspaceArgs {
/**
* Cover path (relative path in tos bucket).
*/
coverPath?: pulumi.Input<string>;
/**
* The description of the workspace.
*/
description: pulumi.Input<string>;
/**
* The name of the workspace.
*/
name?: pulumi.Input<string>;
}