Data Source: oci_iot_iot_domain_groups
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
data "oci_iot_iot_domain_groups" "test_iot_domain_groups" {
#Required
compartment_id = var.compartment_id
#Optional
display_name = var.iot_domain_group_display_name
id = var.iot_domain_group_id
state = var.iot_domain_group_state
type = var.iot_domain_group_type
}
Argument Reference
The following arguments are supported:
compartment_id- (Required) The OCID of the compartment in which to list resources.display_name- (Optional) Filter resources whose display name matches the specified value.id- (Optional) Filter resources by OCID. Must be a valid OCID of the resource type.state- (Optional) Filter resources whose lifecycleState matches the specified value.type- (Optional) Filter resources by type. Valid values are LIGHTWEIGHT or STANDARD.
Attributes Reference
The following attributes are exported:
iot_domain_group_collection- The list of iot_domain_group_collection.
IotDomainGroup Reference
The following attributes are exported:
compartment_id- The OCID of the compartment corresponding to the resource.data_host- The host name of the database corresponding to the IoT Domain group.db_allow_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_string- The connection string used to connect to the data host associated with the IoT domain group.db_token_scope- The token scope used to connect to the data host associated with the IoT domain group.defined_tags- 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- A short description of the resource.display_name- A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.freeform_tags- 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- The OCID of the resource.state- The current state of an IoT Domain Group.system_tags- System tags for this resource. Each key is predefined and scoped to a namespace. Example:{"orcl-cloud.free-tier-retained": "true"}time_created- The date and time when the resource was created, in the format defined by RFC 3339. Example:2016-08-25T21:10:29.600Ztime_updated- The date and time when the resource was last updated, in the format defined by RFC 3339. Example:2016-08-25T21:10:29.600Ztype- Type of domain group. DEVELOPMENT uses fewer resources and has a higher Recovery Time Objective (RTO), making it suitable for development and testing. PRODUCTION is recommended for production workloads. LIGHTWEIGHT and STANDARD are deprecated aliases for DEVELOPMENT and PRODUCTION respectively and will be removed in a future release.