import { VariableApi } from "https://deno.land/x/windmill@v1.29.0/mod.ts";
Constructors
new
VariableApi(configuration: Configuration,
requestFactory?: VariableApiRequestFactory,
responseProcessor?: VariableApiResponseProcessor,
Methods
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