Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 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/v4/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 dictionaryThe following arguments are supported:
- Iot
Domain stringId - The OCID of the IoT domain.
- Iot
Domain stringId - The OCID of the IoT domain.
- iot
Domain StringId - The OCID of the IoT domain.
- iot
Domain stringId - The OCID of the IoT domain.
- iot_
domain_ strid - The OCID of the IoT domain.
- iot
Domain StringId - The OCID of the IoT domain.
getIotIotDomain Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment corresponding to the resource.
- Data
Retention List<GetPeriods In Days Iot Iot Domain Data Retention Periods In Day> - Data Retention periods
- Db
Allow List<string>Listed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- Db
Allowed stringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- 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.
- Device
Host string - Host name of an IoT domain, where IoT devices can connect to.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- Iot
Domain stringGroup Id - The OCID of the IoT domain group.
- Iot
Domain stringId - State string
- The current state of the IoT domain.
- 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
- Compartment
Id string - The OCID of the compartment corresponding to the resource.
- Data
Retention []GetPeriods In Days Iot Iot Domain Data Retention Periods In Day - Data Retention periods
- Db
Allow []stringListed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- Db
Allowed stringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- 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.
- Device
Host string - Host name of an IoT domain, where IoT devices can connect to.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- Iot
Domain stringGroup Id - The OCID of the IoT domain group.
- Iot
Domain stringId - State string
- The current state of the IoT domain.
- 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
- compartment
Id String - The OCID of the compartment corresponding to the resource.
- data
Retention List<GetPeriods In Days Iot Iot Domain Data Retention Periods In Day> - Data Retention periods
- db
Allow List<String>Listed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- db
Allowed StringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- 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.
- device
Host String - Host name of an IoT domain, where IoT devices can connect to.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- iot
Domain StringGroup Id - The OCID of the IoT domain group.
- iot
Domain StringId - state String
- The current state of the IoT domain.
- 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
- compartment
Id string - The OCID of the compartment corresponding to the resource.
- data
Retention GetPeriods In Days Iot Iot Domain Data Retention Periods In Day[] - Data Retention periods
- db
Allow string[]Listed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- db
Allowed stringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- {[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.
- device
Host string - Host name of an IoT domain, where IoT devices can connect to.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[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.
- iot
Domain stringGroup Id - The OCID of the IoT domain group.
- iot
Domain stringId - state string
- The current state of the IoT domain.
- {[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
- compartment_
id str - The OCID of the compartment corresponding to the resource.
- data_
retention_ Sequence[Getperiods_ in_ days Iot Iot Domain Data Retention Periods In Day] - Data Retention periods
- db_
allow_ Sequence[str]listed_ identity_ group_ names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- db_
allowed_ stridentity_ domain_ host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- 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.
- 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_ strgroup_ id - The OCID of the IoT domain group.
- iot_
domain_ strid - state str
- The current state of the IoT domain.
- 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
- compartment
Id String - The OCID of the compartment corresponding to the resource.
- data
Retention List<Property Map>Periods In Days - Data Retention periods
- db
Allow List<String>Listed Identity Group Names - List of IAM groups of form described in here that are allowed to directly connect to the data host.
- db
Allowed StringIdentity Domain Host - Host name of identity domain that is used for authenticating connect to data host via ORDS.
- 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.
- device
Host String - Host name of an IoT domain, where IoT devices can connect to.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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.
- iot
Domain StringGroup Id - The OCID of the IoT domain group.
- iot
Domain StringId - state String
- The current state of the IoT domain.
- 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
Supporting Types
GetIotIotDomainDataRetentionPeriodsInDay
- Historized
Data int - Number of days for which any normalized data sent to IoT devices would be retained for.
- Raw
Command intData - 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.
- Historized
Data int - Number of days for which any normalized data sent to IoT devices would be retained for.
- Raw
Command intData - 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.
- historized
Data Integer - Number of days for which any normalized data sent to IoT devices would be retained for.
- raw
Command IntegerData - Number of days for which any raw command data sent to IoT devices would be retained for.
- raw
Data Integer - Number of days for which any raw data sent to IoT devices would be retained for.
- rejected
Data Integer - Number of days for which any data sent to IoT devices would be retained for.
- historized
Data number - Number of days for which any normalized data sent to IoT devices would be retained for.
- raw
Command numberData - Number of days for which any raw command data sent to IoT devices would be retained for.
- raw
Data number - Number of days for which any raw data sent to IoT devices would be retained for.
- rejected
Data 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_ intdata - 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.
- historized
Data Number - Number of days for which any normalized data sent to IoT devices would be retained for.
- raw
Command NumberData - Number of days for which any raw command data sent to IoT devices would be retained for.
- raw
Data Number - Number of days for which any raw data sent to IoT devices would be retained for.
- rejected
Data 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
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.5.0
published on Thursday, Apr 2, 2026 by Pulumi
published on Thursday, Apr 2, 2026 by Pulumi
