1. Packages
  2. Scaleway
  3. API Docs
  4. TemDomainValidation
Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse

scaleway.TemDomainValidation

Explore with Pulumi AI

scaleway logo
Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse

    Example Usage

    Basic

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const example = new scaleway.TemDomainValidation("example", {
        domainId: "your-domain-id",
        region: "fr-par",
        timeout: 300,
    });
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    example = scaleway.TemDomainValidation("example",
        domain_id="your-domain-id",
        region="fr-par",
        timeout=300)
    
    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.NewTemDomainValidation(ctx, "example", &scaleway.TemDomainValidationArgs{
    			DomainId: pulumi.String("your-domain-id"),
    			Region:   pulumi.String("fr-par"),
    			Timeout:  pulumi.Int(300),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Scaleway.TemDomainValidation("example", new()
        {
            DomainId = "your-domain-id",
            Region = "fr-par",
            Timeout = 300,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.TemDomainValidation;
    import com.pulumi.scaleway.TemDomainValidationArgs;
    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) {
            var example = new TemDomainValidation("example", TemDomainValidationArgs.builder()        
                .domainId("your-domain-id")
                .region("fr-par")
                .timeout(300)
                .build());
    
        }
    }
    
    resources:
      example:
        type: scaleway:TemDomainValidation
        properties:
          domainId: your-domain-id
          region: fr-par
          timeout: 300
    

    Create TemDomainValidation Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TemDomainValidation(name: string, args: TemDomainValidationArgs, opts?: CustomResourceOptions);
    @overload
    def TemDomainValidation(resource_name: str,
                            args: TemDomainValidationArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def TemDomainValidation(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            domain_id: Optional[str] = None,
                            region: Optional[str] = None,
                            timeout: Optional[int] = None)
    func NewTemDomainValidation(ctx *Context, name string, args TemDomainValidationArgs, opts ...ResourceOption) (*TemDomainValidation, error)
    public TemDomainValidation(string name, TemDomainValidationArgs args, CustomResourceOptions? opts = null)
    public TemDomainValidation(String name, TemDomainValidationArgs args)
    public TemDomainValidation(String name, TemDomainValidationArgs args, CustomResourceOptions options)
    
    type: scaleway:TemDomainValidation
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TemDomainValidationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TemDomainValidationArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TemDomainValidationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TemDomainValidationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TemDomainValidationArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var temDomainValidationResource = new Scaleway.TemDomainValidation("temDomainValidationResource", new()
    {
        DomainId = "string",
        Region = "string",
        Timeout = 0,
    });
    
    example, err := scaleway.NewTemDomainValidation(ctx, "temDomainValidationResource", &scaleway.TemDomainValidationArgs{
    	DomainId: pulumi.String("string"),
    	Region:   pulumi.String("string"),
    	Timeout:  pulumi.Int(0),
    })
    
    var temDomainValidationResource = new TemDomainValidation("temDomainValidationResource", TemDomainValidationArgs.builder()
        .domainId("string")
        .region("string")
        .timeout(0)
        .build());
    
    tem_domain_validation_resource = scaleway.TemDomainValidation("temDomainValidationResource",
        domain_id="string",
        region="string",
        timeout=0)
    
    const temDomainValidationResource = new scaleway.TemDomainValidation("temDomainValidationResource", {
        domainId: "string",
        region: "string",
        timeout: 0,
    });
    
    type: scaleway:TemDomainValidation
    properties:
        domainId: string
        region: string
        timeout: 0
    

    TemDomainValidation Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The TemDomainValidation resource accepts the following input properties:

    DomainId string
    The ID of the domain name used when sending emails. This ID must correspond to a domain already registered with Scaleway's Transactional Email service.
    Region string
    region). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
    Timeout int
    The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.
    DomainId string
    The ID of the domain name used when sending emails. This ID must correspond to a domain already registered with Scaleway's Transactional Email service.
    Region string
    region). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
    Timeout int
    The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.
    domainId String
    The ID of the domain name used when sending emails. This ID must correspond to a domain already registered with Scaleway's Transactional Email service.
    region String
    region). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
    timeout Integer
    The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.
    domainId string
    The ID of the domain name used when sending emails. This ID must correspond to a domain already registered with Scaleway's Transactional Email service.
    region string
    region). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
    timeout number
    The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.
    domain_id str
    The ID of the domain name used when sending emails. This ID must correspond to a domain already registered with Scaleway's Transactional Email service.
    region str
    region). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
    timeout int
    The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.
    domainId String
    The ID of the domain name used when sending emails. This ID must correspond to a domain already registered with Scaleway's Transactional Email service.
    region String
    region). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
    timeout Number
    The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TemDomainValidation resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Validated bool
    Indicates if the domain has been verified for email sending. This is computed after the creation or update of the domain validation resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Validated bool
    Indicates if the domain has been verified for email sending. This is computed after the creation or update of the domain validation resource.
    id String
    The provider-assigned unique ID for this managed resource.
    validated Boolean
    Indicates if the domain has been verified for email sending. This is computed after the creation or update of the domain validation resource.
    id string
    The provider-assigned unique ID for this managed resource.
    validated boolean
    Indicates if the domain has been verified for email sending. This is computed after the creation or update of the domain validation resource.
    id str
    The provider-assigned unique ID for this managed resource.
    validated bool
    Indicates if the domain has been verified for email sending. This is computed after the creation or update of the domain validation resource.
    id String
    The provider-assigned unique ID for this managed resource.
    validated Boolean
    Indicates if the domain has been verified for email sending. This is computed after the creation or update of the domain validation resource.

    Look up Existing TemDomainValidation Resource

    Get an existing TemDomainValidation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: TemDomainValidationState, opts?: CustomResourceOptions): TemDomainValidation
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            domain_id: Optional[str] = None,
            region: Optional[str] = None,
            timeout: Optional[int] = None,
            validated: Optional[bool] = None) -> TemDomainValidation
    func GetTemDomainValidation(ctx *Context, name string, id IDInput, state *TemDomainValidationState, opts ...ResourceOption) (*TemDomainValidation, error)
    public static TemDomainValidation Get(string name, Input<string> id, TemDomainValidationState? state, CustomResourceOptions? opts = null)
    public static TemDomainValidation get(String name, Output<String> id, TemDomainValidationState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DomainId string
    The ID of the domain name used when sending emails. This ID must correspond to a domain already registered with Scaleway's Transactional Email service.
    Region string
    region). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
    Timeout int
    The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.
    Validated bool
    Indicates if the domain has been verified for email sending. This is computed after the creation or update of the domain validation resource.
    DomainId string
    The ID of the domain name used when sending emails. This ID must correspond to a domain already registered with Scaleway's Transactional Email service.
    Region string
    region). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
    Timeout int
    The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.
    Validated bool
    Indicates if the domain has been verified for email sending. This is computed after the creation or update of the domain validation resource.
    domainId String
    The ID of the domain name used when sending emails. This ID must correspond to a domain already registered with Scaleway's Transactional Email service.
    region String
    region). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
    timeout Integer
    The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.
    validated Boolean
    Indicates if the domain has been verified for email sending. This is computed after the creation or update of the domain validation resource.
    domainId string
    The ID of the domain name used when sending emails. This ID must correspond to a domain already registered with Scaleway's Transactional Email service.
    region string
    region). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
    timeout number
    The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.
    validated boolean
    Indicates if the domain has been verified for email sending. This is computed after the creation or update of the domain validation resource.
    domain_id str
    The ID of the domain name used when sending emails. This ID must correspond to a domain already registered with Scaleway's Transactional Email service.
    region str
    region). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
    timeout int
    The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.
    validated bool
    Indicates if the domain has been verified for email sending. This is computed after the creation or update of the domain validation resource.
    domainId String
    The ID of the domain name used when sending emails. This ID must correspond to a domain already registered with Scaleway's Transactional Email service.
    region String
    region). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
    timeout Number
    The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.
    validated Boolean
    Indicates if the domain has been verified for email sending. This is computed after the creation or update of the domain validation resource.

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse