pulumi-dnsimple 4.5.0a1753335828__py3-none-any.whl → 4.5.0a1753508504__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 -1
- pulumi_dnsimple/_enums.py +2 -2
- pulumi_dnsimple/_inputs.py +92 -93
- pulumi_dnsimple/config/__init__.py +1 -1
- pulumi_dnsimple/config/__init__.pyi +1 -2
- pulumi_dnsimple/config/vars.py +6 -7
- pulumi_dnsimple/contact.py +284 -285
- pulumi_dnsimple/domain.py +72 -73
- pulumi_dnsimple/domain_delegation.py +35 -36
- pulumi_dnsimple/ds_record.py +121 -122
- pulumi_dnsimple/email_forward.py +61 -62
- pulumi_dnsimple/get_certificate.py +24 -25
- pulumi_dnsimple/get_registrant_change_check.py +14 -15
- pulumi_dnsimple/get_zone.py +11 -12
- pulumi_dnsimple/lets_encrypt_certificate.py +149 -150
- pulumi_dnsimple/outputs.py +81 -82
- pulumi_dnsimple/provider.py +48 -49
- pulumi_dnsimple/pulumi-plugin.json +1 -1
- pulumi_dnsimple/registered_domain.py +176 -177
- pulumi_dnsimple/zone.py +71 -72
- pulumi_dnsimple/zone_record.py +154 -155
- {pulumi_dnsimple-4.5.0a1753335828.dist-info → pulumi_dnsimple-4.5.0a1753508504.dist-info}/METADATA +1 -1
- pulumi_dnsimple-4.5.0a1753508504.dist-info/RECORD +27 -0
- pulumi_dnsimple-4.5.0a1753335828.dist-info/RECORD +0 -27
- {pulumi_dnsimple-4.5.0a1753335828.dist-info → pulumi_dnsimple-4.5.0a1753508504.dist-info}/WHEEL +0 -0
- {pulumi_dnsimple-4.5.0a1753335828.dist-info → pulumi_dnsimple-4.5.0a1753508504.dist-info}/top_level.txt +0 -0
pulumi_dnsimple/outputs.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -29,13 +28,13 @@ __all__ = [
|
|
|
29
28
|
@pulumi.output_type
|
|
30
29
|
class RegisteredDomainDomainRegistration(dict):
|
|
31
30
|
def __init__(__self__, *,
|
|
32
|
-
id: Optional[
|
|
33
|
-
period: Optional[
|
|
34
|
-
state: Optional[
|
|
31
|
+
id: Optional[_builtins.int] = None,
|
|
32
|
+
period: Optional[_builtins.int] = None,
|
|
33
|
+
state: Optional[_builtins.str] = None):
|
|
35
34
|
"""
|
|
36
|
-
:param
|
|
37
|
-
:param
|
|
38
|
-
:param
|
|
35
|
+
:param _builtins.int id: The ID of this resource.
|
|
36
|
+
:param _builtins.int period: The registration period in years.
|
|
37
|
+
:param _builtins.str state: The state of the domain.
|
|
39
38
|
"""
|
|
40
39
|
if id is not None:
|
|
41
40
|
pulumi.set(__self__, "id", id)
|
|
@@ -44,25 +43,25 @@ class RegisteredDomainDomainRegistration(dict):
|
|
|
44
43
|
if state is not None:
|
|
45
44
|
pulumi.set(__self__, "state", state)
|
|
46
45
|
|
|
47
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
48
47
|
@pulumi.getter
|
|
49
|
-
def id(self) -> Optional[
|
|
48
|
+
def id(self) -> Optional[_builtins.int]:
|
|
50
49
|
"""
|
|
51
50
|
The ID of this resource.
|
|
52
51
|
"""
|
|
53
52
|
return pulumi.get(self, "id")
|
|
54
53
|
|
|
55
|
-
@property
|
|
54
|
+
@_builtins.property
|
|
56
55
|
@pulumi.getter
|
|
57
|
-
def period(self) -> Optional[
|
|
56
|
+
def period(self) -> Optional[_builtins.int]:
|
|
58
57
|
"""
|
|
59
58
|
The registration period in years.
|
|
60
59
|
"""
|
|
61
60
|
return pulumi.get(self, "period")
|
|
62
61
|
|
|
63
|
-
@property
|
|
62
|
+
@_builtins.property
|
|
64
63
|
@pulumi.getter
|
|
65
|
-
def state(self) -> Optional[
|
|
64
|
+
def state(self) -> Optional[_builtins.str]:
|
|
66
65
|
"""
|
|
67
66
|
The state of the domain.
|
|
68
67
|
"""
|
|
@@ -99,23 +98,23 @@ class RegisteredDomainRegistrantChange(dict):
|
|
|
99
98
|
return super().get(key, default)
|
|
100
99
|
|
|
101
100
|
def __init__(__self__, *,
|
|
102
|
-
account_id: Optional[
|
|
103
|
-
contact_id: Optional[
|
|
104
|
-
domain_id: Optional[
|
|
105
|
-
extended_attributes: Optional[Mapping[str,
|
|
106
|
-
id: Optional[
|
|
107
|
-
irt_lock_lifted_by: Optional[
|
|
108
|
-
registry_owner_change: Optional[
|
|
109
|
-
state: Optional[
|
|
110
|
-
"""
|
|
111
|
-
:param
|
|
112
|
-
:param
|
|
113
|
-
:param
|
|
114
|
-
:param Mapping[str,
|
|
115
|
-
:param
|
|
116
|
-
:param
|
|
117
|
-
:param
|
|
118
|
-
:param
|
|
101
|
+
account_id: Optional[_builtins.int] = None,
|
|
102
|
+
contact_id: Optional[_builtins.int] = None,
|
|
103
|
+
domain_id: Optional[_builtins.str] = None,
|
|
104
|
+
extended_attributes: Optional[Mapping[str, _builtins.str]] = None,
|
|
105
|
+
id: Optional[_builtins.int] = None,
|
|
106
|
+
irt_lock_lifted_by: Optional[_builtins.str] = None,
|
|
107
|
+
registry_owner_change: Optional[_builtins.bool] = None,
|
|
108
|
+
state: Optional[_builtins.str] = None):
|
|
109
|
+
"""
|
|
110
|
+
:param _builtins.int account_id: DNSimple Account ID to which the registrant change belongs to
|
|
111
|
+
:param _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/).
|
|
112
|
+
:param _builtins.str domain_id: DNSimple domain ID for which the registrant change is being performed
|
|
113
|
+
:param Mapping[str, _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`.
|
|
114
|
+
:param _builtins.int id: The ID of this resource.
|
|
115
|
+
:param _builtins.str irt_lock_lifted_by: Date when the registrant change lock was lifted for the domain
|
|
116
|
+
:param _builtins.bool registry_owner_change: True if the registrant change will result in a registry owner change
|
|
117
|
+
:param _builtins.str state: The state of the domain.
|
|
119
118
|
"""
|
|
120
119
|
if account_id is not None:
|
|
121
120
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -134,65 +133,65 @@ class RegisteredDomainRegistrantChange(dict):
|
|
|
134
133
|
if state is not None:
|
|
135
134
|
pulumi.set(__self__, "state", state)
|
|
136
135
|
|
|
137
|
-
@property
|
|
136
|
+
@_builtins.property
|
|
138
137
|
@pulumi.getter(name="accountId")
|
|
139
|
-
def account_id(self) -> Optional[
|
|
138
|
+
def account_id(self) -> Optional[_builtins.int]:
|
|
140
139
|
"""
|
|
141
140
|
DNSimple Account ID to which the registrant change belongs to
|
|
142
141
|
"""
|
|
143
142
|
return pulumi.get(self, "account_id")
|
|
144
143
|
|
|
145
|
-
@property
|
|
144
|
+
@_builtins.property
|
|
146
145
|
@pulumi.getter(name="contactId")
|
|
147
|
-
def contact_id(self) -> Optional[
|
|
146
|
+
def contact_id(self) -> Optional[_builtins.int]:
|
|
148
147
|
"""
|
|
149
148
|
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/).
|
|
150
149
|
"""
|
|
151
150
|
return pulumi.get(self, "contact_id")
|
|
152
151
|
|
|
153
|
-
@property
|
|
152
|
+
@_builtins.property
|
|
154
153
|
@pulumi.getter(name="domainId")
|
|
155
|
-
def domain_id(self) -> Optional[
|
|
154
|
+
def domain_id(self) -> Optional[_builtins.str]:
|
|
156
155
|
"""
|
|
157
156
|
DNSimple domain ID for which the registrant change is being performed
|
|
158
157
|
"""
|
|
159
158
|
return pulumi.get(self, "domain_id")
|
|
160
159
|
|
|
161
|
-
@property
|
|
160
|
+
@_builtins.property
|
|
162
161
|
@pulumi.getter(name="extendedAttributes")
|
|
163
|
-
def extended_attributes(self) -> Optional[Mapping[str,
|
|
162
|
+
def extended_attributes(self) -> Optional[Mapping[str, _builtins.str]]:
|
|
164
163
|
"""
|
|
165
164
|
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`.
|
|
166
165
|
"""
|
|
167
166
|
return pulumi.get(self, "extended_attributes")
|
|
168
167
|
|
|
169
|
-
@property
|
|
168
|
+
@_builtins.property
|
|
170
169
|
@pulumi.getter
|
|
171
|
-
def id(self) -> Optional[
|
|
170
|
+
def id(self) -> Optional[_builtins.int]:
|
|
172
171
|
"""
|
|
173
172
|
The ID of this resource.
|
|
174
173
|
"""
|
|
175
174
|
return pulumi.get(self, "id")
|
|
176
175
|
|
|
177
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
178
177
|
@pulumi.getter(name="irtLockLiftedBy")
|
|
179
|
-
def irt_lock_lifted_by(self) -> Optional[
|
|
178
|
+
def irt_lock_lifted_by(self) -> Optional[_builtins.str]:
|
|
180
179
|
"""
|
|
181
180
|
Date when the registrant change lock was lifted for the domain
|
|
182
181
|
"""
|
|
183
182
|
return pulumi.get(self, "irt_lock_lifted_by")
|
|
184
183
|
|
|
185
|
-
@property
|
|
184
|
+
@_builtins.property
|
|
186
185
|
@pulumi.getter(name="registryOwnerChange")
|
|
187
|
-
def registry_owner_change(self) -> Optional[
|
|
186
|
+
def registry_owner_change(self) -> Optional[_builtins.bool]:
|
|
188
187
|
"""
|
|
189
188
|
True if the registrant change will result in a registry owner change
|
|
190
189
|
"""
|
|
191
190
|
return pulumi.get(self, "registry_owner_change")
|
|
192
191
|
|
|
193
|
-
@property
|
|
192
|
+
@_builtins.property
|
|
194
193
|
@pulumi.getter
|
|
195
|
-
def state(self) -> Optional[
|
|
194
|
+
def state(self) -> Optional[_builtins.str]:
|
|
196
195
|
"""
|
|
197
196
|
The state of the domain.
|
|
198
197
|
"""
|
|
@@ -202,13 +201,13 @@ class RegisteredDomainRegistrantChange(dict):
|
|
|
202
201
|
@pulumi.output_type
|
|
203
202
|
class RegisteredDomainTimeouts(dict):
|
|
204
203
|
def __init__(__self__, *,
|
|
205
|
-
create: Optional[
|
|
206
|
-
delete: Optional[
|
|
207
|
-
update: Optional[
|
|
204
|
+
create: Optional[_builtins.str] = None,
|
|
205
|
+
delete: Optional[_builtins.str] = None,
|
|
206
|
+
update: Optional[_builtins.str] = None):
|
|
208
207
|
"""
|
|
209
|
-
:param
|
|
210
|
-
:param
|
|
211
|
-
:param
|
|
208
|
+
:param _builtins.str create: Create timeout.
|
|
209
|
+
:param _builtins.str delete: Delete timeout (currently unused).
|
|
210
|
+
:param _builtins.str update: Update timeout.
|
|
212
211
|
"""
|
|
213
212
|
if create is not None:
|
|
214
213
|
pulumi.set(__self__, "create", create)
|
|
@@ -217,25 +216,25 @@ class RegisteredDomainTimeouts(dict):
|
|
|
217
216
|
if update is not None:
|
|
218
217
|
pulumi.set(__self__, "update", update)
|
|
219
218
|
|
|
220
|
-
@property
|
|
219
|
+
@_builtins.property
|
|
221
220
|
@pulumi.getter
|
|
222
|
-
def create(self) -> Optional[
|
|
221
|
+
def create(self) -> Optional[_builtins.str]:
|
|
223
222
|
"""
|
|
224
223
|
Create timeout.
|
|
225
224
|
"""
|
|
226
225
|
return pulumi.get(self, "create")
|
|
227
226
|
|
|
228
|
-
@property
|
|
227
|
+
@_builtins.property
|
|
229
228
|
@pulumi.getter
|
|
230
|
-
def delete(self) -> Optional[
|
|
229
|
+
def delete(self) -> Optional[_builtins.str]:
|
|
231
230
|
"""
|
|
232
231
|
Delete timeout (currently unused).
|
|
233
232
|
"""
|
|
234
233
|
return pulumi.get(self, "delete")
|
|
235
234
|
|
|
236
|
-
@property
|
|
235
|
+
@_builtins.property
|
|
237
236
|
@pulumi.getter
|
|
238
|
-
def update(self) -> Optional[
|
|
237
|
+
def update(self) -> Optional[_builtins.str]:
|
|
239
238
|
"""
|
|
240
239
|
Update timeout.
|
|
241
240
|
"""
|
|
@@ -245,16 +244,16 @@ class RegisteredDomainTimeouts(dict):
|
|
|
245
244
|
@pulumi.output_type
|
|
246
245
|
class GetCertificateTimeoutsResult(dict):
|
|
247
246
|
def __init__(__self__, *,
|
|
248
|
-
read: Optional[
|
|
247
|
+
read: Optional[_builtins.str] = None):
|
|
249
248
|
"""
|
|
250
|
-
:param
|
|
249
|
+
:param _builtins.str read: (String) - The timeout for the read operation e.g. `5m`
|
|
251
250
|
"""
|
|
252
251
|
if read is not None:
|
|
253
252
|
pulumi.set(__self__, "read", read)
|
|
254
253
|
|
|
255
|
-
@property
|
|
254
|
+
@_builtins.property
|
|
256
255
|
@pulumi.getter
|
|
257
|
-
def read(self) -> Optional[
|
|
256
|
+
def read(self) -> Optional[_builtins.str]:
|
|
258
257
|
"""
|
|
259
258
|
(String) - The timeout for the read operation e.g. `5m`
|
|
260
259
|
"""
|
|
@@ -264,59 +263,59 @@ class GetCertificateTimeoutsResult(dict):
|
|
|
264
263
|
@pulumi.output_type
|
|
265
264
|
class GetRegistrantChangeCheckExtendedAttributeResult(dict):
|
|
266
265
|
def __init__(__self__, *,
|
|
267
|
-
description:
|
|
268
|
-
name:
|
|
266
|
+
description: _builtins.str,
|
|
267
|
+
name: _builtins.str,
|
|
269
268
|
options: Sequence['outputs.GetRegistrantChangeCheckExtendedAttributeOptionResult'],
|
|
270
|
-
required:
|
|
269
|
+
required: _builtins.bool):
|
|
271
270
|
pulumi.set(__self__, "description", description)
|
|
272
271
|
pulumi.set(__self__, "name", name)
|
|
273
272
|
pulumi.set(__self__, "options", options)
|
|
274
273
|
pulumi.set(__self__, "required", required)
|
|
275
274
|
|
|
276
|
-
@property
|
|
275
|
+
@_builtins.property
|
|
277
276
|
@pulumi.getter
|
|
278
|
-
def description(self) ->
|
|
277
|
+
def description(self) -> _builtins.str:
|
|
279
278
|
return pulumi.get(self, "description")
|
|
280
279
|
|
|
281
|
-
@property
|
|
280
|
+
@_builtins.property
|
|
282
281
|
@pulumi.getter
|
|
283
|
-
def name(self) ->
|
|
282
|
+
def name(self) -> _builtins.str:
|
|
284
283
|
return pulumi.get(self, "name")
|
|
285
284
|
|
|
286
|
-
@property
|
|
285
|
+
@_builtins.property
|
|
287
286
|
@pulumi.getter
|
|
288
287
|
def options(self) -> Sequence['outputs.GetRegistrantChangeCheckExtendedAttributeOptionResult']:
|
|
289
288
|
return pulumi.get(self, "options")
|
|
290
289
|
|
|
291
|
-
@property
|
|
290
|
+
@_builtins.property
|
|
292
291
|
@pulumi.getter
|
|
293
|
-
def required(self) ->
|
|
292
|
+
def required(self) -> _builtins.bool:
|
|
294
293
|
return pulumi.get(self, "required")
|
|
295
294
|
|
|
296
295
|
|
|
297
296
|
@pulumi.output_type
|
|
298
297
|
class GetRegistrantChangeCheckExtendedAttributeOptionResult(dict):
|
|
299
298
|
def __init__(__self__, *,
|
|
300
|
-
description:
|
|
301
|
-
title:
|
|
302
|
-
value:
|
|
299
|
+
description: _builtins.str,
|
|
300
|
+
title: _builtins.str,
|
|
301
|
+
value: _builtins.str):
|
|
303
302
|
pulumi.set(__self__, "description", description)
|
|
304
303
|
pulumi.set(__self__, "title", title)
|
|
305
304
|
pulumi.set(__self__, "value", value)
|
|
306
305
|
|
|
307
|
-
@property
|
|
306
|
+
@_builtins.property
|
|
308
307
|
@pulumi.getter
|
|
309
|
-
def description(self) ->
|
|
308
|
+
def description(self) -> _builtins.str:
|
|
310
309
|
return pulumi.get(self, "description")
|
|
311
310
|
|
|
312
|
-
@property
|
|
311
|
+
@_builtins.property
|
|
313
312
|
@pulumi.getter
|
|
314
|
-
def title(self) ->
|
|
313
|
+
def title(self) -> _builtins.str:
|
|
315
314
|
return pulumi.get(self, "title")
|
|
316
315
|
|
|
317
|
-
@property
|
|
316
|
+
@_builtins.property
|
|
318
317
|
@pulumi.getter
|
|
319
|
-
def value(self) ->
|
|
318
|
+
def value(self) -> _builtins.str:
|
|
320
319
|
return pulumi.get(self, "value")
|
|
321
320
|
|
|
322
321
|
|
pulumi_dnsimple/provider.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,18 +19,18 @@ __all__ = ['ProviderArgs', 'Provider']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class ProviderArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
account: Optional[pulumi.Input[
|
|
24
|
-
prefetch: Optional[pulumi.Input[
|
|
25
|
-
sandbox: Optional[pulumi.Input[
|
|
26
|
-
token: Optional[pulumi.Input[
|
|
27
|
-
user_agent: Optional[pulumi.Input[
|
|
22
|
+
account: Optional[pulumi.Input[_builtins.str]] = None,
|
|
23
|
+
prefetch: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
24
|
+
sandbox: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
25
|
+
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
+
user_agent: Optional[pulumi.Input[_builtins.str]] = None):
|
|
28
27
|
"""
|
|
29
28
|
The set of arguments for constructing a Provider resource.
|
|
30
|
-
:param pulumi.Input[
|
|
31
|
-
:param pulumi.Input[
|
|
32
|
-
:param pulumi.Input[
|
|
33
|
-
:param pulumi.Input[
|
|
34
|
-
:param pulumi.Input[
|
|
29
|
+
:param pulumi.Input[_builtins.str] account: The account for API operations.
|
|
30
|
+
:param pulumi.Input[_builtins.bool] prefetch: Flag to enable the prefetch of zone records.
|
|
31
|
+
:param pulumi.Input[_builtins.bool] sandbox: Flag to enable the sandbox API.
|
|
32
|
+
:param pulumi.Input[_builtins.str] token: The API v2 token for API operations.
|
|
33
|
+
:param pulumi.Input[_builtins.str] user_agent: Custom string to append to the user agent used for sending HTTP requests to the API.
|
|
35
34
|
"""
|
|
36
35
|
if account is not None:
|
|
37
36
|
pulumi.set(__self__, "account", account)
|
|
@@ -44,64 +43,64 @@ class ProviderArgs:
|
|
|
44
43
|
if user_agent is not None:
|
|
45
44
|
pulumi.set(__self__, "user_agent", user_agent)
|
|
46
45
|
|
|
47
|
-
@property
|
|
46
|
+
@_builtins.property
|
|
48
47
|
@pulumi.getter
|
|
49
|
-
def account(self) -> Optional[pulumi.Input[
|
|
48
|
+
def account(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
50
49
|
"""
|
|
51
50
|
The account for API operations.
|
|
52
51
|
"""
|
|
53
52
|
return pulumi.get(self, "account")
|
|
54
53
|
|
|
55
54
|
@account.setter
|
|
56
|
-
def account(self, value: Optional[pulumi.Input[
|
|
55
|
+
def account(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
57
56
|
pulumi.set(self, "account", value)
|
|
58
57
|
|
|
59
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
60
59
|
@pulumi.getter
|
|
61
|
-
def prefetch(self) -> Optional[pulumi.Input[
|
|
60
|
+
def prefetch(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
62
61
|
"""
|
|
63
62
|
Flag to enable the prefetch of zone records.
|
|
64
63
|
"""
|
|
65
64
|
return pulumi.get(self, "prefetch")
|
|
66
65
|
|
|
67
66
|
@prefetch.setter
|
|
68
|
-
def prefetch(self, value: Optional[pulumi.Input[
|
|
67
|
+
def prefetch(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
69
68
|
pulumi.set(self, "prefetch", value)
|
|
70
69
|
|
|
71
|
-
@property
|
|
70
|
+
@_builtins.property
|
|
72
71
|
@pulumi.getter
|
|
73
|
-
def sandbox(self) -> Optional[pulumi.Input[
|
|
72
|
+
def sandbox(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
74
73
|
"""
|
|
75
74
|
Flag to enable the sandbox API.
|
|
76
75
|
"""
|
|
77
76
|
return pulumi.get(self, "sandbox")
|
|
78
77
|
|
|
79
78
|
@sandbox.setter
|
|
80
|
-
def sandbox(self, value: Optional[pulumi.Input[
|
|
79
|
+
def sandbox(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
81
80
|
pulumi.set(self, "sandbox", value)
|
|
82
81
|
|
|
83
|
-
@property
|
|
82
|
+
@_builtins.property
|
|
84
83
|
@pulumi.getter
|
|
85
|
-
def token(self) -> Optional[pulumi.Input[
|
|
84
|
+
def token(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
86
85
|
"""
|
|
87
86
|
The API v2 token for API operations.
|
|
88
87
|
"""
|
|
89
88
|
return pulumi.get(self, "token")
|
|
90
89
|
|
|
91
90
|
@token.setter
|
|
92
|
-
def token(self, value: Optional[pulumi.Input[
|
|
91
|
+
def token(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
93
92
|
pulumi.set(self, "token", value)
|
|
94
93
|
|
|
95
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
96
95
|
@pulumi.getter(name="userAgent")
|
|
97
|
-
def user_agent(self) -> Optional[pulumi.Input[
|
|
96
|
+
def user_agent(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
98
97
|
"""
|
|
99
98
|
Custom string to append to the user agent used for sending HTTP requests to the API.
|
|
100
99
|
"""
|
|
101
100
|
return pulumi.get(self, "user_agent")
|
|
102
101
|
|
|
103
102
|
@user_agent.setter
|
|
104
|
-
def user_agent(self, value: Optional[pulumi.Input[
|
|
103
|
+
def user_agent(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
105
104
|
pulumi.set(self, "user_agent", value)
|
|
106
105
|
|
|
107
106
|
|
|
@@ -111,11 +110,11 @@ class Provider(pulumi.ProviderResource):
|
|
|
111
110
|
def __init__(__self__,
|
|
112
111
|
resource_name: str,
|
|
113
112
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
114
|
-
account: Optional[pulumi.Input[
|
|
115
|
-
prefetch: Optional[pulumi.Input[
|
|
116
|
-
sandbox: Optional[pulumi.Input[
|
|
117
|
-
token: Optional[pulumi.Input[
|
|
118
|
-
user_agent: Optional[pulumi.Input[
|
|
113
|
+
account: Optional[pulumi.Input[_builtins.str]] = None,
|
|
114
|
+
prefetch: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
115
|
+
sandbox: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
116
|
+
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
117
|
+
user_agent: Optional[pulumi.Input[_builtins.str]] = None,
|
|
119
118
|
__props__=None):
|
|
120
119
|
"""
|
|
121
120
|
The provider type for the dnsimple package. By default, resources use package-wide configuration
|
|
@@ -125,11 +124,11 @@ class Provider(pulumi.ProviderResource):
|
|
|
125
124
|
|
|
126
125
|
:param str resource_name: The name of the resource.
|
|
127
126
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
128
|
-
:param pulumi.Input[
|
|
129
|
-
:param pulumi.Input[
|
|
130
|
-
:param pulumi.Input[
|
|
131
|
-
:param pulumi.Input[
|
|
132
|
-
:param pulumi.Input[
|
|
127
|
+
:param pulumi.Input[_builtins.str] account: The account for API operations.
|
|
128
|
+
:param pulumi.Input[_builtins.bool] prefetch: Flag to enable the prefetch of zone records.
|
|
129
|
+
:param pulumi.Input[_builtins.bool] sandbox: Flag to enable the sandbox API.
|
|
130
|
+
:param pulumi.Input[_builtins.str] token: The API v2 token for API operations.
|
|
131
|
+
:param pulumi.Input[_builtins.str] user_agent: Custom string to append to the user agent used for sending HTTP requests to the API.
|
|
133
132
|
"""
|
|
134
133
|
...
|
|
135
134
|
@overload
|
|
@@ -158,11 +157,11 @@ class Provider(pulumi.ProviderResource):
|
|
|
158
157
|
def _internal_init(__self__,
|
|
159
158
|
resource_name: str,
|
|
160
159
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
161
|
-
account: Optional[pulumi.Input[
|
|
162
|
-
prefetch: Optional[pulumi.Input[
|
|
163
|
-
sandbox: Optional[pulumi.Input[
|
|
164
|
-
token: Optional[pulumi.Input[
|
|
165
|
-
user_agent: Optional[pulumi.Input[
|
|
160
|
+
account: Optional[pulumi.Input[_builtins.str]] = None,
|
|
161
|
+
prefetch: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
162
|
+
sandbox: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
163
|
+
token: Optional[pulumi.Input[_builtins.str]] = None,
|
|
164
|
+
user_agent: Optional[pulumi.Input[_builtins.str]] = None,
|
|
166
165
|
__props__=None):
|
|
167
166
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
168
167
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -185,25 +184,25 @@ class Provider(pulumi.ProviderResource):
|
|
|
185
184
|
__props__,
|
|
186
185
|
opts)
|
|
187
186
|
|
|
188
|
-
@property
|
|
187
|
+
@_builtins.property
|
|
189
188
|
@pulumi.getter
|
|
190
|
-
def account(self) -> pulumi.Output[Optional[
|
|
189
|
+
def account(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
191
190
|
"""
|
|
192
191
|
The account for API operations.
|
|
193
192
|
"""
|
|
194
193
|
return pulumi.get(self, "account")
|
|
195
194
|
|
|
196
|
-
@property
|
|
195
|
+
@_builtins.property
|
|
197
196
|
@pulumi.getter
|
|
198
|
-
def token(self) -> pulumi.Output[Optional[
|
|
197
|
+
def token(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
199
198
|
"""
|
|
200
199
|
The API v2 token for API operations.
|
|
201
200
|
"""
|
|
202
201
|
return pulumi.get(self, "token")
|
|
203
202
|
|
|
204
|
-
@property
|
|
203
|
+
@_builtins.property
|
|
205
204
|
@pulumi.getter(name="userAgent")
|
|
206
|
-
def user_agent(self) -> pulumi.Output[Optional[
|
|
205
|
+
def user_agent(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
207
206
|
"""
|
|
208
207
|
Custom string to append to the user agent used for sending HTTP requests to the API.
|
|
209
208
|
"""
|
|
@@ -216,7 +215,7 @@ class Provider(pulumi.ProviderResource):
|
|
|
216
215
|
raise TypeError("Expected argument 'result' to be a dict")
|
|
217
216
|
pulumi.set(__self__, "result", result)
|
|
218
217
|
|
|
219
|
-
@property
|
|
218
|
+
@_builtins.property
|
|
220
219
|
@pulumi.getter
|
|
221
220
|
def result(self) -> Mapping[str, Any]:
|
|
222
221
|
return pulumi.get(self, "result")
|