Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleCustomHostnameFallbackOrigin = cloudflare.getCustomHostnameFallbackOrigin({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_custom_hostname_fallback_origin = cloudflare.get_custom_hostname_fallback_origin(zone_id="023e105f4ecef8ad9ca31a8372d0c353")
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.LookupCustomHostnameFallbackOrigin(ctx, &cloudflare.LookupCustomHostnameFallbackOriginArgs{
ZoneId: "023e105f4ecef8ad9ca31a8372d0c353",
}, 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 exampleCustomHostnameFallbackOrigin = Cloudflare.GetCustomHostnameFallbackOrigin.Invoke(new()
{
ZoneId = "023e105f4ecef8ad9ca31a8372d0c353",
});
});
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.GetCustomHostnameFallbackOriginArgs;
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 exampleCustomHostnameFallbackOrigin = CloudflareFunctions.getCustomHostnameFallbackOrigin(GetCustomHostnameFallbackOriginArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
exampleCustomHostnameFallbackOrigin:
fn::invoke:
function: cloudflare:getCustomHostnameFallbackOrigin
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
Using getCustomHostnameFallbackOrigin
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 getCustomHostnameFallbackOrigin(args: GetCustomHostnameFallbackOriginArgs, opts?: InvokeOptions): Promise<GetCustomHostnameFallbackOriginResult>
function getCustomHostnameFallbackOriginOutput(args: GetCustomHostnameFallbackOriginOutputArgs, opts?: InvokeOptions): Output<GetCustomHostnameFallbackOriginResult>def get_custom_hostname_fallback_origin(zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCustomHostnameFallbackOriginResult
def get_custom_hostname_fallback_origin_output(zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCustomHostnameFallbackOriginResult]func LookupCustomHostnameFallbackOrigin(ctx *Context, args *LookupCustomHostnameFallbackOriginArgs, opts ...InvokeOption) (*LookupCustomHostnameFallbackOriginResult, error)
func LookupCustomHostnameFallbackOriginOutput(ctx *Context, args *LookupCustomHostnameFallbackOriginOutputArgs, opts ...InvokeOption) LookupCustomHostnameFallbackOriginResultOutput> Note: This function is named LookupCustomHostnameFallbackOrigin in the Go SDK.
public static class GetCustomHostnameFallbackOrigin
{
public static Task<GetCustomHostnameFallbackOriginResult> InvokeAsync(GetCustomHostnameFallbackOriginArgs args, InvokeOptions? opts = null)
public static Output<GetCustomHostnameFallbackOriginResult> Invoke(GetCustomHostnameFallbackOriginInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCustomHostnameFallbackOriginResult> getCustomHostnameFallbackOrigin(GetCustomHostnameFallbackOriginArgs args, InvokeOptions options)
public static Output<GetCustomHostnameFallbackOriginResult> getCustomHostnameFallbackOrigin(GetCustomHostnameFallbackOriginArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getCustomHostnameFallbackOrigin:getCustomHostnameFallbackOrigin
arguments:
# arguments dictionaryThe following arguments are supported:
- Zone
Id string - Identifier.
- Zone
Id string - Identifier.
- zone
Id String - Identifier.
- zone
Id string - Identifier.
- zone_
id str - Identifier.
- zone
Id String - Identifier.
getCustomHostnameFallbackOrigin Result
The following output properties are available:
- Created
At string - This is the time the fallback origin was created.
- Errors List<string>
- These are errors that were encountered while trying to activate a fallback origin.
- Id string
- Identifier.
- Origin string
- Your origin hostname that requests to your custom hostnames will be sent to.
- Status string
- Status of the fallback origin's activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deploymenttimedout", "deletiontimedout".
- Updated
At string - This is the time the fallback origin was updated.
- Zone
Id string - Identifier.
- Created
At string - This is the time the fallback origin was created.
- Errors []string
- These are errors that were encountered while trying to activate a fallback origin.
- Id string
- Identifier.
- Origin string
- Your origin hostname that requests to your custom hostnames will be sent to.
- Status string
- Status of the fallback origin's activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deploymenttimedout", "deletiontimedout".
- Updated
At string - This is the time the fallback origin was updated.
- Zone
Id string - Identifier.
- created
At String - This is the time the fallback origin was created.
- errors List<String>
- These are errors that were encountered while trying to activate a fallback origin.
- id String
- Identifier.
- origin String
- Your origin hostname that requests to your custom hostnames will be sent to.
- status String
- Status of the fallback origin's activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deploymenttimedout", "deletiontimedout".
- updated
At String - This is the time the fallback origin was updated.
- zone
Id String - Identifier.
- created
At string - This is the time the fallback origin was created.
- errors string[]
- These are errors that were encountered while trying to activate a fallback origin.
- id string
- Identifier.
- origin string
- Your origin hostname that requests to your custom hostnames will be sent to.
- status string
- Status of the fallback origin's activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deploymenttimedout", "deletiontimedout".
- updated
At string - This is the time the fallback origin was updated.
- zone
Id string - Identifier.
- created_
at str - This is the time the fallback origin was created.
- errors Sequence[str]
- These are errors that were encountered while trying to activate a fallback origin.
- id str
- Identifier.
- origin str
- Your origin hostname that requests to your custom hostnames will be sent to.
- status str
- Status of the fallback origin's activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deploymenttimedout", "deletiontimedout".
- updated_
at str - This is the time the fallback origin was updated.
- zone_
id str - Identifier.
- created
At String - This is the time the fallback origin was created.
- errors List<String>
- These are errors that were encountered while trying to activate a fallback origin.
- id String
- Identifier.
- origin String
- Your origin hostname that requests to your custom hostnames will be sent to.
- status String
- Status of the fallback origin's activation. Available values: "initializing", "pendingdeployment", "pendingdeletion", "active", "deploymenttimedout", "deletiontimedout".
- updated
At String - This is the time the fallback origin was updated.
- zone
Id String - Identifier.
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflareTerraform Provider.
Viewing docs for Cloudflare v6.13.0
published on Wednesday, Jan 21, 2026 by Pulumi
published on Wednesday, Jan 21, 2026 by Pulumi
