Cloudflare v6.0.1 published on Wednesday, Apr 16, 2025 by Pulumi
cloudflare.getEmailSecurityTrustedDomainsList
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as cloudflare from "@pulumi/cloudflare";
const exampleEmailSecurityTrustedDomainsList = cloudflare.getEmailSecurityTrustedDomainsList({
accountId: "023e105f4ecef8ad9ca31a8372d0c353",
direction: "asc",
isRecent: true,
isSimilarity: true,
order: "pattern",
search: "search",
});
import pulumi
import pulumi_cloudflare as cloudflare
example_email_security_trusted_domains_list = cloudflare.get_email_security_trusted_domains_list(account_id="023e105f4ecef8ad9ca31a8372d0c353",
direction="asc",
is_recent=True,
is_similarity=True,
order="pattern",
search="search")
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.LookupEmailSecurityTrustedDomainsList(ctx, &cloudflare.LookupEmailSecurityTrustedDomainsListArgs{
AccountId: "023e105f4ecef8ad9ca31a8372d0c353",
Direction: pulumi.StringRef("asc"),
IsRecent: pulumi.BoolRef(true),
IsSimilarity: pulumi.BoolRef(true),
Order: pulumi.StringRef("pattern"),
Search: pulumi.StringRef("search"),
}, 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 exampleEmailSecurityTrustedDomainsList = Cloudflare.GetEmailSecurityTrustedDomainsList.Invoke(new()
{
AccountId = "023e105f4ecef8ad9ca31a8372d0c353",
Direction = "asc",
IsRecent = true,
IsSimilarity = true,
Order = "pattern",
Search = "search",
});
});
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.GetEmailSecurityTrustedDomainsListArgs;
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 exampleEmailSecurityTrustedDomainsList = CloudflareFunctions.getEmailSecurityTrustedDomainsList(GetEmailSecurityTrustedDomainsListArgs.builder()
.accountId("023e105f4ecef8ad9ca31a8372d0c353")
.direction("asc")
.isRecent(true)
.isSimilarity(true)
.order("pattern")
.search("search")
.build());
}
}
variables:
exampleEmailSecurityTrustedDomainsList:
fn::invoke:
function: cloudflare:getEmailSecurityTrustedDomainsList
arguments:
accountId: 023e105f4ecef8ad9ca31a8372d0c353
direction: asc
isRecent: true
isSimilarity: true
order: pattern
search: search
Using getEmailSecurityTrustedDomainsList
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 getEmailSecurityTrustedDomainsList(args: GetEmailSecurityTrustedDomainsListArgs, opts?: InvokeOptions): Promise<GetEmailSecurityTrustedDomainsListResult>
function getEmailSecurityTrustedDomainsListOutput(args: GetEmailSecurityTrustedDomainsListOutputArgs, opts?: InvokeOptions): Output<GetEmailSecurityTrustedDomainsListResult>
def get_email_security_trusted_domains_list(account_id: Optional[str] = None,
direction: Optional[str] = None,
is_recent: Optional[bool] = None,
is_similarity: Optional[bool] = None,
max_items: Optional[int] = None,
order: Optional[str] = None,
search: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEmailSecurityTrustedDomainsListResult
def get_email_security_trusted_domains_list_output(account_id: Optional[pulumi.Input[str]] = None,
direction: Optional[pulumi.Input[str]] = None,
is_recent: Optional[pulumi.Input[bool]] = None,
is_similarity: Optional[pulumi.Input[bool]] = None,
max_items: Optional[pulumi.Input[int]] = None,
order: Optional[pulumi.Input[str]] = None,
search: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEmailSecurityTrustedDomainsListResult]
func LookupEmailSecurityTrustedDomainsList(ctx *Context, args *LookupEmailSecurityTrustedDomainsListArgs, opts ...InvokeOption) (*LookupEmailSecurityTrustedDomainsListResult, error)
func LookupEmailSecurityTrustedDomainsListOutput(ctx *Context, args *LookupEmailSecurityTrustedDomainsListOutputArgs, opts ...InvokeOption) LookupEmailSecurityTrustedDomainsListResultOutput
> Note: This function is named LookupEmailSecurityTrustedDomainsList
in the Go SDK.
public static class GetEmailSecurityTrustedDomainsList
{
public static Task<GetEmailSecurityTrustedDomainsListResult> InvokeAsync(GetEmailSecurityTrustedDomainsListArgs args, InvokeOptions? opts = null)
public static Output<GetEmailSecurityTrustedDomainsListResult> Invoke(GetEmailSecurityTrustedDomainsListInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEmailSecurityTrustedDomainsListResult> getEmailSecurityTrustedDomainsList(GetEmailSecurityTrustedDomainsListArgs args, InvokeOptions options)
public static Output<GetEmailSecurityTrustedDomainsListResult> getEmailSecurityTrustedDomainsList(GetEmailSecurityTrustedDomainsListArgs args, InvokeOptions options)
fn::invoke:
function: cloudflare:index/getEmailSecurityTrustedDomainsList:getEmailSecurityTrustedDomainsList
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id This property is required. string - Account Identifier
- Direction string
- The sorting direction. Available values: "asc", "desc".
- Is
Recent bool - Is
Similarity bool - Max
Items int - Max items to fetch, default: 1000
- Order string
- The field to sort by. Available values: "pattern", "created_at".
- Search string
- Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
- Account
Id This property is required. string - Account Identifier
- Direction string
- The sorting direction. Available values: "asc", "desc".
- Is
Recent bool - Is
Similarity bool - Max
Items int - Max items to fetch, default: 1000
- Order string
- The field to sort by. Available values: "pattern", "created_at".
- Search string
- Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
- account
Id This property is required. String - Account Identifier
- direction String
- The sorting direction. Available values: "asc", "desc".
- is
Recent Boolean - is
Similarity Boolean - max
Items Integer - Max items to fetch, default: 1000
- order String
- The field to sort by. Available values: "pattern", "created_at".
- search String
- Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
- account
Id This property is required. string - Account Identifier
- direction string
- The sorting direction. Available values: "asc", "desc".
- is
Recent boolean - is
Similarity boolean - max
Items number - Max items to fetch, default: 1000
- order string
- The field to sort by. Available values: "pattern", "created_at".
- search string
- Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
- account_
id This property is required. str - Account Identifier
- direction str
- The sorting direction. Available values: "asc", "desc".
- is_
recent bool - is_
similarity bool - max_
items int - Max items to fetch, default: 1000
- order str
- The field to sort by. Available values: "pattern", "created_at".
- search str
- Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
- account
Id This property is required. String - Account Identifier
- direction String
- The sorting direction. Available values: "asc", "desc".
- is
Recent Boolean - is
Similarity Boolean - max
Items Number - Max items to fetch, default: 1000
- order String
- The field to sort by. Available values: "pattern", "created_at".
- search String
- Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
getEmailSecurityTrustedDomainsList Result
The following output properties are available:
- Account
Id string - Account Identifier
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
List<Get
Email Security Trusted Domains List Result> - The items returned by the data source
- Direction string
- The sorting direction. Available values: "asc", "desc".
- Is
Recent bool - Is
Similarity bool - Max
Items int - Max items to fetch, default: 1000
- Order string
- The field to sort by. Available values: "pattern", "created_at".
- Search string
- Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
- Account
Id string - Account Identifier
- Id string
- The provider-assigned unique ID for this managed resource.
- Results
[]Get
Email Security Trusted Domains List Result - The items returned by the data source
- Direction string
- The sorting direction. Available values: "asc", "desc".
- Is
Recent bool - Is
Similarity bool - Max
Items int - Max items to fetch, default: 1000
- Order string
- The field to sort by. Available values: "pattern", "created_at".
- Search string
- Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
- account
Id String - Account Identifier
- id String
- The provider-assigned unique ID for this managed resource.
- results
List<Get
Email Security Trusted Domains List Result> - The items returned by the data source
- direction String
- The sorting direction. Available values: "asc", "desc".
- is
Recent Boolean - is
Similarity Boolean - max
Items Integer - Max items to fetch, default: 1000
- order String
- The field to sort by. Available values: "pattern", "created_at".
- search String
- Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
- account
Id string - Account Identifier
- id string
- The provider-assigned unique ID for this managed resource.
- results
Get
Email Security Trusted Domains List Result[] - The items returned by the data source
- direction string
- The sorting direction. Available values: "asc", "desc".
- is
Recent boolean - is
Similarity boolean - max
Items number - Max items to fetch, default: 1000
- order string
- The field to sort by. Available values: "pattern", "created_at".
- search string
- Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
- account_
id str - Account Identifier
- id str
- The provider-assigned unique ID for this managed resource.
- results
Sequence[Get
Email Security Trusted Domains List Result] - The items returned by the data source
- direction str
- The sorting direction. Available values: "asc", "desc".
- is_
recent bool - is_
similarity bool - max_
items int - Max items to fetch, default: 1000
- order str
- The field to sort by. Available values: "pattern", "created_at".
- search str
- Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
- account
Id String - Account Identifier
- id String
- The provider-assigned unique ID for this managed resource.
- results List<Property Map>
- The items returned by the data source
- direction String
- The sorting direction. Available values: "asc", "desc".
- is
Recent Boolean - is
Similarity Boolean - max
Items Number - Max items to fetch, default: 1000
- order String
- The field to sort by. Available values: "pattern", "created_at".
- search String
- Allows searching in multiple properties of a record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future.
Supporting Types
GetEmailSecurityTrustedDomainsListResult
- Comments
This property is required. string - Created
At This property is required. string - Id
This property is required. int - The unique identifier for the trusted domain.
- Is
Recent This property is required. bool - Select to prevent recently registered domains from triggering a Suspicious or Malicious disposition.
- Is
Regex This property is required. bool - Is
Similarity This property is required. bool - Select for partner or other approved domains that have similar spelling to your connected domains. Prevents listed domains from triggering a Spoof disposition.
- Last
Modified This property is required. string - Pattern
This property is required. string
- Comments
This property is required. string - Created
At This property is required. string - Id
This property is required. int - The unique identifier for the trusted domain.
- Is
Recent This property is required. bool - Select to prevent recently registered domains from triggering a Suspicious or Malicious disposition.
- Is
Regex This property is required. bool - Is
Similarity This property is required. bool - Select for partner or other approved domains that have similar spelling to your connected domains. Prevents listed domains from triggering a Spoof disposition.
- Last
Modified This property is required. string - Pattern
This property is required. string
- comments
This property is required. String - created
At This property is required. String - id
This property is required. Integer - The unique identifier for the trusted domain.
- is
Recent This property is required. Boolean - Select to prevent recently registered domains from triggering a Suspicious or Malicious disposition.
- is
Regex This property is required. Boolean - is
Similarity This property is required. Boolean - Select for partner or other approved domains that have similar spelling to your connected domains. Prevents listed domains from triggering a Spoof disposition.
- last
Modified This property is required. String - pattern
This property is required. String
- comments
This property is required. string - created
At This property is required. string - id
This property is required. number - The unique identifier for the trusted domain.
- is
Recent This property is required. boolean - Select to prevent recently registered domains from triggering a Suspicious or Malicious disposition.
- is
Regex This property is required. boolean - is
Similarity This property is required. boolean - Select for partner or other approved domains that have similar spelling to your connected domains. Prevents listed domains from triggering a Spoof disposition.
- last
Modified This property is required. string - pattern
This property is required. string
- comments
This property is required. str - created_
at This property is required. str - id
This property is required. int - The unique identifier for the trusted domain.
- is_
recent This property is required. bool - Select to prevent recently registered domains from triggering a Suspicious or Malicious disposition.
- is_
regex This property is required. bool - is_
similarity This property is required. bool - Select for partner or other approved domains that have similar spelling to your connected domains. Prevents listed domains from triggering a Spoof disposition.
- last_
modified This property is required. str - pattern
This property is required. str
- comments
This property is required. String - created
At This property is required. String - id
This property is required. Number - The unique identifier for the trusted domain.
- is
Recent This property is required. Boolean - Select to prevent recently registered domains from triggering a Suspicious or Malicious disposition.
- is
Regex This property is required. Boolean - is
Similarity This property is required. Boolean - Select for partner or other approved domains that have similar spelling to your connected domains. Prevents listed domains from triggering a Spoof disposition.
- last
Modified This property is required. String - pattern
This property is required. String
Package Details
- Repository
- Cloudflare pulumi/pulumi-cloudflare
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cloudflare
Terraform Provider.