pulumi-dnsimple 4.3.0a1743572236__py3-none-any.whl → 4.3.0a1744255816__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.

@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  from . import _utilities
6
7
  import typing
7
8
  # Export this package's modules as members:
pulumi_dnsimple/_enums.py CHANGED
@@ -2,6 +2,8 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
6
+ import builtins
5
7
  from enum import Enum
6
8
 
7
9
  __all__ = [
@@ -9,7 +11,7 @@ __all__ = [
9
11
  ]
10
12
 
11
13
 
12
- class RecordTypes(str, Enum):
14
+ class RecordTypes(builtins.str, Enum):
13
15
  """
14
16
  DNS Record types.
15
17
  """
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -30,15 +31,15 @@ MYPY = False
30
31
 
31
32
  if not MYPY:
32
33
  class RegisteredDomainDomainRegistrationArgsDict(TypedDict):
33
- id: NotRequired[pulumi.Input[int]]
34
+ id: NotRequired[pulumi.Input[builtins.int]]
34
35
  """
35
36
  The ID of this resource.
36
37
  """
37
- period: NotRequired[pulumi.Input[int]]
38
+ period: NotRequired[pulumi.Input[builtins.int]]
38
39
  """
39
40
  The registration period in years.
40
41
  """
41
- state: NotRequired[pulumi.Input[str]]
42
+ state: NotRequired[pulumi.Input[builtins.str]]
42
43
  """
43
44
  The state of the domain.
44
45
  """
@@ -48,13 +49,13 @@ elif False:
48
49
  @pulumi.input_type
49
50
  class RegisteredDomainDomainRegistrationArgs:
50
51
  def __init__(__self__, *,
51
- id: Optional[pulumi.Input[int]] = None,
52
- period: Optional[pulumi.Input[int]] = None,
53
- state: Optional[pulumi.Input[str]] = None):
52
+ id: Optional[pulumi.Input[builtins.int]] = None,
53
+ period: Optional[pulumi.Input[builtins.int]] = None,
54
+ state: Optional[pulumi.Input[builtins.str]] = None):
54
55
  """
55
- :param pulumi.Input[int] id: The ID of this resource.
56
- :param pulumi.Input[int] period: The registration period in years.
57
- :param pulumi.Input[str] state: The state of the domain.
56
+ :param pulumi.Input[builtins.int] id: The ID of this resource.
57
+ :param pulumi.Input[builtins.int] period: The registration period in years.
58
+ :param pulumi.Input[builtins.str] state: The state of the domain.
58
59
  """
59
60
  if id is not None:
60
61
  pulumi.set(__self__, "id", id)
@@ -65,72 +66,72 @@ class RegisteredDomainDomainRegistrationArgs:
65
66
 
66
67
  @property
67
68
  @pulumi.getter
68
- def id(self) -> Optional[pulumi.Input[int]]:
69
+ def id(self) -> Optional[pulumi.Input[builtins.int]]:
69
70
  """
70
71
  The ID of this resource.
71
72
  """
72
73
  return pulumi.get(self, "id")
73
74
 
74
75
  @id.setter
75
- def id(self, value: Optional[pulumi.Input[int]]):
76
+ def id(self, value: Optional[pulumi.Input[builtins.int]]):
76
77
  pulumi.set(self, "id", value)
77
78
 
78
79
  @property
79
80
  @pulumi.getter
80
- def period(self) -> Optional[pulumi.Input[int]]:
81
+ def period(self) -> Optional[pulumi.Input[builtins.int]]:
81
82
  """
82
83
  The registration period in years.
83
84
  """
84
85
  return pulumi.get(self, "period")
85
86
 
86
87
  @period.setter
87
- def period(self, value: Optional[pulumi.Input[int]]):
88
+ def period(self, value: Optional[pulumi.Input[builtins.int]]):
88
89
  pulumi.set(self, "period", value)
89
90
 
90
91
  @property
91
92
  @pulumi.getter
