Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getEmailRoutingCatchAll
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleEmailRoutingCatchAll = cloudflare.getEmailRoutingCatchAll({
zoneId: "023e105f4ecef8ad9ca31a8372d0c353",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_email_routing_catch_all = cloudflare.get_email_routing_catch_all(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.LookupEmailRoutingCatchAll(ctx, &cloudflare.LookupEmailRoutingCatchAllArgs{
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 exampleEmailRoutingCatchAll = Cloudflare.GetEmailRoutingCatchAll.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.GetEmailRoutingCatchAllArgs;
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 exampleEmailRoutingCatchAll = CloudflareFunctions.getEmailRoutingCatchAll(GetEmailRoutingCatchAllArgs.builder()
.zoneId("023e105f4ecef8ad9ca31a8372d0c353")
.build());
}
}
variables:
exampleEmailRoutingCatchAll:
fn::invoke:
function: cloudflare:getEmailRoutingCatchAll
arguments:
zoneId: 023e105f4ecef8ad9ca31a8372d0c353
Using getEmailRoutingCatchAll
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 getEmailRoutingCatchAll(args: GetEmailRoutingCatchAllArgs, opts?: InvokeOptions): Promise<GetEmailRoutingCatchAllResult>
function getEmailRoutingCatchAllOutput(args: GetEmailRoutingCatchAllOutputArgs, opts?: InvokeOptions): Output<GetEmailRoutingCatchAllResult>
def get_email_routing_catch_all(zone_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEmailRoutingCatchAllResult
def get_email_routing_catch_all_output(zone_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEmailRoutingCatchAllResult]
func LookupEmailRoutingCatchAll(ctx *Context, args *LookupEmailRoutingCatchAllArgs, opts ...InvokeOption) (*LookupEmailRoutingCatchAllResult, error)
func LookupEmailRoutingCatchAllOutput(ctx *Context, args *LookupEmailRoutingCatchAllOutputArgs, opts ...InvokeOption) LookupEmailRoutingCatchAllResultOutput
> Note: This function is named LookupEmailRoutingCatchAll
in the Go SDK.
public static class GetEmailRoutingCatchAll
{
public static Task<GetEmailRoutingCatchAllResult> InvokeAsync(GetEmailRoutingCatchAllArgs args, InvokeOptions? opts = null)
public static Output<GetEmailRoutingCatchAllResult> Invoke(GetEmailRoutingCatchAllInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEmailRoutingCatchAllResult> getEmailRoutingCatchAll(GetEmailRoutingCatchAllArgs args, InvokeOptions options)
public static Output<GetEmailRoutingCatchAllResult> getEmailRoutingCatchAll(GetEmailRoutingCatchAllArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getEmailRoutingCatchAll:getEmailRoutingCatchAll
arguments:
# arguments dictionary
The 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
getEmailRoutingCatchAll Result
The following output properties are available:
- Actions
List<Get
Email Routing Catch All Action> - List actions for the catch-all routing rule.
- Enabled bool
- Routing rule status.
- Id string
- Routing rule identifier.
- Matchers
List<Get
Email Routing Catch All Matcher> - List of matchers for the catch-all routing rule.
- Name string
- Routing rule name.
- Tag string
- Routing rule tag. (Deprecated, replaced by routing rule identifier)
- Zone
Id string - Identifier
- Actions
[]Get
Email Routing Catch All Action - List actions for the catch-all routing rule.
- Enabled bool
- Routing rule status.
- Id string
- Routing rule identifier.
- Matchers
[]Get
Email Routing Catch All Matcher - List of matchers for the catch-all routing rule.
- Name string
- Routing rule name.
- Tag string
- Routing rule tag. (Deprecated, replaced by routing rule identifier)
- Zone
Id string - Identifier
- actions
List<Get
Email Routing Catch All Action> - List actions for the catch-all routing rule.
- enabled Boolean
- Routing rule status.
- id String
- Routing rule identifier.
- matchers
List<Get
Email Routing Catch All Matcher> - List of matchers for the catch-all routing rule.
- name String
- Routing rule name.
- tag String
- Routing rule tag. (Deprecated, replaced by routing rule identifier)
- zone
Id String - Identifier
- actions
Get
Email Routing Catch All Action[] - List actions for the catch-all routing rule.
- enabled boolean
- Routing rule status.
- id string
- Routing rule identifier.
- matchers
Get
Email Routing Catch All Matcher[] - List of matchers for the catch-all routing rule.
- name string
- Routing rule name.
- tag string
- Routing rule tag. (Deprecated, replaced by routing rule identifier)
- zone
Id string - Identifier
- actions
Sequence[Get
Email Routing Catch All Action] - List actions for the catch-all routing rule.
- enabled bool
- Routing rule status.
- id str
- Routing rule identifier.
- matchers
Sequence[Get
Email Routing Catch All Matcher] - List of matchers for the catch-all routing rule.
- name str
- Routing rule name.
- tag str
- Routing rule tag. (Deprecated, replaced by routing rule identifier)
- zone_
id str - Identifier
- actions List<Property Map>
- List actions for the catch-all routing rule.
- enabled Boolean
- Routing rule status.
- id String
- Routing rule identifier.
- matchers List<Property Map>
- List of matchers for the catch-all routing rule.
- name String
- Routing rule name.
- tag String
- Routing rule tag. (Deprecated, replaced by routing rule identifier)
- zone
Id String - Identifier
Supporting Types
GetEmailRoutingCatchAllAction
GetEmailRoutingCatchAllMatcher
- Type string
- Type of matcher. Default is 'all'. Available values: "all".
- Type string
- Type of matcher. Default is 'all'. Available values: "all".
- type String
- Type of matcher. Default is 'all'. Available values: "all".
- type string
- Type of matcher. Default is 'all'. Available values: "all".
- type str
- Type of matcher. Default is 'all'. Available values: "all".
- type String
- Type of matcher. Default is 'all'. Available values: "all".
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.