oci_health_checks_ping_probe

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

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

Note: The on-demand probe configuration is not saved.

Example Usage

resource "oci_health_checks_ping_probe" "test_ping_probe" {
	#Required
	compartment_id = var.compartment_id
	protocol = var.ping_probe_protocol
	targets = var.ping_probe_targets

	#Optional
	port = var.ping_probe_port
	timeout_in_seconds = var.ping_probe_timeout_in_seconds
	vantage_point_names = var.ping_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 Ping Probe * update - (Defaults to 20 minutes), when updating the Ping Probe * delete - (Defaults to 20 minutes), when destroying the Ping Probe

Import

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

$ terraform import oci_health_checks_ping_probe.test_ping_probe "id"