DeviceDexTest

class DeviceDexTest : KotlinCustomResource

Provides a Cloudflare Device Dex Test resource. Device Dex Tests allow for building location-aware device settings policies.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.DeviceDexTest;
import com.pulumi.cloudflare.DeviceDexTestArgs;
import com.pulumi.cloudflare.inputs.DeviceDexTestDataArgs;
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 example = new DeviceDexTest("example", DeviceDexTestArgs.builder()
.accountId("f037e56e89293a057740de681ac9abbe")
.data(DeviceDexTestDataArgs.builder()
.host("https://example.com/home")
.kind("http")
.method("GET")
.build())
.description("Send a HTTP GET request to the home endpoint every half hour.")
.enabled(true)
.interval("0h30m0s")
.name("GET homepage")
.build());
}
}

Import

$ pulumi import cloudflare:index/deviceDexTest:DeviceDexTest example <account_id>/<device_dex_test_id>

Properties

Link copied to clipboard
val accountId: Output<String>

The account identifier to target for the resource. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val created: Output<String>

Timestamp of when the Dex Test was created.

Link copied to clipboard
val data: Output<DeviceDexTestData>

The configuration object which contains the details for the WARP client to conduct the test.

Link copied to clipboard
val description: Output<String>

Additional details about the test.

Link copied to clipboard
val enabled: Output<Boolean>

Determines whether or not the test is active.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val interval: Output<String>

How often the test will run.

Link copied to clipboard
val name: Output<String>

The name of the Device Dex Test. Must be unique.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val updated: Output<String>

Timestamp of when the Dex Test was last updated.

Link copied to clipboard
val urn: Output<String>