Cloudflare v6.10.1 published on Wednesday, Oct 22, 2025 by Pulumi
cloudflare.getImages
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleImages = cloudflare.getImages({
    accountId: "023e105f4ecef8ad9ca31a8372d0c353",
    creator: "creator",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_images = cloudflare.get_images(account_id="023e105f4ecef8ad9ca31a8372d0c353",
    creator="creator")
package main
import (
	"github.com/pulumi/pulumi-cloudflare/sdk/v6/go/cloudflare"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cloudflare.LookupImages(ctx, &cloudflare.LookupImagesArgs{
			AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
			Creator:   pulumi.StringRef("creator"),
		}, nil)
		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 exampleImages = Cloudflare.GetImages.Invoke(new()
    {
        AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
        Creator = "creator",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.cloudflare.CloudflareFunctions;
import com.pulumi.cloudflare.inputs.GetImagesArgs;
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) {
        final var exampleImages = CloudflareFunctions.getImages(GetImagesArgs.builder()
            .accountId("023e105f4ecef8ad9ca31a8372d0c353")
            .creator("creator")
            .build());
    }
}
variables:
  exampleImages:
    fn::invoke:
      function: cloudflare:getImages
      arguments:
        accountId: 023e105f4ecef8ad9ca31a8372d0c353
        creator: creator
Using getImages
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getImages(args: GetImagesArgs, opts?: InvokeOptions): Promise<GetImagesResult>
function getImagesOutput(args: GetImagesOutputArgs, opts?: InvokeOptions): Output<GetImagesResult>def get_images(account_id: Optional[str] = None,
               creator: Optional[str] = None,
               max_items: Optional[int] = None,
               opts: Optional[InvokeOptions] = None) -> GetImagesResult
def get_images_output(account_id: Optional[pulumi.Input[str]] = None,
               creator: Optional[pulumi.Input[str]] = None,
               max_items: Optional[pulumi.Input[int]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetImagesResult]func LookupImages(ctx *Context, args *LookupImagesArgs, opts ...InvokeOption) (*LookupImagesResult, error)
func LookupImagesOutput(ctx *Context, args *LookupImagesOutputArgs, opts ...InvokeOption) LookupImagesResultOutput> Note: This function is named LookupImages in the Go SDK.
public static class GetImages 
{
    public static Task<GetImagesResult> InvokeAsync(GetImagesArgs args, InvokeOptions? opts = null)
    public static Output<GetImagesResult> Invoke(GetImagesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetImagesResult> getImages(GetImagesArgs args, InvokeOptions options)
public static Output<GetImagesResult> getImages(GetImagesArgs args, InvokeOptions options)
fn::invoke:
  function: cloudflare:index/getImages:getImages
  arguments:
    # arguments dictionaryThe following arguments are supported:
- account_id str
- Account identifier tag.
- creator str
- Internal user ID set within the creator field. Setting to empty string "" will return images where creator field is not set
- max_items int
- Max items to fetch, default: 1000
getImages Result
The following output properties are available:
- AccountId string
- Account identifier tag.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<GetImages Result> 
- The items returned by the data source
- Creator string
- Internal user ID set within the creator field. Setting to empty string "" will return images where creator field is not set
- MaxItems int
- Max items to fetch, default: 1000
- AccountId string
- Account identifier tag.
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]GetImages Result 
- The items returned by the data source
- Creator string
- Internal user ID set within the creator field. Setting to empty string "" will return images where creator field is not set
- MaxItems int
- Max items to fetch, default: 1000
- accountId String
- Account identifier tag.
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<GetImages Result> 
- The items returned by the data source
- creator String
- Internal user ID set within the creator field. Setting to empty string "" will return images where creator field is not set
- maxItems Integer
- Max items to fetch, default: 1000
- accountId string
- Account identifier tag.
- id string
- The provider-assigned unique ID for this managed resource.
- results
GetImages Result[] 
- The items returned by the data source
- creator string
- Internal user ID set within the creator field. Setting to empty string "" will return images where creator field is not set
- maxItems number
- Max items to fetch, default: 1000
- account_id str
- Account identifier tag.
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[GetImages Result] 
- The items returned by the data source
- creator str
- Internal user ID set within the creator field. Setting to empty string "" will return images where creator field is not set
- max_items int
- Max items to fetch, default: 1000
- accountId String
- Account identifier tag.
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- creator String
- Internal user ID set within the creator field. Setting to empty string "" will return images where creator field is not set
- maxItems Number
- Max items to fetch, default: 1000
Supporting Types
GetImagesResult  
GetImagesResultImage   
- Creator string
- Can set the creator field with an internal user ID.
- Filename string
- Image file name.
- Id string
- Image unique identifier.
- Meta string
- User modifiable key-value store. Can be used for keeping references to another system of record for managing images. Metadata must not exceed 1024 bytes.
- RequireSigned boolUrls 
- Indicates whether the image can be a accessed only using it's UID. If set to true, a signed token needs to be generated with a signing key to view the image.
- Uploaded string
- When the media item was uploaded.
- Variants List<string>
- Object specifying available variants for an image.
- Creator string
- Can set the creator field with an internal user ID.
- Filename string
- Image file name.
- Id string
- Image unique identifier.
- Meta string
- User modifiable key-value store. Can be used for keeping references to another system of record for managing images. Metadata must not exceed 1024 bytes.
- RequireSigned boolUrls 
- Indicates whether the image can be a accessed only using it's UID. If set to true, a signed token needs to be generated with a signing key to view the image.
- Uploaded string
- When the media item was uploaded.
- Variants []string
- Object specifying available variants for an image.
- creator String
- Can set the creator field with an internal user ID.
- filename String
- Image file name.
- id String
- Image unique identifier.
- meta String
- User modifiable key-value store. Can be used for keeping references to another system of record for managing images. Metadata must not exceed 1024 bytes.
- requireSigned BooleanUrls 
- Indicates whether the image can be a accessed only using it's UID. If set to true, a signed token needs to be generated with a signing key to view the image.
- uploaded String
- When the media item was uploaded.
- variants List<String>
- Object specifying available variants for an image.
- creator string
- Can set the creator field with an internal user ID.
- filename string
- Image file name.
- id string
- Image unique identifier.
- meta string
- User modifiable key-value store. Can be used for keeping references to another system of record for managing images. Metadata must not exceed 1024 bytes.
- requireSigned booleanUrls 
- Indicates whether the image can be a accessed only using it's UID. If set to true, a signed token needs to be generated with a signing key to view the image.
- uploaded string
- When the media item was uploaded.
- variants string[]
- Object specifying available variants for an image.
- creator str
- Can set the creator field with an internal user ID.
- filename str
- Image file name.
- id str
- Image unique identifier.
- meta str
- User modifiable key-value store. Can be used for keeping references to another system of record for managing images. Metadata must not exceed 1024 bytes.
- require_signed_ boolurls 
- Indicates whether the image can be a accessed only using it's UID. If set to true, a signed token needs to be generated with a signing key to view the image.
- uploaded str
- When the media item was uploaded.
- variants Sequence[str]
- Object specifying available variants for an image.
- creator String
- Can set the creator field with an internal user ID.
- filename String
- Image file name.
- id String
- Image unique identifier.
- meta String
- User modifiable key-value store. Can be used for keeping references to another system of record for managing images. Metadata must not exceed 1024 bytes.
- requireSigned BooleanUrls 
- Indicates whether the image can be a accessed only using it's UID. If set to true, a signed token needs to be generated with a signing key to view the image.
- uploaded String
- When the media item was uploaded.
- variants List<String>
- Object specifying available variants for an image.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the cloudflareTerraform Provider.
