UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

132 lines (131 loc) 4.12 kB
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:domain/zone:Zone test test.scaleway-terraform.com * ``` */ export declare class Zone extends pulumi.CustomResource { /** * Get an existing Zone 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?: ZoneState, opts?: pulumi.CustomResourceOptions): Zone; /** * Returns true if the given object is an instance of Zone. 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 Zone; /** * The main domain where the DNS zone will be created. */ readonly domain: pulumi.Output<string>; /** * Message. */ readonly message: pulumi.Output<string>; /** * The list of same servers for the zone. */ readonly ns: pulumi.Output<string[]>; /** * The default list of same servers for the zone. */ readonly nsDefaults: pulumi.Output<string[]>; /** * The master list of same servers for the zone. */ readonly nsMasters: pulumi.Output<string[]>; /** * `projectId`) The ID of the Project associated with the domain. */ readonly projectId: pulumi.Output<string>; /** * The status of the domain zone. */ readonly status: pulumi.Output<string>; /** * The name of the subdomain (zone name) to create within the domain. */ readonly subdomain: pulumi.Output<string>; /** * The date and time at which the DNS zone was last updated. */ readonly updatedAt: pulumi.Output<string>; /** * Create a Zone 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: ZoneArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Zone resources. */ export interface ZoneState { /** * The main domain where the DNS zone will be created. */ domain?: pulumi.Input<string>; /** * Message. */ message?: pulumi.Input<string>; /** * The list of same servers for the zone. */ ns?: pulumi.Input<pulumi.Input<string>[]>; /** * The default list of same servers for the zone. */ nsDefaults?: pulumi.Input<pulumi.Input<string>[]>; /** * The master list of same servers for the zone. */ nsMasters?: pulumi.Input<pulumi.Input<string>[]>; /** * `projectId`) The ID of the Project associated with the domain. */ projectId?: pulumi.Input<string>; /** * The status of the domain zone. */ status?: pulumi.Input<string>; /** * The name of the subdomain (zone name) to create within the domain. */ subdomain?: pulumi.Input<string>; /** * The date and time at which the DNS zone was last updated. */ updatedAt?: pulumi.Input<string>; } /** * The set of arguments for constructing a Zone resource. */ export interface ZoneArgs { /** * The main domain where the DNS zone will be created. */ domain: pulumi.Input<string>; /** * `projectId`) The ID of the Project associated with the domain. */ projectId?: pulumi.Input<string>; /** * The name of the subdomain (zone name) to create within the domain. */ subdomain: pulumi.Input<string>; }