pulumi-dnsimple 5.1.0a1768541715__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.
@@ -0,0 +1,120 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ from . import _utilities
7
+ import typing
8
+ # Export this package's modules as members:
9
+ from ._enums import *
10
+ from .contact import *
11
+ from .domain import *
12
+ from .domain_delegation import *
13
+ from .ds_record import *
14
+ from .email_forward import *
15
+ from .get_certificate import *
16
+ from .get_registrant_change_check import *
17
+ from .get_zone import *
18
+ from .lets_encrypt_certificate import *
19
+ from .provider import *
20
+ from .registered_domain import *
21
+ from .zone import *
22
+ from .zone_record import *
23
+ from ._inputs import *
24
+ from . import outputs
25
+
26
+ # Make subpackages available:
27
+ if typing.TYPE_CHECKING:
28
+ import pulumi_dnsimple.config as __config
29
+ config = __config
30
+ else:
31
+ config = _utilities.lazy_import('pulumi_dnsimple.config')
32
+
33
+ _utilities.register(
34
+ resource_modules="""
35
+ [
36
+ {
37
+ "pkg": "dnsimple",
38
+ "mod": "index/contact",
39
+ "fqn": "pulumi_dnsimple",
40
+ "classes": {
41
+ "dnsimple:index/contact:Contact": "Contact"
42
+ }
43
+ },
44
+ {
45
+ "pkg": "dnsimple",
46
+ "mod": "index/domain",
47
+ "fqn": "pulumi_dnsimple",
48
+ "classes": {
49
+ "dnsimple:index/domain:Domain": "Domain"
50
+ }
51
+ },
52
+ {
53
+ "pkg": "dnsimple",
54
+ "mod": "index/domainDelegation",
55
+ "fqn": "pulumi_dnsimple",
56
+ "classes": {
57
+ "dnsimple:index/domainDelegation:DomainDelegation": "DomainDelegation"
58
+ }
59
+ },
60
+ {
61
+ "pkg": "dnsimple",
62
+ "mod": "index/dsRecord",
63
+ "fqn": "pulumi_dnsimple",
64
+ "classes": {
65
+ "dnsimple:index/dsRecord:DsRecord": "DsRecord"
66
+ }
67
+ },
68
+ {
69
+ "pkg": "dnsimple",
70
+ "mod": "index/emailForward",
71
+ "fqn": "pulumi_dnsimple",
72
+ "classes": {
73
+ "dnsimple:index/emailForward:EmailForward": "EmailForward"
74
+ }
75
+ },
76
+ {
77
+ "pkg": "dnsimple",
78
+ "mod": "index/letsEncryptCertificate",
79
+ "fqn": "pulumi_dnsimple",
80
+ "classes": {
81
+ "dnsimple:index/letsEncryptCertificate:LetsEncryptCertificate": "LetsEncryptCertificate"
82
+ }
83
+ },
84
+ {
85
+ "pkg": "dnsimple",
86
+ "mod": "index/registeredDomain",
87
+ "fqn": "pulumi_dnsimple",
88
+ "classes": {
89
+ "dnsimple:index/registeredDomain:RegisteredDomain": "RegisteredDomain"
90
+ }
91
+ },
92
+ {
93
+ "pkg": "dnsimple",
94
+ "mod": "index/zone",
95
+ "fqn": "pulumi_dnsimple",
96
+ "classes": {
97
+ "dnsimple:index/zone:Zone": "Zone"
98
+ }
99
+ },
100
+ {
101
+ "pkg": "dnsimple",
102
+ "mod": "index/zoneRecord",
103
+ "fqn": "pulumi_dnsimple",
104
+ "classes": {
105
+ "dnsimple:index/zoneRecord:ZoneRecord": "ZoneRecord"
106
+ }
107
+ }
108
+ ]
109
+ """,
110
+ resource_packages="""
111
+ [
112
+ {
113
+ "pkg": "dnsimple",
114
+ "token": "pulumi:providers:dnsimple",
115
+ "fqn": "pulumi_dnsimple",
116
+ "class": "Provider"
117
+ }
118
+ ]
119
+ """
120
+ )
@@ -0,0 +1,34 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import pulumi
7
+ from enum import Enum
8
+
9
+ __all__ = [
10
+ 'RecordTypes',
11
+ ]
12
+
13
+
14
+ @pulumi.type_token("dnsimple:index:RecordTypes")
15
+ class RecordTypes(_builtins.str, Enum):
16
+ """
17
+ DNS Record types.
18
+ """
19
+ A = "A"
20
+ AAAA = "AAAA"
21
+ ALIAS = "ALIAS"
22
+ CAA = "CAA"
23
+ CNAME = "CNAME"
24
+ HINFO = "HINFO"
25
+ MX = "MX"
26
+ NAPTR = "NAPTR"
27
+ NS = "NS"
28
+ POOL = "POOL"
29
+ PTR = "PTR"
30
+ SPF = "SPF"
31
+ SRV = "SRV"
32
+ SSHFP = "SSHFP"
33
+ TXT = "TXT"
34
+ URL = "URL"
@@ -0,0 +1,378 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
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
15
+ from . import _utilities
16
+ from ._enums import *
17
+
18
+ __all__ = [
19
+ 'RegisteredDomainDomainRegistrationArgs',
20
+ 'RegisteredDomainDomainRegistrationArgsDict',
21
+ 'RegisteredDomainRegistrantChangeArgs',
22
+ 'RegisteredDomainRegistrantChangeArgsDict',
23
+ 'RegisteredDomainTimeoutsArgs',
24
+ 'RegisteredDomainTimeoutsArgsDict',
25
+ 'GetCertificateTimeoutsArgs',
26
+ 'GetCertificateTimeoutsArgsDict',
27
+ ]
28
+
29
+ MYPY = False
30
+
31
+ if not MYPY:
32
+ class RegisteredDomainDomainRegistrationArgsDict(TypedDict):
33
+ id: NotRequired[pulumi.Input[_builtins.int]]
34
+ """
35
+ (Number) - The ID of the domain registration.
36
+ """
37
+ period: NotRequired[pulumi.Input[_builtins.int]]
38
+ """
39
+ (Number) - The registration period in years.
40
+ """
41
+ state: NotRequired[pulumi.Input[_builtins.str]]
42
+ """
43
+ (String) - The state of the domain registration.
44
+ """
45
+ elif False:
46
+ RegisteredDomainDomainRegistrationArgsDict: TypeAlias = Mapping[str, Any]
47
+
48
+ @pulumi.input_type
49
+ class RegisteredDomainDomainRegistrationArgs:
50
+ def __init__(__self__, *,
51
+ id: Optional[pulumi.Input[_builtins.int]] = None,
52
+ period: Optional[pulumi.Input[_builtins.int]] = None,
53
+ state: Optional[pulumi.Input[_builtins.str]] = None):
54
+ """
55
+ :param pulumi.Input[_builtins.int] id: (Number) - The ID of the domain registration.
56
+ :param pulumi.Input[_builtins.int] period: (Number) - The registration period in years.
57
+ :param pulumi.Input[_builtins.str] state: (String) - The state of the domain registration.
58
+ """
59
+ if id is not None:
60
+ pulumi.set(__self__, "id", id)
61
+ if period is not None:
62
+ pulumi.set(__self__, "period", period)
63
+ if state is not None:
64
+ pulumi.set(__self__, "state", state)
65
+
66
+ @_builtins.property
67
+ @pulumi.getter
68
+ def id(self) -> Optional[pulumi.Input[_builtins.int]]:
69
+ """
70
+ (Number) - The ID of the domain registration.
71
+ """
72
+ return pulumi.get(self, "id")
73
+
74
+ @id.setter
75
+ def id(self, value: Optional[pulumi.Input[_builtins.int]]):
76
+ pulumi.set(self, "id", value)
77
+
78
+ @_builtins.property
79
+ @pulumi.getter
80
+ def period(self) -> Optional[pulumi.Input[_builtins.int]]:
81
+ """
82
+ (Number) - The registration period in years.
83
+ """
84
+ return pulumi.get(self, "period")
85
+
86
+ @period.setter
87
+ def period(self, value: Optional[pulumi.Input[_builtins.int]]):
88
+ pulumi.set(self, "period", value)
89
+
90
+ @_builtins.property
91
+ @pulumi.getter
92
+ def state(self) -> Optional[pulumi.Input[_builtins.str]]:
93
+ """
94
+ (String) - The state of the domain registration.
95
+ """
96
+ return pulumi.get(self, "state")
97
+
98
+ @state.setter
99
+ def state(self, value: Optional[pulumi.Input[_builtins.str]]):
100
+ pulumi.set(self, "state", value)
101
+
102
+
103
+ if not MYPY:
104
+ class RegisteredDomainRegistrantChangeArgsDict(TypedDict):
105
+ account_id: NotRequired[pulumi.Input[_builtins.int]]
106
+ """
107
+ DNSimple Account ID to which the registrant change belongs to
108
+ """
109
+ contact_id: NotRequired[pulumi.Input[_builtins.int]]
110
+ """
111
+ The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change, which may result in a [60-day lock](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
112
+ """
113
+ domain_id: NotRequired[pulumi.Input[_builtins.str]]
114
+ """
115
+ DNSimple domain ID for which the registrant change is being performed
116
+ """
117
+ extended_attributes: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]
118
+ """
119
+ A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our [Lists the TLD Extended Attributes API](https://developer.dnsimple.com/v2/tlds/#getTldExtendedAttributes). The values provided in the `extended_attributes` will also be sent when a registrant change is initiated as part of changing the `contact_id`.
120
+ """
121
+ id: NotRequired[pulumi.Input[_builtins.int]]
122
+ """
123
+ (Number) - The ID of the domain registration.
124
+ """
125
+ irt_lock_lifted_by: NotRequired[pulumi.Input[_builtins.str]]
126
+ """
127
+ Date when the registrant change lock was lifted for the domain
128
+ """
129
+ registry_owner_change: NotRequired[pulumi.Input[_builtins.bool]]
130
+ """
131
+ True if the registrant change will result in a registry owner change
132
+ """
133
+ state: NotRequired[pulumi.Input[_builtins.str]]
134
+ """
135
+ (String) - The state of the domain registration.
136
+ """
137
+ elif False:
138
+ RegisteredDomainRegistrantChangeArgsDict: TypeAlias = Mapping[str, Any]
139
+
140
+ @pulumi.input_type
141
+ class RegisteredDomainRegistrantChangeArgs:
142
+ def __init__(__self__, *,
143
+ account_id: Optional[pulumi.Input[_builtins.int]] = None,
144
+ contact_id: Optional[pulumi.Input[_builtins.int]] = None,
145
+ domain_id: Optional[pulumi.Input[_builtins.str]] = None,
146
+ extended_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
147
+ id: Optional[pulumi.Input[_builtins.int]] = None,
148
+ irt_lock_lifted_by: Optional[pulumi.Input[_builtins.str]] = None,
149
+ registry_owner_change: Optional[pulumi.Input[_builtins.bool]] = None,
150
+ state: Optional[pulumi.Input[_builtins.str]] = None):
151
+ """
152
+ :param pulumi.Input[_builtins.int] account_id: DNSimple Account ID to which the registrant change belongs to
153
+ :param pulumi.Input[_builtins.int] contact_id: The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change, which may result in a [60-day lock](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
154
+ :param pulumi.Input[_builtins.str] domain_id: DNSimple domain ID for which the registrant change is being performed
155
+ :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] extended_attributes: A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our [Lists the TLD Extended Attributes API](https://developer.dnsimple.com/v2/tlds/#getTldExtendedAttributes). The values provided in the `extended_attributes` will also be sent when a registrant change is initiated as part of changing the `contact_id`.
156
+ :param pulumi.Input[_builtins.int] id: (Number) - The ID of the domain registration.
157
+ :param pulumi.Input[_builtins.str] irt_lock_lifted_by: Date when the registrant change lock was lifted for the domain
158
+ :param pulumi.Input[_builtins.bool] registry_owner_change: True if the registrant change will result in a registry owner change
159
+ :param pulumi.Input[_builtins.str] state: (String) - The state of the domain registration.
160
+ """
161
+ if account_id is not None:
162
+ pulumi.set(__self__, "account_id", account_id)
163
+ if contact_id is not None:
164
+ pulumi.set(__self__, "contact_id", contact_id)
165
+ if domain_id is not None:
166
+ pulumi.set(__self__, "domain_id", domain_id)
167
+ if extended_attributes is not None:
168
+ pulumi.set(__self__, "extended_attributes", extended_attributes)
169
+ if id is not None:
170
+ pulumi.set(__self__, "id", id)
171
+ if irt_lock_lifted_by is not None:
172
+ pulumi.set(__self__, "irt_lock_lifted_by", irt_lock_lifted_by)
173
+ if registry_owner_change is not None:
174
+ pulumi.set(__self__, "registry_owner_change", registry_owner_change)
175
+ if state is not None:
176
+ pulumi.set(__self__, "state", state)
177
+
178
+ @_builtins.property
179
+ @pulumi.getter(name="accountId")
180
+ def account_id(self) -> Optional[pulumi.Input[_builtins.int]]:
181
+ """
182
+ DNSimple Account ID to which the registrant change belongs to
183
+ """
184
+ return pulumi.get(self, "account_id")
185
+
186
+ @account_id.setter
187
+ def account_id(self, value: Optional[pulumi.Input[_builtins.int]]):
188
+ pulumi.set(self, "account_id", value)
189
+
190
+ @_builtins.property
191
+ @pulumi.getter(name="contactId")
192
+ def contact_id(self) -> Optional[pulumi.Input[_builtins.int]]:
193
+ """
194
+ The ID of the contact to be used for the domain registration. The contact ID can be changed after the domain has been registered. The change will result in a new registrant change, which may result in a [60-day lock](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
195
+ """
196
+ return pulumi.get(self, "contact_id")
197
+
198
+ @contact_id.setter
199
+ def contact_id(self, value: Optional[pulumi.Input[_builtins.int]]):
200
+ pulumi.set(self, "contact_id", value)
201
+
202
+ @_builtins.property
203
+ @pulumi.getter(name="domainId")
204
+ def domain_id(self) -> Optional[pulumi.Input[_builtins.str]]:
205
+ """
206
+ DNSimple domain ID for which the registrant change is being performed
207
+ """
208
+ return pulumi.get(self, "domain_id")
209
+
210
+ @domain_id.setter
211
+ def domain_id(self, value: Optional[pulumi.Input[_builtins.str]]):
212
+ pulumi.set(self, "domain_id", value)
213
+
214
+ @_builtins.property
215
+ @pulumi.getter(name="extendedAttributes")
216
+ def extended_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
217
+ """
218
+ A map of extended attributes to be set for the domain registration. To see if there are any required extended attributes for any TLD use our [Lists the TLD Extended Attributes API](https://developer.dnsimple.com/v2/tlds/#getTldExtendedAttributes). The values provided in the `extended_attributes` will also be sent when a registrant change is initiated as part of changing the `contact_id`.
219
+ """
220
+ return pulumi.get(self, "extended_attributes")
221
+
222
+ @extended_attributes.setter
223
+ def extended_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
224
+ pulumi.set(self, "extended_attributes", value)
225
+
226
+ @_builtins.property
227
+ @pulumi.getter
228
+ def id(self) -> Optional[pulumi.Input[_builtins.int]]:
229
+ """
230
+ (Number) - The ID of the domain registration.
231
+ """
232
+ return pulumi.get(self, "id")
233
+
234
+ @id.setter
235
+ def id(self, value: Optional[pulumi.Input[_builtins.int]]):
236
+ pulumi.set(self, "id", value)
237
+
238
+ @_builtins.property
239
+ @pulumi.getter(name="irtLockLiftedBy")
240
+ def irt_lock_lifted_by(self) -> Optional[pulumi.Input[_builtins.str]]:
241
+ """
242
+ Date when the registrant change lock was lifted for the domain
243
+ """
244
+ return pulumi.get(self, "irt_lock_lifted_by")
245
+
246
+ @irt_lock_lifted_by.setter
247
+ def irt_lock_lifted_by(self, value: Optional[pulumi.Input[_builtins.str]]):
248
+ pulumi.set(self, "irt_lock_lifted_by", value)
249
+
250
+ @_builtins.property
251
+ @pulumi.getter(name="registryOwnerChange")
252
+ def registry_owner_change(self) -> Optional[pulumi.Input[_builtins.bool]]:
253
+ """
254
+ True if the registrant change will result in a registry owner change
255
+ """
256
+ return pulumi.get(self, "registry_owner_change")
257
+
258
+ @registry_owner_change.setter
259
+ def registry_owner_change(self, value: Optional[pulumi.Input[_builtins.bool]]):
260
+ pulumi.set(self, "registry_owner_change", value)
261
+
262
+ @_builtins.property
263
+ @pulumi.getter
264
+ def state(self) -> Optional[pulumi.Input[_builtins.str]]:
265
+ """
266
+ (String) - The state of the domain registration.
267
+ """
268
+ return pulumi.get(self, "state")
269
+
270
+ @state.setter
271
+ def state(self, value: Optional[pulumi.Input[_builtins.str]]):
272
+ pulumi.set(self, "state", value)
273
+
274
+
275
+ if not MYPY:
276
+ class RegisteredDomainTimeoutsArgsDict(TypedDict):
277
+ create: NotRequired[pulumi.Input[_builtins.str]]
278
+ """
279
+ (String) - The timeout for the read operation e.g. `5m`
280
+ """
281
+ delete: NotRequired[pulumi.Input[_builtins.str]]
282
+ """
283
+ Delete timeout (currently unused).
284
+ """
285
+ update: NotRequired[pulumi.Input[_builtins.str]]
286
+ """
287
+ (String) - The timeout for the read operation e.g. `5m`
288
+ """
289
+ elif False:
290
+ RegisteredDomainTimeoutsArgsDict: TypeAlias = Mapping[str, Any]
291
+
292
+ @pulumi.input_type
293
+ class RegisteredDomainTimeoutsArgs:
294
+ def __init__(__self__, *,
295
+ create: Optional[pulumi.Input[_builtins.str]] = None,
296
+ delete: Optional[pulumi.Input[_builtins.str]] = None,
297
+ update: Optional[pulumi.Input[_builtins.str]] = None):
298
+ """
299
+ :param pulumi.Input[_builtins.str] create: (String) - The timeout for the read operation e.g. `5m`
300
+ :param pulumi.Input[_builtins.str] delete: Delete timeout (currently unused).
301
+ :param pulumi.Input[_builtins.str] update: (String) - The timeout for the read operation e.g. `5m`
302
+ """
303
+ if create is not None:
304
+ pulumi.set(__self__, "create", create)
305
+ if delete is not None:
306
+ pulumi.set(__self__, "delete", delete)
307
+ if update is not None:
308
+ pulumi.set(__self__, "update", update)
309
+
310
+ @_builtins.property
311
+ @pulumi.getter
312
+ def create(self) -> Optional[pulumi.Input[_builtins.str]]:
313
+ """
314
+ (String) - The timeout for the read operation e.g. `5m`
315
+ """
316
+ return pulumi.get(self, "create")
317
+
318
+ @create.setter
319
+ def create(self, value: Optional[pulumi.Input[_builtins.str]]):
320
+ pulumi.set(self, "create", value)
321
+
322
+ @_builtins.property
323
+ @pulumi.getter
324
+ def delete(self) -> Optional[pulumi.Input[_builtins.str]]:
325
+ """
326
+ Delete timeout (currently unused).
327
+ """
328
+ return pulumi.get(self, "delete")
329
+
330
+ @delete.setter
331
+ def delete(self, value: Optional[pulumi.Input[_builtins.str]]):
332
+ pulumi.set(self, "delete", value)
333
+
334
+ @_builtins.property
335
+ @pulumi.getter
336
+ def update(self) -> Optional[pulumi.Input[_builtins.str]]:
337
+ """
338
+ (String) - The timeout for the read operation e.g. `5m`
339
+ """
340
+ return pulumi.get(self, "update")
341
+
342
+ @update.setter
343
+ def update(self, value: Optional[pulumi.Input[_builtins.str]]):
344
+ pulumi.set(self, "update", value)
345
+
346
+
347
+ if not MYPY:
348
+ class GetCertificateTimeoutsArgsDict(TypedDict):
349
+ read: NotRequired[_builtins.str]
350
+ """
351
+ (String) - The timeout for the read operation, e.g., `5m`.
352
+ """
353
+ elif False:
354
+ GetCertificateTimeoutsArgsDict: TypeAlias = Mapping[str, Any]
355
+
356
+ @pulumi.input_type
357
+ class GetCertificateTimeoutsArgs:
358
+ def __init__(__self__, *,
359
+ read: Optional[_builtins.str] = None):
360
+ """
361
+ :param _builtins.str read: (String) - The timeout for the read operation, e.g., `5m`.
362
+ """
363
+ if read is not None:
364
+ pulumi.set(__self__, "read", read)
365
+
366
+ @_builtins.property
367
+ @pulumi.getter
368
+ def read(self) -> Optional[_builtins.str]:
369
+ """
370
+ (String) - The timeout for the read operation, e.g., `5m`.
371
+ """
372
+ return pulumi.get(self, "read")
373
+
374
+ @read.setter
375
+ def read(self, value: Optional[_builtins.str]):
376
+ pulumi.set(self, "read", value)
377
+
378
+