pulumi-dnsimple 3.5.0a1709211875__py3-none-any.whl → 4.3.0a1736832784__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.

@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = ['LetsEncryptCertificateArgs', 'LetsEncryptCertificate']
@@ -15,31 +20,31 @@ __all__ = ['LetsEncryptCertificateArgs', 'LetsEncryptCertificate']
15
20
  class LetsEncryptCertificateArgs:
16
21
  def __init__(__self__, *,
17
22
  auto_renew: pulumi.Input[bool],
23
+ domain_id: pulumi.Input[str],
18
24
  name: pulumi.Input[str],
19
- contact_id: Optional[pulumi.Input[int]] = None,
20
- domain_id: Optional[pulumi.Input[str]] = None):
25
+ alternate_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
26
+ signature_algorithm: Optional[pulumi.Input[str]] = None):
21
27
  """
22
28
  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
29
+ :param pulumi.Input[bool] auto_renew: True if the certificate should auto-renew
26
30
  :param pulumi.Input[str] domain_id: The domain to be issued the certificate for
31
+ :param pulumi.Input[str] name: The certificate name; use `""` for the root domain. Wildcard names are supported.
32
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] alternate_names: The certificate alternate names
33
+ :param pulumi.Input[str] signature_algorithm: The signature algorithm to use for the certificate
27
34
  """
28
35
  pulumi.set(__self__, "auto_renew", auto_renew)
36
+ pulumi.set(__self__, "domain_id", domain_id)
29
37
  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)
38
+ if alternate_names is not None:
39
+ pulumi.set(__self__, "alternate_names", alternate_names)
40
+ if signature_algorithm is not None:
41
+ pulumi.set(__self__, "signature_algorithm", signature_algorithm)
37
42
 
38
43
  @property
39
44
  @pulumi.getter(name="autoRenew")
40
45
  def auto_renew(self) -> pulumi.Input[bool]:
41
46
  """
42
- Set to true if the certificate will auto-renew
47
+ True if the certificate should auto-renew
43
48
  """
44
49
  return pulumi.get(self, "auto_renew")
45
50
 
@@ -47,11 +52,23 @@ class LetsEncryptCertificateArgs:
47
52
  def auto_renew(self, value: pulumi.Input[bool]):
48
53
  pulumi.set(self, "auto_renew", value)
49
54
 
55
+ @property
56
+ @pulumi.getter(name="domainId")
57
+ def domain_id(self) -> pulumi.Input[str]:
58
+ """
59
+ The domain to be issued the certificate for
60
+ """
61
+ return pulumi.get(self, "domain_id")
62
+
63
+ @domain_id.setter
64
+ def domain_id(self, value: pulumi.Input[str]):
65
+ pulumi.set(self, "domain_id", value)
66
+
50
67
  @property
51
68
  @pulumi.getter
52
69
  def name(self) -> pulumi.Input[str]:
53
70
  """
54
- The certificate name
71
+ The certificate name; use `""` for the root domain. Wildcard names are supported.
55
72
  """
56
73
  return pulumi.get(self, "name")
57
74
 
@@ -60,77 +77,78 @@ class LetsEncryptCertificateArgs:
60
77
  pulumi.set(self, "name", value)
61
78
 
62
79
  @property
63
- @pulumi.getter(name="contactId")
64
- def contact_id(self) -> Optional[pulumi.Input[int]]:
80
+ @pulumi.getter(name="alternateNames")
81
+ def alternate_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
65
82
  """
66
- The contact id for the certificate
83
+ The certificate alternate names
67
84
  """
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.""")
85
+ return pulumi.get(self, "alternate_names")
70
86
 
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)
87
+ @alternate_names.setter
88
+ def alternate_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
89
+ pulumi.set(self, "alternate_names", value)
76
90
 
77
91
  @property
78
- @pulumi.getter(name="domainId")
79
- def domain_id(self) -> Optional[pulumi.Input[str]]:
92
+ @pulumi.getter(name="signatureAlgorithm")
93
+ def signature_algorithm(self) -> Optional[pulumi.Input[str]]:
80
94
  """
81
- The domain to be issued the certificate for
95
+ The signature algorithm to use for the certificate
82
96
  """
83
- return pulumi.get(self, "domain_id")
97
+ return pulumi.get(self, "signature_algorithm")
84
98
 
85
- @domain_id.setter
86
- def domain_id(self, value: Optional[pulumi.Input[str]]):
87
- pulumi.set(self, "domain_id", value)
99
+ @signature_algorithm.setter
100
+ def signature_algorithm(self, value: Optional[pulumi.Input[str]]):
101
+ pulumi.set(self, "signature_algorithm", value)
88
102
 
89
103
 
90
104
  @pulumi.input_type
91
105
  class _LetsEncryptCertificateState:
92
106
  def __init__(__self__, *,
107
+ alternate_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
93
108
  authority_identifier: Optional[pulumi.Input[str]] = None,
94
109
  auto_renew: Optional[pulumi.Input[bool]] = None,
95
- contact_id: Optional[pulumi.Input[int]] = None,
96
110
  created_at: Optional[pulumi.Input[str]] = None,
97
111
  csr: Optional[pulumi.Input[str]] = None,
98
112
  domain_id: Optional[pulumi.Input[str]] = None,
99
- expires_on: Optional[pulumi.Input[str]] = None,
113
+ expires_at: Optional[pulumi.Input[str]] = None,
100
114
  name: Optional[pulumi.Input[str]] = None,
115
+ signature_algorithm: Optional[pulumi.Input[str]] = None,
101
116
  state: Optional[pulumi.Input[str]] = None,
102
117
  updated_at: Optional[pulumi.Input[str]] = None,
103
118
  years: Optional[pulumi.Input[int]] = None):
104
119
  """
105
120
  Input properties used for looking up and filtering LetsEncryptCertificate resources.
121
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] alternate_names: The certificate alternate names
106
122
  :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
123
+ :param pulumi.Input[bool] auto_renew: True if the certificate should auto-renew
124
+ :param pulumi.Input[str] created_at: The datetime the certificate was created
109
125
  :param pulumi.Input[str] csr: The certificate signing request
110
126
  :param pulumi.Input[str] domain_id: The domain to be issued the certificate for
111
- :param pulumi.Input[str] name: The certificate name
127
+ :param pulumi.Input[str] expires_at: The datetime the certificate will expire
128
+ :param pulumi.Input[str] name: The certificate name; use `""` for the root domain. Wildcard names are supported.
129
+ :param pulumi.Input[str] signature_algorithm: The signature algorithm to use for the certificate
112
130
  :param pulumi.Input[str] state: The state of the certificate
131
+ :param pulumi.Input[str] updated_at: The datetime the certificate was last updated
113
132
  :param pulumi.Input[int] years: The years the certificate will last
114
133
  """
134
+ if alternate_names is not None:
135
+ pulumi.set(__self__, "alternate_names", alternate_names)
115
136
  if authority_identifier is not None:
116
137
  pulumi.set(__self__, "authority_identifier", authority_identifier)
117
138
  if auto_renew is not None:
118
139
  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
140
  if created_at is not None:
125
141
  pulumi.set(__self__, "created_at", created_at)
126
142
  if csr is not None:
127
143
  pulumi.set(__self__, "csr", csr)
128
144
  if domain_id is not None:
129
145
  pulumi.set(__self__, "domain_id", domain_id)
130
- if expires_on is not None:
131
- pulumi.set(__self__, "expires_on", expires_on)
146
+ if expires_at is not None:
147
+ pulumi.set(__self__, "expires_at", expires_at)
132
148
  if name is not None:
133
149
  pulumi.set(__self__, "name", name)
150
+ if signature_algorithm is not None:
151
+ pulumi.set(__self__, "signature_algorithm", signature_algorithm)
134
152
  if state is not None:
135
153
  pulumi.set(__self__, "state", state)
136
154
  if updated_at is not None:
@@ -138,6 +156,18 @@ class _LetsEncryptCertificateState:
138
156
  if years is not None:
139
157
  pulumi.set(__self__, "years", years)
140
158
 
159
+ @property
160
+ @pulumi.getter(name="alternateNames")
161
+ def alternate_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
162
+ """
163
+ The certificate alternate names
164
+ """
165
+ return pulumi.get(self, "alternate_names")
166
+
167
+ @alternate_names.setter
168
+ def alternate_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
169
+ pulumi.set(self, "alternate_names", value)
170
+
141
171
  @property
142
172
  @pulumi.getter(name="authorityIdentifier")
143
173
  def authority_identifier(self) -> Optional[pulumi.Input[str]]:
@@ -154,7 +184,7 @@ class _LetsEncryptCertificateState:
154
184
  @pulumi.getter(name="autoRenew")
155
185
  def auto_renew(self) -> Optional[pulumi.Input[bool]]:
156
186
  """
157
- Set to true if the certificate will auto-renew
187
+ True if the certificate should auto-renew
158
188
  """
159
189
  return pulumi.get(self, "auto_renew")
160
190
 
@@ -162,24 +192,12 @@ class _LetsEncryptCertificateState:
162
192
  def auto_renew(self, value: Optional[pulumi.Input[bool]]):
163
193
  pulumi.set(self, "auto_renew", value)
164
194
 
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
195
  @property
181
196
  @pulumi.getter(name="createdAt")
182
197
  def created_at(self) -> Optional[pulumi.Input[str]]:
198
+ """
199
+ The datetime the certificate was created
200
+ """
183
201
  return pulumi.get(self, "created_at")
184
202
 
185
203
  @created_at.setter
@@ -211,19 +229,22 @@ class _LetsEncryptCertificateState:
211
229
  pulumi.set(self, "domain_id", value)
212
230
 
213
231
  @property
214
- @pulumi.getter(name="expiresOn")
215
- def expires_on(self) -> Optional[pulumi.Input[str]]:
216
- return pulumi.get(self, "expires_on")
232
+ @pulumi.getter(name="expiresAt")
233
+ def expires_at(self) -> Optional[pulumi.Input[str]]:
234
+ """
235
+ The datetime the certificate will expire
236
+ """
237
+ return pulumi.get(self, "expires_at")
217
238
 
218
- @expires_on.setter
219
- def expires_on(self, value: Optional[pulumi.Input[str]]):
220
- pulumi.set(self, "expires_on", value)
239
+ @expires_at.setter
240
+ def expires_at(self, value: Optional[pulumi.Input[str]]):
241
+ pulumi.set(self, "expires_at", value)
221
242
 
222
243
  @property
223
244
  @pulumi.getter
224
245
  def name(self) -> Optional[pulumi.Input[str]]:
225
246
  """
226
- The certificate name
247
+ The certificate name; use `""` for the root domain. Wildcard names are supported.
227
248
  """
228
249
  return pulumi.get(self, "name")
229
250
 
@@ -231,6 +252,18 @@ class _LetsEncryptCertificateState:
231
252
  def name(self, value: Optional[pulumi.Input[str]]):
232
253
  pulumi.set(self, "name", value)
233
254
 
255
+ @property
256
+ @pulumi.getter(name="signatureAlgorithm")
257
+ def signature_algorithm(self) -> Optional[pulumi.Input[str]]:
258
+ """
259
+ The signature algorithm to use for the certificate
260
+ """
261
+ return pulumi.get(self, "signature_algorithm")
262
+
263
+ @signature_algorithm.setter
264
+ def signature_algorithm(self, value: Optional[pulumi.Input[str]]):
265
+ pulumi.set(self, "signature_algorithm", value)
266
+
234
267
  @property
235
268
  @pulumi.getter
236
269
  def state(self) -> Optional[pulumi.Input[str]]:
@@ -246,6 +279,9 @@ class _LetsEncryptCertificateState:
246
279
  @property
247
280
  @pulumi.getter(name="updatedAt")
248
281
  def updated_at(self) -> Optional[pulumi.Input[str]]:
282
+ """
283
+ The datetime the certificate was last updated
284
+ """
249
285
  return pulumi.get(self, "updated_at")
250
286
 
251
287
  @updated_at.setter
@@ -270,10 +306,11 @@ class LetsEncryptCertificate(pulumi.CustomResource):
270
306
  def __init__(__self__,
271
307
  resource_name: str,
272
308
  opts: Optional[pulumi.ResourceOptions] = None,
309
+ alternate_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
273
310
  auto_renew: Optional[pulumi.Input[bool]] = None,
274
- contact_id: Optional[pulumi.Input[int]] = None,
275
311
  domain_id: Optional[pulumi.Input[str]] = None,
276
312
  name: Optional[pulumi.Input[str]] = None,
313
+ signature_algorithm: Optional[pulumi.Input[str]] = None,
277
314
  __props__=None):
278
315
  """
279
316
  Provides a DNSimple Let's Encrypt certificate resource.
@@ -285,17 +322,22 @@ class LetsEncryptCertificate(pulumi.CustomResource):
285
322
  import pulumi_dnsimple as dnsimple
286
323
 
287
324
  foobar = dnsimple.LetsEncryptCertificate("foobar",
288
- domain_id=var["dnsimple"]["domain_id"],
325
+ domain_id=dnsimple["domainId"],
289
326
  auto_renew=False,
290
- name="www")
327
+ name="www",
328
+ alternate_names=[
329
+ "docs.example.com",
330
+ "status.example.com",
331
+ ])
291
332
  ```
292
333
 
293
334
  :param str resource_name: The name of the resource.
294
335
  :param pulumi.ResourceOptions opts: Options for the resource.
295
- :param pulumi.Input[bool] auto_renew: Set to true if the certificate will auto-renew
296
- :param pulumi.Input[int] contact_id: The contact id for the certificate
336
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] alternate_names: The certificate alternate names
337
+ :param pulumi.Input[bool] auto_renew: True if the certificate should auto-renew
297
338
  :param pulumi.Input[str] domain_id: The domain to be issued the certificate for
298
- :param pulumi.Input[str] name: The certificate name
339
+ :param pulumi.Input[str] name: The certificate name; use `""` for the root domain. Wildcard names are supported.
340
+ :param pulumi.Input[str] signature_algorithm: The signature algorithm to use for the certificate
299
341
  """
300
342
  ...
301
343
  @overload
@@ -313,9 +355,13 @@ class LetsEncryptCertificate(pulumi.CustomResource):
313
355
  import pulumi_dnsimple as dnsimple
314
356
 
315
357
  foobar = dnsimple.LetsEncryptCertificate("foobar",
316
- domain_id=var["dnsimple"]["domain_id"],
358
+ domain_id=dnsimple["domainId"],
317
359
  auto_renew=False,
318
- name="www")
360
+ name="www",
361
+ alternate_names=[
362
+ "docs.example.com",
363
+ "status.example.com",
364
+ ])
319
365
  ```
320
366
 
321
367
  :param str resource_name: The name of the resource.
@@ -333,10 +379,11 @@ class LetsEncryptCertificate(pulumi.CustomResource):
333
379
  def _internal_init(__self__,
334
380
  resource_name: str,
335
381
  opts: Optional[pulumi.ResourceOptions] = None,
382
+ alternate_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
336
383
  auto_renew: Optional[pulumi.Input[bool]] = None,
337
- contact_id: Optional[pulumi.Input[int]] = None,
338
384
  domain_id: Optional[pulumi.Input[str]] = None,
339
385
  name: Optional[pulumi.Input[str]] = None,
386
+ signature_algorithm: Optional[pulumi.Input[str]] = None,
340
387
  __props__=None):
341
388
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
342
389
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -346,18 +393,21 @@ class LetsEncryptCertificate(pulumi.CustomResource):
346
393
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
347
394
  __props__ = LetsEncryptCertificateArgs.__new__(LetsEncryptCertificateArgs)
348
395
 
396
+ __props__.__dict__["alternate_names"] = alternate_names
349
397
  if auto_renew is None and not opts.urn:
350
398
  raise TypeError("Missing required property 'auto_renew'")
351
399
  __props__.__dict__["auto_renew"] = auto_renew
352
- __props__.__dict__["contact_id"] = contact_id
400
+ if domain_id is None and not opts.urn:
401
+ raise TypeError("Missing required property 'domain_id'")
353
402
  __props__.__dict__["domain_id"] = domain_id
354
403
  if name is None and not opts.urn:
355
404
  raise TypeError("Missing required property 'name'")
356
405
  __props__.__dict__["name"] = name
406
+ __props__.__dict__["signature_algorithm"] = signature_algorithm
357
407
  __props__.__dict__["authority_identifier"] = None
358
408
  __props__.__dict__["created_at"] = None
359
409
  __props__.__dict__["csr"] = None
360
- __props__.__dict__["expires_on"] = None
410
+ __props__.__dict__["expires_at"] = None
361
411
  __props__.__dict__["state"] = None
362
412
  __props__.__dict__["updated_at"] = None
363
413
  __props__.__dict__["years"] = None
@@ -371,14 +421,15 @@ class LetsEncryptCertificate(pulumi.CustomResource):
371
421
  def get(resource_name: str,
372
422
  id: pulumi.Input[str],
373
423
  opts: Optional[pulumi.ResourceOptions] = None,
424
+ alternate_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
374
425
  authority_identifier: Optional[pulumi.Input[str]] = None,
375
426
  auto_renew: Optional[pulumi.Input[bool]] = None,
376
- contact_id: Optional[pulumi.Input[int]] = None,
377
427
  created_at: Optional[pulumi.Input[str]] = None,
378
428
  csr: Optional[pulumi.Input[str]] = None,
379
429
  domain_id: Optional[pulumi.Input[str]] = None,
380
- expires_on: Optional[pulumi.Input[str]] = None,
430
+ expires_at: Optional[pulumi.Input[str]] = None,
381
431
  name: Optional[pulumi.Input[str]] = None,
432
+ signature_algorithm: Optional[pulumi.Input[str]] = None,
382
433
  state: Optional[pulumi.Input[str]] = None,
383
434
  updated_at: Optional[pulumi.Input[str]] = None,
384
435
  years: Optional[pulumi.Input[int]] = None) -> 'LetsEncryptCertificate':
@@ -389,32 +440,45 @@ class LetsEncryptCertificate(pulumi.CustomResource):
389
440
  :param str resource_name: The unique name of the resulting resource.
390
441
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
391
442
  :param pulumi.ResourceOptions opts: Options for the resource.
443
+ :param pulumi.Input[Sequence[pulumi.Input[str]]] alternate_names: The certificate alternate names
392
444
  :param pulumi.Input[str] authority_identifier: The identifying certification authority (CA)
393
- :param pulumi.Input[bool] auto_renew: Set to true if the certificate will auto-renew
394
- :param pulumi.Input[int] contact_id: The contact id for the certificate
445
+ :param pulumi.Input[bool] auto_renew: True if the certificate should auto-renew
446
+ :param pulumi.Input[str] created_at: The datetime the certificate was created
395
447
  :param pulumi.Input[str] csr: The certificate signing request
396
448
  :param pulumi.Input[str] domain_id: The domain to be issued the certificate for
397
- :param pulumi.Input[str] name: The certificate name
449
+ :param pulumi.Input[str] expires_at: The datetime the certificate will expire
450
+ :param pulumi.Input[str] name: The certificate name; use `""` for the root domain. Wildcard names are supported.
451
+ :param pulumi.Input[str] signature_algorithm: The signature algorithm to use for the certificate
398
452
  :param pulumi.Input[str] state: The state of the certificate
453
+ :param pulumi.Input[str] updated_at: The datetime the certificate was last updated
399
454
  :param pulumi.Input[int] years: The years the certificate will last
400
455
  """
401
456
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
402
457
 
403
458
  __props__ = _LetsEncryptCertificateState.__new__(_LetsEncryptCertificateState)
404
459
 
460
+ __props__.__dict__["alternate_names"] = alternate_names
405
461
  __props__.__dict__["authority_identifier"] = authority_identifier
406
462
  __props__.__dict__["auto_renew"] = auto_renew
407
- __props__.__dict__["contact_id"] = contact_id
408
463
  __props__.__dict__["created_at"] = created_at
409
464
  __props__.__dict__["csr"] = csr
410
465
  __props__.__dict__["domain_id"] = domain_id
411
- __props__.__dict__["expires_on"] = expires_on
466
+ __props__.__dict__["expires_at"] = expires_at
412
467
  __props__.__dict__["name"] = name
468
+ __props__.__dict__["signature_algorithm"] = signature_algorithm
413
469
  __props__.__dict__["state"] = state
414
470
  __props__.__dict__["updated_at"] = updated_at
415
471
  __props__.__dict__["years"] = years
416
472
  return LetsEncryptCertificate(resource_name, opts=opts, __props__=__props__)
417
473
 
474
+ @property
475
+ @pulumi.getter(name="alternateNames")
476
+ def alternate_names(self) -> pulumi.Output[Optional[Sequence[str]]]:
477
+ """
478
+ The certificate alternate names
479
+ """
480
+ return pulumi.get(self, "alternate_names")
481
+
418
482
  @property
419
483
  @pulumi.getter(name="authorityIdentifier")
420
484
  def authority_identifier(self) -> pulumi.Output[str]:
@@ -427,24 +491,16 @@ class LetsEncryptCertificate(pulumi.CustomResource):
427
491
  @pulumi.getter(name="autoRenew")
428
492
  def auto_renew(self) -> pulumi.Output[bool]:
429
493
  """
430
- Set to true if the certificate will auto-renew
494
+ True if the certificate should auto-renew
431
495
  """
432
496
  return pulumi.get(self, "auto_renew")
433
497
 
434
- @property
435
- @pulumi.getter(name="contactId")
436
- def contact_id(self) -> pulumi.Output[Optional[int]]:
437
- """
438
- The contact id for the certificate
439
- """
440
- warnings.warn("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""", DeprecationWarning)
441
- 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.""")
442
-
443
- return pulumi.get(self, "contact_id")
444
-
445
498
  @property
446
499
  @pulumi.getter(name="createdAt")
447
500
  def created_at(self) -> pulumi.Output[str]:
501
+ """
502
+ The datetime the certificate was created
503
+ """
448
504
  return pulumi.get(self, "created_at")
449
505
 
450
506
  @property
@@ -457,25 +513,36 @@ class LetsEncryptCertificate(pulumi.CustomResource):
457
513
 
458
514
  @property
459
515
  @pulumi.getter(name="domainId")
460
- def domain_id(self) -> pulumi.Output[Optional[str]]:
516
+ def domain_id(self) -> pulumi.Output[str]:
461
517
  """
462
518
  The domain to be issued the certificate for
463
519
  """
464
520
  return pulumi.get(self, "domain_id")
465
521
 
466
522
  @property
467
- @pulumi.getter(name="expiresOn")
468
- def expires_on(self) -> pulumi.Output[str]:
469
- return pulumi.get(self, "expires_on")
523
+ @pulumi.getter(name="expiresAt")
524
+ def expires_at(self) -> pulumi.Output[str]:
525
+ """
526
+ The datetime the certificate will expire
527
+ """
528
+ return pulumi.get(self, "expires_at")
470
529
 
471
530
  @property
472
531
  @pulumi.getter
473
532
  def name(self) -> pulumi.Output[str]:
474
533
  """
475
- The certificate name
534
+ The certificate name; use `""` for the root domain. Wildcard names are supported.
476
535
  """
477
536
  return pulumi.get(self, "name")
478
537
 
538
+ @property
539
+ @pulumi.getter(name="signatureAlgorithm")
540
+ def signature_algorithm(self) -> pulumi.Output[Optional[str]]:
541
+ """
542
+ The signature algorithm to use for the certificate
543
+ """
544
+ return pulumi.get(self, "signature_algorithm")
545
+
479
546
  @property
480
547
  @pulumi.getter
481
548
  def state(self) -> pulumi.Output[str]:
@@ -487,6 +554,9 @@ class LetsEncryptCertificate(pulumi.CustomResource):
487
554
  @property
488
555
  @pulumi.getter(name="updatedAt")
489
556
  def updated_at(self) -> pulumi.Output[str]:
557
+ """
558
+ The datetime the certificate was last updated
559
+ """
490
560
  return pulumi.get(self, "updated_at")
491
561
 
492
562
  @property