pulumi-dnsimple 3.5.0a1721236014__py3-none-any.whl → 3.5.0a1721425071__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 +1 -9
- pulumi_dnsimple/_enums.py +31 -0
- pulumi_dnsimple/domain.py +72 -2
- pulumi_dnsimple/email_forward.py +46 -22
- pulumi_dnsimple/get_certificate.py +7 -10
- pulumi_dnsimple/get_zone.py +2 -4
- pulumi_dnsimple/lets_encrypt_certificate.py +106 -90
- pulumi_dnsimple/provider.py +24 -26
- pulumi_dnsimple/pulumi-plugin.json +1 -1
- pulumi_dnsimple/zone_record.py +51 -49
- {pulumi_dnsimple-3.5.0a1721236014.dist-info → pulumi_dnsimple-3.5.0a1721425071.dist-info}/METADATA +1 -1
- pulumi_dnsimple-3.5.0a1721425071.dist-info/RECORD +19 -0
- {pulumi_dnsimple-3.5.0a1721236014.dist-info → pulumi_dnsimple-3.5.0a1721425071.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-3.5.0a1721425071.dist-info}/top_level.txt +0 -0
|
@@ -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
|
-
|
|
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:
|
|
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
|
|
31
|
-
|
|
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
|
-
|
|
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,29 +68,16 @@ class LetsEncryptCertificateArgs:
|
|
|
60
68
|
pulumi.set(self, "name", value)
|
|
61
69
|
|
|
62
70
|
@property
|
|
63
|
-
@pulumi.getter(name="
|
|
64
|
-
|
|
65
|
-
def contact_id(self) -> Optional[pulumi.Input[int]]:
|
|
71
|
+
@pulumi.getter(name="signatureAlgorithm")
|
|
72
|
+
def signature_algorithm(self) -> Optional[pulumi.Input[str]]:
|
|
66
73
|
"""
|
|
67
|
-
The
|
|
74
|
+
The signature algorithm to use for the certificate
|
|
68
75
|
"""
|
|
69
|
-
return pulumi.get(self, "
|
|
76
|
+
return pulumi.get(self, "signature_algorithm")
|
|
70
77
|
|
|
71
|
-
@
|
|
72
|
-
def
|
|
73
|
-
pulumi.set(self, "
|
|
74
|
-
|
|
75
|
-
@property
|
|
76
|
-
@pulumi.getter(name="domainId")
|
|
77
|
-
def domain_id(self) -> Optional[pulumi.Input[str]]:
|
|
78
|
-
"""
|
|
79
|
-
The domain to be issued the certificate for
|
|
80
|
-
"""
|
|
81
|
-
return pulumi.get(self, "domain_id")
|
|
82
|
-
|
|
83
|
-
@domain_id.setter
|
|
84
|
-
def domain_id(self, value: Optional[pulumi.Input[str]]):
|
|
85
|
-
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)
|
|
86
81
|
|
|
87
82
|
|
|
88
83
|
@pulumi.input_type
|
|
@@ -90,45 +85,45 @@ class _LetsEncryptCertificateState:
|
|
|
90
85
|
def __init__(__self__, *,
|
|
91
86
|
authority_identifier: Optional[pulumi.Input[str]] = None,
|
|
92
87
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
93
|
-
contact_id: Optional[pulumi.Input[int]] = None,
|
|
94
88
|
created_at: Optional[pulumi.Input[str]] = None,
|
|
95
89
|
csr: Optional[pulumi.Input[str]] = None,
|
|
96
90
|
domain_id: Optional[pulumi.Input[str]] = None,
|
|
97
|
-
|
|
91
|
+
expires_at: Optional[pulumi.Input[str]] = None,
|
|
98
92
|
name: Optional[pulumi.Input[str]] = None,
|
|
93
|
+
signature_algorithm: Optional[pulumi.Input[str]] = None,
|
|
99
94
|
state: Optional[pulumi.Input[str]] = None,
|
|
100
95
|
updated_at: Optional[pulumi.Input[str]] = None,
|
|
101
96
|
years: Optional[pulumi.Input[int]] = None):
|
|
102
97
|
"""
|
|
103
98
|
Input properties used for looking up and filtering LetsEncryptCertificate resources.
|
|
104
99
|
:param pulumi.Input[str] authority_identifier: The identifying certification authority (CA)
|
|
105
|
-
:param pulumi.Input[bool] auto_renew:
|
|
106
|
-
:param pulumi.Input[
|
|
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
|
|
107
102
|
:param pulumi.Input[str] csr: The certificate signing request
|
|
108
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
|
|
109
105
|
:param pulumi.Input[str] name: The certificate name
|
|
106
|
+
:param pulumi.Input[str] signature_algorithm: The signature algorithm to use for the certificate
|
|
110
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
|
|
111
109
|
:param pulumi.Input[int] years: The years the certificate will last
|
|
112
110
|
"""
|
|
113
111
|
if authority_identifier is not None:
|
|
114
112
|
pulumi.set(__self__, "authority_identifier", authority_identifier)
|
|
115
113
|
if auto_renew is not None:
|
|
116
114
|
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
115
|
if created_at is not None:
|
|
123
116
|
pulumi.set(__self__, "created_at", created_at)
|
|
124
117
|
if csr is not None:
|
|
125
118
|
pulumi.set(__self__, "csr", csr)
|
|
126
119
|
if domain_id is not None:
|
|
127
120
|
pulumi.set(__self__, "domain_id", domain_id)
|
|
128
|
-
if
|
|
129
|
-
pulumi.set(__self__, "
|
|
121
|
+
if expires_at is not None:
|
|
122
|
+
pulumi.set(__self__, "expires_at", expires_at)
|
|
130
123
|
if name is not None:
|
|
131
124
|
pulumi.set(__self__, "name", name)
|
|
125
|
+
if signature_algorithm is not None:
|
|
126
|
+
pulumi.set(__self__, "signature_algorithm", signature_algorithm)
|
|
132
127
|
if state is not None:
|
|
133
128
|
pulumi.set(__self__, "state", state)
|
|
134
129
|
if updated_at is not None:
|
|
@@ -152,7 +147,7 @@ class _LetsEncryptCertificateState:
|
|
|
152
147
|
@pulumi.getter(name="autoRenew")
|
|
153
148
|
def auto_renew(self) -> Optional[pulumi.Input[bool]]:
|
|
154
149
|
"""
|
|
155
|
-
|
|
150
|
+
True if the certificate should auto-renew
|
|
156
151
|
"""
|
|
157
152
|
return pulumi.get(self, "auto_renew")
|
|
158
153
|
|
|
@@ -160,22 +155,12 @@ class _LetsEncryptCertificateState:
|
|
|
160
155
|
def auto_renew(self, value: Optional[pulumi.Input[bool]]):
|
|
161
156
|
pulumi.set(self, "auto_renew", value)
|
|
162
157
|
|
|
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
158
|
@property
|
|
177
159
|
@pulumi.getter(name="createdAt")
|
|
178
160
|
def created_at(self) -> Optional[pulumi.Input[str]]:
|
|
161
|
+
"""
|
|
162
|
+
The datetime the certificate was created
|
|
163
|
+
"""
|
|
179
164
|
return pulumi.get(self, "created_at")
|
|
180
165
|
|
|
181
166
|
@created_at.setter
|
|
@@ -207,13 +192,16 @@ class _LetsEncryptCertificateState:
|
|
|
207
192
|
pulumi.set(self, "domain_id", value)
|
|
208
193
|
|
|
209
194
|
@property
|
|
210
|
-
@pulumi.getter(name="
|
|
211
|
-
def
|
|
212
|
-
|
|
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")
|
|
213
201
|
|
|
214
|
-
@
|
|
215
|
-
def
|
|
216
|
-
pulumi.set(self, "
|
|
202
|
+
@expires_at.setter
|
|
203
|
+
def expires_at(self, value: Optional[pulumi.Input[str]]):
|
|
204
|
+
pulumi.set(self, "expires_at", value)
|
|
217
205
|
|
|
218
206
|
@property
|
|
219
207
|
@pulumi.getter
|
|
@@ -227,6 +215,18 @@ class _LetsEncryptCertificateState:
|
|
|
227
215
|
def name(self, value: Optional[pulumi.Input[str]]):
|
|
228
216
|
pulumi.set(self, "name", value)
|
|
229
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
|
+
|
|
230
230
|
@property
|
|
231
231
|
@pulumi.getter
|
|
232
232
|
def state(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -242,6 +242,9 @@ class _LetsEncryptCertificateState:
|
|
|
242
242
|
@property
|
|
243
243
|
@pulumi.getter(name="updatedAt")
|
|
244
244
|
def updated_at(self) -> Optional[pulumi.Input[str]]:
|
|
245
|
+
"""
|
|
246
|
+
The datetime the certificate was last updated
|
|
247
|
+
"""
|
|
245
248
|
return pulumi.get(self, "updated_at")
|
|
246
249
|
|
|
247
250
|
@updated_at.setter
|
|
@@ -267,9 +270,9 @@ class LetsEncryptCertificate(pulumi.CustomResource):
|
|
|
267
270
|
resource_name: str,
|
|
268
271
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
269
272
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
270
|
-
contact_id: Optional[pulumi.Input[int]] = None,
|
|
271
273
|
domain_id: Optional[pulumi.Input[str]] = None,
|
|
272
274
|
name: Optional[pulumi.Input[str]] = None,
|
|
275
|
+
signature_algorithm: Optional[pulumi.Input[str]] = None,
|
|
273
276
|
__props__=None):
|
|
274
277
|
"""
|
|
275
278
|
Provides a DNSimple Let's Encrypt certificate resource.
|
|
@@ -288,10 +291,10 @@ class LetsEncryptCertificate(pulumi.CustomResource):
|
|
|
288
291
|
|
|
289
292
|
:param str resource_name: The name of the resource.
|
|
290
293
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
291
|
-
:param pulumi.Input[bool] auto_renew:
|
|
292
|
-
: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
|
|
293
295
|
:param pulumi.Input[str] domain_id: The domain to be issued the certificate for
|
|
294
296
|
:param pulumi.Input[str] name: The certificate name
|
|
297
|
+
:param pulumi.Input[str] signature_algorithm: The signature algorithm to use for the certificate
|
|
295
298
|
"""
|
|
296
299
|
...
|
|
297
300
|
@overload
|
|
@@ -330,9 +333,9 @@ class LetsEncryptCertificate(pulumi.CustomResource):
|
|
|
330
333
|
resource_name: str,
|
|
331
334
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
332
335
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
333
|
-
contact_id: Optional[pulumi.Input[int]] = None,
|
|
334
336
|
domain_id: Optional[pulumi.Input[str]] = None,
|
|
335
337
|
name: Optional[pulumi.Input[str]] = None,
|
|
338
|
+
signature_algorithm: Optional[pulumi.Input[str]] = None,
|
|
336
339
|
__props__=None):
|
|
337
340
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
338
341
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -345,15 +348,17 @@ class LetsEncryptCertificate(pulumi.CustomResource):
|
|
|
345
348
|
if auto_renew is None and not opts.urn:
|
|
346
349
|
raise TypeError("Missing required property 'auto_renew'")
|
|
347
350
|
__props__.__dict__["auto_renew"] = auto_renew
|
|
348
|
-
|
|
351
|
+
if domain_id is None and not opts.urn:
|
|
352
|
+
raise TypeError("Missing required property 'domain_id'")
|
|
349
353
|
__props__.__dict__["domain_id"] = domain_id
|
|
350
354
|
if name is None and not opts.urn:
|
|
351
355
|
raise TypeError("Missing required property 'name'")
|
|
352
356
|
__props__.__dict__["name"] = name
|
|
357
|
+
__props__.__dict__["signature_algorithm"] = signature_algorithm
|
|
353
358
|
__props__.__dict__["authority_identifier"] = None
|
|
354
359
|
__props__.__dict__["created_at"] = None
|
|
355
360
|
__props__.__dict__["csr"] = None
|
|
356
|
-
__props__.__dict__["
|
|
361
|
+
__props__.__dict__["expires_at"] = None
|
|
357
362
|
__props__.__dict__["state"] = None
|
|
358
363
|
__props__.__dict__["updated_at"] = None
|
|
359
364
|
__props__.__dict__["years"] = None
|
|
@@ -369,12 +374,12 @@ class LetsEncryptCertificate(pulumi.CustomResource):
|
|
|
369
374
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
370
375
|
authority_identifier: Optional[pulumi.Input[str]] = None,
|
|
371
376
|
auto_renew: Optional[pulumi.Input[bool]] = None,
|
|
372
|
-
contact_id: Optional[pulumi.Input[int]] = None,
|
|
373
377
|
created_at: Optional[pulumi.Input[str]] = None,
|
|
374
378
|
csr: Optional[pulumi.Input[str]] = None,
|
|
375
379
|
domain_id: Optional[pulumi.Input[str]] = None,
|
|
376
|
-
|
|
380
|
+
expires_at: Optional[pulumi.Input[str]] = None,
|
|
377
381
|
name: Optional[pulumi.Input[str]] = None,
|
|
382
|
+
signature_algorithm: Optional[pulumi.Input[str]] = None,
|
|
378
383
|
state: Optional[pulumi.Input[str]] = None,
|
|
379
384
|
updated_at: Optional[pulumi.Input[str]] = None,
|
|
380
385
|
years: Optional[pulumi.Input[int]] = None) -> 'LetsEncryptCertificate':
|
|
@@ -386,12 +391,15 @@ class LetsEncryptCertificate(pulumi.CustomResource):
|
|
|
386
391
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
387
392
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
388
393
|
:param pulumi.Input[str] authority_identifier: The identifying certification authority (CA)
|
|
389
|
-
:param pulumi.Input[bool] auto_renew:
|
|
390
|
-
:param pulumi.Input[
|
|
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
|
|
391
396
|
:param pulumi.Input[str] csr: The certificate signing request
|
|
392
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
|
|
393
399
|
:param pulumi.Input[str] name: The certificate name
|
|
400
|
+
:param pulumi.Input[str] signature_algorithm: The signature algorithm to use for the certificate
|
|
394
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
|
|
395
403
|
:param pulumi.Input[int] years: The years the certificate will last
|
|
396
404
|
"""
|
|
397
405
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -400,12 +408,12 @@ class LetsEncryptCertificate(pulumi.CustomResource):
|
|
|
400
408
|
|
|
401
409
|
__props__.__dict__["authority_identifier"] = authority_identifier
|
|
402
410
|
__props__.__dict__["auto_renew"] = auto_renew
|
|
403
|
-
__props__.__dict__["contact_id"] = contact_id
|
|
404
411
|
__props__.__dict__["created_at"] = created_at
|
|
405
412
|
__props__.__dict__["csr"] = csr
|
|
406
413
|
__props__.__dict__["domain_id"] = domain_id
|
|
407
|
-
__props__.__dict__["
|
|
414
|
+
__props__.__dict__["expires_at"] = expires_at
|
|
408
415
|
__props__.__dict__["name"] = name
|
|
416
|
+
__props__.__dict__["signature_algorithm"] = signature_algorithm
|
|
409
417
|
__props__.__dict__["state"] = state
|
|
410
418
|
__props__.__dict__["updated_at"] = updated_at
|
|
411
419
|
__props__.__dict__["years"] = years
|
|
@@ -423,22 +431,16 @@ class LetsEncryptCertificate(pulumi.CustomResource):
|
|
|
423
431
|
@pulumi.getter(name="autoRenew")
|
|
424
432
|
def auto_renew(self) -> pulumi.Output[bool]:
|
|
425
433
|
"""
|
|
426
|
-
|
|
434
|
+
True if the certificate should auto-renew
|
|
427
435
|
"""
|
|
428
436
|
return pulumi.get(self, "auto_renew")
|
|
429
437
|
|
|
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
438
|
@property
|
|
440
439
|
@pulumi.getter(name="createdAt")
|
|
441
440
|
def created_at(self) -> pulumi.Output[str]:
|
|
441
|
+
"""
|
|
442
|
+
The datetime the certificate was created
|
|
443
|
+
"""
|
|
442
444
|
return pulumi.get(self, "created_at")
|
|
443
445
|
|
|
444
446
|
@property
|
|
@@ -451,16 +453,19 @@ class LetsEncryptCertificate(pulumi.CustomResource):
|
|
|
451
453
|
|
|
452
454
|
@property
|
|
453
455
|
@pulumi.getter(name="domainId")
|
|
454
|
-
def domain_id(self) -> pulumi.Output[
|
|
456
|
+
def domain_id(self) -> pulumi.Output[str]:
|
|
455
457
|
"""
|
|
456
458
|
The domain to be issued the certificate for
|
|
457
459
|
"""
|
|
458
460
|
return pulumi.get(self, "domain_id")
|
|
459
461
|
|
|
460
462
|
@property
|
|
461
|
-
@pulumi.getter(name="
|
|
462
|
-
def
|
|
463
|
-
|
|
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")
|
|
464
469
|
|
|
465
470
|
@property
|
|
466
471
|
@pulumi.getter
|
|
@@ -470,6 +475,14 @@ class LetsEncryptCertificate(pulumi.CustomResource):
|
|
|
470
475
|
"""
|
|
471
476
|
return pulumi.get(self, "name")
|
|
472
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
|
+
|
|
473
486
|
@property
|
|
474
487
|
@pulumi.getter
|
|
475
488
|
def state(self) -> pulumi.Output[str]:
|
|
@@ -481,6 +494,9 @@ class LetsEncryptCertificate(pulumi.CustomResource):
|
|
|
481
494
|
@property
|
|
482
495
|
@pulumi.getter(name="updatedAt")
|
|
483
496
|
def updated_at(self) -> pulumi.Output[str]:
|
|
497
|
+
"""
|
|
498
|
+
The datetime the certificate was last updated
|
|
499
|
+
"""
|
|
484
500
|
return pulumi.get(self, "updated_at")
|
|
485
501
|
|
|
486
502
|
@property
|
pulumi_dnsimple/provider.py
CHANGED
|
@@ -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
|
-
|
|
31
|
-
|
|
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
|
"""
|