@ptfm/namecheap 2.2.0 → 2.9.3
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/bin/config/index.d.ts +1 -0
- package/bin/config/index.d.ts.map +1 -0
- package/bin/config/vars.d.ts +26 -1
- package/bin/config/vars.d.ts.map +1 -0
- package/bin/config/vars.js +60 -1
- package/bin/config/vars.js.map +1 -1
- package/bin/domainContacts.d.ts +102 -0
- package/bin/domainContacts.d.ts.map +1 -0
- package/bin/domainContacts.js +88 -0
- package/bin/domainContacts.js.map +1 -0
- package/bin/domainHostRecord.d.ts +112 -0
- package/bin/domainHostRecord.d.ts.map +1 -0
- package/bin/domainHostRecord.js +96 -0
- package/bin/domainHostRecord.js.map +1 -0
- package/bin/domainRecords.d.ts +30 -11
- package/bin/domainRecords.d.ts.map +1 -0
- package/bin/domainRecords.js +41 -18
- package/bin/domainRecords.js.map +1 -1
- package/bin/emailForwarding.d.ts +70 -0
- package/bin/emailForwarding.d.ts.map +1 -0
- package/bin/emailForwarding.js +82 -0
- package/bin/emailForwarding.js.map +1 -0
- package/bin/getAccountBalance.d.ts +28 -0
- package/bin/getAccountBalance.d.ts.map +1 -0
- package/bin/getAccountBalance.js +47 -0
- package/bin/getAccountBalance.js.map +1 -0
- package/bin/getDomain.d.ts +53 -0
- package/bin/getDomain.d.ts.map +1 -0
- package/bin/getDomain.js +47 -0
- package/bin/getDomain.js.map +1 -0
- package/bin/getDomainRecords.d.ts +29 -0
- package/bin/getDomainRecords.d.ts.map +1 -0
- package/bin/getDomainRecords.js +47 -0
- package/bin/getDomainRecords.js.map +1 -0
- package/bin/getDomains.d.ts +30 -0
- package/bin/getDomains.d.ts.map +1 -0
- package/bin/getDomains.js +51 -0
- package/bin/getDomains.js.map +1 -0
- package/bin/getTldPricing.d.ts +37 -0
- package/bin/getTldPricing.d.ts.map +1 -0
- package/bin/getTldPricing.js +51 -0
- package/bin/getTldPricing.js.map +1 -0
- package/bin/index.d.ts +29 -3
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +69 -8
- package/bin/index.js.map +1 -1
- package/bin/package.json +7 -10
- package/bin/personalNameserver.d.ts +76 -0
- package/bin/personalNameserver.d.ts.map +1 -0
- package/bin/personalNameserver.js +87 -0
- package/bin/personalNameserver.js.map +1 -0
- package/bin/provider.d.ts +68 -11
- package/bin/provider.d.ts.map +1 -0
- package/bin/provider.js +49 -18
- package/bin/provider.js.map +1 -1
- package/bin/types/index.d.ts +1 -0
- package/bin/types/index.d.ts.map +1 -0
- package/bin/types/index.js +25 -2
- package/bin/types/index.js.map +1 -1
- package/bin/types/input.d.ts +203 -2
- package/bin/types/input.d.ts.map +1 -0
- package/bin/types/output.d.ts +222 -0
- package/bin/types/output.d.ts.map +1 -0
- package/bin/utilities.d.ts +1 -4
- package/bin/utilities.d.ts.map +1 -0
- package/bin/utilities.js +50 -66
- package/bin/utilities.js.map +1 -1
- package/package.json +7 -10
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domainRecords.d.ts","sourceRoot":"","sources":["../domainRecords.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,aAAa;IAO5I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,aAAa;IAOxD;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,C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S,CAAC,CAAC;CAClF;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC/D;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mBAAmB,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAClF"}
|
package/bin/domainRecords.js
CHANGED
|
@@ -1,10 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.DomainRecords = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
8
31
|
class DomainRecords extends pulumi.CustomResource {
|
|
9
32
|
/**
|
|
10
33
|
* Get an existing DomainRecords resource's state with the given name, ID, and optional extra
|
|
@@ -16,8 +39,10 @@ class DomainRecords extends pulumi.CustomResource {
|
|
|
16
39
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
40
|
*/
|
|
18
41
|
static get(name, id, state, opts) {
|
|
19
|
-
return new DomainRecords(name, state,
|
|
42
|
+
return new DomainRecords(name, state, { ...opts, id: id });
|
|
20
43
|
}
|
|
44
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'namecheap:index/domainRecords:DomainRecords';
|
|
21
46
|
/**
|
|
22
47
|
* Returns true if the given object is an instance of DomainRecords. This is designed to work even
|
|
23
48
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -33,30 +58,28 @@ class DomainRecords extends pulumi.CustomResource {
|
|
|
33
58
|
opts = opts || {};
|
|
34
59
|
if (opts.id) {
|
|
35
60
|
const state = argsOrState;
|
|
36
|
-
resourceInputs["domain"] = state
|
|
37
|
-
resourceInputs["domainRecordsId"] = state
|
|
38
|
-
resourceInputs["emailType"] = state
|
|
39
|
-
resourceInputs["mode"] = state
|
|
40
|
-
resourceInputs["nameservers"] = state
|
|
41
|
-
resourceInputs["records"] = state
|
|
61
|
+
resourceInputs["domain"] = state?.domain;
|
|
62
|
+
resourceInputs["domainRecordsId"] = state?.domainRecordsId;
|
|
63
|
+
resourceInputs["emailType"] = state?.emailType;
|
|
64
|
+
resourceInputs["mode"] = state?.mode;
|
|
65
|
+
resourceInputs["nameservers"] = state?.nameservers;
|
|
66
|
+
resourceInputs["records"] = state?.records;
|
|
42
67
|
}
|
|
43
68
|
else {
|
|
44
69
|
const args = argsOrState;
|
|
45
|
-
if (
|
|
70
|
+
if (args?.domain === undefined && !opts.urn) {
|
|
46
71
|
throw new Error("Missing required property 'domain'");
|
|
47
72
|
}
|
|
48
|
-
resourceInputs["domain"] = args
|
|
49
|
-
resourceInputs["domainRecordsId"] = args
|
|
50
|
-
resourceInputs["emailType"] = args
|
|
51
|
-
resourceInputs["mode"] = args
|
|
52
|
-
resourceInputs["nameservers"] = args
|
|
53
|
-
resourceInputs["records"] = args
|
|
73
|
+
resourceInputs["domain"] = args?.domain;
|
|
74
|
+
resourceInputs["domainRecordsId"] = args?.domainRecordsId;
|
|
75
|
+
resourceInputs["emailType"] = args?.emailType;
|
|
76
|
+
resourceInputs["mode"] = args?.mode;
|
|
77
|
+
resourceInputs["nameservers"] = args?.nameservers;
|
|
78
|
+
resourceInputs["records"] = args?.records;
|
|
54
79
|
}
|
|
55
80
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
56
81
|
super(DomainRecords.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
57
82
|
}
|
|
58
83
|
}
|
|
59
84
|
exports.DomainRecords = DomainRecords;
|
|
60
|
-
/** @internal */
|
|
61
|
-
DomainRecords.__pulumiType = 'namecheap:index/domainRecords:DomainRecords';
|
|
62
85
|
//# sourceMappingURL=domainRecords.js.map
|
package/bin/domainRecords.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainRecords.js","sourceRoot":"","sources":["../domainRecords.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"domainRecords.js","sourceRoot":"","sources":["../domainRecords.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,6CAA6C,CAAC;IAEpF;;;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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IAgCD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,EAAE,eAAe,CAAC;YAC3D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC;YACrC,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,EAAE,OAAO,CAAC;SAC9C;aAAM;YACH,MAAM,IAAI,GAAG,WAA4C,CAAC;YAC1D,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAChH,CAAC;;AAnFL,sCAoFC"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class EmailForwarding extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing EmailForwarding 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?: EmailForwardingState, opts?: pulumi.CustomResourceOptions): EmailForwarding;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of EmailForwarding. 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 EmailForwarding;
|
|
18
|
+
/**
|
|
19
|
+
* The registered root domain whose email forwarding is managed (e.g. "example.com"). Must be a root domain, not a subdomain.
|
|
20
|
+
*/
|
|
21
|
+
readonly domain: pulumi.Output<string>;
|
|
22
|
+
readonly emailForwardingId: pulumi.Output<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Map of mailbox alias to destination email address, e.g. { info = "me@example.com" }. Use "*" as the alias for a catch-all. This resource owns the domain's entire forwarding table: it must be non-empty (destroy the resource to clear all forwarding) and any rule not listed here is removed on the next apply.
|
|
25
|
+
*/
|
|
26
|
+
readonly forwards: pulumi.Output<{
|
|
27
|
+
[key: string]: string;
|
|
28
|
+
}>;
|
|
29
|
+
/**
|
|
30
|
+
* Create a EmailForwarding resource with the given unique name, arguments, and options.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resource.
|
|
33
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
34
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
35
|
+
*/
|
|
36
|
+
constructor(name: string, args: EmailForwardingArgs, opts?: pulumi.CustomResourceOptions);
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Input properties used for looking up and filtering EmailForwarding resources.
|
|
40
|
+
*/
|
|
41
|
+
export interface EmailForwardingState {
|
|
42
|
+
/**
|
|
43
|
+
* The registered root domain whose email forwarding is managed (e.g. "example.com"). Must be a root domain, not a subdomain.
|
|
44
|
+
*/
|
|
45
|
+
domain?: pulumi.Input<string | undefined>;
|
|
46
|
+
emailForwardingId?: pulumi.Input<string | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* Map of mailbox alias to destination email address, e.g. { info = "me@example.com" }. Use "*" as the alias for a catch-all. This resource owns the domain's entire forwarding table: it must be non-empty (destroy the resource to clear all forwarding) and any rule not listed here is removed on the next apply.
|
|
49
|
+
*/
|
|
50
|
+
forwards?: pulumi.Input<{
|
|
51
|
+
[key: string]: pulumi.Input<string>;
|
|
52
|
+
} | undefined>;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The set of arguments for constructing a EmailForwarding resource.
|
|
56
|
+
*/
|
|
57
|
+
export interface EmailForwardingArgs {
|
|
58
|
+
/**
|
|
59
|
+
* The registered root domain whose email forwarding is managed (e.g. "example.com"). Must be a root domain, not a subdomain.
|
|
60
|
+
*/
|
|
61
|
+
domain: pulumi.Input<string>;
|
|
62
|
+
emailForwardingId?: pulumi.Input<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Map of mailbox alias to destination email address, e.g. { info = "me@example.com" }. Use "*" as the alias for a catch-all. This resource owns the domain's entire forwarding table: it must be non-empty (destroy the resource to clear all forwarding) and any rule not listed here is removed on the next apply.
|
|
65
|
+
*/
|
|
66
|
+
forwards: pulumi.Input<{
|
|
67
|
+
[key: string]: pulumi.Input<string>;
|
|
68
|
+
}>;
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=emailForwarding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emailForwarding.d.ts","sourceRoot":"","sources":["../emailForwarding.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,eAAgB,S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AE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrD;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,CAAC,CAAC;CACjE"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.EmailForwarding = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class EmailForwarding extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing EmailForwarding resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new EmailForwarding(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'namecheap:index/emailForwarding:EmailForwarding';
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of EmailForwarding. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === EmailForwarding.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["domain"] = state?.domain;
|
|
62
|
+
resourceInputs["emailForwardingId"] = state?.emailForwardingId;
|
|
63
|
+
resourceInputs["forwards"] = state?.forwards;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
const args = argsOrState;
|
|
67
|
+
if (args?.domain === undefined && !opts.urn) {
|
|
68
|
+
throw new Error("Missing required property 'domain'");
|
|
69
|
+
}
|
|
70
|
+
if (args?.forwards === undefined && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'forwards'");
|
|
72
|
+
}
|
|
73
|
+
resourceInputs["domain"] = args?.domain;
|
|
74
|
+
resourceInputs["emailForwardingId"] = args?.emailForwardingId;
|
|
75
|
+
resourceInputs["forwards"] = args?.forwards;
|
|
76
|
+
}
|
|
77
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
|
+
super(EmailForwarding.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.EmailForwarding = EmailForwarding;
|
|
82
|
+
//# sourceMappingURL=emailForwarding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emailForwarding.js","sourceRoot":"","sources":["../emailForwarding.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,iDAAiD,CAAC;IAExF;;;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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAoBD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB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etAccountBalanceResult>;
|
|
3
|
+
/**
|
|
4
|
+
* A collection of arguments for invoking getAccountBalance.
|
|
5
|
+
*/
|
|
6
|
+
export interface GetAccountBalanceArgs {
|
|
7
|
+
id?: string;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* A collection of values returned by getAccountBalance.
|
|
11
|
+
*/
|
|
12
|
+
export interface GetAccountBalanceResult {
|
|
13
|
+
readonly accountBalance: string;
|
|
14
|
+
readonly availableBalance: string;
|
|
15
|
+
readonly currency: string;
|
|
16
|
+
readonly earnedAmount: string;
|
|
17
|
+
readonly fundsRequiredForAutoRenew: string;
|
|
18
|
+
readonly id: string;
|
|
19
|
+
readonly withdrawableAmount: string;
|
|
20
|
+
}
|
|
21
|
+
export declare function getAccountBalanceOutput(args?: GetAccountBalanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccountBalanceResult>;
|
|
22
|
+
/**
|
|
23
|
+
* A collection of arguments for invoking getAccountBalance.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetAccountBalanceOutputArgs {
|
|
26
|
+
id?: pulumi.Input<string | undefined>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=getAccountBalance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountBalance.d.ts","sourceRoot":"","sources":["../getAccountBalance.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAM7H;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAC3C,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;CACvC;AACD,wBAAgB,uBAAuB,CAAC,IAAI,CAAC,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAMrJ;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACzC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getAccountBalanceOutput = exports.getAccountBalance = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
function getAccountBalance(args, opts) {
|
|
32
|
+
args = args || {};
|
|
33
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
34
|
+
return pulumi.runtime.invoke("namecheap:index/getAccountBalance:getAccountBalance", {
|
|
35
|
+
"id": args.id,
|
|
36
|
+
}, opts, utilities.getPackage());
|
|
37
|
+
}
|
|
38
|
+
exports.getAccountBalance = getAccountBalance;
|
|
39
|
+
function getAccountBalanceOutput(args, opts) {
|
|
40
|
+
args = args || {};
|
|
41
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
42
|
+
return pulumi.runtime.invokeOutput("namecheap:index/getAccountBalance:getAccountBalance", {
|
|
43
|
+
"id": args.id,
|
|
44
|
+
}, opts, utilities.getPackage());
|
|
45
|
+
}
|
|
46
|
+
exports.getAccountBalanceOutput = getAccountBalanceOutput;
|
|
47
|
+
//# sourceMappingURL=getAccountBalance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAccountBalance.js","sourceRoot":"","sources":["../getAccountBalance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAND,8CAMC;AAqBD,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAAiC;IACzG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qDAAqD,EAAE;QACtF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAND,0DAMC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
domain: string;
|
|
8
|
+
id?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* A collection of values returned by getDomain.
|
|
12
|
+
*/
|
|
13
|
+
export interface GetDomainResult {
|
|
14
|
+
readonly autoRenew: boolean;
|
|
15
|
+
readonly created: string;
|
|
16
|
+
readonly dnsProviderType: string;
|
|
17
|
+
readonly domain: string;
|
|
18
|
+
readonly dynamicDnsStatus: boolean;
|
|
19
|
+
readonly emailType: string;
|
|
20
|
+
readonly expires: string;
|
|
21
|
+
readonly expiresInDays: number;
|
|
22
|
+
readonly hostCount: number;
|
|
23
|
+
readonly id: string;
|
|
24
|
+
readonly isExpired: boolean;
|
|
25
|
+
readonly isFailover: boolean;
|
|
26
|
+
readonly isLocked: boolean;
|
|
27
|
+
readonly isOurDns: boolean;
|
|
28
|
+
readonly isOwner: boolean;
|
|
29
|
+
readonly isPremium: boolean;
|
|
30
|
+
readonly isPremiumDns: boolean;
|
|
31
|
+
readonly modificationRights: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
readonly modificationRightsAll: boolean;
|
|
35
|
+
readonly nameservers: string[];
|
|
36
|
+
readonly ownerName: string;
|
|
37
|
+
readonly premiumDnsAutoRenew: boolean;
|
|
38
|
+
readonly premiumDnsExpires: string;
|
|
39
|
+
readonly status: string;
|
|
40
|
+
readonly whoisGuard: string;
|
|
41
|
+
readonly whoisGuardEmail: string;
|
|
42
|
+
readonly whoisGuardExpires: string;
|
|
43
|
+
readonly whoisGuardForwardedTo: string;
|
|
44
|
+
}
|
|
45
|
+
export declare function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainResult>;
|
|
46
|
+
/**
|
|
47
|
+
* A collection of arguments for invoking getDomain.
|
|
48
|
+
*/
|
|
49
|
+
export interface GetDomainOutputArgs {
|
|
50
|
+
domain: pulumi.Input<string>;
|
|
51
|
+
id?: pulumi.Input<string | undefined>;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=getDomain.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDomain.d.ts","sourceRoot":"","sources":["../getDomain.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,wBAAgB,SAAS,CAAC,IAAI,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,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,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;CAC1C;AACD,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,CAM5H;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACzC"}
|
package/bin/getDomain.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getDomainOutput = exports.getDomain = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
function getDomain(args, opts) {
|
|
32
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
33
|
+
return pulumi.runtime.invoke("namecheap:index/getDomain:getDomain", {
|
|
34
|
+
"domain": args.domain,
|
|
35
|
+
"id": args.id,
|
|
36
|
+
}, opts, utilities.getPackage());
|
|
37
|
+
}
|
|
38
|
+
exports.getDomain = getDomain;
|
|
39
|
+
function getDomainOutput(args, opts) {
|
|
40
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
41
|
+
return pulumi.runtime.invokeOutput("namecheap:index/getDomain:getDomain", {
|
|
42
|
+
"domain": args.domain,
|
|
43
|
+
"id": args.id,
|
|
44
|
+
}, opts, utilities.getPackage());
|
|
45
|
+
}
|
|
46
|
+
exports.getDomainOutput = getDomainOutput;
|
|
47
|
+
//# sourceMappingURL=getDomain.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDomain.js","sourceRoot":"","sources":["../getDomain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC,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,qCAAqC,EAAE;QAChE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAND,8BAMC;AA2CD,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,qCAAqC,EAAE;QACtE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAND,0CAMC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
export declare function getDomainRecords(args: GetDomainRecordsArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainRecordsResult>;
|
|
4
|
+
/**
|
|
5
|
+
* A collection of arguments for invoking getDomainRecords.
|
|
6
|
+
*/
|
|
7
|
+
export interface GetDomainRecordsArgs {
|
|
8
|
+
domain: string;
|
|
9
|
+
id?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* A collection of values returned by getDomainRecords.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetDomainRecordsResult {
|
|
15
|
+
readonly domain: string;
|
|
16
|
+
readonly emailType: string;
|
|
17
|
+
readonly id: string;
|
|
18
|
+
readonly nameservers: string[];
|
|
19
|
+
readonly records: outputs.GetDomainRecordsRecord[];
|
|
20
|
+
}
|
|
21
|
+
export declare function getDomainRecordsOutput(args: GetDomainRecordsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainRecordsResult>;
|
|
22
|
+
/**
|
|
23
|
+
* A collection of arguments for invoking getDomainRecords.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetDomainRecordsOutputArgs {
|
|
26
|
+
domain: pulumi.Input<string>;
|
|
27
|
+
id?: pulumi.Input<string | undefined>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=getDomainRecords.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDomainRecords.d.ts","sourceRoot":"","sources":["../getDomainRecords.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,sBAAsB,CAAC,CAMzH;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,WAAW,EAAE,MAAM,EAAE,CAAC;IAC/B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,sBAAsB,EAAE,CAAC;CACtD;AACD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,sBAAsB,CAAC,CAMjJ;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACzC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getDomainRecordsOutput = exports.getDomainRecords = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
function getDomainRecords(args, opts) {
|
|
32
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
33
|
+
return pulumi.runtime.invoke("namecheap:index/getDomainRecords:getDomainRecords", {
|
|
34
|
+
"domain": args.domain,
|
|
35
|
+
"id": args.id,
|
|
36
|
+
}, opts, utilities.getPackage());
|
|
37
|
+
}
|
|
38
|
+
exports.getDomainRecords = getDomainRecords;
|
|
39
|
+
function getDomainRecordsOutput(args, opts) {
|
|
40
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
41
|
+
return pulumi.runtime.invokeOutput("namecheap:index/getDomainRecords:getDomainRecords", {
|
|
42
|
+
"domain": args.domain,
|
|
43
|
+
"id": args.id,
|
|
44
|
+
}, opts, utilities.getPackage());
|
|
45
|
+
}
|
|
46
|
+
exports.getDomainRecordsOutput = getDomainRecordsOutput;
|
|
47
|
+
//# sourceMappingURL=getDomainRecords.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDomainRecords.js","sourceRoot":"","sources":["../getDomainRecords.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mDAAmD,EAAE;QAC9E,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAND,4CAMC;AAoBD,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mDAAmD,EAAE;QACpF,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;AACrC,CAAC;AAND,wDAMC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
export declare function getDomains(args?: GetDomainsArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainsResult>;
|
|
4
|
+
/**
|
|
5
|
+
* A collection of arguments for invoking getDomains.
|
|
6
|
+
*/
|
|
7
|
+
export interface GetDomainsArgs {
|
|
8
|
+
id?: string;
|
|
9
|
+
listType?: string;
|
|
10
|
+
searchTerm?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* A collection of values returned by getDomains.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDomainsResult {
|
|
16
|
+
readonly domains: outputs.GetDomainsDomain[];
|
|
17
|
+
readonly id: string;
|
|
18
|
+
readonly listType?: string;
|
|
19
|
+
readonly searchTerm?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare function getDomainsOutput(args?: GetDomainsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainsResult>;
|
|
22
|
+
/**
|
|
23
|
+
* A collection of arguments for invoking getDomains.
|
|
24
|
+
*/
|
|
25
|
+
export interface GetDomainsOutputArgs {
|
|
26
|
+
id?: pulumi.Input<string | undefined>;
|
|
27
|
+
listType?: pulumi.Input<string | undefined>;
|
|
28
|
+
searchTerm?: pulumi.Input<string | undefined>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=getDomains.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDomains.d.ts","sourceRoot":"","sources":["../getDomains.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,wBAAgB,UAAU,CAAC,IAAI,CAAC,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAQxG;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAC7C,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAChC;AACD,wBAAgB,gBAAgB,CAAC,IAAI,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAQhI;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,C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