pulumi-dnsimple 3.4.2__py3-none-any.whl → 3.5.0__py3-none-any.whl

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.

Potentially problematic release.


This version of pulumi-dnsimple might be problematic. Click here for more details.

@@ -75,24 +75,21 @@ def get_zone(name: Optional[str] = None,
75
75
 
76
76
  Get zone:
77
77
 
78
- <!--Start PulumiCodeChooser -->
79
78
  ```python
80
79
  import pulumi
81
80
  import pulumi_dnsimple as dnsimple
82
81
 
83
82
  foobar = dnsimple.get_zone(name="dnsimple.com")
84
83
  ```
85
- <!--End PulumiCodeChooser -->
86
84
 
87
85
  The following arguments are supported:
88
86
 
89
87
  * `name` - (Required) The name of the zone
90
88
 
91
- The following attributes are exported:
89
+ The following additional attributes are exported:
92
90
 
93
91
  * `id` - The zone ID
94
92
  * `account_id` - The account ID
95
- * `name` - The name of the zone
96
93
  * `reverse` - True for a reverse zone, false for a forward zone.
97
94
  """
98
95
  __args__ = dict()
@@ -115,24 +112,21 @@ def get_zone_output(name: Optional[pulumi.Input[str]] = None,
115
112
 
116
113
  Get zone:
117
114
 
118
- <!--Start PulumiCodeChooser -->
119
115
  ```python
120
116
  import pulumi
121
117
  import pulumi_dnsimple as dnsimple
122
118
 
123
119
  foobar = dnsimple.get_zone(name="dnsimple.com")
124
120
  ```
125
- <!--End PulumiCodeChooser -->
126
121
 
127
122
  The following arguments are supported:
128
123
 
129
124
  * `name` - (Required) The name of the zone
130
125
 
131
- The following attributes are exported:
126
+ The following additional attributes are exported:
132
127
 
133
128
  * `id` - The zone ID
134
129
  * `account_id` - The account ID
135
- * `name` - The name of the zone
136
130
  * `reverse` - True for a reverse zone, false for a forward zone.
137
131
  """
138
132
  ...
@@ -15,31 +15,27 @@ __all__ = ['LetsEncryptCertificateArgs', 'LetsEncryptCertificate']
15
15
  class LetsEncryptCertificateArgs:
16
16
  def __init__(__self__, *,
17
17
  auto_renew: pulumi.Input[bool],
18
+ domain_id: pulumi.Input[str],
18
19
  name: pulumi.Input[str],
19
- contact_id: Optional[pulumi.Input[int]] = None,
20
- domain_id: Optional[pulumi.Input[str]] = None):
20
+ signature_algorithm: Optional[pulumi.Input[str]] = None):
21
21
  """
22
22
  The set of arguments for constructing a LetsEncryptCertificate resource.
23
- :param pulumi.Input[bool] auto_renew: Set to true if the certificate will auto-renew
24
- :param pulumi.Input[str] name: The certificate name
25
- :param pulumi.Input[int] contact_id: The contact id for the certificate
23
+ :param pulumi.Input[bool] auto_renew: True if the certificate should auto-renew
26
24
  :param pulumi.Input[str] domain_id: The domain to be issued the certificate for
25
+ :param pulumi.Input[str] name: The certificate name
26
+ :param pulumi.Input[str] signature_algorithm: The signature algorithm to use for the certificate
27
27
  """
28
28
  pulumi.set(__self__, "auto_renew", auto_renew)
29
+ pulumi.set(__self__, "domain_id", domain_id)
29
30
  pulumi.set(__self__, "name", name)
30
- if contact_id is not None:
31
- warnings.warn("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""", DeprecationWarning)
32
- pulumi.log.warn("""contact_id is deprecated: contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""")
33
- if contact_id is not None:
34
- pulumi.set(__self__, "contact_id", contact_id)
35
- if domain_id is not None:
36
- pulumi.set(__self__, "domain_id", domain_id)
31
+ if signature_algorithm is not None:
32
+ pulumi.set(__self__, "signature_algorithm", signature_algorithm)
37
33
 
