UNPKG

terraform-cloud

Version:
11 lines (10 loc) 550 B
import { AxiosInstance } from 'axios'; import Request from './Request'; import { Workspace, WorkspaceRequest } from '../../types'; export default class Workspaces extends Request { constructor(client: AxiosInstance); showByName(organizationName: string, workspaceName: string): Promise<Workspace>; show(workspaceId: string): Promise<Workspace>; create(organizationName: string, request: WorkspaceRequest): Promise<Workspace>; update(organizationName: string, workspaceId: string, request: WorkspaceRequest): Promise<Workspace>; }