oci_oda_oda_private_endpoint_scan_proxy

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

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 Scan Proxy.

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_scan_proxy" "test_oda_private_endpoint_scan_proxy" {
	#Required
	oda_private_endpoint_id = oci_oda_oda_private_endpoint.test_oda_private_endpoint.id
	protocol = var.oda_private_endpoint_scan_proxy_protocol
	scan_listener_infos {

		#Optional
		scan_listener_fqdn = var.oda_private_endpoint_scan_proxy_scan_listener_infos_scan_listener_fqdn
		scan_listener_ip = var.oda_private_endpoint_scan_proxy_scan_listener_infos_scan_listener_ip
		scan_listener_port = var.oda_private_endpoint_scan_proxy_scan_listener_infos_scan_listener_port
	}
	scan_listener_type = var.oda_private_endpoint_scan_proxy_scan_listener_type
}

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 Scan Proxy * update - (Defaults to 20 minutes), when updating the Oda Private Endpoint Scan Proxy * delete - (Defaults to 20 minutes), when destroying the Oda Private Endpoint Scan Proxy

Import

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

$ terraform import oci_oda_oda_private_endpoint_scan_proxy.test_oda_private_endpoint_scan_proxy "odaPrivateEndpoints/{odaPrivateEndpointId}/odaPrivateEndpointScanProxies/{odaPrivateEndpointScanProxyId}"