Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDigitalTwinModel = new oci.oci.IotDigitalTwinModel("test_digital_twin_model", {
iotDomainId: testIotDomain.id,
spec: digitalTwinModelSpec,
definedTags: {
"Operations.CostCenter": "42",
},
description: digitalTwinModelDescription,
displayName: digitalTwinModelDisplayName,
freeformTags: {
Department: "Finance",
},
});
import pulumi
import pulumi_oci as oci
test_digital_twin_model = oci.oci.IotDigitalTwinModel("test_digital_twin_model",
iot_domain_id=test_iot_domain["id"],
spec=digital_twin_model_spec,
defined_tags={
"Operations.CostCenter": "42",
},
description=digital_twin_model_description,
display_name=digital_twin_model_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.NewIotDigitalTwinModel(ctx, "test_digital_twin_model", &oci.IotDigitalTwinModelArgs{
IotDomainId: pulumi.Any(testIotDomain.Id),
Spec: pulumi.Any(digitalTwinModelSpec),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
Description: pulumi.Any(digitalTwinModelDescription),
DisplayName: pulumi.Any(digitalTwinModelDisplayName),
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 testDigitalTwinModel = new Oci.Oci.IotDigitalTwinModel("test_digital_twin_model", new()
{
IotDomainId = testIotDomain.Id,
Spec = digitalTwinModelSpec,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = digitalTwinModelDescription,
DisplayName = digitalTwinModelDisplayName,
FreeformTags =
{
{ "Department", "Finance" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.IotDigitalTwinModel;
import com.pulumi.oci.oci.IotDigitalTwinModelArgs;
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 testDigitalTwinModel = new IotDigitalTwinModel("testDigitalTwinModel", IotDigitalTwinModelArgs.builder()
.iotDomainId(testIotDomain.id())
.spec(digitalTwinModelSpec)
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(digitalTwinModelDescription)
.displayName(digitalTwinModelDisplayName)
.freeformTags(Map.of("Department", "Finance"))
.build());
}
}
resources:
testDigitalTwinModel:
type: oci:oci:IotDigitalTwinModel
name: test_digital_twin_model
properties:
iotDomainId: ${testIotDomain.id}
spec: ${digitalTwinModelSpec}
definedTags:
Operations.CostCenter: '42'
description: ${digitalTwinModelDescription}
displayName: ${digitalTwinModelDisplayName}
freeformTags:
Department: Finance
Create IotDigitalTwinModel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IotDigitalTwinModel(name: string, args: IotDigitalTwinModelArgs, opts?: CustomResourceOptions);@overload
def IotDigitalTwinModel(resource_name: str,
args: IotDigitalTwinModelArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IotDigitalTwinModel(resource_name: str,
opts: Optional[ResourceOptions] = None,
iot_domain_id: Optional[str] = None,
spec: 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 NewIotDigitalTwinModel(ctx *Context, name string, args IotDigitalTwinModelArgs, opts ...ResourceOption) (*IotDigitalTwinModel, error)public IotDigitalTwinModel(string name, IotDigitalTwinModelArgs args, CustomResourceOptions? opts = null)
public IotDigitalTwinModel(String name, IotDigitalTwinModelArgs args)
public IotDigitalTwinModel(String name, IotDigitalTwinModelArgs args, CustomResourceOptions options)
type: oci:oci:IotDigitalTwinModel
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 IotDigitalTwinModelArgs
- 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 IotDigitalTwinModelArgs
- 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 IotDigitalTwinModelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IotDigitalTwinModelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IotDigitalTwinModelArgs
- 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 iotDigitalTwinModelResource = new Oci.Oci.IotDigitalTwinModel("iotDigitalTwinModelResource", new()
{
IotDomainId = "string",
Spec = "string",
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
DisplayName = "string",
FreeformTags =
{
{ "string", "string" },
},
});
example, err := oci.NewIotDigitalTwinModel(ctx, "iotDigitalTwinModelResource", &oci.IotDigitalTwinModelArgs{
IotDomainId: pulumi.String("string"),
Spec: 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 iotDigitalTwinModelResource = new IotDigitalTwinModel("iotDigitalTwinModelResource", IotDigitalTwinModelArgs.builder()
.iotDomainId("string")
.spec("string")
.definedTags(Map.of("string", "string"))
.description("string")
.displayName("string")
.freeformTags(Map.of("string", "string"))
.build());
iot_digital_twin_model_resource = oci.oci.IotDigitalTwinModel("iotDigitalTwinModelResource",
iot_domain_id="string",
spec="string",
defined_tags={
"string": "string",
},
description="string",
display_name="string",
freeform_tags={
"string": "string",
})
const iotDigitalTwinModelResource = new oci.oci.IotDigitalTwinModel("iotDigitalTwinModelResource", {
iotDomainId: "string",
spec: "string",
definedTags: {
string: "string",
},
description: "string",
displayName: "string",
freeformTags: {
string: "string",
},
});
type: oci:oci:IotDigitalTwinModel
properties:
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
iotDomainId: string
spec: string
IotDigitalTwinModel 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 IotDigitalTwinModel resource accepts the following input properties:
- Iot
Domain stringId - The OCID of the IoT domain.
- Spec string
The specification of the digital twin model (DTDL).
** 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
- 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. If left blank, the description will be derived from the spec.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If left blank, the display name will be derived from the spec.
- 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.
- Spec string
The specification of the digital twin model (DTDL).
** 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
- 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. If left blank, the description will be derived from the spec.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If left blank, the display name will be derived from the spec.
- 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.
- spec String
The specification of the digital twin model (DTDL).
** 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
- 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. If left blank, the description will be derived from the spec.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If left blank, the display name will be derived from the spec.
- 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.
- spec string
The specification of the digital twin model (DTDL).
** 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
- {[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. If left blank, the description will be derived from the spec.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If left blank, the display name will be derived from the spec.
- {[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_ strid - The OCID of the IoT domain.
- spec str
The specification of the digital twin model (DTDL).
** 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
- 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. If left blank, the description will be derived from the spec.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If left blank, the display name will be derived from the spec.
- 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 StringId - The OCID of the IoT domain.
- spec String
The specification of the digital twin model (DTDL).
** 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
- 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. If left blank, the description will be derived from the spec.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If left blank, the display name will be derived from the spec.
- 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 IotDigitalTwinModel resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Spec
Uri string - This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification.
- State string
- The current state of the digital twin model.
- 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.
- Spec
Uri string - This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification.
- State string
- The current state of the digital twin model.
- 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.
- spec
Uri String - This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification.
- state String
- The current state of the digital twin model.
- 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.
- spec
Uri string - This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification.
- state string
- The current state of the digital twin model.
- {[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.
- spec_
uri str - This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification.
- state str
- The current state of the digital twin model.
- 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.
- spec
Uri String - This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification.
- state String
- The current state of the digital twin model.
- 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 IotDigitalTwinModel Resource
Get an existing IotDigitalTwinModel 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?: IotDigitalTwinModelState, opts?: CustomResourceOptions): IotDigitalTwinModel@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = 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,
spec: Optional[str] = None,
spec_uri: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> IotDigitalTwinModelfunc GetIotDigitalTwinModel(ctx *Context, name string, id IDInput, state *IotDigitalTwinModelState, opts ...ResourceOption) (*IotDigitalTwinModel, error)public static IotDigitalTwinModel Get(string name, Input<string> id, IotDigitalTwinModelState? state, CustomResourceOptions? opts = null)public static IotDigitalTwinModel get(String name, Output<String> id, IotDigitalTwinModelState state, CustomResourceOptions options)resources: _: type: oci:oci:IotDigitalTwinModel 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.
- 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. If left blank, the description will be derived from the spec.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If left blank, the display name will be derived from the spec.
- 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.
- Spec string
The specification of the digital twin model (DTDL).
** 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
- Spec
Uri string - This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification.
- State string
- The current state of the digital twin model.
- 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
- 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. If left blank, the description will be derived from the spec.
- Display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If left blank, the display name will be derived from the spec.
- 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.
- Spec string
The specification of the digital twin model (DTDL).
** 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
- Spec
Uri string - This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification.
- State string
- The current state of the digital twin model.
- 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
- 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. If left blank, the description will be derived from the spec.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If left blank, the display name will be derived from the spec.
- 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.
- spec String
The specification of the digital twin model (DTDL).
** 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
- spec
Uri String - This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification.
- state String
- The current state of the digital twin model.
- 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
- {[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. If left blank, the description will be derived from the spec.
- display
Name string - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If left blank, the display name will be derived from the spec.
- {[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.
- spec string
The specification of the digital twin model (DTDL).
** 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
- spec
Uri string - This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification.
- state string
- The current state of the digital twin model.
- {[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
- 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. If left blank, the description will be derived from the spec.
- display_
name str - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If left blank, the display name will be derived from the spec.
- 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.
- spec str
The specification of the digital twin model (DTDL).
** 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
- spec_
uri str - This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification.
- state str
- The current state of the digital twin model.
- 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
- 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. If left blank, the description will be derived from the spec.
- display
Name String - (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. If left blank, the display name will be derived from the spec.
- 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.
- spec String
The specification of the digital twin model (DTDL).
** 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
- spec
Uri String - This is the DTMI (Digital Twin Model Identifier) of the digital twin model as defined in DTDL specification.
- state String
- The current state of the digital twin model.
- 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
Import
DigitalTwinModels can be imported using the id, e.g.
$ pulumi import oci:oci/iotDigitalTwinModel:IotDigitalTwinModel test_digital_twin_model "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.
