published on Wednesday, Oct 21, 2026 by Pulumi
published on Wednesday, Oct 21, 2026 by Pulumi
Accepted Permissions
Zero Trust ReadZero Trust ReportZero Trust Write
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustConnectivitySettings = new cloudflare.ZeroTrustConnectivitySettings("example_zero_trust_connectivity_settings", {
accountId: "699d98642c564d2e855e9661899b7252",
icmpProxyEnabled: true,
offrampWarpEnabled: true,
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_connectivity_settings = cloudflare.ZeroTrustConnectivitySettings("example_zero_trust_connectivity_settings",
account_id="699d98642c564d2e855e9661899b7252",
icmp_proxy_enabled=True,
offramp_warp_enabled=True)
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.NewZeroTrustConnectivitySettings(ctx, "example_zero_trust_connectivity_settings", &cloudflare.ZeroTrustConnectivitySettingsArgs{
AccountId: pulumi.String("699d98642c564d2e855e9661899b7252"),
IcmpProxyEnabled: pulumi.Bool(true),
OfframpWarpEnabled: pulumi.Bool(true),
})
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 = new Cloudflare.ZeroTrustConnectivitySettings("example_zero_trust_connectivity_settings", new()
{
AccountId = "699d98642c564d2e855e9661899b7252",
IcmpProxyEnabled = true,
OfframpWarpEnabled = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.ZeroTrustConnectivitySettings;
import com.pulumi.cloudflare.ZeroTrustConnectivitySettingsArgs;
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) {
var exampleZeroTrustConnectivitySettings = new ZeroTrustConnectivitySettings("exampleZeroTrustConnectivitySettings", ZeroTrustConnectivitySettingsArgs.builder()
.accountId("699d98642c564d2e855e9661899b7252")
.icmpProxyEnabled(true)
.offrampWarpEnabled(true)
.build());
}
}
resources:
exampleZeroTrustConnectivitySettings:
type: cloudflare:ZeroTrustConnectivitySettings
name: example_zero_trust_connectivity_settings
properties:
accountId: 699d98642c564d2e855e9661899b7252
icmpProxyEnabled: true
offrampWarpEnabled: true
terraform {
required_providers {
cloudflare = {
source = "pulumi/cloudflare"
}
}
}
resource "cloudflare_zero_trust_connectivity_settings" "example_zero_trust_connectivity_settings" {
lifecycle {
create_before_destroy = true
}
account_id = "699d98642c564d2e855e9661899b7252"
icmp_proxy_enabled = true
offramp_warp_enabled = true
}
Create ZeroTrustConnectivitySettings Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ZeroTrustConnectivitySettings(name: string, args: ZeroTrustConnectivitySettingsArgs, opts?: CustomResourceOptions);@overload
def ZeroTrustConnectivitySettings(resource_name: str,
args: ZeroTrustConnectivitySettingsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ZeroTrustConnectivitySettings(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
icmp_proxy_enabled: Optional[bool] = None,
offramp_warp_enabled: Optional[bool] = None)func NewZeroTrustConnectivitySettings(ctx *Context, name string, args ZeroTrustConnectivitySettingsArgs, opts ...ResourceOption) (*ZeroTrustConnectivitySettings, error)public ZeroTrustConnectivitySettings(string name, ZeroTrustConnectivitySettingsArgs args, CustomResourceOptions? opts = null)
public ZeroTrustConnectivitySettings(String name, ZeroTrustConnectivitySettingsArgs args)
public ZeroTrustConnectivitySettings(String name, ZeroTrustConnectivitySettingsArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustConnectivitySettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "cloudflare_zero_trust_connectivity_settings" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ZeroTrustConnectivitySettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ZeroTrustConnectivitySettingsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ZeroTrustConnectivitySettingsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZeroTrustConnectivitySettingsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZeroTrustConnectivitySettingsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var zeroTrustConnectivitySettingsResource = new Cloudflare.ZeroTrustConnectivitySettings("zeroTrustConnectivitySettingsResource", new()
{
AccountId = "string",
IcmpProxyEnabled = false,
OfframpWarpEnabled = false,
});
example, err := cloudflare.NewZeroTrustConnectivitySettings(ctx, "zeroTrustConnectivitySettingsResource", &cloudflare.ZeroTrustConnectivitySettingsArgs{
AccountId: pulumi.String("string"),
IcmpProxyEnabled: pulumi.Bool(false),
OfframpWarpEnabled: pulumi.Bool(false),
})
resource "cloudflare_zero_trust_connectivity_settings" "zeroTrustConnectivitySettingsResource" {
lifecycle {
create_before_destroy = true
}
account_id = "string"
icmp_proxy_enabled = false
offramp_warp_enabled = false
}
var zeroTrustConnectivitySettingsResource = new ZeroTrustConnectivitySettings("zeroTrustConnectivitySettingsResource", ZeroTrustConnectivitySettingsArgs.builder()
.accountId("string")
.icmpProxyEnabled(false)
.offrampWarpEnabled(false)
.build());
zero_trust_connectivity_settings_resource = cloudflare.ZeroTrustConnectivitySettings("zeroTrustConnectivitySettingsResource",
account_id="string",
icmp_proxy_enabled=False,
offramp_warp_enabled=False)
const zeroTrustConnectivitySettingsResource = new cloudflare.ZeroTrustConnectivitySettings("zeroTrustConnectivitySettingsResource", {
accountId: "string",
icmpProxyEnabled: false,
offrampWarpEnabled: false,
});
type: cloudflare:ZeroTrustConnectivitySettings
properties:
accountId: string
icmpProxyEnabled: false
offrampWarpEnabled: false
ZeroTrustConnectivitySettings Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ZeroTrustConnectivitySettings resource accepts the following input properties:
- Account
Id string - Cloudflare account ID
- Icmp
Proxy boolEnabled - A flag to enable the ICMP proxy for the account network.
- Offramp
Warp boolEnabled - A flag to enable WARP to WARP traffic.
- Account
Id string - Cloudflare account ID
- Icmp
Proxy boolEnabled - A flag to enable the ICMP proxy for the account network.
- Offramp
Warp boolEnabled - A flag to enable WARP to WARP traffic.
- account_
id string - Cloudflare account ID
- icmp_
proxy_ boolenabled - A flag to enable the ICMP proxy for the account network.
- offramp_
warp_ boolenabled - A flag to enable WARP to WARP traffic.
- account
Id String - Cloudflare account ID
- icmp
Proxy BooleanEnabled - A flag to enable the ICMP proxy for the account network.
- offramp
Warp BooleanEnabled - A flag to enable WARP to WARP traffic.
- account
Id string - Cloudflare account ID
- icmp
Proxy booleanEnabled - A flag to enable the ICMP proxy for the account network.
- offramp
Warp booleanEnabled - A flag to enable WARP to WARP traffic.
- account_
id str - Cloudflare account ID
- icmp_
proxy_ boolenabled - A flag to enable the ICMP proxy for the account network.
- offramp_
warp_ boolenabled - A flag to enable WARP to WARP traffic.
- account
Id String - Cloudflare account ID
- icmp
Proxy BooleanEnabled - A flag to enable the ICMP proxy for the account network.
- offramp
Warp BooleanEnabled - A flag to enable WARP to WARP traffic.
Outputs
All input properties are implicitly available as output properties. Additionally, the ZeroTrustConnectivitySettings resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ZeroTrustConnectivitySettings Resource
Get an existing ZeroTrustConnectivitySettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ZeroTrustConnectivitySettingsState, opts?: CustomResourceOptions): ZeroTrustConnectivitySettings@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
icmp_proxy_enabled: Optional[bool] = None,
offramp_warp_enabled: Optional[bool] = None) -> ZeroTrustConnectivitySettingsfunc GetZeroTrustConnectivitySettings(ctx *Context, name string, id IDInput, state *ZeroTrustConnectivitySettingsState, opts ...ResourceOption) (*ZeroTrustConnectivitySettings, error)public static ZeroTrustConnectivitySettings Get(string name, Input<string> id, ZeroTrustConnectivitySettingsState? state, CustomResourceOptions? opts = null)public static ZeroTrustConnectivitySettings get(String name, Output<String> id, ZeroTrustConnectivitySettingsState state, CustomResourceOptions options)resources: _: type: cloudflare:ZeroTrustConnectivitySettings get: id: ${id}import {
to = cloudflare_zero_trust_connectivity_settings.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Id string - Cloudflare account ID
- Icmp
Proxy boolEnabled - A flag to enable the ICMP proxy for the account network.
- Offramp
Warp boolEnabled - A flag to enable WARP to WARP traffic.
- Account
Id string - Cloudflare account ID
- Icmp
Proxy boolEnabled - A flag to enable the ICMP proxy for the account network.
- Offramp
Warp boolEnabled - A flag to enable WARP to WARP traffic.
- account_
id string - Cloudflare account ID
- icmp_
proxy_ boolenabled - A flag to enable the ICMP proxy for the account network.
- offramp_
warp_ boolenabled - A flag to enable WARP to WARP traffic.
- account
Id String - Cloudflare account ID
- icmp
Proxy BooleanEnabled - A flag to enable the ICMP proxy for the account network.
- offramp
Warp BooleanEnabled - A flag to enable WARP to WARP traffic.
- account
Id string - Cloudflare account ID
- icmp
Proxy booleanEnabled - A flag to enable the ICMP proxy for the account network.
- offramp
Warp booleanEnabled - A flag to enable WARP to WARP traffic.
- account_
id str - Cloudflare account ID
- icmp_
proxy_ boolenabled - A flag to enable the ICMP proxy for the account network.
- offramp_
warp_ boolenabled - A flag to enable WARP to WARP traffic.
- account
Id String - Cloudflare account ID
- icmp
Proxy BooleanEnabled - A flag to enable the ICMP proxy for the account network.
- offramp
Warp BooleanEnabled - A flag to enable WARP to WARP traffic.
Import
$ pulumi import cloudflare:index/zeroTrustConnectivitySettings:ZeroTrustConnectivitySettings example '<account_id>'
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
published on Wednesday, Oct 21, 2026 by Pulumi