UNPKG

@lbrlabs/pulumi-scaleway

Version:

A Pulumi package for creating and managing scaleway cloud resources.

96 lines (95 loc) 2.36 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets information about a domain zone. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const main = scaleway.getDomainZone({ * domain: "scaleway-terraform.com", * subdomain: "test", * }); * ``` */ export declare function getDomainZone(args?: GetDomainZoneArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainZoneResult>; /** * A collection of arguments for invoking getDomainZone. */ export interface GetDomainZoneArgs { /** * The domain where the DNS zone will be created. */ domain?: string; /** * The subdomain(zone name) to create in the domain. */ subdomain?: string; } /** * A collection of values returned by getDomainZone. */ export interface GetDomainZoneResult { readonly domain?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Message */ readonly message: string; /** * NameServer list for zone. */ readonly ns: string[]; /** * NameServer default list for zone. */ readonly nsDefaults: string[]; /** * NameServer master list for zone. */ readonly nsMasters: string[]; readonly projectId: string; /** * The domain zone status. */ readonly status: string; readonly subdomain?: string; /** * The date and time of the last update of the DNS zone. */ readonly updatedAt: string; } /** * Gets information about a domain zone. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as scaleway from "@pulumi/scaleway"; * * const main = scaleway.getDomainZone({ * domain: "scaleway-terraform.com", * subdomain: "test", * }); * ``` */ export declare function getDomainZoneOutput(args?: GetDomainZoneOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDomainZoneResult>; /** * A collection of arguments for invoking getDomainZone. */ export interface GetDomainZoneOutputArgs { /** * The domain where the DNS zone will be created. */ domain?: pulumi.Input<string>; /** * The subdomain(zone name) to create in the domain. */ subdomain?: pulumi.Input<string>; }