@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.
@@ -14,16 +14,28 @@ const utilities = require("./utilities");
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as dnsimple from "@pulumi/dnsimple";
16
16
  *
17
- * const foobar = new dnsimple.LetsEncryptCertificate("foobar", {
18
- * domainId: dnsimple.domainId,
19
- * autoRenew: false,
17
+ * const example = new dnsimple.LetsEncryptCertificate("example", {
18
+ * domainId: "example.com",
20
19
  * name: "www",
20
+ * autoRenew: true,
21
21
  * alternateNames: [
22
22
  * "docs.example.com",
23
23
  * "status.example.com",
24
24
  * ],
25
25
  * });
26
26
  * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * DNSimple Let's Encrypt certificates can be imported using the domain name and certificate ID in the format `domain_name_certificate_id`.
31
+ *
32
+ * bash
33
+ *
34
+ * ```sh
35
+ * $ pulumi import dnsimple:index/letsEncryptCertificate:LetsEncryptCertificate example example.com_1234
36
+ * ```
37
+ *
38
+ * The certificate ID can be found via the [DNSimple Certificates API](https://developer.dnsimple.com/v2/certificates/#listCertificates).
27
39
  */
28
40
  class LetsEncryptCertificate extends pulumi.CustomResource {
29
41
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"letsEncryptCertificate.js","sourceRoot":"","sources":["../letsEncryptCertificate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAA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E,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,oBAAoB,CAAC,GAAG,IAAI,EAAE,kBAAkB,CAAC;YAChE,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,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;;AAhIL,wDAiIC;AAnHG,gBAAgB;AACO,mCAAY,GAAG,8DAA8D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/dnsimple",
3
- "version": "4.5.0-alpha.1767073293",
3
+ "version": "5.0.0-alpha.1767113714",
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": "4.5.0-alpha.1767073293"
26
+ "version": "5.0.0-alpha.1767113714"
27
27
  }
28
28
  }
package/provider.d.ts CHANGED
@@ -15,6 +15,10 @@ export declare class Provider extends pulumi.ProviderResource {
15
15
  * The account for API operations.
16
16
  */
17
17
  readonly account: pulumi.Output<string | undefined>;
18
+ /**
19
+ * File path to enable HTTP request/response debugging. When set, all HTTP requests and responses will be logged to this file.
20
+ */
21
+ readonly debugTransportFile: pulumi.Output<string | undefined>;
18
22
  /**
19
23
  * The API v2 token for API operations.
20
24
  */
@@ -44,6 +48,10 @@ export interface ProviderArgs {
44
48
  * The account for API operations.
45
49
  */
46
50
  account?: pulumi.Input<string>;
51
+ /**
52
+ * File path to enable HTTP request/response debugging. When set, all HTTP requests and responses will be logged to this file.
53
+ */
54
+ debugTransportFile?: pulumi.Input<string>;
47
55
  /**
48
56
  * Flag to enable the prefetch of zone records.
49
57
  */
package/provider.js CHANGED
@@ -34,6 +34,7 @@ class Provider extends pulumi.ProviderResource {
34
34
  opts = opts || {};
35
35
  {
36
36
  resourceInputs["account"] = args?.account;
37
+ resourceInputs["debugTransportFile"] = args?.debugTransportFile;
37
38
  resourceInputs["prefetch"] = pulumi.output(args?.prefetch).apply(JSON.stringify);
38
39
  resourceInputs["sandbox"] = pulumi.output(args?.sandbox).apply(JSON.stringify);
39
40
  resourceInputs["token"] = args?.token ? pulumi.secret(args.token) : undefined;
package/provider.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,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,I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AAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,eAAe;QACX,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,2CAA2C,EAAE;YACpE,UAAU,EAAE,IAAI;SACnB,EAAE,IAAI,CAAC,CAAC;IACb,CAAC;;AA/DL,4BAgEC;AA/DG,gBAAgB;AACO,qBAAY,GAAG,UAAU,CAAC"}
@@ -6,33 +6,60 @@ import * as outputs from "./types/output";
6
6
  *
7
7
  * ## Example Usage
8
8
  *
9
+ * The simplest example below requires a contact (existing or a new one to be created) and basic domain information.
10
+ *
9
11
  * ```typescript
10
12
  * import * as pulumi from "@pulumi/pulumi";
11
13
  * import * as dnsimple from "@pulumi/dnsimple";
12
14
  *
13
15
  * const aliceMain = new dnsimple.Contact("alice_main", {
14
- * label: "Alice Appleseed",
15
- * firstName: "Alice Main",
16
+ * label: "Alice",
17
+ * firstName: "Alice",
16
18
  * lastName: "Appleseed",
17
19
  * organizationName: "Contoso",
18
20
  * jobTitle: "Manager",
19
21
  * address1: "Level 1, 2 Main St",
20
- * address2: "Marsfield",
21
22
  * city: "San Francisco",
22
23
  * stateProvince: "California",
23
24
  * postalCode: "90210",
24
25
  * country: "US",
25
- * phone: "+1401239523",
26
- * fax: "+1849491024",
26
+ * phone: "+1.401239523",
27
27
  * email: "apple@contoso.com",
28
28
  * });
29
- * const appleseedBio = new dnsimple.RegisteredDomain("appleseed_bio", {
30
- * name: "appleseed.bio",
29
+ * const exampleCom = new dnsimple.RegisteredDomain("example_com", {
30
+ * name: "example.com",
31
+ * contactId: aliceMain.id,
32
+ * });
33
+ * ```
34
+ *
35
+ * ### Example with more settings
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as dnsimple from "@pulumi/dnsimple";
40
+ *
41
+ * const exampleCom = new dnsimple.RegisteredDomain("example_com", {
42
+ * name: "example.com",
31
43
  * contactId: aliceMain.id,
32
44
  * autoRenewEnabled: true,
33
45
  * transferLockEnabled: true,
34
46
  * whoisPrivacyEnabled: true,
35
47
  * dnssecEnabled: false,
48
+ * });
49
+ * ```
50
+ *
51
+ * ### Example with extended attributes
52
+ *
53
+ * Some domain extensions require additional information during registration. You can check if a domain extension requires extended attributes using the [TLD Extended Attributes API](https://developer.dnsimple.com/v2/tlds/#getTldExtendedAttributes).
54
+ *
55
+ * ```typescript
56
+ * import * as pulumi from "@pulumi/pulumi";
57
+ * import * as dnsimple from "@pulumi/dnsimple";
58
+ *
59
+ * const exampleBio = new dnsimple.RegisteredDomain("example_bio", {
60
+ * name: "example.bio",
61
+ * contactId: aliceMain.id,
62
+ * autoRenewEnabled: true,
36
63
  * extendedAttributes: {
37
64
  * bio_agree: "I Agree",
38
65
  * },
@@ -43,20 +70,20 @@ import * as outputs from "./types/output";
43
70
  *
44
71
  * DNSimple registered domains can be imported using their domain name and **optionally** with domain registration ID.
45
72
  *
46
- * **Importing registered domain example.com**
73
+ * **Importing registered domain example.com:**
47
74
  *
48
75
  * bash
49
76
  *
50
77
  * ```sh
51
- * $ pulumi import dnsimple:index/registeredDomain:RegisteredDomain resource_name example.com
78
+ * $ pulumi import dnsimple:index/registeredDomain:RegisteredDomain example example.com
52
79
  * ```
53
80
  *
54
- * **Importing registered domain example.com with domain registration ID 1234**
81
+ * **Importing registered domain example.com with domain registration ID 1234:**
55
82
  *
56
83
  * bash
57
84
  *
58
85
  * ```sh
59
- * $ pulumi import dnsimple:index/registeredDomain:RegisteredDomain resource_name example.com_1234
86
+ * $ pulumi import dnsimple:index/registeredDomain:RegisteredDomain example example.com_1234
60
87
  * ```
61
88
  */
62
89
  export declare class RegisteredDomain extends pulumi.CustomResource {
@@ -77,21 +104,19 @@ export declare class RegisteredDomain extends pulumi.CustomResource {
77
104
  static isInstance(obj: any): obj is RegisteredDomain;
78
105
  readonly accountId: pulumi.Output<number>;
79
106
  /**
80
- * Whether the domain should be set to auto-renew (default: `false`)
107
+ * Whether the domain should be set to auto-renew (default: `false`).
81
108
  */
82
109
  readonly autoRenewEnabled: pulumi.Output<boolean>;
83
110
  /**
84
- * The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a [60-day lock](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
111
+ * The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change, which may result in a [60-day lock](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
85
112
  */
86
113
  readonly contactId: pulumi.Output<number>;
87
114
  /**
88
- * Whether the domain should have DNSSEC enabled (default: `false`)
115
+ * Whether the domain should have DNSSEC enabled (default: `false`).
89
116
  */
90
117
  readonly dnssecEnabled: pulumi.Output<boolean>;
91
118
  /**
92
119
  * The domain registration details. (see below for nested schema)
93
- *
94
- * <a id="nestedblock--timeouts"></a>
95
120
  */
96
121
  readonly domainRegistration: pulumi.Output<outputs.RegisteredDomainDomainRegistration>;
97
122
  readonly expiresAt: pulumi.Output<string>;
@@ -102,11 +127,11 @@ export declare class RegisteredDomain extends pulumi.CustomResource {
102
127
  [key: string]: string;
103
128
  } | undefined>;
104
129
  /**
105
- * The domain name to be registered
130
+ * The domain name to be registered.
106
131
  */
107
132
  readonly name: pulumi.Output<string>;
108
133
  /**
109
- * The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our [Check domain API](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium. And [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
134
+ * The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our [Check domain API](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium and [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
110
135
  */
111
136
  readonly premiumPrice: pulumi.Output<string | undefined>;
112
137
  /**
@@ -114,17 +139,15 @@ export declare class RegisteredDomain extends pulumi.CustomResource {
114
139
  */
115
140
  readonly registrantChange: pulumi.Output<outputs.RegisteredDomainRegistrantChange>;
116
141
  /**
117
- * The state of the domain.
142
+ * (String) - The state of the domain registration.
118
143
  */
119
144
  readonly state: pulumi.Output<string>;
120
145
  /**
121
- * (see below for nested schema)
122
- *
123
- * # Attributes Reference
146
+ * (see below for nested schema).
124
147
  */
125
148
  readonly timeouts: pulumi.Output<outputs.RegisteredDomainTimeouts | undefined>;
126
149
  /**
127
- * Whether the domain transfer lock protection is enabled (default: `true`)
150
+ * Whether the domain transfer lock protection is enabled (default: `true`).
128
151
  */
129
152
  readonly transferLockEnabled: pulumi.Output<boolean>;
130
153
  /**
@@ -132,7 +155,7 @@ export declare class RegisteredDomain extends pulumi.CustomResource {
132
155
  */
133
156
  readonly unicodeName: pulumi.Output<string>;
134
157
  /**
135
- * Whether the domain should have WhoIs privacy enabled (default: `false`)
158
+ * Whether the domain should have WHOIS privacy enabled (default: `false`).
136
159
  */
137
160
  readonly whoisPrivacyEnabled: pulumi.Output<boolean>;
138
161
  /**
@@ -150,21 +173,19 @@ export declare class RegisteredDomain extends pulumi.CustomResource {
150
173
  export interface RegisteredDomainState {
151
174
  accountId?: pulumi.Input<number>;
152
175
  /**
153
- * Whether the domain should be set to auto-renew (default: `false`)
176
+ * Whether the domain should be set to auto-renew (default: `false`).
154
177
  */
155
178
  autoRenewEnabled?: pulumi.Input<boolean>;
156
179
  /**
157
- * The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a [60-day lock](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
180
+ * The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change, which may result in a [60-day lock](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
158
181
  */
159
182
  contactId?: pulumi.Input<number>;
160
183
  /**
161
- * Whether the domain should have DNSSEC enabled (default: `false`)
184
+ * Whether the domain should have DNSSEC enabled (default: `false`).
162
185
  */
163
186
  dnssecEnabled?: pulumi.Input<boolean>;
164
187
  /**
165
188
  * The domain registration details. (see below for nested schema)
166
- *
167
- * <a id="nestedblock--timeouts"></a>
168
189
  */
169
190
  domainRegistration?: pulumi.Input<inputs.RegisteredDomainDomainRegistration>;
170
191
  expiresAt?: pulumi.Input<string>;
@@ -175,11 +196,11 @@ export interface RegisteredDomainState {
175
196
  [key: string]: pulumi.Input<string>;
176
197
  }>;
177
198
  /**
178
- * The domain name to be registered
199
+ * The domain name to be registered.
179
200
  */
180
201
  name?: pulumi.Input<string>;
181
202
  /**
182
- * The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our [Check domain API](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium. And [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
203
+ * The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our [Check domain API](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium and [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
183
204
  */
184
205
  premiumPrice?: pulumi.Input<string>;
185
206
  /**
@@ -187,17 +208,15 @@ export interface RegisteredDomainState {
187
208
  */
188
209
  registrantChange?: pulumi.Input<inputs.RegisteredDomainRegistrantChange>;
189
210
  /**
190
- * The state of the domain.
211
+ * (String) - The state of the domain registration.
191
212
  */
192
213
  state?: pulumi.Input<string>;
193
214
  /**
194
- * (see below for nested schema)
195
- *
196
- * # Attributes Reference
215
+ * (see below for nested schema).
197
216
  */
198
217
  timeouts?: pulumi.Input<inputs.RegisteredDomainTimeouts>;
199
218
  /**
200
- * Whether the domain transfer lock protection is enabled (default: `true`)
219
+ * Whether the domain transfer lock protection is enabled (default: `true`).
201
220
  */
202
221
  transferLockEnabled?: pulumi.Input<boolean>;
203
222
  /**
@@ -205,7 +224,7 @@ export interface RegisteredDomainState {
205
224
  */
206
225
  unicodeName?: pulumi.Input<string>;
207
226
  /**
208
- * Whether the domain should have WhoIs privacy enabled (default: `false`)
227
+ * Whether the domain should have WHOIS privacy enabled (default: `false`).
209
228
  */
210
229
  whoisPrivacyEnabled?: pulumi.Input<boolean>;
211
230
  }
@@ -214,15 +233,15 @@ export interface RegisteredDomainState {
214
233
  */
215
234
  export interface RegisteredDomainArgs {
216
235
  /**
217
- * Whether the domain should be set to auto-renew (default: `false`)
236
+ * Whether the domain should be set to auto-renew (default: `false`).
218
237
  */
219
238
  autoRenewEnabled?: pulumi.Input<boolean>;
220
239
  /**
221
- * The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a [60-day lock](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
240
+ * The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change, which may result in a [60-day lock](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
222
241
  */
223
242
  contactId: pulumi.Input<number>;
224
243
  /**
225
- * Whether the domain should have DNSSEC enabled (default: `false`)
244
+ * Whether the domain should have DNSSEC enabled (default: `false`).
226
245
  */
227
246
  dnssecEnabled?: pulumi.Input<boolean>;
228
247
  /**
@@ -232,25 +251,23 @@ export interface RegisteredDomainArgs {
232
251
  [key: string]: pulumi.Input<string>;
233
252
  }>;
234
253
  /**
235
- * The domain name to be registered
254
+ * The domain name to be registered.
236
255
  */
237
256
  name: pulumi.Input<string>;
238
257
  /**
239
- * The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our [Check domain API](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium. And [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
258
+ * The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our [Check domain API](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium and [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
240
259
  */
241
260
  premiumPrice?: pulumi.Input<string>;
242
261
  /**
243
- * (see below for nested schema)
244
- *
245
- * # Attributes Reference
262
+ * (see below for nested schema).
246
263
  */
247
264
  timeouts?: pulumi.Input<inputs.RegisteredDomainTimeouts>;
248
265
  /**
249
- * Whether the domain transfer lock protection is enabled (default: `true`)
266
+ * Whether the domain transfer lock protection is enabled (default: `true`).
250
267
  */
251
268
  transferLockEnabled?: pulumi.Input<boolean>;
252
269
  /**
253
- * Whether the domain should have WhoIs privacy enabled (default: `false`)
270
+ * Whether the domain should have WHOIS privacy enabled (default: `false`).
254
271
  */
255
272
  whoisPrivacyEnabled?: pulumi.Input<boolean>;
256
273
  }
@@ -10,33 +10,60 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
+ * The simplest example below requires a contact (existing or a new one to be created) and basic domain information.
14
+ *
13
15
  * ```typescript
14
16
  * import * as pulumi from "@pulumi/pulumi";
15
17
  * import * as dnsimple from "@pulumi/dnsimple";
16
18
  *
17
19
  * const aliceMain = new dnsimple.Contact("alice_main", {
18
- * label: "Alice Appleseed",
19
- * firstName: "Alice Main",
20
+ * label: "Alice",
21
+ * firstName: "Alice",
20
22
  * lastName: "Appleseed",
21
23
  * organizationName: "Contoso",
22
24
  * jobTitle: "Manager",
23
25
  * address1: "Level 1, 2 Main St",
24
- * address2: "Marsfield",
25
26
  * city: "San Francisco",
26
27
  * stateProvince: "California",
27
28
  * postalCode: "90210",
28
29
  * country: "US",
29
- * phone: "+1401239523",
30
- * fax: "+1849491024",
30
+ * phone: "+1.401239523",
31
31
  * email: "apple@contoso.com",
32
32
  * });
33
- * const appleseedBio = new dnsimple.RegisteredDomain("appleseed_bio", {
34
- * name: "appleseed.bio",
33
+ * const exampleCom = new dnsimple.RegisteredDomain("example_com", {
34
+ * name: "example.com",
35
+ * contactId: aliceMain.id,
36
+ * });
37
+ * ```
38
+ *
39
+ * ### Example with more settings
40
+ *
41
+ * ```typescript
42
+ * import * as pulumi from "@pulumi/pulumi";
43
+ * import * as dnsimple from "@pulumi/dnsimple";
44
+ *
45
+ * const exampleCom = new dnsimple.RegisteredDomain("example_com", {
46
+ * name: "example.com",
35
47
  * contactId: aliceMain.id,
36
48
  * autoRenewEnabled: true,
37
49
  * transferLockEnabled: true,
38
50
  * whoisPrivacyEnabled: true,
39
51
  * dnssecEnabled: false,
52
+ * });
53
+ * ```
54
+ *
55
+ * ### Example with extended attributes
56
+ *
57
+ * Some domain extensions require additional information during registration. You can check if a domain extension requires extended attributes using the [TLD Extended Attributes API](https://developer.dnsimple.com/v2/tlds/#getTldExtendedAttributes).
58
+ *
59
+ * ```typescript
60
+ * import * as pulumi from "@pulumi/pulumi";
61
+ * import * as dnsimple from "@pulumi/dnsimple";
62
+ *
63
+ * const exampleBio = new dnsimple.RegisteredDomain("example_bio", {
64
+ * name: "example.bio",
65
+ * contactId: aliceMain.id,
66
+ * autoRenewEnabled: true,
40
67
  * extendedAttributes: {
41
68
  * bio_agree: "I Agree",
42
69
  * },
@@ -47,20 +74,20 @@ const utilities = require("./utilities");
47
74
  *
48
75
  * DNSimple registered domains can be imported using their domain name and **optionally** with domain registration ID.
49
76
  *
50
- * **Importing registered domain example.com**
77
+ * **Importing registered domain example.com:**
51
78
  *
52
79
  * bash
53
80
  *
54
81
  * ```sh
55
- * $ pulumi import dnsimple:index/registeredDomain:RegisteredDomain resource_name example.com
82
+ * $ pulumi import dnsimple:index/registeredDomain:RegisteredDomain example example.com
56
83
  * ```
57
84
  *
58
- * **Importing registered domain example.com with domain registration ID 1234**
85
+ * **Importing registered domain example.com with domain registration ID 1234:**
59
86
  *
60
87
  * bash
61
88
  *
62
89
  * ```sh
63
- * $ pulumi import dnsimple:index/registeredDomain:RegisteredDomain resource_name example.com_1234
90
+ * $ pulumi import dnsimple:index/registeredDomain:RegisteredDomain example example.com_1234
64
91
  * ```
65
92
  */
66
93
  class RegisteredDomain extends pulumi.CustomResource {
@@ -1 +1 @@
1
- {"version":3,"file":"registeredDomain.js","sourceRoot":"","sources":["../registeredDomain.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;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;IAqED,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,WAAW,CAAC,GAAG,KAAK,EAAE,SAAS,CAAC;YAC/C,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,EAAE,gBAAgB,CAAC;YAC7D,cAAc,CAAC,WAAW,CAA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AAC;YAC5C,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,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,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAzIL,4CA0IC;AA5HG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
package/types/input.d.ts CHANGED
@@ -1,27 +1,27 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  export interface GetCertificateTimeouts {
3
3
  /**
4
- * (String) - The timeout for the read operation e.g. `5m`
4
+ * (String) - The timeout for the read operation, e.g., `5m`.
5
5
  */
6
6
  read?: string;
7
7
  }
8
8
  export interface GetCertificateTimeoutsArgs {
9
9
  /**
10
- * (String) - The timeout for the read operation e.g. `5m`
10
+ * (String) - The timeout for the read operation, e.g., `5m`.
11
11
  */
12
12
  read?: pulumi.Input<string>;
13
13
  }
14
14
  export interface RegisteredDomainDomainRegistration {
15
15
  /**
16
- * The ID of this resource.
16
+ * (Number) - The ID of the domain registration.
17
17
  */
18
18
  id?: pulumi.Input<number>;
19
19
  /**
20
- * The registration period in years.
20
+ * (Number) - The registration period in years.
21
21
  */
22
22
  period?: pulumi.Input<number>;
23
23
  /**
24
- * The state of the domain.
24
+ * (String) - The state of the domain registration.
25
25
  */
26
26
  state?: pulumi.Input<string>;
27
27
  }
@@ -31,7 +31,7 @@ export interface RegisteredDomainRegistrantChange {
31
31
  */
32
32
  accountId?: pulumi.Input<number>;
33
33
  /**
34
- * The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change this may result in a [60-day lock](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
34
+ * The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change, which may result in a [60-day lock](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
35
35
  */
36
36
  contactId?: pulumi.Input<number>;
37
37
  /**
@@ -45,7 +45,7 @@ export interface RegisteredDomainRegistrantChange {
45
45
  [key: string]: pulumi.Input<string>;
46
46
  }>;
47
47
  /**
48
- * The ID of this resource.
48
+ * (Number) - The ID of the domain registration.
49
49
  */
50
50
  id?: pulumi.Input<number>;
51
51
  /**
@@ -57,13 +57,13 @@ export interface RegisteredDomainRegistrantChange {
57
57
  */
58
58
  registryOwnerChange?: pulumi.Input<boolean>;
59
59
  /**
60
- * The state of the domain.
60
+ * (String) - The state of the domain registration.
61
61
  */
62
62
  state?: pulumi.Input<string>;
63
63
  }
64
64
  export interface RegisteredDomainTimeouts {
65
65
  /**
66
- * Create timeout.
66
+ * (String) - The timeout for the read operation e.g. `5m`
67
67
  */
68
68
  create?: pulumi.Input<string>;
69
69
  /**
@@ -71,7 +71,7 @@ export interface RegisteredDomainTimeouts {
71
71
  */
72
72
  delete?: pulumi.Input<string>;
73
73
  /**
74
- * Update timeout.
74
+ * (String) - The timeout for the read operation e.g. `5m`
75
75
  */
76
76
  update?: pulumi.Input<string>;
77
77
  }