This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates a query to retrieve a list of resource types.
The queryResourceTypes()
function builds a query to retrieve a list of resource types and returns a ResourceTypesQueryBuilder
object.
The returned object contains the query definition, which is typically used to run the query using the find() function.
You can refine the query by chaining ResourceTypesQueryBuilder
functions onto the query. ResourceTypesQueryBuilder
functions enable you to sort, filter, and control the results that queryResourceTypes()
returns.
queryResourceTypes()
runs with the following ResourceTypesQueryBuilder
default that you can override:
limit
is 50
.id
in ascending order.The functions that are chained to queryResourceTypes()
are applied in the order they are called.
The following ResourceTypesQueryBuilder
functions are supported for the queryResourceTypes()
function. For a full description of the resource object, see the object returned for the items property in ResourceTypesQueryResult
.
PROPERTY | SUPPORTED FILTERS & SORTING |
---|---|
name | eq() ,ne() ,exists() ,in() ,hasSome() ,startsWith() |