getCustomPagesList

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleCustomPagesList = cloudflare.getCustomPagesList({
accountId: "account_id",
zoneId: "zone_id",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_custom_pages_list = cloudflare.get_custom_pages_list(account_id="account_id",
zone_id="zone_id")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Cloudflare = Pulumi.Cloudflare;
return await Deployment.RunAsync(() =>
{
var exampleCustomPagesList = Cloudflare.GetCustomPagesList.Invoke(new()
{
AccountId = "account_id",
ZoneId = "zone_id",
});
});
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.LookupCustomPagesList(ctx, &cloudflare.LookupCustomPagesListArgs{
AccountId: pulumi.StringRef("account_id"),
ZoneId: pulumi.StringRef("zone_id"),
}, nil)
if err != nil {
return err
}
return nil
})
}
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.GetCustomPagesListArgs;
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 exampleCustomPagesList = CloudflareFunctions.getCustomPagesList(GetCustomPagesListArgs.builder()
.accountId("account_id")
.zoneId("zone_id")
.build());
}
}
variables:
exampleCustomPagesList:
fn::invoke:
function: cloudflare:getCustomPagesList
arguments:
accountId: account_id
zoneId: zone_id

Return

A collection of values returned by getCustomPagesList.

Parameters

argument

A collection of arguments for invoking getCustomPagesList.


suspend fun getCustomPagesList(accountId: String? = null, maxItems: Int? = null, zoneId: String? = null): GetCustomPagesListInvokeResult

Return

A collection of values returned by getCustomPagesList.

Parameters

accountId

The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.

maxItems

Max items to fetch, default: 1000

zoneId

The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.

See also


Return

A collection of values returned by getCustomPagesList.

Parameters

argument

Builder for com.pulumi.cloudflare.kotlin.inputs.GetCustomPagesListPlainArgs.

See also