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