import * as pulumi from "@pulumi/pulumi"; /** * 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 * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const example = new cloudflare.ArgoTunnel("example", { * accountId: "d41d8cd98f00b204e9800998ecf8427e", * name: "my-tunnel", * secret: "AQIDBAUGBwgBAgMEBQYHCAECAwQFBgcIAQIDBAUGBwg=", * }); * ``` * * ## Import * * Argo Tunnels can be imported a composite ID of the account ID and tunnel UUID. * * ```sh * $ 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 */ export declare class ArgoTunnel extends pulumi.CustomResource { /** * Get an existing ArgoTunnel resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ArgoTunnelState, opts?: pulumi.CustomResourceOptions): ArgoTunnel; /** * Returns true if the given object is an instance of ArgoTunnel. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ArgoTunnel; /** * The Cloudflare account ID that you wish to manage the Argo Tunnel on. */ readonly accountId: pulumi.Output; /** * Usable CNAME for accessing the Argo Tunnel. */ readonly cname: pulumi.Output; /** * A user-friendly name chosen when the tunnel is created. Cannot be empty. */ readonly name: pulumi.Output; /** * 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. */ readonly secret: pulumi.Output; /** * Token used by a connector to authenticate and run the tunnel. */ readonly tunnelToken: pulumi.Output; /** * Create a ArgoTunnel resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ArgoTunnelArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ArgoTunnel resources. */ export interface ArgoTunnelState { /** * The Cloudflare account ID that you wish to manage the Argo Tunnel on. */ accountId?: pulumi.Input; /** * Usable CNAME for accessing the Argo Tunnel. */ cname?: pulumi.Input; /** * A user-friendly name chosen when the tunnel is created. Cannot be empty. */ name?: pulumi.Input; /** * 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. */ secret?: pulumi.Input; /** * Token used by a connector to authenticate and run the tunnel. */ tunnelToken?: pulumi.Input; } /** * The set of arguments for constructing a ArgoTunnel resource. */ export interface ArgoTunnelArgs { /** * The Cloudflare account ID that you wish to manage the Argo Tunnel on. */ accountId: pulumi.Input; /** * A user-friendly name chosen when the tunnel is created. Cannot be empty. */ name: pulumi.Input; /** * 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. */ secret: pulumi.Input; }