import { PromiseResourceApi } from "https://deno.land/x/windmill@v1.38.0/windmill-api/types/PromiseAPI.ts";
Constructors
new
PromiseResourceApi(configuration: Configuration,
requestFactory?: ResourceApiRequestFactory,
responseProcessor?: ResourceApiResponseProcessor,
Properties
private
api: ObservableResourceApiMethods
createResource(): Promise<string>
create resource
createResourceType(): Promise<string>
create resource_type
deleteResource(): Promise<string>
delete resource
deleteResourceType(): Promise<string>
delete resource_type
existsResource(): Promise<boolean>
does resource exists
existsResourceType(): Promise<boolean>
does resource_type exists
getResource(): Promise<Resource>
get resource
getResourceType(): Promise<ResourceType>
get resource_type
listResource(): Promise<Array<Resource>>
list resources
listResourceType(workspace: string, _options?: Configuration): Promise<Array<ResourceType>>
list resource_types
listResourceTypeNames(workspace: string, _options?: Configuration): Promise<Array<string>>
list resource_types names
updateResource(): Promise<string>
update resource
updateResourceType(): Promise<string>
update resource_type