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 exampleZeroTrustTunnelCloudflaredConfig = new cloudflare.ZeroTrustTunnelCloudflaredConfig("example_zero_trust_tunnel_cloudflared_config", { * accountId: "023e105f4ecef8ad9ca31a8372d0c353", * tunnelId: "f70ff985-a4ef-4643-bbbc-4a0ed4fc8415", * config: { * ingresses: [{ * hostname: "tunnel.example.com", * service: "https://localhost:8001", * originRequest: { * access: { * audTag: ["string"], * teamName: "zero-trust-organization-name", * required: false, * }, * caPool: "caPool", * connectTimeout: 10, * disableChunkedEncoding: true, * http2Origin: true, * httpHostHeader: "httpHostHeader", * keepAliveConnections: 100, * keepAliveTimeout: 90, * matchSnItoHost: false, * noHappyEyeballs: false, * noTlsVerify: false, * originServerName: "originServerName", * proxyType: "proxyType", * tcpKeepAlive: 30, * tlsTimeout: 10, * }, * path: "subpath", * }], * originRequest: { * access: { * audTags: ["string"], * teamName: "zero-trust-organization-name", * required: false, * }, * caPool: "caPool", * connectTimeout: 10, * disableChunkedEncoding: true, * http2Origin: true, * httpHostHeader: "httpHostHeader", * keepAliveConnections: 100, * keepAliveTimeout: 90, * matchSnItoHost: false, * noHappyEyeballs: false, * noTlsVerify: false, * originServerName: "originServerName", * proxyType: "proxyType", * tcpKeepAlive: 30, * tlsTimeout: 10, * }, * }, * }); * ``` * * ## Import * * ```sh * $ pulumi import cloudflare:index/tunnelConfig:TunnelConfig example '/' * ``` * * @deprecated cloudflare.index/tunnelconfig.TunnelConfig has been deprecated in favor of cloudflare.index/zerotrusttunnelcloudflaredconfig.ZeroTrustTunnelCloudflaredConfig */ export declare class TunnelConfig extends pulumi.CustomResource { /** * Get an existing TunnelConfig 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?: TunnelConfigState, opts?: pulumi.CustomResourceOptions): TunnelConfig; /** * Returns true if the given object is an instance of TunnelConfig. 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 TunnelConfig; /** * Identifier. */ readonly accountId: pulumi.Output; /** * The tunnel configuration and ingress rules. */ readonly config: pulumi.Output; readonly createdAt: pulumi.Output; /** * Indicates if this is a locally or remotely configured tunnel. If `local`, manage the tunnel using a YAML file on the origin machine. If `cloudflare`, manage the tunnel's configuration on the Zero Trust dashboard. * Available values: "local", "cloudflare". */ readonly source: pulumi.Output; /** * UUID of the tunnel. */ readonly tunnelId: pulumi.Output; /** * The version of the Tunnel Configuration. */ readonly version: pulumi.Output; /** * Create a TunnelConfig 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. */ /** @deprecated cloudflare.index/tunnelconfig.TunnelConfig has been deprecated in favor of cloudflare.index/zerotrusttunnelcloudflaredconfig.ZeroTrustTunnelCloudflaredConfig */ constructor(name: string, args: TunnelConfigArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TunnelConfig resources. */ export interface TunnelConfigState { /** * Identifier. */ accountId?: pulumi.Input; /** * The tunnel configuration and ingress rules. */ config?: pulumi.Input; createdAt?: pulumi.Input; /** * Indicates if this is a locally or remotely configured tunnel. If `local`, manage the tunnel using a YAML file on the origin machine. If `cloudflare`, manage the tunnel's configuration on the Zero Trust dashboard. * Available values: "local", "cloudflare". */ source?: pulumi.Input; /** * UUID of the tunnel. */ tunnelId?: pulumi.Input; /** * The version of the Tunnel Configuration. */ version?: pulumi.Input; } /** * The set of arguments for constructing a TunnelConfig resource. */ export interface TunnelConfigArgs { /** * Identifier. */ accountId: pulumi.Input; /** * The tunnel configuration and ingress rules. */ config?: pulumi.Input; /** * Indicates if this is a locally or remotely configured tunnel. If `local`, manage the tunnel using a YAML file on the origin machine. If `cloudflare`, manage the tunnel's configuration on the Zero Trust dashboard. * Available values: "local", "cloudflare". */ source?: pulumi.Input; /** * UUID of the tunnel. */ tunnelId: pulumi.Input; }