@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
104 lines (103 loc) • 4.62 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Example Usage
*
* ### Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* const main = new scaleway.tem.Domain("main", {
* acceptTos: true,
* name: "example.com",
* });
* const example = new scaleway.tem.DomainValidation("example", {
* domainId: main.id,
* region: "fr-par",
* timeout: 300,
* });
* ```
*
* @deprecated scaleway.index/temdomainvalidation.TemDomainValidation has been deprecated in favor of scaleway.tem/domainvalidation.DomainValidation
*/
export declare class TemDomainValidation extends pulumi.CustomResource {
/**
* Get an existing TemDomainValidation resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TemDomainValidationState, opts?: pulumi.CustomResourceOptions): TemDomainValidation;
/**
* Returns true if the given object is an instance of TemDomainValidation. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is TemDomainValidation;
/**
* 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.
*/
readonly domainId: pulumi.Output<string>;
/**
* `region`). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
*/
readonly region: pulumi.Output<string>;
/**
* The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.
*/
readonly timeout: pulumi.Output<number | undefined>;
/**
* Indicates if the domain has been verified for email sending. This is computed after the creation or update of the domain validation resource.
*/
readonly validated: pulumi.Output<boolean>;
/**
* Create a TemDomainValidation resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
/** @deprecated scaleway.index/temdomainvalidation.TemDomainValidation has been deprecated in favor of scaleway.tem/domainvalidation.DomainValidation */
constructor(name: string, args: TemDomainValidationArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering TemDomainValidation resources.
*/
export interface TemDomainValidationState {
/**
* 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.
*/
domainId?: pulumi.Input<string>;
/**
* `region`). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
*/
region?: pulumi.Input<string>;
/**
* The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.
*/
timeout?: pulumi.Input<number>;
/**
* Indicates if the domain has been verified for email sending. This is computed after the creation or update of the domain validation resource.
*/
validated?: pulumi.Input<boolean>;
}
/**
* The set of arguments for constructing a TemDomainValidation resource.
*/
export interface TemDomainValidationArgs {
/**
* 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.
*/
domainId: pulumi.Input<string>;
/**
* `region`). Specifies the region where the domain is registered. If not specified, it defaults to the provider's region.
*/
region?: pulumi.Input<string>;
/**
* The maximum wait time in seconds before returning an error if the domain validation does not complete. The default is 300 seconds.
*/
timeout?: pulumi.Input<number>;
}