oci_health_checks_http_probe

This resource provides the Http Probe resource in Oracle Cloud Infrastructure Health Checks service.

Creates an on-demand HTTP probe. The location response header contains the URL for fetching the probe results.

Note: On-demand probe configurations are not saved.

Example Usage

resource "oci_health_checks_http_probe" "test_http_probe" {
	#Required
	compartment_id = var.compartment_id
	protocol = var.http_probe_protocol
	targets = var.http_probe_targets

	#Optional
	headers = var.http_probe_headers
	method = var.http_probe_method
	path = var.http_probe_path
	port = var.http_probe_port
	timeout_in_seconds = var.http_probe_timeout_in_seconds
	vantage_point_names = var.http_probe_vantage_point_names
}

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 Http Probe * update - (Defaults to 20 minutes), when updating the Http Probe * delete - (Defaults to 20 minutes), when destroying the Http Probe

Import

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

$ terraform import oci_health_checks_http_probe.test_http_probe "id"