getCustomPages

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleCustomPages = cloudflare.getCustomPages({
identifier: "023e105f4ecef8ad9ca31a8372d0c353",
accountId: "account_id",
zoneId: "zone_id",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_custom_pages = cloudflare.get_custom_pages(identifier="023e105f4ecef8ad9ca31a8372d0c353",
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 exampleCustomPages = Cloudflare.GetCustomPages.Invoke(new()
{
Identifier = "023e105f4ecef8ad9ca31a8372d0c353",
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.LookupCustomPages(ctx, &cloudflare.LookupCustomPagesArgs{
Identifier: "023e105f4ecef8ad9ca31a8372d0c353",
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.GetCustomPagesArgs;
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 exampleCustomPages = CloudflareFunctions.getCustomPages(GetCustomPagesArgs.builder()
.identifier("023e105f4ecef8ad9ca31a8372d0c353")
.accountId("account_id")
.zoneId("zone_id")
.build());
}
}
variables:
exampleCustomPages:
fn::invoke:
function: cloudflare:getCustomPages
arguments:
identifier: 023e105f4ecef8ad9ca31a8372d0c353
accountId: account_id
zoneId: zone_id

Return

A collection of values returned by getCustomPages.

Parameters

argument

A collection of arguments for invoking getCustomPages.


suspend fun getCustomPages(accountId: String? = null, identifier: String, zoneId: String? = null): GetCustomPagesResult

Return

A collection of values returned by getCustomPages.

Parameters

accountId

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

identifier

Identifier

zoneId

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

See also


Return

A collection of values returned by getCustomPages.

Parameters

argument

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

See also