Updating a Digital Twin Model

Update a digital twin model for your Internet of Things.

When you update an existing option applied to a digital twin model, you change only the value you can not add a new value to a digital twin model using this update option.

  • Use the update option to update the value of an existing IoT digital twin model option.

    Use the oci iot digital-twin-model update command and required parameters to update a digital twin model. You can update a digital twin's description, display name, defined tags, or free form tags.

    Use this command and required parameters to update a digital twin model's description:

    oci iot digital-twin-model update --digital-twin-model-id <digital-twin-model-OCID> --description "<updated-digital-twin-model-description>"
    Use this command and required parameters to update a digital twin model's display name:
    oci iot digital-twin-model update --digital-twin-model-id <digital-twin-model-OCID> --display-name "<updated-digital-twin-model-display-name>"
    Use this command and required parameters to update a digital twin model's defined tags:
    oci iot digital-twin-model update --digital-twin-model-id <digital-twin-model-OCID> --defined-tags
    Use this command and required parameters to update a digital twin model's free form tags:
    oci iot digital-twin-model update --digital-twin-model-id <digital-twin-model-OCID> --freeform-tags
    For a complete list of parameters and values for CLI commands, see CLI Command Reference.
  • Run the UpdateDigitalTwinModel operation to update a digital twin model.