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

oci.oci.getIotIotDomain

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

    This data source provides details about a specific Iot Domain resource in Oracle Cloud Infrastructure Iot service.

    Retrieves the IoT domain identified by the specified OCID.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testIotDomain = oci.oci.getIotIotDomain({
        iotDomainId: testIotDomainOciIotIotDomain.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_iot_domain = oci.oci.get_iot_iot_domain(iot_domain_id=test_iot_domain_oci_iot_iot_domain["id"])
    
    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.LookupIotIotDomain(ctx, &oci.LookupIotIotDomainArgs{
    			IotDomainId: testIotDomainOciIotIotDomain.Id,
    		}, nil)
    		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 = Oci.Oci.GetIotIotDomain.Invoke(new()
        {
            IotDomainId = testIotDomainOciIotIotDomain.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.OciFunctions;
    import com.pulumi.oci.oci.inputs.GetIotIotDomainArgs;
    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) {
            final var testIotDomain = OciFunctions.getIotIotDomain(GetIotIotDomainArgs.builder()
                .iotDomainId(testIotDomainOciIotIotDomain.id())
                .build());
    
        }
    }
    
    variables:
      testIotDomain:
        fn::invoke:
          function: oci:oci:getIotIotDomain
          arguments:
            iotDomainId: ${testIotDomainOciIotIotDomain.id}
    

    Using getIotIotDomain

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getIotIotDomain(args: GetIotIotDomainArgs, opts?: InvokeOptions): Promise<GetIotIotDomainResult>
    function getIotIotDomainOutput(args: GetIotIotDomainOutputArgs, opts?: InvokeOptions): Output<GetIotIotDomainResult>
    def get_iot_iot_domain(iot_domain_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetIotIotDomainResult
    def get_iot_iot_domain_output(iot_domain_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetIotIotDomainResult]
    func LookupIotIotDomain(ctx *Context, args *LookupIotIotDomainArgs, opts ...InvokeOption) (*LookupIotIotDomainResult, error)
    func LookupIotIotDomainOutput(ctx *Context, args *LookupIotIotDomainOutputArgs, opts ...InvokeOption) LookupIotIotDomainResultOutput

    > Note: This function is named LookupIotIotDomain in the Go SDK.

    public static class GetIotIotDomain 
    {
        public static Task<GetIotIotDomainResult> InvokeAsync(GetIotIotDomainArgs args, InvokeOptions? opts = null)
        public static Output<GetIotIotDomainResult> Invoke(GetIotIotDomainInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIotIotDomainResult> getIotIotDomain(GetIotIotDomainArgs args, InvokeOptions options)
    public static Output<GetIotIotDomainResult> getIotIotDomain(GetIotIotDomainArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getIotIotDomain:getIotIotDomain
      arguments:
        # arguments dictionary

    The following arguments are supported:

    IotDomainId string
    The OCID of the IoT domain.
    IotDomainId string
    The OCID of the IoT domain.
    iotDomainId String
    The OCID of the IoT domain.
    iotDomainId string
    The OCID of the IoT domain.
    iot_domain_id str
    The OCID of the IoT domain.
    iotDomainId String
    The OCID of the IoT domain.

    getIotIotDomain Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment corresponding to the resource.
    DataRetentionPeriodsInDays List<GetIotIotDomainDataRetentionPeriodsInDay>
    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>
    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
    A short description of the resource.
    DeviceHost string
    Host name of an IoT domain, where IoT devices can connect to.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the resource.
    IotDomainGroupId string
    The OCID of the IoT domain group.
    IotDomainId string
    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
    The OCID of the compartment corresponding to the resource.
    DataRetentionPeriodsInDays []GetIotIotDomainDataRetentionPeriodsInDay
    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
    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
    A short description of the resource.
    DeviceHost string
    Host name of an IoT domain, where IoT devices can connect to.
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    The OCID of the resource.
    IotDomainGroupId string
    The OCID of the IoT domain group.
    IotDomainId string
    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
    The OCID of the compartment corresponding to the resource.
    dataRetentionPeriodsInDays List<GetIotIotDomainDataRetentionPeriodsInDay>
    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>
    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
    A short description of the resource.
    deviceHost String
    Host name of an IoT domain, where IoT devices can connect to.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the resource.
    iotDomainGroupId String
    The OCID of the IoT domain group.
    iotDomainId String
    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
    The OCID of the compartment corresponding to the resource.
    dataRetentionPeriodsInDays GetIotIotDomainDataRetentionPeriodsInDay[]
    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}
    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
    A short description of the resource.
    deviceHost string
    Host name of an IoT domain, where IoT devices can connect to.
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    The OCID of the resource.
    iotDomainGroupId string
    The OCID of the IoT domain group.
    iotDomainId string
    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
    The OCID of the compartment corresponding to the resource.
    data_retention_periods_in_days Sequence[GetIotIotDomainDataRetentionPeriodsInDay]
    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]
    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
    A short description of the resource.
    device_host str
    Host name of an IoT domain, where IoT devices can connect to.
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    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"}
    id str
    The OCID of the resource.
    iot_domain_group_id str
    The OCID of the IoT domain group.
    iot_domain_id str
    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
    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>
    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
    A short description of the resource.
    deviceHost String
    Host name of an IoT domain, where IoT devices can connect to.
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    The OCID of the resource.
    iotDomainGroupId String
    The OCID of the IoT domain group.
    iotDomainId String
    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

    GetIotIotDomainDataRetentionPeriodsInDay

    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.

    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