@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/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# Gandi
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**NOTE** this is a community package in [need of new maintainers](https://github.com/pulumiverse/pulumi-gandi/issues/5).
|
|
4
|
+
|
|
5
|
+
This repository contains boilerplate code for building a new Pulumi provider which wraps an existing Terraform provider.
|
|
4
6
|
|
|
5
7
|
### Background
|
|
6
8
|
This repository is part of the [guide for authoring and publishing a Pulumi Package](https://www.pulumi.com/docs/guides/pulumi-packages/how-to-author).
|
package/config/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;
|
package/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}
|
package/config/vars.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
|
const pulumi = require("@pulumi/pulumi");
|
|
@@ -13,8 +13,7 @@ Object.defineProperty(exports, "dryRun", {
|
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "key", {
|
|
15
15
|
get() {
|
|
16
|
-
|
|
17
|
-
return (_a = __config.get("key")) !== null && _a !== void 0 ? _a : utilities.getEnv("GANDI_KEY");
|
|
16
|
+
return __config.get("key") ?? utilities.getEnv("GANDI_KEY");
|
|
18
17
|
},
|
|
19
18
|
enumerable: true,
|
|
20
19
|
});
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAG1C,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,IAAI,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IAChE,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"}
|
package/domains/dnssecKey.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.DNSSecKey = void 0;
|
|
@@ -16,7 +16,7 @@ class DNSSecKey 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 DNSSecKey(name, state,
|
|
19
|
+
return new DNSSecKey(name, state, { ...opts, id: id });
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Returns true if the given object is an instance of DNSSecKey. This is designed to work even
|
|
@@ -33,29 +33,29 @@ class DNSSecKey extends pulumi.CustomResource {
|
|
|
33
33
|
opts = opts || {};
|
|
34
34
|
if (opts.id) {
|
|
35
35
|
const state = argsOrState;
|
|
36
|
-
resourceInputs["algorithm"] = state
|
|
37
|
-
resourceInputs["domain"] = state
|
|
38
|
-
resourceInputs["publicKey"] = state
|
|
39
|
-
resourceInputs["type"] = state
|
|
36
|
+
resourceInputs["algorithm"] = state?.algorithm;
|
|
37
|
+
resourceInputs["domain"] = state?.domain;
|
|
38
|
+
resourceInputs["publicKey"] = state?.publicKey;
|
|
39
|
+
resourceInputs["type"] = state?.type;
|
|
40
40
|
}
|
|
41
41
|
else {
|
|
42
42
|
const args = argsOrState;
|
|
43
|
-
if (
|
|
43
|
+
if (args?.algorithm === undefined && !opts.urn) {
|
|
44
44
|
throw new Error("Missing required property 'algorithm'");
|
|
45
45
|
}
|
|
46
|
-
if (
|
|
46
|
+
if (args?.domain === undefined && !opts.urn) {
|
|
47
47
|
throw new Error("Missing required property 'domain'");
|
|
48
48
|
}
|
|
49
|
-
if (
|
|
49
|
+
if (args?.publicKey === undefined && !opts.urn) {
|
|
50
50
|
throw new Error("Missing required property 'publicKey'");
|
|
51
51
|
}
|
|
52
|
-
if (
|
|
52
|
+
if (args?.type === undefined && !opts.urn) {
|
|
53
53
|
throw new Error("Missing required property 'type'");
|
|
54
54
|
}
|
|
55
|
-
resourceInputs["algorithm"] = args
|
|
56
|
-
resourceInputs["domain"] = args
|
|
57
|
-
resourceInputs["publicKey"] = args
|
|
58
|
-
resourceInputs["type"] = args
|
|
55
|
+
resourceInputs["algorithm"] = args?.algorithm;
|
|
56
|
+
resourceInputs["domain"] = args?.domain;
|
|
57
|
+
resourceInputs["publicKey"] = args?.publicKey;
|
|
58
|
+
resourceInputs["type"] = args?.type;
|
|
59
59
|
}
|
|
60
60
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
61
|
super(DNSSecKey.__pulumiType, name, resourceInputs, opts);
|
package/domains/dnssecKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dnssecKey.js","sourceRoot":"","sources":["../../domains/dnssecKey.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"dnssecKey.js","sourceRoot":"","s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E,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;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;;AAnFL,8BAoFC;AAtEG,gBAAgB;AACO,sBAAY,GAAG,mCAAmC,CAAC"}
|
package/domains/domain.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
3
4
|
export declare class Domain extends pulumi.CustomResource {
|
|
4
5
|
/**
|
|
5
6
|
* Get an existing Domain resource's state with the given name, ID, and optional extra
|
package/domains/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,28 +33,28 @@ class Domain extends pulumi.CustomResource {
|
|
|
33
33
|
opts = opts || {};
|
|
34
34
|
if (opts.id) {
|
|
35
35
|
const state = argsOrState;
|
|
36
|
-
resourceInputs["admin"] = state
|
|
37
|
-
resourceInputs["autorenew"] = state
|
|
38
|
-
resourceInputs["billing"] = state
|
|
39
|
-
resourceInputs["name"] = state
|
|
40
|
-
resourceInputs["nameservers"] = state
|
|
41
|
-
resourceInputs["owner"] = state
|
|
42
|
-
resourceInputs["tags"] = state
|
|
43
|
-
resourceInputs["tech"] = state
|
|
36
|
+
resourceInputs["admin"] = state?.admin;
|
|
37
|
+
resourceInputs["autorenew"] = state?.autorenew;
|
|
38
|
+
resourceInputs["billing"] = state?.billing;
|
|
39
|
+
resourceInputs["name"] = state?.name;
|
|
40
|
+
resourceInputs["nameservers"] = state?.nameservers;
|
|
41
|
+
resourceInputs["owner"] = state?.owner;
|
|
42
|
+
resourceInputs["tags"] = state?.tags;
|
|
43
|
+
resourceInputs["tech"] = state?.tech;
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
const args = argsOrState;
|
|
47
|
-
if (
|
|
47
|
+
if (args?.owner === undefined && !opts.urn) {
|
|
48
48
|
throw new Error("Missing required property 'owner'");
|
|
49
49
|
}
|
|
50
|
-
resourceInputs["admin"] = args
|
|
51
|
-
resourceInputs["autorenew"] = args
|
|
52
|
-
resourceInputs["billing"] = args
|
|
53
|
-
resourceInputs["name"] = args
|
|
54
|
-
resourceInputs["nameservers"] = args
|
|
55
|
-
resourceInputs["owner"] = args
|
|
56
|
-
resourceInputs["tags"] = args
|
|
57
|
-
resourceInputs["tech"] = args
|
|
50
|
+
resourceInputs["admin"] = args?.admin;
|
|
51
|
+
resourceInputs["autorenew"] = args?.autorenew;
|
|
52
|
+
resourceInputs["billing"] = args?.billing;
|
|
53
|
+
resourceInputs["name"] = args?.name;
|
|
54
|
+
resourceInputs["nameservers"] = args?.nameservers;
|
|
55
|
+
resourceInputs["owner"] = args?.owner;
|
|
56
|
+
resourceInputs["tags"] = args?.tags;
|
|
57
|
+
resourceInputs["tech"] = args?.tech;
|
|
58
58
|
}
|
|
59
59
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
60
60
|
super(Domain.__pulumiType, name, resourceInputs, opts);
|
package/domains/domain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../../domains/domain.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../../domains/domain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,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,GAA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G,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;SACvC;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;;AAzFL,wBA0FC;AA5EG,gBAAgB;AACO,mBAAY,GAAG,6BAA6B,CAAC"}
|
package/domains/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,13 +17,22 @@ 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;
|
|
24
|
+
/**
|
|
25
|
+
* A list of nameservers for the domain
|
|
26
|
+
*/
|
|
18
27
|
readonly nameservers: string[];
|
|
19
28
|
}
|
|
20
|
-
export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.
|
|
29
|
+
export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainResult>;
|
|
21
30
|
/**
|
|
22
31
|
* A collection of arguments for invoking getDomain.
|
|
23
32
|
*/
|
|
24
33
|
export interface GetDomainOutputArgs {
|
|
34
|
+
/**
|
|
35
|
+
* The FQDN of the domain
|
|
36
|
+
*/
|
|
25
37
|
name: pulumi.Input<string>;
|
|
26
38
|
}
|
package/domains/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:domains/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:domains/getDomain:getDomain", {
|
|
18
|
+
"name": args.name,
|
|
19
|
+
}, opts);
|
|
20
20
|
}
|
|
21
21
|
exports.getDomainOutput = getDomainOutput;
|
|
22
22
|
//# sourceMappingURL=getDomain.js.map
|
package/domains/getDomain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDomain.js","sourceRoot":"","sources":["../../domains/getDomain.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getDomain.js","sourceRoot":"","sources":["../../domains/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;AA6BD,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,7 +4,13 @@ export declare function getGlueRecord(args: GetGlueRecordArgs, opts?: pulumi.Inv
|
|
|
4
4
|
* A collection of arguments for invoking getGlueRecord.
|
|
5
5
|
*/
|
|
6
6
|
export interface GetGlueRecordArgs {
|
|
7
|
+
/**
|
|
8
|
+
* Host name of the glue record
|
|
9
|
+
*/
|
|
7
10
|
name: string;
|
|
11
|
+
/**
|
|
12
|
+
* Domain name
|
|
13
|
+
*/
|
|
8
14
|
zone: string;
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
@@ -15,15 +21,30 @@ export interface GetGlueRecordResult {
|
|
|
15
21
|
* The provider-assigned unique ID for this managed resource.
|
|
16
22
|
*/
|
|
17
23
|
readonly id: string;
|
|
24
|
+
/**
|
|
25
|
+
* A list of the ip addresses provided for the glue record
|
|
26
|
+
*/
|
|
18
27
|
readonly ips: string[];
|
|
28
|
+
/**
|
|
29
|
+
* Host name of the glue record
|
|
30
|
+
*/
|
|
19
31
|
readonly name: string;
|
|
32
|
+
/**
|
|
33
|
+
* Domain name
|
|
34
|
+
*/
|
|
20
35
|
readonly zone: string;
|
|
21
36
|
}
|
|
22
|
-
export declare function getGlueRecordOutput(args: GetGlueRecordOutputArgs, opts?: pulumi.
|
|
37
|
+
export declare function getGlueRecordOutput(args: GetGlueRecordOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetGlueRecordResult>;
|
|
23
38
|
/**
|
|
24
39
|
* A collection of arguments for invoking getGlueRecord.
|
|
25
40
|
*/
|
|
26
41
|
export interface GetGlueRecordOutputArgs {
|
|
42
|
+
/**
|
|
43
|
+
* Host name of the glue record
|
|
44
|
+
*/
|
|
27
45
|
name: pulumi.Input<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Domain name
|
|
48
|
+
*/
|
|
28
49
|
zone: pulumi.Input<string>;
|
|
29
50
|
}
|
package/domains/getGlueRecord.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.getGlueRecordOutput = exports.getGlueRecord = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
function getGlueRecord(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:domains/getGlueRecord:getGlueRecord", {
|
|
14
11
|
"name": args.name,
|
|
15
12
|
"zone": args.zone,
|
|
@@ -17,7 +14,11 @@ function getGlueRecord(args, opts) {
|
|
|
17
14
|
}
|
|
18
15
|
exports.getGlueRecord = getGlueRecord;
|
|
19
16
|
function getGlueRecordOutput(args, opts) {
|
|
20
|
-
|
|
17
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
|
+
return pulumi.runtime.invokeOutput("gandi:domains/getGlueRecord:getGlueRecord", {
|
|
19
|
+
"name": args.name,
|
|
20
|
+
"zone": args.zone,
|
|
21
|
+
}, opts);
|
|
21
22
|
}
|
|
22
23
|
exports.getGlueRecordOutput = getGlueRecordOutput;
|
|
23
24
|
//# sourceMappingURL=getGlueRecord.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGlueRecord.js","sourceRoot":"","sources":["../../domains/getGlueRecord.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"getGlueRecord.js","sourceRoot":"","sources":["../../domains/getGlueRecord.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,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;AAND,sCAMC;AAqCD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC"}
|
package/domains/glueRecord.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.GlueRecord = void 0;
|
|
@@ -16,7 +16,7 @@ class GlueRecord 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 GlueRecord(name, state,
|
|
19
|
+
return new GlueRecord(name, state, { ...opts, id: id });
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Returns true if the given object is an instance of GlueRecord. This is designed to work even
|
|
@@ -33,24 +33,24 @@ class GlueRecord extends pulumi.CustomResource {
|
|
|
33
33
|
opts = opts || {};
|
|
34
34
|
if (opts.id) {
|
|
35
35
|
const state = argsOrState;
|
|
36
|
-
resourceInputs["fqdn"] = state
|
|
37
|
-
resourceInputs["fqdnUnicode"] = state
|
|
38
|
-
resourceInputs["href"] = state
|
|
39
|
-
resourceInputs["ips"] = state
|
|
40
|
-
resourceInputs["name"] = state
|
|
41
|
-
resourceInputs["zone"] = state
|
|
36
|
+
resourceInputs["fqdn"] = state?.fqdn;
|
|
37
|
+
resourceInputs["fqdnUnicode"] = state?.fqdnUnicode;
|
|
38
|
+
resourceInputs["href"] = state?.href;
|
|
39
|
+
resourceInputs["ips"] = state?.ips;
|
|
40
|
+
resourceInputs["name"] = state?.name;
|
|
41
|
+
resourceInputs["zone"] = state?.zone;
|
|
42
42
|
}
|
|
43
43
|
else {
|
|
44
44
|
const args = argsOrState;
|
|
45
|
-
if (
|
|
45
|
+
if (args?.ips === undefined && !opts.urn) {
|
|
46
46
|
throw new Error("Missing required property 'ips'");
|
|
47
47
|
}
|
|
48
|
-
if (
|
|
48
|
+
if (args?.zone === undefined && !opts.urn) {
|
|
49
49
|
throw new Error("Missing required property 'zone'");
|
|
50
50
|
}
|
|
51
|
-
resourceInputs["ips"] = args
|
|
52
|
-
resourceInputs["name"] = args
|
|
53
|
-
resourceInputs["zone"] = args
|
|
51
|
+
resourceInputs["ips"] = args?.ips;
|
|
52
|
+
resourceInputs["name"] = args?.name;
|
|
53
|
+
resourceInputs["zone"] = args?.zone;
|
|
54
54
|
resourceInputs["fqdn"] = undefined /*out*/;
|
|
55
55
|
resourceInputs["fqdnUnicode"] = undefined /*out*/;
|
|
56
56
|
resourceInputs["href"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glueRecord.js","sourceRoot":"","sources":["../../domains/glueRecord.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"glueRecord.js","sourceRoot":"","sources":["../../domains/glueRecord.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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C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;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;;AAzFL,gCA0FC;AA5EG,gBAAgB;AACO,uBAAY,GAAG,qCAAqC,CAAC"}
|
package/domains/index.d.ts
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
1
|
+
export { DNSSecKeyArgs, DNSSecKeyState } from "./dnssecKey";
|
|
2
|
+
export type DNSSecKey = import("./dnssecKey").DNSSecKey;
|
|
3
|
+
export declare const DNSSecKey: typeof import("./dnssecKey").DNSSecKey;
|
|
4
|
+
export { DomainArgs, DomainState } from "./domain";
|
|
5
|
+
export type Domain = import("./domain").Domain;
|
|
6
|
+
export declare const Domain: typeof import("./domain").Domain;
|
|
7
|
+
export { GetDomainArgs, GetDomainResult, GetDomainOutputArgs } from "./getDomain";
|
|
8
|
+
export declare const getDomain: typeof import("./getDomain").getDomain;
|
|
9
|
+
export declare const getDomainOutput: typeof import("./getDomain").getDomainOutput;
|
|
10
|
+
export { GetGlueRecordArgs, GetGlueRecordResult, GetGlueRecordOutputArgs } from "./getGlueRecord";
|
|
11
|
+
export declare const getGlueRecord: typeof import("./getGlueRecord").getGlueRecord;
|
|
12
|
+
export declare const getGlueRecordOutput: typeof import("./getGlueRecord").getGlueRecordOutput;
|
|
13
|
+
export { GlueRecordArgs, GlueRecordState } from "./glueRecord";
|
|
14
|
+
export type GlueRecord = import("./glueRecord").GlueRecord;
|
|
15
|
+
export declare const GlueRecord: typeof import("./glueRecord").GlueRecord;
|
|
16
|
+
export { NameserversArgs, NameserversState } from "./nameservers";
|
|
17
|
+
export type Nameservers = import("./nameservers").Nameservers;
|
|
18
|
+
export declare const Nameservers: typeof import("./nameservers").Nameservers;
|
package/domains/index.js
CHANGED
|
@@ -1,47 +1,36 @@
|
|
|
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.Nameservers = exports.GlueRecord = exports.getGlueRecordOutput = exports.getGlueRecord = exports.getDomainOutput = exports.getDomain = exports.Domain = exports.DNSSecKey = void 0;
|
|
19
6
|
const pulumi = require("@pulumi/pulumi");
|
|
20
7
|
const utilities = require("../utilities");
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
8
|
+
exports.DNSSecKey = null;
|
|
9
|
+
utilities.lazyLoad(exports, ["DNSSecKey"], () => require("./dnssecKey"));
|
|
10
|
+
exports.Domain = null;
|
|
11
|
+
utilities.lazyLoad(exports, ["Domain"], () => require("./domain"));
|
|
12
|
+
exports.getDomain = null;
|
|
13
|
+
exports.getDomainOutput = null;
|
|
14
|
+
utilities.lazyLoad(exports, ["getDomain", "getDomainOutput"], () => require("./getDomain"));
|
|
15
|
+
exports.getGlueRecord = null;
|
|
16
|
+
exports.getGlueRecordOutput = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["getGlueRecord", "getGlueRecordOutput"], () => require("./getGlueRecord"));
|
|
18
|
+
exports.GlueRecord = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["GlueRecord"], () => require("./glueRecord"));
|
|
20
|
+
exports.Nameservers = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["Nameservers"], () => require("./nameservers"));
|
|
33
22
|
const _module = {
|
|
34
23
|
version: utilities.getVersion(),
|
|
35
24
|
construct: (name, type, urn) => {
|
|
36
25
|
switch (type) {
|
|
37
26
|
case "gandi:domains/dNSSecKey:DNSSecKey":
|
|
38
|
-
return new
|
|
27
|
+
return new exports.DNSSecKey(name, undefined, { urn });
|
|
39
28
|
case "gandi:domains/domain:Domain":
|
|
40
|
-
return new
|
|
29
|
+
return new exports.Domain(name, undefined, { urn });
|
|
41
30
|
case "gandi:domains/glueRecord:GlueRecord":
|
|
42
|
-
return new
|
|
31
|
+
return new exports.GlueRecord(name, undefined, { urn });
|
|
43
32
|
case "gandi:domains/nameservers:Nameservers":
|
|
44
|
-
return new
|
|
33
|
+
return new exports.Nameservers(name, undefined, { urn });
|
|
45
34
|
default:
|
|
46
35
|
throw new Error(`unknown resource type ${type}`);
|
|
47
36
|
}
|
package/domains/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../domains/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../domains/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAI5D,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,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;AAI1F,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;AAI9D,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAG7E,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,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,6BAA6B;gBAC9B,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,qCAAqC;gBACtC,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,uCAAuC;gBACxC,OAAO,IAAI,mBAAW,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACzD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AACzE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA"}
|
package/domains/nameservers.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.Nameservers = void 0;
|
|
@@ -16,7 +16,7 @@ class Nameservers 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 Nameservers(name, state,
|
|
19
|
+
return new Nameservers(name, state, { ...opts, id: id });
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Returns true if the given object is an instance of Nameservers. This is designed to work even
|
|
@@ -33,16 +33,16 @@ class Nameservers extends pulumi.CustomResource {
|
|
|
33
33
|
opts = opts || {};
|
|
34
34
|
if (opts.id) {
|
|
35
35
|
const state = argsOrState;
|
|
36
|
-
resourceInputs["domain"] = state
|
|
37
|
-
resourceInputs["nameservers"] = state
|
|
36
|
+
resourceInputs["domain"] = state?.domain;
|
|
37
|
+
resourceInputs["nameservers"] = state?.nameservers;
|
|
38
38
|
}
|
|
39
39
|
else {
|
|
40
40
|
const args = argsOrState;
|
|
41
|
-
if (
|
|
41
|
+
if (args?.domain === undefined && !opts.urn) {
|
|
42
42
|
throw new Error("Missing required property 'domain'");
|
|
43
43
|
}
|
|
44
|
-
resourceInputs["domain"] = args
|
|
45
|
-
resourceInputs["nameservers"] = args
|
|
44
|
+
resourceInputs["domain"] = args?.domain;
|
|
45
|
+
resourceInputs["nameservers"] = args?.nameservers;
|
|
46
46
|
}
|
|
47
47
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
48
48
|
super(Nameservers.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nameservers.js","sourceRoot":"","sources":["../../domains/nameservers.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"nameservers.js","sourceRoot":"","sources":["../../domains/nameservers.ts"],"names":[],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