import * as pulumi from "@pulumi/pulumi"; /** * ## Import * * This section explains how to import a zone using the `{subdomain}.{domain}` format. * * bash * * ```sh * $ pulumi import scaleway:index/domainZone:DomainZone test test.scaleway-terraform.com * ``` */ export declare class DomainZone extends pulumi.CustomResource { /** * Get an existing DomainZone 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, state?: DomainZoneState, opts?: pulumi.CustomResourceOptions): DomainZone; /** * Returns true if the given object is an instance of DomainZone. 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 DomainZone; /** * The main domain where the DNS zone will be created. */ readonly domain: pulumi.Output; /** * Message. */ readonly message: pulumi.Output; /** * The list of same servers for the zone. */ readonly ns: pulumi.Output; /** * The default list of same servers for the zone. */ readonly nsDefaults: pulumi.Output; /** * The master list of same servers for the zone. */ readonly nsMasters: pulumi.Output; /** * `projectId`) The ID of the Project associated with the domain. */ readonly projectId: pulumi.Output; /** * The status of the domain zone. */ readonly status: pulumi.Output; /** * The name of the subdomain (zone name) to create within the domain. */ readonly subdomain: pulumi.Output; /** * The date and time at which the DNS zone was last updated. */ readonly updatedAt: pulumi.Output; /** * Create a DomainZone 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. */ constructor(name: string, args: DomainZoneArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DomainZone resources. */ export interface DomainZoneState { /** * The main domain where the DNS zone will be created. */ domain?: pulumi.Input; /** * Message. */ message?: pulumi.Input; /** * The list of same servers for the zone. */ ns?: pulumi.Input[]>; /** * The default list of same servers for the zone. */ nsDefaults?: pulumi.Input[]>; /** * The master list of same servers for the zone. */ nsMasters?: pulumi.Input[]>; /** * `projectId`) The ID of the Project associated with the domain. */ projectId?: pulumi.Input; /** * The status of the domain zone. */ status?: pulumi.Input; /** * The name of the subdomain (zone name) to create within the domain. */ subdomain?: pulumi.Input; /** * The date and time at which the DNS zone was last updated. */ updatedAt?: pulumi.Input; } /** * The set of arguments for constructing a DomainZone resource. */ export interface DomainZoneArgs { /** * The main domain where the DNS zone will be created. */ domain: pulumi.Input; /** * `projectId`) The ID of the Project associated with the domain. */ projectId?: pulumi.Input; /** * The name of the subdomain (zone name) to create within the domain. */ subdomain: pulumi.Input; }