resource type data
OptionalresourceTypeUuid: string
resource type uuid
a promise that resolves to a resource type object
Delete resource type
resource type uuid
Promise resolvig to a resource type object
Delete resource type by name
resource type name
Promise resolvig to a resource type object
Export resource type
resource type uuid
a promise that resolves to an ResourceTypeExportInterface object
Export resource type by name
resource type name
a promise that resolves to an ResourceTypeExportInterface object
Export resource types
a promise that resolves to an ResourceTypeExportInterface object
Import first resource type
import data
a promise that resolves to the imported resource type object, or null if no update was made
Import resource type by uuid
client uuid
import data
a promise that resolves to the imported resource type object, or null if no update was made
Import resource type by name
client id
import data
a promise that resolves to the imported resource type object, or null if no update was made
Import resource types
import data
OptionalresultCallback: ResultCallback<ResourceTypeSkeleton>
Optional callback to process individual results. When given, the outcome of every resource type is passed to it once, as it happens: a resource type that was imported as the resource type (a resource type that needed no update as it is in the import data), a resource type that could not be imported as an error that names the resource type and carries the cause. Such a resource type is not part of the result and does not stop the others, and the function does not throw for it. Without it, the failures are collected and thrown as one error after every resource type was tried.
a promise that resolves to the imported resource type objects
Read resource type
resource type uuid
a promise that resolves to a resource type object
Read resource type by name
resource type name
a promise that resolves to a resource type object
Read all resource types
a promise that resolves to an array of resource type objects
Update resource type
resource type uuid
resource type data
a promise that resolves to a resource type object, or null if no update was made
Create resource type