UNPKG

@pulumiverse/scaleway

Version:

A Pulumi package for creating and managing Scaleway cloud resources.

74 lines (73 loc) 2.33 kB
import * as pulumi from "@pulumi/pulumi"; export declare function getZone(args?: GetZoneArgs, opts?: pulumi.InvokeOptions): Promise<GetZoneResult>; /** * A collection of arguments for invoking getZone. */ export interface GetZoneArgs { /** * The primary domain name where the DNS zone is located. This is a mandatory field. */ domain?: string; /** * ). The ID of the Scaleway Project associated with the domain. If not specified, it defaults to the `projectId` set in the provider configuration. */ projectId?: string; /** * The subdomain (or zone name) within the primary domain. This is a mandatory field. */ subdomain?: string; } /** * A collection of values returned by getZone. */ export interface GetZoneResult { readonly domain?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Message associated with the domain zone (typically used for status or error messages). */ readonly message: string; /** * The list of name servers for the zone. */ readonly ns: string[]; /** * The default list of name servers for the zone. */ readonly nsDefaults: string[]; /** * The master list of name servers for the zone. */ readonly nsMasters: string[]; readonly projectId?: string; /** * The status of the domain zone. */ readonly status: string; readonly subdomain?: string; /** * The date and time of the last update to the DNS zone. */ readonly updatedAt: string; } export declare function getZoneOutput(args?: GetZoneOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetZoneResult>; /** * A collection of arguments for invoking getZone. */ export interface GetZoneOutputArgs { /** * The primary domain name where the DNS zone is located. This is a mandatory field. */ domain?: pulumi.Input<string>; /** * ). The ID of the Scaleway Project associated with the domain. If not specified, it defaults to the `projectId` set in the provider configuration. */ projectId?: pulumi.Input<string>; /** * The subdomain (or zone name) within the primary domain. This is a mandatory field. */ subdomain?: pulumi.Input<string>; }