@pulumi/dnsimple 4.5.0-alpha.1766554702 → 5.0.0-alpha.1767113714
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/config/vars.d.ts +4 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/contact.d.ts +55 -166
- package/contact.js +13 -118
- package/contact.js.map +1 -1
- package/domain.d.ts +7 -66
- package/domain.js +4 -57
- package/domain.js.map +1 -1
- package/domainDelegation.d.ts +6 -15
- package/domainDelegation.js +3 -6
- package/domainDelegation.js.map +1 -1
- package/dsRecord.d.ts +12 -73
- package/dsRecord.js +5 -51
- package/dsRecord.js.map +1 -1
- package/emailForward.d.ts +16 -16
- package/emailForward.js +7 -7
- package/getCertificate.d.ts +25 -16
- package/getCertificate.js +8 -8
- package/getCertificate.js.map +1 -1
- package/getRegistrantChangeCheck.d.ts +32 -32
- package/getRegistrantChangeCheck.js +8 -32
- package/getRegistrantChangeCheck.js.map +1 -1
- package/getZone.d.ts +39 -0
- package/getZone.js +24 -0
- package/getZone.js.map +1 -1
- package/letsEncryptCertificate.d.ts +41 -29
- package/letsEncryptCertificate.js +15 -3
- package/letsEncryptCertificate.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +8 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/registeredDomain.d.ts +64 -47
- package/registeredDomain.js +38 -11
- package/registeredDomain.js.map +1 -1
- package/types/input.d.ts +10 -10
- package/types/output.d.ts +30 -9
- package/zone.d.ts +8 -45
- package/zone.js +5 -36
- package/zone.js.map +1 -1
- package/zoneRecord.d.ts +45 -50
- package/zoneRecord.js +21 -26
- package/zoneRecord.js.map +1 -1
package/domain.d.ts
CHANGED
|
@@ -8,73 +8,20 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as dnsimple from "@pulumi/dnsimple";
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
* const foobar = new dnsimple.Domain("foobar", {name: dnsimple.domain});
|
|
11
|
+
* const example = new dnsimple.Domain("example", {name: "example.com"});
|
|
13
12
|
* ```
|
|
14
13
|
*
|
|
15
14
|
* ## Import
|
|
16
15
|
*
|
|
17
|
-
* DNSimple domains can be imported using
|
|
16
|
+
* DNSimple domains can be imported using the domain name.
|
|
18
17
|
*
|
|
19
18
|
* bash
|
|
20
19
|
*
|
|
21
20
|
* ```sh
|
|
22
|
-
* $ pulumi import dnsimple:index/domain:Domain
|
|
21
|
+
* $ pulumi import dnsimple:index/domain:Domain example example.com
|
|
23
22
|
* ```
|
|
24
23
|
*
|
|
25
|
-
* The
|
|
26
|
-
*
|
|
27
|
-
* bash
|
|
28
|
-
*
|
|
29
|
-
* curl -u 'EMAIL:PASSWORD' https://api.dnsimple.com/v2/1234/domains?name_like=example.com | jq
|
|
30
|
-
*
|
|
31
|
-
* {
|
|
32
|
-
*
|
|
33
|
-
* "data": [
|
|
34
|
-
*
|
|
35
|
-
* {
|
|
36
|
-
*
|
|
37
|
-
* "id": 5678,
|
|
38
|
-
*
|
|
39
|
-
* "account_id": 1234,
|
|
40
|
-
*
|
|
41
|
-
* "registrant_id": null,
|
|
42
|
-
*
|
|
43
|
-
* "name": "example.com",
|
|
44
|
-
*
|
|
45
|
-
* "unicode_name": "example.com",
|
|
46
|
-
*
|
|
47
|
-
* "state": "hosted",
|
|
48
|
-
*
|
|
49
|
-
* "auto_renew": false,
|
|
50
|
-
*
|
|
51
|
-
* "private_whois": false,
|
|
52
|
-
*
|
|
53
|
-
* "expires_on": null,
|
|
54
|
-
*
|
|
55
|
-
* "expires_at": null,
|
|
56
|
-
*
|
|
57
|
-
* "created_at": "2021-10-01T00:00:00Z",
|
|
58
|
-
*
|
|
59
|
-
* "updated_at": "2021-10-01T00:00:00Z"
|
|
60
|
-
*
|
|
61
|
-
* }
|
|
62
|
-
*
|
|
63
|
-
* ],
|
|
64
|
-
*
|
|
65
|
-
* "pagination": {
|
|
66
|
-
*
|
|
67
|
-
* "current_page": 1,
|
|
68
|
-
*
|
|
69
|
-
* "per_page": 30,
|
|
70
|
-
*
|
|
71
|
-
* "total_entries": 1,
|
|
72
|
-
*
|
|
73
|
-
* "total_pages": 1
|
|
74
|
-
*
|
|
75
|
-
* }
|
|
76
|
-
*
|
|
77
|
-
* }
|
|
24
|
+
* The domain name can be found within the [DNSimple Domains API](https://developer.dnsimple.com/v2/domains/#listDomains). Check out [Authentication](https://developer.dnsimple.com/v2/#authentication) in API Overview for available options.
|
|
78
25
|
*/
|
|
79
26
|
export declare class Domain extends pulumi.CustomResource {
|
|
80
27
|
/**
|
|
@@ -101,9 +48,7 @@ export declare class Domain extends pulumi.CustomResource {
|
|
|
101
48
|
*/
|
|
102
49
|
readonly autoRenew: pulumi.Output<boolean>;
|
|
103
50
|
/**
|
|
104
|
-
* The domain name to be created
|
|
105
|
-
*
|
|
106
|
-
* # Attributes Reference
|
|
51
|
+
* The domain name to be created.
|
|
107
52
|
*/
|
|
108
53
|
readonly name: pulumi.Output<string>;
|
|
109
54
|
/**
|
|
@@ -144,9 +89,7 @@ export interface DomainState {
|
|
|
144
89
|
*/
|
|
145
90
|
autoRenew?: pulumi.Input<boolean>;
|
|
146
91
|
/**
|
|
147
|
-
* The domain name to be created
|
|
148
|
-
*
|
|
149
|
-
* # Attributes Reference
|
|
92
|
+
* The domain name to be created.
|
|
150
93
|
*/
|
|
151
94
|
name?: pulumi.Input<string>;
|
|
152
95
|
/**
|
|
@@ -171,9 +114,7 @@ export interface DomainState {
|
|
|
171
114
|
*/
|
|
172
115
|
export interface DomainArgs {
|
|
173
116
|
/**
|
|
174
|
-
* The domain name to be created
|
|
175
|
-
*
|
|
176
|
-
* # Attributes Reference
|
|
117
|
+
* The domain name to be created.
|
|
177
118
|
*/
|
|
178
119
|
name: pulumi.Input<string>;
|
|
179
120
|
}
|
package/domain.js
CHANGED
|
@@ -14,73 +14,20 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as dnsimple from "@pulumi/dnsimple";
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
* const foobar = new dnsimple.Domain("foobar", {name: dnsimple.domain});
|
|
17
|
+
* const example = new dnsimple.Domain("example", {name: "example.com"});
|
|
19
18
|
* ```
|
|
20
19
|
*
|
|
21
20
|
* ## Import
|
|
22
21
|
*
|
|
23
|
-
* DNSimple domains can be imported using
|
|
22
|
+
* DNSimple domains can be imported using the domain name.
|
|
24
23
|
*
|
|
25
24
|
* bash
|
|
26
25
|
*
|
|
27
26
|
* ```sh
|
|
28
|
-
* $ pulumi import dnsimple:index/domain:Domain
|
|
27
|
+
* $ pulumi import dnsimple:index/domain:Domain example example.com
|
|
29
28
|
* ```
|
|
30
29
|
*
|
|
31
|
-
* The
|
|
32
|
-
*
|
|
33
|
-
* bash
|
|
34
|
-
*
|
|
35
|
-
* curl -u 'EMAIL:PASSWORD' https://api.dnsimple.com/v2/1234/domains?name_like=example.com | jq
|
|
36
|
-
*
|
|
37
|
-
* {
|
|
38
|
-
*
|
|
39
|
-
* "data": [
|
|
40
|
-
*
|
|
41
|
-
* {
|
|
42
|
-
*
|
|
43
|
-
* "id": 5678,
|
|
44
|
-
*
|
|
45
|
-
* "account_id": 1234,
|
|
46
|
-
*
|
|
47
|
-
* "registrant_id": null,
|
|
48
|
-
*
|
|
49
|
-
* "name": "example.com",
|
|
50
|
-
*
|
|
51
|
-
* "unicode_name": "example.com",
|
|
52
|
-
*
|
|
53
|
-
* "state": "hosted",
|
|
54
|
-
*
|
|
55
|
-
* "auto_renew": false,
|
|
56
|
-
*
|
|
57
|
-
* "private_whois": false,
|
|
58
|
-
*
|
|
59
|
-
* "expires_on": null,
|
|
60
|
-
*
|
|
61
|
-
* "expires_at": null,
|
|
62
|
-
*
|
|
63
|
-
* "created_at": "2021-10-01T00:00:00Z",
|
|
64
|
-
*
|
|
65
|
-
* "updated_at": "2021-10-01T00:00:00Z"
|
|
66
|
-
*
|
|
67
|
-
* }
|
|
68
|
-
*
|
|
69
|
-
* ],
|
|
70
|
-
*
|
|
71
|
-
* "pagination": {
|
|
72
|
-
*
|
|
73
|
-
* "current_page": 1,
|
|
74
|
-
*
|
|
75
|
-
* "per_page": 30,
|
|
76
|
-
*
|
|
77
|
-
* "total_entries": 1,
|
|
78
|
-
*
|
|
79
|
-
* "total_pages": 1
|
|
80
|
-
*
|
|
81
|
-
* }
|
|
82
|
-
*
|
|
83
|
-
* }
|
|
30
|
+
* The domain name can be found within the [DNSimple Domains API](https://developer.dnsimple.com/v2/domains/#listDomains). Check out [Authentication](https://developer.dnsimple.com/v2/#authentication) in API Overview for available options.
|
|
84
31
|
*/
|
|
85
32
|
class Domain extends pulumi.CustomResource {
|
|
86
33
|
/**
|
package/domain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../domain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../domain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YAC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,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;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;;AA5FL,wBA6FC;AA/EG,gBAAgB;AACO,mBAAY,GAAG,8BAA8B,CAAC"}
|
package/domainDelegation.d.ts
CHANGED
|
@@ -6,9 +6,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
* import * as pulumi from "@pulumi/pulumi";
|
|
7
7
|
* import * as dnsimple from "@pulumi/dnsimple";
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* domain: dnsimple.domain,
|
|
9
|
+
* const example = new dnsimple.DomainDelegation("example", {
|
|
10
|
+
* domain: "example.com",
|
|
12
11
|
* nameServers: [
|
|
13
12
|
* "ns1.example.org",
|
|
14
13
|
* "ns2.example.com",
|
|
@@ -20,12 +19,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
20
19
|
*
|
|
21
20
|
* DNSimple domain delegations can be imported using the domain name.
|
|
22
21
|
*
|
|
23
|
-
* **Importing domain delegation for example.com**
|
|
24
|
-
*
|
|
25
22
|
* bash
|
|
26
23
|
*
|
|
27
24
|
* ```sh
|
|
28
|
-
* $ pulumi import dnsimple:index/domainDelegation:DomainDelegation
|
|
25
|
+
* $ pulumi import dnsimple:index/domainDelegation:DomainDelegation example example.com
|
|
29
26
|
* ```
|
|
30
27
|
*/
|
|
31
28
|
export declare class DomainDelegation extends pulumi.CustomResource {
|
|
@@ -49,9 +46,7 @@ export declare class DomainDelegation extends pulumi.CustomResource {
|
|
|
49
46
|
*/
|
|
50
47
|
readonly domain: pulumi.Output<string>;
|
|
51
48
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* # Attributes Reference
|
|
49
|
+
* List of name servers to delegate to.
|
|
55
50
|
*/
|
|
56
51
|
readonly nameServers: pulumi.Output<string[]>;
|
|
57
52
|
/**
|
|
@@ -72,9 +67,7 @@ export interface DomainDelegationState {
|
|
|
72
67
|
*/
|
|
73
68
|
domain?: pulumi.Input<string>;
|
|
74
69
|
/**
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* # Attributes Reference
|
|
70
|
+
* List of name servers to delegate to.
|
|
78
71
|
*/
|
|
79
72
|
nameServers?: pulumi.Input<pulumi.Input<string>[]>;
|
|
80
73
|
}
|
|
@@ -87,9 +80,7 @@ export interface DomainDelegationArgs {
|
|
|
87
80
|
*/
|
|
88
81
|
domain: pulumi.Input<string>;
|
|
89
82
|
/**
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* # Attributes Reference
|
|
83
|
+
* List of name servers to delegate to.
|
|
93
84
|
*/
|
|
94
85
|
nameServers: pulumi.Input<pulumi.Input<string>[]>;
|
|
95
86
|
}
|
package/domainDelegation.js
CHANGED
|
@@ -12,9 +12,8 @@ const utilities = require("./utilities");
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as dnsimple from "@pulumi/dnsimple";
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* domain: dnsimple.domain,
|
|
15
|
+
* const example = new dnsimple.DomainDelegation("example", {
|
|
16
|
+
* domain: "example.com",
|
|
18
17
|
* nameServers: [
|
|
19
18
|
* "ns1.example.org",
|
|
20
19
|
* "ns2.example.com",
|
|
@@ -26,12 +25,10 @@ const utilities = require("./utilities");
|
|
|
26
25
|
*
|
|
27
26
|
* DNSimple domain delegations can be imported using the domain name.
|
|
28
27
|
*
|
|
29
|
-
* **Importing domain delegation for example.com**
|
|
30
|
-
*
|
|
31
28
|
* bash
|
|
32
29
|
*
|
|
33
30
|
* ```sh
|
|
34
|
-
* $ pulumi import dnsimple:index/domainDelegation:DomainDelegation
|
|
31
|
+
* $ pulumi import dnsimple:index/domainDelegation:DomainDelegation example example.com
|
|
35
32
|
* ```
|
|
36
33
|
*/
|
|
37
34
|
class DomainDelegation extends pulumi.CustomResource {
|
package/domainDelegation.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domainDelegation.js","sourceRoot":"","sources":["../domainDelegation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"domainDelegation.js","sourceRoot":"","sources":["../domainDelegation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,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;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;SACtD;aAAM;YACH,MAAM,IAAI,GAAG,WAA+C,CAAC;YAC7D,IAAI,IAAI,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzC,MAAM,IAAI,KAAK,CAAC,oCAAoC,CAAC,CAAC;aACzD;YACD,IAAI,IAAI,EAAE,WAAW,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;SACrD;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,CAAC,CAAC;IACrE,CAAC;;AAjEL,4CAkEC;AApDG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
|
package/dsRecord.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as dnsimple from "@pulumi/dnsimple";
|
|
10
10
|
*
|
|
11
|
-
* const
|
|
12
|
-
* domain:
|
|
11
|
+
* const example = new dnsimple.DsRecord("example", {
|
|
12
|
+
* domain: "example.com",
|
|
13
13
|
* algorithm: "8",
|
|
14
14
|
* digest: "6CEEA0117A02480216EBF745A7B690F938860074E4AD11AF2AC573007205682B",
|
|
15
15
|
* digestType: "2",
|
|
@@ -19,61 +19,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
19
|
*
|
|
20
20
|
* ## Import
|
|
21
21
|
*
|
|
22
|
-
* DNSimple DS
|
|
22
|
+
* DNSimple DS records can be imported using the domain name and numeric record ID in the format `domain_name_record_id`.
|
|
23
23
|
*
|
|
24
24
|
* bash
|
|
25
25
|
*
|
|
26
26
|
* ```sh
|
|
27
|
-
* $ pulumi import dnsimple:index/dsRecord:DsRecord
|
|
27
|
+
* $ pulumi import dnsimple:index/dsRecord:DsRecord example example.com_5678
|
|
28
28
|
* ```
|
|
29
29
|
*
|
|
30
|
-
* The record ID can be found within [DNSimple DNSSEC API](https://developer.dnsimple.com/v2/domains/dnssec/#listDomainDelegationSignerRecords). Check out [Authentication](https://developer.dnsimple.com/v2/#authentication) in API Overview for available options.
|
|
31
|
-
*
|
|
32
|
-
* bash
|
|
33
|
-
*
|
|
34
|
-
* curl -u 'EMAIL:PASSWORD' https://api.dnsimple.com/v2/1010/domains/example.com/ds_records | jq
|
|
35
|
-
*
|
|
36
|
-
* {
|
|
37
|
-
*
|
|
38
|
-
* "data": [
|
|
39
|
-
*
|
|
40
|
-
* {
|
|
41
|
-
*
|
|
42
|
-
* "id": 24,
|
|
43
|
-
*
|
|
44
|
-
* "domain_id": 1010,
|
|
45
|
-
*
|
|
46
|
-
* "algorithm": "8",
|
|
47
|
-
*
|
|
48
|
-
* "digest": "C1F6E04A5A61FBF65BF9DC8294C363CF11C89E802D926BDAB79C55D27BEFA94F",
|
|
49
|
-
*
|
|
50
|
-
* "digest_type": "2",
|
|
51
|
-
*
|
|
52
|
-
* "keytag": "44620",
|
|
53
|
-
*
|
|
54
|
-
* "public_key": null,
|
|
55
|
-
*
|
|
56
|
-
* "created_at": "2017-03-03T13:49:58Z",
|
|
57
|
-
*
|
|
58
|
-
* "updated_at": "2017-03-03T13:49:58Z"
|
|
59
|
-
*
|
|
60
|
-
* }
|
|
61
|
-
*
|
|
62
|
-
* ],
|
|
63
|
-
*
|
|
64
|
-
* "pagination": {
|
|
65
|
-
*
|
|
66
|
-
* "current_page": 1,
|
|
67
|
-
*
|
|
68
|
-
* "per_page": 30,
|
|
69
|
-
*
|
|
70
|
-
* "total_entries": 1,
|
|
71
|
-
*
|
|
72
|
-
* "total_pages": 1
|
|
73
|
-
*
|
|
74
|
-
* }
|
|
75
|
-
*
|
|
76
|
-
* }
|
|
30
|
+
* The record ID can be found within the [DNSimple DNSSEC API](https://developer.dnsimple.com/v2/domains/dnssec/#listDomainDelegationSignerRecords). Check out [Authentication](https://developer.dnsimple.com/v2/#authentication) in API Overview for available options.
|
|
77
31
|
*/
|
|
78
32
|
export declare class DsRecord extends pulumi.CustomResource {
|
|
79
33
|
/**
|
|
@@ -96,11 +50,11 @@ export declare class DsRecord extends pulumi.CustomResource {
|
|
|
96
50
|
*/
|
|
97
51
|
readonly algorithm: pulumi.Output<string>;
|
|
98
52
|
/**
|
|
99
|
-
* The
|
|
53
|
+
* The timestamp when the DS record was created.
|
|
100
54
|
*/
|
|
101
55
|
readonly createdAt: pulumi.Output<string>;
|
|
102
56
|
/**
|
|
103
|
-
* The
|
|
57
|
+
* The hexadecimal representation of the digest of the corresponding DNSKEY record.
|
|
104
58
|
*/
|
|
105
59
|
readonly digest: pulumi.Output<string | undefined>;
|
|
106
60
|
/**
|
|
@@ -111,18 +65,13 @@ export declare class DsRecord extends pulumi.CustomResource {
|
|
|
111
65
|
* The domain name or numeric ID to create the delegation signer record for.
|
|
112
66
|
*/
|
|
113
67
|
readonly domain: pulumi.Output<string>;
|
|
114
|
-
/**
|
|
115
|
-
* A keytag that references the corresponding DNSKEY record.
|
|
116
|
-
*/
|
|
117
68
|
readonly keytag: pulumi.Output<string | undefined>;
|
|
118
69
|
/**
|
|
119
70
|
* A public key that references the corresponding DNSKEY record.
|
|
120
|
-
*
|
|
121
|
-
* # Attributes Reference
|
|
122
71
|
*/
|
|
123
72
|
readonly publicKey: pulumi.Output<string | undefined>;
|
|
124
73
|
/**
|
|
125
|
-
* The
|
|
74
|
+
* The timestamp when the DS record was last updated.
|
|
126
75
|
*/
|
|
127
76
|
readonly updatedAt: pulumi.Output<string>;
|
|
128
77
|
/**
|
|
@@ -143,11 +92,11 @@ export interface DsRecordState {
|
|
|
143
92
|
*/
|
|
144
93
|
algorithm?: pulumi.Input<string>;
|
|
145
94
|
/**
|
|
146
|
-
* The
|
|
95
|
+
* The timestamp when the DS record was created.
|
|
147
96
|
*/
|
|
148
97
|
createdAt?: pulumi.Input<string>;
|
|
149
98
|
/**
|
|
150
|
-
* The
|
|
99
|
+
* The hexadecimal representation of the digest of the corresponding DNSKEY record.
|
|
151
100
|
*/
|
|
152
101
|
digest?: pulumi.Input<string>;
|
|
153
102
|
/**
|
|
@@ -158,18 +107,13 @@ export interface DsRecordState {
|
|
|
158
107
|
* The domain name or numeric ID to create the delegation signer record for.
|
|
159
108
|
*/
|
|
160
109
|
domain?: pulumi.Input<string>;
|
|
161
|
-
/**
|
|
162
|
-
* A keytag that references the corresponding DNSKEY record.
|
|
163
|
-
*/
|
|
164
110
|
keytag?: pulumi.Input<string>;
|
|
165
111
|
/**
|
|
166
112
|
* A public key that references the corresponding DNSKEY record.
|
|
167
|
-
*
|
|
168
|
-
* # Attributes Reference
|
|
169
113
|
*/
|
|
170
114
|
publicKey?: pulumi.Input<string>;
|
|
171
115
|
/**
|
|
172
|
-
* The
|
|
116
|
+
* The timestamp when the DS record was last updated.
|
|
173
117
|
*/
|
|
174
118
|
updatedAt?: pulumi.Input<string>;
|
|
175
119
|
}
|
|
@@ -182,7 +126,7 @@ export interface DsRecordArgs {
|
|
|
182
126
|
*/
|
|
183
127
|
algorithm: pulumi.Input<string>;
|
|
184
128
|
/**
|
|
185
|
-
* The
|
|
129
|
+
* The hexadecimal representation of the digest of the corresponding DNSKEY record.
|
|
186
130
|
*/
|
|
187
131
|
digest?: pulumi.Input<string>;
|
|
188
132
|
/**
|
|
@@ -193,14 +137,9 @@ export interface DsRecordArgs {
|
|
|
193
137
|
* The domain name or numeric ID to create the delegation signer record for.
|
|
194
138
|
*/
|
|
195
139
|
domain: pulumi.Input<string>;
|
|
196
|
-
/**
|
|
197
|
-
* A keytag that references the corresponding DNSKEY record.
|
|
198
|
-
*/
|
|
199
140
|
keytag?: pulumi.Input<string>;
|
|
200
141
|
/**
|
|
201
142
|
* A public key that references the corresponding DNSKEY record.
|
|
202
|
-
*
|
|
203
|
-
* # Attributes Reference
|
|
204
143
|
*/
|
|
205
144
|
publicKey?: pulumi.Input<string>;
|
|
206
145
|
}
|
package/dsRecord.js
CHANGED
|
@@ -14,8 +14,8 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as dnsimple from "@pulumi/dnsimple";
|
|
16
16
|
*
|
|
17
|
-
* const
|
|
18
|
-
* domain:
|
|
17
|
+
* const example = new dnsimple.DsRecord("example", {
|
|
18
|
+
* domain: "example.com",
|
|
19
19
|
* algorithm: "8",
|
|
20
20
|
* digest: "6CEEA0117A02480216EBF745A7B690F938860074E4AD11AF2AC573007205682B",
|
|
21
21
|
* digestType: "2",
|
|
@@ -25,61 +25,15 @@ const utilities = require("./utilities");
|
|
|
25
25
|
*
|
|
26
26
|
* ## Import
|
|
27
27
|
*
|
|
28
|
-
* DNSimple DS
|
|
28
|
+
* DNSimple DS records can be imported using the domain name and numeric record ID in the format `domain_name_record_id`.
|
|
29
29
|
*
|
|
30
30
|
* bash
|
|
31
31
|
*
|
|
32
32
|
* ```sh
|
|
33
|
-
* $ pulumi import dnsimple:index/dsRecord:DsRecord
|
|
33
|
+
* $ pulumi import dnsimple:index/dsRecord:DsRecord example example.com_5678
|
|
34
34
|
* ```
|
|
35
35
|
*
|
|
36
|
-
* The record ID can be found within [DNSimple DNSSEC API](https://developer.dnsimple.com/v2/domains/dnssec/#listDomainDelegationSignerRecords). Check out [Authentication](https://developer.dnsimple.com/v2/#authentication) in API Overview for available options.
|
|
37
|
-
*
|
|
38
|
-
* bash
|
|
39
|
-
*
|
|
40
|
-
* curl -u 'EMAIL:PASSWORD' https://api.dnsimple.com/v2/1010/domains/example.com/ds_records | jq
|
|
41
|
-
*
|
|
42
|
-
* {
|
|
43
|
-
*
|
|
44
|
-
* "data": [
|
|
45
|
-
*
|
|
46
|
-
* {
|
|
47
|
-
*
|
|
48
|
-
* "id": 24,
|
|
49
|
-
*
|
|
50
|
-
* "domain_id": 1010,
|
|
51
|
-
*
|
|
52
|
-
* "algorithm": "8",
|
|
53
|
-
*
|
|
54
|
-
* "digest": "C1F6E04A5A61FBF65BF9DC8294C363CF11C89E802D926BDAB79C55D27BEFA94F",
|
|
55
|
-
*
|
|
56
|
-
* "digest_type": "2",
|
|
57
|
-
*
|
|
58
|
-
* "keytag": "44620",
|
|
59
|
-
*
|
|
60
|
-
* "public_key": null,
|
|
61
|
-
*
|
|
62
|
-
* "created_at": "2017-03-03T13:49:58Z",
|
|
63
|
-
*
|
|
64
|
-
* "updated_at": "2017-03-03T13:49:58Z"
|
|
65
|
-
*
|
|
66
|
-
* }
|
|
67
|
-
*
|
|
68
|
-
* ],
|
|
69
|
-
*
|
|
70
|
-
* "pagination": {
|
|
71
|
-
*
|
|
72
|
-
* "current_page": 1,
|
|
73
|
-
*
|
|
74
|
-
* "per_page": 30,
|
|
75
|
-
*
|
|
76
|
-
* "total_entries": 1,
|
|
77
|
-
*
|
|
78
|
-
* "total_pages": 1
|
|
79
|
-
*
|
|
80
|
-
* }
|
|
81
|
-
*
|
|
82
|
-
* }
|
|
36
|
+
* The record ID can be found within the [DNSimple DNSSEC API](https://developer.dnsimple.com/v2/domains/dnssec/#listDomainDelegationSignerRecords). Check out [Authentication](https://developer.dnsimple.com/v2/#authentication) in API Overview for available options.
|
|
83
37
|
*/
|
|
84
38
|
class DsRecord extends pulumi.CustomResource {
|
|
85
39
|
/**
|
package/dsRecord.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dsRecord.js","sourceRoot":"","sources":["../dsRecord.ts"],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G,gBAAgB;AACO,qBAAY,GAAG,kCAAkC,CAAC"}
|
package/emailForward.d.ts
CHANGED
|
@@ -8,24 +8,24 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
9
|
* import * as dnsimple from "@pulumi/dnsimple";
|
|
10
10
|
*
|
|
11
|
-
* const
|
|
12
|
-
* domain:
|
|
11
|
+
* const example = new dnsimple.EmailForward("example", {
|
|
12
|
+
* domain: "example.com",
|
|
13
13
|
* aliasName: "sales",
|
|
14
|
-
* destinationEmail: "alice
|
|
14
|
+
* destinationEmail: "alice@example.com",
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
17
17
|
*
|
|
18
18
|
* ## Import
|
|
19
19
|
*
|
|
20
|
-
* DNSimple
|
|
21
|
-
*
|
|
22
|
-
* **Importing email forward for example.com with email forward ID 1234**
|
|
20
|
+
* DNSimple email forwards can be imported using the domain name and numeric email forward ID in the format `domain_name_email_forward_id`.
|
|
23
21
|
*
|
|
24
22
|
* bash
|
|
25
23
|
*
|
|
26
24
|
* ```sh
|
|
27
|
-
* $ pulumi import dnsimple:index/emailForward:EmailForward
|
|
25
|
+
* $ pulumi import dnsimple:index/emailForward:EmailForward example example.com_1234
|
|
28
26
|
* ```
|
|
27
|
+
*
|
|
28
|
+
* The email forward ID can be found via the [DNSimple Email Forwards API](https://developer.dnsimple.com/v2/email-forwards/#listEmailForwards).
|
|
29
29
|
*/
|
|
30
30
|
export declare class EmailForward extends pulumi.CustomResource {
|
|
31
31
|
/**
|
|
@@ -48,15 +48,15 @@ export declare class EmailForward extends pulumi.CustomResource {
|
|
|
48
48
|
*/
|
|
49
49
|
readonly aliasEmail: pulumi.Output<string>;
|
|
50
50
|
/**
|
|
51
|
-
* The name part (the part before the @) of the source email address on the domain
|
|
51
|
+
* The name part (the part before the @) of the source email address on the domain.
|
|
52
52
|
*/
|
|
53
53
|
readonly aliasName: pulumi.Output<string>;
|
|
54
54
|
/**
|
|
55
|
-
* The destination email address
|
|
55
|
+
* The destination email address.
|
|
56
56
|
*/
|
|
57
57
|
readonly destinationEmail: pulumi.Output<string>;
|
|
58
58
|
/**
|
|
59
|
-
* The domain name to add the email forwarding rule to
|
|
59
|
+
* The domain name to add the email forwarding rule to.
|
|
60
60
|
*/
|
|
61
61
|
readonly domain: pulumi.Output<string>;
|
|
62
62
|
/**
|
|
@@ -77,15 +77,15 @@ export interface EmailForwardState {
|
|
|
77
77
|
*/
|
|
78
78
|
aliasEmail?: pulumi.Input<string>;
|
|
79
79
|
/**
|
|
80
|
-
* The name part (the part before the @) of the source email address on the domain
|
|
80
|
+
* The name part (the part before the @) of the source email address on the domain.
|
|
81
81
|
*/
|
|
82
82
|
aliasName?: pulumi.Input<string>;
|
|
83
83
|
/**
|
|
84
|
-
* The destination email address
|
|
84
|
+
* The destination email address.
|
|
85
85
|
*/
|
|
86
86
|
destinationEmail?: pulumi.Input<string>;
|
|
87
87
|
/**
|
|
88
|
-
* The domain name to add the email forwarding rule to
|
|
88
|
+
* The domain name to add the email forwarding rule to.
|
|
89
89
|
*/
|
|
90
90
|
domain?: pulumi.Input<string>;
|
|
91
91
|
}
|
|
@@ -94,15 +94,15 @@ export interface EmailForwardState {
|
|
|
94
94
|
*/
|
|
95
95
|
export interface EmailForwardArgs {
|
|
96
96
|
/**
|
|
97
|
-
* The name part (the part before the @) of the source email address on the domain
|
|
97
|
+
* The name part (the part before the @) of the source email address on the domain.
|
|
98
98
|
*/
|
|
99
99
|
aliasName: pulumi.Input<string>;
|
|
100
100
|
/**
|
|
101
|
-
* The destination email address
|
|
101
|
+
* The destination email address.
|
|
102
102
|
*/
|
|
103
103
|
destinationEmail: pulumi.Input<string>;
|
|
104
104
|
/**
|
|
105
|
-
* The domain name to add the email forwarding rule to
|
|
105
|
+
* The domain name to add the email forwarding rule to.
|
|
106
106
|
*/
|
|
107
107
|
domain: pulumi.Input<string>;
|
|
108
108
|
}
|
package/emailForward.js
CHANGED
|
@@ -14,24 +14,24 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as dnsimple from "@pulumi/dnsimple";
|
|
16
16
|
*
|
|
17
|
-
* const
|
|
18
|
-
* domain:
|
|
17
|
+
* const example = new dnsimple.EmailForward("example", {
|
|
18
|
+
* domain: "example.com",
|
|
19
19
|
* aliasName: "sales",
|
|
20
|
-
* destinationEmail: "alice
|
|
20
|
+
* destinationEmail: "alice@example.com",
|
|
21
21
|
* });
|
|
22
22
|
* ```
|
|
23
23
|
*
|
|
24
24
|
* ## Import
|
|
25
25
|
*
|
|
26
|
-
* DNSimple
|
|
27
|
-
*
|
|
28
|
-
* **Importing email forward for example.com with email forward ID 1234**
|
|
26
|
+
* DNSimple email forwards can be imported using the domain name and numeric email forward ID in the format `domain_name_email_forward_id`.
|
|
29
27
|
*
|
|
30
28
|
* bash
|
|
31
29
|
*
|
|
32
30
|
* ```sh
|
|
33
|
-
* $ pulumi import dnsimple:index/emailForward:EmailForward
|
|
31
|
+
* $ pulumi import dnsimple:index/emailForward:EmailForward example example.com_1234
|
|
34
32
|
* ```
|
|
33
|
+
*
|
|
34
|
+
* The email forward ID can be found via the [DNSimple Email Forwards API](https://developer.dnsimple.com/v2/email-forwards/#listEmailForwards).
|
|
35
35
|
*/
|
|
36
36
|
class EmailForward extends pulumi.CustomResource {
|
|
37
37
|
/**
|