@pulumiverse/gandi 0.0.14 → 2.0.0
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/README.md +3 -1
- package/config/index.js +1 -1
- package/config/index.js.map +1 -1
- package/config/vars.js +2 -3
- package/config/vars.js.map +1 -1
- package/domains/dnssecKey.js +14 -14
- package/domains/dnssecKey.js.map +1 -1
- package/domains/domain.d.ts +2 -1
- package/domains/domain.js +19 -19
- package/domains/domain.js.map +1 -1
- package/domains/getDomain.d.ts +13 -1
- package/domains/getDomain.js +6 -6
- package/domains/getDomain.js.map +1 -1
- package/domains/getGlueRecord.d.ts +22 -1
- package/domains/getGlueRecord.js +7 -6
- package/domains/getGlueRecord.js.map +1 -1
- package/domains/glueRecord.js +13 -13
- package/domains/glueRecord.js.map +1 -1
- package/domains/index.d.ts +18 -6
- package/domains/index.js +20 -31
- package/domains/index.js.map +1 -1
- package/domains/nameservers.js +7 -7
- package/domains/nameservers.js.map +1 -1
- package/email/forwarding.js +8 -8
- package/email/forwarding.js.map +1 -1
- package/email/getMailbox.d.ts +19 -1
- package/email/getMailbox.js +7 -6
- package/email/getMailbox.js.map +1 -1
- package/email/index.d.ts +9 -3
- package/email/index.js +11 -24
- package/email/index.js.map +1 -1
- package/email/mailbox.js +17 -15
- package/email/mailbox.js.map +1 -1
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/livedns/domain.js +8 -8
- package/livedns/domain.js.map +1 -1
- package/livedns/getDomain.d.ts +10 -1
- package/livedns/getDomain.js +6 -6
- package/livedns/getDomain.js.map +1 -1
- package/livedns/getDomainNameserver.d.ts +13 -1
- package/livedns/getDomainNameserver.js +6 -6
- package/livedns/getDomainNameserver.js.map +1 -1
- package/livedns/index.d.ts +12 -4
- package/livedns/index.js +14 -25
- package/livedns/index.js.map +1 -1
- package/livedns/record.d.ts +0 -9
- package/livedns/record.js +19 -19
- package/livedns/record.js.map +1 -1
- package/package.json +5 -6
- package/provider.d.ts +14 -0
- package/provider.js +16 -7
- package/provider.js.map +1 -1
- package/simplehosting/index.d.ts +6 -2
- package/simplehosting/index.js +8 -23
- package/simplehosting/index.js.map +1 -1
- package/simplehosting/instance.js +16 -16
- package/simplehosting/instance.js.map +1 -1
- package/simplehosting/vhost.js +13 -13
- package/simplehosting/vhost.js.map +1 -1
- package/types/index.js +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +168 -0
- package/types/input.js +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +168 -0
- package/types/output.js +1 -1
- package/types/output.js.map +1 -1
- package/utilities.js +36 -2
- package/utilities.js.map +1 -1
- package/package.json.bak +0 -30
- package/scripts/install-pulumi-plugin.js +0 -26
package/email/forwarding.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.Forwarding = void 0;
|
|
@@ -16,7 +16,7 @@ class Forwarding extends pulumi.CustomResource {
|
|
|
16
16
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
17
|
*/
|
|
18
18
|
static get(name, id, state, opts) {
|
|
19
|
-
return new Forwarding(name, state,
|
|
19
|
+
return new Forwarding(name, state, { ...opts, id: id });
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Returns true if the given object is an instance of Forwarding. This is designed to work even
|
|
@@ -33,19 +33,19 @@ class Forwarding extends pulumi.CustomResource {
|
|
|
33
33
|
opts = opts || {};
|
|
34
34
|
if (opts.id) {
|
|
35
35
|
const state = argsOrState;
|
|
36
|
-
resourceInputs["destinations"] = state
|
|
37
|
-
resourceInputs["source"] = state
|
|
36
|
+
resourceInputs["destinations"] = state?.destinations;
|
|
37
|
+
resourceInputs["source"] = state?.source;
|
|
38
38
|
}
|
|
39
39
|
else {
|
|
40
40
|
const args = argsOrState;
|
|
41
|
-
if (
|
|
41
|
+
if (args?.destinations === undefined && !opts.urn) {
|
|
42
42
|
throw new Error("Missing required property 'destinations'");
|
|
43
43
|
}
|
|
44
|
-
if (
|
|
44
|
+
if (args?.source === undefined && !opts.urn) {
|
|
45
45
|
throw new Error("Missing required property 'source'");
|
|
46
46
|
}
|
|
47
|
-
resourceInputs["destinations"] = args
|
|
48
|
-
resourceInputs["source"] = args
|
|
47
|
+
resourceInputs["destinations"] = args?.destinations;
|
|
48
|
+
resourceInputs["source"] = args?.source;
|
|
49
49
|
}
|
|
50
50
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
51
51
|
super(Forwarding.__pulumiType, name, resourceInputs, opts);
|
package/email/forwarding.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forwarding.js","sourceRoot":"","sources":["../../email/forwarding.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"forwarding.js","sourceRoot":"","sources":["../../email/forwarding.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,EAAE,YAAY,CAAC;YACrD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;SAC5C;aAAM;YACH,MAAM,IAAI,GAAG,WAAyC,CAAC;YACvD,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;SAC3C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAjEL,gCAkEC;AApDG,gBAAgB;AACO,uBAAY,GAAG,mCAAmC,CAAC"}
|
package/email/getMailbox.d.ts
CHANGED
|
@@ -4,25 +4,43 @@ export declare function getMailbox(args: GetMailboxArgs, opts?: pulumi.InvokeOpt
|
|
|
4
4
|
* A collection of arguments for invoking getMailbox.
|
|
5
5
|
*/
|
|
6
6
|
export interface GetMailboxArgs {
|
|
7
|
+
/**
|
|
8
|
+
* Domain name
|
|
9
|
+
*/
|
|
7
10
|
domain: string;
|
|
11
|
+
/**
|
|
12
|
+
* Mailbox ID
|
|
13
|
+
*/
|
|
8
14
|
mailboxId: string;
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
11
17
|
* A collection of values returned by getMailbox.
|
|
12
18
|
*/
|
|
13
19
|
export interface GetMailboxResult {
|
|
20
|
+
/**
|
|
21
|
+
* Domain name
|
|
22
|
+
*/
|
|
14
23
|
readonly domain: string;
|
|
15
24
|
/**
|
|
16
25
|
* The provider-assigned unique ID for this managed resource.
|
|
17
26
|
*/
|
|
18
27
|
readonly id: string;
|
|
28
|
+
/**
|
|
29
|
+
* Mailbox ID
|
|
30
|
+
*/
|
|
19
31
|
readonly mailboxId: string;
|
|
20
32
|
}
|
|
21
|
-
export declare function getMailboxOutput(args: GetMailboxOutputArgs, opts?: pulumi.
|
|
33
|
+
export declare function getMailboxOutput(args: GetMailboxOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMailboxResult>;
|
|
22
34
|
/**
|
|
23
35
|
* A collection of arguments for invoking getMailbox.
|
|
24
36
|
*/
|
|
25
37
|
export interface GetMailboxOutputArgs {
|
|
38
|
+
/**
|
|
39
|
+
* Domain name
|
|
40
|
+
*/
|
|
26
41
|
domain: pulumi.Input<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Mailbox ID
|
|
44
|
+
*/
|
|
27
45
|
mailboxId: pulumi.Input<string>;
|
|
28
46
|
}
|
package/email/getMailbox.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.getMailboxOutput = exports.getMailbox = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
function getMailbox(args, opts) {
|
|
9
|
-
|
|
10
|
-
opts = {};
|
|
11
|
-
}
|
|
12
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
10
|
return pulumi.runtime.invoke("gandi:email/getMailbox:getMailbox", {
|
|
14
11
|
"domain": args.domain,
|
|
15
12
|
"mailboxId": args.mailboxId,
|
|
@@ -17,7 +14,11 @@ function getMailbox(args, opts) {
|
|
|
17
14
|
}
|
|
18
15
|
exports.getMailbox = getMailbox;
|
|
19
16
|
function getMailboxOutput(args, opts) {
|
|
20
|
-
|
|
17
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
|
+
return pulumi.runtime.invokeOutput("gandi:email/getMailbox:getMailbox", {
|
|
19
|
+
"domain": args.domain,
|
|
20
|
+
"mailboxId": args.mailboxId,
|
|
21
|
+
}, opts);
|
|
21
22
|
}
|
|
22
23
|
exports.getMailboxOutput = getMailboxOutput;
|
|
23
24
|
//# sourceMappingURL=getMailbox.js.map
|
package/email/getMailbox.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getMailbox.js","sourceRoot":"","sources":["../../email/getMailbox.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getMailbox.js","sourceRoot":"","sources":["../../email/getMailbox.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gCAMC;AAiCD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mCAAmC,EAAE;QACpE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC"}
|
package/email/index.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export { ForwardingArgs, ForwardingState } from "./forwarding";
|
|
2
|
+
export type Forwarding = import("./forwarding").Forwarding;
|
|
3
|
+
export declare const Forwarding: typeof import("./forwarding").Forwarding;
|
|
4
|
+
export { GetMailboxArgs, GetMailboxResult, GetMailboxOutputArgs } from "./getMailbox";
|
|
5
|
+
export declare const getMailbox: typeof import("./getMailbox").getMailbox;
|
|
6
|
+
export declare const getMailboxOutput: typeof import("./getMailbox").getMailboxOutput;
|
|
7
|
+
export { MailboxArgs, MailboxState } from "./mailbox";
|
|
8
|
+
export type Mailbox = import("./mailbox").Mailbox;
|
|
9
|
+
export declare const Mailbox: typeof import("./mailbox").Mailbox;
|
package/email/index.js
CHANGED
|
@@ -1,38 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
-
};
|
|
18
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Mailbox = exports.getMailboxOutput = exports.getMailbox = exports.Forwarding = void 0;
|
|
19
6
|
const pulumi = require("@pulumi/pulumi");
|
|
20
7
|
const utilities = require("../utilities");
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
8
|
+
exports.Forwarding = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Forwarding"], () => require("./forwarding"));
|
|
10
|
+
exports.getMailbox = null;
|
|
11
|
+
exports.getMailboxOutput = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["getMailbox", "getMailboxOutput"], () => require("./getMailbox"));
|
|
13
|
+
exports.Mailbox = null;
|
|
14
|
+
utilities.lazyLoad(exports, ["Mailbox"], () => require("./mailbox"));
|
|
28
15
|
const _module = {
|
|
29
16
|
version: utilities.getVersion(),
|
|
30
17
|
construct: (name, type, urn) => {
|
|
31
18
|
switch (type) {
|
|
32
19
|
case "gandi:email/forwarding:Forwarding":
|
|
33
|
-
return new
|
|
20
|
+
return new exports.Forwarding(name, undefined, { urn });
|
|
34
21
|
case "gandi:email/mailbox:Mailbox":
|
|
35
|
-
return new
|
|
22
|
+
return new exports.Mailbox(name, undefined, { urn });
|
|
36
23
|
default:
|
|
37
24
|
throw new Error(`unknown resource type ${type}`);
|
|
38
25
|
}
|
package/email/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../email/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../email/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAG9D,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAIjF,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGrE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,mCAAmC;gBACpC,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA"}
|
package/email/mailbox.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.Mailbox = void 0;
|
|
@@ -16,7 +16,7 @@ class Mailbox extends pulumi.CustomResource {
|
|
|
16
16
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
17
|
*/
|
|
18
18
|
static get(name, id, state, opts) {
|
|
19
|
-
return new Mailbox(name, state,
|
|
19
|
+
return new Mailbox(name, state, { ...opts, id: id });
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Returns true if the given object is an instance of Mailbox. This is designed to work even
|
|
@@ -33,30 +33,32 @@ class Mailbox extends pulumi.CustomResource {
|
|
|
33
33
|
opts = opts || {};
|
|
34
34
|
if (opts.id) {
|
|
35
35
|
const state = argsOrState;
|
|
36
|
-
resourceInputs["aliases"] = state
|
|
37
|
-
resourceInputs["domain"] = state
|
|
38
|
-
resourceInputs["login"] = state
|
|
39
|
-
resourceInputs["mailboxType"] = state
|
|
40
|
-
resourceInputs["password"] = state
|
|
36
|
+
resourceInputs["aliases"] = state?.aliases;
|
|
37
|
+
resourceInputs["domain"] = state?.domain;
|
|
38
|
+
resourceInputs["login"] = state?.login;
|
|
39
|
+
resourceInputs["mailboxType"] = state?.mailboxType;
|
|
40
|
+
resourceInputs["password"] = state?.password;
|
|
41
41
|
}
|
|
42
42
|
else {
|
|
43
43
|
const args = argsOrState;
|
|
44
|
-
if (
|
|
44
|
+
if (args?.domain === undefined && !opts.urn) {
|
|
45
45
|
throw new Error("Missing required property 'domain'");
|
|
46
46
|
}
|
|
47
|
-
if (
|
|
47
|
+
if (args?.login === undefined && !opts.urn) {
|
|
48
48
|
throw new Error("Missing required property 'login'");
|
|
49
49
|
}
|
|
50
|
-
if (
|
|
50
|
+
if (args?.password === undefined && !opts.urn) {
|
|
51
51
|
throw new Error("Missing required property 'password'");
|
|
52
52
|
}
|
|
53
|
-
resourceInputs["aliases"] = args
|
|
54
|
-
resourceInputs["domain"] = args
|
|
55
|
-
resourceInputs["login"] = args
|
|
56
|
-
resourceInputs["mailboxType"] = args
|
|
57
|
-
resourceInputs["password"] = args ? args.password : undefined;
|
|
53
|
+
resourceInputs["aliases"] = args?.aliases;
|
|
54
|
+
resourceInputs["domain"] = args?.domain;
|
|
55
|
+
resourceInputs["login"] = args?.login;
|
|
56
|
+
resourceInputs["mailboxType"] = args?.mailboxType;
|
|
57
|
+
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
58
58
|
}
|
|
59
59
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
60
|
+
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
61
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
60
62
|
super(Mailbox.__pulumiType, name, resourceInputs, opts);
|
|
61
63
|
}
|
|
62
64
|
}
|
package/email/mailbox.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mailbox.js","sourceRoot":"","sources":["../../email/mailbox.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"mailbox.js","sourceRoot":"","sources":["../../email/mailbox.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;SAChD;aAAM;YACH,MAAM,IAAI,GAAG,WAAsC,CAAC;YACpD,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,IAAI,IAAI,EAAE,KAAK,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACxC,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,IAAI,EAAE,QAAQ,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;SAC1F;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAxFL,0BAyFC;AA3EG,gBAAgB;AACO,oBAAY,GAAG,6BAA6B,CAAC"}
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
5
|
if (k2 === undefined) k2 = k;
|
|
@@ -21,6 +21,7 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
21
21
|
const utilities = require("./utilities");
|
|
22
22
|
// Export members:
|
|
23
23
|
__exportStar(require("./provider"), exports);
|
|
24
|
+
const provider_1 = require("./provider");
|
|
24
25
|
// Export sub-modules:
|
|
25
26
|
const config = require("./config");
|
|
26
27
|
exports.config = config;
|
|
@@ -34,7 +35,6 @@ const simplehosting = require("./simplehosting");
|
|
|
34
35
|
exports.simplehosting = simplehosting;
|
|
35
36
|
const types = require("./types");
|
|
36
37
|
exports.types = types;
|
|
37
|
-
const provider_1 = require("./provider");
|
|
38
38
|
pulumi.runtime.registerResourcePackage("gandi", {
|
|
39
39
|
version: utilities.getVersion(),
|
|
40
40
|
constructProvider: (name, type, urn) => {
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,kBAAkB;AAClB,6CAA2B;AAC3B,yCAAsC;AAGtC,sBAAsB;AACtB,mCAAmC;AAQ/B,wBAAM;AAPV,qCAAqC;AAQjC,0BAAO;AAPX,iCAAiC;AAQ7B,sBAAK;AAPT,qCAAqC;AAQjC,0BAAO;AAPX,iDAAiD;AAQ7C,sCAAa;AAPjB,iCAAiC;AAQ7B,sBAAK;AAET,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,OAAO,EAAE;IAC5C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,wBAAwB,EAAE;YACnC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,mBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/livedns/domain.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.Domain = void 0;
|
|
@@ -16,7 +16,7 @@ class Domain extends pulumi.CustomResource {
|
|
|
16
16
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
17
|
*/
|
|
18
18
|
static get(name, id, state, opts) {
|
|
19
|
-
return new Domain(name, state,
|
|
19
|
+
return new Domain(name, state, { ...opts, id: id });
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Returns true if the given object is an instance of Domain. This is designed to work even
|
|
@@ -33,15 +33,15 @@ class Domain extends pulumi.CustomResource {
|
|
|
33
33
|
opts = opts || {};
|
|
34
34
|
if (opts.id) {
|
|
35
35
|
const state = argsOrState;
|
|
36
|
-
resourceInputs["automaticSnapshots"] = state
|
|
37
|
-
resourceInputs["name"] = state
|
|
38
|
-
resourceInputs["ttl"] = state
|
|
36
|
+
resourceInputs["automaticSnapshots"] = state?.automaticSnapshots;
|
|
37
|
+
resourceInputs["name"] = state?.name;
|
|
38
|
+
resourceInputs["ttl"] = state?.ttl;
|
|
39
39
|
}
|
|
40
40
|
else {
|
|
41
41
|
const args = argsOrState;
|
|
42
|
-
resourceInputs["automaticSnapshots"] = args
|
|
43
|
-
resourceInputs["name"] = args
|
|
44
|
-
resourceInputs["ttl"] = args
|
|
42
|
+
resourceInputs["automaticSnapshots"] = args?.automaticSnapshots;
|
|
43
|
+
resourceInputs["name"] = args?.name;
|
|
44
|
+
resourceInputs["ttl"] = args?.ttl;
|
|
45
45
|
}
|
|
46
46
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
47
47
|
super(Domain.__pulumiType, name, resourceInputs, opts);
|
package/livedns/domain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../../livedns/domain.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../../livedns/domain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IA0BD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,EAAE,kBAAkB,CAAC;YACjE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,EAAE,GAAG,CAAC;SACtC;aAAM;YACH,MAAM,IAAI,GAAG,WAAqC,CAAC;YACnD,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;SACrC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AApEL,wBAqEC;AAvDG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
|
package/livedns/getDomain.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ export declare function getDomain(args: GetDomainArgs, opts?: pulumi.InvokeOptio
|
|
|
4
4
|
* A collection of arguments for invoking getDomain.
|
|
5
5
|
*/
|
|
6
6
|
export interface GetDomainArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The FQDN of the domain
|
|
9
|
+
*/
|
|
7
10
|
name: string;
|
|
8
11
|
}
|
|
9
12
|
/**
|
|
@@ -14,12 +17,18 @@ export interface GetDomainResult {
|
|
|
14
17
|
* The provider-assigned unique ID for this managed resource.
|
|
15
18
|
*/
|
|
16
19
|
readonly id: string;
|
|
20
|
+
/**
|
|
21
|
+
* The FQDN of the domain
|
|
22
|
+
*/
|
|
17
23
|
readonly name: string;
|
|
18
24
|
}
|
|
19
|
-
export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.
|
|
25
|
+
export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainResult>;
|
|
20
26
|
/**
|
|
21
27
|
* A collection of arguments for invoking getDomain.
|
|
22
28
|
*/
|
|
23
29
|
export interface GetDomainOutputArgs {
|
|
30
|
+
/**
|
|
31
|
+
* The FQDN of the domain
|
|
32
|
+
*/
|
|
24
33
|
name: pulumi.Input<string>;
|
|
25
34
|
}
|
package/livedns/getDomain.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.getDomainOutput = exports.getDomain = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
function getDomain(args, opts) {
|
|
9
|
-
|
|
10
|
-
opts = {};
|
|
11
|
-
}
|
|
12
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
10
|
return pulumi.runtime.invoke("gandi:livedns/getDomain:getDomain", {
|
|
14
11
|
"name": args.name,
|
|
15
12
|
}, opts);
|
|
16
13
|
}
|
|
17
14
|
exports.getDomain = getDomain;
|
|
18
15
|
function getDomainOutput(args, opts) {
|
|
19
|
-
|
|
16
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
17
|
+
return pulumi.runtime.invokeOutput("gandi:livedns/getDomain:getDomain", {
|
|
18
|
+
"name": args.name,
|
|
19
|
+
}, opts);
|
|
20
20
|
}
|
|
21
21
|
exports.getDomainOutput = getDomainOutput;
|
|
22
22
|
//# sourceMappingURL=getDomain.js.map
|
package/livedns/getDomain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDomain.js","sourceRoot":"","sources":["../../livedns/getDomain.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getDomain.js","sourceRoot":"","sources":["../../livedns/getDomain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAyBD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mCAAmC,EAAE;QACpE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
|
|
@@ -4,6 +4,9 @@ export declare function getDomainNameserver(args: GetDomainNameserverArgs, opts?
|
|
|
4
4
|
* A collection of arguments for invoking getDomainNameserver.
|
|
5
5
|
*/
|
|
6
6
|
export interface GetDomainNameserverArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The FQDN of the domain
|
|
9
|
+
*/
|
|
7
10
|
name: string;
|
|
8
11
|
}
|
|
9
12
|
/**
|
|
@@ -14,13 +17,22 @@ export interface GetDomainNameserverResult {
|
|
|
14
17
|
* The provider-assigned unique ID for this managed resource.
|
|
15
18
|
*/
|
|
16
19
|
readonly id: string;
|
|
20
|
+
/**
|
|
21
|
+
* The FQDN of the domain
|
|
22
|
+
*/
|
|
17
23
|
readonly name: string;
|
|
24
|
+
/**
|
|
25
|
+
* A list of nameservers for the domain
|
|
26
|
+
*/
|
|
18
27
|
readonly nameservers: string[];
|
|
19
28
|
}
|
|
20
|
-
export declare function getDomainNameserverOutput(args: GetDomainNameserverOutputArgs, opts?: pulumi.
|
|
29
|
+
export declare function getDomainNameserverOutput(args: GetDomainNameserverOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainNameserverResult>;
|
|
21
30
|
/**
|
|
22
31
|
* A collection of arguments for invoking getDomainNameserver.
|
|
23
32
|
*/
|
|
24
33
|
export interface GetDomainNameserverOutputArgs {
|
|
34
|
+
/**
|
|
35
|
+
* The FQDN of the domain
|
|
36
|
+
*/
|
|
25
37
|
name: pulumi.Input<string>;
|
|
26
38
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
5
|
exports.getDomainNameserverOutput = exports.getDomainNameserver = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
function getDomainNameserver(args, opts) {
|
|
9
|
-
|
|
10
|
-
opts = {};
|
|
11
|
-
}
|
|
12
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
10
|
return pulumi.runtime.invoke("gandi:livedns/getDomainNameserver:getDomainNameserver", {
|
|
14
11
|
"name": args.name,
|
|
15
12
|
}, opts);
|
|
16
13
|
}
|
|
17
14
|
exports.getDomainNameserver = getDomainNameserver;
|
|
18
15
|
function getDomainNameserverOutput(args, opts) {
|
|
19
|
-
|
|
16
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
17
|
+
return pulumi.runtime.invokeOutput("gandi:livedns/getDomainNameserver:getDomainNameserver", {
|
|
18
|
+
"name": args.name,
|
|
19
|
+
}, opts);
|
|
20
20
|
}
|
|
21
21
|
exports.getDomainNameserverOutput = getDomainNameserverOutput;
|
|
22
22
|
//# sourceMappingURL=getDomainNameserver.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDomainNameserver.js","sourceRoot":"","sources":["../../livedns/getDomainNameserver.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getDomainNameserver.js","sourceRoot":"","sources":["../../livedns/getDomainNameserver.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uDAAuD,EAAE;QAClF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AA6BD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,uDAAuD,EAAE;QACxF,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
|
package/livedns/index.d.ts
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
1
|
+
export { DomainArgs, DomainState } from "./domain";
|
|
2
|
+
export type Domain = import("./domain").Domain;
|
|
3
|
+
export declare const Domain: typeof import("./domain").Domain;
|
|
4
|
+
export { GetDomainArgs, GetDomainResult, GetDomainOutputArgs } from "./getDomain";
|
|
5
|
+
export declare const getDomain: typeof import("./getDomain").getDomain;
|
|
6
|
+
export declare const getDomainOutput: typeof import("./getDomain").getDomainOutput;
|
|
7
|
+
export { GetDomainNameserverArgs, GetDomainNameserverResult, GetDomainNameserverOutputArgs } from "./getDomainNameserver";
|
|
8
|
+
export declare const getDomainNameserver: typeof import("./getDomainNameserver").getDomainNameserver;
|
|
9
|
+
export declare const getDomainNameserverOutput: typeof import("./getDomainNameserver").getDomainNameserverOutput;
|
|
10
|
+
export { RecordArgs, RecordState } from "./record";
|
|
11
|
+
export type Record = import("./record").Record;
|
|
12
|
+
export declare const Record: typeof import("./record").Record;
|
package/livedns/index.js
CHANGED
|
@@ -1,39 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
-
if (k2 === undefined) k2 = k;
|
|
6
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
-
}
|
|
10
|
-
Object.defineProperty(o, k2, desc);
|
|
11
|
-
}) : (function(o, m, k, k2) {
|
|
12
|
-
if (k2 === undefined) k2 = k;
|
|
13
|
-
o[k2] = m[k];
|
|
14
|
-
}));
|
|
15
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
16
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
|
-
};
|
|
18
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Record = exports.getDomainNameserverOutput = exports.getDomainNameserver = exports.getDomainOutput = exports.getDomain = exports.Domain = void 0;
|
|
19
6
|
const pulumi = require("@pulumi/pulumi");
|
|
20
7
|
const utilities = require("../utilities");
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
8
|
+
exports.Domain = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["Domain"], () => require("./domain"));
|
|
10
|
+
exports.getDomain = null;
|
|
11
|
+
exports.getDomainOutput = null;
|
|
12
|
+
utilities.lazyLoad(exports, ["getDomain", "getDomainOutput"], () => require("./getDomain"));
|
|
13
|
+
exports.getDomainNameserver = null;
|
|
14
|
+
exports.getDomainNameserverOutput = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["getDomainNameserver", "getDomainNameserverOutput"], () => require("./getDomainNameserver"));
|
|
16
|
+
exports.Record = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["Record"], () => require("./record"));
|
|
29
18
|
const _module = {
|
|
30
19
|
version: utilities.getVersion(),
|
|
31
20
|
construct: (name, type, urn) => {
|
|
32
21
|
switch (type) {
|
|
33
22
|
case "gandi:livedns/domain:Domain":
|
|
34
|
-
return new
|
|
23
|
+
return new exports.Domain(name, undefined, { urn });
|
|
35
24
|
case "gandi:livedns/record:Record":
|
|
36
|
-
return new
|
|
25
|
+
return new exports.Record(name, undefined, { urn });
|
|
37
26
|
default:
|
|
38
27
|
throw new Error(`unknown resource type ${type}`);
|
|
39
28
|
}
|
package/livedns/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../livedns/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../livedns/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGtD,QAAA,SAAS,GAA2C,IAAW,CAAC;AAChE,QAAA,eAAe,GAAiD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,EAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAG9E,QAAA,mBAAmB,GAA+D,IAAW,CAAC;AAC9F,QAAA,yBAAyB,GAAqE,IAAW,CAAC;AACvH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qBAAqB,EAAC,2BAA2B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAI5G,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAGnE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA"}
|
package/livedns/record.d.ts
CHANGED
|
@@ -19,9 +19,6 @@ export declare class Record extends pulumi.CustomResource {
|
|
|
19
19
|
* The href of the record
|
|
20
20
|
*/
|
|
21
21
|
readonly href: pulumi.Output<string>;
|
|
22
|
-
/**
|
|
23
|
-
* Define if the record can be modified outside Terraform (this currently only works for TXT records)
|
|
24
|
-
*/
|
|
25
22
|
readonly mutable: pulumi.Output<boolean | undefined>;
|
|
26
23
|
/**
|
|
27
24
|
* The name of the record
|
|
@@ -60,9 +57,6 @@ export interface RecordState {
|
|
|
60
57
|
* The href of the record
|
|
61
58
|
*/
|
|
62
59
|
href?: pulumi.Input<string>;
|
|
63
|
-
/**
|
|
64
|
-
* Define if the record can be modified outside Terraform (this currently only works for TXT records)
|
|
65
|
-
*/
|
|
66
60
|
mutable?: pulumi.Input<boolean>;
|
|
67
61
|
/**
|
|
68
62
|
* The name of the record
|
|
@@ -89,9 +83,6 @@ export interface RecordState {
|
|
|
89
83
|
* The set of arguments for constructing a Record resource.
|
|
90
84
|
*/
|
|
91
85
|
export interface RecordArgs {
|
|
92
|
-
/**
|
|
93
|
-
* Define if the record can be modified outside Terraform (this currently only works for TXT records)
|
|
94
|
-
*/
|
|
95
86
|
mutable?: pulumi.Input<boolean>;
|
|
96
87
|
/**
|
|
97
88
|
* The name of the record
|