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 exampleEmailRoutingSettings = cloudflare.getEmailRoutingSettings({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_email_routing_settings = cloudflare.get_email_routing_settings(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.LookupEmailRoutingSettings(ctx, &cloudflare.LookupEmailRoutingSettingsArgs{
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 exampleEmailRoutingSettings = Cloudflare.GetEmailRoutingSettings.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.GetEmailRoutingSettingsArgs;
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 exampleEmailRoutingSettings = CloudflareFunctions.getEmailRoutingSettings(GetEmailRoutingSettingsArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
exampleEmailRoutingSettings:
fn::invoke:
function: cloudflare:getEmailRoutingSettings
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
Using getEmailRoutingSettings
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 getEmailRoutingSettings(args: GetEmailRoutingSettingsArgs, opts?: InvokeOptions): Promise<GetEmailRoutingSettingsResult>
function getEmailRoutingSettingsOutput(args: GetEmailRoutingSettingsOutputArgs, opts?: InvokeOptions): Output<GetEmailRoutingSettingsResult>def get_email_routing_settings(zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEmailRoutingSettingsResult
def get_email_routing_settings_output(zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEmailRoutingSettingsResult]func LookupEmailRoutingSettings(ctx *Context, args *LookupEmailRoutingSettingsArgs, opts ...InvokeOption) (*LookupEmailRoutingSettingsResult, error)
func LookupEmailRoutingSettingsOutput(ctx *Context, args *LookupEmailRoutingSettingsOutputArgs, opts ...InvokeOption) LookupEmailRoutingSettingsResultOutput> Note: This function is named LookupEmailRoutingSettings in the Go SDK.
public static class GetEmailRoutingSettings
{
public static Task<GetEmailRoutingSettingsResult> InvokeAsync(GetEmailRoutingSettingsArgs args, InvokeOptions? opts = null)
public static Output<GetEmailRoutingSettingsResult> Invoke(GetEmailRoutingSettingsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEmailRoutingSettingsResult> getEmailRoutingSettings(GetEmailRoutingSettingsArgs args, InvokeOptions options)
public static Output<GetEmailRoutingSettingsResult> getEmailRoutingSettings(GetEmailRoutingSettingsArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getEmailRoutingSettings:getEmailRoutingSettings
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.
getEmailRoutingSettings Result
The following output properties are available:
- Created string
- The date and time the settings have been created.
- Enabled bool
- State of the zone settings for Email Routing.
- Id string
- Identifier.
- Modified string
- The date and time the settings have been modified.
- Name string
- Domain of your zone.
- Skip
Wizard bool - Flag to check if the user skipped the configuration wizard.
- Status string
- Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
- Tag string
- Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
- Zone
Id string - Identifier.
- Created string
- The date and time the settings have been created.
- Enabled bool
- State of the zone settings for Email Routing.
- Id string
- Identifier.
- Modified string
- The date and time the settings have been modified.
- Name string
- Domain of your zone.
- Skip
Wizard bool - Flag to check if the user skipped the configuration wizard.
- Status string
- Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
- Tag string
- Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
- Zone
Id string - Identifier.
- created String
- The date and time the settings have been created.
- enabled Boolean
- State of the zone settings for Email Routing.
- id String
- Identifier.
- modified String
- The date and time the settings have been modified.
- name String
- Domain of your zone.
- skip
Wizard Boolean - Flag to check if the user skipped the configuration wizard.
- status String
- Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
- tag String
- Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
- zone
Id String - Identifier.
- created string
- The date and time the settings have been created.
- enabled boolean
- State of the zone settings for Email Routing.
- id string
- Identifier.
- modified string
- The date and time the settings have been modified.
- name string
- Domain of your zone.
- skip
Wizard boolean - Flag to check if the user skipped the configuration wizard.
- status string
- Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
- tag string
- Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
- zone
Id string - Identifier.
- created str
- The date and time the settings have been created.
- enabled bool
- State of the zone settings for Email Routing.
- id str
- Identifier.
- modified str
- The date and time the settings have been modified.
- name str
- Domain of your zone.
- skip_
wizard bool - Flag to check if the user skipped the configuration wizard.
- status str
- Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
- tag str
- Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
- zone_
id str - Identifier.
- created String
- The date and time the settings have been created.
- enabled Boolean
- State of the zone settings for Email Routing.
- id String
- Identifier.
- modified String
- The date and time the settings have been modified.
- name String
- Domain of your zone.
- skip
Wizard Boolean - Flag to check if the user skipped the configuration wizard.
- status String
- Show the state of your account, and the type or configuration error. Available values: "ready", "unconfigured", "misconfigured", "misconfigured/locked", "unlocked".
- tag String
- Email Routing settings tag. (Deprecated, replaced by Email Routing settings identifier)
- 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
