@pulumiverse/gandi
Version:
A Pulumi package for creating and managing gandi cloud resources.
108 lines (107 loc) • 4.2 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
export declare class Domain extends pulumi.CustomResource {
/**
* Get an existing Domain 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?: DomainState, opts?: pulumi.CustomResourceOptions): Domain;
/**
* Returns true if the given object is an instance of Domain. 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 Domain;
readonly admin: pulumi.Output<outputs.domains.DomainAdmin>;
/**
* Should the domain autorenew
*/
readonly autorenew: pulumi.Output<boolean | undefined>;
readonly billing: pulumi.Output<outputs.domains.DomainBilling>;
/**
* The FQDN of the domain
*/
readonly name: pulumi.Output<string>;
/**
* A list of nameservers for the domain
*
* @deprecated This nameservers attribute will be removed on next major release: the nameservers resource has to be used instead.
See https://github.com/go-gandi/terraform-provider-gandi/issues/88 for details.
*/
readonly nameservers: pulumi.Output<string[] | undefined>;
readonly owner: pulumi.Output<outputs.domains.DomainOwner>;
/**
* A list of tags attached to the domain
*/
readonly tags: pulumi.Output<string[] | undefined>;
readonly tech: pulumi.Output<outputs.domains.DomainTech>;
/**
* Create a Domain 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: DomainArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Domain resources.
*/
export interface DomainState {
admin?: pulumi.Input<inputs.domains.DomainAdmin>;
/**
* Should the domain autorenew
*/
autorenew?: pulumi.Input<boolean>;
billing?: pulumi.Input<inputs.domains.DomainBilling>;
/**
* The FQDN of the domain
*/
name?: pulumi.Input<string>;
/**
* A list of nameservers for the domain
*
* @deprecated This nameservers attribute will be removed on next major release: the nameservers resource has to be used instead.
See https://github.com/go-gandi/terraform-provider-gandi/issues/88 for details.
*/
nameservers?: pulumi.Input<pulumi.Input<string>[]>;
owner?: pulumi.Input<inputs.domains.DomainOwner>;
/**
* A list of tags attached to the domain
*/
tags?: pulumi.Input<pulumi.Input<string>[]>;
tech?: pulumi.Input<inputs.domains.DomainTech>;
}
/**
* The set of arguments for constructing a Domain resource.
*/
export interface DomainArgs {
admin?: pulumi.Input<inputs.domains.DomainAdmin>;
/**
* Should the domain autorenew
*/
autorenew?: pulumi.Input<boolean>;
billing?: pulumi.Input<inputs.domains.DomainBilling>;
/**
* The FQDN of the domain
*/
name?: pulumi.Input<string>;
/**
* A list of nameservers for the domain
*
* @deprecated This nameservers attribute will be removed on next major release: the nameservers resource has to be used instead.
See https://github.com/go-gandi/terraform-provider-gandi/issues/88 for details.
*/
nameservers?: pulumi.Input<pulumi.Input<string>[]>;
owner: pulumi.Input<inputs.domains.DomainOwner>;
/**
* A list of tags attached to the domain
*/
tags?: pulumi.Input<pulumi.Input<string>[]>;
tech?: pulumi.Input<inputs.domains.DomainTech>;
}