pulumi-dnsimple 3.5.0a1721425071__py3-none-any.whl → 4.0.0a1721432730__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.

@@ -0,0 +1,316 @@
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 . import outputs
12
+ from ._enums import *
13
+
14
+ __all__ = [
15
+ 'RegisteredDomainDomainRegistration',
16
+ 'RegisteredDomainRegistrantChange',
17
+ 'RegisteredDomainTimeouts',
18
+ 'GetCertificateTimeoutsResult',
19
+ 'GetRegistrantChangeCheckExtendedAttributeResult',
20
+ 'GetRegistrantChangeCheckExtendedAttributeOptionResult',
21
+ ]
22
+
23
+ @pulumi.output_type
24
+ class RegisteredDomainDomainRegistration(dict):
25
+ def __init__(__self__, *,
26
+ id: Optional[int] = None,
27
+ period: Optional[int] = None,
28
+ state: Optional[str] = None):
29
+ """
30
+ :param int id: The ID of this resource.
31
+ :param int period: The registration period in years.
32
+ :param str state: The state of the domain.
33
+ """
34
+ if id is not None:
35
+ pulumi.set(__self__, "id", id)
36
+ if period is not None:
37
+ pulumi.set(__self__, "period", period)
38
+ if state is not None:
39
+ pulumi.set(__self__, "state", state)
40
+
41
+ @property
42
+ @pulumi.getter
43
+ def id(self) -> Optional[int]:
44
+ """
45
+ The ID of this resource.
46
+ """
47
+ return pulumi.get(self, "id")
48
+
49
+ @property
50
+ @pulumi.getter
51
+ def period(self) -> Optional[int]:
52
+ """
53
+ The registration period in years.
54
+ """
55
+ return pulumi.get(self, "period")
56
+
57
+ @property
58
+ @pulumi.getter
59
+ def state(self) -> Optional[str]:
60
+ """
61
+ The state of the domain.
62
+ """
63
+ return pulumi.get(self, "state")
64
+
65
+
66
+ @pulumi.output_type
67
+ class RegisteredDomainRegistrantChange(dict):
68
+ @staticmethod
69
+ def __key_warning(key: str):
70
+ suggest = None
71
+ if key == "accountId":
72
+ suggest = "account_id"
73
+ elif key == "contactId":
74
+ suggest = "contact_id"
75
+ elif key == "domainId":
76
+ suggest = "domain_id"
77
+ elif key == "extendedAttributes":
78
+ suggest = "extended_attributes"
79
+ elif key == "irtLockLiftedBy":
80
+ suggest = "irt_lock_lifted_by"
81
+ elif key == "registryOwnerChange":
82
+ suggest = "registry_owner_change"
83
+
84
+ if suggest:
85
+ pulumi.log.warn(f"Key '{key}' not found in RegisteredDomainRegistrantChange. Access the value via the '{suggest}' property getter instead.")
86
+
87
+ def __getitem__(self, key: str) -> Any:
88
+ RegisteredDomainRegistrantChange.__key_warning(key)
89
+ return super().__getitem__(key)
90
+
91
+ def get(self, key: str, default = None) -> Any:
92
+ RegisteredDomainRegistrantChange.__key_warning(key)
93
+ return super().get(key, default)
94
+
95
+ def __init__(__self__, *,
96
+ account_id: Optional[int] = None,
97
+ contact_id: Optional[int] = None,
98
+ domain_id: Optional[str] = None,
99
+ extended_attributes: Optional[Mapping[str, str]] = None,
100
+ id: Optional[int] = None,
101
+ irt_lock_lifted_by: Optional[str] = None,
102
+ registry_owner_change: Optional[bool] = None,
103
+ state: Optional[str] = None):
104
+ """
105
+ :param int account_id: DNSimple Account ID to which the registrant change belongs to
106
+ :param 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/).
107
+ :param str domain_id: DNSimple domain ID for which the registrant change is being performed
108
+ :param Mapping[str, 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`.
109
+ :param int id: The ID of this resource.
110
+ :param str irt_lock_lifted_by: Date when the registrant change lock was lifted for the domain
111
+ :param bool registry_owner_change: True if the registrant change will result in a registry owner change
112
+ :param str state: The state of the domain.
113
+ """
114
+ if account_id is not None:
115
+ pulumi.set(__self__, "account_id", account_id)
116
+ if contact_id is not None:
117
+ pulumi.set(__self__, "contact_id", contact_id)
118
+ if domain_id is not None:
119
+ pulumi.set(__self__, "domain_id", domain_id)
120
+ if extended_attributes is not None:
121
+ pulumi.set(__self__, "extended_attributes", extended_attributes)
122
+ if id is not None:
123
+ pulumi.set(__self__, "id", id)
124
+ if irt_lock_lifted_by is not None:
125
+ pulumi.set(__self__, "irt_lock_lifted_by", irt_lock_lifted_by)
126
+ if registry_owner_change is not None:
127
+ pulumi.set(__self__, "registry_owner_change", registry_owner_change)
128
+ if state is not None:
129
+ pulumi.set(__self__, "state", state)
130
+
131
+ @property
132
+ @pulumi.getter(name="accountId")
133
+ def account_id(self) -> Optional[int]:
134
+ """
135
+ DNSimple Account ID to which the registrant change belongs to
136
+ """
137
+ return pulumi.get(self, "account_id")
138
+
139
+ @property
140
+ @pulumi.getter(name="contactId")
141
+ def contact_id(self) -> Optional[int]:
142
+ """
143
+ 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/).
144
+ """
145
+ return pulumi.get(self, "contact_id")
146
+
147
+ @property
148
+ @pulumi.getter(name="domainId")
149
+ def domain_id(self) -> Optional[str]:
150
+ """
151
+ DNSimple domain ID for which the registrant change is being performed
152
+ """
153
+ return pulumi.get(self, "domain_id")
154
+
155
+ @property
156
+ @pulumi.getter(name="extendedAttributes")
157
+ def extended_attributes(self) -> Optional[Mapping[str, str]]:
158
+ """
159
+ 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`.
160
+ """
161
+ return pulumi.get(self, "extended_attributes")
162
+
163
+ @property
164
+ @pulumi.getter
165
+ def id(self) -> Optional[int]:
166
+ """
167
+ The ID of this resource.
168
+ """
169
+ return pulumi.get(self, "id")
170
+
171
+ @property
172
+ @pulumi.getter(name="irtLockLiftedBy")
173
+ def irt_lock_lifted_by(self) -> Optional[str]:
174
+ """
175
+ Date when the registrant change lock was lifted for the domain
176
+ """
177
+ return pulumi.get(self, "irt_lock_lifted_by")
178
+
179
+ @property
180
+ @pulumi.getter(name="registryOwnerChange")
181
+ def registry_owner_change(self) -> Optional[bool]:
182
+ """
183
+ True if the registrant change will result in a registry owner change
184
+ """
185
+ return pulumi.get(self, "registry_owner_change")
186
+
187
+ @property
188
+ @pulumi.getter
189
+ def state(self) -> Optional[str]:
190
+ """
191
+ The state of the domain.
192
+ """
193
+ return pulumi.get(self, "state")
194
+
195
+
196
+ @pulumi.output_type
197
+ class RegisteredDomainTimeouts(dict):
198
+ def __init__(__self__, *,
199
+ create: Optional[str] = None,
200
+ delete: Optional[str] = None,
201
+ update: Optional[str] = None):
202
+ """
203
+ :param str create: Create timeout.
204
+ :param str delete: Delete timeout (currently unused).
205
+ :param str update: Update timeout.
206
+ """
207
+ if create is not None:
208
+ pulumi.set(__self__, "create", create)
209
+ if delete is not None:
210
+ pulumi.set(__self__, "delete", delete)
211
+ if update is not None:
212
+ pulumi.set(__self__, "update", update)
213
+
214
+ @property
215
+ @pulumi.getter
216
+ def create(self) -> Optional[str]:
217
+ """
218
+ Create timeout.
219
+ """
220
+ return pulumi.get(self, "create")
221
+
222
+ @property
223
+ @pulumi.getter
224
+ def delete(self) -> Optional[str]:
225
+ """
226
+ Delete timeout (currently unused).
227
+ """
228
+ return pulumi.get(self, "delete")
229
+
230
+ @property
231
+ @pulumi.getter
232
+ def update(self) -> Optional[str]:
233
+ """
234
+ Update timeout.
235
+ """
236
+ return pulumi.get(self, "update")
237
+
238
+
239
+ @pulumi.output_type
240
+ class GetCertificateTimeoutsResult(dict):
241
+ def __init__(__self__, *,
242
+ read: Optional[str] = None):
243
+ """
244
+ :param str read: (String) - The timeout for the read operation e.g. `5m`
245
+ """
246
+ if read is not None:
247
+ pulumi.set(__self__, "read", read)
248
+
249
+ @property
250
+ @pulumi.getter
251
+ def read(self) -> Optional[str]:
252
+ """
253
+ (String) - The timeout for the read operation e.g. `5m`
254
+ """
255
+ return pulumi.get(self, "read")
256
+
257
+
258
+ @pulumi.output_type
259
+ class GetRegistrantChangeCheckExtendedAttributeResult(dict):
260
+ def __init__(__self__, *,
261
+ description: str,
262
+ name: str,
263
+ options: Sequence['outputs.GetRegistrantChangeCheckExtendedAttributeOptionResult'],
264
+ required: bool):
265
+ pulumi.set(__self__, "description", description)
266
+ pulumi.set(__self__, "name", name)
267
+ pulumi.set(__self__, "options", options)
268
+ pulumi.set(__self__, "required", required)
269
+
270
+ @property
271
+ @pulumi.getter
272
+ def description(self) -> str:
273
+ return pulumi.get(self, "description")
274
+
275
+ @property
276
+ @pulumi.getter
277
+ def name(self) -> str:
278
+ return pulumi.get(self, "name")
279
+
280
+ @property
281
+ @pulumi.getter
282
+ def options(self) -> Sequence['outputs.GetRegistrantChangeCheckExtendedAttributeOptionResult']:
283
+ return pulumi.get(self, "options")
284
+
285
+ @property
286
+ @pulumi.getter
287
+ def required(self) -> bool:
288
+ return pulumi.get(self, "required")
289
+
290
+
291
+ @pulumi.output_type
292
+ class GetRegistrantChangeCheckExtendedAttributeOptionResult(dict):
293
+ def __init__(__self__, *,
294
+ description: str,
295
+ title: str,
296
+ value: str):
297
+ pulumi.set(__self__, "description", description)
298
+ pulumi.set(__self__, "title", title)
299
+ pulumi.set(__self__, "value", value)
300
+
301
+ @property
302
+ @pulumi.getter
303
+ def description(self) -> str:
304
+ return pulumi.get(self, "description")
305
+
306
+ @property
307
+ @pulumi.getter
308
+ def title(self) -> str:
309
+ return pulumi.get(self, "title")
310
+
311
+ @property
312
+ @pulumi.getter
313
+ def value(self) -> str:
314
+ return pulumi.get(self, "value")
315
+
316
+
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "resource": true,
3
3
  "name": "dnsimple",
4
- "version": "3.5.0-alpha.1721425071"
4
+ "version": "4.0.0-alpha.1721432730"
5
5
  }