Listing Digital Twin Models
List digital twin models for your Internet of Things (IoT).
Use the
oci iot digital-twin-model list
command and the required parameter to list digital twin models in a specific IoT domain. Replace the<iot-domain-OCID>
with the IoT domain's OCID:oci iot digital-twin-model list --iot-domain-id <iot-domain-OCID>
If you use the optional parameter
--spec-uri-starts-with
to list the digital twin models, when you replace the model specifications DTMI URI, do not include the version number. For example, this DTMI URI<dtmi:com:oracle:example:hvac;1>
uses this value:<dtmi:com:oracle:example:hvac>
:oci iot digital-twin-model list --iot-domain-id <iot-domain-OCID> --spec-uri-starts-with "
<dtmi:com:oracle:example:hvac>
"For a complete list of parameters and values for CLI commands, see CLI Command Reference.
Run the ListDigitalTwinModels operation to list digital twin models.