92
- def state(self) -> Optional[pulumi.Input[str]]:
93
+ def state(self) -> Optional[pulumi.Input[builtins.str]]:
93
94
  """
94
95
  The state of the domain.
95
96
  """
96
97
  return pulumi.get(self, "state")
97
98
 
98
99
  @state.setter
99
- def state(self, value: Optional[pulumi.Input[str]]):
100
+ def state(self, value: Optional[pulumi.Input[builtins.str]]):
100
101
  pulumi.set(self, "state", value)
101
102
 
102
103
 
103
104
  if not MYPY:
104
105
  class RegisteredDomainRegistrantChangeArgsDict(TypedDict):
105
- account_id: NotRequired[pulumi.Input[int]]
106
+ account_id: NotRequired[pulumi.Input[builtins.int]]
106
107
  """
107
108
  DNSimple Account ID to which the registrant change belongs to
108
109
  """
109
- contact_id: NotRequired[pulumi.Input[int]]
110
+ contact_id: NotRequired[pulumi.Input[builtins.int]]
110
111
  """
111
112
  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/).
112
113
  """
113
- domain_id: NotRequired[pulumi.Input[str]]
114
+ domain_id: NotRequired[pulumi.Input[builtins.str]]
114
115
  """
115
116
  DNSimple domain ID for which the registrant change is being performed
116
117
  """
117
- extended_attributes: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
118
+ extended_attributes: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]
118
119
  """
119
120
  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
  """
121
- id: NotRequired[pulumi.Input[int]]
122
+ id: NotRequired[pulumi.Input[builtins.int]]
122
123
  """
123
124
  The ID of this resource.
124
125
  """
125
- irt_lock_lifted_by: NotRequired[pulumi.Input[str]]
126
+ irt_lock_lifted_by: NotRequired[pulumi.Input[builtins.str]]
126
127
  """
127
128
  Date when the registrant change lock was lifted for the domain
128
129
  """
129
- registry_owner_change: NotRequired[pulumi.Input[bool]]
130
+ registry_owner_change: NotRequired[pulumi.Input[builtins.bool]]
130
131
  """
131
132
  True if the registrant change will result in a registry owner change
132
133
  """
133
- state: NotRequired[pulumi.Input[str]]
134
+ state: NotRequired[pulumi.Input[builtins.str]]
134
135
  """
135
136
  The state of the domain.
136
137
  """
@@ -140,23 +141,23 @@ elif False:
140
141
  @pulumi.input_type
141
142
  class RegisteredDomainRegistrantChangeArgs:
142
143
  def __init__(__self__, *,
143
- account_id: Optional[pulumi.Input[int]] = None,
144
- contact_id: Optional[pulumi.Input[int]] = None,
145
- domain_id: Optional[pulumi.Input[str]] = None,
146
- extended_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
147
- id: Optional[pulumi.Input[int]] = None,
148
- irt_lock_lifted_by: Optional[pulumi.Input[str]] = None,
149
- registry_owner_change: Optional[pulumi.Input[bool]] = None,
150
- state: Optional[pulumi.Input[str]] = None):
151
- """
152
- :param pulumi.Input[int] account_id: DNSimple Account ID to which the registrant change belongs to
153
- :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/).
154
- :param pulumi.Input[str] domain_id: DNSimple domain ID for which the registrant change is being performed
155
- :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`.
156
- :param pulumi.Input[int] id: The ID of this resource.
157
- :param pulumi.Input[str] irt_lock_lifted_by: Date when the registrant change lock was lifted for the domain
158
- :param pulumi.Input[bool] registry_owner_change: True if the registrant change will result in a registry owner change
159
- :param pulumi.Input[str] state: The state of the domain.
144
+ account_id: Optional[pulumi.Input[builtins.int]] = None,
145
+ contact_id: Optional[pulumi.Input[builtins.int]] = None,
146
+ domain_id: Optional[pulumi.Input[builtins.str]] = None,
147
+ extended_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
148
+ id: Optional[pulumi.Input[builtins.int]] = None,
149
+ irt_lock_lifted_by: Optional[pulumi.Input[builtins.str]] = None,
150
+ registry_owner_change: Optional[pulumi.Input[builtins.bool]] = None,
151
+ state: Optional[pulumi.Input[builtins.str]] = None):
152
+ """
153
+ :param pulumi.Input[builtins.int] account_id: DNSimple Account ID to which the registrant change belongs to
154
+ :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 this may result in a [60-day lock](https://support.dnsimple.com/articles/icann-60-day-lock-registrant-change/).
155
+ :param pulumi.Input[builtins.str] domain_id: DNSimple domain ID for which the registrant change is being performed
156
+ :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`.
157
+ :param pulumi.Input[builtins.int] id: The ID of this resource.
158
+ :param pulumi.Input[builtins.str] irt_lock_lifted_by: Date when the registrant change lock was lifted for the domain
159
+ :param pulumi.Input[builtins.bool] registry_owner_change: True if the registrant change will result in a registry owner change
160
+ :param pulumi.Input[builtins.str] state: The state of the domain.
160
161
  """
161
162
  if account_id is not None:
162
163
  pulumi.set(__self__, "account_id", account_id)
@@ -177,112 +178,112 @@ class RegisteredDomainRegistrantChangeArgs:
177
178
 
178
179
  @property
179
180
  @pulumi.getter(name="accountId")
180
- def account_id(self) -> Optional[pulumi.Input[int]]:
181
+ def account_id(self) -> Optional[pulumi.Input[builtins.int]]:
181
182
  """
182
183
  DNSimple Account ID to which the registrant change belongs to
183
184
  """
184
185
  return pulumi.get(self, "account_id")
185
186
 
186
187
  @account_id.setter
187
- def account_id(self, value: Optional[pulumi.Input[int]]):
188
+ def account_id(self, value: Optional[pulumi.Input[builtins.int]]):
188
189
  pulumi.set(self, "account_id", value)
189
190
 
190
191
  @property
191
192
  @pulumi.getter(name="contactId")
192
- def contact_id(self) -> Optional[pulumi.Input[int]]:
193
+ def contact_id(self) -> Optional[pulumi.Input[builtins.int]]:
193
194
  """
194
195
  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/).
195
196
  """
196
197
  return pulumi.get(self, "contact_id")
197
198
 
198
199
  @contact_id.setter
199
- def contact_id(self, value: Optional[pulumi.Input[int]]):
200
+ def contact_id(self, value: Optional[pulumi.Input[builtins.int]]):
200
201
  pulumi.set(self, "contact_id", value)
201
202
 
202
203
  @property
203
204
  @pulumi.getter(name="domainId")
204
- def domain_id(self) -> Optional[pulumi.Input[str]]:
205
+ def domain_id(self) -> Optional[pulumi.Input[builtins.str]]:
205
206
  """
206
207
  DNSimple domain ID for which the registrant change is being performed
207
208
  """
208
209
  return pulumi.get(self, "domain_id")
209
210
 
210
211
  @domain_id.setter
211
- def domain_id(self, value: Optional[pulumi.Input[str]]):
212
+ def domain_id(self, value: Optional[pulumi.Input[builtins.str]]):
212
213
  pulumi.set(self, "domain_id", value)
213
214
 
214
215
  @property
215
216
  @pulumi.getter(name="extendedAttributes")
216
- def extended_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
217
+ def extended_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
217
218
  """
218
219
  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
  """
220
221
  return pulumi.get(self, "extended_attributes")
221
222
 
222
223
  @extended_attributes.setter
223
- def extended_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
224
+ def extended_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
224
225
  pulumi.set(self, "extended_attributes", value)
225
226
 
226
227
  @property
227
228
  @pulumi.getter
228
- def id(self) -> Optional[pulumi.Input[int]]:
229
+ def id(self) -> Optional[pulumi.Input[builtins.int]]:
229
230
  """
230
231
  The ID of this resource.
231
232
  """
232
233
  return pulumi.get(self, "id")
233
234
 
234
235
  @id.setter
235
- def id(self, value: Optional[pulumi.Input[int]]):
236
+ def id(self, value: Optional[pulumi.Input[builtins.int]]):
236
237
  pulumi.set(self, "id", value)
237
238
 
238
239
  @property
239
240
  @pulumi.getter(name="irtLockLiftedBy")
240
- def irt_lock_lifted_by(self) -> Optional[pulumi.Input[str]]:
241
+ def irt_lock_lifted_by(self) -> Optional[pulumi.Input[builtins.str]]:
241
242
  """
242
243
  Date when the registrant change lock was lifted for the domain
243
244
  """
244
245
  return pulumi.get(self, "irt_lock_lifted_by")
245
246
 
246
247
  @irt_lock_lifted_by.setter
247
- def irt_lock_lifted_by(self, value: Optional[pulumi.Input[str]]):
248
+ def irt_lock_lifted_by(self, value: Optional[pulumi.Input[builtins.str]]):
248
249
  pulumi.set(self, "irt_lock_lifted_by", value)
249
250
 
250
251
  @property
251
252
  @pulumi.getter(name="registryOwnerChange")
252
- def registry_owner_change(self) -> Optional[pulumi.Input[bool]]:
253
+ def registry_owner_change(self) -> Optional[pulumi.Input[builtins.bool]]:
253
254
  """
254
255
  True if the registrant change will result in a registry owner change
255
256
  """
256
257
  return pulumi.get(self, "registry_owner_change")
257
258
 
258
259
  @registry_owner_change.setter
259
- def registry_owner_change(self, value: Optional[pulumi.Input[bool]]):
260
+ def registry_owner_change(self, value: Optional[pulumi.Input[builtins.bool]]):
260
261
  pulumi.set(self, "registry_owner_change", value)
261
262
 
262
263
  @property
263
264
  @pulumi.getter
264
- def state(self) -> Optional[pulumi.Input[str]]:
265
+ def state(self) -> Optional[pulumi.Input[builtins.str]]:
265
266
  """
266
267
  The state of the domain.
267
268
  """
268
269
  return pulumi.get(self, "state")
269
270
 
270
271
  @state.setter
271
- def state(self, value: Optional[pulumi.Input[str]]):
272
+ def state(self, value: Optional[pulumi.Input[builtins.str]]):
272
273
  pulumi.set(self, "state", value)
273
274
 
274
275
 
275
276
  if not MYPY:
276
277
  class RegisteredDomainTimeoutsArgsDict(TypedDict):
277
- create: NotRequired[pulumi.Input[str]]
278
+ create: NotRequired[pulumi.Input[builtins.str]]
278
279
  """
279
280
  Create timeout.
280
281
  """
281
- delete: NotRequired[pulumi.Input[str]]
282
+ delete: NotRequired[pulumi.Input[builtins.str]]
282
283
  """
283
284
  Delete timeout (currently unused).
284
285
  """
285
- update: NotRequired[pulumi.Input[str]]
286
+ update: NotRequired[pulumi.Input[builtins.str]]
286
287
  """
287
288
  Update timeout.
288
289
  """
@@ -292,13 +293,13 @@ elif False:
292
293
  @pulumi.input_type
293
294
  class RegisteredDomainTimeoutsArgs:
294
295
  def __init__(__self__, *,
295
- create: Optional[pulumi.Input[str]] = None,
296
- delete: Optional[pulumi.Input[str]] = None,
297
- update: Optional[pulumi.Input[str]] = None):
296
+ create: Optional[pulumi.Input[builtins.str]] = None,
297
+ delete: Optional[pulumi.Input[builtins.str]] = None,
298
+ update: Optional[pulumi.Input[builtins.str]] = None):
298
299
  """
299
- :param pulumi.Input[str] create: Create timeout.
300
- :param pulumi.Input[str] delete: Delete timeout (currently unused).
301
- :param pulumi.Input[str] update: Update timeout.
300
+ :param pulumi.Input[builtins.str] create: Create timeout.
301
+ :param pulumi.Input[builtins.str] delete: Delete timeout (currently unused).
302
+ :param pulumi.Input[builtins.str] update: Update timeout.
302
303
  """
303
304
  if create is not None:
304
305
  pulumi.set(__self__, "create", create)
@@ -309,44 +310,44 @@ class RegisteredDomainTimeoutsArgs:
309
310
 
310
311
  @property
311
312
  @pulumi.getter
312
- def create(self) -> Optional[pulumi.Input[str]]:
313
+ def create(self) -> Optional[pulumi.Input[builtins.str]]:
313
314
  """
314
315
  Create timeout.
315
316
  """
316
317
  return pulumi.get(self, "create")
317
318
 
318
319
  @create.setter
319
- def create(self, value: Optional[pulumi.Input[str]]):
320
+ def create(self, value: Optional[pulumi.Input[builtins.str]]):
320
321
  pulumi.set(self, "create", value)
321
322
 
322
323
  @property
323
324
  @pulumi.getter
324
- def delete(self) -> Optional[pulumi.Input[str]]:
325
+ def delete(self) -> Optional[pulumi.Input[builtins.str]]:
325
326
  """
326
327
  Delete timeout (currently unused).
327
328
  """
328
329
  return pulumi.get(self, "delete")
329
330
 
330
331
  @delete.setter
331
- def delete(self, value: Optional[pulumi.Input[str]]):
332
+ def delete(self, value: Optional[pulumi.Input[builtins.str]]):
332
333
  pulumi.set(self, "delete", value)
333
334
 
334
335
  @property
335
336
  @pulumi.getter
336
- def update(self) -> Optional[pulumi.Input[str]]:
337
+ def update(self) -> Optional[pulumi.Input[builtins.str]]:
337
338
  """
338
339
  Update timeout.
339
340
  """
340
341
  return pulumi.get(self, "update")
341
342
 
342
343
  @update.setter
343
- def update(self, value: Optional[pulumi.Input[str]]):
344
+ def update(self, value: Optional[pulumi.Input[builtins.str]]):
344
345
  pulumi.set(self, "update", value)
345
346
 
346
347
 
347
348
  if not MYPY:
348
349
  class GetCertificateTimeoutsArgsDict(TypedDict):
349
- read: NotRequired[str]
350
+ read: NotRequired[builtins.str]
350
351
  """
351
352
  (String) - The timeout for the read operation e.g. `5m`
352
353
  """
@@ -356,23 +357,23 @@ elif False:
356
357
  @pulumi.input_type
357
358
  class GetCertificateTimeoutsArgs:
358
359
  def __init__(__self__, *,
359
- read: Optional[str] = None):
360
+ read: Optional[builtins.str] = None):
360
361
  """
361
- :param str read: (String) - The timeout for the read operation e.g. `5m`
362
+ :param builtins.str read: (String) - The timeout for the read operation e.g. `5m`
362
363
  """
363
364
  if read is not None:
364
365
  pulumi.set(__self__, "read", read)
365
366
 
366
367
  @property
367
368
  @pulumi.getter
368
- def read(self) -> Optional[str]:
369
+ def read(self) -> Optional[builtins.str]:
369
370
  """
370
371
  (String) - The timeout for the read operation e.g. `5m`
371
372
  """
372
373
  return pulumi.get(self, "read")
373
374
 
374
375
  @read.setter
375
- def read(self, value: Optional[str]):
376
+ def read(self, value: Optional[builtins.str]):
376
377
  pulumi.set(self, "read", value)
377
378
 
378
379
 
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import sys
6
7
  from .vars import _ExportableConfig
7
8
 
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys