pulumi-dnsimple 4.4.0a1752032459__py3-none-any.whl → 4.4.1a1757701053__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.4.0a1752032459.dist-info → pulumi_dnsimple-4.4.1a1757701053.dist-info}/METADATA +1 -1
- pulumi_dnsimple-4.4.1a1757701053.dist-info/RECORD +27 -0
- pulumi_dnsimple-4.4.0a1752032459.dist-info/RECORD +0 -27
- {pulumi_dnsimple-4.4.0a1752032459.dist-info → pulumi_dnsimple-4.4.1a1757701053.dist-info}/WHEEL +0 -0
- {pulumi_dnsimple-4.4.0a1752032459.dist-info → pulumi_dnsimple-4.4.1a1757701053.dist-info}/top_level.txt +0 -0
|
@@ -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
|
|
@@ -22,28 +21,28 @@ __all__ = ['RegisteredDomainArgs', 'RegisteredDomain']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class RegisteredDomainArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
contact_id: pulumi.Input[
|
|
26
|
-
name: pulumi.Input[
|
|
27
|
-
auto_renew_enabled: Optional[pulumi.Input[
|
|
28
|
-
dnssec_enabled: Optional[pulumi.Input[
|
|
29
|
-
extended_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
30
|
-
premium_price: Optional[pulumi.Input[
|
|
24
|
+
contact_id: pulumi.Input[_builtins.int],
|
|
25
|
+
name: pulumi.Input[_builtins.str],
|
|
26
|
+
auto_renew_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
27
|
+
dnssec_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
28
|
+
extended_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
29
|
+
premium_price: Optional[pulumi.Input[_builtins.str]] = None,
|
|
31
30
|
timeouts: Optional[pulumi.Input['RegisteredDomainTimeoutsArgs']] = None,
|
|
32
|
-
transfer_lock_enabled: Optional[pulumi.Input[
|
|
33
|
-
whois_privacy_enabled: Optional[pulumi.Input[
|
|
31
|
+
transfer_lock_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
32
|
+
whois_privacy_enabled: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
34
33
|
"""
|
|
35
34
|
The set of arguments for constructing a RegisteredDomain resource.
|
|
36
|
-
:param pulumi.Input[
|
|
37
|
-
:param pulumi.Input[
|
|
38
|
-
:param pulumi.Input[
|
|
39
|
-
:param pulumi.Input[
|
|
40
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
41
|
-
:param pulumi.Input[
|
|
35
|
+
: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/).
|
|
36
|
+
:param pulumi.Input[_builtins.str] name: The domain name to be registered
|
|
37
|
+
:param pulumi.Input[_builtins.bool] auto_renew_enabled: Whether the domain should be set to auto-renew (default: `false`)
|
|
38
|
+
:param pulumi.Input[_builtins.bool] dnssec_enabled: Whether the domain should have DNSSEC enabled (default: `false`)
|
|
39
|
+
: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`.
|
|
40
|
+
:param pulumi.Input[_builtins.str] premium_price: The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our [Check domain API](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium. And [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
|
|
42
41
|
:param pulumi.Input['RegisteredDomainTimeoutsArgs'] timeouts: (see below for nested schema)
|
|
43
42
|
|
|
44
43
|
# Attributes Reference
|
|
45
|
-
:param pulumi.Input[
|
|
46
|
-
:param pulumi.Input[
|
|
44
|
+
:param pulumi.Input[_builtins.bool] transfer_lock_enabled: Whether the domain transfer lock protection is enabled (default: `true`)
|
|
45
|
+
:param pulumi.Input[_builtins.bool] whois_privacy_enabled: Whether the domain should have WhoIs privacy enabled (default: `false`)
|
|
47
46
|
"""
|
|
48
47
|
pulumi.set(__self__, "contact_id", contact_id)
|
|
49
48
|
pulumi.set(__self__, "name", name)
|
|
@@ -62,79 +61,79 @@ class RegisteredDomainArgs:
|
|
|
62
61
|
if whois_privacy_enabled is not None:
|
|
63
62
|
pulumi.set(__self__, "whois_privacy_enabled", whois_privacy_enabled)
|
|
64
63
|
|
|
65
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
66
65
|
@pulumi.getter(name="contactId")
|
|
67
|
-
def contact_id(self) -> pulumi.Input[
|
|
66
|
+
def contact_id(self) -> pulumi.Input[_builtins.int]:
|
|
68
67
|
"""
|
|
69
68
|
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/).
|
|
70
69
|
"""
|
|
71
70
|
return pulumi.get(self, "contact_id")
|
|
72
71
|
|
|
73
72
|
@contact_id.setter
|
|
74
|
-
def contact_id(self, value: pulumi.Input[
|
|
73
|
+
def contact_id(self, value: pulumi.Input[_builtins.int]):
|
|
75
74
|
pulumi.set(self, "contact_id", value)
|
|
76
75
|
|
|
77
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
78
77
|
@pulumi.getter
|
|
79
|
-
def name(self) -> pulumi.Input[
|
|
78
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
80
79
|
"""
|
|
81
80
|
The domain name to be registered
|
|
82
81
|
"""
|
|
83
82
|
return pulumi.get(self, "name")
|
|
84
83
|
|
|
85
84
|
@name.setter
|
|
86
|
-
def name(self, value: pulumi.Input[
|
|
85
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
87
86
|
pulumi.set(self, "name", value)
|
|
88
87
|
|
|
89
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
90
89
|
@pulumi.getter(name="autoRenewEnabled")
|
|
91
|
-
def auto_renew_enabled(self) -> Optional[pulumi.Input[
|
|
90
|
+
def auto_renew_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
92
91
|
"""
|
|
93
92
|
Whether the domain should be set to auto-renew (default: `false`)
|
|
94
93
|
"""
|
|
95
94
|
return pulumi.get(self, "auto_renew_enabled")
|
|
96
95
|
|
|
97
96
|
@auto_renew_enabled.setter
|
|
98
|
-
def auto_renew_enabled(self, value: Optional[pulumi.Input[
|
|
97
|
+
def auto_renew_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
99
98
|
pulumi.set(self, "auto_renew_enabled", value)
|
|
100
99
|
|
|
101
|
-
@property
|
|
100
|
+
@_builtins.property
|
|
102
101
|
@pulumi.getter(name="dnssecEnabled")
|
|
103
|
-
def dnssec_enabled(self) -> Optional[pulumi.Input[
|
|
102
|
+
def dnssec_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
104
103
|
"""
|
|
105
104
|
Whether the domain should have DNSSEC enabled (default: `false`)
|
|
106
105
|
"""
|
|
107
106
|
return pulumi.get(self, "dnssec_enabled")
|
|
108
107
|
|
|
109
108
|
@dnssec_enabled.setter
|
|
110
|
-
def dnssec_enabled(self, value: Optional[pulumi.Input[
|
|
109
|
+
def dnssec_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
111
110
|
pulumi.set(self, "dnssec_enabled", value)
|
|
112
111
|
|
|
113
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
114
113
|
@pulumi.getter(name="extendedAttributes")
|
|
115
|
-
def extended_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
114
|
+
def extended_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
116
115
|
"""
|
|
117
116
|
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`.
|
|
118
117
|
"""
|
|
119
118
|
return pulumi.get(self, "extended_attributes")
|
|
120
119
|
|
|
121
120
|
@extended_attributes.setter
|
|
122
|
-
def extended_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
121
|
+
def extended_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
123
122
|
pulumi.set(self, "extended_attributes", value)
|
|
124
123
|
|
|
125
|
-
@property
|
|
124
|
+
@_builtins.property
|
|
126
125
|
@pulumi.getter(name="premiumPrice")
|
|
127
|
-
def premium_price(self) -> Optional[pulumi.Input[
|
|
126
|
+
def premium_price(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
128
127
|
"""
|
|
129
128
|
The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our [Check domain API](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium. And [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
|
|
130
129
|
"""
|
|
131
130
|
return pulumi.get(self, "premium_price")
|
|
132
131
|
|
|
133
132
|
@premium_price.setter
|
|
134
|
-
def premium_price(self, value: Optional[pulumi.Input[
|
|
133
|
+
def premium_price(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
135
134
|
pulumi.set(self, "premium_price", value)
|
|
136
135
|
|
|
137
|
-
@property
|
|
136
|
+
@_builtins.property
|
|
138
137
|
@pulumi.getter
|
|
139
138
|
def timeouts(self) -> Optional[pulumi.Input['RegisteredDomainTimeoutsArgs']]:
|
|
140
139
|
"""
|
|
@@ -148,68 +147,68 @@ class RegisteredDomainArgs:
|
|
|
148
147
|
def timeouts(self, value: Optional[pulumi.Input['RegisteredDomainTimeoutsArgs']]):
|
|
149
148
|
pulumi.set(self, "timeouts", value)
|
|
150
149
|
|
|
151
|
-
@property
|
|
150
|
+
@_builtins.property
|
|
152
151
|
@pulumi.getter(name="transferLockEnabled")
|
|
153
|
-
def transfer_lock_enabled(self) -> Optional[pulumi.Input[
|
|
152
|
+
def transfer_lock_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
154
153
|
"""
|
|
155
154
|
Whether the domain transfer lock protection is enabled (default: `true`)
|
|
156
155
|
"""
|
|
157
156
|
return pulumi.get(self, "transfer_lock_enabled")
|
|
158
157
|
|
|
159
158
|
@transfer_lock_enabled.setter
|
|
160
|
-
def transfer_lock_enabled(self, value: Optional[pulumi.Input[
|
|
159
|
+
def transfer_lock_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
161
160
|
pulumi.set(self, "transfer_lock_enabled", value)
|
|
162
161
|
|
|
163
|
-
@property
|
|
162
|
+
@_builtins.property
|
|
164
163
|
@pulumi.getter(name="whoisPrivacyEnabled")
|
|
165
|
-
def whois_privacy_enabled(self) -> Optional[pulumi.Input[
|
|
164
|
+
def whois_privacy_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
166
165
|
"""
|
|
167
166
|
Whether the domain should have WhoIs privacy enabled (default: `false`)
|
|
168
167
|
"""
|
|
169
168
|
return pulumi.get(self, "whois_privacy_enabled")
|
|
170
169
|
|
|
171
170
|
@whois_privacy_enabled.setter
|
|
172
|
-
def whois_privacy_enabled(self, value: Optional[pulumi.Input[
|
|
171
|
+
def whois_privacy_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
173
172
|
pulumi.set(self, "whois_privacy_enabled", value)
|
|
174
173
|
|
|
175
174
|
|
|
176
175
|
@pulumi.input_type
|
|
177
176
|
class _RegisteredDomainState:
|
|
178
177
|
def __init__(__self__, *,
|
|
179
|
-
account_id: Optional[pulumi.Input[
|
|
180
|
-
auto_renew_enabled: Optional[pulumi.Input[
|
|
181
|
-
contact_id: Optional[pulumi.Input[
|
|
182
|
-
dnssec_enabled: Optional[pulumi.Input[
|
|
178
|
+
account_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
179
|
+
auto_renew_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
180
|
+
contact_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
181
|
+
dnssec_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
183
182
|
domain_registration: Optional[pulumi.Input['RegisteredDomainDomainRegistrationArgs']] = None,
|
|
184
|
-
expires_at: Optional[pulumi.Input[
|
|
185
|
-
extended_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
186
|
-
name: Optional[pulumi.Input[
|
|
187
|
-
premium_price: Optional[pulumi.Input[
|
|
183
|
+
expires_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
184
|
+
extended_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
185
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
186
|
+
premium_price: Optional[pulumi.Input[_builtins.str]] = None,
|
|
188
187
|
registrant_change: Optional[pulumi.Input['RegisteredDomainRegistrantChangeArgs']] = None,
|
|
189
|
-
state: Optional[pulumi.Input[
|
|
188
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
190
189
|
timeouts: Optional[pulumi.Input['RegisteredDomainTimeoutsArgs']] = None,
|
|
191
|
-
transfer_lock_enabled: Optional[pulumi.Input[
|
|
192
|
-
unicode_name: Optional[pulumi.Input[
|
|
193
|
-
whois_privacy_enabled: Optional[pulumi.Input[
|
|
190
|
+
transfer_lock_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
191
|
+
unicode_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
192
|
+
whois_privacy_enabled: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
194
193
|
"""
|
|
195
194
|
Input properties used for looking up and filtering RegisteredDomain resources.
|
|
196
|
-
:param pulumi.Input[
|
|
197
|
-
:param pulumi.Input[
|
|
198
|
-
:param pulumi.Input[
|
|
195
|
+
:param pulumi.Input[_builtins.bool] auto_renew_enabled: Whether the domain should be set to auto-renew (default: `false`)
|
|
196
|
+
: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/).
|
|
197
|
+
:param pulumi.Input[_builtins.bool] dnssec_enabled: Whether the domain should have DNSSEC enabled (default: `false`)
|
|
199
198
|
:param pulumi.Input['RegisteredDomainDomainRegistrationArgs'] domain_registration: The domain registration details. (see below for nested schema)
|
|
200
199
|
|
|
201
200
|
<a id="nestedblock--timeouts"></a>
|
|
202
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
203
|
-
:param pulumi.Input[
|
|
204
|
-
:param pulumi.Input[
|
|
201
|
+
: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`.
|
|
202
|
+
:param pulumi.Input[_builtins.str] name: The domain name to be registered
|
|
203
|
+
:param pulumi.Input[_builtins.str] premium_price: The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our [Check domain API](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium. And [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
|
|
205
204
|
:param pulumi.Input['RegisteredDomainRegistrantChangeArgs'] registrant_change: The registrant change details.
|
|
206
|
-
:param pulumi.Input[
|
|
205
|
+
:param pulumi.Input[_builtins.str] state: The state of the domain.
|
|
207
206
|
:param pulumi.Input['RegisteredDomainTimeoutsArgs'] timeouts: (see below for nested schema)
|
|
208
207
|
|
|
209
208
|
# Attributes Reference
|
|
210
|
-
:param pulumi.Input[
|
|
211
|
-
:param pulumi.Input[
|
|
212
|
-
:param pulumi.Input[
|
|
209
|
+
:param pulumi.Input[_builtins.bool] transfer_lock_enabled: Whether the domain transfer lock protection is enabled (default: `true`)
|
|
210
|
+
:param pulumi.Input[_builtins.str] unicode_name: The domain name in Unicode format.
|
|
211
|
+
:param pulumi.Input[_builtins.bool] whois_privacy_enabled: Whether the domain should have WhoIs privacy enabled (default: `false`)
|
|
213
212
|
"""
|
|
214
213
|
if account_id is not None:
|
|
215
214
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -242,52 +241,52 @@ class _RegisteredDomainState:
|
|
|
242
241
|
if whois_privacy_enabled is not None:
|
|
243
242
|
pulumi.set(__self__, "whois_privacy_enabled", whois_privacy_enabled)
|
|
244
243
|
|
|
245
|
-
@property
|
|
244
|
+
@_builtins.property
|
|
246
245
|
@pulumi.getter(name="accountId")
|
|
247
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
246
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
248
247
|
return pulumi.get(self, "account_id")
|
|
249
248
|
|
|
250
249
|
@account_id.setter
|
|
251
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
250
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
252
251
|
pulumi.set(self, "account_id", value)
|
|
253
252
|
|
|
254
|
-
@property
|
|
253
|
+
@_builtins.property
|
|
255
254
|
@pulumi.getter(name="autoRenewEnabled")
|
|
256
|
-
def auto_renew_enabled(self) -> Optional[pulumi.Input[
|
|
255
|
+
def auto_renew_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
257
256
|
"""
|
|
258
257
|
Whether the domain should be set to auto-renew (default: `false`)
|
|
259
258
|
"""
|
|
260
259
|
return pulumi.get(self, "auto_renew_enabled")
|
|
261
260
|
|
|
262
261
|
@auto_renew_enabled.setter
|
|
263
|
-
def auto_renew_enabled(self, value: Optional[pulumi.Input[
|
|
262
|
+
def auto_renew_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
264
263
|
pulumi.set(self, "auto_renew_enabled", value)
|
|
265
264
|
|
|
266
|
-
@property
|
|
265
|
+
@_builtins.property
|
|
267
266
|
@pulumi.getter(name="contactId")
|
|
268
|
-
def contact_id(self) -> Optional[pulumi.Input[
|
|
267
|
+
def contact_id(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
269
268
|
"""
|
|
270
269
|
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/).
|
|
271
270
|
"""
|
|
272
271
|
return pulumi.get(self, "contact_id")
|
|
273
272
|
|
|
274
273
|
@contact_id.setter
|
|
275
|
-
def contact_id(self, value: Optional[pulumi.Input[
|
|
274
|
+
def contact_id(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
276
275
|
pulumi.set(self, "contact_id", value)
|
|
277
276
|
|
|
278
|
-
@property
|
|
277
|
+
@_builtins.property
|
|
279
278
|
@pulumi.getter(name="dnssecEnabled")
|
|
280
|
-
def dnssec_enabled(self) -> Optional[pulumi.Input[
|
|
279
|
+
def dnssec_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
281
280
|
"""
|
|
282
281
|
Whether the domain should have DNSSEC enabled (default: `false`)
|
|
283
282
|
"""
|
|
284
283
|
return pulumi.get(self, "dnssec_enabled")
|
|
285
284
|
|
|
286
285
|
@dnssec_enabled.setter
|
|
287
|
-
def dnssec_enabled(self, value: Optional[pulumi.Input[
|
|
286
|
+
def dnssec_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
288
287
|
pulumi.set(self, "dnssec_enabled", value)
|
|
289
288
|
|
|
290
|
-
@property
|
|
289
|
+
@_builtins.property
|
|
291
290
|
@pulumi.getter(name="domainRegistration")
|
|
292
291
|
def domain_registration(self) -> Optional[pulumi.Input['RegisteredDomainDomainRegistrationArgs']]:
|
|
293
292
|
"""
|
|
@@ -301,52 +300,52 @@ class _RegisteredDomainState:
|
|
|
301
300
|
def domain_registration(self, value: Optional[pulumi.Input['RegisteredDomainDomainRegistrationArgs']]):
|
|
302
301
|
pulumi.set(self, "domain_registration", value)
|
|
303
302
|
|
|
304
|
-
@property
|
|
303
|
+
@_builtins.property
|
|
305
304
|
@pulumi.getter(name="expiresAt")
|
|
306
|
-
def expires_at(self) -> Optional[pulumi.Input[
|
|
305
|
+
def expires_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
307
306
|
return pulumi.get(self, "expires_at")
|
|
308
307
|
|
|
309
308
|
@expires_at.setter
|
|
310
|
-
def expires_at(self, value: Optional[pulumi.Input[
|
|
309
|
+
def expires_at(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
311
310
|
pulumi.set(self, "expires_at", value)
|
|
312
311
|
|
|
313
|
-
@property
|
|
312
|
+
@_builtins.property
|
|
314
313
|
@pulumi.getter(name="extendedAttributes")
|
|
315
|
-
def extended_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
314
|
+
def extended_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
|
316
315
|
"""
|
|
317
316
|
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`.
|
|
318
317
|
"""
|
|
319
318
|
return pulumi.get(self, "extended_attributes")
|
|
320
319
|
|
|
321
320
|
@extended_attributes.setter
|
|
322
|
-
def extended_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
321
|
+
def extended_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
|
323
322
|
pulumi.set(self, "extended_attributes", value)
|
|
324
323
|
|
|
325
|
-
@property
|
|
324
|
+
@_builtins.property
|
|
326
325
|
@pulumi.getter
|
|
327
|
-
def name(self) -> Optional[pulumi.Input[
|
|
326
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
328
327
|
"""
|
|
329
328
|
The domain name to be registered
|
|
330
329
|
"""
|
|
331
330
|
return pulumi.get(self, "name")
|
|
332
331
|
|
|
333
332
|
@name.setter
|
|
334
|
-
def name(self, value: Optional[pulumi.Input[
|
|
333
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
335
334
|
pulumi.set(self, "name", value)
|
|
336
335
|
|
|
337
|
-
@property
|
|
336
|
+
@_builtins.property
|
|
338
337
|
@pulumi.getter(name="premiumPrice")
|
|
339
|
-
def premium_price(self) -> Optional[pulumi.Input[
|
|
338
|
+
def premium_price(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
340
339
|
"""
|
|
341
340
|
The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our [Check domain API](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium. And [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
|
|
342
341
|
"""
|
|
343
342
|
return pulumi.get(self, "premium_price")
|
|
344
343
|
|
|
345
344
|
@premium_price.setter
|
|
346
|
-
def premium_price(self, value: Optional[pulumi.Input[
|
|
345
|
+
def premium_price(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
347
346
|
pulumi.set(self, "premium_price", value)
|
|
348
347
|
|
|
349
|
-
@property
|
|
348
|
+
@_builtins.property
|
|
350
349
|
@pulumi.getter(name="registrantChange")
|
|
351
350
|
def registrant_change(self) -> Optional[pulumi.Input['RegisteredDomainRegistrantChangeArgs']]:
|
|
352
351
|
"""
|
|
@@ -358,19 +357,19 @@ class _RegisteredDomainState:
|
|
|
358
357
|
def registrant_change(self, value: Optional[pulumi.Input['RegisteredDomainRegistrantChangeArgs']]):
|
|
359
358
|
pulumi.set(self, "registrant_change", value)
|
|
360
359
|
|
|
361
|
-
@property
|
|
360
|
+
@_builtins.property
|
|
362
361
|
@pulumi.getter
|
|
363
|
-
def state(self) -> Optional[pulumi.Input[
|
|
362
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
364
363
|
"""
|
|
365
364
|
The state of the domain.
|
|
366
365
|
"""
|
|
367
366
|
return pulumi.get(self, "state")
|
|
368
367
|
|
|
369
368
|
@state.setter
|
|
370
|
-
def state(self, value: Optional[pulumi.Input[
|
|
369
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
371
370
|
pulumi.set(self, "state", value)
|
|
372
371
|
|
|
373
|
-
@property
|
|
372
|
+
@_builtins.property
|
|
374
373
|
@pulumi.getter
|
|
375
374
|
def timeouts(self) -> Optional[pulumi.Input['RegisteredDomainTimeoutsArgs']]:
|
|
376
375
|
"""
|
|
@@ -384,40 +383,40 @@ class _RegisteredDomainState:
|
|
|
384
383
|
def timeouts(self, value: Optional[pulumi.Input['RegisteredDomainTimeoutsArgs']]):
|
|
385
384
|
pulumi.set(self, "timeouts", value)
|
|
386
385
|
|
|
387
|
-
@property
|
|
386
|
+
@_builtins.property
|
|
388
387
|
@pulumi.getter(name="transferLockEnabled")
|
|
389
|
-
def transfer_lock_enabled(self) -> Optional[pulumi.Input[
|
|
388
|
+
def transfer_lock_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
390
389
|
"""
|
|
391
390
|
Whether the domain transfer lock protection is enabled (default: `true`)
|
|
392
391
|
"""
|
|
393
392
|
return pulumi.get(self, "transfer_lock_enabled")
|
|
394
393
|
|
|
395
394
|
@transfer_lock_enabled.setter
|
|
396
|
-
def transfer_lock_enabled(self, value: Optional[pulumi.Input[
|
|
395
|
+
def transfer_lock_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
397
396
|
pulumi.set(self, "transfer_lock_enabled", value)
|
|
398
397
|
|
|
399
|
-
@property
|
|
398
|
+
@_builtins.property
|
|
400
399
|
@pulumi.getter(name="unicodeName")
|
|
401
|
-
def unicode_name(self) -> Optional[pulumi.Input[
|
|
400
|
+
def unicode_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
402
401
|
"""
|
|
403
402
|
The domain name in Unicode format.
|
|
404
403
|
"""
|
|
405
404
|
return pulumi.get(self, "unicode_name")
|
|
406
405
|
|
|
407
406
|
@unicode_name.setter
|
|
408
|
-
def unicode_name(self, value: Optional[pulumi.Input[
|
|
407
|
+
def unicode_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
409
408
|
pulumi.set(self, "unicode_name", value)
|
|
410
409
|
|
|
411
|
-
@property
|
|
410
|
+
@_builtins.property
|
|
412
411
|
@pulumi.getter(name="whoisPrivacyEnabled")
|
|
413
|
-
def whois_privacy_enabled(self) -> Optional[pulumi.Input[
|
|
412
|
+
def whois_privacy_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
414
413
|
"""
|
|
415
414
|
Whether the domain should have WhoIs privacy enabled (default: `false`)
|
|
416
415
|
"""
|
|
417
416
|
return pulumi.get(self, "whois_privacy_enabled")
|
|
418
417
|
|
|
419
418
|
@whois_privacy_enabled.setter
|
|
420
|
-
def whois_privacy_enabled(self, value: Optional[pulumi.Input[
|
|
419
|
+
def whois_privacy_enabled(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
421
420
|
pulumi.set(self, "whois_privacy_enabled", value)
|
|
422
421
|
|
|
423
422
|
|
|
@@ -427,15 +426,15 @@ class RegisteredDomain(pulumi.CustomResource):
|
|
|
427
426
|
def __init__(__self__,
|
|
428
427
|
resource_name: str,
|
|
429
428
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
430
|
-
auto_renew_enabled: Optional[pulumi.Input[
|
|
431
|
-
contact_id: Optional[pulumi.Input[
|
|
432
|
-
dnssec_enabled: Optional[pulumi.Input[
|
|
433
|
-
extended_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
434
|
-
name: Optional[pulumi.Input[
|
|
435
|
-
premium_price: Optional[pulumi.Input[
|
|
429
|
+
auto_renew_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
430
|
+
contact_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
431
|
+
dnssec_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
432
|
+
extended_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
433
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
434
|
+
premium_price: Optional[pulumi.Input[_builtins.str]] = None,
|
|
436
435
|
timeouts: Optional[pulumi.Input[Union['RegisteredDomainTimeoutsArgs', 'RegisteredDomainTimeoutsArgsDict']]] = None,
|
|
437
|
-
transfer_lock_enabled: Optional[pulumi.Input[
|
|
438
|
-
whois_privacy_enabled: Optional[pulumi.Input[
|
|
436
|
+
transfer_lock_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
437
|
+
whois_privacy_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
439
438
|
__props__=None):
|
|
440
439
|
"""
|
|
441
440
|
Provides a DNSimple registered domain resource.
|
|
@@ -495,17 +494,17 @@ class RegisteredDomain(pulumi.CustomResource):
|
|
|
495
494
|
|
|
496
495
|
:param str resource_name: The name of the resource.
|
|
497
496
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
498
|
-
:param pulumi.Input[
|
|
499
|
-
:param pulumi.Input[
|
|
500
|
-
:param pulumi.Input[
|
|
501
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
502
|
-
:param pulumi.Input[
|
|
503
|
-
:param pulumi.Input[
|
|
497
|
+
:param pulumi.Input[_builtins.bool] auto_renew_enabled: Whether the domain should be set to auto-renew (default: `false`)
|
|
498
|
+
: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/).
|
|
499
|
+
:param pulumi.Input[_builtins.bool] dnssec_enabled: Whether the domain should have DNSSEC enabled (default: `false`)
|
|
500
|
+
: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`.
|
|
501
|
+
:param pulumi.Input[_builtins.str] name: The domain name to be registered
|
|
502
|
+
:param pulumi.Input[_builtins.str] premium_price: The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our [Check domain API](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium. And [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
|
|
504
503
|
:param pulumi.Input[Union['RegisteredDomainTimeoutsArgs', 'RegisteredDomainTimeoutsArgsDict']] timeouts: (see below for nested schema)
|
|
505
504
|
|
|
506
505
|
# Attributes Reference
|
|
507
|
-
:param pulumi.Input[
|
|
508
|
-
:param pulumi.Input[
|
|
506
|
+
:param pulumi.Input[_builtins.bool] transfer_lock_enabled: Whether the domain transfer lock protection is enabled (default: `true`)
|
|
507
|
+
:param pulumi.Input[_builtins.bool] whois_privacy_enabled: Whether the domain should have WhoIs privacy enabled (default: `false`)
|
|
509
508
|
"""
|
|
510
509
|
...
|
|
511
510
|
@overload
|
|
@@ -584,15 +583,15 @@ class RegisteredDomain(pulumi.CustomResource):
|
|
|
584
583
|
def _internal_init(__self__,
|
|
585
584
|
resource_name: str,
|
|
586
585
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
587
|
-
auto_renew_enabled: Optional[pulumi.Input[
|
|
588
|
-
contact_id: Optional[pulumi.Input[
|
|
589
|
-
dnssec_enabled: Optional[pulumi.Input[
|
|
590
|
-
extended_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
591
|
-
name: Optional[pulumi.Input[
|
|
592
|
-
premium_price: Optional[pulumi.Input[
|
|
586
|
+
auto_renew_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
587
|
+
contact_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
588
|
+
dnssec_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
589
|
+
extended_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
590
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
591
|
+
premium_price: Optional[pulumi.Input[_builtins.str]] = None,
|
|
593
592
|
timeouts: Optional[pulumi.Input[Union['RegisteredDomainTimeoutsArgs', 'RegisteredDomainTimeoutsArgsDict']]] = None,
|
|
594
|
-
transfer_lock_enabled: Optional[pulumi.Input[
|
|
595
|
-
whois_privacy_enabled: Optional[pulumi.Input[
|
|
593
|
+
transfer_lock_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
594
|
+
whois_privacy_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
596
595
|
__props__=None):
|
|
597
596
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
598
597
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -631,21 +630,21 @@ class RegisteredDomain(pulumi.CustomResource):
|
|
|
631
630
|
def get(resource_name: str,
|
|
632
631
|
id: pulumi.Input[str],
|
|
633
632
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
634
|
-
account_id: Optional[pulumi.Input[
|
|
635
|
-
auto_renew_enabled: Optional[pulumi.Input[
|
|
636
|
-
contact_id: Optional[pulumi.Input[
|
|
637
|
-
dnssec_enabled: Optional[pulumi.Input[
|
|
633
|
+
account_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
634
|
+
auto_renew_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
635
|
+
contact_id: Optional[pulumi.Input[_builtins.int]] = None,
|
|
636
|
+
dnssec_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
638
637
|
domain_registration: Optional[pulumi.Input[Union['RegisteredDomainDomainRegistrationArgs', 'RegisteredDomainDomainRegistrationArgsDict']]] = None,
|
|
639
|
-
expires_at: Optional[pulumi.Input[
|
|
640
|
-
extended_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[
|
|
641
|
-
name: Optional[pulumi.Input[
|
|
642
|
-
premium_price: Optional[pulumi.Input[
|
|
638
|
+
expires_at: Optional[pulumi.Input[_builtins.str]] = None,
|
|
639
|
+
extended_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
|
640
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
641
|
+
premium_price: Optional[pulumi.Input[_builtins.str]] = None,
|
|
643
642
|
registrant_change: Optional[pulumi.Input[Union['RegisteredDomainRegistrantChangeArgs', 'RegisteredDomainRegistrantChangeArgsDict']]] = None,
|
|
644
|
-
state: Optional[pulumi.Input[
|
|
643
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
|
645
644
|
timeouts: Optional[pulumi.Input[Union['RegisteredDomainTimeoutsArgs', 'RegisteredDomainTimeoutsArgsDict']]] = None,
|
|
646
|
-
transfer_lock_enabled: Optional[pulumi.Input[
|
|
647
|
-
unicode_name: Optional[pulumi.Input[
|
|
648
|
-
whois_privacy_enabled: Optional[pulumi.Input[
|
|
645
|
+
transfer_lock_enabled: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
646
|
+
unicode_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
647
|
+
whois_privacy_enabled: Optional[pulumi.Input[_builtins.bool]] = None) -> 'RegisteredDomain':
|
|
649
648
|
"""
|
|
650
649
|
Get an existing RegisteredDomain resource's state with the given name, id, and optional extra
|
|
651
650
|
properties used to qualify the lookup.
|
|
@@ -653,23 +652,23 @@ class RegisteredDomain(pulumi.CustomResource):
|
|
|
653
652
|
:param str resource_name: The unique name of the resulting resource.
|
|
654
653
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
655
654
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
656
|
-
:param pulumi.Input[
|
|
657
|
-
:param pulumi.Input[
|
|
658
|
-
:param pulumi.Input[
|
|
655
|
+
:param pulumi.Input[_builtins.bool] auto_renew_enabled: Whether the domain should be set to auto-renew (default: `false`)
|
|
656
|
+
: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/).
|
|
657
|
+
:param pulumi.Input[_builtins.bool] dnssec_enabled: Whether the domain should have DNSSEC enabled (default: `false`)
|
|
659
658
|
:param pulumi.Input[Union['RegisteredDomainDomainRegistrationArgs', 'RegisteredDomainDomainRegistrationArgsDict']] domain_registration: The domain registration details. (see below for nested schema)
|
|
660
659
|
|
|
661
660
|
<a id="nestedblock--timeouts"></a>
|
|
662
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[
|
|
663
|
-
:param pulumi.Input[
|
|
664
|
-
:param pulumi.Input[
|
|
661
|
+
: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`.
|
|
662
|
+
:param pulumi.Input[_builtins.str] name: The domain name to be registered
|
|
663
|
+
:param pulumi.Input[_builtins.str] premium_price: The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our [Check domain API](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium. And [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
|
|
665
664
|
:param pulumi.Input[Union['RegisteredDomainRegistrantChangeArgs', 'RegisteredDomainRegistrantChangeArgsDict']] registrant_change: The registrant change details.
|
|
666
|
-
:param pulumi.Input[
|
|
665
|
+
:param pulumi.Input[_builtins.str] state: The state of the domain.
|
|
667
666
|
:param pulumi.Input[Union['RegisteredDomainTimeoutsArgs', 'RegisteredDomainTimeoutsArgsDict']] timeouts: (see below for nested schema)
|
|
668
667
|
|
|
669
668
|
# Attributes Reference
|
|
670
|
-
:param pulumi.Input[
|
|
671
|
-
:param pulumi.Input[
|
|
672
|
-
:param pulumi.Input[
|
|
669
|
+
:param pulumi.Input[_builtins.bool] transfer_lock_enabled: Whether the domain transfer lock protection is enabled (default: `true`)
|
|
670
|
+
:param pulumi.Input[_builtins.str] unicode_name: The domain name in Unicode format.
|
|
671
|
+
:param pulumi.Input[_builtins.bool] whois_privacy_enabled: Whether the domain should have WhoIs privacy enabled (default: `false`)
|
|
673
672
|
"""
|
|
674
673
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
675
674
|
|
|
@@ -692,36 +691,36 @@ class RegisteredDomain(pulumi.CustomResource):
|
|
|
692
691
|
__props__.__dict__["whois_privacy_enabled"] = whois_privacy_enabled
|
|
693
692
|
return RegisteredDomain(resource_name, opts=opts, __props__=__props__)
|
|
694
693
|
|
|
695
|
-
@property
|
|
694
|
+
@_builtins.property
|
|
696
695
|
@pulumi.getter(name="accountId")
|
|
697
|
-
def account_id(self) -> pulumi.Output[
|
|
696
|
+
def account_id(self) -> pulumi.Output[_builtins.int]:
|
|
698
697
|
return pulumi.get(self, "account_id")
|
|
699
698
|
|
|
700
|
-
@property
|
|
699
|
+
@_builtins.property
|
|
701
700
|
@pulumi.getter(name="autoRenewEnabled")
|
|
702
|
-
def auto_renew_enabled(self) -> pulumi.Output[
|
|
701
|
+
def auto_renew_enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
703
702
|
"""
|
|
704
703
|
Whether the domain should be set to auto-renew (default: `false`)
|
|
705
704
|
"""
|
|
706
705
|
return pulumi.get(self, "auto_renew_enabled")
|
|
707
706
|
|
|
708
|
-
@property
|
|
707
|
+
@_builtins.property
|
|
709
708
|
@pulumi.getter(name="contactId")
|
|
710
|
-
def contact_id(self) -> pulumi.Output[
|
|
709
|
+
def contact_id(self) -> pulumi.Output[_builtins.int]:
|
|
711
710
|
"""
|
|
712
711
|
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/).
|
|
713
712
|
"""
|
|
714
713
|
return pulumi.get(self, "contact_id")
|
|
715
714
|
|
|
716
|
-
@property
|
|
715
|
+
@_builtins.property
|
|
717
716
|
@pulumi.getter(name="dnssecEnabled")
|
|
718
|
-
def dnssec_enabled(self) -> pulumi.Output[
|
|
717
|
+
def dnssec_enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
719
718
|
"""
|
|
720
719
|
Whether the domain should have DNSSEC enabled (default: `false`)
|
|
721
720
|
"""
|
|
722
721
|
return pulumi.get(self, "dnssec_enabled")
|
|
723
722
|
|
|
724
|
-
@property
|
|
723
|
+
@_builtins.property
|
|
725
724
|
@pulumi.getter(name="domainRegistration")
|
|
726
725
|
def domain_registration(self) -> pulumi.Output['outputs.RegisteredDomainDomainRegistration']:
|
|
727
726
|
"""
|
|
@@ -731,36 +730,36 @@ class RegisteredDomain(pulumi.CustomResource):
|
|
|
731
730
|
"""
|
|
732
731
|
return pulumi.get(self, "domain_registration")
|
|
733
732
|
|
|
734
|
-
@property
|
|
733
|
+
@_builtins.property
|
|
735
734
|
@pulumi.getter(name="expiresAt")
|
|
736
|
-
def expires_at(self) -> pulumi.Output[
|
|
735
|
+
def expires_at(self) -> pulumi.Output[_builtins.str]:
|
|
737
736
|
return pulumi.get(self, "expires_at")
|
|
738
737
|
|
|
739
|
-
@property
|
|
738
|
+
@_builtins.property
|
|
740
739
|
@pulumi.getter(name="extendedAttributes")
|
|
741
|
-
def extended_attributes(self) -> pulumi.Output[Optional[Mapping[str,
|
|
740
|
+
def extended_attributes(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
|
742
741
|
"""
|
|
743
742
|
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`.
|
|
744
743
|
"""
|
|
745
744
|
return pulumi.get(self, "extended_attributes")
|
|
746
745
|
|
|
747
|
-
@property
|
|
746
|
+
@_builtins.property
|
|
748
747
|
@pulumi.getter
|
|
749
|
-
def name(self) -> pulumi.Output[
|
|
748
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
750
749
|
"""
|
|
751
750
|
The domain name to be registered
|
|
752
751
|
"""
|
|
753
752
|
return pulumi.get(self, "name")
|
|
754
753
|
|
|
755
|
-
@property
|
|
754
|
+
@_builtins.property
|
|
756
755
|
@pulumi.getter(name="premiumPrice")
|
|
757
|
-
def premium_price(self) -> pulumi.Output[Optional[
|
|
756
|
+
def premium_price(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
758
757
|
"""
|
|
759
758
|
The premium price for the domain registration. This is only required if the domain is a premium domain. You can use our [Check domain API](https://developer.dnsimple.com/v2/registrar/#checkDomain) to check if a domain is premium. And [Retrieve domain prices API](https://developer.dnsimple.com/v2/registrar/#getDomainPrices) to retrieve the premium price for a domain.
|
|
760
759
|
"""
|
|
761
760
|
return pulumi.get(self, "premium_price")
|
|
762
761
|
|
|
763
|
-
@property
|
|
762
|
+
@_builtins.property
|
|
764
763
|
@pulumi.getter(name="registrantChange")
|
|
765
764
|
def registrant_change(self) -> pulumi.Output['outputs.RegisteredDomainRegistrantChange']:
|
|
766
765
|
"""
|
|
@@ -768,15 +767,15 @@ class RegisteredDomain(pulumi.CustomResource):
|
|
|
768
767
|
"""
|
|
769
768
|
return pulumi.get(self, "registrant_change")
|
|
770
769
|
|
|
771
|
-
@property
|
|
770
|
+
@_builtins.property
|
|
772
771
|
@pulumi.getter
|
|
773
|
-
def state(self) -> pulumi.Output[
|
|
772
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
|
774
773
|
"""
|
|
775
774
|
The state of the domain.
|
|
776
775
|
"""
|
|
777
776
|
return pulumi.get(self, "state")
|
|
778
777
|
|
|
779
|
-
@property
|
|
778
|
+
@_builtins.property
|
|
780
779
|
@pulumi.getter
|
|
781
780
|
def timeouts(self) -> pulumi.Output[Optional['outputs.RegisteredDomainTimeouts']]:
|
|
782
781
|
"""
|
|
@@ -786,25 +785,25 @@ class RegisteredDomain(pulumi.CustomResource):
|
|
|
786
785
|
"""
|
|
787
786
|
return pulumi.get(self, "timeouts")
|
|
788
787
|
|
|
789
|
-
@property
|
|
788
|
+
@_builtins.property
|
|
790
789
|
@pulumi.getter(name="transferLockEnabled")
|
|
791
|
-
def transfer_lock_enabled(self) -> pulumi.Output[
|
|
790
|
+
def transfer_lock_enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
792
791
|
"""
|
|
793
792
|
Whether the domain transfer lock protection is enabled (default: `true`)
|
|
794
793
|
"""
|
|
795
794
|
return pulumi.get(self, "transfer_lock_enabled")
|
|
796
795
|
|
|
797
|
-
@property
|
|
796
|
+
@_builtins.property
|
|
798
797
|
@pulumi.getter(name="unicodeName")
|
|
799
|
-
def unicode_name(self) -> pulumi.Output[
|
|
798
|
+
def unicode_name(self) -> pulumi.Output[_builtins.str]:
|
|
800
799
|
"""
|
|
801
800
|
The domain name in Unicode format.
|
|
802
801
|
"""
|
|
803
802
|
return pulumi.get(self, "unicode_name")
|
|
804
803
|
|
|
805
|
-
@property
|
|
804
|
+
@_builtins.property
|
|
806
805
|
@pulumi.getter(name="whoisPrivacyEnabled")
|
|
807
|
-
def whois_privacy_enabled(self) -> pulumi.Output[
|
|
806
|
+
def whois_privacy_enabled(self) -> pulumi.Output[_builtins.bool]:
|
|
808
807
|
"""
|
|
809
808
|
Whether the domain should have WhoIs privacy enabled (default: `false`)
|
|
810
809
|
"""
|