1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustDexTests
Cloudflare v6.0.0 published on Monday, Apr 14, 2025 by Pulumi

cloudflare.getZeroTrustDexTests

Explore with Pulumi AI

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";

const exampleZeroTrustDexTests = cloudflare.getZeroTrustDexTests({
    accountId: "699d98642c564d2e855e9661899b7252",
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example_zero_trust_dex_tests = cloudflare.get_zero_trust_dex_tests(account_id="699d98642c564d2e855e9661899b7252")
Copy
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.LookupZeroTrustDexTests(ctx, &cloudflare.LookupZeroTrustDexTestsArgs{
			AccountId: "699d98642c564d2e855e9661899b7252",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;

return await Deployment.RunAsync(() => 
{
    var exampleZeroTrustDexTests = Cloudflare.GetZeroTrustDexTests.Invoke(new()
    {
        AccountId = "699d98642c564d2e855e9661899b7252",
    });

});
Copy
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.GetZeroTrustDexTestsArgs;
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 exampleZeroTrustDexTests = CloudflareFunctions.getZeroTrustDexTests(GetZeroTrustDexTestsArgs.builder()
            .accountId("699d98642c564d2e855e9661899b7252")
            .build());

    }
}
Copy
variables:
  exampleZeroTrustDexTests:
    fn::invoke:
      function: cloudflare:getZeroTrustDexTests
      arguments:
        accountId: 699d98642c564d2e855e9661899b7252
Copy

Using getZeroTrustDexTests

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 getZeroTrustDexTests(args: GetZeroTrustDexTestsArgs, opts?: InvokeOptions): Promise<GetZeroTrustDexTestsResult>
function getZeroTrustDexTestsOutput(args: GetZeroTrustDexTestsOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDexTestsResult>
Copy
def get_zero_trust_dex_tests(account_id: Optional[str] = None,
                             max_items: Optional[int] = None,
                             opts: Optional[InvokeOptions] = None) -> GetZeroTrustDexTestsResult
def get_zero_trust_dex_tests_output(account_id: Optional[pulumi.Input[str]] = None,
                             max_items: Optional[pulumi.Input[int]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDexTestsResult]
Copy
func LookupZeroTrustDexTests(ctx *Context, args *LookupZeroTrustDexTestsArgs, opts ...InvokeOption) (*LookupZeroTrustDexTestsResult, error)
func LookupZeroTrustDexTestsOutput(ctx *Context, args *LookupZeroTrustDexTestsOutputArgs, opts ...InvokeOption) LookupZeroTrustDexTestsResultOutput
Copy

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

public static class GetZeroTrustDexTests 
{
    public static Task<GetZeroTrustDexTestsResult> InvokeAsync(GetZeroTrustDexTestsArgs args, InvokeOptions? opts = null)
    public static Output<GetZeroTrustDexTestsResult> Invoke(GetZeroTrustDexTestsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetZeroTrustDexTestsResult> getZeroTrustDexTests(GetZeroTrustDexTestsArgs args, InvokeOptions options)
public static Output<GetZeroTrustDexTestsResult> getZeroTrustDexTests(GetZeroTrustDexTestsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudflare:index/getZeroTrustDexTests:getZeroTrustDexTests
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountId This property is required. string
MaxItems int
Max items to fetch, default: 1000
AccountId This property is required. string
MaxItems int
Max items to fetch, default: 1000
accountId This property is required. String
maxItems Integer
Max items to fetch, default: 1000
accountId This property is required. string
maxItems number
Max items to fetch, default: 1000
account_id This property is required. str
max_items int
Max items to fetch, default: 1000
accountId This property is required. String
maxItems Number
Max items to fetch, default: 1000

getZeroTrustDexTests Result

The following output properties are available:

AccountId string
Id string
The provider-assigned unique ID for this managed resource.
Results List<GetZeroTrustDexTestsResult>
The items returned by the data source
MaxItems int
Max items to fetch, default: 1000
AccountId string
Id string
The provider-assigned unique ID for this managed resource.
Results []GetZeroTrustDexTestsResult
The items returned by the data source
MaxItems int
Max items to fetch, default: 1000
accountId String
id String
The provider-assigned unique ID for this managed resource.
results List<GetZeroTrustDexTestsResult>
The items returned by the data source
maxItems Integer
Max items to fetch, default: 1000
accountId string
id string
The provider-assigned unique ID for this managed resource.
results GetZeroTrustDexTestsResult[]
The items returned by the data source
maxItems number
Max items to fetch, default: 1000
account_id str
id str
The provider-assigned unique ID for this managed resource.
results Sequence[GetZeroTrustDexTestsResult]
The items returned by the data source
max_items int
Max items to fetch, default: 1000
accountId String
id String
The provider-assigned unique ID for this managed resource.
results List<Property Map>
The items returned by the data source
maxItems Number
Max items to fetch, default: 1000

Supporting Types

GetZeroTrustDexTestsResult

Data This property is required. GetZeroTrustDexTestsResultData
The configuration object which contains the details for the WARP client to conduct the test.
Description This property is required. string
Additional details about the test.
Enabled This property is required. bool
Determines whether or not the test is active.
Interval This property is required. string
How often the test will run.
Name This property is required. string
The name of the DEX test. Must be unique.
TargetPolicies This property is required. List<GetZeroTrustDexTestsResultTargetPolicy>
Device settings profiles targeted by this test
Targeted This property is required. bool
TestId This property is required. string
The unique identifier for the test.
Data This property is required. GetZeroTrustDexTestsResultData
The configuration object which contains the details for the WARP client to conduct the test.
Description This property is required. string
Additional details about the test.
Enabled This property is required. bool
Determines whether or not the test is active.
Interval This property is required. string
How often the test will run.
Name This property is required. string
The name of the DEX test. Must be unique.
TargetPolicies This property is required. []GetZeroTrustDexTestsResultTargetPolicy
Device settings profiles targeted by this test
Targeted This property is required. bool
TestId This property is required. string
The unique identifier for the test.
data This property is required. GetZeroTrustDexTestsResultData
The configuration object which contains the details for the WARP client to conduct the test.
description This property is required. String
Additional details about the test.
enabled This property is required. Boolean
Determines whether or not the test is active.
interval This property is required. String
How often the test will run.
name This property is required. String
The name of the DEX test. Must be unique.
targetPolicies This property is required. List<GetZeroTrustDexTestsResultTargetPolicy>
Device settings profiles targeted by this test
targeted This property is required. Boolean
testId This property is required. String
The unique identifier for the test.
data This property is required. GetZeroTrustDexTestsResultData
The configuration object which contains the details for the WARP client to conduct the test.
description This property is required. string
Additional details about the test.
enabled This property is required. boolean
Determines whether or not the test is active.
interval This property is required. string
How often the test will run.
name This property is required. string
The name of the DEX test. Must be unique.
targetPolicies This property is required. GetZeroTrustDexTestsResultTargetPolicy[]
Device settings profiles targeted by this test
targeted This property is required. boolean
testId This property is required. string
The unique identifier for the test.
data This property is required. GetZeroTrustDexTestsResultData
The configuration object which contains the details for the WARP client to conduct the test.
description This property is required. str
Additional details about the test.
enabled This property is required. bool
Determines whether or not the test is active.
interval This property is required. str
How often the test will run.
name This property is required. str
The name of the DEX test. Must be unique.
target_policies This property is required. Sequence[GetZeroTrustDexTestsResultTargetPolicy]
Device settings profiles targeted by this test
targeted This property is required. bool
test_id This property is required. str
The unique identifier for the test.
data This property is required. Property Map
The configuration object which contains the details for the WARP client to conduct the test.
description This property is required. String
Additional details about the test.
enabled This property is required. Boolean
Determines whether or not the test is active.
interval This property is required. String
How often the test will run.
name This property is required. String
The name of the DEX test. Must be unique.
targetPolicies This property is required. List<Property Map>
Device settings profiles targeted by this test
targeted This property is required. Boolean
testId This property is required. String
The unique identifier for the test.

GetZeroTrustDexTestsResultData

Host This property is required. string
The desired endpoint to test.
Kind This property is required. string
The type of test.
Method This property is required. string
The HTTP request method type.
Host This property is required. string
The desired endpoint to test.
Kind This property is required. string
The type of test.
Method This property is required. string
The HTTP request method type.
host This property is required. String
The desired endpoint to test.
kind This property is required. String
The type of test.
method This property is required. String
The HTTP request method type.
host This property is required. string
The desired endpoint to test.
kind This property is required. string
The type of test.
method This property is required. string
The HTTP request method type.
host This property is required. str
The desired endpoint to test.
kind This property is required. str
The type of test.
method This property is required. str
The HTTP request method type.
host This property is required. String
The desired endpoint to test.
kind This property is required. String
The type of test.
method This property is required. String
The HTTP request method type.

GetZeroTrustDexTestsResultTargetPolicy

Default This property is required. bool
Whether the profile is the account default
Id This property is required. string
The id of the device settings profile
Name This property is required. string
The name of the device settings profile
Default This property is required. bool
Whether the profile is the account default
Id This property is required. string
The id of the device settings profile
Name This property is required. string
The name of the device settings profile
default_ This property is required. Boolean
Whether the profile is the account default
id This property is required. String
The id of the device settings profile
name This property is required. String
The name of the device settings profile
default This property is required. boolean
Whether the profile is the account default
id This property is required. string
The id of the device settings profile
name This property is required. string
The name of the device settings profile
default This property is required. bool
Whether the profile is the account default
id This property is required. str
The id of the device settings profile
name This property is required. str
The name of the device settings profile
default This property is required. Boolean
Whether the profile is the account default
id This property is required. String
The id of the device settings profile
name This property is required. String
The name of the device settings profile

Package Details

Repository
Cloudflare pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.