Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getZeroTrustDeviceDefaultProfile
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleZeroTrustDeviceDefaultProfile = cloudflare.getZeroTrustDeviceDefaultProfile({
accountId: "699d98642c564d2e855e9661899b7252",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_zero_trust_device_default_profile = cloudflare.get_zero_trust_device_default_profile(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.LookupZeroTrustDeviceDefaultProfile(ctx, &cloudflare.LookupZeroTrustDeviceDefaultProfileArgs{
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 exampleZeroTrustDeviceDefaultProfile = Cloudflare.GetZeroTrustDeviceDefaultProfile.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.GetZeroTrustDeviceDefaultProfileArgs;
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 exampleZeroTrustDeviceDefaultProfile = CloudflareFunctions.getZeroTrustDeviceDefaultProfile(GetZeroTrustDeviceDefaultProfileArgs.builder()
.accountId("699d98642c564d2e855e9661899b7252")
.build());
}
}
variables:
exampleZeroTrustDeviceDefaultProfile:
fn::invoke:
function: cloudflare:getZeroTrustDeviceDefaultProfile
arguments:
accountId: 699d98642c564d2e855e9661899b7252
Using getZeroTrustDeviceDefaultProfile
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 getZeroTrustDeviceDefaultProfile(args: GetZeroTrustDeviceDefaultProfileArgs, opts?: InvokeOptions): Promise<GetZeroTrustDeviceDefaultProfileResult>
function getZeroTrustDeviceDefaultProfileOutput(args: GetZeroTrustDeviceDefaultProfileOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDeviceDefaultProfileResult>
def get_zero_trust_device_default_profile(account_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetZeroTrustDeviceDefaultProfileResult
def get_zero_trust_device_default_profile_output(account_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDeviceDefaultProfileResult]
func LookupZeroTrustDeviceDefaultProfile(ctx *Context, args *LookupZeroTrustDeviceDefaultProfileArgs, opts ...InvokeOption) (*LookupZeroTrustDeviceDefaultProfileResult, error)
func LookupZeroTrustDeviceDefaultProfileOutput(ctx *Context, args *LookupZeroTrustDeviceDefaultProfileOutputArgs, opts ...InvokeOption) LookupZeroTrustDeviceDefaultProfileResultOutput
> Note: This function is named LookupZeroTrustDeviceDefaultProfile
in the Go SDK.
public static class GetZeroTrustDeviceDefaultProfile
{
public static Task<GetZeroTrustDeviceDefaultProfileResult> InvokeAsync(GetZeroTrustDeviceDefaultProfileArgs args, InvokeOptions? opts = null)
public static Output<GetZeroTrustDeviceDefaultProfileResult> Invoke(GetZeroTrustDeviceDefaultProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetZeroTrustDeviceDefaultProfileResult> getZeroTrustDeviceDefaultProfile(GetZeroTrustDeviceDefaultProfileArgs args, InvokeOptions options)
public static Output<GetZeroTrustDeviceDefaultProfileResult> getZeroTrustDeviceDefaultProfile(GetZeroTrustDeviceDefaultProfileArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getZeroTrustDeviceDefaultProfile:getZeroTrustDeviceDefaultProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string
- Account
Id string
- account
Id String
- account
Id string
- account_
id str
- account
Id String
getZeroTrustDeviceDefaultProfile 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 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<Get
Zero Trust Device Default Profile Exclude> - List of routes excluded in the WARP client's tunnel.
- Fallback
Domains List<GetZero Trust Device Default Profile Fallback Domain> - Gateway
Unique stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Includes
List<Get
Zero Trust Device Default Profile Include> - List of routes included in the WARP client's tunnel.
- 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 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
[]Get
Zero Trust Device Default Profile Exclude - List of routes excluded in the WARP client's tunnel.
- Fallback
Domains []GetZero Trust Device Default Profile Fallback Domain - Gateway
Unique stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Includes
[]Get
Zero Trust Device Default Profile Include - List of routes included in the WARP client's tunnel.
- 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 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 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<Get
Zero Trust Device Default Profile Exclude> - List of routes excluded in the WARP client's tunnel.
- fallback
Domains List<GetZero Trust Device Default Profile Fallback Domain> - gateway
Unique StringId - id String
- The provider-assigned unique ID for this managed resource.
- includes
List<Get
Zero Trust Device Default Profile Include> - List of routes included in the WARP client's tunnel.
- 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 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
Get
Zero Trust Device Default Profile Exclude[] - List of routes excluded in the WARP client's tunnel.
- fallback
Domains GetZero Trust Device Default Profile Fallback Domain[] - gateway
Unique stringId - id string
- The provider-assigned unique ID for this managed resource.
- includes
Get
Zero Trust Device Default Profile Include[] - List of routes included in the WARP client's tunnel.
- 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 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[Get
Zero Trust Device Default Profile Exclude] - List of routes excluded in the WARP client's tunnel.
- fallback_
domains Sequence[GetZero Trust Device Default Profile Fallback Domain] - gateway_
unique_ strid - id str
- The provider-assigned unique ID for this managed resource.
- includes
Sequence[Get
Zero Trust Device Default Profile Include] - List of routes included in the WARP client's tunnel.
- 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 Default 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.
- 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.
- fallback
Domains List<Property Map> - gateway
Unique StringId - id String
- The provider-assigned unique ID for this managed resource.
- includes List<Property Map>
- List of routes included in the WARP client's tunnel.
- 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
GetZeroTrustDeviceDefaultProfileExclude
- 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.
GetZeroTrustDeviceDefaultProfileFallbackDomain
- 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.
GetZeroTrustDeviceDefaultProfileInclude
- 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.
GetZeroTrustDeviceDefaultProfileServiceModeV2
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.