Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse
scaleway.getTemDomain
Explore with Pulumi AI
Gets information about a transactional email domain.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumi/scaleway";
const myDomain = scaleway.getTemDomain({
    domainId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumi_scaleway as scaleway
my_domain = scaleway.get_tem_domain(domain_id="11111111-1111-1111-1111-111111111111")
package main
import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := scaleway.LookupTemDomain(ctx, &scaleway.LookupTemDomainArgs{
			DomainId: pulumi.StringRef("11111111-1111-1111-1111-111111111111"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumi.Scaleway;
return await Deployment.RunAsync(() => 
{
    var myDomain = Scaleway.GetTemDomain.Invoke(new()
    {
        DomainId = "11111111-1111-1111-1111-111111111111",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.ScalewayFunctions;
import com.pulumi.scaleway.inputs.GetTemDomainArgs;
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 myDomain = ScalewayFunctions.getTemDomain(GetTemDomainArgs.builder()
            .domainId("11111111-1111-1111-1111-111111111111")
            .build());
    }
}
variables:
  myDomain:
    fn::invoke:
      Function: scaleway:getTemDomain
      Arguments:
        domainId: 11111111-1111-1111-1111-111111111111
Using getTemDomain
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 getTemDomain(args: GetTemDomainArgs, opts?: InvokeOptions): Promise<GetTemDomainResult>
function getTemDomainOutput(args: GetTemDomainOutputArgs, opts?: InvokeOptions): Output<GetTemDomainResult>def get_tem_domain(domain_id: Optional[str] = None,
                   name: Optional[str] = None,
                   project_id: Optional[str] = None,
                   region: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetTemDomainResult
def get_tem_domain_output(domain_id: Optional[pulumi.Input[str]] = None,
                   name: Optional[pulumi.Input[str]] = None,
                   project_id: Optional[pulumi.Input[str]] = None,
                   region: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetTemDomainResult]func LookupTemDomain(ctx *Context, args *LookupTemDomainArgs, opts ...InvokeOption) (*LookupTemDomainResult, error)
func LookupTemDomainOutput(ctx *Context, args *LookupTemDomainOutputArgs, opts ...InvokeOption) LookupTemDomainResultOutput> Note: This function is named LookupTemDomain in the Go SDK.
public static class GetTemDomain 
{
    public static Task<GetTemDomainResult> InvokeAsync(GetTemDomainArgs args, InvokeOptions? opts = null)
    public static Output<GetTemDomainResult> Invoke(GetTemDomainInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTemDomainResult> getTemDomain(GetTemDomainArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: scaleway:index/getTemDomain:getTemDomain
  arguments:
    # arguments dictionaryThe following arguments are supported:
- domain_
id str - The domain id.
Only one of 
nameanddomain_idshould be specified. - name str
 - The domain name.
Only one of 
nameanddomain_idshould be specified. - project_
id str project_id) The ID of the project the domain is associated with.- region str
 region) The region in which the domain exists.
getTemDomain Result
The following output properties are available:
- Accept
Tos bool - Created
At string - Dkim
Config string - Dmarc
Config string - Dmarc
Name string - Id string
 - The provider-assigned unique ID for this managed resource.
 - Last
Error string - Last
Valid stringAt  - Mx
Blackhole string - Next
Check stringAt  - Reputations
List<Pulumiverse.
Scaleway. Outputs. Get Tem Domain Reputation>  - Revoked
At string - Smtp
Host string - Smtp
Port int - Smtp
Port intAlternative  - Smtp
Port intUnsecure  - Smtps
Auth stringUser  - Smtps
Port int - Smtps
Port intAlternative  - Spf
Config string - Status string
 - Domain
Id string - Name string
 - Project
Id string - Region string
 
- Accept
Tos bool - Created
At string - Dkim
Config string - Dmarc
Config string - Dmarc
Name string - Id string
 - The provider-assigned unique ID for this managed resource.
 - Last
Error string - Last
Valid stringAt  - Mx
Blackhole string - Next
Check stringAt  - Reputations
[]Get
Tem Domain Reputation  - Revoked
At string - Smtp
Host string - Smtp
Port int - Smtp
Port intAlternative  - Smtp
Port intUnsecure  - Smtps
Auth stringUser  - Smtps
Port int - Smtps
Port intAlternative  - Spf
Config string - Status string
 - Domain
Id string - Name string
 - Project
Id string - Region string
 
- accept
Tos Boolean - created
At String - dkim
Config String - dmarc
Config String - dmarc
Name String - id String
 - The provider-assigned unique ID for this managed resource.
 - last
Error String - last
Valid StringAt  - mx
Blackhole String - next
Check StringAt  - reputations
List<Get
Tem Domain Reputation>  - revoked
At String - smtp
Host String - smtp
Port Integer - smtp
Port IntegerAlternative  - smtp
Port IntegerUnsecure  - smtps
Auth StringUser  - smtps
Port Integer - smtps
Port IntegerAlternative  - spf
Config String - status String
 - domain
Id String - name String
 - project
Id String - region String
 
- accept
Tos boolean - created
At string - dkim
Config string - dmarc
Config string - dmarc
Name string - id string
 - The provider-assigned unique ID for this managed resource.
 - last
Error string - last
Valid stringAt  - mx
Blackhole string - next
Check stringAt  - reputations
Get
Tem Domain Reputation[]  - revoked
At string - smtp
Host string - smtp
Port number - smtp
Port numberAlternative  - smtp
Port numberUnsecure  - smtps
Auth stringUser  - smtps
Port number - smtps
Port numberAlternative  - spf
Config string - status string
 - domain
Id string - name string
 - project
Id string - region string
 
- accept_
tos bool - created_
at str - dkim_
config str - dmarc_
config str - dmarc_
name str - id str
 - The provider-assigned unique ID for this managed resource.
 - last_
error str - last_
valid_ strat  - mx_
blackhole str - next_
check_ strat  - reputations
Sequence[Get
Tem Domain Reputation]  - revoked_
at str - smtp_
host str - smtp_
port int - smtp_
port_ intalternative  - smtp_
port_ intunsecure  - smtps_
auth_ struser  - smtps_
port int - smtps_
port_ intalternative  - spf_
config str - status str
 - domain_
id str - name str
 - project_
id str - region str
 
- accept
Tos Boolean - created
At String - dkim
Config String - dmarc
Config String - dmarc
Name String - id String
 - The provider-assigned unique ID for this managed resource.
 - last
Error String - last
Valid StringAt  - mx
Blackhole String - next
Check StringAt  - reputations List<Property Map>
 - revoked
At String - smtp
Host String - smtp
Port Number - smtp
Port NumberAlternative  - smtp
Port NumberUnsecure  - smtps
Auth StringUser  - smtps
Port Number - smtps
Port NumberAlternative  - spf
Config String - status String
 - domain
Id String - name String
 - project
Id String - region String
 
Supporting Types
GetTemDomainReputation   
- Previous
Score int - The previously-calculated domain's reputation score
 - Previous
Scored stringAt  - Time and date the previous reputation score was calculated
 - Score int
 - A range from 0 to 100 that determines your domain's reputation score
 - Scored
At string - Time and date the score was calculated
 - Status string
 - Status of the domain's reputation
 
- Previous
Score int - The previously-calculated domain's reputation score
 - Previous
Scored stringAt  - Time and date the previous reputation score was calculated
 - Score int
 - A range from 0 to 100 that determines your domain's reputation score
 - Scored
At string - Time and date the score was calculated
 - Status string
 - Status of the domain's reputation
 
- previous
Score Integer - The previously-calculated domain's reputation score
 - previous
Scored StringAt  - Time and date the previous reputation score was calculated
 - score Integer
 - A range from 0 to 100 that determines your domain's reputation score
 - scored
At String - Time and date the score was calculated
 - status String
 - Status of the domain's reputation
 
- previous
Score number - The previously-calculated domain's reputation score
 - previous
Scored stringAt  - Time and date the previous reputation score was calculated
 - score number
 - A range from 0 to 100 that determines your domain's reputation score
 - scored
At string - Time and date the score was calculated
 - status string
 - Status of the domain's reputation
 
- previous_
score int - The previously-calculated domain's reputation score
 - previous_
scored_ strat  - Time and date the previous reputation score was calculated
 - score int
 - A range from 0 to 100 that determines your domain's reputation score
 - scored_
at str - Time and date the score was calculated
 - status str
 - Status of the domain's reputation
 
- previous
Score Number - The previously-calculated domain's reputation score
 - previous
Scored StringAt  - Time and date the previous reputation score was calculated
 - score Number
 - A range from 0 to 100 that determines your domain's reputation score
 - scored
At String - Time and date the score was calculated
 - status String
 - Status of the domain's reputation
 
Package Details
- Repository
 - scaleway pulumiverse/pulumi-scaleway
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
scalewayTerraform Provider.