@pulumi/dnsimple 3.5.0-alpha.1721236014 → 3.5.0-alpha.1721425071
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/domain.d.ts +47 -1
- package/domain.js +5 -1
- package/domain.js.map +1 -1
- package/emailForward.d.ts +22 -10
- package/emailForward.js +14 -2
- package/emailForward.js.map +1 -1
- package/getCertificate.d.ts +3 -6
- package/getCertificate.js.map +1 -1
- package/getZone.d.ts +2 -4
- package/getZone.js +2 -4
- package/getZone.js.map +1 -1
- package/index.d.ts +3 -5
- package/index.js +5 -7
- package/index.js.map +1 -1
- package/letsEncryptCertificate.d.ts +33 -21
- package/letsEncryptCertificate.js +7 -4
- package/letsEncryptCertificate.js.map +1 -1
- package/package.json +2 -2
- package/provider.d.ts +5 -5
- package/provider.js +0 -6
- package/provider.js.map +1 -1
- package/types/enums/index.d.ts +22 -0
- package/types/enums/index.js +24 -0
- package/types/enums/index.js.map +1 -0
- package/types/index.d.ts +4 -0
- package/types/index.js +13 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +1 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +1 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/zoneRecord.d.ts +19 -18
- package/zoneRecord.js +10 -9
- package/zoneRecord.js.map +1 -1
- package/record.d.ts +0 -65
- package/record.js +0 -83
- package/record.js.map +0 -1
- package/recordType.d.ts +0 -19
- package/recordType.js +0 -23
- package/recordType.js.map +0 -1
package/domain.d.ts
CHANGED
|
@@ -16,13 +16,17 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
16
16
|
*
|
|
17
17
|
* DNSimple domains can be imported using their numeric record ID.
|
|
18
18
|
*
|
|
19
|
+
* bash
|
|
20
|
+
*
|
|
19
21
|
* ```sh
|
|
20
22
|
* $ pulumi import dnsimple:index/domain:Domain resource_name 5678
|
|
21
23
|
* ```
|
|
22
24
|
*
|
|
23
25
|
* The record ID can be found within [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.
|
|
24
26
|
*
|
|
25
|
-
*
|
|
27
|
+
* bash
|
|
28
|
+
*
|
|
29
|
+
* curl -u 'EMAIL:PASSWORD' https://api.dnsimple.com/v2/1234/domains?name_like=example.com | jq
|
|
26
30
|
*
|
|
27
31
|
* {
|
|
28
32
|
*
|
|
@@ -88,15 +92,35 @@ export declare class Domain extends pulumi.CustomResource {
|
|
|
88
92
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
89
93
|
*/
|
|
90
94
|
static isInstance(obj: any): obj is Domain;
|
|
95
|
+
/**
|
|
96
|
+
* The account ID for the domain.
|
|
97
|
+
*/
|
|
91
98
|
readonly accountId: pulumi.Output<number>;
|
|
99
|
+
/**
|
|
100
|
+
* Whether the domain is set to auto-renew.
|
|
101
|
+
*/
|
|
92
102
|
readonly autoRenew: pulumi.Output<boolean>;
|
|
93
103
|
/**
|
|
94
104
|
* The domain name to be created
|
|
105
|
+
*
|
|
106
|
+
* # Attributes Reference
|
|
95
107
|
*/
|
|
96
108
|
readonly name: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Whether the domain has WhoIs privacy enabled.
|
|
111
|
+
*/
|
|
97
112
|
readonly privateWhois: pulumi.Output<boolean>;
|
|
113
|
+
/**
|
|
114
|
+
* The ID of the registrant (contact) for the domain.
|
|
115
|
+
*/
|
|
98
116
|
readonly registrantId: pulumi.Output<number>;
|
|
117
|
+
/**
|
|
118
|
+
* The state of the domain.
|
|
119
|
+
*/
|
|
99
120
|
readonly state: pulumi.Output<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The domain name in Unicode format.
|
|
123
|
+
*/
|
|
100
124
|
readonly unicodeName: pulumi.Output<string>;
|
|
101
125
|
/**
|
|
102
126
|
* Create a Domain resource with the given unique name, arguments, and options.
|
|
@@ -111,15 +135,35 @@ export declare class Domain extends pulumi.CustomResource {
|
|
|
111
135
|
* Input properties used for looking up and filtering Domain resources.
|
|
112
136
|
*/
|
|
113
137
|
export interface DomainState {
|
|
138
|
+
/**
|
|
139
|
+
* The account ID for the domain.
|
|
140
|
+
*/
|
|
114
141
|
accountId?: pulumi.Input<number>;
|
|
142
|
+
/**
|
|
143
|
+
* Whether the domain is set to auto-renew.
|
|
144
|
+
*/
|
|
115
145
|
autoRenew?: pulumi.Input<boolean>;
|
|
116
146
|
/**
|
|
117
147
|
* The domain name to be created
|
|
148
|
+
*
|
|
149
|
+
* # Attributes Reference
|
|
118
150
|
*/
|
|
119
151
|
name?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* Whether the domain has WhoIs privacy enabled.
|
|
154
|
+
*/
|
|
120
155
|
privateWhois?: pulumi.Input<boolean>;
|
|
156
|
+
/**
|
|
157
|
+
* The ID of the registrant (contact) for the domain.
|
|
158
|
+
*/
|
|
121
159
|
registrantId?: pulumi.Input<number>;
|
|
160
|
+
/**
|
|
161
|
+
* The state of the domain.
|
|
162
|
+
*/
|
|
122
163
|
state?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* The domain name in Unicode format.
|
|
166
|
+
*/
|
|
123
167
|
unicodeName?: pulumi.Input<string>;
|
|
124
168
|
}
|
|
125
169
|
/**
|
|
@@ -128,6 +172,8 @@ export interface DomainState {
|
|
|
128
172
|
export interface DomainArgs {
|
|
129
173
|
/**
|
|
130
174
|
* The domain name to be created
|
|
175
|
+
*
|
|
176
|
+
* # Attributes Reference
|
|
131
177
|
*/
|
|
132
178
|
name: pulumi.Input<string>;
|
|
133
179
|
}
|
package/domain.js
CHANGED
|
@@ -22,13 +22,17 @@ const utilities = require("./utilities");
|
|
|
22
22
|
*
|
|
23
23
|
* DNSimple domains can be imported using their numeric record ID.
|
|
24
24
|
*
|
|
25
|
+
* bash
|
|
26
|
+
*
|
|
25
27
|
* ```sh
|
|
26
28
|
* $ pulumi import dnsimple:index/domain:Domain resource_name 5678
|
|
27
29
|
* ```
|
|
28
30
|
*
|
|
29
31
|
* The record ID can be found within [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.
|
|
30
32
|
*
|
|
31
|
-
*
|
|
33
|
+
* bash
|
|
34
|
+
*
|
|
35
|
+
* curl -u 'EMAIL:PASSWORD' https://api.dnsimple.com/v2/1234/domains?name_like=example.com | jq
|
|
32
36
|
*
|
|
33
37
|
* {
|
|
34
38
|
*
|
package/domain.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../domain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"domain.js","sourceRoot":"","sources":["../domain.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;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,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAyCD,YAA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AAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,OAAO,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;;AA9FL,wBA+FC;AAjFG,gBAAgB;AACO,mBAAY,GAAG,8BAA8B,CAAC"}
|
package/emailForward.d.ts
CHANGED
|
@@ -10,11 +10,23 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
10
10
|
*
|
|
11
11
|
* // Add an email forwarding rule to the domain
|
|
12
12
|
* const foobar = new dnsimple.EmailForward("foobar", {
|
|
13
|
-
* domain: dnsimpleDomain,
|
|
13
|
+
* domain: dnsimpleDomain.name,
|
|
14
14
|
* aliasName: "sales",
|
|
15
|
-
* destinationEmail: "
|
|
15
|
+
* destinationEmail: "alice.appleseed@example.com",
|
|
16
16
|
* });
|
|
17
17
|
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* DNSimple resources can be imported using the domain name and numeric email forward ID.
|
|
22
|
+
*
|
|
23
|
+
* **Importing email forward for example.com with email forward ID 1234**
|
|
24
|
+
*
|
|
25
|
+
* bash
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import dnsimple:index/emailForward:EmailForward resource_name example.com_1234
|
|
29
|
+
* ```
|
|
18
30
|
*/
|
|
19
31
|
export declare class EmailForward extends pulumi.CustomResource {
|
|
20
32
|
/**
|
|
@@ -33,7 +45,7 @@ export declare class EmailForward extends pulumi.CustomResource {
|
|
|
33
45
|
*/
|
|
34
46
|
static isInstance(obj: any): obj is EmailForward;
|
|
35
47
|
/**
|
|
36
|
-
* The source email address on the domain
|
|
48
|
+
* The source email address on the domain, in full form. This is a computed attribute.
|
|
37
49
|
*/
|
|
38
50
|
readonly aliasEmail: pulumi.Output<string>;
|
|
39
51
|
/**
|
|
@@ -41,11 +53,11 @@ export declare class EmailForward extends pulumi.CustomResource {
|
|
|
41
53
|
*/
|
|
42
54
|
readonly aliasName: pulumi.Output<string>;
|
|
43
55
|
/**
|
|
44
|
-
* The destination email address
|
|
56
|
+
* The destination email address
|
|
45
57
|
*/
|
|
46
58
|
readonly destinationEmail: pulumi.Output<string>;
|
|
47
59
|
/**
|
|
48
|
-
* The domain to add the email forwarding rule to
|
|
60
|
+
* The domain name to add the email forwarding rule to
|
|
49
61
|
*/
|
|
50
62
|
readonly domain: pulumi.Output<string>;
|
|
51
63
|
/**
|
|
@@ -62,7 +74,7 @@ export declare class EmailForward extends pulumi.CustomResource {
|
|
|
62
74
|
*/
|
|
63
75
|
export interface EmailForwardState {
|
|
64
76
|
/**
|
|
65
|
-
* The source email address on the domain
|
|
77
|
+
* The source email address on the domain, in full form. This is a computed attribute.
|
|
66
78
|
*/
|
|
67
79
|
aliasEmail?: pulumi.Input<string>;
|
|
68
80
|
/**
|
|
@@ -70,11 +82,11 @@ export interface EmailForwardState {
|
|
|
70
82
|
*/
|
|
71
83
|
aliasName?: pulumi.Input<string>;
|
|
72
84
|
/**
|
|
73
|
-
* The destination email address
|
|
85
|
+
* The destination email address
|
|
74
86
|
*/
|
|
75
87
|
destinationEmail?: pulumi.Input<string>;
|
|
76
88
|
/**
|
|
77
|
-
* The domain to add the email forwarding rule to
|
|
89
|
+
* The domain name to add the email forwarding rule to
|
|
78
90
|
*/
|
|
79
91
|
domain?: pulumi.Input<string>;
|
|
80
92
|
}
|
|
@@ -87,11 +99,11 @@ export interface EmailForwardArgs {
|
|
|
87
99
|
*/
|
|
88
100
|
aliasName: pulumi.Input<string>;
|
|
89
101
|
/**
|
|
90
|
-
* The destination email address
|
|
102
|
+
* The destination email address
|
|
91
103
|
*/
|
|
92
104
|
destinationEmail: pulumi.Input<string>;
|
|
93
105
|
/**
|
|
94
|
-
* The domain to add the email forwarding rule to
|
|
106
|
+
* The domain name to add the email forwarding rule to
|
|
95
107
|
*/
|
|
96
108
|
domain: pulumi.Input<string>;
|
|
97
109
|
}
|
package/emailForward.js
CHANGED
|
@@ -16,11 +16,23 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* // Add an email forwarding rule to the domain
|
|
18
18
|
* const foobar = new dnsimple.EmailForward("foobar", {
|
|
19
|
-
* domain: dnsimpleDomain,
|
|
19
|
+
* domain: dnsimpleDomain.name,
|
|
20
20
|
* aliasName: "sales",
|
|
21
|
-
* destinationEmail: "
|
|
21
|
+
* destinationEmail: "alice.appleseed@example.com",
|
|
22
22
|
* });
|
|
23
23
|
* ```
|
|
24
|
+
*
|
|
25
|
+
* ## Import
|
|
26
|
+
*
|
|
27
|
+
* DNSimple resources can be imported using the domain name and numeric email forward ID.
|
|
28
|
+
*
|
|
29
|
+
* **Importing email forward for example.com with email forward ID 1234**
|
|
30
|
+
*
|
|
31
|
+
* bash
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import dnsimple:index/emailForward:EmailForward resource_name example.com_1234
|
|
35
|
+
* ```
|
|
24
36
|
*/
|
|
25
37
|
class EmailForward extends pulumi.CustomResource {
|
|
26
38
|
/**
|
package/emailForward.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emailForward.js","sourceRoot":"","sources":["../emailForward.ts"],"names":[],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AAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAhFL,oCAiFC;AAnEG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
package/getCertificate.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export interface GetCertificateArgs {
|
|
|
22
22
|
/**
|
|
23
23
|
* The ID of the SSL Certificate
|
|
24
24
|
*/
|
|
25
|
-
certificateId:
|
|
25
|
+
certificateId: number;
|
|
26
26
|
/**
|
|
27
27
|
* The domain of the SSL Certificate
|
|
28
28
|
*/
|
|
@@ -36,11 +36,8 @@ export interface GetCertificateResult {
|
|
|
36
36
|
* A list of certificates that make up the chain
|
|
37
37
|
*/
|
|
38
38
|
readonly certificateChains: string[];
|
|
39
|
-
readonly certificateId:
|
|
39
|
+
readonly certificateId: number;
|
|
40
40
|
readonly domain: string;
|
|
41
|
-
/**
|
|
42
|
-
* The provider-assigned unique ID for this managed resource.
|
|
43
|
-
*/
|
|
44
41
|
readonly id: string;
|
|
45
42
|
/**
|
|
46
43
|
* The corresponding Private Key for the SSL Certificate
|
|
@@ -78,7 +75,7 @@ export interface GetCertificateOutputArgs {
|
|
|
78
75
|
/**
|
|
79
76
|
* The ID of the SSL Certificate
|
|
80
77
|
*/
|
|
81
|
-
certificateId: pulumi.Input<
|
|
78
|
+
certificateId: pulumi.Input<number>;
|
|
82
79
|
/**
|
|
83
80
|
* The domain of the SSL Certificate
|
|
84
81
|
*/
|
package/getCertificate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCertificate.js","sourceRoot":"","sources":["../getCertificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC;
|
|
1
|
+
{"version":3,"file":"getCertificate.js","sourceRoot":"","sources":["../getCertificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC;AAwCD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
package/getZone.d.ts
CHANGED
|
@@ -17,11 +17,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
17
17
|
*
|
|
18
18
|
* * `name` - (Required) The name of the zone
|
|
19
19
|
*
|
|
20
|
-
* The following attributes are exported:
|
|
20
|
+
* The following additional attributes are exported:
|
|
21
21
|
*
|
|
22
22
|
* * `id` - The zone ID
|
|
23
23
|
* * `accountId` - The account ID
|
|
24
|
-
* * `name` - The name of the zone
|
|
25
24
|
* * `reverse` - True for a reverse zone, false for a forward zone.
|
|
26
25
|
*/
|
|
27
26
|
export declare function getZone(args: GetZoneArgs, opts?: pulumi.InvokeOptions): Promise<GetZoneResult>;
|
|
@@ -58,11 +57,10 @@ export interface GetZoneResult {
|
|
|
58
57
|
*
|
|
59
58
|
* * `name` - (Required) The name of the zone
|
|
60
59
|
*
|
|
61
|
-
* The following attributes are exported:
|
|
60
|
+
* The following additional attributes are exported:
|
|
62
61
|
*
|
|
63
62
|
* * `id` - The zone ID
|
|
64
63
|
* * `accountId` - The account ID
|
|
65
|
-
* * `name` - The name of the zone
|
|
66
64
|
* * `reverse` - True for a reverse zone, false for a forward zone.
|
|
67
65
|
*/
|
|
68
66
|
export declare function getZoneOutput(args: GetZoneOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetZoneResult>;
|
package/getZone.js
CHANGED
|
@@ -23,11 +23,10 @@ const utilities = require("./utilities");
|
|
|
23
23
|
*
|
|
24
24
|
* * `name` - (Required) The name of the zone
|
|
25
25
|
*
|
|
26
|
-
* The following attributes are exported:
|
|
26
|
+
* The following additional attributes are exported:
|
|
27
27
|
*
|
|
28
28
|
* * `id` - The zone ID
|
|
29
29
|
* * `accountId` - The account ID
|
|
30
|
-
* * `name` - The name of the zone
|
|
31
30
|
* * `reverse` - True for a reverse zone, false for a forward zone.
|
|
32
31
|
*/
|
|
33
32
|
function getZone(args, opts) {
|
|
@@ -55,11 +54,10 @@ exports.getZone = getZone;
|
|
|
55
54
|
*
|
|
56
55
|
* * `name` - (Required) The name of the zone
|
|
57
56
|
*
|
|
58
|
-
* The following attributes are exported:
|
|
57
|
+
* The following additional attributes are exported:
|
|
59
58
|
*
|
|
60
59
|
* * `id` - The zone ID
|
|
61
60
|
* * `accountId` - The account ID
|
|
62
|
-
* * `name` - The name of the zone
|
|
63
61
|
* * `reverse` - True for a reverse zone, false for a forward zone.
|
|
64
62
|
*/
|
|
65
63
|
function getZoneOutput(args, opts) {
|
package/getZone.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getZone.js","sourceRoot":"","sources":["../getZone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getZone.js","sourceRoot":"","sources":["../getZone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAElE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gCAAgC,EAAE;QAC3D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AAkBD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
|
package/index.d.ts
CHANGED
|
@@ -16,12 +16,10 @@ export declare const LetsEncryptCertificate: typeof import("./letsEncryptCertifi
|
|
|
16
16
|
export { ProviderArgs } from "./provider";
|
|
17
17
|
export type Provider = import("./provider").Provider;
|
|
18
18
|
export declare const Provider: typeof import("./provider").Provider;
|
|
19
|
-
export { RecordArgs, RecordState } from "./record";
|
|
20
|
-
export type Record = import("./record").Record;
|
|
21
|
-
export declare const Record: typeof import("./record").Record;
|
|
22
|
-
export * from "./recordType";
|
|
23
19
|
export { ZoneRecordArgs, ZoneRecordState } from "./zoneRecord";
|
|
24
20
|
export type ZoneRecord = import("./zoneRecord").ZoneRecord;
|
|
25
21
|
export declare const ZoneRecord: typeof import("./zoneRecord").ZoneRecord;
|
|
22
|
+
export * from "./types/enums";
|
|
26
23
|
import * as config from "./config";
|
|
27
|
-
|
|
24
|
+
import * as types from "./types";
|
|
25
|
+
export { config, types, };
|
package/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
19
|
+
exports.types = exports.config = exports.ZoneRecord = exports.Provider = exports.LetsEncryptCertificate = exports.getZoneOutput = exports.getZone = exports.getCertificateOutput = exports.getCertificate = exports.EmailForward = exports.Domain = void 0;
|
|
20
20
|
const pulumi = require("@pulumi/pulumi");
|
|
21
21
|
const utilities = require("./utilities");
|
|
22
22
|
exports.Domain = null;
|
|
@@ -33,14 +33,15 @@ exports.LetsEncryptCertificate = null;
|
|
|
33
33
|
utilities.lazyLoad(exports, ["LetsEncryptCertificate"], () => require("./letsEncryptCertificate"));
|
|
34
34
|
exports.Provider = null;
|
|
35
35
|
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
|
36
|
-
exports.Record = null;
|
|
37
|
-
utilities.lazyLoad(exports, ["Record"], () => require("./record"));
|
|
38
|
-
__exportStar(require("./recordType"), exports);
|
|
39
36
|
exports.ZoneRecord = null;
|
|
40
37
|
utilities.lazyLoad(exports, ["ZoneRecord"], () => require("./zoneRecord"));
|
|
38
|
+
// Export enums:
|
|
39
|
+
__exportStar(require("./types/enums"), exports);
|
|
41
40
|
// Export sub-modules:
|
|
42
41
|
const config = require("./config");
|
|
43
42
|
exports.config = config;
|
|
43
|
+
const types = require("./types");
|
|
44
|
+
exports.types = types;
|
|
44
45
|
const _module = {
|
|
45
46
|
version: utilities.getVersion(),
|
|
46
47
|
construct: (name, type, urn) => {
|
|
@@ -51,8 +52,6 @@ const _module = {
|
|
|
51
52
|
return new exports.EmailForward(name, undefined, { urn });
|
|
52
53
|
case "dnsimple:index/letsEncryptCertificate:LetsEncryptCertificate":
|
|
53
54
|
return new exports.LetsEncryptCertificate(name, undefined, { urn });
|
|
54
|
-
case "dnsimple:index/record:Record":
|
|
55
|
-
return new exports.Record(name, undefined, { urn });
|
|
56
55
|
case "dnsimple:index/zoneRecord:ZoneRecord":
|
|
57
56
|
return new exports.ZoneRecord(name, undefined, { urn });
|
|
58
57
|
default:
|
|
@@ -63,7 +62,6 @@ const _module = {
|
|
|
63
62
|
pulumi.runtime.registerResourceModule("dnsimple", "index/domain", _module);
|
|
64
63
|
pulumi.runtime.registerResourceModule("dnsimple", "index/emailForward", _module);
|
|
65
64
|
pulumi.runtime.registerResourceModule("dnsimple", "index/letsEncryptCertificate", _module);
|
|
66
|
-
pulumi.runtime.registerResourceModule("dnsimple", "index/record", _module);
|
|
67
65
|
pulumi.runtime.registerResourceModule("dnsimple", "index/zoneRecord", _module);
|
|
68
66
|
pulumi.runtime.registerResourcePackage("dnsimple", {
|
|
69
67
|
version: utilities.getVersion(),
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,MAAM,GAAqC,IAAW,CAAC;AACpE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;AAItD,QAAA,YAAY,GAAiD,IAAW,CAAC;AACtF,SAAS,CAAC,QAAQ,CAAC,OAAO,E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,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -36,15 +36,12 @@ export declare class LetsEncryptCertificate extends pulumi.CustomResource {
|
|
|
36
36
|
*/
|
|
37
37
|
readonly authorityIdentifier: pulumi.Output<string>;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* True if the certificate should auto-renew
|
|
40
40
|
*/
|
|
41
41
|
readonly autoRenew: pulumi.Output<boolean>;
|
|
42
42
|
/**
|
|
43
|
-
* The
|
|
44
|
-
*
|
|
45
|
-
* @deprecated contact_id is deprecated and has no effect. The attribute will be removed in the next major version.
|
|
43
|
+
* The datetime the certificate was created
|
|
46
44
|
*/
|
|
47
|
-
readonly contactId: pulumi.Output<number | undefined>;
|
|
48
45
|
readonly createdAt: pulumi.Output<string>;
|
|
49
46
|
/**
|
|
50
47
|
* The certificate signing request
|
|
@@ -53,16 +50,26 @@ export declare class LetsEncryptCertificate extends pulumi.CustomResource {
|
|
|
53
50
|
/**
|
|
54
51
|
* The domain to be issued the certificate for
|
|
55
52
|
*/
|
|
56
|
-
readonly domainId: pulumi.Output<string
|
|
57
|
-
|
|
53
|
+
readonly domainId: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The datetime the certificate will expire
|
|
56
|
+
*/
|
|
57
|
+
readonly expiresAt: pulumi.Output<string>;
|
|
58
58
|
/**
|
|
59
59
|
* The certificate name
|
|
60
60
|
*/
|
|
61
61
|
readonly name: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The signature algorithm to use for the certificate
|
|
64
|
+
*/
|
|
65
|
+
readonly signatureAlgorithm: pulumi.Output<string | undefined>;
|
|
62
66
|
/**
|
|
63
67
|
* The state of the certificate
|
|
64
68
|
*/
|
|
65
69
|
readonly state: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* The datetime the certificate was last updated
|
|
72
|
+
*/
|
|
66
73
|
readonly updatedAt: pulumi.Output<string>;
|
|
67
74
|
/**
|
|
68
75
|
* The years the certificate will last
|
|
@@ -86,15 +93,12 @@ export interface LetsEncryptCertificateState {
|
|
|
86
93
|
*/
|
|
87
94
|
authorityIdentifier?: pulumi.Input<string>;
|
|
88
95
|
/**
|
|
89
|
-
*
|
|
96
|
+
* True if the certificate should auto-renew
|
|
90
97
|
*/
|
|
91
98
|
autoRenew?: pulumi.Input<boolean>;
|
|
92
99
|
/**
|
|
93
|
-
* The
|
|
94
|
-
*
|
|
95
|
-
* @deprecated contact_id is deprecated and has no effect. The attribute will be removed in the next major version.
|
|
100
|
+
* The datetime the certificate was created
|
|
96
101
|
*/
|
|
97
|
-
contactId?: pulumi.Input<number>;
|
|
98
102
|
createdAt?: pulumi.Input<string>;
|
|
99
103
|
/**
|
|
100
104
|
* The certificate signing request
|
|
@@ -104,15 +108,25 @@ export interface LetsEncryptCertificateState {
|
|
|
104
108
|
* The domain to be issued the certificate for
|
|
105
109
|
*/
|
|
106
110
|
domainId?: pulumi.Input<string>;
|
|
107
|
-
|
|
111
|
+
/**
|
|
112
|
+
* The datetime the certificate will expire
|
|
113
|
+
*/
|
|
114
|
+
expiresAt?: pulumi.Input<string>;
|
|
108
115
|
/**
|
|
109
116
|
* The certificate name
|
|
110
117
|
*/
|
|
111
118
|
name?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The signature algorithm to use for the certificate
|
|
121
|
+
*/
|
|
122
|
+
signatureAlgorithm?: pulumi.Input<string>;
|
|
112
123
|
/**
|
|
113
124
|
* The state of the certificate
|
|
114
125
|
*/
|
|
115
126
|
state?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* The datetime the certificate was last updated
|
|
129
|
+
*/
|
|
116
130
|
updatedAt?: pulumi.Input<string>;
|
|
117
131
|
/**
|
|
118
132
|
* The years the certificate will last
|
|
@@ -124,21 +138,19 @@ export interface LetsEncryptCertificateState {
|
|
|
124
138
|
*/
|
|
125
139
|
export interface LetsEncryptCertificateArgs {
|
|
126
140
|
/**
|
|
127
|
-
*
|
|
141
|
+
* True if the certificate should auto-renew
|
|
128
142
|
*/
|
|
129
143
|
autoRenew: pulumi.Input<boolean>;
|
|
130
|
-
/**
|
|
131
|
-
* The contact id for the certificate
|
|
132
|
-
*
|
|
133
|
-
* @deprecated contact_id is deprecated and has no effect. The attribute will be removed in the next major version.
|
|
134
|
-
*/
|
|
135
|
-
contactId?: pulumi.Input<number>;
|
|
136
144
|
/**
|
|
137
145
|
* The domain to be issued the certificate for
|
|
138
146
|
*/
|
|
139
|
-
domainId
|
|
147
|
+
domainId: pulumi.Input<string>;
|
|
140
148
|
/**
|
|
141
149
|
* The certificate name
|
|
142
150
|
*/
|
|
143
151
|
name: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* The signature algorithm to use for the certificate
|
|
154
|
+
*/
|
|
155
|
+
signatureAlgorithm?: pulumi.Input<string>;
|
|
144
156
|
}
|
|
@@ -51,12 +51,12 @@ class LetsEncryptCertificate extends pulumi.CustomResource {
|
|
|
51
51
|
const state = argsOrState;
|
|
52
52
|
resourceInputs["authorityIdentifier"] = state ? state.authorityIdentifier : undefined;
|
|
53
53
|
resourceInputs["autoRenew"] = state ? state.autoRenew : undefined;
|
|
54
|
-
resourceInputs["contactId"] = state ? state.contactId : undefined;
|
|
55
54
|
resourceInputs["createdAt"] = state ? state.createdAt : undefined;
|
|
56
55
|
resourceInputs["csr"] = state ? state.csr : undefined;
|
|
57
56
|
resourceInputs["domainId"] = state ? state.domainId : undefined;
|
|
58
|
-
resourceInputs["
|
|
57
|
+
resourceInputs["expiresAt"] = state ? state.expiresAt : undefined;
|
|
59
58
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
59
|
+
resourceInputs["signatureAlgorithm"] = state ? state.signatureAlgorithm : undefined;
|
|
60
60
|
resourceInputs["state"] = state ? state.state : undefined;
|
|
61
61
|
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
62
62
|
resourceInputs["years"] = state ? state.years : undefined;
|
|
@@ -66,17 +66,20 @@ class LetsEncryptCertificate extends pulumi.CustomResource {
|
|
|
66
66
|
if ((!args || args.autoRenew === undefined) && !opts.urn) {
|
|
67
67
|
throw new Error("Missing required property 'autoRenew'");
|
|
68
68
|
}
|
|
69
|
+
if ((!args || args.domainId === undefined) && !opts.urn) {
|
|
70
|
+
throw new Error("Missing required property 'domainId'");
|
|
71
|
+
}
|
|
69
72
|
if ((!args || args.name === undefined) && !opts.urn) {
|
|
70
73
|
throw new Error("Missing required property 'name'");
|
|
71
74
|
}
|
|
72
75
|
resourceInputs["autoRenew"] = args ? args.autoRenew : undefined;
|
|
73
|
-
resourceInputs["contactId"] = args ? args.contactId : undefined;
|
|
74
76
|
resourceInputs["domainId"] = args ? args.domainId : undefined;
|
|
75
77
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
78
|
+
resourceInputs["signatureAlgorithm"] = args ? args.signatureAlgorithm : undefined;
|
|
76
79
|
resourceInputs["authorityIdentifier"] = undefined /*out*/;
|
|
77
80
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
78
81
|
resourceInputs["csr"] = undefined /*out*/;
|
|
79
|
-
resourceInputs["
|
|
82
|
+
resourceInputs["expiresAt"] = undefined /*out*/;
|
|
80
83
|
resourceInputs["state"] = undefined /*out*/;
|
|
81
84
|
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
82
85
|
resourceInputs["years"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"letsEncryptCertificate.js","sourceRoot":"","sources":["../letsEncryptCertificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,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O,CAAC;YAC5C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AA1HL,wDA2HC;AA7GG,gBAAgB;AACO,mCAAY,GAAG,8DAA8D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/dnsimple",
|
|
3
|
-
"version": "3.5.0-alpha.
|
|
3
|
+
"version": "3.5.0-alpha.1721425071",
|
|
4
4
|
"description": "A Pulumi package for creating and managing dnsimple cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "dnsimple",
|
|
26
|
-
"version": "3.5.0-alpha.
|
|
26
|
+
"version": "3.5.0-alpha.1721425071"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/provider.d.ts
CHANGED
|
@@ -14,11 +14,11 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
14
14
|
/**
|
|
15
15
|
* The account for API operations.
|
|
16
16
|
*/
|
|
17
|
-
readonly account: pulumi.Output<string>;
|
|
17
|
+
readonly account: pulumi.Output<string | undefined>;
|
|
18
18
|
/**
|
|
19
19
|
* The API v2 token for API operations.
|
|
20
20
|
*/
|
|
21
|
-
readonly token: pulumi.Output<string>;
|
|
21
|
+
readonly token: pulumi.Output<string | undefined>;
|
|
22
22
|
/**
|
|
23
23
|
* Custom string to append to the user agent used for sending HTTP requests to the API.
|
|
24
24
|
*/
|
|
@@ -30,7 +30,7 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
30
30
|
* @param args The arguments to use to populate this resource's properties.
|
|
31
31
|
* @param opts A bag of options that control this resource's behavior.
|
|
32
32
|
*/
|
|
33
|
-
constructor(name: string, args
|
|
33
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* The set of arguments for constructing a Provider resource.
|
|
@@ -39,7 +39,7 @@ export interface ProviderArgs {
|
|
|
39
39
|
/**
|
|
40
40
|
* The account for API operations.
|
|
41
41
|
*/
|
|
42
|
-
account
|
|
42
|
+
account?: pulumi.Input<string>;
|
|
43
43
|
/**
|
|
44
44
|
* Flag to enable the prefetch of zone records.
|
|
45
45
|
*/
|
|
@@ -51,7 +51,7 @@ export interface ProviderArgs {
|
|
|
51
51
|
/**
|
|
52
52
|
* The API v2 token for API operations.
|
|
53
53
|
*/
|
|
54
|
-
token
|
|
54
|
+
token?: pulumi.Input<string>;
|
|
55
55
|
/**
|
|
56
56
|
* Custom string to append to the user agent used for sending HTTP requests to the API.
|
|
57
57
|
*/
|
package/provider.js
CHANGED
|
@@ -33,12 +33,6 @@ class Provider extends pulumi.ProviderResource {
|
|
|
33
33
|
let resourceInputs = {};
|
|
34
34
|
opts = opts || {};
|
|
35
35
|
{
|
|
36
|
-
if ((!args || args.account === undefined) && !opts.urn) {
|
|
37
|
-
throw new Error("Missing required property 'account'");
|
|
38
|
-
}
|
|
39
|
-
if ((!args || args.token === undefined) && !opts.urn) {
|
|
40
|
-
throw new Error("Missing required property 'token'");
|
|
41
|
-
}
|
|
42
36
|
resourceInputs["account"] = args ? args.account : undefined;
|
|
43
37
|
resourceInputs["prefetch"] = pulumi.output(args ? args.prefetch : undefined).apply(JSON.stringify);
|
|
44
38
|
resourceInputs["sandbox"] = pulumi.output(args ? args.sandbox : undefined).apply(JSON.stringify);
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAeD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAeD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,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X: "MX";
|
|
9
|
+
readonly NAPTR: "NAPTR";
|
|
10
|
+
readonly NS: "NS";
|
|
11
|
+
readonly POOL: "POOL";
|
|
12
|
+
readonly PTR: "PTR";
|
|
13
|
+
readonly SPF: "SPF";
|
|
14
|
+
readonly SRV: "SRV";
|
|
15
|
+
readonly SSHFP: "SSHFP";
|
|
16
|
+
readonly TXT: "TXT";
|
|
17
|
+
readonly URL: "URL";
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* DNS Record types.
|
|
21
|
+
*/
|
|
22
|
+
export type RecordTypes = (typeof RecordTypes)[keyof typeof RecordTypes];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.RecordTypes = void 0;
|
|
6
|
+
exports.RecordTypes = {
|
|
7
|
+
A: "A",
|
|
8
|
+
AAAA: "AAAA",
|
|
9
|
+
ALIAS: "ALIAS",
|
|
10
|
+
CAA: "CAA",
|
|
11
|
+
CNAME: "CNAME",
|
|
12
|
+
HINFO: "HINFO",
|
|
13
|
+
MX: "MX",
|
|
14
|
+
NAPTR: "NAPTR",
|
|
15
|
+
NS: "NS",
|
|
16
|
+
POOL: "POOL",
|
|
17
|
+
PTR: "PTR",
|
|
18
|
+
SPF: "SPF",
|
|
19
|
+
SRV: "SRV",
|
|
20
|
+
SSHFP: "SSHFP",
|
|
21
|
+
TXT: "TXT",
|
|
22
|
+
URL: "URL",
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/enums/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAGpE,QAAA,WAAW,GAAG;IACvB,CAAC,EAAE,GAAG;IACN,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,EAAE,EAAE,IAAI;IACR,KAAK,EAAE,OAAO;IACd,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;IACd,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;CACJ,CAAC"}
|
package/types/index.d.ts
ADDED
package/types/index.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.output = exports.input = exports.enums = void 0;
|
|
6
|
+
// Export sub-modules:
|
|
7
|
+
const enums = require("./enums");
|
|
8
|
+
exports.enums = enums;
|
|
9
|
+
const input = require("./input");
|
|
10
|
+
exports.input = input;
|
|
11
|
+
const output = require("./output");
|
|
12
|
+
exports.output = output;
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,sBAAsB;AACtB,iCAAiC;AAK7B,sBAAK;AAJT,iCAAiC;AAK7B,sBAAK;AAJT,mCAAmC;AAK/B,wBAAM"}
|
package/types/input.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/types/input.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
//# sourceMappingURL=input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.js","sourceRoot":"","sources":["../../types/input.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/types/output.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
//# sourceMappingURL=output.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF"}
|
package/zoneRecord.d.ts
CHANGED
|
@@ -2,11 +2,6 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Provides a DNSimple zone record resource.
|
|
4
4
|
*
|
|
5
|
-
* ## Deprecation warning
|
|
6
|
-
*
|
|
7
|
-
* You can still use the _deprecated_ `dnsimple.Record` configuration, but be aware that it will be removed in the
|
|
8
|
-
* upcoming 1.0.0 release.
|
|
9
|
-
*
|
|
10
5
|
* ## Example Usage
|
|
11
6
|
*
|
|
12
7
|
* ```typescript
|
|
@@ -19,7 +14,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
19
14
|
* name: "",
|
|
20
15
|
* value: "192.168.0.11",
|
|
21
16
|
* type: "A",
|
|
22
|
-
* ttl:
|
|
17
|
+
* ttl: 3600,
|
|
23
18
|
* });
|
|
24
19
|
* ```
|
|
25
20
|
*
|
|
@@ -33,7 +28,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
33
28
|
* name: "terraform",
|
|
34
29
|
* value: "192.168.0.11",
|
|
35
30
|
* type: "A",
|
|
36
|
-
* ttl:
|
|
31
|
+
* ttl: 3600,
|
|
37
32
|
* });
|
|
38
33
|
* ```
|
|
39
34
|
*
|
|
@@ -41,16 +36,22 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
41
36
|
*
|
|
42
37
|
* DNSimple resources can be imported using their parent zone name (domain name) and numeric record ID.
|
|
43
38
|
*
|
|
44
|
-
*
|
|
39
|
+
* **Importing record example.com with record ID 1234**
|
|
40
|
+
*
|
|
41
|
+
* bash
|
|
45
42
|
*
|
|
46
43
|
* ```sh
|
|
47
44
|
* $ pulumi import dnsimple:index/zoneRecord:ZoneRecord resource_name example.com_1234
|
|
48
45
|
* ```
|
|
49
|
-
*
|
|
46
|
+
*
|
|
47
|
+
* **Importing record www.example.com with record ID 1234**
|
|
48
|
+
*
|
|
49
|
+
* bash
|
|
50
50
|
*
|
|
51
51
|
* ```sh
|
|
52
52
|
* $ pulumi import dnsimple:index/zoneRecord:ZoneRecord resource_name example.com_1234
|
|
53
53
|
* ```
|
|
54
|
+
*
|
|
54
55
|
* The record ID can be found in the URL when editing a record on the DNSimple web dashboard.
|
|
55
56
|
*/
|
|
56
57
|
export declare class ZoneRecord extends pulumi.CustomResource {
|
|
@@ -76,15 +77,15 @@ export declare class ZoneRecord extends pulumi.CustomResource {
|
|
|
76
77
|
/**
|
|
77
78
|
* The priority of the record - only useful for some record types
|
|
78
79
|
*/
|
|
79
|
-
readonly priority: pulumi.Output<
|
|
80
|
+
readonly priority: pulumi.Output<number>;
|
|
80
81
|
/**
|
|
81
82
|
* The FQDN of the record
|
|
82
83
|
*/
|
|
83
84
|
readonly qualifiedName: pulumi.Output<string>;
|
|
84
85
|
/**
|
|
85
|
-
* The TTL of the record
|
|
86
|
+
* The TTL of the record - defaults to 3600
|
|
86
87
|
*/
|
|
87
|
-
readonly ttl: pulumi.Output<
|
|
88
|
+
readonly ttl: pulumi.Output<number>;
|
|
88
89
|
/**
|
|
89
90
|
* The type of the record
|
|
90
91
|
*/
|
|
@@ -121,15 +122,15 @@ export interface ZoneRecordState {
|
|
|
121
122
|
/**
|
|
122
123
|
* The priority of the record - only useful for some record types
|
|
123
124
|
*/
|
|
124
|
-
priority?: pulumi.Input<
|
|
125
|
+
priority?: pulumi.Input<number>;
|
|
125
126
|
/**
|
|
126
127
|
* The FQDN of the record
|
|
127
128
|
*/
|
|
128
129
|
qualifiedName?: pulumi.Input<string>;
|
|
129
130
|
/**
|
|
130
|
-
* The TTL of the record
|
|
131
|
+
* The TTL of the record - defaults to 3600
|
|
131
132
|
*/
|
|
132
|
-
ttl?: pulumi.Input<
|
|
133
|
+
ttl?: pulumi.Input<number>;
|
|
133
134
|
/**
|
|
134
135
|
* The type of the record
|
|
135
136
|
*/
|
|
@@ -158,11 +159,11 @@ export interface ZoneRecordArgs {
|
|
|
158
159
|
/**
|
|
159
160
|
* The priority of the record - only useful for some record types
|
|
160
161
|
*/
|
|
161
|
-
priority?: pulumi.Input<
|
|
162
|
+
priority?: pulumi.Input<number>;
|
|
162
163
|
/**
|
|
163
|
-
* The TTL of the record
|
|
164
|
+
* The TTL of the record - defaults to 3600
|
|
164
165
|
*/
|
|
165
|
-
ttl?: pulumi.Input<
|
|
166
|
+
ttl?: pulumi.Input<number>;
|
|
166
167
|
/**
|
|
167
168
|
* The type of the record
|
|
168
169
|
*/
|
package/zoneRecord.js
CHANGED
|
@@ -8,11 +8,6 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Provides a DNSimple zone record resource.
|
|
10
10
|
*
|
|
11
|
-
* ## Deprecation warning
|
|
12
|
-
*
|
|
13
|
-
* You can still use the _deprecated_ `dnsimple.Record` configuration, but be aware that it will be removed in the
|
|
14
|
-
* upcoming 1.0.0 release.
|
|
15
|
-
*
|
|
16
11
|
* ## Example Usage
|
|
17
12
|
*
|
|
18
13
|
* ```typescript
|
|
@@ -25,7 +20,7 @@ const utilities = require("./utilities");
|
|
|
25
20
|
* name: "",
|
|
26
21
|
* value: "192.168.0.11",
|
|
27
22
|
* type: "A",
|
|
28
|
-
* ttl:
|
|
23
|
+
* ttl: 3600,
|
|
29
24
|
* });
|
|
30
25
|
* ```
|
|
31
26
|
*
|
|
@@ -39,7 +34,7 @@ const utilities = require("./utilities");
|
|
|
39
34
|
* name: "terraform",
|
|
40
35
|
* value: "192.168.0.11",
|
|
41
36
|
* type: "A",
|
|
42
|
-
* ttl:
|
|
37
|
+
* ttl: 3600,
|
|
43
38
|
* });
|
|
44
39
|
* ```
|
|
45
40
|
*
|
|
@@ -47,16 +42,22 @@ const utilities = require("./utilities");
|
|
|
47
42
|
*
|
|
48
43
|
* DNSimple resources can be imported using their parent zone name (domain name) and numeric record ID.
|
|
49
44
|
*
|
|
50
|
-
*
|
|
45
|
+
* **Importing record example.com with record ID 1234**
|
|
46
|
+
*
|
|
47
|
+
* bash
|
|
51
48
|
*
|
|
52
49
|
* ```sh
|
|
53
50
|
* $ pulumi import dnsimple:index/zoneRecord:ZoneRecord resource_name example.com_1234
|
|
54
51
|
* ```
|
|
55
|
-
*
|
|
52
|
+
*
|
|
53
|
+
* **Importing record www.example.com with record ID 1234**
|
|
54
|
+
*
|
|
55
|
+
* bash
|
|
56
56
|
*
|
|
57
57
|
* ```sh
|
|
58
58
|
* $ pulumi import dnsimple:index/zoneRecord:ZoneRecord resource_name example.com_1234
|
|
59
59
|
* ```
|
|
60
|
+
*
|
|
60
61
|
* The record ID can be found in the URL when editing a record on the DNSimple web dashboard.
|
|
61
62
|
*/
|
|
62
63
|
class ZoneRecord extends pulumi.CustomResource {
|
package/zoneRecord.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zoneRecord.js","sourceRoot":"","sources":["../zoneRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,y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
-
It will be removed in the next major version.
|
|
6
|
-
*/
|
|
7
|
-
export declare class Record extends pulumi.CustomResource {
|
|
8
|
-
/**
|
|
9
|
-
* Get an existing Record resource's state with the given name, ID, and optional extra
|
|
10
|
-
* properties used to qualify the lookup.
|
|
11
|
-
*
|
|
12
|
-
* @param name The _unique_ name of the resulting resource.
|
|
13
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
-
* @param state Any extra arguments used during the lookup.
|
|
15
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
-
*/
|
|
17
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RecordState, opts?: pulumi.CustomResourceOptions): Record;
|
|
18
|
-
/**
|
|
19
|
-
* Returns true if the given object is an instance of Record. This is designed to work even
|
|
20
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
-
*/
|
|
22
|
-
static isInstance(obj: any): obj is Record;
|
|
23
|
-
readonly domain: pulumi.Output<string>;
|
|
24
|
-
readonly domainId: pulumi.Output<string>;
|
|
25
|
-
readonly hostname: pulumi.Output<string>;
|
|
26
|
-
readonly name: pulumi.Output<string>;
|
|
27
|
-
readonly priority: pulumi.Output<string>;
|
|
28
|
-
readonly ttl: pulumi.Output<string | undefined>;
|
|
29
|
-
readonly type: pulumi.Output<RecordType>;
|
|
30
|
-
readonly value: pulumi.Output<string>;
|
|
31
|
-
/**
|
|
32
|
-
* Create a Record resource with the given unique name, arguments, and options.
|
|
33
|
-
*
|
|
34
|
-
* @param name The _unique_ name of the resource.
|
|
35
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
36
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
37
|
-
*/
|
|
38
|
-
/** @deprecated This resource is deprecated.
|
|
39
|
-
It will be removed in the next major version. */
|
|
40
|
-
constructor(name: string, args: RecordArgs, opts?: pulumi.CustomResourceOptions);
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Input properties used for looking up and filtering Record resources.
|
|
44
|
-
*/
|
|
45
|
-
export interface RecordState {
|
|
46
|
-
domain?: pulumi.Input<string>;
|
|
47
|
-
domainId?: pulumi.Input<string>;
|
|
48
|
-
hostname?: pulumi.Input<string>;
|
|
49
|
-
name?: pulumi.Input<string>;
|
|
50
|
-
priority?: pulumi.Input<string>;
|
|
51
|
-
ttl?: pulumi.Input<string>;
|
|
52
|
-
type?: pulumi.Input<RecordType>;
|
|
53
|
-
value?: pulumi.Input<string>;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* The set of arguments for constructing a Record resource.
|
|
57
|
-
*/
|
|
58
|
-
export interface RecordArgs {
|
|
59
|
-
domain: pulumi.Input<string>;
|
|
60
|
-
name: pulumi.Input<string>;
|
|
61
|
-
priority?: pulumi.Input<string>;
|
|
62
|
-
ttl?: pulumi.Input<string>;
|
|
63
|
-
type: pulumi.Input<RecordType>;
|
|
64
|
-
value: pulumi.Input<string>;
|
|
65
|
-
}
|
package/record.js
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Record = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated This resource is deprecated.
|
|
10
|
-
It will be removed in the next major version.
|
|
11
|
-
*/
|
|
12
|
-
class Record extends pulumi.CustomResource {
|
|
13
|
-
/**
|
|
14
|
-
* Get an existing Record resource's state with the given name, ID, and optional extra
|
|
15
|
-
* properties used to qualify the lookup.
|
|
16
|
-
*
|
|
17
|
-
* @param name The _unique_ name of the resulting resource.
|
|
18
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
19
|
-
* @param state Any extra arguments used during the lookup.
|
|
20
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
-
*/
|
|
22
|
-
static get(name, id, state, opts) {
|
|
23
|
-
pulumi.log.warn("Record is deprecated: This resource is deprecated.\nIt will be removed in the next major version.");
|
|
24
|
-
return new Record(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Returns true if the given object is an instance of Record. This is designed to work even
|
|
28
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
|
-
*/
|
|
30
|
-
static isInstance(obj) {
|
|
31
|
-
if (obj === undefined || obj === null) {
|
|
32
|
-
return false;
|
|
33
|
-
}
|
|
34
|
-
return obj['__pulumiType'] === Record.__pulumiType;
|
|
35
|
-
}
|
|
36
|
-
/** @deprecated This resource is deprecated.
|
|
37
|
-
It will be removed in the next major version. */
|
|
38
|
-
constructor(name, argsOrState, opts) {
|
|
39
|
-
pulumi.log.warn("Record is deprecated: This resource is deprecated.\nIt will be removed in the next major version.");
|
|
40
|
-
let resourceInputs = {};
|
|
41
|
-
opts = opts || {};
|
|
42
|
-
if (opts.id) {
|
|
43
|
-
const state = argsOrState;
|
|
44
|
-
resourceInputs["domain"] = state ? state.domain : undefined;
|
|
45
|
-
resourceInputs["domainId"] = state ? state.domainId : undefined;
|
|
46
|
-
resourceInputs["hostname"] = state ? state.hostname : undefined;
|
|
47
|
-
resourceInputs["name"] = state ? state.name : undefined;
|
|
48
|
-
resourceInputs["priority"] = state ? state.priority : undefined;
|
|
49
|
-
resourceInputs["ttl"] = state ? state.ttl : undefined;
|
|
50
|
-
resourceInputs["type"] = state ? state.type : undefined;
|
|
51
|
-
resourceInputs["value"] = state ? state.value : undefined;
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
const args = argsOrState;
|
|
55
|
-
if ((!args || args.domain === undefined) && !opts.urn) {
|
|
56
|
-
throw new Error("Missing required property 'domain'");
|
|
57
|
-
}
|
|
58
|
-
if ((!args || args.name === undefined) && !opts.urn) {
|
|
59
|
-
throw new Error("Missing required property 'name'");
|
|
60
|
-
}
|
|
61
|
-
if ((!args || args.type === undefined) && !opts.urn) {
|
|
62
|
-
throw new Error("Missing required property 'type'");
|
|
63
|
-
}
|
|
64
|
-
if ((!args || args.value === undefined) && !opts.urn) {
|
|
65
|
-
throw new Error("Missing required property 'value'");
|
|
66
|
-
}
|
|
67
|
-
resourceInputs["domain"] = args ? args.domain : undefined;
|
|
68
|
-
resourceInputs["name"] = args ? args.name : undefined;
|
|
69
|
-
resourceInputs["priority"] = args ? args.priority : undefined;
|
|
70
|
-
resourceInputs["ttl"] = args ? args.ttl : undefined;
|
|
71
|
-
resourceInputs["type"] = args ? args.type : undefined;
|
|
72
|
-
resourceInputs["value"] = args ? args.value : undefined;
|
|
73
|
-
resourceInputs["domainId"] = undefined /*out*/;
|
|
74
|
-
resourceInputs["hostname"] = undefined /*out*/;
|
|
75
|
-
}
|
|
76
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
77
|
-
super(Record.__pulumiType, name, resourceInputs, opts);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
exports.Record = Record;
|
|
81
|
-
/** @internal */
|
|
82
|
-
Record.__pulumiType = 'dnsimple:index/record:Record';
|
|
83
|
-
//# sourceMappingURL=record.js.map
|
package/record.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"record.js","sourceRoot":"","sources":["../record.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAIzC;;;GAGG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,mGAAmG,CAAC,CAAA;QACpH,OAAO,IAAI,MAAM,CA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CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAzFL,wBA0FC;AA3EG,gBAAgB;AACO,mBAAY,GAAG,8BAA8B,CAAC"}
|
package/recordType.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare module RecordTypes {
|
|
2
|
-
const A: RecordType;
|
|
3
|
-
const AAAA: RecordType;
|
|
4
|
-
const ALIAS: RecordType;
|
|
5
|
-
const CAA: RecordType;
|
|
6
|
-
const CNAME: RecordType;
|
|
7
|
-
const HINFO: RecordType;
|
|
8
|
-
const MX: RecordType;
|
|
9
|
-
const NAPTR: RecordType;
|
|
10
|
-
const NS: RecordType;
|
|
11
|
-
const POOL: RecordType;
|
|
12
|
-
const PTR: RecordType;
|
|
13
|
-
const SPF: RecordType;
|
|
14
|
-
const SRV: RecordType;
|
|
15
|
-
const SSHFP: RecordType;
|
|
16
|
-
const TXT: RecordType;
|
|
17
|
-
const URL: RecordType;
|
|
18
|
-
}
|
|
19
|
-
export type RecordType = "A" | "AAAA" | "ALIAS" | "CAA" | "CNAME" | "HINFO" | "MX" | "NAPTR" | "NS" | "POOL" | "PTR" | "SPF" | "SRV" | "SSHFP" | "TXT" | "URL";
|
package/recordType.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RecordTypes = void 0;
|
|
4
|
-
var RecordTypes;
|
|
5
|
-
(function (RecordTypes) {
|
|
6
|
-
RecordTypes.A = "A";
|
|
7
|
-
RecordTypes.AAAA = "AAAA";
|
|
8
|
-
RecordTypes.ALIAS = "ALIAS";
|
|
9
|
-
RecordTypes.CAA = "CAA";
|
|
10
|
-
RecordTypes.CNAME = "CNAME";
|
|
11
|
-
RecordTypes.HINFO = "HINFO";
|
|
12
|
-
RecordTypes.MX = "MX";
|
|
13
|
-
RecordTypes.NAPTR = "NAPTR";
|
|
14
|
-
RecordTypes.NS = "NS";
|
|
15
|
-
RecordTypes.POOL = "POOL";
|
|
16
|
-
RecordTypes.PTR = "PTR";
|
|
17
|
-
RecordTypes.SPF = "SPF";
|
|
18
|
-
RecordTypes.SRV = "SRV";
|
|
19
|
-
RecordTypes.SSHFP = "SSHFP";
|
|
20
|
-
RecordTypes.TXT = "TXT";
|
|
21
|
-
RecordTypes.URL = "URL";
|
|
22
|
-
})(RecordTypes = exports.RecordTypes || (exports.RecordTypes = {}));
|
|
23
|
-
//# sourceMappingURL=recordType.js.map
|
package/recordType.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recordType.js","sourceRoot":"","sources":["../recordType.ts"],"names":[],"mappings":";;;AAAA,IAAc,WAAW,CAiBxB;AAjBD,WAAc,WAAW;IACV,aAAC,GAAe,GAAG,CAAC;IACpB,gBAAI,GAAe,MAAM,CAAC;IAC1B,iBAAK,GAAe,OAAO,CAAC;IAC5B,eAAG,GAAe,KAAK,CAAC;IACxB,iBAAK,GAAe,OAAO,CAAC;IAC5B,iBAAK,GAAe,OAAO,CAAC;IAC5B,cAAE,GAAe,IAAI,CAAC;IACtB,iBAAK,GAAe,OAAO,CAAC;IAC5B,cAAE,GAAe,IAAI,CAAC;IACtB,gBAAI,GAAe,MAAM,CAAC;IAC1B,eAAG,GAAe,KAAK,CAAC;IACxB,eAAG,GAAe,KAAK,CAAC;IACxB,eAAG,GAAe,KAAK,CAAC;IACxB,iBAAK,GAAe,OAAO,CAAC;IAC5B,eAAG,GAAe,KAAK,CAAC;IACxB,eAAG,GAAe,KAAK,CAAC;AACvC,CAAC,EAjBa,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAiBxB"}
|