SplitTunnelArgs

data class SplitTunnelArgs(val accountId: Output<String>? = null, val mode: Output<String>? = null, val policyId: Output<String>? = null, val tunnels: Output<List<SplitTunnelTunnelArgs>>? = null) : ConvertibleToJava<SplitTunnelArgs>

Provides a Cloudflare Split Tunnel resource. Split tunnels are used to either include or exclude lists of routes from the WARP client's tunnel.

Import

Split Tunnels for default device policies must use "default" as the policy ID.

$ pulumi import cloudflare:index/splitTunnel:SplitTunnel example <account_id>/<policy_id>/<mode>

Constructors

Link copied to clipboard
constructor(accountId: Output<String>? = null, mode: Output<String>? = null, policyId: Output<String>? = null, tunnels: Output<List<SplitTunnelTunnelArgs>>? = null)

Properties

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

The account identifier to target for the resource.

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

The mode of the split tunnel policy. Available values: include, exclude.

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

The settings policy for which to configure this split tunnel policy.

Link copied to clipboard
val tunnels: Output<List<SplitTunnelTunnelArgs>>? = null

The value of the tunnel attributes.

Functions

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