get Custom Pages List
suspend fun getCustomPagesList(argument: GetCustomPagesListPlainArgs): GetCustomPagesListInvokeResult
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleCustomPagesList = cloudflare.getCustomPagesList({
accountId: "account_id",
zoneId: "zone_id",
});
Content copied to clipboard
import pulumi
import pulumi_cloudflare as cloudflare
example_custom_pages_list = cloudflare.get_custom_pages_list(account_id="account_id",
zone_id="zone_id")
Content copied to clipboard
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",
});
});
Content copied to clipboard
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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
variables:
exampleCustomPagesList:
fn::invoke:
function: cloudflare:getCustomPagesList
arguments:
accountId: account_id
zoneId: zone_id
Content copied to clipboard
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
account Id
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
max Items
Max items to fetch, default: 1000
zone Id
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
See also
suspend fun getCustomPagesList(argument: suspend GetCustomPagesListPlainArgsBuilder.() -> Unit): GetCustomPagesListInvokeResult
Return
A collection of values returned by getCustomPagesList.
Parameters
argument
Builder for com.pulumi.cloudflare.kotlin.inputs.GetCustomPagesListPlainArgs.