oci_database_management_external_exadata_storage_connector
This resource provides the External Exadata Storage Connector resource in Oracle Cloud Infrastructure Database Management service.
Creates the Exadata storage server connector after validating the connection information.
Example Usage
resource "oci_database_management_external_exadata_storage_connector" "test_external_exadata_storage_connector" {
#Required
agent_id = oci_cloud_bridge_agent.test_agent.id
connection_uri = var.external_exadata_storage_connector_connection_uri
connector_name = var.external_exadata_storage_connector_connector_name
credential_info {
#Required
password = var.external_exadata_storage_connector_credential_info_password
username = var.external_exadata_storage_connector_credential_info_username
#Optional
ssl_trust_store_location = var.external_exadata_storage_connector_credential_info_ssl_trust_store_location
ssl_trust_store_password = var.external_exadata_storage_connector_credential_info_ssl_trust_store_password
ssl_trust_store_type = var.external_exadata_storage_connector_credential_info_ssl_trust_store_type
}
storage_server_id = oci_database_management_storage_server.test_storage_server.id
#Optional
defined_tags = {"Operations.CostCenter"= "42"}
freeform_tags = {"Department"= "Finance"}
}
Argument Reference
The following arguments are supported:
agent_id
- (Required) The OCID of the agent for the Exadata storage server.connection_uri
- (Required) (Updatable) The unique string of the connection. For example, “https:///MS/RESTService/”. connector_name
- (Required) (Updatable) The name of the Exadata storage server connector.credential_info
- (Required) (Updatable) The user credential information.password
- (Required) (Updatable) The password of the user.ssl_trust_store_location
- (Optional) (Updatable) The full path of the SSL truststore location in the agent.ssl_trust_store_password
- (Optional) (Updatable) The password of the SSL truststore location in the agent.ssl_trust_store_type
- (Optional) (Updatable) The SSL truststore type.username
- (Required) (Updatable) The name of the user.
defined_tags
- (Optional) (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:{"Operations.CostCenter": "42"}
freeform_tags
- (Optional) (Updatable) 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"}
storage_server_id
- (Required) The OCID of the Exadata storage server.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Attributes Reference
The following attributes are exported:
additional_details
- The additional details of the resource defined in{"key": "value"}
format. Example:{"bar-key": "value"}
agent_id
- The OCID of the agent for the Exadata storage server.connection_uri
- The unique string of the connection. For example, “https:///MS/RESTService/”. 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"}
display_name
- The name of the Exadata resource. English letters, numbers, “-”, “_” and “.” only.exadata_infrastructure_id
- The OCID of the Exadata infrastructure.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 Exadata resource.internal_id
- The internal ID of the Exadata resource.lifecycle_details
- The details of the lifecycle state of the Exadata resource.resource_type
- The type of Exadata resource.state
- The current lifecycle state of the database resource.status
- The status of the Exadata resource.storage_server_id
- The OCID of the Exadata storage server.system_tags
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:{"orcl-cloud.free-tier-retained": "true"}
time_created
- The timestamp of the creation of the Exadata resource.time_updated
- The timestamp of the last update of the Exadata resource.version
- The version of the Exadata resource.
Timeouts
The timeouts
block allows you to specify timeouts for certain operations:
* create
- (Defaults to 20 minutes), when creating the External Exadata Storage Connector
* update
- (Defaults to 20 minutes), when updating the External Exadata Storage Connector
* delete
- (Defaults to 20 minutes), when destroying the External Exadata Storage Connector
Import
ExternalExadataStorageConnectors can be imported using the id
, e.g.
$ terraform import oci_database_management_external_exadata_storage_connector.test_external_exadata_storage_connector "id"