38
34
  @property
39
35
  @pulumi.getter(name="autoRenew")
40
36
  def auto_renew(self) -> pulumi.Input[bool]:
41
37
  """
42
- Set to true if the certificate will auto-renew
38
+ True if the certificate should auto-renew
43
39
  """
44
40
  return pulumi.get(self, "auto_renew")
45
41
 
@@ -47,6 +43,18 @@ class LetsEncryptCertificateArgs:
47
43
  def auto_renew(self, value: pulumi.Input[bool]):
48
44
  pulumi.set(self, "auto_renew", value)
49
45
 
46
+ @property
47
+ @pulumi.getter(name="domainId")
48
+ def domain_id(self) -> pulumi.Input[str]:
49
+ """
50
+ The domain to be issued the certificate for
51
+ """
52
+ return pulumi.get(self, "domain_id")
53
+
54
+ @domain_id.setter
55
+ def domain_id(self, value: pulumi.Input[str]):
56
+ pulumi.set(self, "domain_id", value)
57
+
50
58
  @property
51
59
  @pulumi.getter
52
60
  def name(self) -> pulumi.Input[str]:
@@ -60,31 +68,16 @@ class LetsEncryptCertificateArgs:
60
68
  pulumi.set(self, "name", value)
61
69
 
62
70
  @property
63
- @pulumi.getter(name="contactId")
64
- def contact_id(self) -> Optional[pulumi.Input[int]]:
65
- """
66
- The contact id for the certificate
67
- """
68
- warnings.warn("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""", DeprecationWarning)
69
- pulumi.log.warn("""contact_id is deprecated: contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""")
70
-
71
- return pulumi.get(self, "contact_id")
72
-
73
- @contact_id.setter
74
- def contact_id(self, value: Optional[pulumi.Input[int]]):
75
- pulumi.set(self, "contact_id", value)
76
-
77
- @property
78
- @pulumi.getter(name="domainId")
79
- def domain_id(self) -> Optional[pulumi.Input[str]]:
71
+ @pulumi.getter(name="signatureAlgorithm")
72
+ def signature_algorithm(self) -> Optional[pulumi.Input[str]]:
80
73
  """
81
- The domain to be issued the certificate for
74
+ The signature algorithm to use for the certificate
82
75
  """
83
- return pulumi.get(self, "domain_id")
76
+ return pulumi.get(self, "signature_algorithm")
84
77
 
85
- @domain_id.setter
86
- def domain_id(self, value: Optional[pulumi.Input[str]]):
87
- pulumi.set(self, "domain_id", value)
78
+ @signature_algorithm.setter
79
+ def signature_algorithm(self, value: Optional[pulumi.Input[str]]):
80
+ pulumi.set(self, "signature_algorithm", value)
88
81
 
89
82
 
90
83
  @pulumi.input_type
@@ -92,45 +85,45 @@ class _LetsEncryptCertificateState:
92
85
  def __init__(__self__, *,
93
86
  authority_identifier: Optional[pulumi.Input[str]] = None,
94
87
  auto_renew: Optional[pulumi.Input[bool]] = None,
95
- contact_id: Optional[pulumi.Input[int]] = None,
96
88
  created_at: Optional[pulumi.Input[str]] = None,
97
89
  csr: Optional[pulumi.Input[str]] = None,
98
90
  domain_id: Optional[pulumi.Input[str]] = None,
99
- expires_on: Optional[pulumi.Input[str]] = None,
91
+ expires_at: Optional[pulumi.Input[str]] = None,
100
92
  name: Optional[pulumi.Input[str]] = None,
93
+ signature_algorithm: Optional[pulumi.Input[str]] = None,
101
94
  state: Optional[pulumi.Input[str]] = None,
102
95
  updated_at: Optional[pulumi.Input[str]] = None,
103
96
  years: Optional[pulumi.Input[int]] = None):
104
97
  """
105
98
  Input properties used for looking up and filtering LetsEncryptCertificate resources.
106
99
  :param pulumi.Input[str] authority_identifier: The identifying certification authority (CA)
107
- :param pulumi.Input[bool] auto_renew: Set to true if the certificate will auto-renew
108
- :param pulumi.Input[int] contact_id: The contact id for the certificate
100
+ :param pulumi.Input[bool] auto_renew: True if the certificate should auto-renew
101
+ :param pulumi.Input[str] created_at: The datetime the certificate was created
109
102
  :param pulumi.Input[str] csr: The certificate signing request
110
103
  :param pulumi.Input[str] domain_id: The domain to be issued the certificate for
104
+ :param pulumi.Input[str] expires_at: The datetime the certificate will expire
111
105
  :param pulumi.Input[str] name: The certificate name
106
+ :param pulumi.Input[str] signature_algorithm: The signature algorithm to use for the certificate
112
107
  :param pulumi.Input[str] state: The state of the certificate
108
+ :param pulumi.Input[str] updated_at: The datetime the certificate was last updated
113
109
  :param pulumi.Input[int] years: The years the certificate will last
114
110
  """
115
111
  if authority_identifier is not None:
116
112
  pulumi.set(__self__, "authority_identifier", authority_identifier)
117
113
  if auto_renew is not None:
118
114
  pulumi.set(__self__, "auto_renew", auto_renew)
119
- if contact_id is not None:
120
- warnings.warn("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""", DeprecationWarning)
121
- pulumi.log.warn("""contact_id is deprecated: contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""")
122
- if contact_id is not None:
123
- pulumi.set(__self__, "contact_id", contact_id)
124
115
  if created_at is not None:
125
116
  pulumi.set(__self__, "created_at", created_at)
126
117
  if csr is not None:
127
118
  pulumi.set(__self__, "csr", csr)
128
119
  if domain_id is not None:
129
120
  pulumi.set(__self__, "domain_id", domain_id)
130
- if expires_on is not None:
131
- pulumi.set(__self__, "expires_on", expires_on)
121
+ if expires_at is not None:
122
+ pulumi.set(__self__, "expires_at", expires_at)
132
123
  if name is not None:
133
124
  pulumi.set(__self__, "name", name)
125
+ if signature_algorithm is not None:
126
+ pulumi.set(__self__, "signature_algorithm", signature_algorithm)
134
127
  if state is not None:
135
128
  pulumi.set(__self__, "state", state)
136
129
  if updated_at is not None:
@@ -154,7 +147,7 @@ class _LetsEncryptCertificateState:
154
147
  @pulumi.getter(name="autoRenew")
155
148
  def auto_renew(self) -> Optional[pulumi.Input[bool]]:
156
149
  """
157
- Set to true if the certificate will auto-renew
150
+ True if the certificate should auto-renew
158
151
  """
159
152
  return pulumi.get(self, "auto_renew")
160
153
 
@@ -162,24 +155,12 @@ class _LetsEncryptCertificateState:
162
155
  def auto_renew(self, value: Optional[pulumi.Input[bool]]):
163
156
  pulumi.set(self, "auto_renew", value)
164
157
 
165
- @property
166
- @pulumi.getter(name="contactId")
167
- def contact_id(self) -> Optional[pulumi.Input[int]]:
168
- """
169
- The contact id for the certificate
170
- """
171
- warnings.warn("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""", DeprecationWarning)
172
- pulumi.log.warn("""contact_id is deprecated: contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""")
173
-
174
- return pulumi.get(self, "contact_id")
175
-
176
- @contact_id.setter
177
- def contact_id(self, value: Optional[pulumi.Input[int]]):
178
- pulumi.set(self, "contact_id", value)
179
-
180
158
  @property
181
159
  @pulumi.getter(name="createdAt")
