Class DigitalTwinAdapter
The digital twin adapter maps incoming data from IoT device into the corresponding digital twin instance.
It defines the envelope structure, reference payload, routing and transformation rules using JSON Path and JQ to normalize the raw device data within the IoT domain.
To use any API operations, you must be authorized in an IAM policy. If you are not authorized, contact an administrator.
If you are an administrator who needs to create policies to grant users access, see
Getting Started with Policies.
Inherited Members
Namespace: Oci.IotService.Models
Assembly: OCI.DotNetSDK.Iot.dll
Syntax
public class DigitalTwinAdapter
Properties
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see Resource Tags.
|
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string | A short description of the resource. |
DigitalTwinModelId
Declaration
[Required(ErrorMessage = "DigitalTwinModelId is required.")]
[JsonProperty(PropertyName = "digitalTwinModelId")]
public string DigitalTwinModelId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the digital twin model. |
Remarks
Required
DigitalTwinModelSpecUri
Declaration
[Required(ErrorMessage = "DigitalTwinModelSpecUri is required.")]
[JsonProperty(PropertyName = "digitalTwinModelSpecUri")]
public string DigitalTwinModelSpecUri { get; set; }
Property Value
Type | Description |
---|---|
string | The URI of the digital twin model specification. |
Remarks
Required
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see Resource Tags.
|
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the resource. |
Remarks
Required
InboundEnvelope
Declaration
[JsonProperty(PropertyName = "inboundEnvelope")]
public DigitalTwinAdapterInboundEnvelope InboundEnvelope { get; set; }
Property Value
Type | Description |
---|---|
DigitalTwinAdapterInboundEnvelope |
InboundRoutes
Declaration
[JsonProperty(PropertyName = "inboundRoutes")]
public List<DigitalTwinAdapterInboundRoute> InboundRoutes { get; set; }
Property Value
Type | Description |
---|---|
List<DigitalTwinAdapterInboundRoute> | list of routes |
IotDomainId
Declaration
[Required(ErrorMessage = "IotDomainId is required.")]
[JsonProperty(PropertyName = "iotDomainId")]
public string IotDomainId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the IoT domain. |
Remarks
Required
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LifecycleState? | The current state of the digital twin adapter. |
Remarks
Required
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | System tags for this resource. Each key is predefined and scoped to a namespace.
|
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time when the resource was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z |
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time when the resource was last updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z |