Initialize a new instance of the class DigitalTwins class.
Reference to the service client
Adds or replaces a digital twin. Status codes:
The id of the digital twin. The id is unique within the service and case sensitive.
The digital twin instance being added. If provided, the $dtId property is ignored.
The options parameters.
Adds a relationship between two digital twins. Status codes:
The id of the digital twin. The id is unique within the service and case sensitive.
The id of the relationship. The id is unique within the digital twin and case sensitive.
The data for the relationship.
The options parameters.
Deletes a digital twin. All relationships referencing the digital twin must already be deleted. Status codes:
The id of the digital twin. The id is unique within the service and case sensitive.
The options parameters.
Deletes a relationship between two digital twins. Status codes:
The id of the digital twin. The id is unique within the service and case sensitive.
The id of the relationship. The id is unique within the digital twin and case sensitive.
The options parameters.
Retrieves a digital twin. Status codes:
The id of the digital twin. The id is unique within the service and case sensitive.
The options parameters.
Retrieves a component from a digital twin. Status codes:
The id of the digital twin. The id is unique within the service and case sensitive.
The name of the DTDL component.
The options parameters.
Retrieves a relationship between two digital twins. Status codes:
The id of the digital twin. The id is unique within the service and case sensitive.
The id of the relationship. The id is unique within the digital twin and case sensitive.
The options parameters.
Retrieves all incoming relationship for a digital twin. Status codes:
The id of the digital twin. The id is unique within the service and case sensitive.
The options parameters.
ListIncomingRelationshipsNext
The id of the digital twin. The id is unique within the service and case sensitive.
The nextLink from the previous successful call to the ListIncomingRelationships method.
The options parameters.
Retrieves the relationships from a digital twin. Status codes:
The id of the digital twin. The id is unique within the service and case sensitive.
The options parameters.
ListRelationshipsNext
The id of the digital twin. The id is unique within the service and case sensitive.
The nextLink from the previous successful call to the ListRelationships method.
The options parameters.
Sends telemetry on behalf of a component in a digital twin. Status codes:
The id of the digital twin. The id is unique within the service and case sensitive.
The name of the DTDL component.
A unique message identifier (in the scope of the digital twin id) that is commonly used for de-duplicating messages.
The telemetry measurements to send from the digital twin's component.
The options parameters.
Sends telemetry on behalf of a digital twin. Status codes:
The id of the digital twin. The id is unique within the service and case sensitive.
A unique message identifier (in the scope of the digital twin id) that is commonly used for de-duplicating messages.
The telemetry measurements to send from the digital twin.
The options parameters.
Updates a digital twin. Status codes:
The id of the digital twin. The id is unique within the service and case sensitive.
An update specification described by JSON Patch. Updates to property values and $model elements may happen in the same request. Operations are limited to add, replace and remove.
The options parameters.
Updates a component on a digital twin. Status codes:
The id of the digital twin. The id is unique within the service and case sensitive.
The name of the DTDL component.
An update specification described by JSON Patch. Updates to property values and $model elements may happen in the same request. Operations are limited to add, replace and remove.
The options parameters.
Updates the properties on a relationship between two digital twins. Status codes:
The id of the digital twin. The id is unique within the service and case sensitive.
The id of the relationship. The id is unique within the digital twin and case sensitive.
JSON Patch description of the update to the relationship properties.
The options parameters.
Generated using TypeDoc
Class representing a DigitalTwins.