ObservatoryScheduledTestArgs

data class ObservatoryScheduledTestArgs(val frequency: Output<String>? = null, val region: Output<String>? = null, val url: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<ObservatoryScheduledTestArgs>

Provides a Cloudflare Observatory Scheduled Test resource.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.ObservatoryScheduledTest;
import com.pulumi.cloudflare.ObservatoryScheduledTestArgs;
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 ObservatoryScheduledTest("example", ObservatoryScheduledTestArgs.builder()
.frequency("WEEKLY")
.region("us-central1")
.url("example.com")
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.build());
}
}

Import

$ pulumi import cloudflare:index/observatoryScheduledTest:ObservatoryScheduledTest example <zone_id>:<url>:<region>

Constructors

Link copied to clipboard
fun ObservatoryScheduledTestArgs(frequency: Output<String>? = null, region: Output<String>? = null, url: Output<String>? = null, zoneId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ObservatoryScheduledTestArgs

Properties

Link copied to clipboard
val frequency: Output<String>? = null

The frequency to run the test. Available values: DAILY, WEEKLY. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val region: Output<String>? = null

The region to run the test in. Available values: us-central1, us-east1, us-east4, us-south1, us-west1, southamerica-east1, europe-north1, europe-southwest1, europe-west1, europe-west2, europe-west3, europe-west4, europe-west8, europe-west9, asia-east1, asia-southeast1, me-west1, australia-southeast1. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val url: Output<String>? = null

The page to run the test on. Modifying this attribute will force creation of a new resource.

Link copied to clipboard
val zoneId: Output<String>? = null

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