@lbrlabs/pulumi-scaleway
Version:
A Pulumi package for creating and managing scaleway cloud resources.
145 lines (144 loc) • 4.47 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Creates and manages Scaleway Domain zone.\
* For more information, see [the documentation](https://www.scaleway.com/en/docs/network/domains-and-dns/how-to/configure-dns-zones/).
*
* ## Examples
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@lbrlabs/pulumi-scaleway";
*
* const test = new scaleway.DomainZone("test", {
* domain: "scaleway-terraform.com",
* subdomain: "test",
* });
* ```
*
* ## Import
*
* Zone can be imported using the `{subdomain}.{domain}`, e.g. 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<pulumi.ID>, 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 domain where the DNS zone will be created.
*/
readonly domain: pulumi.Output<string>;
/**
* Message
*/
readonly message: pulumi.Output<string>;
/**
* NameServer list for zone.
*/
readonly ns: pulumi.Output<string[]>;
/**
* NameServer default list for zone.
*/
readonly nsDefaults: pulumi.Output<string[]>;
/**
* NameServer master list for zone.
*/
readonly nsMasters: pulumi.Output<string[]>;
/**
* `projectId`) The ID of the project the domain is associated with.
*/
readonly projectId: pulumi.Output<string>;
/**
* The domain zone status.
*/
readonly status: pulumi.Output<string>;
/**
* The subdomain(zone name) to create in the domain.
*/
readonly subdomain: pulumi.Output<string>;
/**
* The date and time of the last update of the DNS zone.
*/
readonly updatedAt: pulumi.Output<string>;
/**
* 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 domain where the DNS zone will be created.
*/
domain?: pulumi.Input<string>;
/**
* Message
*/
message?: pulumi.Input<string>;
/**
* NameServer list for zone.
*/
ns?: pulumi.Input<pulumi.Input<string>[]>;
/**
* NameServer default list for zone.
*/
nsDefaults?: pulumi.Input<pulumi.Input<string>[]>;
/**
* NameServer master list for zone.
*/
nsMasters?: pulumi.Input<pulumi.Input<string>[]>;
/**
* `projectId`) The ID of the project the domain is associated with.
*/
projectId?: pulumi.Input<string>;
/**
* The domain zone status.
*/
status?: pulumi.Input<string>;
/**
* The subdomain(zone name) to create in the domain.
*/
subdomain?: pulumi.Input<string>;
/**
* The date and time of the last update of the DNS zone.
*/
updatedAt?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a DomainZone resource.
*/
export interface DomainZoneArgs {
/**
* The domain where the DNS zone will be created.
*/
domain: pulumi.Input<string>;
/**
* `projectId`) The ID of the project the domain is associated with.
*/
projectId?: pulumi.Input<string>;
/**
* The subdomain(zone name) to create in the domain.
*/
subdomain: pulumi.Input<string>;
}