ArgoTunnelArgs

data class ArgoTunnelArgs(val accountId: Output<String>? = null, val name: Output<String>? = null, val secret: Output<String>? = null) : ConvertibleToJava<ArgoTunnelArgs>

Argo Tunnel exposes applications running on your local web server on any network with an internet connection without manually adding DNS records or configuring a firewall or router.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.ArgoTunnel;
import com.pulumi.cloudflare.ArgoTunnelArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ArgoTunnel("example", ArgoTunnelArgs.builder()
.accountId("d41d8cd98f00b204e9800998ecf8427e")
.name("my-tunnel")
.secret("AQIDBAUGBwgBAgMEBQYHCAECAwQFBgcIAQIDBAUGBwg=")
.build());
}
}

Import

Argo Tunnels can be imported a composite ID of the account ID and tunnel UUID.

$ pulumi import cloudflare:index/argoTunnel:ArgoTunnel example d41d8cd98f00b204e9800998ecf8427e/fd2455cb-5fcc-4c13-8738-8d8d2605237f

where - d41d8cd98f00b204e9800998ecf8427e is the account ID - fd2455cb-5fcc-4c13-8738-8d8d2605237f is the Argo Tunnel UUID

Constructors

Link copied to clipboard
fun ArgoTunnelArgs(accountId: Output<String>? = null, name: Output<String>? = null, secret: Output<String>? = null)

Functions

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

Properties

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

The Cloudflare account ID that you wish to manage the Argo Tunnel on.

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

A user-friendly name chosen when the tunnel is created. Cannot be empty.

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

32 or more bytes, encoded as a base64 string. The Create Argo Tunnel endpoint sets this as the tunnel's password. Anyone wishing to run the tunnel needs this password.