1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. IotDigitalTwinRelationship
Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
oci logo
Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDigitalTwinRelationship = new oci.oci.IotDigitalTwinRelationship("test_digital_twin_relationship", {
        contentPath: digitalTwinRelationshipContentPath,
        iotDomainId: testIotDomain.id,
        sourceDigitalTwinInstanceId: testDigitalTwinInstance.id,
        targetDigitalTwinInstanceId: testDigitalTwinInstance.id,
        content: digitalTwinRelationshipContent,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: digitalTwinRelationshipDescription,
        displayName: digitalTwinRelationshipDisplayName,
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_digital_twin_relationship = oci.oci.IotDigitalTwinRelationship("test_digital_twin_relationship",
        content_path=digital_twin_relationship_content_path,
        iot_domain_id=test_iot_domain["id"],
        source_digital_twin_instance_id=test_digital_twin_instance["id"],
        target_digital_twin_instance_id=test_digital_twin_instance["id"],
        content=digital_twin_relationship_content,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=digital_twin_relationship_description,
        display_name=digital_twin_relationship_display_name,
        freeform_tags={
            "Department": "Finance",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.NewIotDigitalTwinRelationship(ctx, "test_digital_twin_relationship", &oci.IotDigitalTwinRelationshipArgs{
    			ContentPath:                 pulumi.Any(digitalTwinRelationshipContentPath),
    			IotDomainId:                 pulumi.Any(testIotDomain.Id),
    			SourceDigitalTwinInstanceId: pulumi.Any(testDigitalTwinInstance.Id),
    			TargetDigitalTwinInstanceId: pulumi.Any(testDigitalTwinInstance.Id),
    			Content:                     pulumi.Any(digitalTwinRelationshipContent),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			Description: pulumi.Any(digitalTwinRelationshipDescription),
    			DisplayName: pulumi.Any(digitalTwinRelationshipDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testDigitalTwinRelationship = new Oci.Oci.IotDigitalTwinRelationship("test_digital_twin_relationship", new()
        {
            ContentPath = digitalTwinRelationshipContentPath,
            IotDomainId = testIotDomain.Id,
            SourceDigitalTwinInstanceId = testDigitalTwinInstance.Id,
            TargetDigitalTwinInstanceId = testDigitalTwinInstance.Id,
            Content = digitalTwinRelationshipContent,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = digitalTwinRelationshipDescription,
            DisplayName = digitalTwinRelationshipDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.IotDigitalTwinRelationship;
    import com.pulumi.oci.oci.IotDigitalTwinRelationshipArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var testDigitalTwinRelationship = new IotDigitalTwinRelationship("testDigitalTwinRelationship", IotDigitalTwinRelationshipArgs.builder()
                .contentPath(digitalTwinRelationshipContentPath)
                .iotDomainId(testIotDomain.id())
                .sourceDigitalTwinInstanceId(testDigitalTwinInstance.id())
                .targetDigitalTwinInstanceId(testDigitalTwinInstance.id())
                .content(digitalTwinRelationshipContent)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(digitalTwinRelationshipDescription)
                .displayName(digitalTwinRelationshipDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testDigitalTwinRelationship:
        type: oci:oci:IotDigitalTwinRelationship
        name: test_digital_twin_relationship
        properties:
          contentPath: ${digitalTwinRelationshipContentPath}
          iotDomainId: ${testIotDomain.id}
          sourceDigitalTwinInstanceId: ${testDigitalTwinInstance.id}
          targetDigitalTwinInstanceId: ${testDigitalTwinInstance.id}
          content: ${digitalTwinRelationshipContent}
          definedTags:
            Operations.CostCenter: '42'
          description: ${digitalTwinRelationshipDescription}
          displayName: ${digitalTwinRelationshipDisplayName}
          freeformTags:
            Department: Finance
    

    Create IotDigitalTwinRelationship Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IotDigitalTwinRelationship(name: string, args: IotDigitalTwinRelationshipArgs, opts?: CustomResourceOptions);
    @overload
    def IotDigitalTwinRelationship(resource_name: str,
                                   args: IotDigitalTwinRelationshipArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def IotDigitalTwinRelationship(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   content_path: Optional[str] = None,
                                   iot_domain_id: Optional[str] = None,
                                   source_digital_twin_instance_id: Optional[str] = None,
                                   target_digital_twin_instance_id: Optional[str] = None,
                                   content: Optional[str] = None,
                                   defined_tags: Optional[Mapping[str, str]] = None,
                                   description: Optional[str] = None,
                                   display_name: Optional[str] = None,
                                   freeform_tags: Optional[Mapping[str, str]] = None)
    func NewIotDigitalTwinRelationship(ctx *Context, name string, args IotDigitalTwinRelationshipArgs, opts ...ResourceOption) (*IotDigitalTwinRelationship, error)
    public IotDigitalTwinRelationship(string name, IotDigitalTwinRelationshipArgs args, CustomResourceOptions? opts = null)
    public IotDigitalTwinRelationship(String name, IotDigitalTwinRelationshipArgs args)
    public IotDigitalTwinRelationship(String name, IotDigitalTwinRelationshipArgs args, CustomResourceOptions options)
    
    type: oci:oci:IotDigitalTwinRelationship
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IotDigitalTwinRelationshipArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IotDigitalTwinRelationshipArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IotDigitalTwinRelationshipArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IotDigitalTwinRelationshipArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IotDigitalTwinRelationshipArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var iotDigitalTwinRelationshipResource = new Oci.Oci.IotDigitalTwinRelationship("iotDigitalTwinRelationshipResource", new()
    {
        ContentPath = "string",
        IotDomainId = "string",
        SourceDigitalTwinInstanceId = "string",
        TargetDigitalTwinInstanceId = "string",
        Content = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := oci.NewIotDigitalTwinRelationship(ctx, "iotDigitalTwinRelationshipResource", &oci.IotDigitalTwinRelationshipArgs{
    	ContentPath:                 pulumi.String("string"),
    	IotDomainId:                 pulumi.String("string"),
    	SourceDigitalTwinInstanceId: pulumi.String("string"),
    	TargetDigitalTwinInstanceId: pulumi.String("string"),
    	Content:                     pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var iotDigitalTwinRelationshipResource = new IotDigitalTwinRelationship("iotDigitalTwinRelationshipResource", IotDigitalTwinRelationshipArgs.builder()
        .contentPath("string")
        .iotDomainId("string")
        .sourceDigitalTwinInstanceId("string")
        .targetDigitalTwinInstanceId("string")
        .content("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .build());
    
    iot_digital_twin_relationship_resource = oci.oci.IotDigitalTwinRelationship("iotDigitalTwinRelationshipResource",
        content_path="string",
        iot_domain_id="string",
        source_digital_twin_instance_id="string",
        target_digital_twin_instance_id="string",
        content="string",
        defined_tags={
            "string": "string",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "string",
        })
    
    const iotDigitalTwinRelationshipResource = new oci.oci.IotDigitalTwinRelationship("iotDigitalTwinRelationshipResource", {
        contentPath: "string",
        iotDomainId: "string",
        sourceDigitalTwinInstanceId: "string",
        targetDigitalTwinInstanceId: "string",
        content: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:oci:IotDigitalTwinRelationship
    properties:
        content: string
        contentPath: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        iotDomainId: string
        sourceDigitalTwinInstanceId: string
        targetDigitalTwinInstanceId: string
    

    IotDigitalTwinRelationship Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The IotDigitalTwinRelationship resource accepts the following input properties:

    ContentPath string
    Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model.
    IotDomainId string
    The OCID of the IoT domain.
    SourceDigitalTwinInstanceId string
    The OCID of source digital twin instance.
    TargetDigitalTwinInstanceId string

    The OCID of target digital twin instance.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Content string
    (Updatable) The value(s) of the relationship properties defined in the source digital twin model.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) A short description of the resource.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) 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. Example: {"Department": "Finance"}
    ContentPath string
    Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model.
    IotDomainId string
    The OCID of the IoT domain.
    SourceDigitalTwinInstanceId string
    The OCID of source digital twin instance.
    TargetDigitalTwinInstanceId string

    The OCID of target digital twin instance.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Content string
    (Updatable) The value(s) of the relationship properties defined in the source digital twin model.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) A short description of the resource.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) 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. Example: {"Department": "Finance"}
    contentPath String
    Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model.
    iotDomainId String
    The OCID of the IoT domain.
    sourceDigitalTwinInstanceId String
    The OCID of source digital twin instance.
    targetDigitalTwinInstanceId String

    The OCID of target digital twin instance.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    content String
    (Updatable) The value(s) of the relationship properties defined in the source digital twin model.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) A short description of the resource.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) 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. Example: {"Department": "Finance"}
    contentPath string
    Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model.
    iotDomainId string
    The OCID of the IoT domain.
    sourceDigitalTwinInstanceId string
    The OCID of source digital twin instance.
    targetDigitalTwinInstanceId string

    The OCID of target digital twin instance.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    content string
    (Updatable) The value(s) of the relationship properties defined in the source digital twin model.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) A short description of the resource.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) 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. Example: {"Department": "Finance"}
    content_path str
    Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model.
    iot_domain_id str
    The OCID of the IoT domain.
    source_digital_twin_instance_id str
    The OCID of source digital twin instance.
    target_digital_twin_instance_id str

    The OCID of target digital twin instance.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    content str
    (Updatable) The value(s) of the relationship properties defined in the source digital twin model.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) A short description of the resource.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) 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. Example: {"Department": "Finance"}
    contentPath String
    Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model.
    iotDomainId String
    The OCID of the IoT domain.
    sourceDigitalTwinInstanceId String
    The OCID of source digital twin instance.
    targetDigitalTwinInstanceId String

    The OCID of target digital twin instance.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    content String
    (Updatable) The value(s) of the relationship properties defined in the source digital twin model.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) A short description of the resource.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) 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. Example: {"Department": "Finance"}

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IotDigitalTwinRelationship resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the digital twin relationship.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time when the resource was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time when the resource was last updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the digital twin relationship.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time when the resource was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time when the resource was last updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the digital twin relationship.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time when the resource was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time when the resource was last updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the digital twin relationship.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time when the resource was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time when the resource was last updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the digital twin relationship.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time when the resource was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time when the resource was last updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the digital twin relationship.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time when the resource was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time when the resource was last updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Look up Existing IotDigitalTwinRelationship Resource

    Get an existing IotDigitalTwinRelationship resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IotDigitalTwinRelationshipState, opts?: CustomResourceOptions): IotDigitalTwinRelationship
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            content: Optional[str] = None,
            content_path: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            iot_domain_id: Optional[str] = None,
            source_digital_twin_instance_id: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            target_digital_twin_instance_id: Optional[str] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> IotDigitalTwinRelationship
    func GetIotDigitalTwinRelationship(ctx *Context, name string, id IDInput, state *IotDigitalTwinRelationshipState, opts ...ResourceOption) (*IotDigitalTwinRelationship, error)
    public static IotDigitalTwinRelationship Get(string name, Input<string> id, IotDigitalTwinRelationshipState? state, CustomResourceOptions? opts = null)
    public static IotDigitalTwinRelationship get(String name, Output<String> id, IotDigitalTwinRelationshipState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:IotDigitalTwinRelationship    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Content string
    (Updatable) The value(s) of the relationship properties defined in the source digital twin model.
    ContentPath string
    Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) A short description of the resource.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) 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. Example: {"Department": "Finance"}
    IotDomainId string
    The OCID of the IoT domain.
    SourceDigitalTwinInstanceId string
    The OCID of source digital twin instance.
    State string
    The current state of the digital twin relationship.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetDigitalTwinInstanceId string

    The OCID of target digital twin instance.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    TimeCreated string
    The date and time when the resource was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time when the resource was last updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    Content string
    (Updatable) The value(s) of the relationship properties defined in the source digital twin model.
    ContentPath string
    Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) A short description of the resource.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) 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. Example: {"Department": "Finance"}
    IotDomainId string
    The OCID of the IoT domain.
    SourceDigitalTwinInstanceId string
    The OCID of source digital twin instance.
    State string
    The current state of the digital twin relationship.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetDigitalTwinInstanceId string

    The OCID of target digital twin instance.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    TimeCreated string
    The date and time when the resource was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time when the resource was last updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    content String
    (Updatable) The value(s) of the relationship properties defined in the source digital twin model.
    contentPath String
    Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) A short description of the resource.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) 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. Example: {"Department": "Finance"}
    iotDomainId String
    The OCID of the IoT domain.
    sourceDigitalTwinInstanceId String
    The OCID of source digital twin instance.
    state String
    The current state of the digital twin relationship.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetDigitalTwinInstanceId String

    The OCID of target digital twin instance.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeCreated String
    The date and time when the resource was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time when the resource was last updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    content string
    (Updatable) The value(s) of the relationship properties defined in the source digital twin model.
    contentPath string
    Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) A short description of the resource.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) 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. Example: {"Department": "Finance"}
    iotDomainId string
    The OCID of the IoT domain.
    sourceDigitalTwinInstanceId string
    The OCID of source digital twin instance.
    state string
    The current state of the digital twin relationship.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetDigitalTwinInstanceId string

    The OCID of target digital twin instance.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeCreated string
    The date and time when the resource was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time when the resource was last updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    content str
    (Updatable) The value(s) of the relationship properties defined in the source digital twin model.
    content_path str
    Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) A short description of the resource.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) 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. Example: {"Department": "Finance"}
    iot_domain_id str
    The OCID of the IoT domain.
    source_digital_twin_instance_id str
    The OCID of source digital twin instance.
    state str
    The current state of the digital twin relationship.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    target_digital_twin_instance_id str

    The OCID of target digital twin instance.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    time_created str
    The date and time when the resource was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time when the resource was last updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    content String
    (Updatable) The value(s) of the relationship properties defined in the source digital twin model.
    contentPath String
    Its the name of the relationship that links two digital twin instances. Here, it is the relationship name of the source digital twin model.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) A short description of the resource.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) 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. Example: {"Department": "Finance"}
    iotDomainId String
    The OCID of the IoT domain.
    sourceDigitalTwinInstanceId String
    The OCID of source digital twin instance.
    state String
    The current state of the digital twin relationship.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetDigitalTwinInstanceId String

    The OCID of target digital twin instance.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    timeCreated String
    The date and time when the resource was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time when the resource was last updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z

    Import

    DigitalTwinRelationships can be imported using the id, e.g.

    $ pulumi import oci:oci/iotDigitalTwinRelationship:IotDigitalTwinRelationship test_digital_twin_relationship "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.12.0 published on Friday, Nov 21, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate