1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. getZeroTrustDexTest
Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi

cloudflare.getZeroTrustDexTest

Explore with Pulumi AI

Example Usage

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

const exampleZeroTrustDexTest = cloudflare.getZeroTrustDexTest({
    accountId: "699d98642c564d2e855e9661899b7252",
    dexTestId: "372e67954025e0ba6aaa6d586b9e0b59",
});
Copy
import pulumi
import pulumi_cloudflare as cloudflare

example_zero_trust_dex_test = cloudflare.get_zero_trust_dex_test(account_id="699d98642c564d2e855e9661899b7252",
    dex_test_id="372e67954025e0ba6aaa6d586b9e0b59")
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.LookupZeroTrustDexTest(ctx, &cloudflare.LookupZeroTrustDexTestArgs{
			AccountId: "699d98642c564d2e855e9661899b7252",
			DexTestId: pulumi.StringRef("372e67954025e0ba6aaa6d586b9e0b59"),
		}, 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 exampleZeroTrustDexTest = Cloudflare.GetZeroTrustDexTest.Invoke(new()
    {
        AccountId = "699d98642c564d2e855e9661899b7252",
        DexTestId = "372e67954025e0ba6aaa6d586b9e0b59",
    });

});
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.GetZeroTrustDexTestArgs;
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 exampleZeroTrustDexTest = CloudflareFunctions.getZeroTrustDexTest(GetZeroTrustDexTestArgs.builder()
            .accountId("699d98642c564d2e855e9661899b7252")
            .dexTestId("372e67954025e0ba6aaa6d586b9e0b59")
            .build());

    }
}
Copy
variables:
  exampleZeroTrustDexTest:
    fn::invoke:
      function: cloudflare:getZeroTrustDexTest
      arguments:
        accountId: 699d98642c564d2e855e9661899b7252
        dexTestId: 372e67954025e0ba6aaa6d586b9e0b59
Copy

Using getZeroTrustDexTest

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 getZeroTrustDexTest(args: GetZeroTrustDexTestArgs, opts?: InvokeOptions): Promise<GetZeroTrustDexTestResult>
function getZeroTrustDexTestOutput(args: GetZeroTrustDexTestOutputArgs, opts?: InvokeOptions): Output<GetZeroTrustDexTestResult>
Copy
def get_zero_trust_dex_test(account_id: Optional[str] = None,
                            dex_test_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetZeroTrustDexTestResult
def get_zero_trust_dex_test_output(account_id: Optional[pulumi.Input[str]] = None,
                            dex_test_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetZeroTrustDexTestResult]
Copy
func LookupZeroTrustDexTest(ctx *Context, args *LookupZeroTrustDexTestArgs, opts ...InvokeOption) (*LookupZeroTrustDexTestResult, error)
func LookupZeroTrustDexTestOutput(ctx *Context, args *LookupZeroTrustDexTestOutputArgs, opts ...InvokeOption) LookupZeroTrustDexTestResultOutput
Copy

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

public static class GetZeroTrustDexTest 
{
    public static Task<GetZeroTrustDexTestResult> InvokeAsync(GetZeroTrustDexTestArgs args, InvokeOptions? opts = null)
    public static Output<GetZeroTrustDexTestResult> Invoke(GetZeroTrustDexTestInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetZeroTrustDexTestResult> getZeroTrustDexTest(GetZeroTrustDexTestArgs args, InvokeOptions options)
public static Output<GetZeroTrustDexTestResult> getZeroTrustDexTest(GetZeroTrustDexTestArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudflare:index/getZeroTrustDexTest:getZeroTrustDexTest
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountId This property is required. string
DexTestId string
The unique identifier for the test.
AccountId This property is required. string
DexTestId string
The unique identifier for the test.
accountId This property is required. String
dexTestId String
The unique identifier for the test.
accountId This property is required. string
dexTestId string
The unique identifier for the test.
account_id This property is required. str
dex_test_id str
The unique identifier for the test.
accountId This property is required. String
dexTestId String
The unique identifier for the test.

getZeroTrustDexTest Result

The following output properties are available:

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

Supporting Types

GetZeroTrustDexTestData

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.

GetZeroTrustDexTestTargetPolicy

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.