cloudflare.ZeroTrustDeviceDefaultProfile
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDeviceDefaultProfile = new cloudflare.ZeroTrustDeviceDefaultProfile("example_zero_trust_device_default_profile", {
accountId: "699d98642c564d2e855e9661899b7252",
allowModeSwitch: true,
allowUpdates: true,
allowedToLeave: true,
autoConnect: 0,
captivePortal: 180,
disableAutoFallback: true,
excludes: [{
address: "192.0.2.0/24",
description: "Exclude testing domains from the tunnel",
}],
excludeOfficeIps: true,
includes: [{
address: "192.0.2.0/24",
description: "Include testing domains in the tunnel",
}],
registerInterfaceIpWithDns: true,
serviceModeV2: {
mode: "proxy",
port: 3000,
},
supportUrl: "https://1.1.1.1/help",
switchLocked: true,
tunnelProtocol: "wireguard",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_device_default_profile = cloudflare.ZeroTrustDeviceDefaultProfile("example_zero_trust_device_default_profile",
account_id="699d98642c564d2e855e9661899b7252",
allow_mode_switch=True,
allow_updates=True,
allowed_to_leave=True,
auto_connect=0,
captive_portal=180,
disable_auto_fallback=True,
excludes=[{
"address": "192.0.2.0/24",
"description": "Exclude testing domains from the tunnel",
}],
exclude_office_ips=True,
includes=[{
"address": "192.0.2.0/24",
"description": "Include testing domains in the tunnel",
}],
register_interface_ip_with_dns=True,
service_mode_v2={
"mode": "proxy",
"port": 3000,
},
support_url="https://1.1.1.1/help",
switch_locked=True,
tunnel_protocol="wireguard")
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.NewZeroTrustDeviceDefaultProfile(ctx, "example_zero_trust_device_default_profile", &cloudflare.ZeroTrustDeviceDefaultProfileArgs{
AccountId: pulumi.String("699d98642c564d2e855e9661899b7252"),
AllowModeSwitch: pulumi.Bool(true),
AllowUpdates: pulumi.Bool(true),
AllowedToLeave: pulumi.Bool(true),
AutoConnect: pulumi.Float64(0),
CaptivePortal: pulumi.Float64(180),
DisableAutoFallback: pulumi.Bool(true),
Excludes: cloudflare.ZeroTrustDeviceDefaultProfileExcludeArray{
&cloudflare.ZeroTrustDeviceDefaultProfileExcludeArgs{
Address: pulumi.String("192.0.2.0/24"),
Description: pulumi.String("Exclude testing domains from the tunnel"),
},
},
ExcludeOfficeIps: pulumi.Bool(true),
Includes: cloudflare.ZeroTrustDeviceDefaultProfileIncludeArray{
&cloudflare.ZeroTrustDeviceDefaultProfileIncludeArgs{
Address: pulumi.String("192.0.2.0/24"),
Description: pulumi.String("Include testing domains in the tunnel"),
},
},
RegisterInterfaceIpWithDns: pulumi.Bool(true),
ServiceModeV2: &cloudflare.ZeroTrustDeviceDefaultProfileServiceModeV2Args{
Mode: pulumi.String("proxy"),
Port: pulumi.Float64(3000),
},
SupportUrl: pulumi.String("https://1.1.1.1/help"),
SwitchLocked: pulumi.Bool(true),
TunnelProtocol: pulumi.String("wireguard"),
})
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 exampleZeroTrustDeviceDefaultProfile = new Cloudflare.ZeroTrustDeviceDefaultProfile("example_zero_trust_device_default_profile", new()
{
AccountId = "699d98642c564d2e855e9661899b7252",
AllowModeSwitch = true,
AllowUpdates = true,
AllowedToLeave = true,
AutoConnect = 0,
CaptivePortal = 180,
DisableAutoFallback = true,
Excludes = new[]
{
new Cloudflare.Inputs.ZeroTrustDeviceDefaultProfileExcludeArgs
{
Address = "192.0.2.0/24",
Description = "Exclude testing domains from the tunnel",
},
},
ExcludeOfficeIps = true,
Includes = new[]
{
new Cloudflare.Inputs.ZeroTrustDeviceDefaultProfileIncludeArgs
{
Address = "192.0.2.0/24",
Description = "Include testing domains in the tunnel",
},
},
RegisterInterfaceIpWithDns = true,
ServiceModeV2 = new Cloudflare.Inputs.ZeroTrustDeviceDefaultProfileServiceModeV2Args
{
Mode = "proxy",
Port = 3000,
},
SupportUrl = "https://1.1.1.1/help",
SwitchLocked = true,
TunnelProtocol = "wireguard",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.ZeroTrustDeviceDefaultProfile;
import com.pulumi.cloudflare.ZeroTrustDeviceDefaultProfileArgs;
import com.pulumi.cloudflare.inputs.ZeroTrustDeviceDefaultProfileExcludeArgs;
import com.pulumi.cloudflare.inputs.ZeroTrustDeviceDefaultProfileIncludeArgs;
import com.pulumi.cloudflare.inputs.ZeroTrustDeviceDefaultProfileServiceModeV2Args;
import java.util.List;
import java.util.ArrayList;
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 exampleZeroTrustDeviceDefaultProfile = new ZeroTrustDeviceDefaultProfile("exampleZeroTrustDeviceDefaultProfile", ZeroTrustDeviceDefaultProfileArgs.builder()
.accountId("699d98642c564d2e855e9661899b7252")
.allowModeSwitch(true)
.allowUpdates(true)
.allowedToLeave(true)
.autoConnect(0.0)
.captivePortal(180.0)
.disableAutoFallback(true)
.excludes(ZeroTrustDeviceDefaultProfileExcludeArgs.builder()
.address("192.0.2.0/24")
.description("Exclude testing domains from the tunnel")
.build())
.excludeOfficeIps(true)
.includes(ZeroTrustDeviceDefaultProfileIncludeArgs.builder()
.address("192.0.2.0/24")
.description("Include testing domains in the tunnel")
.build())
.registerInterfaceIpWithDns(true)
.serviceModeV2(ZeroTrustDeviceDefaultProfileServiceModeV2Args.builder()
.mode("proxy")
.port(3000.0)
.build())
.supportUrl("https://1.1.1.1/help")
.switchLocked(true)
.tunnelProtocol("wireguard")
.build());
}
}
resources:
exampleZeroTrustDeviceDefaultProfile:
type: cloudflare:ZeroTrustDeviceDefaultProfile
name: example_zero_trust_device_default_profile
properties:
accountId: 699d98642c564d2e855e9661899b7252
allowModeSwitch: true
allowUpdates: true
allowedToLeave: true
autoConnect: 0
captivePortal: 180
disableAutoFallback: true
excludes:
- address: 192.0.2.0/24
description: Exclude testing domains from the tunnel
excludeOfficeIps: true
includes:
- address: 192.0.2.0/24
description: Include testing domains in the tunnel
registerInterfaceIpWithDns: true
serviceModeV2:
mode: proxy
port: 3000
supportUrl: https://1.1.1.1/help
switchLocked: true
tunnelProtocol: wireguard
Create ZeroTrustDeviceDefaultProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ZeroTrustDeviceDefaultProfile(name: string, args: ZeroTrustDeviceDefaultProfileArgs, opts?: CustomResourceOptions);
@overload
def ZeroTrustDeviceDefaultProfile(resource_name: str,
args: ZeroTrustDeviceDefaultProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ZeroTrustDeviceDefaultProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
allow_mode_switch: Optional[bool] = None,
allow_updates: Optional[bool] = None,
allowed_to_leave: Optional[bool] = None,
auto_connect: Optional[float] = None,
captive_portal: Optional[float] = None,
disable_auto_fallback: Optional[bool] = None,
exclude_office_ips: Optional[bool] = None,
excludes: Optional[Sequence[ZeroTrustDeviceDefaultProfileExcludeArgs]] = None,
includes: Optional[Sequence[ZeroTrustDeviceDefaultProfileIncludeArgs]] = None,
register_interface_ip_with_dns: Optional[bool] = None,
service_mode_v2: Optional[ZeroTrustDeviceDefaultProfileServiceModeV2Args] = None,
support_url: Optional[str] = None,
switch_locked: Optional[bool] = None,
tunnel_protocol: Optional[str] = None)
func NewZeroTrustDeviceDefaultProfile(ctx *Context, name string, args ZeroTrustDeviceDefaultProfileArgs, opts ...ResourceOption) (*ZeroTrustDeviceDefaultProfile, error)
public ZeroTrustDeviceDefaultProfile(string name, ZeroTrustDeviceDefaultProfileArgs args, CustomResourceOptions? opts = null)
public ZeroTrustDeviceDefaultProfile(String name, ZeroTrustDeviceDefaultProfileArgs args)
public ZeroTrustDeviceDefaultProfile(String name, ZeroTrustDeviceDefaultProfileArgs args, CustomResourceOptions options)
type: cloudflare:ZeroTrustDeviceDefaultProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ZeroTrustDeviceDefaultProfileArgs
- 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 ZeroTrustDeviceDefaultProfileArgs
- 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 ZeroTrustDeviceDefaultProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ZeroTrustDeviceDefaultProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ZeroTrustDeviceDefaultProfileArgs
- 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 zeroTrustDeviceDefaultProfileResource = new Cloudflare.ZeroTrustDeviceDefaultProfile("zeroTrustDeviceDefaultProfileResource", new()
{
AccountId = "string",
AllowModeSwitch = false,
AllowUpdates = false,
AllowedToLeave = false,
AutoConnect = 0,
CaptivePortal = 0,
DisableAutoFallback = false,
ExcludeOfficeIps = false,
Excludes = new[]
{
new Cloudflare.Inputs.ZeroTrustDeviceDefaultProfileExcludeArgs
{
Address = "string",
Description = "string",
Host = "string",
},
},
Includes = new[]
{
new Cloudflare.Inputs.ZeroTrustDeviceDefaultProfileIncludeArgs
{
Address = "string",
Description = "string",
Host = "string",
},
},
RegisterInterfaceIpWithDns = false,
ServiceModeV2 = new Cloudflare.Inputs.ZeroTrustDeviceDefaultProfileServiceModeV2Args
{
Mode = "string",
Port = 0,
},
SupportUrl = "string",
SwitchLocked = false,
TunnelProtocol = "string",
});
example, err := cloudflare.NewZeroTrustDeviceDefaultProfile(ctx, "zeroTrustDeviceDefaultProfileResource", &cloudflare.ZeroTrustDeviceDefaultProfileArgs{
AccountId: pulumi.String("string"),
AllowModeSwitch: pulumi.Bool(false),
AllowUpdates: pulumi.Bool(false),
AllowedToLeave: pulumi.Bool(false),
AutoConnect: pulumi.Float64(0),
CaptivePortal: pulumi.Float64(0),
DisableAutoFallback: pulumi.Bool(false),
ExcludeOfficeIps: pulumi.Bool(false),
Excludes: cloudflare.ZeroTrustDeviceDefaultProfileExcludeArray{
&cloudflare.ZeroTrustDeviceDefaultProfileExcludeArgs{
Address: pulumi.String("string"),
Description: pulumi.String("string"),
Host: pulumi.String("string"),
},
},
Includes: cloudflare.ZeroTrustDeviceDefaultProfileIncludeArray{
&cloudflare.ZeroTrustDeviceDefaultProfileIncludeArgs{
Address: pulumi.String("string"),
Description: pulumi.String("string"),
Host: pulumi.String("string"),
},
},
RegisterInterfaceIpWithDns: pulumi.Bool(false),
ServiceModeV2: &cloudflare.ZeroTrustDeviceDefaultProfileServiceModeV2Args{
Mode: pulumi.String("string"),
Port: pulumi.Float64(0),
},
SupportUrl: pulumi.String("string"),
SwitchLocked: pulumi.Bool(false),
TunnelProtocol: pulumi.String("string"),
})
var zeroTrustDeviceDefaultProfileResource = new ZeroTrustDeviceDefaultProfile("zeroTrustDeviceDefaultProfileResource", ZeroTrustDeviceDefaultProfileArgs.builder()
.accountId("string")
.allowModeSwitch(false)
.allowUpdates(false)
.allowedToLeave(false)
.autoConnect(0)
.captivePortal(0)
.disableAutoFallback(false)
.excludeOfficeIps(false)
.excludes(ZeroTrustDeviceDefaultProfileExcludeArgs.builder()
.address("string")
.description("string")
.host("string")
.build())
.includes(ZeroTrustDeviceDefaultProfileIncludeArgs.builder()
.address("string")
.description("string")
.host("string")
.build())
.registerInterfaceIpWithDns(false)
.serviceModeV2(ZeroTrustDeviceDefaultProfileServiceModeV2Args.builder()
.mode("string")
.port(0)
.build())
.supportUrl("string")
.switchLocked(false)
.tunnelProtocol("string")
.build());
zero_trust_device_default_profile_resource = cloudflare.ZeroTrustDeviceDefaultProfile("zeroTrustDeviceDefaultProfileResource",
account_id="string",
allow_mode_switch=False,
allow_updates=False,
allowed_to_leave=False,
auto_connect=0,
captive_portal=0,
disable_auto_fallback=False,
exclude_office_ips=False,
excludes=[{
"address": "string",
"description": "string",
"host": "string",
}],
includes=[{
"address": "string",
"description": "string",
"host": "string",
}],
register_interface_ip_with_dns=False,
service_mode_v2={
"mode": "string",
"port": 0,
},
support_url="string",
switch_locked=False,
tunnel_protocol="string")
const zeroTrustDeviceDefaultProfileResource = new cloudflare.ZeroTrustDeviceDefaultProfile("zeroTrustDeviceDefaultProfileResource", {
accountId: "string",
allowModeSwitch: false,
allowUpdates: false,
allowedToLeave: false,
autoConnect: 0,
captivePortal: 0,
disableAutoFallback: false,
excludeOfficeIps: false,
excludes: [{
address: "string",
description: "string",
host: "string",
}],
includes: [{
address: "string",
description: "string",
host: "string",
}],
registerInterfaceIpWithDns: false,
serviceModeV2: {
mode: "string",
port: 0,
},
supportUrl: "string",
switchLocked: false,
tunnelProtocol: "string",
});
type: cloudflare:ZeroTrustDeviceDefaultProfile
properties:
accountId: string
allowModeSwitch: false
allowUpdates: false
allowedToLeave: false
autoConnect: 0
captivePortal: 0
disableAutoFallback: false
excludeOfficeIps: false
excludes:
- address: string
description: string
host: string
includes:
- address: string
description: string
host: string
registerInterfaceIpWithDns: false
serviceModeV2:
mode: string
port: 0
supportUrl: string
switchLocked: false
tunnelProtocol: string
ZeroTrustDeviceDefaultProfile 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 ZeroTrustDeviceDefaultProfile resource accepts the following input properties:
- Account
Id string - Allow
Mode boolSwitch - Whether to allow the user to switch WARP between modes.
- Allow
Updates bool - Whether to receive update notifications when a new version of the client is available.
- Allowed
To boolLeave - Whether to allow devices to leave the organization.
- Auto
Connect double - The amount of time in seconds to reconnect after having been disabled.
- Captive
Portal double - Turn on the captive portal after the specified amount of time.
- Disable
Auto boolFallback - If the
dns_server
field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set totrue
. - Exclude
Office boolIps - Whether to add Microsoft IPs to Split Tunnel exclusions.
- Excludes
List<Zero
Trust Device Default Profile Exclude> - List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- Includes
List<Zero
Trust Device Default Profile Include> - List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- Register
Interface boolIp With Dns - Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.
- Service
Mode ZeroV2 Trust Device Default Profile Service Mode V2 - Support
Url string - The URL to launch when the Send Feedback button is clicked.
- Switch
Locked bool - Whether to allow the user to turn off the WARP switch and disconnect the client.
- Tunnel
Protocol string - Determines which tunnel protocol to use.
- Account
Id string - Allow
Mode boolSwitch - Whether to allow the user to switch WARP between modes.
- Allow
Updates bool - Whether to receive update notifications when a new version of the client is available.
- Allowed
To boolLeave - Whether to allow devices to leave the organization.
- Auto
Connect float64 - The amount of time in seconds to reconnect after having been disabled.
- Captive
Portal float64 - Turn on the captive portal after the specified amount of time.
- Disable
Auto boolFallback - If the
dns_server
field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set totrue
. - Exclude
Office boolIps - Whether to add Microsoft IPs to Split Tunnel exclusions.
- Excludes
[]Zero
Trust Device Default Profile Exclude Args - List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- Includes
[]Zero
Trust Device Default Profile Include Args - List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- Register
Interface boolIp With Dns - Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.
- Service
Mode ZeroV2 Trust Device Default Profile Service Mode V2Args - Support
Url string - The URL to launch when the Send Feedback button is clicked.
- Switch
Locked bool - Whether to allow the user to turn off the WARP switch and disconnect the client.
- Tunnel
Protocol string - Determines which tunnel protocol to use.
- account
Id String - allow
Mode BooleanSwitch - Whether to allow the user to switch WARP between modes.
- allow
Updates Boolean - Whether to receive update notifications when a new version of the client is available.
- allowed
To BooleanLeave - Whether to allow devices to leave the organization.
- auto
Connect Double - The amount of time in seconds to reconnect after having been disabled.
- captive
Portal Double - Turn on the captive portal after the specified amount of time.
- disable
Auto BooleanFallback - If the
dns_server
field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set totrue
. - exclude
Office BooleanIps - Whether to add Microsoft IPs to Split Tunnel exclusions.
- excludes
List<Zero
Trust Device Default Profile Exclude> - List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- includes
List<Zero
Trust Device Default Profile Include> - List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- register
Interface BooleanIp With Dns - Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.
- service
Mode ZeroV2 Trust Device Default Profile Service Mode V2 - support
Url String - The URL to launch when the Send Feedback button is clicked.
- switch
Locked Boolean - Whether to allow the user to turn off the WARP switch and disconnect the client.
- tunnel
Protocol String - Determines which tunnel protocol to use.
- account
Id string - allow
Mode booleanSwitch - Whether to allow the user to switch WARP between modes.
- allow
Updates boolean - Whether to receive update notifications when a new version of the client is available.
- allowed
To booleanLeave - Whether to allow devices to leave the organization.
- auto
Connect number - The amount of time in seconds to reconnect after having been disabled.
- captive
Portal number - Turn on the captive portal after the specified amount of time.
- disable
Auto booleanFallback - If the
dns_server
field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set totrue
. - exclude
Office booleanIps - Whether to add Microsoft IPs to Split Tunnel exclusions.
- excludes
Zero
Trust Device Default Profile Exclude[] - List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- includes
Zero
Trust Device Default Profile Include[] - List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- register
Interface booleanIp With Dns - Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.
- service
Mode ZeroV2 Trust Device Default Profile Service Mode V2 - support
Url string - The URL to launch when the Send Feedback button is clicked.
- switch
Locked boolean - Whether to allow the user to turn off the WARP switch and disconnect the client.
- tunnel
Protocol string - Determines which tunnel protocol to use.
- account_
id str - allow_
mode_ boolswitch - Whether to allow the user to switch WARP between modes.
- allow_
updates bool - Whether to receive update notifications when a new version of the client is available.
- allowed_
to_ boolleave - Whether to allow devices to leave the organization.
- auto_
connect float - The amount of time in seconds to reconnect after having been disabled.
- captive_
portal float - Turn on the captive portal after the specified amount of time.
- disable_
auto_ boolfallback - If the
dns_server
field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set totrue
. - exclude_
office_ boolips - Whether to add Microsoft IPs to Split Tunnel exclusions.
- excludes
Sequence[Zero
Trust Device Default Profile Exclude Args] - List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- includes
Sequence[Zero
Trust Device Default Profile Include Args] - List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- register_
interface_ boolip_ with_ dns - Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.
- service_
mode_ Zerov2 Trust Device Default Profile Service Mode V2Args - support_
url str - The URL to launch when the Send Feedback button is clicked.
- switch_
locked bool - Whether to allow the user to turn off the WARP switch and disconnect the client.
- tunnel_
protocol str - Determines which tunnel protocol to use.
- account
Id String - allow
Mode BooleanSwitch - Whether to allow the user to switch WARP between modes.
- allow
Updates Boolean - Whether to receive update notifications when a new version of the client is available.
- allowed
To BooleanLeave - Whether to allow devices to leave the organization.
- auto
Connect Number - The amount of time in seconds to reconnect after having been disabled.
- captive
Portal Number - Turn on the captive portal after the specified amount of time.
- disable
Auto BooleanFallback - If the
dns_server
field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set totrue
. - exclude
Office BooleanIps - Whether to add Microsoft IPs to Split Tunnel exclusions.
- excludes List<Property Map>
- List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- includes List<Property Map>
- List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- register
Interface BooleanIp With Dns - Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.
- service
Mode Property MapV2 - support
Url String - The URL to launch when the Send Feedback button is clicked.
- switch
Locked Boolean - Whether to allow the user to turn off the WARP switch and disconnect the client.
- tunnel
Protocol String - Determines which tunnel protocol to use.
Outputs
All input properties are implicitly available as output properties. Additionally, the ZeroTrustDeviceDefaultProfile resource produces the following output properties:
- Default bool
- Whether the policy will be applied to matching devices.
- Enabled bool
- Whether the policy will be applied to matching devices.
- Fallback
Domains List<ZeroTrust Device Default Profile Fallback Domain> - Gateway
Unique stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Default bool
- Whether the policy will be applied to matching devices.
- Enabled bool
- Whether the policy will be applied to matching devices.
- Fallback
Domains []ZeroTrust Device Default Profile Fallback Domain - Gateway
Unique stringId - Id string
- The provider-assigned unique ID for this managed resource.
- default_ Boolean
- Whether the policy will be applied to matching devices.
- enabled Boolean
- Whether the policy will be applied to matching devices.
- fallback
Domains List<ZeroTrust Device Default Profile Fallback Domain> - gateway
Unique StringId - id String
- The provider-assigned unique ID for this managed resource.
- default boolean
- Whether the policy will be applied to matching devices.
- enabled boolean
- Whether the policy will be applied to matching devices.
- fallback
Domains ZeroTrust Device Default Profile Fallback Domain[] - gateway
Unique stringId - id string
- The provider-assigned unique ID for this managed resource.
- default bool
- Whether the policy will be applied to matching devices.
- enabled bool
- Whether the policy will be applied to matching devices.
- fallback_
domains Sequence[ZeroTrust Device Default Profile Fallback Domain] - gateway_
unique_ strid - id str
- The provider-assigned unique ID for this managed resource.
- default Boolean
- Whether the policy will be applied to matching devices.
- enabled Boolean
- Whether the policy will be applied to matching devices.
- fallback
Domains List<Property Map> - gateway
Unique StringId - id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ZeroTrustDeviceDefaultProfile Resource
Get an existing ZeroTrustDeviceDefaultProfile 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?: ZeroTrustDeviceDefaultProfileState, opts?: CustomResourceOptions): ZeroTrustDeviceDefaultProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_id: Optional[str] = None,
allow_mode_switch: Optional[bool] = None,
allow_updates: Optional[bool] = None,
allowed_to_leave: Optional[bool] = None,
auto_connect: Optional[float] = None,
captive_portal: Optional[float] = None,
default: Optional[bool] = None,
disable_auto_fallback: Optional[bool] = None,
enabled: Optional[bool] = None,
exclude_office_ips: Optional[bool] = None,
excludes: Optional[Sequence[ZeroTrustDeviceDefaultProfileExcludeArgs]] = None,
fallback_domains: Optional[Sequence[ZeroTrustDeviceDefaultProfileFallbackDomainArgs]] = None,
gateway_unique_id: Optional[str] = None,
includes: Optional[Sequence[ZeroTrustDeviceDefaultProfileIncludeArgs]] = None,
register_interface_ip_with_dns: Optional[bool] = None,
service_mode_v2: Optional[ZeroTrustDeviceDefaultProfileServiceModeV2Args] = None,
support_url: Optional[str] = None,
switch_locked: Optional[bool] = None,
tunnel_protocol: Optional[str] = None) -> ZeroTrustDeviceDefaultProfile
func GetZeroTrustDeviceDefaultProfile(ctx *Context, name string, id IDInput, state *ZeroTrustDeviceDefaultProfileState, opts ...ResourceOption) (*ZeroTrustDeviceDefaultProfile, error)
public static ZeroTrustDeviceDefaultProfile Get(string name, Input<string> id, ZeroTrustDeviceDefaultProfileState? state, CustomResourceOptions? opts = null)
public static ZeroTrustDeviceDefaultProfile get(String name, Output<String> id, ZeroTrustDeviceDefaultProfileState state, CustomResourceOptions options)
resources: _: type: cloudflare:ZeroTrustDeviceDefaultProfile get: 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 - Allow
Mode boolSwitch - Whether to allow the user to switch WARP between modes.
- Allow
Updates bool - Whether to receive update notifications when a new version of the client is available.
- Allowed
To boolLeave - Whether to allow devices to leave the organization.
- Auto
Connect double - The amount of time in seconds to reconnect after having been disabled.
- Captive
Portal double - Turn on the captive portal after the specified amount of time.
- Default bool
- Whether the policy will be applied to matching devices.
- Disable
Auto boolFallback - If the
dns_server
field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set totrue
. - Enabled bool
- Whether the policy will be applied to matching devices.
- Exclude
Office boolIps - Whether to add Microsoft IPs to Split Tunnel exclusions.
- Excludes
List<Zero
Trust Device Default Profile Exclude> - List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- Fallback
Domains List<ZeroTrust Device Default Profile Fallback Domain> - Gateway
Unique stringId - Includes
List<Zero
Trust Device Default Profile Include> - List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- Register
Interface boolIp With Dns - Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.
- Service
Mode ZeroV2 Trust Device Default Profile Service Mode V2 - Support
Url string - The URL to launch when the Send Feedback button is clicked.
- Switch
Locked bool - Whether to allow the user to turn off the WARP switch and disconnect the client.
- Tunnel
Protocol string - Determines which tunnel protocol to use.
- Account
Id string - Allow
Mode boolSwitch - Whether to allow the user to switch WARP between modes.
- Allow
Updates bool - Whether to receive update notifications when a new version of the client is available.
- Allowed
To boolLeave - Whether to allow devices to leave the organization.
- Auto
Connect float64 - The amount of time in seconds to reconnect after having been disabled.
- Captive
Portal float64 - Turn on the captive portal after the specified amount of time.
- Default bool
- Whether the policy will be applied to matching devices.
- Disable
Auto boolFallback - If the
dns_server
field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set totrue
. - Enabled bool
- Whether the policy will be applied to matching devices.
- Exclude
Office boolIps - Whether to add Microsoft IPs to Split Tunnel exclusions.
- Excludes
[]Zero
Trust Device Default Profile Exclude Args - List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- Fallback
Domains []ZeroTrust Device Default Profile Fallback Domain Args - Gateway
Unique stringId - Includes
[]Zero
Trust Device Default Profile Include Args - List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- Register
Interface boolIp With Dns - Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.
- Service
Mode ZeroV2 Trust Device Default Profile Service Mode V2Args - Support
Url string - The URL to launch when the Send Feedback button is clicked.
- Switch
Locked bool - Whether to allow the user to turn off the WARP switch and disconnect the client.
- Tunnel
Protocol string - Determines which tunnel protocol to use.
- account
Id String - allow
Mode BooleanSwitch - Whether to allow the user to switch WARP between modes.
- allow
Updates Boolean - Whether to receive update notifications when a new version of the client is available.
- allowed
To BooleanLeave - Whether to allow devices to leave the organization.
- auto
Connect Double - The amount of time in seconds to reconnect after having been disabled.
- captive
Portal Double - Turn on the captive portal after the specified amount of time.
- default_ Boolean
- Whether the policy will be applied to matching devices.
- disable
Auto BooleanFallback - If the
dns_server
field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set totrue
. - enabled Boolean
- Whether the policy will be applied to matching devices.
- exclude
Office BooleanIps - Whether to add Microsoft IPs to Split Tunnel exclusions.
- excludes
List<Zero
Trust Device Default Profile Exclude> - List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- fallback
Domains List<ZeroTrust Device Default Profile Fallback Domain> - gateway
Unique StringId - includes
List<Zero
Trust Device Default Profile Include> - List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- register
Interface BooleanIp With Dns - Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.
- service
Mode ZeroV2 Trust Device Default Profile Service Mode V2 - support
Url String - The URL to launch when the Send Feedback button is clicked.
- switch
Locked Boolean - Whether to allow the user to turn off the WARP switch and disconnect the client.
- tunnel
Protocol String - Determines which tunnel protocol to use.
- account
Id string - allow
Mode booleanSwitch - Whether to allow the user to switch WARP between modes.
- allow
Updates boolean - Whether to receive update notifications when a new version of the client is available.
- allowed
To booleanLeave - Whether to allow devices to leave the organization.
- auto
Connect number - The amount of time in seconds to reconnect after having been disabled.
- captive
Portal number - Turn on the captive portal after the specified amount of time.
- default boolean
- Whether the policy will be applied to matching devices.
- disable
Auto booleanFallback - If the
dns_server
field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set totrue
. - enabled boolean
- Whether the policy will be applied to matching devices.
- exclude
Office booleanIps - Whether to add Microsoft IPs to Split Tunnel exclusions.
- excludes
Zero
Trust Device Default Profile Exclude[] - List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- fallback
Domains ZeroTrust Device Default Profile Fallback Domain[] - gateway
Unique stringId - includes
Zero
Trust Device Default Profile Include[] - List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- register
Interface booleanIp With Dns - Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.
- service
Mode ZeroV2 Trust Device Default Profile Service Mode V2 - support
Url string - The URL to launch when the Send Feedback button is clicked.
- switch
Locked boolean - Whether to allow the user to turn off the WARP switch and disconnect the client.
- tunnel
Protocol string - Determines which tunnel protocol to use.
- account_
id str - allow_
mode_ boolswitch - Whether to allow the user to switch WARP between modes.
- allow_
updates bool - Whether to receive update notifications when a new version of the client is available.
- allowed_
to_ boolleave - Whether to allow devices to leave the organization.
- auto_
connect float - The amount of time in seconds to reconnect after having been disabled.
- captive_
portal float - Turn on the captive portal after the specified amount of time.
- default bool
- Whether the policy will be applied to matching devices.
- disable_
auto_ boolfallback - If the
dns_server
field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set totrue
. - enabled bool
- Whether the policy will be applied to matching devices.
- exclude_
office_ boolips - Whether to add Microsoft IPs to Split Tunnel exclusions.
- excludes
Sequence[Zero
Trust Device Default Profile Exclude Args] - List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- fallback_
domains Sequence[ZeroTrust Device Default Profile Fallback Domain Args] - gateway_
unique_ strid - includes
Sequence[Zero
Trust Device Default Profile Include Args] - List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- register_
interface_ boolip_ with_ dns - Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.
- service_
mode_ Zerov2 Trust Device Default Profile Service Mode V2Args - support_
url str - The URL to launch when the Send Feedback button is clicked.
- switch_
locked bool - Whether to allow the user to turn off the WARP switch and disconnect the client.
- tunnel_
protocol str - Determines which tunnel protocol to use.
- account
Id String - allow
Mode BooleanSwitch - Whether to allow the user to switch WARP between modes.
- allow
Updates Boolean - Whether to receive update notifications when a new version of the client is available.
- allowed
To BooleanLeave - Whether to allow devices to leave the organization.
- auto
Connect Number - The amount of time in seconds to reconnect after having been disabled.
- captive
Portal Number - Turn on the captive portal after the specified amount of time.
- default Boolean
- Whether the policy will be applied to matching devices.
- disable
Auto BooleanFallback - If the
dns_server
field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set totrue
. - enabled Boolean
- Whether the policy will be applied to matching devices.
- exclude
Office BooleanIps - Whether to add Microsoft IPs to Split Tunnel exclusions.
- excludes List<Property Map>
- List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- fallback
Domains List<Property Map> - gateway
Unique StringId - includes List<Property Map>
- List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.
- register
Interface BooleanIp With Dns - Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.
- service
Mode Property MapV2 - support
Url String - The URL to launch when the Send Feedback button is clicked.
- switch
Locked Boolean - Whether to allow the user to turn off the WARP switch and disconnect the client.
- tunnel
Protocol String - Determines which tunnel protocol to use.
Supporting Types
ZeroTrustDeviceDefaultProfileExclude, ZeroTrustDeviceDefaultProfileExcludeArgs
- Address string
- The address in CIDR format to exclude from the tunnel. If
address
is present,host
must not be present. - Description string
- A description of the Split Tunnel item, displayed in the client UI.
- Host string
- The domain name to exclude from the tunnel. If
host
is present,address
must not be present.
- Address string
- The address in CIDR format to exclude from the tunnel. If
address
is present,host
must not be present. - Description string
- A description of the Split Tunnel item, displayed in the client UI.
- Host string
- The domain name to exclude from the tunnel. If
host
is present,address
must not be present.
- address String
- The address in CIDR format to exclude from the tunnel. If
address
is present,host
must not be present. - description String
- A description of the Split Tunnel item, displayed in the client UI.
- host String
- The domain name to exclude from the tunnel. If
host
is present,address
must not be present.
- address string
- The address in CIDR format to exclude from the tunnel. If
address
is present,host
must not be present. - description string
- A description of the Split Tunnel item, displayed in the client UI.
- host string
- The domain name to exclude from the tunnel. If
host
is present,address
must not be present.
- address str
- The address in CIDR format to exclude from the tunnel. If
address
is present,host
must not be present. - description str
- A description of the Split Tunnel item, displayed in the client UI.
- host str
- The domain name to exclude from the tunnel. If
host
is present,address
must not be present.
- address String
- The address in CIDR format to exclude from the tunnel. If
address
is present,host
must not be present. - description String
- A description of the Split Tunnel item, displayed in the client UI.
- host String
- The domain name to exclude from the tunnel. If
host
is present,address
must not be present.
ZeroTrustDeviceDefaultProfileFallbackDomain, ZeroTrustDeviceDefaultProfileFallbackDomainArgs
- Description string
- A description of the fallback domain, displayed in the client UI.
- Dns
Servers List<string> - A list of IP addresses to handle domain resolution.
- Suffix string
- The domain suffix to match when resolving locally.
- Description string
- A description of the fallback domain, displayed in the client UI.
- Dns
Servers []string - A list of IP addresses to handle domain resolution.
- Suffix string
- The domain suffix to match when resolving locally.
- description String
- A description of the fallback domain, displayed in the client UI.
- dns
Servers List<String> - A list of IP addresses to handle domain resolution.
- suffix String
- The domain suffix to match when resolving locally.
- description string
- A description of the fallback domain, displayed in the client UI.
- dns
Servers string[] - A list of IP addresses to handle domain resolution.
- suffix string
- The domain suffix to match when resolving locally.
- description str
- A description of the fallback domain, displayed in the client UI.
- dns_
servers Sequence[str] - A list of IP addresses to handle domain resolution.
- suffix str
- The domain suffix to match when resolving locally.
- description String
- A description of the fallback domain, displayed in the client UI.
- dns
Servers List<String> - A list of IP addresses to handle domain resolution.
- suffix String
- The domain suffix to match when resolving locally.
ZeroTrustDeviceDefaultProfileInclude, ZeroTrustDeviceDefaultProfileIncludeArgs
- Address string
- The address in CIDR format to include in the tunnel. If
address
is present,host
must not be present. - Description string
- A description of the Split Tunnel item, displayed in the client UI.
- Host string
- The domain name to include in the tunnel. If
host
is present,address
must not be present.
- Address string
- The address in CIDR format to include in the tunnel. If
address
is present,host
must not be present. - Description string
- A description of the Split Tunnel item, displayed in the client UI.
- Host string
- The domain name to include in the tunnel. If
host
is present,address
must not be present.
- address String
- The address in CIDR format to include in the tunnel. If
address
is present,host
must not be present. - description String
- A description of the Split Tunnel item, displayed in the client UI.
- host String
- The domain name to include in the tunnel. If
host
is present,address
must not be present.
- address string
- The address in CIDR format to include in the tunnel. If
address
is present,host
must not be present. - description string
- A description of the Split Tunnel item, displayed in the client UI.
- host string
- The domain name to include in the tunnel. If
host
is present,address
must not be present.
- address str
- The address in CIDR format to include in the tunnel. If
address
is present,host
must not be present. - description str
- A description of the Split Tunnel item, displayed in the client UI.
- host str
- The domain name to include in the tunnel. If
host
is present,address
must not be present.
- address String
- The address in CIDR format to include in the tunnel. If
address
is present,host
must not be present. - description String
- A description of the Split Tunnel item, displayed in the client UI.
- host String
- The domain name to include in the tunnel. If
host
is present,address
must not be present.
ZeroTrustDeviceDefaultProfileServiceModeV2, ZeroTrustDeviceDefaultProfileServiceModeV2Args
Import
$ pulumi import cloudflare:index/zeroTrustDeviceDefaultProfile:ZeroTrustDeviceDefaultProfile 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
cloudflare
Terraform Provider.