182
160
  def created_at(self) -> Optional[pulumi.Input[str]]:
161
+ """
162
+ The datetime the certificate was created
163
+ """
183
164
  return pulumi.get(self, "created_at")
184
165
 
185
166
  @created_at.setter
@@ -211,13 +192,16 @@ class _LetsEncryptCertificateState:
211
192
  pulumi.set(self, "domain_id", value)
212
193
 
213
194
  @property
214
- @pulumi.getter(name="expiresOn")
215
- def expires_on(self) -> Optional[pulumi.Input[str]]:
216
- return pulumi.get(self, "expires_on")
195
+ @pulumi.getter(name="expiresAt")
196
+ def expires_at(self) -> Optional[pulumi.Input[str]]:
197
+ """
198
+ The datetime the certificate will expire
199
+ """
200
+ return pulumi.get(self, "expires_at")
217
201
 
218
- @expires_on.setter
219
- def expires_on(self, value: Optional[pulumi.Input[str]]):
220
- pulumi.set(self, "expires_on", value)
202
+ @expires_at.setter
203
+ def expires_at(self, value: Optional[pulumi.Input[str]]):
204
+ pulumi.set(self, "expires_at", value)
221
205
 
222
206
  @property
223
207
  @pulumi.getter
@@ -231,6 +215,18 @@ class _LetsEncryptCertificateState:
231
215
  def name(self, value: Optional[pulumi.Input[str]]):
232
216
  pulumi.set(self, "name", value)
233
217
 
218
+ @property
219
+ @pulumi.getter(name="signatureAlgorithm")
220
+ def signature_algorithm(self) -> Optional[pulumi.Input[str]]:
221
+ """
222
+ The signature algorithm to use for the certificate
223
+ """
224
+ return pulumi.get(self, "signature_algorithm")
225
+
226
+ @signature_algorithm.setter
227
+ def signature_algorithm(self, value: Optional[pulumi.Input[str]]):
228
+ pulumi.set(self, "signature_algorithm", value)
229
+
234
230
  @property
235
231
  @pulumi.getter
236
232
  def state(self) -> Optional[pulumi.Input[str]]:
@@ -246,6 +242,9 @@ class _LetsEncryptCertificateState:
246
242
  @property
247
243
  @pulumi.getter(name="updatedAt")
248
244
  def updated_at(self) -> Optional[pulumi.Input[str]]:
245
+ """
246
+ The datetime the certificate was last updated
247
+ """
249
248
  return pulumi.get(self, "updated_at")
250
249
 
251
250
  @updated_at.setter
@@ -271,33 +270,31 @@ class LetsEncryptCertificate(pulumi.CustomResource):
271
270
  resource_name: str,
272
271
  opts: Optional[pulumi.ResourceOptions] = None,
273
272
  auto_renew: Optional[pulumi.Input[bool]] = None,
274
- contact_id: Optional[pulumi.Input[int]] = None,
275
273
  domain_id: Optional[pulumi.Input[str]] = None,
276
274
  name: Optional[pulumi.Input[str]] = None,
275
+ signature_algorithm: Optional[pulumi.Input[str]] = None,
277
276
  __props__=None):
278
277
  """
279
278
  Provides a DNSimple Let's Encrypt certificate resource.
280
279
 
281
280
  ## Example Usage
282
281
 
283
- <!--Start PulumiCodeChooser -->
284
282
  ```python
285
283
  import pulumi
286
284
  import pulumi_dnsimple as dnsimple
287
285
 
288
286
  foobar = dnsimple.LetsEncryptCertificate("foobar",
289
- domain_id=var["dnsimple"]["domain_id"],
287
+ domain_id=dnsimple["domainId"],
290
288
  auto_renew=False,
291
289
  name="www")
292
290
  ```
293
- <!--End PulumiCodeChooser -->
294
291
 
295
292
  :param str resource_name: The name of the resource.
296
293
  :param pulumi.ResourceOptions opts: Options for the resource.
297
- :param pulumi.Input[bool] auto_renew: Set to true if the certificate will auto-renew
298
- :param pulumi.Input[int] contact_id: The contact id for the certificate
294
+ :param pulumi.Input[bool] auto_renew: True if the certificate should auto-renew
299
295
  :param pulumi.Input[str] domain_id: The domain to be issued the certificate for
300
296
  :param pulumi.Input[str] name: The certificate name
297
+ :param pulumi.Input[str] signature_algorithm: The signature algorithm to use for the certificate
301
298
  """
302
299
  ...
303
300
  @overload
@@ -310,17 +307,15 @@ class LetsEncryptCertificate(pulumi.CustomResource):
310
307
 
311
308
  ## Example Usage
312
309
 
313
- <!--Start PulumiCodeChooser -->
314
310
  ```python
315
311
  import pulumi
316
312
  import pulumi_dnsimple as dnsimple
317
313
 
318
314
  foobar = dnsimple.LetsEncryptCertificate("foobar",
319
- domain_id=var["dnsimple"]["domain_id"],
315
+ domain_id=dnsimple["domainId"],
320
316
  auto_renew=False,
321
317
  name="www")
322
318
  ```
323
- <!--End PulumiCodeChooser -->
324
319
 
325
320
  :param str resource_name: The name of the resource.
326
321
  :param LetsEncryptCertificateArgs args: The arguments to use to populate this resource's properties.
@@ -338,9 +333,9 @@ class LetsEncryptCertificate(pulumi.CustomResource):
338
333
  resource_name: str,
339
334
  opts: Optional[pulumi.ResourceOptions] = None,
340
335
  auto_renew: Optional[pulumi.Input[bool]] = None,
341
- contact_id: Optional[pulumi.Input[int]] = None,
342
336
  domain_id: Optional[pulumi.Input[str]] = None,
343
337
  name: Optional[pulumi.Input[str]] = None,
338
+ signature_algorithm: Optional[pulumi.Input[str]] = None,
344
339
  __props__=None):
345
340
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
346
341
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -353,15 +348,17 @@ class LetsEncryptCertificate(pulumi.CustomResource):
353
348
  if auto_renew is None and not opts.urn:
354
349
  raise TypeError("Missing required property 'auto_renew'")
355
350
  __props__.__dict__["auto_renew"] = auto_renew
356
- __props__.__dict__["contact_id"] = contact_id
351
+ if domain_id is None and not opts.urn:
352
+ raise TypeError("Missing required property 'domain_id'")
357
353
  __props__.__dict__["domain_id"] = domain_id
358
354
  if name is None and not opts.urn:
359
355
  raise TypeError("Missing required property 'name'")
360
356
  __props__.__dict__["name"] = name
357
+ __props__.__dict__["signature_algorithm"] = signature_algorithm
361
358
  __props__.__dict__["authority_identifier"] = None
362
359
  __props__.__dict__["created_at"] = None
363
360
  __props__.__dict__["csr"] = None
364
- __props__.__dict__["expires_on"] = None
361
+ __props__.__dict__["expires_at"] = None
365
362
  __props__.__dict__["state"] = None
366
363
  __props__.__dict__["updated_at"] = None
367
364
  __props__.__dict__["years"] = None
@@ -377,12 +374,12 @@ class LetsEncryptCertificate(pulumi.CustomResource):
377
374
  opts: Optional[pulumi.ResourceOptions] = None,
378
375
  authority_identifier: Optional[pulumi.Input[str]] = None,
379
376
  auto_renew: Optional[pulumi.Input[bool]] = None,
380
- contact_id: Optional[pulumi.Input[int]] = None,
381
377
  created_at: Optional[pulumi.Input[str]] = None,
382
378
  csr: Optional[pulumi.Input[str]] = None,
383
379
  domain_id: Optional[pulumi.Input[str]] = None,
384
- expires_on: Optional[pulumi.Input[str]] = None,
380
+ expires_at: Optional[pulumi.Input[str]] = None,
385
381
  name: Optional[pulumi.Input[str]] = None,
382
+ signature_algorithm: Optional[pulumi.Input[str]] = None,
386
383
  state: Optional[pulumi.Input[str]] = None,
387
384
  updated_at: Optional[pulumi.Input[str]] = None,
388
385
  years: Optional[pulumi.Input[int]] = None) -> 'LetsEncryptCertificate':
@@ -394,12 +391,15 @@ class LetsEncryptCertificate(pulumi.CustomResource):
394
391
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
395
392
  :param pulumi.ResourceOptions opts: Options for the resource.
396
393
  :param pulumi.Input[str] authority_identifier: The identifying certification authority (CA)
397
- :param pulumi.Input[bool] auto_renew: Set to true if the certificate will auto-renew
398
- :param pulumi.Input[int] contact_id: The contact id for the certificate
394
+ :param pulumi.Input[bool] auto_renew: True if the certificate should auto-renew
395
+ :param pulumi.Input[str] created_at: The datetime the certificate was created
399
396
  :param pulumi.Input[str] csr: The certificate signing request
400
397
  :param pulumi.Input[str] domain_id: The domain to be issued the certificate for
398
+ :param pulumi.Input[str] expires_at: The datetime the certificate will expire
401
399
  :param pulumi.Input[str] name: The certificate name
400
+ :param pulumi.Input[str] signature_algorithm: The signature algorithm to use for the certificate
402
401
  :param pulumi.Input[str] state: The state of the certificate
402
+ :param pulumi.Input[str] updated_at: The datetime the certificate was last updated
403
403
  :param pulumi.Input[int] years: The years the certificate will last
404
404
  """
405
405
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -408,12 +408,12 @@ class LetsEncryptCertificate(pulumi.CustomResource):
408
408
 
409
409
  __props__.__dict__["authority_identifier"] = authority_identifier
410
410
  __props__.__dict__["auto_renew"] = auto_renew
411
- __props__.__dict__["contact_id"] = contact_id
412
411
  __props__.__dict__["created_at"] = created_at
413
412
  __props__.__dict__["csr"] = csr
414
413
  __props__.__dict__["domain_id"] = domain_id
415
- __props__.__dict__["expires_on"] = expires_on
414
+ __props__.__dict__["expires_at"] = expires_at
416
415
  __props__.__dict__["name"] = name
416
+ __props__.__dict__["signature_algorithm"] = signature_algorithm
417
417
  __props__.__dict__["state"] = state
418
418
  __props__.__dict__["updated_at"] = updated_at
419
419
  __props__.__dict__["years"] = years
@@ -431,24 +431,16 @@ class LetsEncryptCertificate(pulumi.CustomResource):
431
431
  @pulumi.getter(name="autoRenew")
432
432
  def auto_renew(self) -> pulumi.Output[bool]:
433
433
  """
434
- Set to true if the certificate will auto-renew
434
+ True if the certificate should auto-renew
435
435
  """
436
436
  return pulumi.get(self, "auto_renew")
437
437
 
438
- @property
439
- @pulumi.getter(name="contactId")
440
- def contact_id(self) -> pulumi.Output[Optional[int]]:
441
- """
442
- The contact id for the certificate
443
- """
444
- warnings.warn("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""", DeprecationWarning)
445
- pulumi.log.warn("""contact_id is deprecated: contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""")
446
-
447
- return pulumi.get(self, "contact_id")
448
-
449
438
  @property
450
439
  @pulumi.getter(name="createdAt")
451
440
  def created_at(self) -> pulumi.Output[str]:
441
+ """
442
+ The datetime the certificate was created
443
+ """
452
444
  return pulumi.get(self, "created_at")
453
445
 
454
446
  @property
@@ -461,16 +453,19 @@ class LetsEncryptCertificate(pulumi.CustomResource):
461
453
 
462
454
  @property
463
455
  @pulumi.getter(name="domainId")
464
- def domain_id(self) -> pulumi.Output[Optional[str]]:
456
+ def domain_id(self) -> pulumi.Output[str]:
465
457
  """
466
458
  The domain to be issued the certificate for
467
459
  """
468
460
  return pulumi.get(self, "domain_id")
469
461
 
470
462
  @property
471
- @pulumi.getter(name="expiresOn")
472
- def expires_on(self) -> pulumi.Output[str]:
473
- return pulumi.get(self, "expires_on")
463
+ @pulumi.getter(name="expiresAt")
464
+ def expires_at(self) -> pulumi.Output[str]:
465
+ """
466
+ The datetime the certificate will expire
467
+ """
468
+ return pulumi.get(self, "expires_at")
474
469
 
475
470
  @property
476
471
  @pulumi.getter
@@ -480,6 +475,14 @@ class LetsEncryptCertificate(pulumi.CustomResource):
480
475
  """
481
476
  return pulumi.get(self, "name")
482
477
 
478
+ @property
479
+ @pulumi.getter(name="signatureAlgorithm")
480
+ def signature_algorithm(self) -> pulumi.Output[Optional[str]]:
481
+ """
482
+ The signature algorithm to use for the certificate
483
+ """
484
+ return pulumi.get(self, "signature_algorithm")
485
+
483
486
  @property
484
487
  @pulumi.getter
485
488
  def state(self) -> pulumi.Output[str]:
@@ -491,6 +494,9 @@ class LetsEncryptCertificate(pulumi.CustomResource):
491
494
  @property
492
495
  @pulumi.getter(name="updatedAt")
493
496
  def updated_at(self) -> pulumi.Output[str]:
497
+ """
498
+ The datetime the certificate was last updated
499
+ """
494
500
  return pulumi.get(self, "updated_at")
495
501
 
496
502
  @property
@@ -14,52 +14,42 @@ __all__ = ['ProviderArgs', 'Provider']
14
14
  @pulumi.input_type
15
15
  class ProviderArgs:
16
16
  def __init__(__self__, *,
17
- account: pulumi.Input[str],
18
- token: pulumi.Input[str],
17
+ account: Optional[pulumi.Input[str]] = None,
19
18
  prefetch: Optional[pulumi.Input[bool]] = None,
20
19
  sandbox: Optional[pulumi.Input[bool]] = None,
20
+ token: Optional[pulumi.Input[str]] = None,
21
21
  user_agent: Optional[pulumi.Input[str]] = None):
22
22
  """
23
23
  The set of arguments for constructing a Provider resource.
24
24
  :param pulumi.Input[str] account: The account for API operations.
25
- :param pulumi.Input[str] token: The API v2 token for API operations.
26
25
  :param pulumi.Input[bool] prefetch: Flag to enable the prefetch of zone records.
27
26
  :param pulumi.Input[bool] sandbox: Flag to enable the sandbox API.
27
+ :param pulumi.Input[str] token: The API v2 token for API operations.
28
28
  :param pulumi.Input[str] user_agent: Custom string to append to the user agent used for sending HTTP requests to the API.
29
29
  """
30
- pulumi.set(__self__, "account", account)
31
- pulumi.set(__self__, "token", token)
30
+ if account is not None:
31
+ pulumi.set(__self__, "account", account)
32
32
  if prefetch is not None:
33
33
  pulumi.set(__self__, "prefetch", prefetch)
34
34
  if sandbox is not None:
35
35
  pulumi.set(__self__, "sandbox", sandbox)
36
+ if token is not None:
37
+ pulumi.set(__self__, "token", token)
36
38
  if user_agent is not None:
37
39
  pulumi.set(__self__, "user_agent", user_agent)
38
40
 
39
41
  @property
40
42
  @pulumi.getter
41
- def account(self) -> pulumi.Input[str]:
43
+ def account(self) -> Optional[pulumi.Input[str]]:
42
44
  """
43
45
  The account for API operations.
44
46
  """
45
47
  return pulumi.get(self, "account")
46
48
 
47
49
  @account.setter
48
- def account(self, value: pulumi.Input[str]):
50
+ def account(self, value: Optional[pulumi.Input[str]]):
49
51
  pulumi.set(self, "account", value)
50
52
 
51
- @property
52
- @pulumi.getter
53
- def token(self) -> pulumi.Input[str]:
54
- """
55
- The API v2 token for API operations.
56
- """
57
- return pulumi.get(self, "token")
58
-
59
- @token.setter
60
- def token(self, value: pulumi.Input[str]):
61
- pulumi.set(self, "token", value)
62
-
63
53
  @property
64
54
  @pulumi.getter
65
55
  def prefetch(self) -> Optional[pulumi.Input[bool]]:
@@ -84,6 +74,18 @@ class ProviderArgs:
84
74
  def sandbox(self, value: Optional[pulumi.Input[bool]]):
85
75
  pulumi.set(self, "sandbox", value)
86
76
 
77
+ @property
78
+ @pulumi.getter
79
+ def token(self) -> Optional[pulumi.Input[str]]:
80
+ """
81
+ The API v2 token for API operations.
82
+ """
83
+ return pulumi.get(self, "token")
84
+
85
+ @token.setter
86
+ def token(self, value: Optional[pulumi.Input[str]]):
87
+ pulumi.set(self, "token", value)
88
+
87
89
  @property
88
90
  @pulumi.getter(name="userAgent")
89
91
  def user_agent(self) -> Optional[pulumi.Input[str]]:
@@ -126,7 +128,7 @@ class Provider(pulumi.ProviderResource):
126
128
  @overload
127
129
  def __init__(__self__,
128
130
  resource_name: str,
129
- args: ProviderArgs,
131
+ args: Optional[ProviderArgs] = None,
130
132
  opts: Optional[pulumi.ResourceOptions] = None):
131
133
  """
132
134
  The provider type for the dnsimple package. By default, resources use package-wide configuration
@@ -163,13 +165,9 @@ class Provider(pulumi.ProviderResource):
163
165
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
164
166
  __props__ = ProviderArgs.__new__(ProviderArgs)
165
167
 
166
- if account is None and not opts.urn:
167
- raise TypeError("Missing required property 'account'")
168
168
  __props__.__dict__["account"] = account
169
169
  __props__.__dict__["prefetch"] = pulumi.Output.from_input(prefetch).apply(pulumi.runtime.to_json) if prefetch is not None else None
170
170
  __props__.__dict__["sandbox"] = pulumi.Output.from_input(sandbox).apply(pulumi.runtime.to_json) if sandbox is not None else None
171
- if token is None and not opts.urn:
172
- raise TypeError("Missing required property 'token'")
173
171
  __props__.__dict__["token"] = None if token is None else pulumi.Output.secret(token)
174
172
  __props__.__dict__["user_agent"] = user_agent
175
173
  secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["token"])
@@ -182,7 +180,7 @@ class Provider(pulumi.ProviderResource):
182
180
 
183
181
  @property
184
182
  @pulumi.getter
185
- def account(self) -> pulumi.Output[str]:
183
+ def account(self) -> pulumi.Output[Optional[str]]:
186
184
  """
187
185
  The account for API operations.
188
186
  """
@@ -190,7 +188,7 @@ class Provider(pulumi.ProviderResource):
190
188
 
191
189
  @property
192
190
  @pulumi.getter
193
- def token(self) -> pulumi.Output[str]:
191
+ def token(self) -> pulumi.Output[Optional[str]]:
194
192
  """
195
193
  The API v2 token for API operations.
196
194
  """
@@ -1,4 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
- "name": "dnsimple"
3
+ "name": "dnsimple",
4
+ "version": "3.5.0"
4
5
  }