import { PromiseVariableApi } from "https://deno.land/x/windmill@v1.38.3/windmill-api/types/PromiseAPI.ts";
Constructors
new
PromiseVariableApi(configuration: Configuration,
requestFactory?: VariableApiRequestFactory,
responseProcessor?: VariableApiResponseProcessor,
Properties
private
api: ObservableVariableApiMethods
createVariable(): Promise<string>
create variable
deleteVariable(): Promise<string>
delete variable
existsVariable(): Promise<boolean>
does variable exists at path
getVariable(): Promise<ListableVariable>
get variable
listContextualVariables(workspace: string, _options?: Configuration): Promise<Array<ContextualVariable>>
list contextual variables
listVariable(workspace: string, _options?: Configuration): Promise<Array<ListableVariable>>
list variables
updateVariable(): Promise<string>
update variable