UNPKG

@pulumiverse/gandi

Version:

A Pulumi package for creating and managing gandi cloud resources.

117 lines (116 loc) 3.48 kB
import * as pulumi from "@pulumi/pulumi"; export declare class Record extends pulumi.CustomResource { /** * Get an existing Record 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?: RecordState, opts?: pulumi.CustomResourceOptions): Record; /** * Returns true if the given object is an instance of Record. 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 Record; /** * The href of the record */ readonly href: pulumi.Output<string>; /** * Define if the record can be modified outside Terraform (this currently only works for TXT records) */ readonly mutable: pulumi.Output<boolean | undefined>; /** * The name of the record */ readonly name: pulumi.Output<string>; /** * The TTL of the record */ readonly ttl: pulumi.Output<number>; /** * The type of the record */ readonly type: pulumi.Output<string>; /** * A list of values of the record */ readonly values: pulumi.Output<string[]>; /** * The FQDN of the domain */ readonly zone: pulumi.Output<string>; /** * Create a Record 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: RecordArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Record resources. */ export interface RecordState { /** * The href of the record */ href?: pulumi.Input<string>; /** * Define if the record can be modified outside Terraform (this currently only works for TXT records) */ mutable?: pulumi.Input<boolean>; /** * The name of the record */ name?: pulumi.Input<string>; /** * The TTL of the record */ ttl?: pulumi.Input<number>; /** * The type of the record */ type?: pulumi.Input<string>; /** * A list of values of the record */ values?: pulumi.Input<pulumi.Input<string>[]>; /** * The FQDN of the domain */ zone?: pulumi.Input<string>; } /** * The set of arguments for constructing a Record resource. */ export interface RecordArgs { /** * Define if the record can be modified outside Terraform (this currently only works for TXT records) */ mutable?: pulumi.Input<boolean>; /** * The name of the record */ name?: pulumi.Input<string>; /** * The TTL of the record */ ttl: pulumi.Input<number>; /** * The type of the record */ type: pulumi.Input<string>; /** * A list of values of the record */ values: pulumi.Input<pulumi.Input<string>[]>; /** * The FQDN of the domain */ zone: pulumi.Input<string>; }