1. Registry
  2. Packages
  3. Cloudflare Provider
  4. API Docs
  5. getZeroTrustConnectivitySettings
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi
cloudflare logo cloudflare logo
Viewing docs for Cloudflare v6.23.1
published on Wednesday, Oct 21, 2026 by Pulumi

    Accepted Permissions

    • Zero Trust Read
    • Zero Trust Report
    • Zero Trust Write

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const exampleZeroTrustConnectivitySettings = cloudflare.getZeroTrustConnectivitySettings({
        accountId: "699d98642c564d2e855e9661899b7252",
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example_zero_trust_connectivity_settings = cloudflare.get_zero_trust_connectivity_settings(account_id="699d98642c564d2e855e9661899b7252")
    
    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.GetZeroTrustConnectivitySettings(ctx, &cloudflare.LookupZeroTrustConnectivitySettingsArgs{
    			AccountId: "699d98642c564d2e855e9661899b7252",
    		}, 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 exampleZeroTrustConnectivitySettings = Cloudflare.GetZeroTrustConnectivitySettings.Invoke(new()
        {
            AccountId = "699d98642c564d2e855e9661899b7252",
        });
    
    });
    
    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.GetZeroTrustConnectivitySettingsArgs;
    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 exampleZeroTrustConnectivitySettings = CloudflareFunctions.getZeroTrustConnectivitySettings(GetZeroTrustConnectivitySettingsArgs.builder()
                .accountId("699d98642c564d2e855e9661899b7252")
                .build());
    
        }
    }
    
    variables:
      exampleZeroTrustConnectivitySettings:
        fn::invoke:
          function: cloudflare:getZeroTrustConnectivitySettings
          arguments:
            accountId: 699d98642c564d2e855e9661899b7252
    
    terraform {
      required_providers {
        cloudflare = {
          source = "pulumi/cloudflare"
        }
      }
    }
    
    data "cloudflare_zero_trust_connectivity_settings" "exampleZeroTrustConnectivitySettings" {
      account_id = "699d98642c564d2e855e9661899b7252"
    }
    

    Using getZeroTrustConnectivitySettings

    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 getZeroTrustConnectivitySettings(args: GetZeroTrustConnectivitySettingsArgs, opts?: InvokeOptions): Promise<GetZeroTrustConnectivitySettingsResult>
    function getZeroTrustConnectivitySettingsOutput(args: GetZeroTrustConnectivitySettingsOutputArgs, opts?: InvokeOutputOptions): Output<GetZeroTrustConnectivitySettingsResult>
    def get_zero_trust_connectivity_settings(account_id: Optional[str] = None,
                                             opts: Optional[InvokeOptions] = None) -> GetZeroTrustConnectivitySettingsResult
    def get_zero_trust_connectivity_settings_output(account_id: pulumi.Input[Optional[str]] = None,
                                             opts: Optional[InvokeOutputOptions] = None) -> Output[GetZeroTrustConnectivitySettingsResult]
    func LookupZeroTrustConnectivitySettings(ctx *Context, args *LookupZeroTrustConnectivitySettingsArgs, opts ...InvokeOption) (*LookupZeroTrustConnectivitySettingsResult, error)
    func LookupZeroTrustConnectivitySettingsOutput(ctx *Context, args *LookupZeroTrustConnectivitySettingsOutputArgs, opts ...InvokeOption) LookupZeroTrustConnectivitySettingsResultOutput

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

    public static class GetZeroTrustConnectivitySettings 
    {
        public static Task<GetZeroTrustConnectivitySettingsResult> InvokeAsync(GetZeroTrustConnectivitySettingsArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustConnectivitySettingsResult> Invoke(GetZeroTrustConnectivitySettingsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetZeroTrustConnectivitySettingsResult> Invoke(GetZeroTrustConnectivitySettingsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetZeroTrustConnectivitySettingsResult> getZeroTrustConnectivitySettings(GetZeroTrustConnectivitySettingsArgs args, InvokeOptions options)
    public static Output<GetZeroTrustConnectivitySettingsResult> getZeroTrustConnectivitySettings(GetZeroTrustConnectivitySettingsArgs args, InvokeOptions options)
    public static Output<GetZeroTrustConnectivitySettingsResult> getZeroTrustConnectivitySettings(GetZeroTrustConnectivitySettingsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: cloudflare:index/getZeroTrustConnectivitySettings:getZeroTrustConnectivitySettings
      arguments:
        # arguments dictionary
    data "cloudflare_get_zero_trust_connectivity_settings" "name" {
        # arguments
    }

    The following arguments are supported:

    AccountId string
    Cloudflare account ID
    AccountId string
    Cloudflare account ID
    account_id string
    Cloudflare account ID
    accountId String
    Cloudflare account ID
    accountId string
    Cloudflare account ID
    account_id str
    Cloudflare account ID
    accountId String
    Cloudflare account ID

    getZeroTrustConnectivitySettings Result

    The following output properties are available:

    AccountId string
    Cloudflare account ID
    IcmpProxyEnabled bool
    A flag to enable the ICMP proxy for the account network.
    Id string
    Cloudflare account ID
    OfframpWarpEnabled bool
    A flag to enable WARP to WARP traffic.
    AccountId string
    Cloudflare account ID
    IcmpProxyEnabled bool
    A flag to enable the ICMP proxy for the account network.
    Id string
    Cloudflare account ID
    OfframpWarpEnabled bool
    A flag to enable WARP to WARP traffic.
    account_id string
    Cloudflare account ID
    icmp_proxy_enabled bool
    A flag to enable the ICMP proxy for the account network.
    id string
    Cloudflare account ID
    offramp_warp_enabled bool
    A flag to enable WARP to WARP traffic.
    accountId String
    Cloudflare account ID
    icmpProxyEnabled Boolean
    A flag to enable the ICMP proxy for the account network.
    id String
    Cloudflare account ID
    offrampWarpEnabled Boolean
    A flag to enable WARP to WARP traffic.
    accountId string
    Cloudflare account ID
    icmpProxyEnabled boolean
    A flag to enable the ICMP proxy for the account network.
    id string
    Cloudflare account ID
    offrampWarpEnabled boolean
    A flag to enable WARP to WARP traffic.
    account_id str
    Cloudflare account ID
    icmp_proxy_enabled bool
    A flag to enable the ICMP proxy for the account network.
    id str
    Cloudflare account ID
    offramp_warp_enabled bool
    A flag to enable WARP to WARP traffic.
    accountId String
    Cloudflare account ID
    icmpProxyEnabled Boolean
    A flag to enable the ICMP proxy for the account network.
    id String
    Cloudflare account ID
    offrampWarpEnabled Boolean
    A flag to enable WARP to WARP traffic.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo cloudflare logo
    Viewing docs for Cloudflare v6.23.1
    published on Wednesday, Oct 21, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial