MagicWanIpsecTunnelHealthCheckArgs

data class MagicWanIpsecTunnelHealthCheckArgs(val direction: Output<String>? = null, val enabled: Output<Boolean>? = null, val rate: Output<String>? = null, val target: Output<MagicWanIpsecTunnelHealthCheckTargetArgs>? = null, val type: Output<String>? = null) : ConvertibleToJava<MagicWanIpsecTunnelHealthCheckArgs>

Constructors

Link copied to clipboard
constructor(direction: Output<String>? = null, enabled: Output<Boolean>? = null, rate: Output<String>? = null, target: Output<MagicWanIpsecTunnelHealthCheckTargetArgs>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val direction: Output<String>? = null

The direction of the flow of the healthcheck. Either unidirectional, where the probe comes to you via the tunnel and the result comes back to Cloudflare via the open Internet, or bidirectional where both the probe and result come and go via the tunnel. Available values: "unidirectional", "bidirectional".

Link copied to clipboard
val enabled: Output<Boolean>? = null

Determines whether to run healthchecks for a tunnel.

Link copied to clipboard
val rate: Output<String>? = null

How frequent the health check is run. The default value is mid. Available values: "low", "mid", "high".

Link copied to clipboard

The destination address in a request type health check. After the healthcheck is decapsulated at the customer end of the tunnel, the ICMP echo will be forwarded to this address. This field defaults to customer_gre_endpoint address. This field is ignored for bidirectional healthchecks as the interface*address (not assigned to the Cloudflare side of the tunnel) is used as the target. Must be in object form if the x-magic-new-hc-target header is set to true and string form if x-magic-new-hc-target is absent or set to false.

Link copied to clipboard
val type: Output<String>? = null

The type of healthcheck to run, reply or request. The default value is reply. Available values: "reply", "request".

Functions

Link copied to clipboard
open override fun toJava(): MagicWanIpsecTunnelHealthCheckArgs