byId Method

Query single instance by its id.

byId(id: string): InstanceIdQuery

throws IModelHubClientError with IModelHubStatus.UndefinedArgumentError or IModelHubStatus.InvalidArgumentError if id is undefined or it is not a valid GuidString value.

Parameter Type Description
id string Id of the instance to query.

Returns - InstanceIdQuery

This query.

Defined in

Last Updated: 12 June, 2024