TieredCacheArgs

data class TieredCacheArgs(val cacheType: Output<String>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<TieredCacheArgs>

Provides a resource, that manages Cloudflare Tiered Cache settings. This allows you to adjust topologies for your zone.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.TieredCache;
import com.pulumi.cloudflare.TieredCacheArgs;
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 TieredCache("example", TieredCacheArgs.builder()
.cacheType("smart")
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.build());
}
}

Constructors

Link copied to clipboard
constructor(cacheType: Output<String>? = null, zoneId: Output<String>? = null)

Properties

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

The typed of tiered cache to utilize on the zone. Available values: generic, smart, off.

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.

Functions

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