Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getZeroTrustDeviceCustomProfile
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDeviceCustomProfile = cloudflare.getZeroTrustDeviceCustomProfile({
accountId: "699d98642c564d2e855e9661899b7252",
policyId: "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_device_custom_profile = cloudflare.get_zero_trust_device_custom_profile(account_id="699d98642c564d2e855e9661899b7252",
policy_id="f174e90a-fafe-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.LookupZeroTrustDeviceCustomProfile(ctx, &cloudflare.LookupZeroTrustDeviceCustomProfileArgs{
AccountId: "699d98642c564d2e855e9661899b7252",
PolicyId: pulumi.StringRef("f174e90a-fafe-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 exampleZeroTrustDeviceCustomProfile = Cloudflare.GetZeroTrustDeviceCustomProfile.Invoke(new()
{
AccountId = "699d98642c564d2e855e9661899b7252",
PolicyId = "f174e90a-fafe-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.GetZeroTrustDeviceCustomProfileArgs;
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) {
final var exampleZeroTrustDeviceCustomProfile = CloudflareFunctions.getZeroTrustDeviceCustomProfile(GetZeroTrustDeviceCustomProfileArgs.builder()
.accountId("699d98642c564d2e855e9661899b7252")
.policyId("f174e90a-fafe-4643-bbbc-4a0ed4fc8415")
.build());
}
}
variables:
exampleZeroTrustDeviceCustomProfile:
fn::invoke:
function: cloudflare:getZeroTrustDeviceCustomProfile
arguments:
accountId: 699d98642c564d2e855e9661899b7252
policyId: f174e90a-fafe-4643-bbbc-4a0ed4fc8415
Using getZeroTrustDeviceCustomProfile
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 getZeroTrustDeviceCustomProfile(args: GetZeroTrustDeviceCustomProfileArgs, opts?: InvokeOptions): Promise<GetZeroTrustDeviceCustomProfileResult>
function getZeroTrustDeviceCustomProfileOutput(args: GetZeroTrustDeviceCustomProfileOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDeviceCustomProfileResult>
def get_zero_trust_device_custom_profile(account_id: Optional[str] = None,
policy_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustDeviceCustomProfileResult
def get_zero_trust_device_custom_profile_output(account_id: Optional[pulumi.Input[str]] = None,
policy_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDeviceCustomProfileResult]
func LookupZeroTrustDeviceCustomProfile(ctx *Context, args *LookupZeroTrustDeviceCustomProfileArgs, opts ...InvokeOption) (*LookupZeroTrustDeviceCustomProfileResult, error)
func LookupZeroTrustDeviceCustomProfileOutput(ctx *Context, args *LookupZeroTrustDeviceCustomProfileOutputArgs, opts ...InvokeOption) LookupZeroTrustDeviceCustomProfileResultOutput
> Note: This function is named LookupZeroTrustDeviceCustomProfile
in the Go SDK.
public static class GetZeroTrustDeviceCustomProfile
{
public static Task<GetZeroTrustDeviceCustomProfileResult> InvokeAsync(GetZeroTrustDeviceCustomProfileArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustDeviceCustomProfileResult> Invoke(GetZeroTrustDeviceCustomProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetZeroTrustDeviceCustomProfileResult> getZeroTrustDeviceCustomProfile(GetZeroTrustDeviceCustomProfileArgs args, InvokeOptions options)
public static Output<GetZeroTrustDeviceCustomProfileResult> getZeroTrustDeviceCustomProfile(GetZeroTrustDeviceCustomProfileArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustDeviceCustomProfile:getZeroTrustDeviceCustomProfile
arguments:
# arguments dictionary
The following arguments are supported:
- account_
id str - policy_
id str
getZeroTrustDeviceCustomProfile Result
The following output properties are available:
- 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 is the default policy for an account.
- Description string
- A description of the policy.
- 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<Get
Zero Trust Device Custom Profile Exclude> - List of routes excluded in the WARP client's tunnel.
- Fallback
Domains List<GetZero Trust Device Custom Profile Fallback Domain> - Gateway
Unique stringId - Id string
- The ID of this resource.
- Includes
List<Get
Zero Trust Device Custom Profile Include> - List of routes included in the WARP client's tunnel.
- Lan
Allow doubleMinutes - The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset.
- Lan
Allow doubleSubnet Size - The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset.
- Match string
- The wirefilter expression to match devices.
- Name string
- The name of the device settings profile.
- Policy
Id string - Precedence double
- The precedence of the policy. Lower values indicate higher precedence. Policies will be evaluated in ascending order of this field.
- 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 GetV2 Zero Trust Device Custom 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.
- Target
Tests List<GetZero Trust Device Custom Profile Target Test> - 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 is the default policy for an account.
- Description string
- A description of the policy.
- 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
[]Get
Zero Trust Device Custom Profile Exclude - List of routes excluded in the WARP client's tunnel.
- Fallback
Domains []GetZero Trust Device Custom Profile Fallback Domain - Gateway
Unique stringId - Id string
- The ID of this resource.
- Includes
[]Get
Zero Trust Device Custom Profile Include - List of routes included in the WARP client's tunnel.
- Lan
Allow float64Minutes - The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset.
- Lan
Allow float64Subnet Size - The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset.
- Match string
- The wirefilter expression to match devices.
- Name string
- The name of the device settings profile.
- Policy
Id string - Precedence float64
- The precedence of the policy. Lower values indicate higher precedence. Policies will be evaluated in ascending order of this field.
- 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 GetV2 Zero Trust Device Custom 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.
- Target
Tests []GetZero Trust Device Custom Profile Target Test - 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 is the default policy for an account.
- description String
- A description of the policy.
- 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<Get
Zero Trust Device Custom Profile Exclude> - List of routes excluded in the WARP client's tunnel.
- fallback
Domains List<GetZero Trust Device Custom Profile Fallback Domain> - gateway
Unique StringId - id String
- The ID of this resource.
- includes
List<Get
Zero Trust Device Custom Profile Include> - List of routes included in the WARP client's tunnel.
- lan
Allow DoubleMinutes - The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset.
- lan
Allow DoubleSubnet Size - The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset.
- match String
- The wirefilter expression to match devices.
- name String
- The name of the device settings profile.
- policy
Id String - precedence Double
- The precedence of the policy. Lower values indicate higher precedence. Policies will be evaluated in ascending order of this field.
- 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 GetV2 Zero Trust Device Custom 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.
- target
Tests List<GetZero Trust Device Custom Profile Target Test> - 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 is the default policy for an account.
- description string
- A description of the policy.
- 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
Get
Zero Trust Device Custom Profile Exclude[] - List of routes excluded in the WARP client's tunnel.
- fallback
Domains GetZero Trust Device Custom Profile Fallback Domain[] - gateway
Unique stringId - id string
- The ID of this resource.
- includes
Get
Zero Trust Device Custom Profile Include[] - List of routes included in the WARP client's tunnel.
- lan
Allow numberMinutes - The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset.
- lan
Allow numberSubnet Size - The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset.
- match string
- The wirefilter expression to match devices.
- name string
- The name of the device settings profile.
- policy
Id string - precedence number
- The precedence of the policy. Lower values indicate higher precedence. Policies will be evaluated in ascending order of this field.
- 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 GetV2 Zero Trust Device Custom 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.
- target
Tests GetZero Trust Device Custom Profile Target Test[] - 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 is the default policy for an account.
- description str
- A description of the policy.
- 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[Get
Zero Trust Device Custom Profile Exclude] - List of routes excluded in the WARP client's tunnel.
- fallback_
domains Sequence[GetZero Trust Device Custom Profile Fallback Domain] - gateway_
unique_ strid - id str
- The ID of this resource.
- includes
Sequence[Get
Zero Trust Device Custom Profile Include] - List of routes included in the WARP client's tunnel.
- lan_
allow_ floatminutes - The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset.
- lan_
allow_ floatsubnet_ size - The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset.
- match str
- The wirefilter expression to match devices.
- name str
- The name of the device settings profile.
- policy_
id str - precedence float
- The precedence of the policy. Lower values indicate higher precedence. Policies will be evaluated in ascending order of this field.
- 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_ Getv2 Zero Trust Device Custom Profile Service Mode V2 - 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.
- target_
tests Sequence[GetZero Trust Device Custom Profile Target Test] - 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 is the default policy for an account.
- description String
- A description of the policy.
- 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.
- fallback
Domains List<Property Map> - gateway
Unique StringId - id String
- The ID of this resource.
- includes List<Property Map>
- List of routes included in the WARP client's tunnel.
- lan
Allow NumberMinutes - The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset.
- lan
Allow NumberSubnet Size - The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset.
- match String
- The wirefilter expression to match devices.
- name String
- The name of the device settings profile.
- policy
Id String - precedence Number
- The precedence of the policy. Lower values indicate higher precedence. Policies will be evaluated in ascending order of this field.
- 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.
- target
Tests List<Property Map> - tunnel
Protocol String - Determines which tunnel protocol to use.
Supporting Types
GetZeroTrustDeviceCustomProfileExclude
- 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.
GetZeroTrustDeviceCustomProfileFallbackDomain
- 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.
GetZeroTrustDeviceCustomProfileInclude
- 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.
GetZeroTrustDeviceCustomProfileServiceModeV2
GetZeroTrustDeviceCustomProfileTargetTest
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.