Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
This data source provides the list of Iot Domain Groups in Oracle Cloud Infrastructure Iot service.
Retrieves a list of IoT domain groups within the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testIotDomainGroups = oci.oci.getIotIotDomainGroups({
compartmentId: compartmentId,
displayName: iotDomainGroupDisplayName,
id: iotDomainGroupId,
state: iotDomainGroupState,
});
import pulumi
import pulumi_oci as oci
test_iot_domain_groups = oci.oci.get_iot_iot_domain_groups(compartment_id=compartment_id,
display_name=iot_domain_group_display_name,
id=iot_domain_group_id,
state=iot_domain_group_state)
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.GetIotIotDomainGroups(ctx, &oci.GetIotIotDomainGroupsArgs{
CompartmentId: compartmentId,
DisplayName: pulumi.StringRef(iotDomainGroupDisplayName),
Id: pulumi.StringRef(iotDomainGroupId),
State: pulumi.StringRef(iotDomainGroupState),
}, 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 testIotDomainGroups = Oci.Oci.GetIotIotDomainGroups.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = iotDomainGroupDisplayName,
Id = iotDomainGroupId,
State = iotDomainGroupState,
});
});
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.GetIotIotDomainGroupsArgs;
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 testIotDomainGroups = OciFunctions.getIotIotDomainGroups(GetIotIotDomainGroupsArgs.builder()
.compartmentId(compartmentId)
.displayName(iotDomainGroupDisplayName)
.id(iotDomainGroupId)
.state(iotDomainGroupState)
.build());
}
}
variables:
testIotDomainGroups:
fn::invoke:
function: oci:oci:getIotIotDomainGroups
arguments:
compartmentId: ${compartmentId}
displayName: ${iotDomainGroupDisplayName}
id: ${iotDomainGroupId}
state: ${iotDomainGroupState}
Using getIotIotDomainGroups
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 getIotIotDomainGroups(args: GetIotIotDomainGroupsArgs, opts?: InvokeOptions): Promise<GetIotIotDomainGroupsResult>
function getIotIotDomainGroupsOutput(args: GetIotIotDomainGroupsOutputArgs, opts?: InvokeOptions): Output<GetIotIotDomainGroupsResult>def get_iot_iot_domain_groups(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetIotIotDomainGroupsFilter]] = None,
id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIotIotDomainGroupsResult
def get_iot_iot_domain_groups_output(compartment_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetIotIotDomainGroupsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIotIotDomainGroupsResult]func GetIotIotDomainGroups(ctx *Context, args *GetIotIotDomainGroupsArgs, opts ...InvokeOption) (*GetIotIotDomainGroupsResult, error)
func GetIotIotDomainGroupsOutput(ctx *Context, args *GetIotIotDomainGroupsOutputArgs, opts ...InvokeOption) GetIotIotDomainGroupsResultOutput> Note: This function is named GetIotIotDomainGroups in the Go SDK.
public static class GetIotIotDomainGroups
{
public static Task<GetIotIotDomainGroupsResult> InvokeAsync(GetIotIotDomainGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetIotIotDomainGroupsResult> Invoke(GetIotIotDomainGroupsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIotIotDomainGroupsResult> getIotIotDomainGroups(GetIotIotDomainGroupsArgs args, InvokeOptions options)
public static Output<GetIotIotDomainGroupsResult> getIotIotDomainGroups(GetIotIotDomainGroupsArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getIotIotDomainGroups:getIotIotDomainGroups
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - Filter resources whose display name matches the specified value.
- Filters
List<Get
Iot Iot Domain Groups Filter> - Id string
- Filter resources by OCID. Must be a valid OCID of the resource type.
- State string
- Filter resources whose lifecycleState matches the specified value.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - Filter resources whose display name matches the specified value.
- Filters
[]Get
Iot Iot Domain Groups Filter - Id string
- Filter resources by OCID. Must be a valid OCID of the resource type.
- State string
- Filter resources whose lifecycleState matches the specified value.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - Filter resources whose display name matches the specified value.
- filters
List<Get
Iot Iot Domain Groups Filter> - id String
- Filter resources by OCID. Must be a valid OCID of the resource type.
- state String
- Filter resources whose lifecycleState matches the specified value.
- compartment
Id string - The OCID of the compartment in which to list resources.
- display
Name string - Filter resources whose display name matches the specified value.
- filters
Get
Iot Iot Domain Groups Filter[] - id string
- Filter resources by OCID. Must be a valid OCID of the resource type.
- state string
- Filter resources whose lifecycleState matches the specified value.
- compartment_
id str - The OCID of the compartment in which to list resources.
- display_
name str - Filter resources whose display name matches the specified value.
- filters
Sequence[Get
Iot Iot Domain Groups Filter] - id str
- Filter resources by OCID. Must be a valid OCID of the resource type.
- state str
- Filter resources whose lifecycleState matches the specified value.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - Filter resources whose display name matches the specified value.
- filters List<Property Map>
- id String
- Filter resources by OCID. Must be a valid OCID of the resource type.
- state String
- Filter resources whose lifecycleState matches the specified value.
getIotIotDomainGroups Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment corresponding to the resource.
- Iot
Domain List<GetGroup Collections Iot Iot Domain Groups Iot Domain Group Collection> - The list of iot_domain_group_collection.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
List<Get
Iot Iot Domain Groups Filter> - Id string
- The OCID of the resource.
- State string
- The current state of an IoT Domain Group.
- Compartment
Id string - The OCID of the compartment corresponding to the resource.
- Iot
Domain []GetGroup Collections Iot Iot Domain Groups Iot Domain Group Collection - The list of iot_domain_group_collection.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
[]Get
Iot Iot Domain Groups Filter - Id string
- The OCID of the resource.
- State string
- The current state of an IoT Domain Group.
- compartment
Id String - The OCID of the compartment corresponding to the resource.
- iot
Domain List<GetGroup Collections Iot Iot Domain Groups Iot Domain Group Collection> - The list of iot_domain_group_collection.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
List<Get
Iot Iot Domain Groups Filter> - id String
- The OCID of the resource.
- state String
- The current state of an IoT Domain Group.
- compartment
Id string - The OCID of the compartment corresponding to the resource.
- iot
Domain GetGroup Collections Iot Iot Domain Groups Iot Domain Group Collection[] - The list of iot_domain_group_collection.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Get
Iot Iot Domain Groups Filter[] - id string
- The OCID of the resource.
- state string
- The current state of an IoT Domain Group.
- compartment_
id str - The OCID of the compartment corresponding to the resource.
- iot_
domain_ Sequence[Getgroup_ collections Iot Iot Domain Groups Iot Domain Group Collection] - The list of iot_domain_group_collection.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Sequence[Get
Iot Iot Domain Groups Filter] - id str
- The OCID of the resource.
- state str
- The current state of an IoT Domain Group.
- compartment
Id String - The OCID of the compartment corresponding to the resource.
- iot
Domain List<Property Map>Group Collections - The list of iot_domain_group_collection.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters List<Property Map>
- id String
- The OCID of the resource.
- state String
- The current state of an IoT Domain Group.
Supporting Types
GetIotIotDomainGroupsFilter
GetIotIotDomainGroupsIotDomainGroupCollection
GetIotIotDomainGroupsIotDomainGroupCollectionItem
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Data
Host string - The host name of the database corresponding to the IoT Domain group.
- Db
Allow List<string>Listed Vcn Ids - This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
- Db
Connection stringString - The connection string used to connect to the data host associated with the IoT domain group.
- Db
Token stringScope - The token scope used to connect to the data host associated with the IoT domain group.
- 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.
- Display
Name string - Filter resources whose display name matches the specified value.
- 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
- Filter resources by OCID. Must be a valid OCID of the resource type.
- State string
- Filter resources whose lifecycleState matches the specified value.
- 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 in which to list resources.
- Data
Host string - The host name of the database corresponding to the IoT Domain group.
- Db
Allow []stringListed Vcn Ids - This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
- Db
Connection stringString - The connection string used to connect to the data host associated with the IoT domain group.
- Db
Token stringScope - The token scope used to connect to the data host associated with the IoT domain group.
- 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.
- Display
Name string - Filter resources whose display name matches the specified value.
- 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
- Filter resources by OCID. Must be a valid OCID of the resource type.
- State string
- Filter resources whose lifecycleState matches the specified value.
- 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 in which to list resources.
- data
Host String - The host name of the database corresponding to the IoT Domain group.
- db
Allow List<String>Listed Vcn Ids - This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
- db
Connection StringString - The connection string used to connect to the data host associated with the IoT domain group.
- db
Token StringScope - The token scope used to connect to the data host associated with the IoT domain group.
- 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.
- display
Name String - Filter resources whose display name matches the specified value.
- 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
- Filter resources by OCID. Must be a valid OCID of the resource type.
- state String
- Filter resources whose lifecycleState matches the specified value.
- 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 in which to list resources.
- data
Host string - The host name of the database corresponding to the IoT Domain group.
- db
Allow string[]Listed Vcn Ids - This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
- db
Connection stringString - The connection string used to connect to the data host associated with the IoT domain group.
- db
Token stringScope - The token scope used to connect to the data host associated with the IoT domain group.
- {[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.
- display
Name string - Filter resources whose display name matches the specified value.
- {[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
- Filter resources by OCID. Must be a valid OCID of the resource type.
- state string
- Filter resources whose lifecycleState matches the specified value.
- {[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 in which to list resources.
- data_
host str - The host name of the database corresponding to the IoT Domain group.
- db_
allow_ Sequence[str]listed_ vcn_ ids - This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
- db_
connection_ strstring - The connection string used to connect to the data host associated with the IoT domain group.
- db_
token_ strscope - The token scope used to connect to the data host associated with the IoT domain group.
- 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.
- display_
name str - Filter resources whose display name matches the specified value.
- 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
- Filter resources by OCID. Must be a valid OCID of the resource type.
- state str
- Filter resources whose lifecycleState matches the specified value.
- 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 in which to list resources.
- data
Host String - The host name of the database corresponding to the IoT Domain group.
- db
Allow List<String>Listed Vcn Ids - This is an array of VCN OCID (virtual cloud network Oracle Cloud ID) that is allowed to connect the data host.
- db
Connection StringString - The connection string used to connect to the data host associated with the IoT domain group.
- db
Token StringScope - The token scope used to connect to the data host associated with the IoT domain group.
- 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.
- display
Name String - Filter resources whose display name matches the specified value.
- 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
- Filter resources by OCID. Must be a valid OCID of the resource type.
- state String
- Filter resources whose lifecycleState matches the specified value.
- 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
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
