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