oci_oda_oda_private_endpoint

This resource provides the Oda Private Endpoint resource in Oracle Cloud Infrastructure Digital Assistant service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/digital-assistant/latest/OdaPrivateEndpoint

Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/oracle_digital_assistant

Starts an asynchronous job to create an ODA Private Endpoint.

To monitor the status of the job, take the opc-work-request-id response header value and use it to call GET /workRequests/{workRequestID}.

Example Usage

resource "oci_oda_oda_private_endpoint" "test_oda_private_endpoint" {
	#Required
	compartment_id = var.compartment_id
	subnet_id = oci_core_subnet.test_subnet.id

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.oda_private_endpoint_description
	display_name = var.oda_private_endpoint_display_name
	freeform_tags = {"bar-key"= "value"}
	nsg_ids = var.oda_private_endpoint_nsg_ids
}

Argument Reference

The following arguments are supported:

** 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:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Oda Private Endpoint * update - (Defaults to 20 minutes), when updating the Oda Private Endpoint * delete - (Defaults to 20 minutes), when destroying the Oda Private Endpoint

Import

OdaPrivateEndpoints can be imported using the id, e.g.

$ terraform import oci_oda_oda_private_endpoint.test_oda_private_endpoint "id"