@pulumi/dnsimple 4.5.0-alpha.1767073293 → 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/config/vars.d.ts
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
* The account for API operations.
|
|
3
3
|
*/
|
|
4
4
|
export declare const account: string | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* File path to enable HTTP request/response debugging. When set, all HTTP requests and responses will be logged to this file.
|
|
7
|
+
*/
|
|
8
|
+
export declare const debugTransportFile: string | undefined;
|
|
5
9
|
/**
|
|
6
10
|
* Flag to enable the prefetch of zone records.
|
|
7
11
|
*/
|
package/config/vars.js
CHANGED
|
@@ -10,6 +10,12 @@ Object.defineProperty(exports, "account", {
|
|
|
10
10
|
},
|
|
11
11
|
enumerable: true,
|
|
12
12
|
});
|
|
13
|
+
Object.defineProperty(exports, "debugTransportFile", {
|
|
14
|
+
get() {
|
|
15
|
+
return __config.get("debugTransportFile");
|
|
16
|
+
},
|
|
17
|
+
enumerable: true,
|
|
18
|
+
});
|
|
13
19
|
Object.defineProperty(exports, "prefetch", {
|
|
14
20
|
get() {
|
|
15
21
|
return __config.getObject("prefetch");
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAIzC,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AAM/C,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IACnC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,EAAE;IACvC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,UAAU,CAAC,CAAC;IACnD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE;IACtC,GAAG;QACC,OAAO,QAAQ,CAAC,SAAS,CAAU,SAAS,CAAC,CAAC;IAClD,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,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MH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE;IACpC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE;IACxC,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;IACrC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC"}
|
package/contact.d.ts
CHANGED
|
@@ -8,22 +8,21 @@ 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
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* organizationName: "Contoso",
|
|
11
|
+
* const example = new dnsimple.Contact("example", {
|
|
12
|
+
* label: "Main Contact",
|
|
13
|
+
* firstName: "John",
|
|
14
|
+
* lastName: "Doe",
|
|
15
|
+
* organizationName: "Example Inc",
|
|
17
16
|
* jobTitle: "Manager",
|
|
18
|
-
* address1: "
|
|
19
|
-
* address2: "
|
|
17
|
+
* address1: "123 Main Street",
|
|
18
|
+
* address2: "Suite 100",
|
|
20
19
|
* city: "San Francisco",
|
|
21
20
|
* stateProvince: "California",
|
|
22
|
-
* postalCode: "
|
|
21
|
+
* postalCode: "94105",
|
|
23
22
|
* country: "US",
|
|
24
|
-
* phone: "+
|
|
25
|
-
* fax: "+
|
|
26
|
-
* email: "
|
|
23
|
+
* phone: "+1.4155551234",
|
|
24
|
+
* fax: "+1.4155555678",
|
|
25
|
+
* email: "john@example.com",
|
|
27
26
|
* });
|
|
28
27
|
* ```
|
|
29
28
|
*
|
|
@@ -34,114 +33,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
34
33
|
* bash
|
|
35
34
|
*
|
|
36
35
|
* ```sh
|
|
37
|
-
* $ pulumi import dnsimple:index/contact:Contact
|
|
36
|
+
* $ pulumi import dnsimple:index/contact:Contact example 5678
|
|
38
37
|
* ```
|
|
39
38
|
*
|
|
40
|
-
* The ID can be found within [DNSimple Contacts API](https://developer.dnsimple.com/v2/contacts/#listContacts). Check out [Authentication](https://developer.dnsimple.com/v2/#authentication) in API Overview for available options.
|
|
41
|
-
*
|
|
42
|
-
* bash
|
|
43
|
-
*
|
|
44
|
-
* curl -u 'EMAIL:PASSWORD' https://api.dnsimple.com/v2/1234/contacts?label_like=example.com | jq
|
|
45
|
-
*
|
|
46
|
-
* {
|
|
47
|
-
*
|
|
48
|
-
* "data": [
|
|
49
|
-
*
|
|
50
|
-
* {
|
|
51
|
-
*
|
|
52
|
-
* "id": 1,
|
|
53
|
-
*
|
|
54
|
-
* "account_id": 1010,
|
|
55
|
-
*
|
|
56
|
-
* "label": "Default",
|
|
57
|
-
*
|
|
58
|
-
* "first_name": "First",
|
|
59
|
-
*
|
|
60
|
-
* "last_name": "User",
|
|
61
|
-
*
|
|
62
|
-
* "job_title": "CEO",
|
|
63
|
-
*
|
|
64
|
-
* "organization_name": "Awesome Company",
|
|
65
|
-
*
|
|
66
|
-
* "email": "first@example.com",
|
|
67
|
-
*
|
|
68
|
-
* "phone": "+18001234567",
|
|
69
|
-
*
|
|
70
|
-
* "fax": "+18011234567",
|
|
71
|
-
*
|
|
72
|
-
* "address1": "Italian Street, 10",
|
|
73
|
-
*
|
|
74
|
-
* "address2": "",
|
|
75
|
-
*
|
|
76
|
-
* "city": "Roma",
|
|
77
|
-
*
|
|
78
|
-
* "state_province": "RM",
|
|
79
|
-
*
|
|
80
|
-
* "postal_code": "00100",
|
|
81
|
-
*
|
|
82
|
-
* "country": "IT",
|
|
83
|
-
*
|
|
84
|
-
* "created_at": "2013-11-08T17:23:15Z",
|
|
85
|
-
*
|
|
86
|
-
* "updated_at": "2015-01-08T21:30:50Z"
|
|
87
|
-
*
|
|
88
|
-
* },
|
|
89
|
-
*
|
|
90
|
-
* {
|
|
91
|
-
*
|
|
92
|
-
* "id": 2,
|
|
93
|
-
*
|
|
94
|
-
* "account_id": 1010,
|
|
95
|
-
*
|
|
96
|
-
* "label": "",
|
|
97
|
-
*
|
|
98
|
-
* "first_name": "Second",
|
|
99
|
-
*
|
|
100
|
-
* "last_name": "User",
|
|
101
|
-
*
|
|
102
|
-
* "job_title": "",
|
|
103
|
-
*
|
|
104
|
-
* "organization_name": "",
|
|
105
|
-
*
|
|
106
|
-
* "email": "second@example.com",
|
|
107
|
-
*
|
|
108
|
-
* "phone": "+18881234567",
|
|
109
|
-
*
|
|
110
|
-
* "fax": "",
|
|
111
|
-
*
|
|
112
|
-
* "address1": "French Street",
|
|
113
|
-
*
|
|
114
|
-
* "address2": "c/o Someone",
|
|
115
|
-
*
|
|
116
|
-
* "city": "Paris",
|
|
117
|
-
*
|
|
118
|
-
* "state_province": "XY",
|
|
119
|
-
*
|
|
120
|
-
* "postal_code": "00200",
|
|
121
|
-
*
|
|
122
|
-
* "country": "FR",
|
|
123
|
-
*
|
|
124
|
-
* "created_at": "2014-12-06T15:46:18Z",
|
|
125
|
-
*
|
|
126
|
-
* "updated_at": "2014-12-06T15:46:18Z"
|
|
127
|
-
*
|
|
128
|
-
* }
|
|
129
|
-
*
|
|
130
|
-
* ],
|
|
131
|
-
*
|
|
132
|
-
* "pagination": {
|
|
133
|
-
*
|
|
134
|
-
* "current_page": 1,
|
|
135
|
-
*
|
|
136
|
-
* "per_page": 30,
|
|
137
|
-
*
|
|
138
|
-
* "total_entries": 2,
|
|
139
|
-
*
|
|
140
|
-
* "total_pages": 1
|
|
141
|
-
*
|
|
142
|
-
* }
|
|
143
|
-
*
|
|
144
|
-
* }
|
|
39
|
+
* The contact ID can be found within the [DNSimple Contacts API](https://developer.dnsimple.com/v2/contacts/#listContacts). Check out [Authentication](https://developer.dnsimple.com/v2/#authentication) in API Overview for available options.
|
|
145
40
|
*/
|
|
146
41
|
export declare class Contact extends pulumi.CustomResource {
|
|
147
42
|
/**
|
|
@@ -164,19 +59,19 @@ export declare class Contact extends pulumi.CustomResource {
|
|
|
164
59
|
*/
|
|
165
60
|
readonly accountId: pulumi.Output<number>;
|
|
166
61
|
/**
|
|
167
|
-
*
|
|
62
|
+
* The primary address line (street address, building number, etc.).
|
|
168
63
|
*/
|
|
169
64
|
readonly address1: pulumi.Output<string>;
|
|
170
65
|
/**
|
|
171
|
-
*
|
|
66
|
+
* The secondary address line (apartment, suite, floor, etc.).
|
|
172
67
|
*/
|
|
173
68
|
readonly address2: pulumi.Output<string>;
|
|
174
69
|
/**
|
|
175
|
-
*
|
|
70
|
+
* The city where the contact is located.
|
|
176
71
|
*/
|
|
177
72
|
readonly city: pulumi.Output<string>;
|
|
178
73
|
/**
|
|
179
|
-
*
|
|
74
|
+
* The two-letter ISO country code (e.g., "US", "CA", "IT") for the contact's location.
|
|
180
75
|
*/
|
|
181
76
|
readonly country: pulumi.Output<string>;
|
|
182
77
|
/**
|
|
@@ -184,13 +79,11 @@ export declare class Contact extends pulumi.CustomResource {
|
|
|
184
79
|
*/
|
|
185
80
|
readonly createdAt: pulumi.Output<string>;
|
|
186
81
|
/**
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
* # Attributes Reference
|
|
82
|
+
* The contact's email address.
|
|
190
83
|
*/
|
|
191
84
|
readonly email: pulumi.Output<string>;
|
|
192
85
|
/**
|
|
193
|
-
*
|
|
86
|
+
* The contact's fax number. Use international format with country code (e.g., "+1.8491234567" for US numbers).
|
|
194
87
|
*/
|
|
195
88
|
readonly fax: pulumi.Output<string>;
|
|
196
89
|
/**
|
|
@@ -198,27 +91,27 @@ export declare class Contact extends pulumi.CustomResource {
|
|
|
198
91
|
*/
|
|
199
92
|
readonly faxNormalized: pulumi.Output<string>;
|
|
200
93
|
/**
|
|
201
|
-
*
|
|
94
|
+
* The first name of the contact person.
|
|
202
95
|
*/
|
|
203
96
|
readonly firstName: pulumi.Output<string>;
|
|
204
97
|
/**
|
|
205
|
-
*
|
|
98
|
+
* The job title or position of the contact person within the organization.
|
|
206
99
|
*/
|
|
207
100
|
readonly jobTitle: pulumi.Output<string>;
|
|
208
101
|
/**
|
|
209
|
-
*
|
|
102
|
+
* A descriptive label for the contact to help identify it.
|
|
210
103
|
*/
|
|
211
104
|
readonly label: pulumi.Output<string>;
|
|
212
105
|
/**
|
|
213
|
-
*
|
|
106
|
+
* The last name of the contact person.
|
|
214
107
|
*/
|
|
215
108
|
readonly lastName: pulumi.Output<string>;
|
|
216
109
|
/**
|
|
217
|
-
*
|
|
110
|
+
* The name of the organization or company associated with the contact.
|
|
218
111
|
*/
|
|
219
112
|
readonly organizationName: pulumi.Output<string>;
|
|
220
113
|
/**
|
|
221
|
-
*
|
|
114
|
+
* The contact's phone number. Use international format with country code (e.g., "+1.4012345678" for US numbers).
|
|
222
115
|
*/
|
|
223
116
|
readonly phone: pulumi.Output<string>;
|
|
224
117
|
/**
|
|
@@ -226,11 +119,11 @@ export declare class Contact extends pulumi.CustomResource {
|
|
|
226
119
|
*/
|
|
227
120
|
readonly phoneNormalized: pulumi.Output<string>;
|
|
228
121
|
/**
|
|
229
|
-
*
|
|
122
|
+
* The postal code, ZIP code, or equivalent for the contact's location.
|
|
230
123
|
*/
|
|
231
124
|
readonly postalCode: pulumi.Output<string>;
|
|
232
125
|
/**
|
|
233
|
-
*
|
|
126
|
+
* The state, province, or region where the contact is located.
|
|
234
127
|
*/
|
|
235
128
|
readonly stateProvince: pulumi.Output<string>;
|
|
236
129
|
/**
|
|
@@ -255,19 +148,19 @@ export interface ContactState {
|
|
|
255
148
|
*/
|
|
256
149
|
accountId?: pulumi.Input<number>;
|
|
257
150
|
/**
|
|
258
|
-
*
|
|
151
|
+
* The primary address line (street address, building number, etc.).
|
|
259
152
|
*/
|
|
260
153
|
address1?: pulumi.Input<string>;
|
|
261
154
|
/**
|
|
262
|
-
*
|
|
155
|
+
* The secondary address line (apartment, suite, floor, etc.).
|
|
263
156
|
*/
|
|
264
157
|
address2?: pulumi.Input<string>;
|
|
265
158
|
/**
|
|
266
|
-
*
|
|
159
|
+
* The city where the contact is located.
|
|
267
160
|
*/
|
|
268
161
|
city?: pulumi.Input<string>;
|
|
269
162
|
/**
|
|
270
|
-
*
|
|
163
|
+
* The two-letter ISO country code (e.g., "US", "CA", "IT") for the contact's location.
|
|
271
164
|
*/
|
|
272
165
|
country?: pulumi.Input<string>;
|
|
273
166
|
/**
|
|
@@ -275,13 +168,11 @@ export interface ContactState {
|
|
|
275
168
|
*/
|
|
276
169
|
createdAt?: pulumi.Input<string>;
|
|
277
170
|
/**
|
|
278
|
-
*
|
|
279
|
-
*
|
|
280
|
-
* # Attributes Reference
|
|
171
|
+
* The contact's email address.
|
|
281
172
|
*/
|
|
282
173
|
email?: pulumi.Input<string>;
|
|
283
174
|
/**
|
|
284
|
-
*
|
|
175
|
+
* The contact's fax number. Use international format with country code (e.g., "+1.8491234567" for US numbers).
|
|
285
176
|
*/
|
|
286
177
|
fax?: pulumi.Input<string>;
|
|
287
178
|
/**
|
|
@@ -289,27 +180,27 @@ export interface ContactState {
|
|
|
289
180
|
*/
|
|
290
181
|
faxNormalized?: pulumi.Input<string>;
|
|
291
182
|
/**
|
|
292
|
-
*
|
|
183
|
+
* The first name of the contact person.
|
|
293
184
|
*/
|
|
294
185
|
firstName?: pulumi.Input<string>;
|
|
295
186
|
/**
|
|
296
|
-
*
|
|
187
|
+
* The job title or position of the contact person within the organization.
|
|
297
188
|
*/
|
|
298
189
|
jobTitle?: pulumi.Input<string>;
|
|
299
190
|
/**
|
|
300
|
-
*
|
|
191
|
+
* A descriptive label for the contact to help identify it.
|
|
301
192
|
*/
|
|
302
193
|
label?: pulumi.Input<string>;
|
|
303
194
|
/**
|
|
304
|
-
*
|
|
195
|
+
* The last name of the contact person.
|
|
305
196
|
*/
|
|
306
197
|
lastName?: pulumi.Input<string>;
|
|
307
198
|
/**
|
|
308
|
-
*
|
|
199
|
+
* The name of the organization or company associated with the contact.
|
|
309
200
|
*/
|
|
310
201
|
organizationName?: pulumi.Input<string>;
|
|
311
202
|
/**
|
|
312
|
-
*
|
|
203
|
+
* The contact's phone number. Use international format with country code (e.g., "+1.4012345678" for US numbers).
|
|
313
204
|
*/
|
|
314
205
|
phone?: pulumi.Input<string>;
|
|
315
206
|
/**
|
|
@@ -317,11 +208,11 @@ export interface ContactState {
|
|
|
317
208
|
*/
|
|
318
209
|
phoneNormalized?: pulumi.Input<string>;
|
|
319
210
|
/**
|
|
320
|
-
*
|
|
211
|
+
* The postal code, ZIP code, or equivalent for the contact's location.
|
|
321
212
|
*/
|
|
322
213
|
postalCode?: pulumi.Input<string>;
|
|
323
214
|
/**
|
|
324
|
-
*
|
|
215
|
+
* The state, province, or region where the contact is located.
|
|
325
216
|
*/
|
|
326
217
|
stateProvince?: pulumi.Input<string>;
|
|
327
218
|
/**
|
|
@@ -334,61 +225,59 @@ export interface ContactState {
|
|
|
334
225
|
*/
|
|
335
226
|
export interface ContactArgs {
|
|
336
227
|
/**
|
|
337
|
-
*
|
|
228
|
+
* The primary address line (street address, building number, etc.).
|
|
338
229
|
*/
|
|
339
230
|
address1: pulumi.Input<string>;
|
|
340
231
|
/**
|
|
341
|
-
*
|
|
232
|
+
* The secondary address line (apartment, suite, floor, etc.).
|
|
342
233
|
*/
|
|
343
234
|
address2?: pulumi.Input<string>;
|
|
344
235
|
/**
|
|
345
|
-
*
|
|
236
|
+
* The city where the contact is located.
|
|
346
237
|
*/
|
|
347
238
|
city: pulumi.Input<string>;
|
|
348
239
|
/**
|
|
349
|
-
*
|
|
240
|
+
* The two-letter ISO country code (e.g., "US", "CA", "IT") for the contact's location.
|
|
350
241
|
*/
|
|
351
242
|
country: pulumi.Input<string>;
|
|
352
243
|
/**
|
|
353
|
-
*
|
|
354
|
-
*
|
|
355
|
-
* # Attributes Reference
|
|
244
|
+
* The contact's email address.
|
|
356
245
|
*/
|
|
357
246
|
email: pulumi.Input<string>;
|
|
358
247
|
/**
|
|
359
|
-
*
|
|
248
|
+
* The contact's fax number. Use international format with country code (e.g., "+1.8491234567" for US numbers).
|
|
360
249
|
*/
|
|
361
250
|
fax?: pulumi.Input<string>;
|
|
362
251
|
/**
|
|
363
|
-
*
|
|
252
|
+
* The first name of the contact person.
|
|
364
253
|
*/
|
|
365
254
|
firstName: pulumi.Input<string>;
|
|
366
255
|
/**
|
|
367
|
-
*
|
|
256
|
+
* The job title or position of the contact person within the organization.
|
|
368
257
|
*/
|
|
369
258
|
jobTitle?: pulumi.Input<string>;
|
|
370
259
|
/**
|
|
371
|
-
*
|
|
260
|
+
* A descriptive label for the contact to help identify it.
|
|
372
261
|
*/
|
|
373
262
|
label?: pulumi.Input<string>;
|
|
374
263
|
/**
|
|
375
|
-
*
|
|
264
|
+
* The last name of the contact person.
|
|
376
265
|
*/
|
|
377
266
|
lastName: pulumi.Input<string>;
|
|
378
267
|
/**
|
|
379
|
-
*
|
|
268
|
+
* The name of the organization or company associated with the contact.
|
|
380
269
|
*/
|
|
381
270
|
organizationName?: pulumi.Input<string>;
|
|
382
271
|
/**
|
|
383
|
-
*
|
|
272
|
+
* The contact's phone number. Use international format with country code (e.g., "+1.4012345678" for US numbers).
|
|
384
273
|
*/
|
|
385
274
|
phone: pulumi.Input<string>;
|
|
386
275
|
/**
|
|
387
|
-
*
|
|
276
|
+
* The postal code, ZIP code, or equivalent for the contact's location.
|
|
388
277
|
*/
|
|
389
278
|
postalCode: pulumi.Input<string>;
|
|
390
279
|
/**
|
|
391
|
-
*
|
|
280
|
+
* The state, province, or region where the contact is located.
|
|
392
281
|
*/
|
|
393
282
|
stateProvince: pulumi.Input<string>;
|
|
394
283
|
}
|
package/contact.js
CHANGED
|
@@ -14,22 +14,21 @@ const utilities = require("./utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as dnsimple from "@pulumi/dnsimple";
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* organizationName: "Contoso",
|
|
17
|
+
* const example = new dnsimple.Contact("example", {
|
|
18
|
+
* label: "Main Contact",
|
|
19
|
+
* firstName: "John",
|
|
20
|
+
* lastName: "Doe",
|
|
21
|
+
* organizationName: "Example Inc",
|
|
23
22
|
* jobTitle: "Manager",
|
|
24
|
-
* address1: "
|
|
25
|
-
* address2: "
|
|
23
|
+
* address1: "123 Main Street",
|
|
24
|
+
* address2: "Suite 100",
|
|
26
25
|
* city: "San Francisco",
|
|
27
26
|
* stateProvince: "California",
|
|
28
|
-
* postalCode: "
|
|
27
|
+
* postalCode: "94105",
|
|
29
28
|
* country: "US",
|
|
30
|
-
* phone: "+
|
|
31
|
-
* fax: "+
|
|
32
|
-
* email: "
|
|
29
|
+
* phone: "+1.4155551234",
|
|
30
|
+
* fax: "+1.4155555678",
|
|
31
|
+
* email: "john@example.com",
|
|
33
32
|
* });
|
|
34
33
|
* ```
|
|
35
34
|
*
|
|
@@ -40,114 +39,10 @@ const utilities = require("./utilities");
|
|
|
40
39
|
* bash
|
|
41
40
|
*
|
|
42
41
|
* ```sh
|
|
43
|
-
* $ pulumi import dnsimple:index/contact:Contact
|
|
42
|
+
* $ pulumi import dnsimple:index/contact:Contact example 5678
|
|
44
43
|
* ```
|
|
45
44
|
*
|
|
46
|
-
* The ID can be found within [DNSimple Contacts API](https://developer.dnsimple.com/v2/contacts/#listContacts). Check out [Authentication](https://developer.dnsimple.com/v2/#authentication) in API Overview for available options.
|
|
47
|
-
*
|
|
48
|
-
* bash
|
|
49
|
-
*
|
|
50
|
-
* curl -u 'EMAIL:PASSWORD' https://api.dnsimple.com/v2/1234/contacts?label_like=example.com | jq
|
|
51
|
-
*
|
|
52
|
-
* {
|
|
53
|
-
*
|
|
54
|
-
* "data": [
|
|
55
|
-
*
|
|
56
|
-
* {
|
|
57
|
-
*
|
|
58
|
-
* "id": 1,
|
|
59
|
-
*
|
|
60
|
-
* "account_id": 1010,
|
|
61
|
-
*
|
|
62
|
-
* "label": "Default",
|
|
63
|
-
*
|
|
64
|
-
* "first_name": "First",
|
|
65
|
-
*
|
|
66
|
-
* "last_name": "User",
|
|
67
|
-
*
|
|
68
|
-
* "job_title": "CEO",
|
|
69
|
-
*
|
|
70
|
-
* "organization_name": "Awesome Company",
|
|
71
|
-
*
|
|
72
|
-
* "email": "first@example.com",
|
|
73
|
-
*
|
|
74
|
-
* "phone": "+18001234567",
|
|
75
|
-
*
|
|
76
|
-
* "fax": "+18011234567",
|
|
77
|
-
*
|
|
78
|
-
* "address1": "Italian Street, 10",
|
|
79
|
-
*
|
|
80
|
-
* "address2": "",
|
|
81
|
-
*
|
|
82
|
-
* "city": "Roma",
|
|
83
|
-
*
|
|
84
|
-
* "state_province": "RM",
|
|
85
|
-
*
|
|
86
|
-
* "postal_code": "00100",
|
|
87
|
-
*
|
|
88
|
-
* "country": "IT",
|
|
89
|
-
*
|
|
90
|
-
* "created_at": "2013-11-08T17:23:15Z",
|
|
91
|
-
*
|
|
92
|
-
* "updated_at": "2015-01-08T21:30:50Z"
|
|
93
|
-
*
|
|
94
|
-
* },
|
|
95
|
-
*
|
|
96
|
-
* {
|
|
97
|
-
*
|
|
98
|
-
* "id": 2,
|
|
99
|
-
*
|
|
100
|
-
* "account_id": 1010,
|
|
101
|
-
*
|
|
102
|
-
* "label": "",
|
|
103
|
-
*
|
|
104
|
-
* "first_name": "Second",
|
|
105
|
-
*
|
|
106
|
-
* "last_name": "User",
|
|
107
|
-
*
|
|
108
|
-
* "job_title": "",
|
|
109
|
-
*
|
|
110
|
-
* "organization_name": "",
|
|
111
|
-
*
|
|
112
|
-
* "email": "second@example.com",
|
|
113
|
-
*
|
|
114
|
-
* "phone": "+18881234567",
|
|
115
|
-
*
|
|
116
|
-
* "fax": "",
|
|
117
|
-
*
|
|
118
|
-
* "address1": "French Street",
|
|
119
|
-
*
|
|
120
|
-
* "address2": "c/o Someone",
|
|
121
|
-
*
|
|
122
|
-
* "city": "Paris",
|
|
123
|
-
*
|
|
124
|
-
* "state_province": "XY",
|
|
125
|
-
*
|
|
126
|
-
* "postal_code": "00200",
|
|
127
|
-
*
|
|
128
|
-
* "country": "FR",
|
|
129
|
-
*
|
|
130
|
-
* "created_at": "2014-12-06T15:46:18Z",
|
|
131
|
-
*
|
|
132
|
-
* "updated_at": "2014-12-06T15:46:18Z"
|
|
133
|
-
*
|
|
134
|
-
* }
|
|
135
|
-
*
|
|
136
|
-
* ],
|
|
137
|
-
*
|
|
138
|
-
* "pagination": {
|
|
139
|
-
*
|
|
140
|
-
* "current_page": 1,
|
|
141
|
-
*
|
|
142
|
-
* "per_page": 30,
|
|
143
|
-
*
|
|
144
|
-
* "total_entries": 2,
|
|
145
|
-
*
|
|
146
|
-
* "total_pages": 1
|
|
147
|
-
*
|
|
148
|
-
* }
|
|
149
|
-
*
|
|
150
|
-
* }
|
|
45
|
+
* The contact ID can be found within the [DNSimple Contacts API](https://developer.dnsimple.com/v2/contacts/#listContacts). Check out [Authentication](https://developer.dnsimple.com/v2/#authentication) in API Overview for available options.
|
|
151
46
|
*/
|
|
152
47
|
class Contact extends pulumi.CustomResource {
|
|
153
48
|
/**
|
package/contact.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contact.js","sourceRoot":"","sources":["../contact.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"contact.js","sourceRoot":"","sources":["../contact.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EA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