ZoneCacheVariantsArgs

data class ZoneCacheVariantsArgs(val avifs: Output<List<String>>? = null, val bmps: Output<List<String>>? = null, val gifs: Output<List<String>>? = null, val jp2s: Output<List<String>>? = null, val jpegs: Output<List<String>>? = null, val jpg2s: Output<List<String>>? = null, val jpgs: Output<List<String>>? = null, val pngs: Output<List<String>>? = null, val tiffs: Output<List<String>>? = null, val tifs: Output<List<String>>? = null, val webps: Output<List<String>>? = null, val zoneId: Output<String>? = null) : ConvertibleToJava<ZoneCacheVariantsArgs>

Provides a resource which customizes Cloudflare zone cache variants.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.ZoneCacheVariants;
import com.pulumi.cloudflare.ZoneCacheVariantsArgs;
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 ZoneCacheVariants("example", ZoneCacheVariantsArgs.builder()
.avifs(
"image/avif",
"image/webp")
.bmps(
"image/bmp",
"image/webp")
.gifs(
"image/gif",
"image/webp")
.jp2s(
"image/jp2",
"image/webp")
.jpegs(
"image/jpeg",
"image/webp")
.jpgs(
"image/jpg",
"image/webp")
.jpg2s(
"image/jpg2",
"image/webp")
.pngs(
"image/png",
"image/webp")
.tifs(
"image/tif",
"image/webp")
.tiffs(
"image/tiff",
"image/webp")
.webps(
"image/jpeg",
"image/webp")
.zoneId("0da42c8d2132a9ddaf714f9e7c920711")
.build());
}
}

Constructors

Link copied to clipboard
constructor(avifs: Output<List<String>>? = null, bmps: Output<List<String>>? = null, gifs: Output<List<String>>? = null, jp2s: Output<List<String>>? = null, jpegs: Output<List<String>>? = null, jpg2s: Output<List<String>>? = null, jpgs: Output<List<String>>? = null, pngs: Output<List<String>>? = null, tiffs: Output<List<String>>? = null, tifs: Output<List<String>>? = null, webps: Output<List<String>>? = null, zoneId: Output<String>? = null)

Properties

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

List of strings with the MIME types of all the variants that should be served for avif.

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

List of strings with the MIME types of all the variants that should be served for bmp.

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

List of strings with the MIME types of all the variants that should be served for gif.

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

List of strings with the MIME types of all the variants that should be served for jp2.

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

List of strings with the MIME types of all the variants that should be served for jpeg.

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

List of strings with the MIME types of all the variants that should be served for jpg2.

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

List of strings with the MIME types of all the variants that should be served for jpg.

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

List of strings with the MIME types of all the variants that should be served for png.

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

List of strings with the MIME types of all the variants that should be served for tiff.

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

List of strings with the MIME types of all the variants that should be served for tif.

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

List of strings with the MIME types of all the variants that should be served for webp.

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(): ZoneCacheVariantsArgs