@pulumiverse/gandi 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +407 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +16 -0
- package/config/vars.js +31 -0
- package/config/vars.js.map +1 -0
- package/domains/dnssecKey.d.ts +84 -0
- package/domains/dnssecKey.js +67 -0
- package/domains/dnssecKey.js.map +1 -0
- package/domains/domain.d.ts +94 -0
- package/domains/domain.js +64 -0
- package/domains/domain.js.map +1 -0
- package/domains/getDomain.d.ts +38 -0
- package/domains/getDomain.js +22 -0
- package/domains/getDomain.js.map +1 -0
- package/domains/getGlueRecord.d.ts +50 -0
- package/domains/getGlueRecord.js +23 -0
- package/domains/getGlueRecord.js.map +1 -0
- package/domains/glueRecord.d.ts +96 -0
- package/domains/glueRecord.js +65 -0
- package/domains/glueRecord.js.map +1 -0
- package/domains/index.d.ts +6 -0
- package/domains/index.js +54 -0
- package/domains/index.js.map +1 -0
- package/domains/nameservers.d.ts +60 -0
- package/domains/nameservers.js +54 -0
- package/domains/nameservers.js.map +1 -0
- package/email/forwarding.d.ts +60 -0
- package/email/forwarding.js +57 -0
- package/email/forwarding.js.map +1 -0
- package/email/getMailbox.d.ts +46 -0
- package/email/getMailbox.js +23 -0
- package/email/getMailbox.js.map +1 -0
- package/email/index.d.ts +3 -0
- package/email/index.js +43 -0
- package/email/index.js.map +1 -0
- package/email/mailbox.d.ts +96 -0
- package/email/mailbox.js +66 -0
- package/email/mailbox.js.map +1 -0
- package/index.d.ts +8 -0
- package/index.js +47 -0
- package/index.js.map +1 -0
- package/livedns/domain.d.ts +81 -0
- package/livedns/domain.js +53 -0
- package/livedns/domain.js.map +1 -0
- package/livedns/getDomain.d.ts +34 -0
- package/livedns/getDomain.js +22 -0
- package/livedns/getDomain.js.map +1 -0
- package/livedns/getDomainNameserver.d.ts +38 -0
- package/livedns/getDomainNameserver.js +22 -0
- package/livedns/getDomainNameserver.js.map +1 -0
- package/livedns/index.d.ts +4 -0
- package/livedns/index.js +44 -0
- package/livedns/index.js.map +1 -0
- package/livedns/record.d.ts +116 -0
- package/livedns/record.js +73 -0
- package/livedns/record.js.map +1 -0
- package/package.json +30 -0
- package/package.json.bak +30 -0
- package/provider.d.ts +55 -0
- package/provider.js +51 -0
- package/provider.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +26 -0
- package/simplehosting/index.d.ts +2 -0
- package/simplehosting/index.js +42 -0
- package/simplehosting/index.js.map +1 -0
- package/simplehosting/instance.d.ts +96 -0
- package/simplehosting/instance.js +69 -0
- package/simplehosting/instance.js.map +1 -0
- package/simplehosting/vhost.d.ts +92 -0
- package/simplehosting/vhost.js +63 -0
- package/simplehosting/vhost.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +243 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +242 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +57 -0
- package/utilities.js.map +1 -0
package/config/vars.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
const pulumi = require("@pulumi/pulumi");
|
|
6
|
+
const __config = new pulumi.Config("gandi");
|
|
7
|
+
Object.defineProperty(exports, "dryRun", {
|
|
8
|
+
get() {
|
|
9
|
+
return __config.getObject("dryRun");
|
|
10
|
+
},
|
|
11
|
+
enumerable: true,
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "key", {
|
|
14
|
+
get() {
|
|
15
|
+
return __config.get("key");
|
|
16
|
+
},
|
|
17
|
+
enumerable: true,
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "sharingId", {
|
|
20
|
+
get() {
|
|
21
|
+
return __config.get("sharingId");
|
|
22
|
+
},
|
|
23
|
+
enumerable: true,
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "url", {
|
|
26
|
+
get() {
|
|
27
|
+
return __config.get("url");
|
|
28
|
+
},
|
|
29
|
+
enumerable: true,
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=vars.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAM5C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,EAAE;IACrC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,QAAQ,CAAC,CAAC;IACjD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,EAAE;IAClC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACrC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,KAAK,EAAE;IAClC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC/B,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class DNSSecKey extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing DNSSecKey resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DNSSecKeyState, opts?: pulumi.CustomResourceOptions): DNSSecKey;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of DNSSecKey. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is DNSSecKey;
|
|
18
|
+
/**
|
|
19
|
+
* DNSSEC algorithm type
|
|
20
|
+
*/
|
|
21
|
+
readonly algorithm: pulumi.Output<number>;
|
|
22
|
+
/**
|
|
23
|
+
* Domain name
|
|
24
|
+
*/
|
|
25
|
+
readonly domain: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* DNSSEC public key
|
|
28
|
+
*/
|
|
29
|
+
readonly publicKey: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* DNSSEC key type
|
|
32
|
+
*/
|
|
33
|
+
readonly type: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* Create a DNSSecKey resource with the given unique name, arguments, and options.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resource.
|
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
40
|
+
*/
|
|
41
|
+
constructor(name: string, args: DNSSecKeyArgs, opts?: pulumi.CustomResourceOptions);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Input properties used for looking up and filtering DNSSecKey resources.
|
|
45
|
+
*/
|
|
46
|
+
export interface DNSSecKeyState {
|
|
47
|
+
/**
|
|
48
|
+
* DNSSEC algorithm type
|
|
49
|
+
*/
|
|
50
|
+
algorithm?: pulumi.Input<number>;
|
|
51
|
+
/**
|
|
52
|
+
* Domain name
|
|
53
|
+
*/
|
|
54
|
+
domain?: pulumi.Input<string>;
|
|
55
|
+
/**
|
|
56
|
+
* DNSSEC public key
|
|
57
|
+
*/
|
|
58
|
+
publicKey?: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* DNSSEC key type
|
|
61
|
+
*/
|
|
62
|
+
type?: pulumi.Input<string>;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* The set of arguments for constructing a DNSSecKey resource.
|
|
66
|
+
*/
|
|
67
|
+
export interface DNSSecKeyArgs {
|
|
68
|
+
/**
|
|
69
|
+
* DNSSEC algorithm type
|
|
70
|
+
*/
|
|
71
|
+
algorithm: pulumi.Input<number>;
|
|
72
|
+
/**
|
|
73
|
+
* Domain name
|
|
74
|
+
*/
|
|
75
|
+
domain: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* DNSSEC public key
|
|
78
|
+
*/
|
|
79
|
+
publicKey: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* DNSSEC key type
|
|
82
|
+
*/
|
|
83
|
+
type: pulumi.Input<string>;
|
|
84
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.DNSSecKey = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class DNSSecKey extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["algorithm"] = state ? state.algorithm : undefined;
|
|
15
|
+
resourceInputs["domain"] = state ? state.domain : undefined;
|
|
16
|
+
resourceInputs["publicKey"] = state ? state.publicKey : undefined;
|
|
17
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
const args = argsOrState;
|
|
21
|
+
if ((!args || args.algorithm === undefined) && !opts.urn) {
|
|
22
|
+
throw new Error("Missing required property 'algorithm'");
|
|
23
|
+
}
|
|
24
|
+
if ((!args || args.domain === undefined) && !opts.urn) {
|
|
25
|
+
throw new Error("Missing required property 'domain'");
|
|
26
|
+
}
|
|
27
|
+
if ((!args || args.publicKey === undefined) && !opts.urn) {
|
|
28
|
+
throw new Error("Missing required property 'publicKey'");
|
|
29
|
+
}
|
|
30
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
31
|
+
throw new Error("Missing required property 'type'");
|
|
32
|
+
}
|
|
33
|
+
resourceInputs["algorithm"] = args ? args.algorithm : undefined;
|
|
34
|
+
resourceInputs["domain"] = args ? args.domain : undefined;
|
|
35
|
+
resourceInputs["publicKey"] = args ? args.publicKey : undefined;
|
|
36
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
37
|
+
}
|
|
38
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
39
|
+
super(DNSSecKey.__pulumiType, name, resourceInputs, opts);
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing DNSSecKey resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name, id, state, opts) {
|
|
51
|
+
return new DNSSecKey(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of DNSSecKey. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj) {
|
|
58
|
+
if (obj === undefined || obj === null) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return obj['__pulumiType'] === DNSSecKey.__pulumiType;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
exports.DNSSecKey = DNSSecKey;
|
|
65
|
+
/** @internal */
|
|
66
|
+
DNSSecKey.__pulumiType = 'gandi:domains/dNSSecKey:DNSSecKey';
|
|
67
|
+
//# sourceMappingURL=dnssecKey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dnssecKey.js","sourceRoot":"","sources":["../../domains/dnssecKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAqDhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS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,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;IAlFD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BAoFC;AAtEG,gBAAgB;AACO,sBAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
export declare class Domain extends pulumi.CustomResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get an existing Domain resource's state with the given name, ID, and optional extra
|
|
6
|
+
* properties used to qualify the lookup.
|
|
7
|
+
*
|
|
8
|
+
* @param name The _unique_ name of the resulting resource.
|
|
9
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
10
|
+
* @param state Any extra arguments used during the lookup.
|
|
11
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
12
|
+
*/
|
|
13
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainState, opts?: pulumi.CustomResourceOptions): Domain;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of Domain. This is designed to work even
|
|
16
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
17
|
+
*/
|
|
18
|
+
static isInstance(obj: any): obj is Domain;
|
|
19
|
+
readonly admin: pulumi.Output<outputs.domains.DomainAdmin>;
|
|
20
|
+
/**
|
|
21
|
+
* Should the domain autorenew
|
|
22
|
+
*/
|
|
23
|
+
readonly autorenew: pulumi.Output<boolean | undefined>;
|
|
24
|
+
readonly billing: pulumi.Output<outputs.domains.DomainBilling>;
|
|
25
|
+
/**
|
|
26
|
+
* The FQDN of the domain
|
|
27
|
+
*/
|
|
28
|
+
readonly name: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* A list of nameservers for the domain
|
|
31
|
+
*
|
|
32
|
+
* @deprecated This nameservers attribute will be removed on next major release: the nameservers resource has to be used instead.
|
|
33
|
+
See https://github.com/go-gandi/terraform-provider-gandi/issues/88 for details.
|
|
34
|
+
*/
|
|
35
|
+
readonly nameservers: pulumi.Output<string[] | undefined>;
|
|
36
|
+
readonly owner: pulumi.Output<outputs.domains.DomainOwner>;
|
|
37
|
+
readonly tech: pulumi.Output<outputs.domains.DomainTech>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a Domain resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name: string, args: DomainArgs, opts?: pulumi.CustomResourceOptions);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Input properties used for looking up and filtering Domain resources.
|
|
49
|
+
*/
|
|
50
|
+
export interface DomainState {
|
|
51
|
+
admin?: pulumi.Input<inputs.domains.DomainAdmin>;
|
|
52
|
+
/**
|
|
53
|
+
* Should the domain autorenew
|
|
54
|
+
*/
|
|
55
|
+
autorenew?: pulumi.Input<boolean>;
|
|
56
|
+
billing?: pulumi.Input<inputs.domains.DomainBilling>;
|
|
57
|
+
/**
|
|
58
|
+
* The FQDN of the domain
|
|
59
|
+
*/
|
|
60
|
+
name?: pulumi.Input<string>;
|
|
61
|
+
/**
|
|
62
|
+
* A list of nameservers for the domain
|
|
63
|
+
*
|
|
64
|
+
* @deprecated This nameservers attribute will be removed on next major release: the nameservers resource has to be used instead.
|
|
65
|
+
See https://github.com/go-gandi/terraform-provider-gandi/issues/88 for details.
|
|
66
|
+
*/
|
|
67
|
+
nameservers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
68
|
+
owner?: pulumi.Input<inputs.domains.DomainOwner>;
|
|
69
|
+
tech?: pulumi.Input<inputs.domains.DomainTech>;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The set of arguments for constructing a Domain resource.
|
|
73
|
+
*/
|
|
74
|
+
export interface DomainArgs {
|
|
75
|
+
admin?: pulumi.Input<inputs.domains.DomainAdmin>;
|
|
76
|
+
/**
|
|
77
|
+
* Should the domain autorenew
|
|
78
|
+
*/
|
|
79
|
+
autorenew?: pulumi.Input<boolean>;
|
|
80
|
+
billing?: pulumi.Input<inputs.domains.DomainBilling>;
|
|
81
|
+
/**
|
|
82
|
+
* The FQDN of the domain
|
|
83
|
+
*/
|
|
84
|
+
name?: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* A list of nameservers for the domain
|
|
87
|
+
*
|
|
88
|
+
* @deprecated This nameservers attribute will be removed on next major release: the nameservers resource has to be used instead.
|
|
89
|
+
See https://github.com/go-gandi/terraform-provider-gandi/issues/88 for details.
|
|
90
|
+
*/
|
|
91
|
+
nameservers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
92
|
+
owner: pulumi.Input<inputs.domains.DomainOwner>;
|
|
93
|
+
tech?: pulumi.Input<inputs.domains.DomainTech>;
|
|
94
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Domain = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class Domain extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["admin"] = state ? state.admin : undefined;
|
|
15
|
+
resourceInputs["autorenew"] = state ? state.autorenew : undefined;
|
|
16
|
+
resourceInputs["billing"] = state ? state.billing : undefined;
|
|
17
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
18
|
+
resourceInputs["nameservers"] = state ? state.nameservers : undefined;
|
|
19
|
+
resourceInputs["owner"] = state ? state.owner : undefined;
|
|
20
|
+
resourceInputs["tech"] = state ? state.tech : undefined;
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
const args = argsOrState;
|
|
24
|
+
if ((!args || args.owner === undefined) && !opts.urn) {
|
|
25
|
+
throw new Error("Missing required property 'owner'");
|
|
26
|
+
}
|
|
27
|
+
resourceInputs["admin"] = args ? args.admin : undefined;
|
|
28
|
+
resourceInputs["autorenew"] = args ? args.autorenew : undefined;
|
|
29
|
+
resourceInputs["billing"] = args ? args.billing : undefined;
|
|
30
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
31
|
+
resourceInputs["nameservers"] = args ? args.nameservers : undefined;
|
|
32
|
+
resourceInputs["owner"] = args ? args.owner : undefined;
|
|
33
|
+
resourceInputs["tech"] = args ? args.tech : undefined;
|
|
34
|
+
}
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
36
|
+
super(Domain.__pulumiType, name, resourceInputs, opts);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing Domain resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name, id, state, opts) {
|
|
48
|
+
return new Domain(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of Domain. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj) {
|
|
55
|
+
if (obj === undefined || obj === null) {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
return obj['__pulumiType'] === Domain.__pulumiType;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.Domain = Domain;
|
|
62
|
+
/** @internal */
|
|
63
|
+
Domain.__pulumiType = 'gandi:domains/domain:Domain';
|
|
64
|
+
//# sourceMappingURL=domain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../../domains/domain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAwD7C,Y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ChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;;AA1BL,wBAoFC;AAtEG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainResult>;
|
|
3
|
+
/**
|
|
4
|
+
* A collection of arguments for invoking getDomain.
|
|
5
|
+
*/
|
|
6
|
+
export interface GetDomainArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The FQDN of the domain
|
|
9
|
+
*/
|
|
10
|
+
name: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* A collection of values returned by getDomain.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDomainResult {
|
|
16
|
+
/**
|
|
17
|
+
* The provider-assigned unique ID for this managed resource.
|
|
18
|
+
*/
|
|
19
|
+
readonly id: string;
|
|
20
|
+
/**
|
|
21
|
+
* The FQDN of the domain
|
|
22
|
+
*/
|
|
23
|
+
readonly name: string;
|
|
24
|
+
/**
|
|
25
|
+
* A list of nameservers for the domain
|
|
26
|
+
*/
|
|
27
|
+
readonly nameservers: string[];
|
|
28
|
+
}
|
|
29
|
+
export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDomainResult>;
|
|
30
|
+
/**
|
|
31
|
+
* A collection of arguments for invoking getDomain.
|
|
32
|
+
*/
|
|
33
|
+
export interface GetDomainOutputArgs {
|
|
34
|
+
/**
|
|
35
|
+
* The FQDN of the domain
|
|
36
|
+
*/
|
|
37
|
+
name: pulumi.Input<string>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getDomainOutput = exports.getDomain = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function getDomain(args, opts) {
|
|
9
|
+
if (!opts) {
|
|
10
|
+
opts = {};
|
|
11
|
+
}
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
13
|
+
return pulumi.runtime.invoke("gandi:domains/getDomain:getDomain", {
|
|
14
|
+
"name": args.name,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getDomain = getDomain;
|
|
18
|
+
function getDomainOutput(args, opts) {
|
|
19
|
+
return pulumi.output(args).apply(a => getDomain(a, opts));
|
|
20
|
+
}
|
|
21
|
+
exports.getDomainOutput = getDomainOutput;
|
|
22
|
+
//# sourceMappingURL=getDomain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDomain.js","sourceRoot":"","sources":["../../domains/getDomain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,8BASC;AA8BD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare function getGlueRecord(args: GetGlueRecordArgs, opts?: pulumi.InvokeOptions): Promise<GetGlueRecordResult>;
|
|
3
|
+
/**
|
|
4
|
+
* A collection of arguments for invoking getGlueRecord.
|
|
5
|
+
*/
|
|
6
|
+
export interface GetGlueRecordArgs {
|
|
7
|
+
/**
|
|
8
|
+
* Host name of the glue record
|
|
9
|
+
*/
|
|
10
|
+
name: string;
|
|
11
|
+
/**
|
|
12
|
+
* Domain name
|
|
13
|
+
*/
|
|
14
|
+
zone: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getGlueRecord.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetGlueRecordResult {
|
|
20
|
+
/**
|
|
21
|
+
* The provider-assigned unique ID for this managed resource.
|
|
22
|
+
*/
|
|
23
|
+
readonly id: string;
|
|
24
|
+
/**
|
|
25
|
+
* A list of the ip addresses provided for the glue record
|
|
26
|
+
*/
|
|
27
|
+
readonly ips: string[];
|
|
28
|
+
/**
|
|
29
|
+
* Host name of the glue record
|
|
30
|
+
*/
|
|
31
|
+
readonly name: string;
|
|
32
|
+
/**
|
|
33
|
+
* Domain name
|
|
34
|
+
*/
|
|
35
|
+
readonly zone: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function getGlueRecordOutput(args: GetGlueRecordOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGlueRecordResult>;
|
|
38
|
+
/**
|
|
39
|
+
* A collection of arguments for invoking getGlueRecord.
|
|
40
|
+
*/
|
|
41
|
+
export interface GetGlueRecordOutputArgs {
|
|
42
|
+
/**
|
|
43
|
+
* Host name of the glue record
|
|
44
|
+
*/
|
|
45
|
+
name: pulumi.Input<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Domain name
|
|
48
|
+
*/
|
|
49
|
+
zone: pulumi.Input<string>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getGlueRecordOutput = exports.getGlueRecord = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
function getGlueRecord(args, opts) {
|
|
9
|
+
if (!opts) {
|
|
10
|
+
opts = {};
|
|
11
|
+
}
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
13
|
+
return pulumi.runtime.invoke("gandi:domains/getGlueRecord:getGlueRecord", {
|
|
14
|
+
"name": args.name,
|
|
15
|
+
"zone": args.zone,
|
|
16
|
+
}, opts);
|
|
17
|
+
}
|
|
18
|
+
exports.getGlueRecord = getGlueRecord;
|
|
19
|
+
function getGlueRecordOutput(args, opts) {
|
|
20
|
+
return pulumi.output(args).apply(a => getGlueRecord(a, opts));
|
|
21
|
+
}
|
|
22
|
+
exports.getGlueRecordOutput = getGlueRecordOutput;
|
|
23
|
+
//# sourceMappingURL=getGlueRecord.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGlueRecord.js","sourceRoot":"","sources":["../../domains/getGlueRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AAsCD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class GlueRecord extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing GlueRecord resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GlueRecordState, opts?: pulumi.CustomResourceOptions): GlueRecord;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of GlueRecord. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is GlueRecord;
|
|
18
|
+
/**
|
|
19
|
+
* The fqdn of the record
|
|
20
|
+
*/
|
|
21
|
+
readonly fqdn: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The fqdn unicode of the record
|
|
24
|
+
*/
|
|
25
|
+
readonly fqdnUnicode: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The href of the record
|
|
28
|
+
*/
|
|
29
|
+
readonly href: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* List of IP addresses
|
|
32
|
+
*/
|
|
33
|
+
readonly ips: pulumi.Output<string[]>;
|
|
34
|
+
/**
|
|
35
|
+
* Host name of the glue record
|
|
36
|
+
*/
|
|
37
|
+
readonly name: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Domain name
|
|
40
|
+
*/
|
|
41
|
+
readonly zone: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a GlueRecord resource with the given unique name, arguments, and options.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resource.
|
|
46
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
47
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
48
|
+
*/
|
|
49
|
+
constructor(name: string, args: GlueRecordArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Input properties used for looking up and filtering GlueRecord resources.
|
|
53
|
+
*/
|
|
54
|
+
export interface GlueRecordState {
|
|
55
|
+
/**
|
|
56
|
+
* The fqdn of the record
|
|
57
|
+
*/
|
|
58
|
+
fqdn?: pulumi.Input<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The fqdn unicode of the record
|
|
61
|
+
*/
|
|
62
|
+
fqdnUnicode?: pulumi.Input<string>;
|
|
63
|
+
/**
|
|
64
|
+
* The href of the record
|
|
65
|
+
*/
|
|
66
|
+
href?: pulumi.Input<string>;
|
|
67
|
+
/**
|
|
68
|
+
* List of IP addresses
|
|
69
|
+
*/
|
|
70
|
+
ips?: pulumi.Input<pulumi.Input<string>[]>;
|
|
71
|
+
/**
|
|
72
|
+
* Host name of the glue record
|
|
73
|
+
*/
|
|
74
|
+
name?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Domain name
|
|
77
|
+
*/
|
|
78
|
+
zone?: pulumi.Input<string>;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* The set of arguments for constructing a GlueRecord resource.
|
|
82
|
+
*/
|
|
83
|
+
export interface GlueRecordArgs {
|
|
84
|
+
/**
|
|
85
|
+
* List of IP addresses
|
|
86
|
+
*/
|
|
87
|
+
ips: pulumi.Input<pulumi.Input<string>[]>;
|
|
88
|
+
/**
|
|
89
|
+
* Host name of the glue record
|
|
90
|
+
*/
|
|
91
|
+
name?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Domain name
|
|
94
|
+
*/
|
|
95
|
+
zone: pulumi.Input<string>;
|
|
96
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.GlueRecord = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
class GlueRecord extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["fqdn"] = state ? state.fqdn : undefined;
|
|
15
|
+
resourceInputs["fqdnUnicode"] = state ? state.fqdnUnicode : undefined;
|
|
16
|
+
resourceInputs["href"] = state ? state.href : undefined;
|
|
17
|
+
resourceInputs["ips"] = state ? state.ips : undefined;
|
|
18
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
19
|
+
resourceInputs["zone"] = state ? state.zone : undefined;
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
const args = argsOrState;
|
|
23
|
+
if ((!args || args.ips === undefined) && !opts.urn) {
|
|
24
|
+
throw new Error("Missing required property 'ips'");
|
|
25
|
+
}
|
|
26
|
+
if ((!args || args.zone === undefined) && !opts.urn) {
|
|
27
|
+
throw new Error("Missing required property 'zone'");
|
|
28
|
+
}
|
|
29
|
+
resourceInputs["ips"] = args ? args.ips : undefined;
|
|
30
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
31
|
+
resourceInputs["zone"] = args ? args.zone : undefined;
|
|
32
|
+
resourceInputs["fqdn"] = undefined /*out*/;
|
|
33
|
+
resourceInputs["fqdnUnicode"] = undefined /*out*/;
|
|
34
|
+
resourceInputs["href"] = undefined /*out*/;
|
|
35
|
+
}
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
37
|
+
super(GlueRecord.__pulumiType, name, resourceInputs, opts);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Get an existing GlueRecord resource's state with the given name, ID, and optional extra
|
|
41
|
+
* properties used to qualify the lookup.
|
|
42
|
+
*
|
|
43
|
+
* @param name The _unique_ name of the resulting resource.
|
|
44
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
45
|
+
* @param state Any extra arguments used during the lookup.
|
|
46
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
47
|
+
*/
|
|
48
|
+
static get(name, id, state, opts) {
|
|
49
|
+
return new GlueRecord(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Returns true if the given object is an instance of GlueRecord. This is designed to work even
|
|
53
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
54
|
+
*/
|
|
55
|
+
static isInstance(obj) {
|
|
56
|
+
if (obj === undefined || obj === null) {
|
|
57
|
+
return false;
|
|
58
|
+
}
|
|
59
|
+
return obj['__pulumiType'] === GlueRecord.__pulumiType;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.GlueRecord = GlueRecord;
|
|
63
|
+
/** @internal */
|
|
64
|
+
GlueRecord.__pulumiType = 'gandi:domains/glueRecord:GlueRecord';
|
|
65
|
+
//# sourceMappingURL=glueRecord.js.map
|