import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleZeroTrustTunnelCloudflared = cloudflare.getZeroTrustTunnelCloudflared({ * accountId: "699d98642c564d2e855e9661899b7252", * tunnelId: "f70ff985-a4ef-4643-bbbc-4a0ed4fc8415", * }); * ``` */ export declare function getZeroTrustTunnelCloudflared(args: GetZeroTrustTunnelCloudflaredArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getZeroTrustTunnelCloudflared. */ export interface GetZeroTrustTunnelCloudflaredArgs { /** * Cloudflare account ID */ accountId: string; filter?: inputs.GetZeroTrustTunnelCloudflaredFilter; /** * UUID of the tunnel. */ tunnelId?: string; } /** * A collection of values returned by getZeroTrustTunnelCloudflared. */ export interface GetZeroTrustTunnelCloudflaredResult { /** * Cloudflare account ID */ readonly accountId: string; /** * Cloudflare account ID */ readonly accountTag: string; /** * The Cloudflare Tunnel connections between your origin and Cloudflare's edge. */ readonly connections: outputs.GetZeroTrustTunnelCloudflaredConnection[]; /** * Timestamp of when the tunnel established at least one connection to Cloudflare's edge. If `null`, the tunnel is inactive. */ readonly connsActiveAt: string; /** * Timestamp of when the tunnel became inactive (no connections to Cloudflare's edge). If `null`, the tunnel is active. */ readonly connsInactiveAt: string; /** * Timestamp of when the resource was created. */ readonly createdAt: string; /** * Timestamp of when the resource was deleted. If `null`, the resource has not been deleted. */ readonly deletedAt: string; readonly filter?: outputs.GetZeroTrustTunnelCloudflaredFilter; /** * UUID of the tunnel. */ readonly id: string; /** * Metadata associated with the tunnel. */ readonly metadata: string; /** * A user-friendly name for a tunnel. */ readonly name: string; /** * If `true`, the tunnel can be configured remotely from the Zero Trust dashboard. If `false`, the tunnel must be configured locally on the origin machine. */ readonly remoteConfig: boolean; /** * The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge). * Available values: "inactive", "degraded", "healthy", "down". */ readonly status: string; /** * The type of tunnel. * Available values: "cfd*tunnel", "warp*connector", "warp", "magic", "ipSec", "gre", "cni". */ readonly tunType: string; /** * UUID of the tunnel. */ readonly tunnelId?: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as cloudflare from "@pulumi/cloudflare"; * * const exampleZeroTrustTunnelCloudflared = cloudflare.getZeroTrustTunnelCloudflared({ * accountId: "699d98642c564d2e855e9661899b7252", * tunnelId: "f70ff985-a4ef-4643-bbbc-4a0ed4fc8415", * }); * ``` */ export declare function getZeroTrustTunnelCloudflaredOutput(args: GetZeroTrustTunnelCloudflaredOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getZeroTrustTunnelCloudflared. */ export interface GetZeroTrustTunnelCloudflaredOutputArgs { /** * Cloudflare account ID */ accountId: pulumi.Input; filter?: pulumi.Input; /** * UUID of the tunnel. */ tunnelId?: pulumi.Input; }