1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. oci
  5. IotIotDomain
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi

oci.oci.IotIotDomain

Get Started
oci logo
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testIotDomain = new oci.oci.IotIotDomain("test_iot_domain", {
        compartmentId: compartmentId,
        iotDomainGroupId: testIotDomainGroup.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: iotDomainDescription,
        displayName: iotDomainDisplayName,
        freeformTags: {
            Department: "Finance",
        },
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_iot_domain = oci.oci.IotIotDomain("test_iot_domain",
        compartment_id=compartment_id,
        iot_domain_group_id=test_iot_domain_group["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=iot_domain_description,
        display_name=iot_domain_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.NewIotIotDomain(ctx, "test_iot_domain", &oci.IotIotDomainArgs{
    			CompartmentId:    pulumi.Any(compartmentId),
    			IotDomainGroupId: pulumi.Any(testIotDomainGroup.Id),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			Description: pulumi.Any(iotDomainDescription),
    			DisplayName: pulumi.Any(iotDomainDisplayName),
    			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 testIotDomain = new Oci.Oci.IotIotDomain("test_iot_domain", new()
        {
            CompartmentId = compartmentId,
            IotDomainGroupId = testIotDomainGroup.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = iotDomainDescription,
            DisplayName = iotDomainDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.IotIotDomain;
    import com.pulumi.oci.oci.IotIotDomainArgs;
    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 testIotDomain = new IotIotDomain("testIotDomain", IotIotDomainArgs.builder()
                .compartmentId(compartmentId)
                .iotDomainGroupId(testIotDomainGroup.id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(iotDomainDescription)
                .displayName(iotDomainDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .build());
    
        }
    }
    
    resources:
      testIotDomain:
        type: oci:oci:IotIotDomain
        name: test_iot_domain
        properties:
          compartmentId: ${compartmentId}
          iotDomainGroupId: ${testIotDomainGroup.id}
          definedTags:
            Operations.CostCenter: '42'
          description: ${iotDomainDescription}
          displayName: ${iotDomainDisplayName}
          freeformTags:
            Department: Finance
    

    Create IotIotDomain Resource

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

    Constructor syntax

    new IotIotDomain(name: string, args: IotIotDomainArgs, opts?: CustomResourceOptions);
    @overload
    def IotIotDomain(resource_name: str,
                     args: IotIotDomainArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def IotIotDomain(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     compartment_id: Optional[str] = None,
                     iot_domain_group_id: 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 NewIotIotDomain(ctx *Context, name string, args IotIotDomainArgs, opts ...ResourceOption) (*IotIotDomain, error)
    public IotIotDomain(string name, IotIotDomainArgs args, CustomResourceOptions? opts = null)
    public IotIotDomain(String name, IotIotDomainArgs args)
    public IotIotDomain(String name, IotIotDomainArgs args, CustomResourceOptions options)
    
    type: oci:oci:IotIotDomain
    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 IotIotDomainArgs
    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 IotIotDomainArgs
    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 IotIotDomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IotIotDomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IotIotDomainArgs
    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 iotIotDomainResource = new Oci.Oci.IotIotDomain("iotIotDomainResource", new()
    {
        CompartmentId = "string",
        IotDomainGroupId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := oci.NewIotIotDomain(ctx, "iotIotDomainResource", &oci.IotIotDomainArgs{
    	CompartmentId:    pulumi.String("string"),
    	IotDomainGroupId: 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 iotIotDomainResource = new IotIotDomain("iotIotDomainResource", IotIotDomainArgs.builder()
        .compartmentId("string")
        .iotDomainGroupId("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .build());
    
    iot_iot_domain_resource = oci.oci.IotIotDomain("iotIotDomainResource",
        compartment_id="string",
        iot_domain_group_id="string",
        defined_tags={
            "string": "string",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "string",
        })
    
    const iotIotDomainResource = new oci.oci.IotIotDomain("iotIotDomainResource", {
        compartmentId: "string",
        iotDomainGroupId: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "string",
        },
    });
    
    type: oci:oci:IotIotDomain
    properties:
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        iotDomainGroupId: string
    

    IotIotDomain 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 IotIotDomain resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment corresponding to the resource.
    IotDomainGroupId string

    The OCID of the IoT domain group.

    ** 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

    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"}
    CompartmentId string
    (Updatable) The OCID of the compartment corresponding to the resource.
    IotDomainGroupId string

    The OCID of the IoT domain group.

    ** 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

    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"}
    compartmentId String
    (Updatable) The OCID of the compartment corresponding to the resource.
    iotDomainGroupId String

    The OCID of the IoT domain group.

    ** 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

    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"}
    compartmentId string
    (Updatable) The OCID of the compartment corresponding to the resource.
    iotDomainGroupId string

    The OCID of the IoT domain group.

    ** 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

    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"}
    compartment_id str
    (Updatable) The OCID of the compartment corresponding to the resource.
    iot_domain_group_id str

    The OCID of the IoT domain group.

    ** 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

    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"}
    compartmentId String
    (Updatable) The OCID of the compartment corresponding to the resource.
    iotDomainGroupId String

    The OCID of the IoT domain group.

    ** 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

    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 IotIotDomain resource produces the following output properties:

    DataRetentionPeriodsInDays List<IotIotDomainDataRetentionPeriodsInDay>
    Data Retention periods
    DbAllowListedIdentityGroupNames List<string>
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    DbAllowedIdentityDomainHost string
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    DeviceHost string
    Host name of an IoT domain, where IoT devices can connect to.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the IoT domain.
    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
    DataRetentionPeriodsInDays []IotIotDomainDataRetentionPeriodsInDay
    Data Retention periods
    DbAllowListedIdentityGroupNames []string
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    DbAllowedIdentityDomainHost string
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    DeviceHost string
    Host name of an IoT domain, where IoT devices can connect to.
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    The current state of the IoT domain.
    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
    dataRetentionPeriodsInDays List<IotIotDomainDataRetentionPeriodsInDay>
    Data Retention periods
    dbAllowListedIdentityGroupNames List<String>
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    dbAllowedIdentityDomainHost String
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    deviceHost String
    Host name of an IoT domain, where IoT devices can connect to.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the IoT domain.
    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
    dataRetentionPeriodsInDays IotIotDomainDataRetentionPeriodsInDay[]
    Data Retention periods
    dbAllowListedIdentityGroupNames string[]
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    dbAllowedIdentityDomainHost string
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    deviceHost string
    Host name of an IoT domain, where IoT devices can connect to.
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    The current state of the IoT domain.
    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
    data_retention_periods_in_days Sequence[IotIotDomainDataRetentionPeriodsInDay]
    Data Retention periods
    db_allow_listed_identity_group_names Sequence[str]
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    db_allowed_identity_domain_host str
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    device_host str
    Host name of an IoT domain, where IoT devices can connect to.
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    The current state of the IoT domain.
    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
    dataRetentionPeriodsInDays List<Property Map>
    Data Retention periods
    dbAllowListedIdentityGroupNames List<String>
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    dbAllowedIdentityDomainHost String
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    deviceHost String
    Host name of an IoT domain, where IoT devices can connect to.
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    The current state of the IoT domain.
    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 IotIotDomain Resource

    Get an existing IotIotDomain 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?: IotIotDomainState, opts?: CustomResourceOptions): IotIotDomain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            data_retention_periods_in_days: Optional[Sequence[IotIotDomainDataRetentionPeriodsInDayArgs]] = None,
            db_allow_listed_identity_group_names: Optional[Sequence[str]] = None,
            db_allowed_identity_domain_host: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            device_host: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            iot_domain_group_id: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> IotIotDomain
    func GetIotIotDomain(ctx *Context, name string, id IDInput, state *IotIotDomainState, opts ...ResourceOption) (*IotIotDomain, error)
    public static IotIotDomain Get(string name, Input<string> id, IotIotDomainState? state, CustomResourceOptions? opts = null)
    public static IotIotDomain get(String name, Output<String> id, IotIotDomainState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:IotIotDomain    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:
    CompartmentId string
    (Updatable) The OCID of the compartment corresponding to the resource.
    DataRetentionPeriodsInDays List<IotIotDomainDataRetentionPeriodsInDay>
    Data Retention periods
    DbAllowListedIdentityGroupNames List<string>
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    DbAllowedIdentityDomainHost string
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    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.
    DeviceHost string
    Host name of an IoT domain, where IoT devices can connect to.
    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"}
    IotDomainGroupId string

    The OCID of the IoT domain group.

    ** 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

    State string
    The current state of the IoT domain.
    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
    CompartmentId string
    (Updatable) The OCID of the compartment corresponding to the resource.
    DataRetentionPeriodsInDays []IotIotDomainDataRetentionPeriodsInDayArgs
    Data Retention periods
    DbAllowListedIdentityGroupNames []string
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    DbAllowedIdentityDomainHost string
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    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.
    DeviceHost string
    Host name of an IoT domain, where IoT devices can connect to.
    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"}
    IotDomainGroupId string

    The OCID of the IoT domain group.

    ** 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

    State string
    The current state of the IoT domain.
    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
    compartmentId String
    (Updatable) The OCID of the compartment corresponding to the resource.
    dataRetentionPeriodsInDays List<IotIotDomainDataRetentionPeriodsInDay>
    Data Retention periods
    dbAllowListedIdentityGroupNames List<String>
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    dbAllowedIdentityDomainHost String
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    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.
    deviceHost String
    Host name of an IoT domain, where IoT devices can connect to.
    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"}
    iotDomainGroupId String

    The OCID of the IoT domain group.

    ** 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

    state String
    The current state of the IoT domain.
    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
    compartmentId string
    (Updatable) The OCID of the compartment corresponding to the resource.
    dataRetentionPeriodsInDays IotIotDomainDataRetentionPeriodsInDay[]
    Data Retention periods
    dbAllowListedIdentityGroupNames string[]
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    dbAllowedIdentityDomainHost string
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    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.
    deviceHost string
    Host name of an IoT domain, where IoT devices can connect to.
    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"}
    iotDomainGroupId string

    The OCID of the IoT domain group.

    ** 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

    state string
    The current state of the IoT domain.
    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
    compartment_id str
    (Updatable) The OCID of the compartment corresponding to the resource.
    data_retention_periods_in_days Sequence[IotIotDomainDataRetentionPeriodsInDayArgs]
    Data Retention periods
    db_allow_listed_identity_group_names Sequence[str]
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    db_allowed_identity_domain_host str
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    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.
    device_host str
    Host name of an IoT domain, where IoT devices can connect to.
    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_group_id str

    The OCID of the IoT domain group.

    ** 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

    state str
    The current state of the IoT domain.
    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
    compartmentId String
    (Updatable) The OCID of the compartment corresponding to the resource.
    dataRetentionPeriodsInDays List<Property Map>
    Data Retention periods
    dbAllowListedIdentityGroupNames List<String>
    List of IAM groups of form described in here that are allowed to directly connect to the data host.
    dbAllowedIdentityDomainHost String
    Host name of identity domain that is used for authenticating connect to data host via ORDS.
    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.
    deviceHost String
    Host name of an IoT domain, where IoT devices can connect to.
    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"}
    iotDomainGroupId String

    The OCID of the IoT domain group.

    ** 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

    state String
    The current state of the IoT domain.
    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

    Supporting Types

    IotIotDomainDataRetentionPeriodsInDay, IotIotDomainDataRetentionPeriodsInDayArgs

    HistorizedData int
    Number of days for which any normalized data sent to IoT devices would be retained for.
    RawCommandData int
    Number of days for which any raw command data sent to IoT devices would be retained for.
    RawData int
    Number of days for which any raw data sent to IoT devices would be retained for.
    RejectedData int
    Number of days for which any data sent to IoT devices would be retained for.
    HistorizedData int
    Number of days for which any normalized data sent to IoT devices would be retained for.
    RawCommandData int
    Number of days for which any raw command data sent to IoT devices would be retained for.
    RawData int
    Number of days for which any raw data sent to IoT devices would be retained for.
    RejectedData int
    Number of days for which any data sent to IoT devices would be retained for.
    historizedData Integer
    Number of days for which any normalized data sent to IoT devices would be retained for.
    rawCommandData Integer
    Number of days for which any raw command data sent to IoT devices would be retained for.
    rawData Integer
    Number of days for which any raw data sent to IoT devices would be retained for.
    rejectedData Integer
    Number of days for which any data sent to IoT devices would be retained for.
    historizedData number
    Number of days for which any normalized data sent to IoT devices would be retained for.
    rawCommandData number
    Number of days for which any raw command data sent to IoT devices would be retained for.
    rawData number
    Number of days for which any raw data sent to IoT devices would be retained for.
    rejectedData number
    Number of days for which any data sent to IoT devices would be retained for.
    historized_data int
    Number of days for which any normalized data sent to IoT devices would be retained for.
    raw_command_data int
    Number of days for which any raw command data sent to IoT devices would be retained for.
    raw_data int
    Number of days for which any raw data sent to IoT devices would be retained for.
    rejected_data int
    Number of days for which any data sent to IoT devices would be retained for.
    historizedData Number
    Number of days for which any normalized data sent to IoT devices would be retained for.
    rawCommandData Number
    Number of days for which any raw command data sent to IoT devices would be retained for.
    rawData Number
    Number of days for which any raw data sent to IoT devices would be retained for.
    rejectedData Number
    Number of days for which any data sent to IoT devices would be retained for.

    Import

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

    $ pulumi import oci:oci/iotIotDomain:IotIotDomain test_iot_domain "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.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate