1. Packages
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getZeroTrustTunnelWarpConnectorConfig
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi
cloudflare logo
Viewing docs for Cloudflare v6.18.0
published on Thursday, Jul 16, 2026 by Pulumi

    Accepted Permissions

    • Cloudflare One Connector: WARP Read
    • Cloudflare One Connector: WARP Write
    • Cloudflare One Connectors Read
    • Cloudflare One Connectors Write

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustTunnelWarpConnectorConfig = cloudflare.getZeroTrustTunnelWarpConnectorConfig({
        accountId: "023e105f4ecef8ad9ca31a8372d0c353",
        tunnelId: "f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_tunnel_warp_connector_config = cloudflare.get_zero_trust_tunnel_warp_connector_config(account_id="023e105f4ecef8ad9ca31a8372d0c353",
        tunnel_id="f70ff985-a4ef-4643-bbbc-4a0ed4fc8415")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.GetZeroTrustTunnelWarpConnectorConfig(ctx, &cloudflare.LookupZeroTrustTunnelWarpConnectorConfigArgs{
    			AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
    			TunnelId:  "f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleZeroTrustTunnelWarpConnectorConfig = Cloudflare.GetZeroTrustTunnelWarpConnectorConfig.Invoke(new()
        {
            AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
            TunnelId = "f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.cloudflare.CloudflareFunctions;
    import com.pulumi.cloudflare.inputs.GetZeroTrustTunnelWarpConnectorConfigArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            final var exampleZeroTrustTunnelWarpConnectorConfig = CloudflareFunctions.getZeroTrustTunnelWarpConnectorConfig(GetZeroTrustTunnelWarpConnectorConfigArgs.builder()
                .accountId("023e105f4ecef8ad9ca31a8372d0c353")
                .tunnelId("f70ff985-a4ef-4643-bbbc-4a0ed4fc8415")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustTunnelWarpConnectorConfig:
        fn::invoke:
          function: cloudflare:getZeroTrustTunnelWarpConnectorConfig
          arguments:
            accountId: 023e105f4ecef8ad9ca31a8372d0c353
            tunnelId: f70ff985-a4ef-4643-bbbc-4a0ed4fc8415
    
    pulumi {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_getzerotrusttunnelwarpconnectorconfig" "exampleZeroTrustTunnelWarpConnectorConfig" {
      account_id = "023e105f4ecef8ad9ca31a8372d0c353"
      tunnel_id  = "f70ff985-a4ef-4643-bbbc-4a0ed4fc8415"
    }
    

    Using getZeroTrustTunnelWarpConnectorConfig

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getZeroTrustTunnelWarpConnectorConfig(args: GetZeroTrustTunnelWarpConnectorConfigArgs, opts?: InvokeOptions): Promise<GetZeroTrustTunnelWarpConnectorConfigResult>
    function getZeroTrustTunnelWarpConnectorConfigOutput(args: GetZeroTrustTunnelWarpConnectorConfigOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustTunnelWarpConnectorConfigResult>
    def get_zero_trust_tunnel_warp_connector_config(account_id: Optional[str] = None,
                                                    tunnel_id: Optional[str] = None,
                                                    opts: Optional[InvokeOptions] = None) -> GetZeroTrustTunnelWarpConnectorConfigResult
    def get_zero_trust_tunnel_warp_connector_config_output(account_id: pulumi.Input[Optional[str]] = None,
                                                    tunnel_id: pulumi.Input[Optional[str]] = None,
                                                    opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustTunnelWarpConnectorConfigResult]
    func LookupZeroTrustTunnelWarpConnectorConfig(ctx *Context, args *LookupZeroTrustTunnelWarpConnectorConfigArgs, opts ...InvokeOption) (*LookupZeroTrustTunnelWarpConnectorConfigResult, error)
    func LookupZeroTrustTunnelWarpConnectorConfigOutput(ctx *Context, args *LookupZeroTrustTunnelWarpConnectorConfigOutputArgs, opts ...InvokeOption) LookupZeroTrustTunnelWarpConnectorConfigResultOutput

    > Note: This function is named LookupZeroTrustTunnelWarpConnectorConfig in the Go SDK.

    public static class GetZeroTrustTunnelWarpConnectorConfig 
    {
        public static Task<GetZeroTrustTunnelWarpConnectorConfigResult> InvokeAsync(GetZeroTrustTunnelWarpConnectorConfigArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustTunnelWarpConnectorConfigResult> Invoke(GetZeroTrustTunnelWarpConnectorConfigInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetZeroTrustTunnelWarpConnectorConfigResult> getZeroTrustTunnelWarpConnectorConfig(GetZeroTrustTunnelWarpConnectorConfigArgs args, InvokeOptions options)
    public static Output<GetZeroTrustTunnelWarpConnectorConfigResult> getZeroTrustTunnelWarpConnectorConfig(GetZeroTrustTunnelWarpConnectorConfigArgs args, InvokeOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustTunnelWarpConnectorConfig:getZeroTrustTunnelWarpConnectorConfig
      arguments:
        # arguments dictionary
    data "cloudflare_get_zero_trust_tunnel_warp_connector_config" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    Identifier.
    TunnelId string
    UUID of the tunnel.
    AccountId string
    Identifier.
    TunnelId string
    UUID of the tunnel.
    account_id string
    Identifier.
    tunnel_id string
    UUID of the tunnel.
    accountId String
    Identifier.
    tunnelId String
    UUID of the tunnel.
    accountId string
    Identifier.
    tunnelId string
    UUID of the tunnel.
    account_id str
    Identifier.
    tunnel_id str
    UUID of the tunnel.
    accountId String
    Identifier.
    tunnelId String
    UUID of the tunnel.

    getZeroTrustTunnelWarpConnectorConfig Result

    The following output properties are available:

    AccountId string
    Identifier.
    Config GetZeroTrustTunnelWarpConnectorConfigConfig
    Provider-specific configuration. Present for aws and local modes.
    ConfigurationVersion int
    Monotonically increasing configuration version, incremented on each PUT.
    CreatedAt string
    Timestamp of when the resource was created.
    HaMode string
    High-availability mode for the WARP Connector tunnel. none means HA is enabled but no provider is configured yet (newly created tunnels default to this). disabled means HA is explicitly turned off. aws uses AWS ENI move for failover. local uses virtual IPs (VIPs) on the local interface. Available values: "none", "disabled", "aws", "local".
    Id string
    The provider-assigned unique ID for this managed resource.
    TunnelId string
    UUID of the tunnel.
    UpdatedAt string
    Timestamp of the last update. Null if never updated.
    AccountId string
    Identifier.
    Config GetZeroTrustTunnelWarpConnectorConfigConfig
    Provider-specific configuration. Present for aws and local modes.
    ConfigurationVersion int
    Monotonically increasing configuration version, incremented on each PUT.
    CreatedAt string
    Timestamp of when the resource was created.
    HaMode string
    High-availability mode for the WARP Connector tunnel. none means HA is enabled but no provider is configured yet (newly created tunnels default to this). disabled means HA is explicitly turned off. aws uses AWS ENI move for failover. local uses virtual IPs (VIPs) on the local interface. Available values: "none", "disabled", "aws", "local".
    Id string
    The provider-assigned unique ID for this managed resource.
    TunnelId string
    UUID of the tunnel.
    UpdatedAt string
    Timestamp of the last update. Null if never updated.
    account_id string
    Identifier.
    config object
    Provider-specific configuration. Present for aws and local modes.
    configuration_version number
    Monotonically increasing configuration version, incremented on each PUT.
    created_at string
    Timestamp of when the resource was created.
    ha_mode string
    High-availability mode for the WARP Connector tunnel. none means HA is enabled but no provider is configured yet (newly created tunnels default to this). disabled means HA is explicitly turned off. aws uses AWS ENI move for failover. local uses virtual IPs (VIPs) on the local interface. Available values: "none", "disabled", "aws", "local".
    id string
    The provider-assigned unique ID for this managed resource.
    tunnel_id string
    UUID of the tunnel.
    updated_at string
    Timestamp of the last update. Null if never updated.
    accountId String
    Identifier.
    config GetZeroTrustTunnelWarpConnectorConfigConfig
    Provider-specific configuration. Present for aws and local modes.
    configurationVersion Integer
    Monotonically increasing configuration version, incremented on each PUT.
    createdAt String
    Timestamp of when the resource was created.
    haMode String
    High-availability mode for the WARP Connector tunnel. none means HA is enabled but no provider is configured yet (newly created tunnels default to this). disabled means HA is explicitly turned off. aws uses AWS ENI move for failover. local uses virtual IPs (VIPs) on the local interface. Available values: "none", "disabled", "aws", "local".
    id String
    The provider-assigned unique ID for this managed resource.
    tunnelId String
    UUID of the tunnel.
    updatedAt String
    Timestamp of the last update. Null if never updated.
    accountId string
    Identifier.
    config GetZeroTrustTunnelWarpConnectorConfigConfig
    Provider-specific configuration. Present for aws and local modes.
    configurationVersion number
    Monotonically increasing configuration version, incremented on each PUT.
    createdAt string
    Timestamp of when the resource was created.
    haMode string
    High-availability mode for the WARP Connector tunnel. none means HA is enabled but no provider is configured yet (newly created tunnels default to this). disabled means HA is explicitly turned off. aws uses AWS ENI move for failover. local uses virtual IPs (VIPs) on the local interface. Available values: "none", "disabled", "aws", "local".
    id string
    The provider-assigned unique ID for this managed resource.
    tunnelId string
    UUID of the tunnel.
    updatedAt string
    Timestamp of the last update. Null if never updated.
    account_id str
    Identifier.
    config GetZeroTrustTunnelWarpConnectorConfigConfig
    Provider-specific configuration. Present for aws and local modes.
    configuration_version int
    Monotonically increasing configuration version, incremented on each PUT.
    created_at str
    Timestamp of when the resource was created.
    ha_mode str
    High-availability mode for the WARP Connector tunnel. none means HA is enabled but no provider is configured yet (newly created tunnels default to this). disabled means HA is explicitly turned off. aws uses AWS ENI move for failover. local uses virtual IPs (VIPs) on the local interface. Available values: "none", "disabled", "aws", "local".
    id str
    The provider-assigned unique ID for this managed resource.
    tunnel_id str
    UUID of the tunnel.
    updated_at str
    Timestamp of the last update. Null if never updated.
    accountId String
    Identifier.
    config Property Map
    Provider-specific configuration. Present for aws and local modes.
    configurationVersion Number
    Monotonically increasing configuration version, incremented on each PUT.
    createdAt String
    Timestamp of when the resource was created.
    haMode String
    High-availability mode for the WARP Connector tunnel. none means HA is enabled but no provider is configured yet (newly created tunnels default to this). disabled means HA is explicitly turned off. aws uses AWS ENI move for failover. local uses virtual IPs (VIPs) on the local interface. Available values: "none", "disabled", "aws", "local".
    id String
    The provider-assigned unique ID for this managed resource.
    tunnelId String
    UUID of the tunnel.
    updatedAt String
    Timestamp of the last update. Null if never updated.

    Supporting Types

    GetZeroTrustTunnelWarpConnectorConfigConfig

    FnrId string
    Floating Network Resource ID — the secondary ENI that is moved between nodes on failover.
    Vips List<GetZeroTrustTunnelWarpConnectorConfigConfigVip>
    VIPs to assign on the CloudflareWARP interface.
    VipsPreviouses List<GetZeroTrustTunnelWarpConnectorConfigConfigVipsPreviouse>
    VIPs to clean up on demotion or version drift.
    FnrId string
    Floating Network Resource ID — the secondary ENI that is moved between nodes on failover.
    Vips []GetZeroTrustTunnelWarpConnectorConfigConfigVip
    VIPs to assign on the CloudflareWARP interface.
    VipsPreviouses []GetZeroTrustTunnelWarpConnectorConfigConfigVipsPreviouse
    VIPs to clean up on demotion or version drift.
    fnr_id string
    Floating Network Resource ID — the secondary ENI that is moved between nodes on failover.
    vips list(object)
    VIPs to assign on the CloudflareWARP interface.
    vips_previouses list(object)
    VIPs to clean up on demotion or version drift.
    fnrId String
    Floating Network Resource ID — the secondary ENI that is moved between nodes on failover.
    vips List<GetZeroTrustTunnelWarpConnectorConfigConfigVip>
    VIPs to assign on the CloudflareWARP interface.
    vipsPreviouses List<GetZeroTrustTunnelWarpConnectorConfigConfigVipsPreviouse>
    VIPs to clean up on demotion or version drift.
    fnrId string
    Floating Network Resource ID — the secondary ENI that is moved between nodes on failover.
    vips GetZeroTrustTunnelWarpConnectorConfigConfigVip[]
    VIPs to assign on the CloudflareWARP interface.
    vipsPreviouses GetZeroTrustTunnelWarpConnectorConfigConfigVipsPreviouse[]
    VIPs to clean up on demotion or version drift.
    fnr_id str
    Floating Network Resource ID — the secondary ENI that is moved between nodes on failover.
    vips Sequence[GetZeroTrustTunnelWarpConnectorConfigConfigVip]
    VIPs to assign on the CloudflareWARP interface.
    vips_previouses Sequence[GetZeroTrustTunnelWarpConnectorConfigConfigVipsPreviouse]
    VIPs to clean up on demotion or version drift.
    fnrId String
    Floating Network Resource ID — the secondary ENI that is moved between nodes on failover.
    vips List<Property Map>
    VIPs to assign on the CloudflareWARP interface.
    vipsPreviouses List<Property Map>
    VIPs to clean up on demotion or version drift.

    GetZeroTrustTunnelWarpConnectorConfigConfigVip

    Address string
    Virtual IP address (IPv4 or IPv6).
    Address string
    Virtual IP address (IPv4 or IPv6).
    address string
    Virtual IP address (IPv4 or IPv6).
    address String
    Virtual IP address (IPv4 or IPv6).
    address string
    Virtual IP address (IPv4 or IPv6).
    address str
    Virtual IP address (IPv4 or IPv6).
    address String
    Virtual IP address (IPv4 or IPv6).

    GetZeroTrustTunnelWarpConnectorConfigConfigVipsPreviouse

    Address string
    Virtual IP address (IPv4 or IPv6).
    Address string
    Virtual IP address (IPv4 or IPv6).
    address string
    Virtual IP address (IPv4 or IPv6).
    address String
    Virtual IP address (IPv4 or IPv6).
    address string
    Virtual IP address (IPv4 or IPv6).
    address str
    Virtual IP address (IPv4 or IPv6).
    address String
    Virtual IP address (IPv4 or IPv6).

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Viewing docs for Cloudflare v6.18.0
    published on Thursday, Jul 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial