Cloudflare v6.1.2 published on Monday, Apr 28, 2025 by Pulumi
cloudflare.getEmailRoutingAddress
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleEmailRoutingAddress = cloudflare.getEmailRoutingAddress({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
destinationAddressIdentifier: "ea95132c15732412d22c1476fa83f27a",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_email_routing_address = cloudflare.get_email_routing_address(account_id="023e105f4ecef8ad9ca31a8372d0c353",
destination_address_identifier="ea95132c15732412d22c1476fa83f27a")
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.LookupEmailRoutingAddress(ctx, &cloudflare.LookupEmailRoutingAddressArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
DestinationAddressIdentifier: pulumi.StringRef("ea95132c15732412d22c1476fa83f27a"),
}, 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 exampleEmailRoutingAddress = Cloudflare.GetEmailRoutingAddress.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
DestinationAddressIdentifier = "ea95132c15732412d22c1476fa83f27a",
});
});
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.GetEmailRoutingAddressArgs;
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 exampleEmailRoutingAddress = CloudflareFunctions.getEmailRoutingAddress(GetEmailRoutingAddressArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.destinationAddressIdentifier("ea95132c15732412d22c1476fa83f27a")
.build());
}
}
variables:
exampleEmailRoutingAddress:
fn::invoke:
function: cloudflare:getEmailRoutingAddress
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
destinationAddressIdentifier: ea95132c15732412d22c1476fa83f27a
Using getEmailRoutingAddress
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 getEmailRoutingAddress(args: GetEmailRoutingAddressArgs, opts?: InvokeOptions): Promise<GetEmailRoutingAddressResult>
function getEmailRoutingAddressOutput(args: GetEmailRoutingAddressOutputArgs, opts?: InvokeOptions): Output<GetEmailRoutingAddressResult>
def get_email_routing_address(account_id: Optional[str] = None,
destination_address_identifier: Optional[str] = None,
filter: Optional[GetEmailRoutingAddressFilter] = None,
opts: Optional[InvokeOptions] = None) -> GetEmailRoutingAddressResult
def get_email_routing_address_output(account_id: Optional[pulumi.Input[str]] = None,
destination_address_identifier: Optional[pulumi.Input[str]] = None,
filter: Optional[pulumi.Input[GetEmailRoutingAddressFilterArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEmailRoutingAddressResult]
func LookupEmailRoutingAddress(ctx *Context, args *LookupEmailRoutingAddressArgs, opts ...InvokeOption) (*LookupEmailRoutingAddressResult, error)
func LookupEmailRoutingAddressOutput(ctx *Context, args *LookupEmailRoutingAddressOutputArgs, opts ...InvokeOption) LookupEmailRoutingAddressResultOutput
> Note: This function is named LookupEmailRoutingAddress
in the Go SDK.
public static class GetEmailRoutingAddress
{
public static Task<GetEmailRoutingAddressResult> InvokeAsync(GetEmailRoutingAddressArgs args, InvokeOptions? opts = null)
public static Output<GetEmailRoutingAddressResult> Invoke(GetEmailRoutingAddressInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEmailRoutingAddressResult> getEmailRoutingAddress(GetEmailRoutingAddressArgs args, InvokeOptions options)
public static Output<GetEmailRoutingAddressResult> getEmailRoutingAddress(GetEmailRoutingAddressArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getEmailRoutingAddress:getEmailRoutingAddress
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string - Identifier
- Destination
Address stringIdentifier - Destination address identifier.
- Filter
Get
Email Routing Address Filter
- Account
Id string - Identifier
- Destination
Address stringIdentifier - Destination address identifier.
- Filter
Get
Email Routing Address Filter
- account
Id String - Identifier
- destination
Address StringIdentifier - Destination address identifier.
- filter
Get
Email Routing Address Filter
- account
Id string - Identifier
- destination
Address stringIdentifier - Destination address identifier.
- filter
Get
Email Routing Address Filter
- account_
id str - Identifier
- destination_
address_ stridentifier - Destination address identifier.
- filter
Get
Email Routing Address Filter
- account
Id String - Identifier
- destination
Address StringIdentifier - Destination address identifier.
- filter Property Map
getEmailRoutingAddress Result
The following output properties are available:
- Account
Id string - Identifier
- Created string
- The date and time the destination address has been created.
- Email string
- The contact email address of the user.
- Id string
- Destination address identifier.
- Modified string
- The date and time the destination address was last modified.
- Tag string
- Destination address tag. (Deprecated, replaced by destination address identifier)
- Verified string
- The date and time the destination address has been verified. Null means not verified yet.
- Destination
Address stringIdentifier - Destination address identifier.
- Filter
Get
Email Routing Address Filter
- Account
Id string - Identifier
- Created string
- The date and time the destination address has been created.
- Email string
- The contact email address of the user.
- Id string
- Destination address identifier.
- Modified string
- The date and time the destination address was last modified.
- Tag string
- Destination address tag. (Deprecated, replaced by destination address identifier)
- Verified string
- The date and time the destination address has been verified. Null means not verified yet.
- Destination
Address stringIdentifier - Destination address identifier.
- Filter
Get
Email Routing Address Filter
- account
Id String - Identifier
- created String
- The date and time the destination address has been created.
- email String
- The contact email address of the user.
- id String
- Destination address identifier.
- modified String
- The date and time the destination address was last modified.
- tag String
- Destination address tag. (Deprecated, replaced by destination address identifier)
- verified String
- The date and time the destination address has been verified. Null means not verified yet.
- destination
Address StringIdentifier - Destination address identifier.
- filter
Get
Email Routing Address Filter
- account
Id string - Identifier
- created string
- The date and time the destination address has been created.
- email string
- The contact email address of the user.
- id string
- Destination address identifier.
- modified string
- The date and time the destination address was last modified.
- tag string
- Destination address tag. (Deprecated, replaced by destination address identifier)
- verified string
- The date and time the destination address has been verified. Null means not verified yet.
- destination
Address stringIdentifier - Destination address identifier.
- filter
Get
Email Routing Address Filter
- account_
id str - Identifier
- created str
- The date and time the destination address has been created.
- email str
- The contact email address of the user.
- id str
- Destination address identifier.
- modified str
- The date and time the destination address was last modified.
- tag str
- Destination address tag. (Deprecated, replaced by destination address identifier)
- verified str
- The date and time the destination address has been verified. Null means not verified yet.
- destination_
address_ stridentifier - Destination address identifier.
- filter
Get
Email Routing Address Filter
- account
Id String - Identifier
- created String
- The date and time the destination address has been created.
- email String
- The contact email address of the user.
- id String
- Destination address identifier.
- modified String
- The date and time the destination address was last modified.
- tag String
- Destination address tag. (Deprecated, replaced by destination address identifier)
- verified String
- The date and time the destination address has been verified. Null means not verified yet.
- destination
Address StringIdentifier - Destination address identifier.
- filter Property Map
Supporting Types
GetEmailRoutingAddressFilter
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.