1. Packages
  2. Cloudflare Provider
  3. API Docs
  4. ZoneCacheVariants
Cloudflare v5.43.0 published on Wednesday, Nov 13, 2024 by Pulumi

cloudflare.ZoneCacheVariants

Explore with Pulumi AI

cloudflare logo
Cloudflare v5.43.0 published on Wednesday, Nov 13, 2024 by Pulumi

    Provides a resource which customizes Cloudflare zone cache variants.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as cloudflare from "@pulumi/cloudflare";
    
    const example = new cloudflare.ZoneCacheVariants("example", {
        zoneId: "0da42c8d2132a9ddaf714f9e7c920711",
        avifs: [
            "image/avif",
            "image/webp",
        ],
        bmps: [
            "image/bmp",
            "image/webp",
        ],
        gifs: [
            "image/gif",
            "image/webp",
        ],
        jpegs: [
            "image/jpeg",
            "image/webp",
        ],
        jpgs: [
            "image/jpg",
            "image/webp",
        ],
        jpg2s: [
            "image/jpg2",
            "image/webp",
        ],
        jp2s: [
            "image/jp2",
            "image/webp",
        ],
        pngs: [
            "image/png",
            "image/webp",
        ],
        tiffs: [
            "image/tiff",
            "image/webp",
        ],
        tifs: [
            "image/tif",
            "image/webp",
        ],
        webps: [
            "image/jpeg",
            "image/webp",
        ],
    });
    
    import pulumi
    import pulumi_cloudflare as cloudflare
    
    example = cloudflare.ZoneCacheVariants("example",
        zone_id="0da42c8d2132a9ddaf714f9e7c920711",
        avifs=[
            "image/avif",
            "image/webp",
        ],
        bmps=[
            "image/bmp",
            "image/webp",
        ],
        gifs=[
            "image/gif",
            "image/webp",
        ],
        jpegs=[
            "image/jpeg",
            "image/webp",
        ],
        jpgs=[
            "image/jpg",
            "image/webp",
        ],
        jpg2s=[
            "image/jpg2",
            "image/webp",
        ],
        jp2s=[
            "image/jp2",
            "image/webp",
        ],
        pngs=[
            "image/png",
            "image/webp",
        ],
        tiffs=[
            "image/tiff",
            "image/webp",
        ],
        tifs=[
            "image/tif",
            "image/webp",
        ],
        webps=[
            "image/jpeg",
            "image/webp",
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-cloudflare/sdk/v5/go/cloudflare"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudflare.NewZoneCacheVariants(ctx, "example", &cloudflare.ZoneCacheVariantsArgs{
    			ZoneId: pulumi.String("0da42c8d2132a9ddaf714f9e7c920711"),
    			Avifs: pulumi.StringArray{
    				pulumi.String("image/avif"),
    				pulumi.String("image/webp"),
    			},
    			Bmps: pulumi.StringArray{
    				pulumi.String("image/bmp"),
    				pulumi.String("image/webp"),
    			},
    			Gifs: pulumi.StringArray{
    				pulumi.String("image/gif"),
    				pulumi.String("image/webp"),
    			},
    			Jpegs: pulumi.StringArray{
    				pulumi.String("image/jpeg"),
    				pulumi.String("image/webp"),
    			},
    			Jpgs: pulumi.StringArray{
    				pulumi.String("image/jpg"),
    				pulumi.String("image/webp"),
    			},
    			Jpg2s: pulumi.StringArray{
    				pulumi.String("image/jpg2"),
    				pulumi.String("image/webp"),
    			},
    			Jp2s: pulumi.StringArray{
    				pulumi.String("image/jp2"),
    				pulumi.String("image/webp"),
    			},
    			Pngs: pulumi.StringArray{
    				pulumi.String("image/png"),
    				pulumi.String("image/webp"),
    			},
    			Tiffs: pulumi.StringArray{
    				pulumi.String("image/tiff"),
    				pulumi.String("image/webp"),
    			},
    			Tifs: pulumi.StringArray{
    				pulumi.String("image/tif"),
    				pulumi.String("image/webp"),
    			},
    			Webps: pulumi.StringArray{
    				pulumi.String("image/jpeg"),
    				pulumi.String("image/webp"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Cloudflare = Pulumi.Cloudflare;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Cloudflare.ZoneCacheVariants("example", new()
        {
            ZoneId = "0da42c8d2132a9ddaf714f9e7c920711",
            Avifs = new[]
            {
                "image/avif",
                "image/webp",
            },
            Bmps = new[]
            {
                "image/bmp",
                "image/webp",
            },
            Gifs = new[]
            {
                "image/gif",
                "image/webp",
            },
            Jpegs = new[]
            {
                "image/jpeg",
                "image/webp",
            },
            Jpgs = new[]
            {
                "image/jpg",
                "image/webp",
            },
            Jpg2s = new[]
            {
                "image/jpg2",
                "image/webp",
            },
            Jp2s = new[]
            {
                "image/jp2",
                "image/webp",
            },
            Pngs = new[]
            {
                "image/png",
                "image/webp",
            },
            Tiffs = new[]
            {
                "image/tiff",
                "image/webp",
            },
            Tifs = new[]
            {
                "image/tif",
                "image/webp",
            },
            Webps = new[]
            {
                "image/jpeg",
                "image/webp",
            },
        });
    
    });
    
    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()
                .zoneId("0da42c8d2132a9ddaf714f9e7c920711")
                .avifs(            
                    "image/avif",
                    "image/webp")
                .bmps(            
                    "image/bmp",
                    "image/webp")
                .gifs(            
                    "image/gif",
                    "image/webp")
                .jpegs(            
                    "image/jpeg",
                    "image/webp")
                .jpgs(            
                    "image/jpg",
                    "image/webp")
                .jpg2s(            
                    "image/jpg2",
                    "image/webp")
                .jp2s(            
                    "image/jp2",
                    "image/webp")
                .pngs(            
                    "image/png",
                    "image/webp")
                .tiffs(            
                    "image/tiff",
                    "image/webp")
                .tifs(            
                    "image/tif",
                    "image/webp")
                .webps(            
                    "image/jpeg",
                    "image/webp")
                .build());
    
        }
    }
    
    resources:
      example:
        type: cloudflare:ZoneCacheVariants
        properties:
          zoneId: 0da42c8d2132a9ddaf714f9e7c920711
          avifs:
            - image/avif
            - image/webp
          bmps:
            - image/bmp
            - image/webp
          gifs:
            - image/gif
            - image/webp
          jpegs:
            - image/jpeg
            - image/webp
          jpgs:
            - image/jpg
            - image/webp
          jpg2s:
            - image/jpg2
            - image/webp
          jp2s:
            - image/jp2
            - image/webp
          pngs:
            - image/png
            - image/webp
          tiffs:
            - image/tiff
            - image/webp
          tifs:
            - image/tif
            - image/webp
          webps:
            - image/jpeg
            - image/webp
    

    Create ZoneCacheVariants Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ZoneCacheVariants(name: string, args: ZoneCacheVariantsArgs, opts?: CustomResourceOptions);
    @overload
    def ZoneCacheVariants(resource_name: str,
                          args: ZoneCacheVariantsArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ZoneCacheVariants(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          zone_id: Optional[str] = None,
                          avifs: Optional[Sequence[str]] = None,
                          bmps: Optional[Sequence[str]] = None,
                          gifs: Optional[Sequence[str]] = None,
                          jp2s: Optional[Sequence[str]] = None,
                          jpegs: Optional[Sequence[str]] = None,
                          jpg2s: Optional[Sequence[str]] = None,
                          jpgs: Optional[Sequence[str]] = None,
                          pngs: Optional[Sequence[str]] = None,
                          tiffs: Optional[Sequence[str]] = None,
                          tifs: Optional[Sequence[str]] = None,
                          webps: Optional[Sequence[str]] = None)
    func NewZoneCacheVariants(ctx *Context, name string, args ZoneCacheVariantsArgs, opts ...ResourceOption) (*ZoneCacheVariants, error)
    public ZoneCacheVariants(string name, ZoneCacheVariantsArgs args, CustomResourceOptions? opts = null)
    public ZoneCacheVariants(String name, ZoneCacheVariantsArgs args)
    public ZoneCacheVariants(String name, ZoneCacheVariantsArgs args, CustomResourceOptions options)
    
    type: cloudflare:ZoneCacheVariants
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ZoneCacheVariantsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ZoneCacheVariantsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ZoneCacheVariantsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ZoneCacheVariantsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ZoneCacheVariantsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var zoneCacheVariantsResource = new Cloudflare.ZoneCacheVariants("zoneCacheVariantsResource", new()
    {
        ZoneId = "string",
        Avifs = new[]
        {
            "string",
        },
        Bmps = new[]
        {
            "string",
        },
        Gifs = new[]
        {
            "string",
        },
        Jp2s = new[]
        {
            "string",
        },
        Jpegs = new[]
        {
            "string",
        },
        Jpg2s = new[]
        {
            "string",
        },
        Jpgs = new[]
        {
            "string",
        },
        Pngs = new[]
        {
            "string",
        },
        Tiffs = new[]
        {
            "string",
        },
        Tifs = new[]
        {
            "string",
        },
        Webps = new[]
        {
            "string",
        },
    });
    
    example, err := cloudflare.NewZoneCacheVariants(ctx, "zoneCacheVariantsResource", &cloudflare.ZoneCacheVariantsArgs{
    	ZoneId: pulumi.String("string"),
    	Avifs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Bmps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Gifs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Jp2s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Jpegs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Jpg2s: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Jpgs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Pngs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tiffs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tifs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Webps: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var zoneCacheVariantsResource = new ZoneCacheVariants("zoneCacheVariantsResource", ZoneCacheVariantsArgs.builder()
        .zoneId("string")
        .avifs("string")
        .bmps("string")
        .gifs("string")
        .jp2s("string")
        .jpegs("string")
        .jpg2s("string")
        .jpgs("string")
        .pngs("string")
        .tiffs("string")
        .tifs("string")
        .webps("string")
        .build());
    
    zone_cache_variants_resource = cloudflare.ZoneCacheVariants("zoneCacheVariantsResource",
        zone_id="string",
        avifs=["string"],
        bmps=["string"],
        gifs=["string"],
        jp2s=["string"],
        jpegs=["string"],
        jpg2s=["string"],
        jpgs=["string"],
        pngs=["string"],
        tiffs=["string"],
        tifs=["string"],
        webps=["string"])
    
    const zoneCacheVariantsResource = new cloudflare.ZoneCacheVariants("zoneCacheVariantsResource", {
        zoneId: "string",
        avifs: ["string"],
        bmps: ["string"],
        gifs: ["string"],
        jp2s: ["string"],
        jpegs: ["string"],
        jpg2s: ["string"],
        jpgs: ["string"],
        pngs: ["string"],
        tiffs: ["string"],
        tifs: ["string"],
        webps: ["string"],
    });
    
    type: cloudflare:ZoneCacheVariants
    properties:
        avifs:
            - string
        bmps:
            - string
        gifs:
            - string
        jp2s:
            - string
        jpegs:
            - string
        jpg2s:
            - string
        jpgs:
            - string
        pngs:
            - string
        tiffs:
            - string
        tifs:
            - string
        webps:
            - string
        zoneId: string
    

    ZoneCacheVariants Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ZoneCacheVariants resource accepts the following input properties:

    ZoneId string
    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    Avifs List<string>
    List of strings with the MIME types of all the variants that should be served for avif.
    Bmps List<string>
    List of strings with the MIME types of all the variants that should be served for bmp.
    Gifs List<string>
    List of strings with the MIME types of all the variants that should be served for gif.
    Jp2s List<string>
    List of strings with the MIME types of all the variants that should be served for jp2.
    Jpegs List<string>
    List of strings with the MIME types of all the variants that should be served for jpeg.
    Jpg2s List<string>
    List of strings with the MIME types of all the variants that should be served for jpg2.
    Jpgs List<string>
    List of strings with the MIME types of all the variants that should be served for jpg.
    Pngs List<string>
    List of strings with the MIME types of all the variants that should be served for png.
    Tiffs List<string>
    List of strings with the MIME types of all the variants that should be served for tiff.
    Tifs List<string>
    List of strings with the MIME types of all the variants that should be served for tif.
    Webps List<string>
    List of strings with the MIME types of all the variants that should be served for webp.
    ZoneId string
    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    Avifs []string
    List of strings with the MIME types of all the variants that should be served for avif.
    Bmps []string
    List of strings with the MIME types of all the variants that should be served for bmp.
    Gifs []string
    List of strings with the MIME types of all the variants that should be served for gif.
    Jp2s []string
    List of strings with the MIME types of all the variants that should be served for jp2.
    Jpegs []string
    List of strings with the MIME types of all the variants that should be served for jpeg.
    Jpg2s []string
    List of strings with the MIME types of all the variants that should be served for jpg2.
    Jpgs []string
    List of strings with the MIME types of all the variants that should be served for jpg.
    Pngs []string
    List of strings with the MIME types of all the variants that should be served for png.
    Tiffs []string
    List of strings with the MIME types of all the variants that should be served for tiff.
    Tifs []string
    List of strings with the MIME types of all the variants that should be served for tif.
    Webps []string
    List of strings with the MIME types of all the variants that should be served for webp.
    zoneId String
    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    avifs List<String>
    List of strings with the MIME types of all the variants that should be served for avif.
    bmps List<String>
    List of strings with the MIME types of all the variants that should be served for bmp.
    gifs List<String>
    List of strings with the MIME types of all the variants that should be served for gif.
    jp2s List<String>
    List of strings with the MIME types of all the variants that should be served for jp2.
    jpegs List<String>
    List of strings with the MIME types of all the variants that should be served for jpeg.
    jpg2s List<String>
    List of strings with the MIME types of all the variants that should be served for jpg2.
    jpgs List<String>
    List of strings with the MIME types of all the variants that should be served for jpg.
    pngs List<String>
    List of strings with the MIME types of all the variants that should be served for png.
    tiffs List<String>
    List of strings with the MIME types of all the variants that should be served for tiff.
    tifs List<String>
    List of strings with the MIME types of all the variants that should be served for tif.
    webps List<String>
    List of strings with the MIME types of all the variants that should be served for webp.
    zoneId string
    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    avifs string[]
    List of strings with the MIME types of all the variants that should be served for avif.
    bmps string[]
    List of strings with the MIME types of all the variants that should be served for bmp.
    gifs string[]
    List of strings with the MIME types of all the variants that should be served for gif.
    jp2s string[]
    List of strings with the MIME types of all the variants that should be served for jp2.
    jpegs string[]
    List of strings with the MIME types of all the variants that should be served for jpeg.
    jpg2s string[]
    List of strings with the MIME types of all the variants that should be served for jpg2.
    jpgs string[]
    List of strings with the MIME types of all the variants that should be served for jpg.
    pngs string[]
    List of strings with the MIME types of all the variants that should be served for png.
    tiffs string[]
    List of strings with the MIME types of all the variants that should be served for tiff.
    tifs string[]
    List of strings with the MIME types of all the variants that should be served for tif.
    webps string[]
    List of strings with the MIME types of all the variants that should be served for webp.
    zone_id str
    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    avifs Sequence[str]
    List of strings with the MIME types of all the variants that should be served for avif.
    bmps Sequence[str]
    List of strings with the MIME types of all the variants that should be served for bmp.
    gifs Sequence[str]
    List of strings with the MIME types of all the variants that should be served for gif.
    jp2s Sequence[str]
    List of strings with the MIME types of all the variants that should be served for jp2.
    jpegs Sequence[str]
    List of strings with the MIME types of all the variants that should be served for jpeg.
    jpg2s Sequence[str]
    List of strings with the MIME types of all the variants that should be served for jpg2.
    jpgs Sequence[str]
    List of strings with the MIME types of all the variants that should be served for jpg.
    pngs Sequence[str]
    List of strings with the MIME types of all the variants that should be served for png.
    tiffs Sequence[str]
    List of strings with the MIME types of all the variants that should be served for tiff.
    tifs Sequence[str]
    List of strings with the MIME types of all the variants that should be served for tif.
    webps Sequence[str]
    List of strings with the MIME types of all the variants that should be served for webp.
    zoneId String
    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    avifs List<String>
    List of strings with the MIME types of all the variants that should be served for avif.
    bmps List<String>
    List of strings with the MIME types of all the variants that should be served for bmp.
    gifs List<String>
    List of strings with the MIME types of all the variants that should be served for gif.
    jp2s List<String>
    List of strings with the MIME types of all the variants that should be served for jp2.
    jpegs List<String>
    List of strings with the MIME types of all the variants that should be served for jpeg.
    jpg2s List<String>
    List of strings with the MIME types of all the variants that should be served for jpg2.
    jpgs List<String>
    List of strings with the MIME types of all the variants that should be served for jpg.
    pngs List<String>
    List of strings with the MIME types of all the variants that should be served for png.
    tiffs List<String>
    List of strings with the MIME types of all the variants that should be served for tiff.
    tifs List<String>
    List of strings with the MIME types of all the variants that should be served for tif.
    webps List<String>
    List of strings with the MIME types of all the variants that should be served for webp.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ZoneCacheVariants resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ZoneCacheVariants Resource

    Get an existing ZoneCacheVariants resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ZoneCacheVariantsState, opts?: CustomResourceOptions): ZoneCacheVariants
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            avifs: Optional[Sequence[str]] = None,
            bmps: Optional[Sequence[str]] = None,
            gifs: Optional[Sequence[str]] = None,
            jp2s: Optional[Sequence[str]] = None,
            jpegs: Optional[Sequence[str]] = None,
            jpg2s: Optional[Sequence[str]] = None,
            jpgs: Optional[Sequence[str]] = None,
            pngs: Optional[Sequence[str]] = None,
            tiffs: Optional[Sequence[str]] = None,
            tifs: Optional[Sequence[str]] = None,
            webps: Optional[Sequence[str]] = None,
            zone_id: Optional[str] = None) -> ZoneCacheVariants
    func GetZoneCacheVariants(ctx *Context, name string, id IDInput, state *ZoneCacheVariantsState, opts ...ResourceOption) (*ZoneCacheVariants, error)
    public static ZoneCacheVariants Get(string name, Input<string> id, ZoneCacheVariantsState? state, CustomResourceOptions? opts = null)
    public static ZoneCacheVariants get(String name, Output<String> id, ZoneCacheVariantsState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Avifs List<string>
    List of strings with the MIME types of all the variants that should be served for avif.
    Bmps List<string>
    List of strings with the MIME types of all the variants that should be served for bmp.
    Gifs List<string>
    List of strings with the MIME types of all the variants that should be served for gif.
    Jp2s List<string>
    List of strings with the MIME types of all the variants that should be served for jp2.
    Jpegs List<string>
    List of strings with the MIME types of all the variants that should be served for jpeg.
    Jpg2s List<string>
    List of strings with the MIME types of all the variants that should be served for jpg2.
    Jpgs List<string>
    List of strings with the MIME types of all the variants that should be served for jpg.
    Pngs List<string>
    List of strings with the MIME types of all the variants that should be served for png.
    Tiffs List<string>
    List of strings with the MIME types of all the variants that should be served for tiff.
    Tifs List<string>
    List of strings with the MIME types of all the variants that should be served for tif.
    Webps List<string>
    List of strings with the MIME types of all the variants that should be served for webp.
    ZoneId string
    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    Avifs []string
    List of strings with the MIME types of all the variants that should be served for avif.
    Bmps []string
    List of strings with the MIME types of all the variants that should be served for bmp.
    Gifs []string
    List of strings with the MIME types of all the variants that should be served for gif.
    Jp2s []string
    List of strings with the MIME types of all the variants that should be served for jp2.
    Jpegs []string
    List of strings with the MIME types of all the variants that should be served for jpeg.
    Jpg2s []string
    List of strings with the MIME types of all the variants that should be served for jpg2.
    Jpgs []string
    List of strings with the MIME types of all the variants that should be served for jpg.
    Pngs []string
    List of strings with the MIME types of all the variants that should be served for png.
    Tiffs []string
    List of strings with the MIME types of all the variants that should be served for tiff.
    Tifs []string
    List of strings with the MIME types of all the variants that should be served for tif.
    Webps []string
    List of strings with the MIME types of all the variants that should be served for webp.
    ZoneId string
    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    avifs List<String>
    List of strings with the MIME types of all the variants that should be served for avif.
    bmps List<String>
    List of strings with the MIME types of all the variants that should be served for bmp.
    gifs List<String>
    List of strings with the MIME types of all the variants that should be served for gif.
    jp2s List<String>
    List of strings with the MIME types of all the variants that should be served for jp2.
    jpegs List<String>
    List of strings with the MIME types of all the variants that should be served for jpeg.
    jpg2s List<String>
    List of strings with the MIME types of all the variants that should be served for jpg2.
    jpgs List<String>
    List of strings with the MIME types of all the variants that should be served for jpg.
    pngs List<String>
    List of strings with the MIME types of all the variants that should be served for png.
    tiffs List<String>
    List of strings with the MIME types of all the variants that should be served for tiff.
    tifs List<String>
    List of strings with the MIME types of all the variants that should be served for tif.
    webps List<String>
    List of strings with the MIME types of all the variants that should be served for webp.
    zoneId String
    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    avifs string[]
    List of strings with the MIME types of all the variants that should be served for avif.
    bmps string[]
    List of strings with the MIME types of all the variants that should be served for bmp.
    gifs string[]
    List of strings with the MIME types of all the variants that should be served for gif.
    jp2s string[]
    List of strings with the MIME types of all the variants that should be served for jp2.
    jpegs string[]
    List of strings with the MIME types of all the variants that should be served for jpeg.
    jpg2s string[]
    List of strings with the MIME types of all the variants that should be served for jpg2.
    jpgs string[]
    List of strings with the MIME types of all the variants that should be served for jpg.
    pngs string[]
    List of strings with the MIME types of all the variants that should be served for png.
    tiffs string[]
    List of strings with the MIME types of all the variants that should be served for tiff.
    tifs string[]
    List of strings with the MIME types of all the variants that should be served for tif.
    webps string[]
    List of strings with the MIME types of all the variants that should be served for webp.
    zoneId string
    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    avifs Sequence[str]
    List of strings with the MIME types of all the variants that should be served for avif.
    bmps Sequence[str]
    List of strings with the MIME types of all the variants that should be served for bmp.
    gifs Sequence[str]
    List of strings with the MIME types of all the variants that should be served for gif.
    jp2s Sequence[str]
    List of strings with the MIME types of all the variants that should be served for jp2.
    jpegs Sequence[str]
    List of strings with the MIME types of all the variants that should be served for jpeg.
    jpg2s Sequence[str]
    List of strings with the MIME types of all the variants that should be served for jpg2.
    jpgs Sequence[str]
    List of strings with the MIME types of all the variants that should be served for jpg.
    pngs Sequence[str]
    List of strings with the MIME types of all the variants that should be served for png.
    tiffs Sequence[str]
    List of strings with the MIME types of all the variants that should be served for tiff.
    tifs Sequence[str]
    List of strings with the MIME types of all the variants that should be served for tif.
    webps Sequence[str]
    List of strings with the MIME types of all the variants that should be served for webp.
    zone_id str
    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.
    avifs List<String>
    List of strings with the MIME types of all the variants that should be served for avif.
    bmps List<String>
    List of strings with the MIME types of all the variants that should be served for bmp.
    gifs List<String>
    List of strings with the MIME types of all the variants that should be served for gif.
    jp2s List<String>
    List of strings with the MIME types of all the variants that should be served for jp2.
    jpegs List<String>
    List of strings with the MIME types of all the variants that should be served for jpeg.
    jpg2s List<String>
    List of strings with the MIME types of all the variants that should be served for jpg2.
    jpgs List<String>
    List of strings with the MIME types of all the variants that should be served for jpg.
    pngs List<String>
    List of strings with the MIME types of all the variants that should be served for png.
    tiffs List<String>
    List of strings with the MIME types of all the variants that should be served for tiff.
    tifs List<String>
    List of strings with the MIME types of all the variants that should be served for tif.
    webps List<String>
    List of strings with the MIME types of all the variants that should be served for webp.
    zoneId String
    The zone identifier to target for the resource. Modifying this attribute will force creation of a new resource.

    Package Details

    Repository
    Cloudflare pulumi/pulumi-cloudflare
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cloudflare Terraform Provider.
    cloudflare logo
    Cloudflare v5.43.0 published on Wednesday, Nov 13, 2024 by Pulumi