@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
76 lines (75 loc) • 2.65 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/** @deprecated scaleway.index/getdomainzone.getDomainZone has been deprecated in favor of scaleway.domain/getzone.getZone */
export declare function getDomainZone(args?: GetDomainZoneArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainZoneResult>;
/**
* A collection of arguments for invoking getDomainZone.
*/
export interface GetDomainZoneArgs {
/**
* 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 getDomainZone.
*/
export interface GetDomainZoneResult {
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;
}
/** @deprecated scaleway.index/getdomainzone.getDomainZone has been deprecated in favor of scaleway.domain/getzone.getZone */
export declare function getDomainZoneOutput(args?: GetDomainZoneOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainZoneResult>;
/**
* A collection of arguments for invoking getDomainZone.
*/
export interface GetDomainZoneOutputArgs {
/**
* 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>;
}