pulumi-dnsimple 5.1.0a1768541715__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.
- pulumi_dnsimple/__init__.py +120 -0
- pulumi_dnsimple/_enums.py +34 -0
- pulumi_dnsimple/_inputs.py +378 -0
- pulumi_dnsimple/_utilities.py +331 -0
- pulumi_dnsimple/config/__init__.py +9 -0
- pulumi_dnsimple/config/__init__.pyi +46 -0
- pulumi_dnsimple/config/vars.py +64 -0
- pulumi_dnsimple/contact.py +981 -0
- pulumi_dnsimple/domain.py +362 -0
- pulumi_dnsimple/domain_delegation.py +244 -0
- pulumi_dnsimple/ds_record.py +496 -0
- pulumi_dnsimple/email_forward.py +324 -0
- pulumi_dnsimple/get_certificate.py +203 -0
- pulumi_dnsimple/get_registrant_change_check.py +168 -0
- pulumi_dnsimple/get_zone.py +133 -0
- pulumi_dnsimple/lets_encrypt_certificate.py +594 -0
- pulumi_dnsimple/outputs.py +353 -0
- pulumi_dnsimple/provider.py +258 -0
- pulumi_dnsimple/pulumi-plugin.json +5 -0
- pulumi_dnsimple/py.typed +0 -0
- pulumi_dnsimple/registered_domain.py +839 -0
- pulumi_dnsimple/zone.py +357 -0
- pulumi_dnsimple/zone_record.py +629 -0
- pulumi_dnsimple-5.1.0a1768541715.dist-info/METADATA +73 -0
- pulumi_dnsimple-5.1.0a1768541715.dist-info/RECORD +27 -0
- pulumi_dnsimple-5.1.0a1768541715.dist-info/WHEEL +5 -0
- pulumi_dnsimple-5.1.0a1768541715.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetRegistrantChangeCheckResult',
|
|
20
|
+
'AwaitableGetRegistrantChangeCheckResult',
|
|
21
|
+
'get_registrant_change_check',
|
|
22
|
+
'get_registrant_change_check_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetRegistrantChangeCheckResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getRegistrantChangeCheck.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, contact_id=None, domain_id=None, extended_attributes=None, id=None, registry_owner_change=None):
|
|
31
|
+
if contact_id and not isinstance(contact_id, str):
|
|
32
|
+
raise TypeError("Expected argument 'contact_id' to be a str")
|
|
33
|
+
pulumi.set(__self__, "contact_id", contact_id)
|
|
34
|
+
if domain_id and not isinstance(domain_id, str):
|
|
35
|
+
raise TypeError("Expected argument 'domain_id' to be a str")
|
|
36
|
+
pulumi.set(__self__, "domain_id", domain_id)
|
|
37
|
+
if extended_attributes and not isinstance(extended_attributes, list):
|
|
38
|
+
raise TypeError("Expected argument 'extended_attributes' to be a list")
|
|
39
|
+
pulumi.set(__self__, "extended_attributes", extended_attributes)
|
|
40
|
+
if id and not isinstance(id, str):
|
|
41
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
42
|
+
pulumi.set(__self__, "id", id)
|
|
43
|
+
if registry_owner_change and not isinstance(registry_owner_change, bool):
|
|
44
|
+
raise TypeError("Expected argument 'registry_owner_change' to be a bool")
|
|
45
|
+
pulumi.set(__self__, "registry_owner_change", registry_owner_change)
|
|
46
|
+
|
|
47
|
+
@_builtins.property
|
|
48
|
+
@pulumi.getter(name="contactId")
|
|
49
|
+
def contact_id(self) -> _builtins.str:
|
|
50
|
+
"""
|
|
51
|
+
The ID of the contact you are planning to change to.
|
|
52
|
+
"""
|
|
53
|
+
return pulumi.get(self, "contact_id")
|
|
54
|
+
|
|
55
|
+
@_builtins.property
|
|
56
|
+
@pulumi.getter(name="domainId")
|
|
57
|
+
def domain_id(self) -> _builtins.str:
|
|
58
|
+
"""
|
|
59
|
+
The name or ID of the domain.
|
|
60
|
+
"""
|
|
61
|
+
return pulumi.get(self, "domain_id")
|
|
62
|
+
|
|
63
|
+
@_builtins.property
|
|
64
|
+
@pulumi.getter(name="extendedAttributes")
|
|
65
|
+
def extended_attributes(self) -> Sequence['outputs.GetRegistrantChangeCheckExtendedAttributeResult']:
|
|
66
|
+
"""
|
|
67
|
+
(List) A list of extended attributes that are required for the registrant change. (see below for nested schema)
|
|
68
|
+
"""
|
|
69
|
+
return pulumi.get(self, "extended_attributes")
|
|
70
|
+
|
|
71
|
+
@_builtins.property
|
|
72
|
+
@pulumi.getter
|
|
73
|
+
def id(self) -> _builtins.str:
|
|
74
|
+
return pulumi.get(self, "id")
|
|
75
|
+
|
|
76
|
+
@_builtins.property
|
|
77
|
+
@pulumi.getter(name="registryOwnerChange")
|
|
78
|
+
def registry_owner_change(self) -> _builtins.bool:
|
|
79
|
+
"""
|
|
80
|
+
(Boolean) Whether the registrant change is going to result in an owner change at the registry.
|
|
81
|
+
"""
|
|
82
|
+
return pulumi.get(self, "registry_owner_change")
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class AwaitableGetRegistrantChangeCheckResult(GetRegistrantChangeCheckResult):
|
|
86
|
+
# pylint: disable=using-constant-test
|
|
87
|
+
def __await__(self):
|
|
88
|
+
if False:
|
|
89
|
+
yield self
|
|
90
|
+
return GetRegistrantChangeCheckResult(
|
|
91
|
+
contact_id=self.contact_id,
|
|
92
|
+
domain_id=self.domain_id,
|
|
93
|
+
extended_attributes=self.extended_attributes,
|
|
94
|
+
id=self.id,
|
|
95
|
+
registry_owner_change=self.registry_owner_change)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def get_registrant_change_check(contact_id: Optional[_builtins.str] = None,
|
|
99
|
+
domain_id: Optional[_builtins.str] = None,
|
|
100
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegistrantChangeCheckResult:
|
|
101
|
+
"""
|
|
102
|
+
Get information on the requirements of a registrant change.
|
|
103
|
+
|
|
104
|
+
> **Note:** The registrant change API is currently in developer preview and is subject to change.
|
|
105
|
+
|
|
106
|
+
## Example Usage
|
|
107
|
+
|
|
108
|
+
Get registrant change requirements for the `example.com` domain and the contact with ID `1234`:
|
|
109
|
+
|
|
110
|
+
```python
|
|
111
|
+
import pulumi
|
|
112
|
+
import pulumi_dnsimple as dnsimple
|
|
113
|
+
|
|
114
|
+
example = dnsimple.get_registrant_change_check(domain_id="example.com",
|
|
115
|
+
contact_id="1234")
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
:param _builtins.str contact_id: The ID of the contact you are planning to change to.
|
|
120
|
+
:param _builtins.str domain_id: The name or ID of the domain.
|
|
121
|
+
"""
|
|
122
|
+
__args__ = dict()
|
|
123
|
+
__args__['contactId'] = contact_id
|
|
124
|
+
__args__['domainId'] = domain_id
|
|
125
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
126
|
+
__ret__ = pulumi.runtime.invoke('dnsimple:index/getRegistrantChangeCheck:getRegistrantChangeCheck', __args__, opts=opts, typ=GetRegistrantChangeCheckResult).value
|
|
127
|
+
|
|
128
|
+
return AwaitableGetRegistrantChangeCheckResult(
|
|
129
|
+
contact_id=pulumi.get(__ret__, 'contact_id'),
|
|
130
|
+
domain_id=pulumi.get(__ret__, 'domain_id'),
|
|
131
|
+
extended_attributes=pulumi.get(__ret__, 'extended_attributes'),
|
|
132
|
+
id=pulumi.get(__ret__, 'id'),
|
|
133
|
+
registry_owner_change=pulumi.get(__ret__, 'registry_owner_change'))
|
|
134
|
+
def get_registrant_change_check_output(contact_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
135
|
+
domain_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
136
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRegistrantChangeCheckResult]:
|
|
137
|
+
"""
|
|
138
|
+
Get information on the requirements of a registrant change.
|
|
139
|
+
|
|
140
|
+
> **Note:** The registrant change API is currently in developer preview and is subject to change.
|
|
141
|
+
|
|
142
|
+
## Example Usage
|
|
143
|
+
|
|
144
|
+
Get registrant change requirements for the `example.com` domain and the contact with ID `1234`:
|
|
145
|
+
|
|
146
|
+
```python
|
|
147
|
+
import pulumi
|
|
148
|
+
import pulumi_dnsimple as dnsimple
|
|
149
|
+
|
|
150
|
+
example = dnsimple.get_registrant_change_check(domain_id="example.com",
|
|
151
|
+
contact_id="1234")
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
:param _builtins.str contact_id: The ID of the contact you are planning to change to.
|
|
156
|
+
:param _builtins.str domain_id: The name or ID of the domain.
|
|
157
|
+
"""
|
|
158
|
+
__args__ = dict()
|
|
159
|
+
__args__['contactId'] = contact_id
|
|
160
|
+
__args__['domainId'] = domain_id
|
|
161
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
162
|
+
__ret__ = pulumi.runtime.invoke_output('dnsimple:index/getRegistrantChangeCheck:getRegistrantChangeCheck', __args__, opts=opts, typ=GetRegistrantChangeCheckResult)
|
|
163
|
+
return __ret__.apply(lambda __response__: GetRegistrantChangeCheckResult(
|
|
164
|
+
contact_id=pulumi.get(__response__, 'contact_id'),
|
|
165
|
+
domain_id=pulumi.get(__response__, 'domain_id'),
|
|
166
|
+
extended_attributes=pulumi.get(__response__, 'extended_attributes'),
|
|
167
|
+
id=pulumi.get(__response__, 'id'),
|
|
168
|
+
registry_owner_change=pulumi.get(__response__, 'registry_owner_change')))
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
|
|
17
|
+
__all__ = [
|
|
18
|
+
'GetZoneResult',
|
|
19
|
+
'AwaitableGetZoneResult',
|
|
20
|
+
'get_zone',
|
|
21
|
+
'get_zone_output',
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
@pulumi.output_type
|
|
25
|
+
class GetZoneResult:
|
|
26
|
+
"""
|
|
27
|
+
A collection of values returned by getZone.
|
|
28
|
+
"""
|
|
29
|
+
def __init__(__self__, account_id=None, id=None, name=None, reverse=None):
|
|
30
|
+
if account_id and not isinstance(account_id, int):
|
|
31
|
+
raise TypeError("Expected argument 'account_id' to be a int")
|
|
32
|
+
pulumi.set(__self__, "account_id", account_id)
|
|
33
|
+
if id and not isinstance(id, int):
|
|
34
|
+
raise TypeError("Expected argument 'id' to be a int")
|
|
35
|
+
pulumi.set(__self__, "id", id)
|
|
36
|
+
if name and not isinstance(name, str):
|
|
37
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
38
|
+
pulumi.set(__self__, "name", name)
|
|
39
|
+
if reverse and not isinstance(reverse, bool):
|
|
40
|
+
raise TypeError("Expected argument 'reverse' to be a bool")
|
|
41
|
+
pulumi.set(__self__, "reverse", reverse)
|
|
42
|
+
|
|
43
|
+
@_builtins.property
|
|
44
|
+
@pulumi.getter(name="accountId")
|
|
45
|
+
def account_id(self) -> _builtins.int:
|
|
46
|
+
"""
|
|
47
|
+
The account ID.
|
|
48
|
+
"""
|
|
49
|
+
return pulumi.get(self, "account_id")
|
|
50
|
+
|
|
51
|
+
@_builtins.property
|
|
52
|
+
@pulumi.getter
|
|
53
|
+
def id(self) -> _builtins.int:
|
|
54
|
+
"""
|
|
55
|
+
The zone ID.
|
|
56
|
+
"""
|
|
57
|
+
return pulumi.get(self, "id")
|
|
58
|
+
|
|
59
|
+
@_builtins.property
|
|
60
|
+
@pulumi.getter
|
|
61
|
+
def name(self) -> _builtins.str:
|
|
62
|
+
return pulumi.get(self, "name")
|
|
63
|
+
|
|
64
|
+
@_builtins.property
|
|
65
|
+
@pulumi.getter
|
|
66
|
+
def reverse(self) -> _builtins.bool:
|
|
67
|
+
"""
|
|
68
|
+
Whether the zone is a reverse zone (`true`) or forward zone (`false`).
|
|
69
|
+
"""
|
|
70
|
+
return pulumi.get(self, "reverse")
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
class AwaitableGetZoneResult(GetZoneResult):
|
|
74
|
+
# pylint: disable=using-constant-test
|
|
75
|
+
def __await__(self):
|
|
76
|
+
if False:
|
|
77
|
+
yield self
|
|
78
|
+
return GetZoneResult(
|
|
79
|
+
account_id=self.account_id,
|
|
80
|
+
id=self.id,
|
|
81
|
+
name=self.name,
|
|
82
|
+
reverse=self.reverse)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
def get_zone(name: Optional[_builtins.str] = None,
|
|
86
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetZoneResult:
|
|
87
|
+
"""
|
|
88
|
+
## Example Usage
|
|
89
|
+
|
|
90
|
+
```python
|
|
91
|
+
import pulumi
|
|
92
|
+
import pulumi_dnsimple as dnsimple
|
|
93
|
+
|
|
94
|
+
example = dnsimple.get_zone(name="example.com")
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
:param _builtins.str name: The name of the zone.
|
|
99
|
+
"""
|
|
100
|
+
__args__ = dict()
|
|
101
|
+
__args__['name'] = name
|
|
102
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
103
|
+
__ret__ = pulumi.runtime.invoke('dnsimple:index/getZone:getZone', __args__, opts=opts, typ=GetZoneResult).value
|
|
104
|
+
|
|
105
|
+
return AwaitableGetZoneResult(
|
|
106
|
+
account_id=pulumi.get(__ret__, 'account_id'),
|
|
107
|
+
id=pulumi.get(__ret__, 'id'),
|
|
108
|
+
name=pulumi.get(__ret__, 'name'),
|
|
109
|
+
reverse=pulumi.get(__ret__, 'reverse'))
|
|
110
|
+
def get_zone_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
111
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetZoneResult]:
|
|
112
|
+
"""
|
|
113
|
+
## Example Usage
|
|
114
|
+
|
|
115
|
+
```python
|
|
116
|
+
import pulumi
|
|
117
|
+
import pulumi_dnsimple as dnsimple
|
|
118
|
+
|
|
119
|
+
example = dnsimple.get_zone(name="example.com")
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
:param _builtins.str name: The name of the zone.
|
|
124
|
+
"""
|
|
125
|
+
__args__ = dict()
|
|
126
|
+
__args__['name'] = name
|
|
127
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
128
|
+
__ret__ = pulumi.runtime.invoke_output('dnsimple:index/getZone:getZone', __args__, opts=opts, typ=GetZoneResult)
|
|
129
|
+
return __ret__.apply(lambda __response__: GetZoneResult(
|
|
130
|
+
account_id=pulumi.get(__response__, 'account_id'),
|
|
131
|
+
id=pulumi.get(__response__, 'id'),
|
|
132
|
+
name=pulumi.get(__response__, 'name'),
|
|
133
|
+
reverse=pulumi.get(__response__, 'reverse')))
|