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:
- Content
Path 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.
- Iot
Domain stringId - The OCID of the IoT domain.
- Source
Digital stringTwin Instance Id - The OCID of source digital twin instance.
- Target
Digital stringTwin Instance Id 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.
- 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.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- Content
Path 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.
- Iot
Domain stringId - The OCID of the IoT domain.
- Source
Digital stringTwin Instance Id - The OCID of source digital twin instance.
- Target
Digital stringTwin Instance Id 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.
- 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.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- content
Path 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.
- iot
Domain StringId - The OCID of the IoT domain.
- source
Digital StringTwin Instance Id - The OCID of source digital twin instance.
- target
Digital StringTwin Instance Id 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.
- 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.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"}
- content
Path 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.
- iot
Domain stringId - The OCID of the IoT domain.
- source
Digital stringTwin Instance Id - The OCID of source digital twin instance.
- target
Digital stringTwin Instance Id 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.
- {[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.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[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_ strid - The OCID of the IoT domain.
- source_
digital_ strtwin_ instance_ id - The OCID of source digital twin instance.
- target_
digital_ strtwin_ instance_ id 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.
- 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.
- 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"}
- content
Path 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.
- iot
Domain StringId - The OCID of the IoT domain.
- source
Digital StringTwin Instance Id - The OCID of source digital twin instance.
- target
Digital StringTwin Instance Id 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.
- 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.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - 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 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.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - 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 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.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - 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 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.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - 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 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.
- 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.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - 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 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) -> IotDigitalTwinRelationshipfunc 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.
- Content string
- (Updatable) The value(s) of the relationship properties defined in the source digital twin model.
- Content
Path 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.
- 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.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"} - Iot
Domain stringId - The OCID of the IoT domain.
- Source
Digital stringTwin Instance Id - The OCID of source digital twin instance.
- State string
- The current state of the digital twin relationship.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Target
Digital stringTwin Instance Id 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 string - 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 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.
- Content
Path 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.
- 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.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"} - Iot
Domain stringId - The OCID of the IoT domain.
- Source
Digital stringTwin Instance Id - The OCID of source digital twin instance.
- State string
- The current state of the digital twin relationship.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - Target
Digital stringTwin Instance Id 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 string - 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 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.
- content
Path 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.
- 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.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"} - iot
Domain StringId - The OCID of the IoT domain.
- source
Digital StringTwin Instance Id - The OCID of source digital twin instance.
- state String
- The current state of the digital twin relationship.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - target
Digital StringTwin Instance Id 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 String - 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 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.
- content
Path 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.
- {[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.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[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"} - iot
Domain stringId - The OCID of the IoT domain.
- source
Digital stringTwin Instance Id - The OCID of source digital twin instance.
- state string
- The current state of the digital twin relationship.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - target
Digital stringTwin Instance Id 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 string - 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 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.
- 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.
- 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_ strid - The OCID of the IoT domain.
- source_
digital_ strtwin_ instance_ id - The OCID of source digital twin instance.
- state str
- The current state of the digital twin relationship.
- 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_ strtwin_ instance_ id 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.
- content
Path 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.
- 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.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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"} - iot
Domain StringId - The OCID of the IoT domain.
- source
Digital StringTwin Instance Id - The OCID of source digital twin instance.
- state String
- The current state of the digital twin relationship.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"} - target
Digital StringTwin Instance Id 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 String - 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 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
ociTerraform Provider.
