@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
package/bin/config/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
|
package/bin/config/vars.d.ts
CHANGED
|
@@ -7,9 +7,33 @@ export declare const apiKey: string | undefined;
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const apiUser: string | undefined;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* The public IP address the Namecheap API sees as the caller; it must be whitelisted at https://ap.www.namecheap.com/settings/tools/apiaccess/whitelisted-ips. Leaving it unset now auto-detects this machine's public IP address via an outbound HTTPS request to api.ipify.org (previously it defaulted to the non-functional 0.0.0.0); if that request fails (for example on a host with no outbound network access), provider configuration fails with guidance to set<span pulumi-lang-nodejs=" clientIp " pulumi-lang-dotnet=" ClientIp " pulumi-lang-go=" clientIp " pulumi-lang-python=" client_ip " pulumi-lang-yaml=" clientIp " pulumi-lang-java=" clientIp " pulumi-lang-hcl=" client_ip "> clientIp </span>explicitly.
|
|
11
11
|
*/
|
|
12
12
|
export declare const clientIp: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* Total number of attempts (including the first) for a single API call before giving up. Must be >= 0. Defaults to 4, matching the SDK's built-in retry policy. Note: because the underlying SDK treats a zero value as "unset", setting this to 0 falls back to the SDK default of 4 attempts rather than disabling retries.
|
|
15
|
+
*/
|
|
16
|
+
export declare const maxRetries: number | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* Timeout applied to the underlying HTTP client for a single request to the Namecheap API, as a Go duration string (e.g. "30s", "1m"). Must parse and be greater than zero. Defaults to "30s".
|
|
19
|
+
*/
|
|
20
|
+
export declare const requestTimeout: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Client-side rate limit applied to the Namecheap API, in requests per minute. Must be between 1 and 20 (Namecheap's documented primary quota). Defaults to 20, matching the SDK's built-in limiter.
|
|
23
|
+
*/
|
|
24
|
+
export declare const requestsPerMinute: number | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* First backoff delay before a retried API call, as a Go duration string (e.g. "500ms", "5s"). Subsequent delays double up to retry_max_delay, and each one is then jittered to between 50% and 100% of that value. Must parse, be greater than zero, and not exceed retry_max_delay. Defaults to "500ms", matching the SDK's built-in retry policy. Raise it when the API is rate-limiting: waiting longer between fewer attempts costs less quota than retrying quickly, because every attempt is itself a request.
|
|
27
|
+
*/
|
|
28
|
+
export declare const retryBaseDelay: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Cap on any single backoff delay between retried API calls, as a Go duration string (e.g. "30s", "1m"). Must parse, be greater than zero, and be at least retry_base_delay. Defaults to "30s", matching the SDK's built-in retry policy.
|
|
31
|
+
*/
|
|
32
|
+
export declare const retryMaxDelay: string | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Maximum total wall-clock time to spend retrying a single API call, as a Go duration string (e.g. "2m", "90s"). Must parse and be greater than zero. Defaults to "2m", matching the SDK's built-in retry policy.
|
|
35
|
+
*/
|
|
36
|
+
export declare const retryMaxElapsed: string | undefined;
|
|
13
37
|
/**
|
|
14
38
|
* Use sandbox API endpoints
|
|
15
39
|
*/
|
|
@@ -18,3 +42,4 @@ export declare const useSandbox: boolean | undefined;
|
|
|
18
42
|
* A registered user name for namecheap
|
|
19
43
|
*/
|
|
20
44
|
export declare const userName: string | undefined;
|
|
45
|
+
//# sourceMappingURL=vars.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vars.d.ts","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":"AASA;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;AAQhD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;AAQjD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;AAQlD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;AAQpD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;AAQxD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,iBAAiB,EAAE,MAAM,GAAG,SAAS,CAAC;AAQ3D;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,cAAc,EAAE,MAAM,GAAG,SAAS,CAAC;AAQxD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;AAQvD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;AAQzD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,UAAU,EAAE,OAAO,GAAG,SAAS,CAAC;AAQrD;;GAEG;AACH,MAAM,CAAC,OAAO,CAAC,MAAM,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC"}
|
package/bin/config/vars.js
CHANGED
|
@@ -1,8 +1,31 @@
|
|
|
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
|
-
const pulumi = require("@pulumi/pulumi");
|
|
28
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
6
29
|
const __config = new pulumi.Config("namecheap");
|
|
7
30
|
Object.defineProperty(exports, "apiKey", {
|
|
8
31
|
get() {
|
|
@@ -22,6 +45,42 @@ Object.defineProperty(exports, "clientIp", {
|
|
|
22
45
|
},
|
|
23
46
|
enumerable: true,
|
|
24
47
|
});
|
|
48
|
+
Object.defineProperty(exports, "maxRetries", {
|
|
49
|
+
get() {
|
|
50
|
+
return __config.getObject("maxRetries");
|
|
51
|
+
},
|
|
52
|
+
enumerable: true,
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "requestTimeout", {
|
|
55
|
+
get() {
|
|
56
|
+
return __config.get("requestTimeout");
|
|
57
|
+
},
|
|
58
|
+
enumerable: true,
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "requestsPerMinute", {
|
|
61
|
+
get() {
|
|
62
|
+
return __config.getObject("requestsPerMinute");
|
|
63
|
+
},
|
|
64
|
+
enumerable: true,
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "retryBaseDelay", {
|
|
67
|
+
get() {
|
|
68
|
+
return __config.get("retryBaseDelay");
|
|
69
|
+
},
|
|
70
|
+
enumerable: true,
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "retryMaxDelay", {
|
|
73
|
+
get() {
|
|
74
|
+
return __config.get("retryMaxDelay");
|
|
75
|
+
},
|
|
76
|
+
enumerable: true,
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "retryMaxElapsed", {
|
|
79
|
+
get() {
|
|
80
|
+
return __config.get("retryMaxElapsed");
|
|
81
|
+
},
|
|
82
|
+
enumerable: true,
|
|
83
|
+
});
|
|
25
84
|
Object.defineProperty(exports, "useSandbox", {
|
|
26
85
|
get() {
|
|
27
86
|
return __config.getObject("useSandbox");
|
package/bin/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"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C,cAAc,CAAC,OAAO,EAAE,gBAAgB,EAAE;IAC7C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;IAC1C,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,eAAe,EAAE;IAC5C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IACzC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,iBAAiB,EAAE;IAC9C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAC3C,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,YAAY,EAAE;IACzC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,YAAY,CAAC,CAAC;IACrD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;IACpC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class DomainContacts extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing DomainContacts resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainContactsState, opts?: pulumi.CustomResourceOptions): DomainContacts;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of DomainContacts. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is DomainContacts;
|
|
20
|
+
/**
|
|
21
|
+
* Admin contact. Optional; defaults to the registrant contact when omitted.
|
|
22
|
+
*/
|
|
23
|
+
readonly admin: pulumi.Output<outputs.DomainContactsAdmin | undefined>;
|
|
24
|
+
/**
|
|
25
|
+
* AuxBilling contact. Optional; defaults to the registrant contact when omitted.
|
|
26
|
+
*/
|
|
27
|
+
readonly auxBilling: pulumi.Output<outputs.DomainContactsAuxBilling | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* Purchased available domain name on your account whose WHOIS contacts are managed.
|
|
30
|
+
*/
|
|
31
|
+
readonly domain: pulumi.Output<string>;
|
|
32
|
+
readonly domainContactsId: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* Registrant contact. Required.
|
|
35
|
+
*/
|
|
36
|
+
readonly registrant: pulumi.Output<outputs.DomainContactsRegistrant>;
|
|
37
|
+
/**
|
|
38
|
+
* Tech contact. Optional; defaults to the registrant contact when omitted.
|
|
39
|
+
*/
|
|
40
|
+
readonly tech: pulumi.Output<outputs.DomainContactsTech | undefined>;
|
|
41
|
+
/**
|
|
42
|
+
* Create a DomainContacts resource with the given unique name, arguments, and options.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resource.
|
|
45
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
46
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
47
|
+
*/
|
|
48
|
+
constructor(name: string, args: DomainContactsArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Input properties used for looking up and filtering DomainContacts resources.
|
|
52
|
+
*/
|
|
53
|
+
export interface DomainContactsState {
|
|
54
|
+
/**
|
|
55
|
+
* Admin contact. Optional; defaults to the registrant contact when omitted.
|
|
56
|
+
*/
|
|
57
|
+
admin?: pulumi.Input<inputs.DomainContactsAdmin | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* AuxBilling contact. Optional; defaults to the registrant contact when omitted.
|
|
60
|
+
*/
|
|
61
|
+
auxBilling?: pulumi.Input<inputs.DomainContactsAuxBilling | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* Purchased available domain name on your account whose WHOIS contacts are managed.
|
|
64
|
+
*/
|
|
65
|
+
domain?: pulumi.Input<string | undefined>;
|
|
66
|
+
domainContactsId?: pulumi.Input<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Registrant contact. Required.
|
|
69
|
+
*/
|
|
70
|
+
registrant?: pulumi.Input<inputs.DomainContactsRegistrant | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* Tech contact. Optional; defaults to the registrant contact when omitted.
|
|
73
|
+
*/
|
|
74
|
+
tech?: pulumi.Input<inputs.DomainContactsTech | undefined>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The set of arguments for constructing a DomainContacts resource.
|
|
78
|
+
*/
|
|
79
|
+
export interface DomainContactsArgs {
|
|
80
|
+
/**
|
|
81
|
+
* Admin contact. Optional; defaults to the registrant contact when omitted.
|
|
82
|
+
*/
|
|
83
|
+
admin?: pulumi.Input<inputs.DomainContactsAdmin | undefined>;
|
|
84
|
+
/**
|
|
85
|
+
* AuxBilling contact. Optional; defaults to the registrant contact when omitted.
|
|
86
|
+
*/
|
|
87
|
+
auxBilling?: pulumi.Input<inputs.DomainContactsAuxBilling | undefined>;
|
|
88
|
+
/**
|
|
89
|
+
* Purchased available domain name on your account whose WHOIS contacts are managed.
|
|
90
|
+
*/
|
|
91
|
+
domain: pulumi.Input<string>;
|
|
92
|
+
domainContactsId?: pulumi.Input<string | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* Registrant contact. Required.
|
|
95
|
+
*/
|
|
96
|
+
registrant: pulumi.Input<inputs.DomainContactsRegistrant>;
|
|
97
|
+
/**
|
|
98
|
+
* Tech contact. Optional; defaults to the registrant contact when omitted.
|
|
99
|
+
*/
|
|
100
|
+
tech?: pulumi.Input<inputs.DomainContactsTech | undefined>;
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=domainContacts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domainContacts.d.ts","sourceRoot":"","sources":["../domainContacts.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,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,cAAc;IAO9I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,cAAc;IAOzD;;OAEG;IACH,SAAwB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IACtF;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IAChG;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD,SAAwB,gBAAgB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,GAAG,SAAS,CAAC,CAAC;IACvE;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAAC;IAC1D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;CAC9D"}
|
|
@@ -0,0 +1,88 @@
|
|
|
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.DomainContacts = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class DomainContacts extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing DomainContacts 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 DomainContacts(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'namecheap:index/domainContacts:DomainContacts';
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of DomainContacts. 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'] === DomainContacts.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["admin"] = state?.admin;
|
|
62
|
+
resourceInputs["auxBilling"] = state?.auxBilling;
|
|
63
|
+
resourceInputs["domain"] = state?.domain;
|
|
64
|
+
resourceInputs["domainContactsId"] = state?.domainContactsId;
|
|
65
|
+
resourceInputs["registrant"] = state?.registrant;
|
|
66
|
+
resourceInputs["tech"] = state?.tech;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const args = argsOrState;
|
|
70
|
+
if (args?.domain === undefined && !opts.urn) {
|
|
71
|
+
throw new Error("Missing required property 'domain'");
|
|
72
|
+
}
|
|
73
|
+
if (args?.registrant === undefined && !opts.urn) {
|
|
74
|
+
throw new Error("Missing required property 'registrant'");
|
|
75
|
+
}
|
|
76
|
+
resourceInputs["admin"] = args?.admin;
|
|
77
|
+
resourceInputs["auxBilling"] = args?.auxBilling;
|
|
78
|
+
resourceInputs["domain"] = args?.domain;
|
|
79
|
+
resourceInputs["domainContactsId"] = args?.domainContactsId;
|
|
80
|
+
resourceInputs["registrant"] = args?.registrant;
|
|
81
|
+
resourceInputs["tech"] = args?.tech;
|
|
82
|
+
}
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
|
+
super(DomainContacts.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.DomainContacts = DomainContacts;
|
|
88
|
+
//# sourceMappingURL=domainContacts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domainContacts.js","sourceRoot":"","sources":["../domainContacts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC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,KAAK,CAAC;YACtC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,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,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACjH,CAAC;;AAtFL,wCAuFC"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class DomainHostRecord extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing DomainHostRecord 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?: DomainHostRecordState, opts?: pulumi.CustomResourceOptions): DomainHostRecord;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of DomainHostRecord. 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 DomainHostRecord;
|
|
18
|
+
/**
|
|
19
|
+
* The record's value, whose meaning depends on <span pulumi-lang-nodejs="`type`" pulumi-lang-dotnet="`Type`" pulumi-lang-go="`type`" pulumi-lang-python="`type`" pulumi-lang-yaml="`type`" pulumi-lang-java="`type`" pulumi-lang-hcl="`type`">`type`</span>: an IP address for A/AAAA, a hostname for CNAME/MX/NS, arbitrary text for TXT, a URL for URL/URL301/FRAME. Changing this does not force a new resource: the existing record is edited, in one write that swaps the value, so the name never stops resolving. The resource id is re-rendered, since the address is part of it.
|
|
20
|
+
*/
|
|
21
|
+
readonly address: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* The registered root domain the record belongs to (e.g. `example.com`). Must be a root domain on the account, not a subdomain. Changing this forces a new resource.
|
|
24
|
+
*/
|
|
25
|
+
readonly domain: pulumi.Output<string>;
|
|
26
|
+
readonly domainHostRecordId: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* The sub-domain the record answers for, or `@` for the domain itself (e.g. <span pulumi-lang-nodejs="`www`" pulumi-lang-dotnet="`Www`" pulumi-lang-go="`www`" pulumi-lang-python="`www`" pulumi-lang-yaml="`www`" pulumi-lang-java="`www`" pulumi-lang-hcl="`www`">`www`</span>). Changing this forces a new resource, because the host is part of the record's identity.
|
|
29
|
+
*/
|
|
30
|
+
readonly hostname: pulumi.Output<string>;
|
|
31
|
+
/**
|
|
32
|
+
* The MX preference, lower being preferred, between 0 and 255. Applies to MX records only — Namecheap stores a fixed 10 for every other type, so the value is ignored there rather than fought over. For MX records it is part of what identifies the record, so a primary and a backup mail server can name the same host.
|
|
33
|
+
*/
|
|
34
|
+
readonly mxPref: pulumi.Output<number | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* Time to live in seconds, between 60 and 60000. Changing this edits the existing record rather than forcing a new resource.
|
|
37
|
+
*/
|
|
38
|
+
readonly ttl: pulumi.Output<number | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* The record type: A, AAAA, ALIAS, CAA, CNAME, MX, MXE, NS, TXT, URL, URL301, FRAME. Changing this forces a new resource. MX and MXE records additionally require the domain's email routing to be set accordingly — see the resource documentation.
|
|
41
|
+
*/
|
|
42
|
+
readonly type: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Create a DomainHostRecord resource with the given unique name, arguments, and options.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resource.
|
|
47
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
48
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
49
|
+
*/
|
|
50
|
+
constructor(name: string, args: DomainHostRecordArgs, opts?: pulumi.CustomResourceOptions);
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Input properties used for looking up and filtering DomainHostRecord resources.
|
|
54
|
+
*/
|
|
55
|
+
export interface DomainHostRecordState {
|
|
56
|
+
/**
|
|
57
|
+
* The record's value, whose meaning depends on <span pulumi-lang-nodejs="`type`" pulumi-lang-dotnet="`Type`" pulumi-lang-go="`type`" pulumi-lang-python="`type`" pulumi-lang-yaml="`type`" pulumi-lang-java="`type`" pulumi-lang-hcl="`type`">`type`</span>: an IP address for A/AAAA, a hostname for CNAME/MX/NS, arbitrary text for TXT, a URL for URL/URL301/FRAME. Changing this does not force a new resource: the existing record is edited, in one write that swaps the value, so the name never stops resolving. The resource id is re-rendered, since the address is part of it.
|
|
58
|
+
*/
|
|
59
|
+
address?: pulumi.Input<string | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* The registered root domain the record belongs to (e.g. `example.com`). Must be a root domain on the account, not a subdomain. Changing this forces a new resource.
|
|
62
|
+
*/
|
|
63
|
+
domain?: pulumi.Input<string | undefined>;
|
|
64
|
+
domainHostRecordId?: pulumi.Input<string | undefined>;
|
|
65
|
+
/**
|
|
66
|
+
* The sub-domain the record answers for, or `@` for the domain itself (e.g. <span pulumi-lang-nodejs="`www`" pulumi-lang-dotnet="`Www`" pulumi-lang-go="`www`" pulumi-lang-python="`www`" pulumi-lang-yaml="`www`" pulumi-lang-java="`www`" pulumi-lang-hcl="`www`">`www`</span>). Changing this forces a new resource, because the host is part of the record's identity.
|
|
67
|
+
*/
|
|
68
|
+
hostname?: pulumi.Input<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* The MX preference, lower being preferred, between 0 and 255. Applies to MX records only — Namecheap stores a fixed 10 for every other type, so the value is ignored there rather than fought over. For MX records it is part of what identifies the record, so a primary and a backup mail server can name the same host.
|
|
71
|
+
*/
|
|
72
|
+
mxPref?: pulumi.Input<number | undefined>;
|
|
73
|
+
/**
|
|
74
|
+
* Time to live in seconds, between 60 and 60000. Changing this edits the existing record rather than forcing a new resource.
|
|
75
|
+
*/
|
|
76
|
+
ttl?: pulumi.Input<number | undefined>;
|
|
77
|
+
/**
|
|
78
|
+
* The record type: A, AAAA, ALIAS, CAA, CNAME, MX, MXE, NS, TXT, URL, URL301, FRAME. Changing this forces a new resource. MX and MXE records additionally require the domain's email routing to be set accordingly — see the resource documentation.
|
|
79
|
+
*/
|
|
80
|
+
type?: pulumi.Input<string | undefined>;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The set of arguments for constructing a DomainHostRecord resource.
|
|
84
|
+
*/
|
|
85
|
+
export interface DomainHostRecordArgs {
|
|
86
|
+
/**
|
|
87
|
+
* The record's value, whose meaning depends on <span pulumi-lang-nodejs="`type`" pulumi-lang-dotnet="`Type`" pulumi-lang-go="`type`" pulumi-lang-python="`type`" pulumi-lang-yaml="`type`" pulumi-lang-java="`type`" pulumi-lang-hcl="`type`">`type`</span>: an IP address for A/AAAA, a hostname for CNAME/MX/NS, arbitrary text for TXT, a URL for URL/URL301/FRAME. Changing this does not force a new resource: the existing record is edited, in one write that swaps the value, so the name never stops resolving. The resource id is re-rendered, since the address is part of it.
|
|
88
|
+
*/
|
|
89
|
+
address: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The registered root domain the record belongs to (e.g. `example.com`). Must be a root domain on the account, not a subdomain. Changing this forces a new resource.
|
|
92
|
+
*/
|
|
93
|
+
domain: pulumi.Input<string>;
|
|
94
|
+
domainHostRecordId?: pulumi.Input<string | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* The sub-domain the record answers for, or `@` for the domain itself (e.g. <span pulumi-lang-nodejs="`www`" pulumi-lang-dotnet="`Www`" pulumi-lang-go="`www`" pulumi-lang-python="`www`" pulumi-lang-yaml="`www`" pulumi-lang-java="`www`" pulumi-lang-hcl="`www`">`www`</span>). Changing this forces a new resource, because the host is part of the record's identity.
|
|
97
|
+
*/
|
|
98
|
+
hostname: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The MX preference, lower being preferred, between 0 and 255. Applies to MX records only — Namecheap stores a fixed 10 for every other type, so the value is ignored there rather than fought over. For MX records it is part of what identifies the record, so a primary and a backup mail server can name the same host.
|
|
101
|
+
*/
|
|
102
|
+
mxPref?: pulumi.Input<number | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* Time to live in seconds, between 60 and 60000. Changing this edits the existing record rather than forcing a new resource.
|
|
105
|
+
*/
|
|
106
|
+
ttl?: pulumi.Input<number | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* The record type: A, AAAA, ALIAS, CAA, CNAME, MX, MXE, NS, TXT, URL, URL301, FRAME. Changing this forces a new resource. MX and MXE records additionally require the domain's email routing to be set accordingly — see the resource documentation.
|
|
109
|
+
*/
|
|
110
|
+
type: pulumi.Input<string>;
|
|
111
|
+
}
|
|
112
|
+
//# sourceMappingURL=domainHostRecord.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domainHostRecord.d.ts","sourceRoot":"","sources":["../domainHostRecord.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,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,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAC9B"}
|
|
@@ -0,0 +1,96 @@
|
|
|
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.DomainHostRecord = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class DomainHostRecord extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing DomainHostRecord 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 DomainHostRecord(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'namecheap:index/domainHostRecord:DomainHostRecord';
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of DomainHostRecord. 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'] === DomainHostRecord.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["address"] = state?.address;
|
|
62
|
+
resourceInputs["domain"] = state?.domain;
|
|
63
|
+
resourceInputs["domainHostRecordId"] = state?.domainHostRecordId;
|
|
64
|
+
resourceInputs["hostname"] = state?.hostname;
|
|
65
|
+
resourceInputs["mxPref"] = state?.mxPref;
|
|
66
|
+
resourceInputs["ttl"] = state?.ttl;
|
|
67
|
+
resourceInputs["type"] = state?.type;
|
|
68
|
+
}
|
|
69
|
+
else {
|
|
70
|
+
const args = argsOrState;
|
|
71
|
+
if (args?.address === undefined && !opts.urn) {
|
|
72
|
+
throw new Error("Missing required property 'address'");
|
|
73
|
+
}
|
|
74
|
+
if (args?.domain === undefined && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'domain'");
|
|
76
|
+
}
|
|
77
|
+
if (args?.hostname === undefined && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'hostname'");
|
|
79
|
+
}
|
|
80
|
+
if (args?.type === undefined && !opts.urn) {
|
|
81
|
+
throw new Error("Missing required property 'type'");
|
|
82
|
+
}
|
|
83
|
+
resourceInputs["address"] = args?.address;
|
|
84
|
+
resourceInputs["domain"] = args?.domain;
|
|
85
|
+
resourceInputs["domainHostRecordId"] = args?.domainHostRecordId;
|
|
86
|
+
resourceInputs["hostname"] = args?.hostname;
|
|
87
|
+
resourceInputs["mxPref"] = args?.mxPref;
|
|
88
|
+
resourceInputs["ttl"] = args?.ttl;
|
|
89
|
+
resourceInputs["type"] = args?.type;
|
|
90
|
+
}
|
|
91
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
92
|
+
super(DomainHostRecord.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.DomainHostRecord = DomainHostRecord;
|
|
96
|
+
//# sourceMappingURL=domainHostRecord.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domainHostRecord.js","sourceRoot":"","sources":["../domainHostRecord.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,mDAAmD,CAAC;IAE1F;;;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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAoCD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;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C,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,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,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACnH,CAAC;;AAlGL,4CAmGC"}
|
package/bin/domainRecords.d.ts
CHANGED
|
@@ -30,7 +30,13 @@ export declare class DomainRecords extends pulumi.CustomResource {
|
|
|
30
30
|
* Possible values: MERGE (default), OVERWRITE
|
|
31
31
|
*/
|
|
32
32
|
readonly mode: pulumi.Output<string | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* Custom nameservers to delegate the domain to. Conflicts with <span pulumi-lang-nodejs="`emailType`" pulumi-lang-dotnet="`EmailType`" pulumi-lang-go="`emailType`" pulumi-lang-python="`email_type`" pulumi-lang-yaml="`emailType`" pulumi-lang-java="`emailType`" pulumi-lang-hcl="`email_type`">`emailType`</span> and <span pulumi-lang-nodejs="`record`" pulumi-lang-dotnet="`Record`" pulumi-lang-go="`record`" pulumi-lang-python="`record`" pulumi-lang-yaml="`record`" pulumi-lang-java="`record`" pulumi-lang-hcl="`record`">`record`</span>, which only apply while the domain uses Namecheap DNS.
|
|
35
|
+
*/
|
|
33
36
|
readonly nameservers: pulumi.Output<string[] | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* One or more DNS host records for the domain. Conflicts with <span pulumi-lang-nodejs="`nameservers`" pulumi-lang-dotnet="`Nameservers`" pulumi-lang-go="`nameservers`" pulumi-lang-python="`nameservers`" pulumi-lang-yaml="`nameservers`" pulumi-lang-java="`nameservers`" pulumi-lang-hcl="`nameservers`">`nameservers`</span>, since a domain either uses Namecheap DNS with these records or delegates to custom nameservers.
|
|
39
|
+
*/
|
|
34
40
|
readonly records: pulumi.Output<outputs.DomainRecordsRecord[] | undefined>;
|
|
35
41
|
/**
|
|
36
42
|
* Create a DomainRecords resource with the given unique name, arguments, and options.
|
|
@@ -48,18 +54,24 @@ export interface DomainRecordsState {
|
|
|
48
54
|
/**
|
|
49
55
|
* Purchased available domain name on your account
|
|
50
56
|
*/
|
|
51
|
-
domain?: pulumi.Input<string>;
|
|
52
|
-
domainRecordsId?: pulumi.Input<string>;
|
|
57
|
+
domain?: pulumi.Input<string | undefined>;
|
|
58
|
+
domainRecordsId?: pulumi.Input<string | undefined>;
|
|
53
59
|
/**
|
|
54
60
|
* Possible values: NONE, MXE, MX, FWD, OX, GMAIL
|
|
55
61
|
*/
|
|
56
|
-
emailType?: pulumi.Input<string>;
|
|
62
|
+
emailType?: pulumi.Input<string | undefined>;
|
|
57
63
|
/**
|
|
58
64
|
* Possible values: MERGE (default), OVERWRITE
|
|
59
65
|
*/
|
|
60
|
-
mode?: pulumi.Input<string>;
|
|
61
|
-
|
|
62
|
-
|
|
66
|
+
mode?: pulumi.Input<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Custom nameservers to delegate the domain to. Conflicts with <span pulumi-lang-nodejs="`emailType`" pulumi-lang-dotnet="`EmailType`" pulumi-lang-go="`emailType`" pulumi-lang-python="`email_type`" pulumi-lang-yaml="`emailType`" pulumi-lang-java="`emailType`" pulumi-lang-hcl="`email_type`">`emailType`</span> and <span pulumi-lang-nodejs="`record`" pulumi-lang-dotnet="`Record`" pulumi-lang-go="`record`" pulumi-lang-python="`record`" pulumi-lang-yaml="`record`" pulumi-lang-java="`record`" pulumi-lang-hcl="`record`">`record`</span>, which only apply while the domain uses Namecheap DNS.
|
|
69
|
+
*/
|
|
70
|
+
nameservers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* One or more DNS host records for the domain. Conflicts with <span pulumi-lang-nodejs="`nameservers`" pulumi-lang-dotnet="`Nameservers`" pulumi-lang-go="`nameservers`" pulumi-lang-python="`nameservers`" pulumi-lang-yaml="`nameservers`" pulumi-lang-java="`nameservers`" pulumi-lang-hcl="`nameservers`">`nameservers`</span>, since a domain either uses Namecheap DNS with these records or delegates to custom nameservers.
|
|
73
|
+
*/
|
|
74
|
+
records?: pulumi.Input<pulumi.Input<inputs.DomainRecordsRecord>[] | undefined>;
|
|
63
75
|
}
|
|
64
76
|
/**
|
|
65
77
|
* The set of arguments for constructing a DomainRecords resource.
|
|
@@ -69,15 +81,22 @@ export interface DomainRecordsArgs {
|
|
|
69
81
|
* Purchased available domain name on your account
|
|
70
82
|
*/
|
|
71
83
|
domain: pulumi.Input<string>;
|
|
72
|
-
domainRecordsId?: pulumi.Input<string>;
|
|
84
|
+
domainRecordsId?: pulumi.Input<string | undefined>;
|
|
73
85
|
/**
|
|
74
86
|
* Possible values: NONE, MXE, MX, FWD, OX, GMAIL
|
|
75
87
|
*/
|
|
76
|
-
emailType?: pulumi.Input<string>;
|
|
88
|
+
emailType?: pulumi.Input<string | undefined>;
|
|
77
89
|
/**
|
|
78
90
|
* Possible values: MERGE (default), OVERWRITE
|
|
79
91
|
*/
|
|
80
|
-
mode?: pulumi.Input<string>;
|
|
81
|
-
|
|
82
|
-
|
|
92
|
+
mode?: pulumi.Input<string | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* Custom nameservers to delegate the domain to. Conflicts with <span pulumi-lang-nodejs="`emailType`" pulumi-lang-dotnet="`EmailType`" pulumi-lang-go="`emailType`" pulumi-lang-python="`email_type`" pulumi-lang-yaml="`emailType`" pulumi-lang-java="`emailType`" pulumi-lang-hcl="`email_type`">`emailType`</span> and <span pulumi-lang-nodejs="`record`" pulumi-lang-dotnet="`Record`" pulumi-lang-go="`record`" pulumi-lang-python="`record`" pulumi-lang-yaml="`record`" pulumi-lang-java="`record`" pulumi-lang-hcl="`record`">`record`</span>, which only apply while the domain uses Namecheap DNS.
|
|
95
|
+
*/
|
|
96
|
+
nameservers?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
97
|
+
/**
|
|
98
|
+
* One or more DNS host records for the domain. Conflicts with <span pulumi-lang-nodejs="`nameservers`" pulumi-lang-dotnet="`Nameservers`" pulumi-lang-go="`nameservers`" pulumi-lang-python="`nameservers`" pulumi-lang-yaml="`nameservers`" pulumi-lang-java="`nameservers`" pulumi-lang-hcl="`nameservers`">`nameservers`</span>, since a domain either uses Namecheap DNS with these records or delegates to custom nameservers.
|
|
99
|
+
*/
|
|
100
|
+
records?: pulumi.Input<pulumi.Input<inputs.DomainRecordsRecord>[] | undefined>;
|
|
83
101
|
}
|
|
102
|
+
//# sourceMappingURL=domainRecords.d.ts.map
|