Data Source: oci_identity_domains
This data source provides the list of Domains in Oracle Cloud Infrastructure Identity service.
List all domains that are homed or have a replica region in current region. - If any internal error occurs, return 500 INTERNAL SERVER ERROR.
Example Usage
data "oci_identity_domains" "test_domains" {
#Required
compartment_id = var.compartment_id
#Optional
display_name = var.domain_display_name
home_region_url = var.domain_home_region_url
is_hidden_on_login = var.domain_is_hidden_on_login
license_type = var.domain_license_type
name = var.domain_name
state = var.domain_state
type = var.domain_type
url = var.domain_url
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The OCID of the compartment (remember that the tenancy is simply the root compartment).display_name
- (Optional) The mutable display name of the domainhome_region_url
- (Optional) The region specific domain URLis_hidden_on_login
- (Optional) Indicate if the domain is visible at login screen or notlicense_type
- (Optional) The domain license typename
- (Optional) A filter to only return resources that match the given name exactly.state
- (Optional) A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.type
- (Optional) The domain typeurl
- (Optional) The region agnostic domain URL
Attributes Reference
The following attributes are exported:
domains
- The list of domains.
Domain Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment containing the domain.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
- The domain descripitiondisplay_name
- The mutable display name of the domainfreeform_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"}
home_region
- The home region for the domain. See Regions and Availability Domains for the full list of supported region names. Example:us-phoenix-1
home_region_url
- Region specific domain URL.id
- The OCID of the domainis_hidden_on_login
- Indicates whether domain is hidden on login screen or not.license_type
- The License type of Domainlifecycle_details
- Any additional details about the current state of the Domain.replica_regions
- The regions domain is replication to.region
- A REPLICATION_ENABLED region, e.g. us-ashburn-1. See Regions and Availability Domains for the full list of supported region names.state
- The IDCS replicated region stateurl
- Region agnostic domain URL.
state
- The current state.time_created
- Date and time the domain was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
type
- The type of the domain.url
- Region agnostic domain URL.