Data Source: oci_dataintegration_workspaces
This data source provides the list of Workspaces in Oracle Cloud Infrastructure Data Integration service.
Retrieves a list of Data Integration workspaces.
Example Usage
data "oci_dataintegration_workspaces" "test_workspaces" {
#Required
compartment_id = var.compartment_id
#Optional
name = var.workspace_name
state = var.workspace_state
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The OCID of the compartment containing the resources you want to list.name
- (Optional) Used to filter by the name of the object.state
- (Optional) The lifecycle state of a resource. When specified, the operation only returns resources that match the given lifecycle state. When not specified, all lifecycle states are processed as a match.
Attributes Reference
The following attributes are exported:
workspaces
- The list of workspaces.
Workspace Reference
The following attributes are exported:
compartment_id
- The OCID of the compartment that contains the workspace.defined_tags
- Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example:{"Operations.CostCenter": "42"}
description
- A user defined description for the workspace.display_name
- A user-friendly display name for the workspace. Does not have to be unique, and can be modified. Avoid entering confidential information.dns_server_ip
- The IP of the custom DNS.dns_server_zone
- The DNS zone of the custom DNS to use to resolve names.endpoint_id
- DCMS endpoint associated with the container/workspace. Returns null if there is none.endpoint_name
- Name of the private endpoint associated with the container/workspace. Returns null if there is none.freeform_tags
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example:{"Department": "Finance"}
id
- A system-generated and immutable identifier assigned to the workspace upon creation.is_private_network_enabled
- Specifies whether the private network connection is enabled or disabled.registry_id
- DCMS registry associated with the container/workspace. Returns null if there is none.state
- Lifecycle states for workspaces in Data Integration Service CREATING - The resource is being created and may not be usable until the entire metadata is defined UPDATING - The resource is being updated and may not be usable until all changes are commited DELETING - The resource is being deleted and might require deep cleanup of children. ACTIVE - The resource is valid and available for access INACTIVE - The resource might be incomplete in its definition or might have been made unavailable for administrative reasons DELETED - The resource has been deleted and isn’t available FAILED - The resource is in a failed state due to validation or other errors STARTING - The resource is being started and may not be usable until becomes ACTIVE again STOPPING - The resource is in the process of Stopping and may not be usable until it Stops or fails STOPPED - The resource is in Stopped state due to stop operation.state_message
- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.subnet_id
- The OCID of the subnet for customer connected databases.time_created
- The date and time the workspace was created, in the timestamp format defined by RFC3339.time_updated
- The date and time the workspace was updated, in the timestamp format defined by RFC3339.vcn_id
- The OCID of the VCN the subnet is in.