1. Packages
  2. Scaleway
  3. API Docs
  4. getTemDomain
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

scaleway.getTemDomain

Explore with Pulumi AI

scaleway logo
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

    Gets information about a transactional email domain.

    Example Usage

    Coming soon!

    Coming soon!

    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()
                .id("11111111-1111-1111-1111-111111111111")
                .build());
    
        }
    }
    

    Coming soon!

    Coming soon!

    variables:
      myDomain:
        fn::invoke:
          Function: scaleway:getTemDomain
          Arguments:
            id: 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,
                       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,
                       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 dictionary

    The following arguments are supported:

    DomainId string
    Name string

    The domain name. Only one of name and id should be specified.

    Region string

    region) The region in which the domain exists.

    DomainId string
    Name string

    The domain name. Only one of name and id should be specified.

    Region string

    region) The region in which the domain exists.

    domainId String
    name String

    The domain name. Only one of name and id should be specified.

    region String

    region) The region in which the domain exists.

    domainId string
    name string

    The domain name. Only one of name and id should be specified.

    region string

    region) The region in which the domain exists.

    domain_id str
    name str

    The domain name. Only one of name and id should be specified.

    region str

    region) The region in which the domain exists.

    domainId String
    name String

    The domain name. Only one of name and id should be specified.

    region String

    region) The region in which the domain exists.

    getTemDomain Result

    The following output properties are available:

    AcceptTos bool
    CreatedAt string

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    DkimConfig string

    The DKIM public key, as should be recorded in the DNS zone.

    Id string

    The provider-assigned unique ID for this managed resource.

    LastError string

    The error message if the last check failed.

    LastValidAt string

    The date and time the domain was last found to be valid (RFC 3339 format).

    NextCheckAt string

    The date and time of the next scheduled check (RFC 3339 format).

    ProjectId string
    RevokedAt string

    The date and time of the revocation of the domain (RFC 3339 format).

    SmtpHost string

    The SMTP host to use to send emails.

    SmtpPort int

    The SMTP port to use to send emails over TLS.

    SmtpPortAlternative int

    The SMTP port to use to send emails over TLS.

    SmtpPortUnsecure int

    The SMTP port to use to send emails.

    SmtpsPort int

    The SMTPS port to use to send emails over TLS Wrapper.

    SmtpsPortAlternative int

    The SMTPS port to use to send emails over TLS Wrapper.

    SpfConfig string

    The snippet of the SPF record that should be registered in the DNS zone.

    Status string

    The status of the Transaction Email Domain.

    DomainId string
    Name string
    Region string
    AcceptTos bool
    CreatedAt string

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    DkimConfig string

    The DKIM public key, as should be recorded in the DNS zone.

    Id string

    The provider-assigned unique ID for this managed resource.

    LastError string

    The error message if the last check failed.

    LastValidAt string

    The date and time the domain was last found to be valid (RFC 3339 format).

    NextCheckAt string

    The date and time of the next scheduled check (RFC 3339 format).

    ProjectId string
    RevokedAt string

    The date and time of the revocation of the domain (RFC 3339 format).

    SmtpHost string

    The SMTP host to use to send emails.

    SmtpPort int

    The SMTP port to use to send emails over TLS.

    SmtpPortAlternative int

    The SMTP port to use to send emails over TLS.

    SmtpPortUnsecure int

    The SMTP port to use to send emails.

    SmtpsPort int

    The SMTPS port to use to send emails over TLS Wrapper.

    SmtpsPortAlternative int

    The SMTPS port to use to send emails over TLS Wrapper.

    SpfConfig string

    The snippet of the SPF record that should be registered in the DNS zone.

    Status string

    The status of the Transaction Email Domain.

    DomainId string
    Name string
    Region string
    acceptTos Boolean
    createdAt String

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    dkimConfig String

    The DKIM public key, as should be recorded in the DNS zone.

    id String

    The provider-assigned unique ID for this managed resource.

    lastError String

    The error message if the last check failed.

    lastValidAt String

    The date and time the domain was last found to be valid (RFC 3339 format).

    nextCheckAt String

    The date and time of the next scheduled check (RFC 3339 format).

    projectId String
    revokedAt String

    The date and time of the revocation of the domain (RFC 3339 format).

    smtpHost String

    The SMTP host to use to send emails.

    smtpPort Integer

    The SMTP port to use to send emails over TLS.

    smtpPortAlternative Integer

    The SMTP port to use to send emails over TLS.

    smtpPortUnsecure Integer

    The SMTP port to use to send emails.

    smtpsPort Integer

    The SMTPS port to use to send emails over TLS Wrapper.

    smtpsPortAlternative Integer

    The SMTPS port to use to send emails over TLS Wrapper.

    spfConfig String

    The snippet of the SPF record that should be registered in the DNS zone.

    status String

    The status of the Transaction Email Domain.

    domainId String
    name String
    region String
    acceptTos boolean
    createdAt string

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    dkimConfig string

    The DKIM public key, as should be recorded in the DNS zone.

    id string

    The provider-assigned unique ID for this managed resource.

    lastError string

    The error message if the last check failed.

    lastValidAt string

    The date and time the domain was last found to be valid (RFC 3339 format).

    nextCheckAt string

    The date and time of the next scheduled check (RFC 3339 format).

    projectId string
    revokedAt string

    The date and time of the revocation of the domain (RFC 3339 format).

    smtpHost string

    The SMTP host to use to send emails.

    smtpPort number

    The SMTP port to use to send emails over TLS.

    smtpPortAlternative number

    The SMTP port to use to send emails over TLS.

    smtpPortUnsecure number

    The SMTP port to use to send emails.

    smtpsPort number

    The SMTPS port to use to send emails over TLS Wrapper.

    smtpsPortAlternative number

    The SMTPS port to use to send emails over TLS Wrapper.

    spfConfig string

    The snippet of the SPF record that should be registered in the DNS zone.

    status string

    The status of the Transaction Email Domain.

    domainId string
    name string
    region string
    accept_tos bool
    created_at str

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    dkim_config str

    The DKIM public key, as should be recorded in the DNS zone.

    id str

    The provider-assigned unique ID for this managed resource.

    last_error str

    The error message if the last check failed.

    last_valid_at str

    The date and time the domain was last found to be valid (RFC 3339 format).

    next_check_at str

    The date and time of the next scheduled check (RFC 3339 format).

    project_id str
    revoked_at str

    The date and time of the revocation of the domain (RFC 3339 format).

    smtp_host str

    The SMTP host to use to send emails.

    smtp_port int

    The SMTP port to use to send emails over TLS.

    smtp_port_alternative int

    The SMTP port to use to send emails over TLS.

    smtp_port_unsecure int

    The SMTP port to use to send emails.

    smtps_port int

    The SMTPS port to use to send emails over TLS Wrapper.

    smtps_port_alternative int

    The SMTPS port to use to send emails over TLS Wrapper.

    spf_config str

    The snippet of the SPF record that should be registered in the DNS zone.

    status str

    The status of the Transaction Email Domain.

    domain_id str
    name str
    region str
    acceptTos Boolean
    createdAt String

    The date and time of the Transaction Email Domain's creation (RFC 3339 format).

    dkimConfig String

    The DKIM public key, as should be recorded in the DNS zone.

    id String

    The provider-assigned unique ID for this managed resource.

    lastError String

    The error message if the last check failed.

    lastValidAt String

    The date and time the domain was last found to be valid (RFC 3339 format).

    nextCheckAt String

    The date and time of the next scheduled check (RFC 3339 format).

    projectId String
    revokedAt String

    The date and time of the revocation of the domain (RFC 3339 format).

    smtpHost String

    The SMTP host to use to send emails.

    smtpPort Number

    The SMTP port to use to send emails over TLS.

    smtpPortAlternative Number

    The SMTP port to use to send emails over TLS.

    smtpPortUnsecure Number

    The SMTP port to use to send emails.

    smtpsPort Number

    The SMTPS port to use to send emails over TLS Wrapper.

    smtpsPortAlternative Number

    The SMTPS port to use to send emails over TLS Wrapper.

    spfConfig String

    The snippet of the SPF record that should be registered in the DNS zone.

    status String

    The status of the Transaction Email Domain.

    domainId String
    name String
    region String

    Package Details

    Repository
    scaleway lbrlabs/pulumi-scaleway
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the scaleway Terraform Provider.

    scaleway logo
    Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs