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.

@@ -5,14 +5,22 @@
5
5
  from . import _utilities
6
6
  import typing
7
7
  # Export this package's modules as members:
8
+ from ._enums import *
9
+ from .contact import *
8
10
  from .domain import *
11
+ from .domain_delegation import *
12
+ from .ds_record import *
9
13
  from .email_forward import *
10
14
  from .get_certificate import *
15
+ from .get_registrant_change_check import *
11
16
  from .get_zone import *
12
17
  from .lets_encrypt_certificate import *
13
18
  from .provider import *
14
- from .record import *
19
+ from .registered_domain import *
20
+ from .zone import *
15
21
  from .zone_record import *
22
+ from ._inputs import *
23
+ from . import outputs
16
24
 
17
25
  # Make subpackages available:
18
26
  if typing.TYPE_CHECKING:
@@ -24,6 +32,14 @@ else:
24
32
  _utilities.register(
25
33
  resource_modules="""
26
34
  [
35
+ {
36
+ "pkg": "dnsimple",
37
+ "mod": "index/contact",
38
+ "fqn": "pulumi_dnsimple",
39
+ "classes": {
40
+ "dnsimple:index/contact:Contact": "Contact"
41
+ }
42
+ },
27
43
  {
28
44
  "pkg": "dnsimple",
29
45
  "mod": "index/domain",
@@ -32,6 +48,22 @@ _utilities.register(
32
48
  "dnsimple:index/domain:Domain": "Domain"
33
49
  }
34
50
  },
51
+ {
52
+ "pkg": "dnsimple",
53
+ "mod": "index/domainDelegation",
54
+ "fqn": "pulumi_dnsimple",
55
+ "classes": {
56
+ "dnsimple:index/domainDelegation:DomainDelegation": "DomainDelegation"
57
+ }
58
+ },
59
+ {
60
+ "pkg": "dnsimple",
61
+ "mod": "index/dsRecord",
62
+ "fqn": "pulumi_dnsimple",
63
+ "classes": {
64
+ "dnsimple:index/dsRecord:DsRecord": "DsRecord"
65
+ }
66
+ },
35
67
  {
36
68
  "pkg": "dnsimple",
37
69
  "mod": "index/emailForward",
@@ -50,10 +82,18 @@ _utilities.register(
50
82
  },
51
83
  {
52
84
  "pkg": "dnsimple",
53
- "mod": "index/record",
85
+ "mod": "index/registeredDomain",
86
+ "fqn": "pulumi_dnsimple",
87
+ "classes": {
88
+ "dnsimple:index/registeredDomain:RegisteredDomain": "RegisteredDomain"
89
+ }
90
+ },
91
+ {
92
+ "pkg": "dnsimple",
93
+ "mod": "index/zone",
54
94
  "fqn": "pulumi_dnsimple",
55
95
  "classes": {
56
- "dnsimple:index/record:Record": "Record"
96
+ "dnsimple:index/zone:Zone": "Zone"
57
97
  }
58
98
  },
59
99
  {
@@ -0,0 +1,31 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ from enum import Enum
6
+
7
+ __all__ = [
8
+ 'RecordTypes',
9
+ ]
10
+
11
+
12
+ class RecordTypes(str, Enum):
13
+ """
14
+ DNS Record types.
15
+ """
16
+ A = "A"
17
+ AAAA = "AAAA"
18
+ ALIAS = "ALIAS"
19
+ CAA = "CAA"
20
+ CNAME = "CNAME"
21
+ HINFO = "HINFO"
22
+ MX = "MX"
23
+ NAPTR = "NAPTR"
24
+ NS = "NS"
25
+ POOL = "POOL"
26
+ PTR = "PTR"
27
+ SPF = "SPF"
28
+ SRV = "SRV"
29
+ SSHFP = "SSHFP"
30
+ TXT = "TXT"
31
+ URL = "URL"
@@ -0,0 +1,287 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import pulumi
8
+ import pulumi.runtime
9
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
10
+ from . import _utilities
11
+ from ._enums import *
12
+
13
+ __all__ = [
14
+ 'RegisteredDomainDomainRegistrationArgs',
15
+ 'RegisteredDomainRegistrantChangeArgs',
16
+ 'RegisteredDomainTimeoutsArgs',
17
+ 'GetCertificateTimeoutsArgs',
18
+ ]
19
+
20
+ @pulumi.input_type
21
+ class RegisteredDomainDomainRegistrationArgs:
22
+ def __init__(__self__, *,
23
+ id: Optional[pulumi.Input[int]] = None,
24
+ period: Optional[pulumi.Input[int]] = None,
25
+ state: Optional[pulumi.Input[str]] = None):
26
+ """
27
+ :param pulumi.Input[int] id: The ID of this resource.
28
+ :param pulumi.Input[int] period: The registration period in years.
29
+ :param pulumi.Input[str] state: The state of the domain.
30
+ """
31
+ if id is not None:
32
+ pulumi.set(__self__, "id", id)
33
+ if period is not None:
34
+ pulumi.set(__self__, "period", period)
35
+ if state is not None:
36
+ pulumi.set(__self__, "state", state)
37
+
38
+ @property
39
+ @pulumi.getter
40
+ def id(self) -> Optional[pulumi.Input[int]]:
41
+ """
42
+ The ID of this resource.
43
+ """
44
+ return pulumi.get(self, "id")
45
+
46
+ @id.setter
47
+ def id(self, value: Optional[pulumi.Input[int]]):
48
+ pulumi.set(self, "id", value)
49
+
50
+ @property
51
+ @pulumi.getter
52
+ def period(self) -> Optional[pulumi.Input[int]]:
53
+ """
54
+ The registration period in years.
55
+ """
56
+ return pulumi.get(self, "period")
57
+
58
+ @period.setter
59
+ def period(self, value: Optional[pulumi.Input[int]]):
60
+ pulumi.set(self, "period", value)
61
+
62
+ @property
63
+ @pulumi.getter
64
+ def state(self) -> Optional[pulumi.Input[str]]:
65
+ """
66
+ The state of the domain.
67
+ """
68
+ return pulumi.get(self, "state")
69
+
70
+ @state.setter
71
+ def state(self, value: Optional[pulumi.Input[str]]):
72
+ pulumi.set(self, "state", value)
73
+
74
+
75
+ @pulumi.input_type
76
+ class RegisteredDomainRegistrantChangeArgs:
77
+ def __init__(__self__, *,
78
+ account_id: Optional[pulumi.Input[int]] = None,
79
+ contact_id: Optional[pulumi.Input[int]] = None,
80
+ domain_id: Optional[pulumi.Input[str]] = None,
81
+ extended_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
82
+ id: Optional[pulumi.Input[int]] = None,
83
+ irt_lock_lifted_by: Optional[pulumi.Input[str]] = None,
84
+ registry_owner_change: Optional[pulumi.Input[bool]] = None,
85
+ state: Optional[pulumi.Input[str]] = None):
86
+ """
87
+ :param pulumi.Input[int] account_id: DNSimple Account ID to which the registrant change belongs to
88
+ :param pulumi.Input[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 this may result in a [60-day lock](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
89
+ :param pulumi.Input[str] domain_id: DNSimple domain ID for which the registrant change is being performed
90
+ :param pulumi.Input[Mapping[str, pulumi.Input[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`.
91
+ :param pulumi.Input[int] id: The ID of this resource.
92
+ :param pulumi.Input[str] irt_lock_lifted_by: Date when the registrant change lock was lifted for the domain
93
+ :param pulumi.Input[bool] registry_owner_change: True if the registrant change will result in a registry owner change
94
+ :param pulumi.Input[str] state: The state of the domain.
95
+ """
96
+ if account_id is not None:
97
+ pulumi.set(__self__, "account_id", account_id)
98
+ if contact_id is not None:
99
+ pulumi.set(__self__, "contact_id", contact_id)
100
+ if domain_id is not None:
101
+ pulumi.set(__self__, "domain_id", domain_id)
102
+ if extended_attributes is not None:
103
+ pulumi.set(__self__, "extended_attributes", extended_attributes)
104
+ if id is not None:
105
+ pulumi.set(__self__, "id", id)
106
+ if irt_lock_lifted_by is not None:
107
+ pulumi.set(__self__, "irt_lock_lifted_by", irt_lock_lifted_by)
108
+ if registry_owner_change is not None:
109
+ pulumi.set(__self__, "registry_owner_change", registry_owner_change)
110
+ if state is not None:
111
+ pulumi.set(__self__, "state", state)
112
+
113
+ @property
114
+ @pulumi.getter(name="accountId")
115
+ def account_id(self) -> Optional[pulumi.Input[int]]:
116
+ """
117
+ DNSimple Account ID to which the registrant change belongs to
118
+ """
119
+ return pulumi.get(self, "account_id")
120
+
121
+ @account_id.setter
122
+ def account_id(self, value: Optional[pulumi.Input[int]]):
123
+ pulumi.set(self, "account_id", value)
124
+
125
+ @property
126
+ @pulumi.getter(name="contactId")
127
+ def contact_id(self) -> Optional[pulumi.Input[int]]:
128
+ """
129
+ 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 this may result in a [60-day lock](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
130
+ """
131
+ return pulumi.get(self, "contact_id")
132
+
133
+ @contact_id.setter
134
+ def contact_id(self, value: Optional[pulumi.Input[int]]):
135
+ pulumi.set(self, "contact_id", value)
136
+
137
+ @property
138
+ @pulumi.getter(name="domainId")
139
+ def domain_id(self) -> Optional[pulumi.Input[str]]:
140
+ """
141
+ DNSimple domain ID for which the registrant change is being performed
142
+ """
143
+ return pulumi.get(self, "domain_id")
144
+
145
+ @domain_id.setter
146
+ def domain_id(self, value: Optional[pulumi.Input[str]]):
147
+ pulumi.set(self, "domain_id", value)
148
+
149
+ @property
150
+ @pulumi.getter(name="extendedAttributes")
151
+ def extended_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
152
+ """
153
+ 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`.
154
+ """
155
+ return pulumi.get(self, "extended_attributes")
156
+
157
+ @extended_attributes.setter
158
+ def extended_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
159
+ pulumi.set(self, "extended_attributes", value)
160
+
161
+ @property
162
+ @pulumi.getter
163
+ def id(self) -> Optional[pulumi.Input[int]]:
164
+ """
165
+ The ID of this resource.
166
+ """
167
+ return pulumi.get(self, "id")
168
+
169
+ @id.setter
170
+ def id(self, value: Optional[pulumi.Input[int]]):
171
+ pulumi.set(self, "id", value)
172
+
173
+ @property
174
+ @pulumi.getter(name="irtLockLiftedBy")
175
+ def irt_lock_lifted_by(self) -> Optional[pulumi.Input[str]]:
176
+ """
177
+ Date when the registrant change lock was lifted for the domain
178
+ """
179
+ return pulumi.get(self, "irt_lock_lifted_by")
180
+
181
+ @irt_lock_lifted_by.setter
182
+ def irt_lock_lifted_by(self, value: Optional[pulumi.Input[str]]):
183
+ pulumi.set(self, "irt_lock_lifted_by", value)
184
+
185
+ @property
186
+ @pulumi.getter(name="registryOwnerChange")
187
+ def registry_owner_change(self) -> Optional[pulumi.Input[bool]]:
188
+ """
189
+ True if the registrant change will result in a registry owner change
190
+ """
191
+ return pulumi.get(self, "registry_owner_change")
192
+
193
+ @registry_owner_change.setter
194
+ def registry_owner_change(self, value: Optional[pulumi.Input[bool]]):
195
+ pulumi.set(self, "registry_owner_change", value)
196
+
197
+ @property
198
+ @pulumi.getter
199
+ def state(self) -> Optional[pulumi.Input[str]]:
200
+ """
201
+ The state of the domain.
202
+ """
203
+ return pulumi.get(self, "state")
204
+
205
+ @state.setter
206
+ def state(self, value: Optional[pulumi.Input[str]]):
207
+ pulumi.set(self, "state", value)
208
+
209
+
210
+ @pulumi.input_type
211
+ class RegisteredDomainTimeoutsArgs:
212
+ def __init__(__self__, *,
213
+ create: Optional[pulumi.Input[str]] = None,
214
+ delete: Optional[pulumi.Input[str]] = None,
215
+ update: Optional[pulumi.Input[str]] = None):
216
+ """
217
+ :param pulumi.Input[str] create: Create timeout.
218
+ :param pulumi.Input[str] delete: Delete timeout (currently unused).
219
+ :param pulumi.Input[str] update: Update timeout.
220
+ """
221
+ if create is not None:
222
+ pulumi.set(__self__, "create", create)
223
+ if delete is not None:
224
+ pulumi.set(__self__, "delete", delete)
225
+ if update is not None:
226
+ pulumi.set(__self__, "update", update)
227
+
228
+ @property
229
+ @pulumi.getter
230
+ def create(self) -> Optional[pulumi.Input[str]]:
231
+ """
232
+ Create timeout.
233
+ """
234
+ return pulumi.get(self, "create")
235
+
236
+ @create.setter
237
+ def create(self, value: Optional[pulumi.Input[str]]):
238
+ pulumi.set(self, "create", value)
239
+
240
+ @property
241
+ @pulumi.getter
242
+ def delete(self) -> Optional[pulumi.Input[str]]:
243
+ """
244
+ Delete timeout (currently unused).
245
+ """
246
+ return pulumi.get(self, "delete")
247
+
248
+ @delete.setter
249
+ def delete(self, value: Optional[pulumi.Input[str]]):
250
+ pulumi.set(self, "delete", value)
251
+
252
+ @property
253
+ @pulumi.getter
254
+ def update(self) -> Optional[pulumi.Input[str]]:
255
+ """
256
+ Update timeout.
257
+ """
258
+ return pulumi.get(self, "update")
259
+
260
+ @update.setter
261
+ def update(self, value: Optional[pulumi.Input[str]]):
262
+ pulumi.set(self, "update", value)
263
+
264
+
265
+ @pulumi.input_type
266
+ class GetCertificateTimeoutsArgs:
267
+ def __init__(__self__, *,
268
+ read: Optional[str] = None):
269
+ """
270
+ :param str read: (String) - The timeout for the read operation e.g. `5m`
271
+ """
272
+ if read is not None:
273
+ pulumi.set(__self__, "read", read)
274
+
275
+ @property
276
+ @pulumi.getter
277
+ def read(self) -> Optional[str]:
278
+ """
279
+ (String) - The timeout for the read operation e.g. `5m`
280
+ """
281
+ return pulumi.get(self, "read")
282
+
283
+ @read.setter
284
+ def read(self, value: Optional[str]):
285
+ pulumi.set(self, "read", value)
286
+
287
+