Data Source: oci_dataflow_sql_endpoints
This data source provides the list of Sql Endpoints in Oracle Cloud Infrastructure Data Flow service.
Lists all Sql Endpoints in the specified compartment. The query must include compartmentId or sqlEndpointId. If the query does not include either compartmentId or sqlEndpointId, an error is returned.
Example Usage
data "oci_dataflow_sql_endpoints" "test_sql_endpoints" {
#Optional
compartment_id = var.compartment_id
display_name = var.sql_endpoint_display_name
sql_endpoint_id = oci_dataflow_sql_endpoint.test_sql_endpoint.id
state = var.sql_endpoint_state
}
Argument Reference
The following arguments are supported:
compartment_id
- (Optional) The OCID of the compartment in which to query resources.display_name
- (Optional) The query parameter for the Spark application name.sql_endpoint_id
- (Optional) The unique id of the SQL Endpoint.state
- (Optional) A filter to return only those resources whose sqlEndpointLifecycleState matches the given sqlEndpointLifecycleState.
Attributes Reference
The following attributes are exported:
sql_endpoint_collection
- The list of sql_endpoint_collection.
SqlEndpoint Reference
The following attributes are exported:
compartment_id
- The OCID of a compartment.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 description of the SQL Endpoint.display_name
- The SQL Endpoint name, which can be changed.driver_shape
- The shape of the SQL Endpoint driver instance.driver_shape_config
- This is used to configure the shape of the driver or executor if a flexible shape is used.memory_in_gbs
- The amount of memory used for the driver or executors.ocpus
- The total number of OCPUs used for the driver or executors. See here for details.
executor_shape
- The shape of the SQL Endpoint executor instance.executor_shape_config
- This is used to configure the shape of the driver or executor if a flexible shape is used.memory_in_gbs
- The amount of memory used for the driver or executors.ocpus
- The total number of OCPUs used for the driver or executors. See here for details.
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 provision identifier that is immutable on creation.jdbc_endpoint_url
- The JDBC URL field. For example, jdbc:spark://{serviceFQDN}:443/default;SparkServerType=DFIlake_id
- The OCID of Oracle Cloud Infrastructure Lake.last_accepted_request_token
- This token is used by Splat, and indicates that the service accepts the request, and that the request is currently being processed.max_executor_count
- The maximum number of executors.metastore_id
- The OCID of Oracle Cloud Infrastructure Hive Metastore.min_executor_count
- The minimum number of executors.network_configuration
- The network configuration of a SQL Endpoint.access_control_rules
- A list of SecureAccessControlRule’s to which access is limited toip_notation
- The type of IP notation.value
- The associated value of the selected IP notation.vcn_ips
- A comma-separated IP or CIDR address for VCN OCID IP notation selection.
host_name_prefix
- The host name prefix.network_type
- The type of network configuration.nsg_ids
- The OCIDs of Network Security Groups (NSGs).private_endpoint_ip
- Ip Address of private endpointpublic_endpoint_ip
- Ip Address of public endpointsubnet_id
- The VCN Subnet OCID.vcn_id
- The VCN OCID.
spark_advanced_configurations
- The Spark configuration passed to the running process. See https://spark.apache.org/docs/latest/configuration.html#available-properties. Example: { “spark.app.name” : “My App Name”, “spark.shuffle.io.maxRetries” : “4” } Note: Not all Spark properties are permitted to be set. Attempting to set a property that is not allowed to be overwritten will cause a 400 status to be returned.sql_endpoint_version
- The version of SQL Endpoint.state
- The current state of the Sql Endpoint.state_message
- A message describing the reason why the resource is in it’s current state. Helps bubble up errors in state changes. For example, it can be used to provide actionable information for a resource in the Failed state.system_tags
- The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example:{orcl-cloud: {free-tier-retain: true}}
time_created
- The time the Sql Endpoint was created. An RFC3339 formatted datetime string.time_updated
- The time the Sql Endpoint was updated. An RFC3339 formatted datetime string.warehouse_bucket_uri
- The warehouse bucket URI. It is a Oracle Cloud Infrastructure Object Storage bucket URI as defined here https://docs.oracle.com/en/cloud/paas/atp-cloud/atpud/object-storage-uris.html