pulumi-dnsimple 3.5.0a1696283880__py3-none-any.whl → 3.5.0a1696525602__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.

@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from .. import _utilities
11
11
 
12
12
  import types
pulumi_dnsimple/domain.py CHANGED
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['DomainArgs', 'Domain']
@@ -19,7 +19,16 @@ class DomainArgs:
19
19
  The set of arguments for constructing a Domain resource.
20
20
  :param pulumi.Input[str] name: The domain name to be created
21
21
  """
22
- pulumi.set(__self__, "name", name)
22
+ DomainArgs._configure(
23
+ lambda key, value: pulumi.set(__self__, key, value),
24
+ name=name,
25
+ )
26
+ @staticmethod
27
+ def _configure(
28
+ _setter: Callable[[Any, Any], None],
29
+ name: pulumi.Input[str],
30
+ opts: Optional[pulumi.ResourceOptions]=None):
31
+ _setter("name", name)
23
32
 
24
33
  @property
25
34
  @pulumi.getter
@@ -48,20 +57,41 @@ class _DomainState:
48
57
  Input properties used for looking up and filtering Domain resources.
49
58
  :param pulumi.Input[str] name: The domain name to be created
50
59
  """
60
+ _DomainState._configure(
61
+ lambda key, value: pulumi.set(__self__, key, value),
62
+ account_id=account_id,
63
+ auto_renew=auto_renew,
64
+ name=name,
65
+ private_whois=private_whois,
66
+ registrant_id=registrant_id,
67
+ state=state,
68
+ unicode_name=unicode_name,
69
+ )
70
+ @staticmethod
71
+ def _configure(
72
+ _setter: Callable[[Any, Any], None],
73
+ account_id: Optional[pulumi.Input[int]] = None,
74
+ auto_renew: Optional[pulumi.Input[bool]] = None,
75
+ name: Optional[pulumi.Input[str]] = None,
76
+ private_whois: Optional[pulumi.Input[bool]] = None,
77
+ registrant_id: Optional[pulumi.Input[int]] = None,
78
+ state: Optional[pulumi.Input[str]] = None,
79
+ unicode_name: Optional[pulumi.Input[str]] = None,
80
+ opts: Optional[pulumi.ResourceOptions]=None):
51
81
  if account_id is not None:
52
- pulumi.set(__self__, "account_id", account_id)
82
+ _setter("account_id", account_id)
53
83
  if auto_renew is not None:
54
- pulumi.set(__self__, "auto_renew", auto_renew)
84
+ _setter("auto_renew", auto_renew)
55
85
  if name is not None:
56
- pulumi.set(__self__, "name", name)
86
+ _setter("name", name)
57
87
  if private_whois is not None:
58
- pulumi.set(__self__, "private_whois", private_whois)
88
+ _setter("private_whois", private_whois)
59
89
  if registrant_id is not None:
60
- pulumi.set(__self__, "registrant_id", registrant_id)
90
+ _setter("registrant_id", registrant_id)
61
91
  if state is not None:
62
- pulumi.set(__self__, "state", state)
92
+ _setter("state", state)
63
93
  if unicode_name is not None:
64
- pulumi.set(__self__, "unicode_name", unicode_name)
94
+ _setter("unicode_name", unicode_name)
65
95
 
66
96
  @property
67
97
  @pulumi.getter(name="accountId")
@@ -291,6 +321,10 @@ class Domain(pulumi.CustomResource):
291
321
  if resource_args is not None:
292
322
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
293
323
  else:
324
+ kwargs = kwargs or {}
325
+ def _setter(key, value):
326
+ kwargs[key] = value
327
+ DomainArgs._configure(_setter, **kwargs)
294
328
  __self__._internal_init(resource_name, *args, **kwargs)
295
329
 
296
330
  def _internal_init(__self__,
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['EmailForwardArgs', 'EmailForward']
@@ -23,9 +23,22 @@ class EmailForwardArgs:
23
23
  :param pulumi.Input[str] destination_email: The destination email address on another domain
24
24
  :param pulumi.Input[str] domain: The domain to add the email forwarding rule to
25
25
  """
26
- pulumi.set(__self__, "alias_name", alias_name)
27
- pulumi.set(__self__, "destination_email", destination_email)
28
- pulumi.set(__self__, "domain", domain)
26
+ EmailForwardArgs._configure(
27
+ lambda key, value: pulumi.set(__self__, key, value),
28
+ alias_name=alias_name,
29
+ destination_email=destination_email,
30
+ domain=domain,
31
+ )
32
+ @staticmethod
33
+ def _configure(
34
+ _setter: Callable[[Any, Any], None],
35
+ alias_name: pulumi.Input[str],
36
+ destination_email: pulumi.Input[str],
37
+ domain: pulumi.Input[str],
38
+ opts: Optional[pulumi.ResourceOptions]=None):
39
+ _setter("alias_name", alias_name)
40
+ _setter("destination_email", destination_email)
41
+ _setter("domain", domain)
29
42
 
30
43
  @property
31
44
  @pulumi.getter(name="aliasName")
@@ -78,14 +91,29 @@ class _EmailForwardState:
78
91
  :param pulumi.Input[str] destination_email: The destination email address on another domain
79
92
  :param pulumi.Input[str] domain: The domain to add the email forwarding rule to
80
93
  """
94
+ _EmailForwardState._configure(
95
+ lambda key, value: pulumi.set(__self__, key, value),
96
+ alias_email=alias_email,
97
+ alias_name=alias_name,
98
+ destination_email=destination_email,
99
+ domain=domain,
100
+ )
101
+ @staticmethod
102
+ def _configure(
103
+ _setter: Callable[[Any, Any], None],
104
+ alias_email: Optional[pulumi.Input[str]] = None,
105
+ alias_name: Optional[pulumi.Input[str]] = None,
106
+ destination_email: Optional[pulumi.Input[str]] = None,
107
+ domain: Optional[pulumi.Input[str]] = None,
108
+ opts: Optional[pulumi.ResourceOptions]=None):
81
109
  if alias_email is not None:
82
- pulumi.set(__self__, "alias_email", alias_email)
110
+ _setter("alias_email", alias_email)
83
111
  if alias_name is not None:
84
- pulumi.set(__self__, "alias_name", alias_name)
112
+ _setter("alias_name", alias_name)
85
113
  if destination_email is not None:
86
- pulumi.set(__self__, "destination_email", destination_email)
114
+ _setter("destination_email", destination_email)
87
115
  if domain is not None:
88
- pulumi.set(__self__, "domain", domain)
116
+ _setter("domain", domain)
89
117
 
90
118
  @property
91
119
  @pulumi.getter(name="aliasEmail")
@@ -199,6 +227,10 @@ class EmailForward(pulumi.CustomResource):
199
227
  if resource_args is not None:
200
228
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
201
229
  else:
230
+ kwargs = kwargs or {}
231
+ def _setter(key, value):
232
+ kwargs[key] = value
233
+ EmailForwardArgs._configure(_setter, **kwargs)
202
234
  __self__._internal_init(resource_name, *args, **kwargs)
203
235
 
204
236
  def _internal_init(__self__,
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = [
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = [
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['LetsEncryptCertificateArgs', 'LetsEncryptCertificate']
@@ -25,15 +25,30 @@ class LetsEncryptCertificateArgs:
25
25
  :param pulumi.Input[int] contact_id: The contact id for the certificate
26
26
  :param pulumi.Input[str] domain_id: The domain to be issued the certificate for
27
27
  """
28
- pulumi.set(__self__, "auto_renew", auto_renew)
29
- pulumi.set(__self__, "name", name)
28
+ LetsEncryptCertificateArgs._configure(
29
+ lambda key, value: pulumi.set(__self__, key, value),
30
+ auto_renew=auto_renew,
31
+ name=name,
32
+ contact_id=contact_id,
33
+ domain_id=domain_id,
34
+ )
35
+ @staticmethod
36
+ def _configure(
37
+ _setter: Callable[[Any, Any], None],
38
+ auto_renew: pulumi.Input[bool],
39
+ name: pulumi.Input[str],
40
+ contact_id: Optional[pulumi.Input[int]] = None,
41
+ domain_id: Optional[pulumi.Input[str]] = None,
42
+ opts: Optional[pulumi.ResourceOptions]=None):
43
+ _setter("auto_renew", auto_renew)
44
+ _setter("name", name)
30
45
  if contact_id is not None:
31
46
  warnings.warn("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""", DeprecationWarning)
32
47
  pulumi.log.warn("""contact_id is deprecated: contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""")
33
48
  if contact_id is not None:
34
- pulumi.set(__self__, "contact_id", contact_id)
49
+ _setter("contact_id", contact_id)
35
50
  if domain_id is not None:
36
- pulumi.set(__self__, "domain_id", domain_id)
51
+ _setter("domain_id", domain_id)
37
52
 
38
53
  @property
39
54
  @pulumi.getter(name="autoRenew")
@@ -112,31 +127,60 @@ class _LetsEncryptCertificateState:
112
127
  :param pulumi.Input[str] state: The state of the certificate
113
128
  :param pulumi.Input[int] years: The years the certificate will last
114
129
  """
130
+ _LetsEncryptCertificateState._configure(
131
+ lambda key, value: pulumi.set(__self__, key, value),
132
+ authority_identifier=authority_identifier,
133
+ auto_renew=auto_renew,
134
+ contact_id=contact_id,
135
+ created_at=created_at,
136
+ csr=csr,
137
+ domain_id=domain_id,
138
+ expires_on=expires_on,
139
+ name=name,
140
+ state=state,
141
+ updated_at=updated_at,
142
+ years=years,
143
+ )
144
+ @staticmethod
145
+ def _configure(
146
+ _setter: Callable[[Any, Any], None],
147
+ authority_identifier: Optional[pulumi.Input[str]] = None,
148
+ auto_renew: Optional[pulumi.Input[bool]] = None,
149
+ contact_id: Optional[pulumi.Input[int]] = None,
150
+ created_at: Optional[pulumi.Input[str]] = None,
151
+ csr: Optional[pulumi.Input[str]] = None,
152
+ domain_id: Optional[pulumi.Input[str]] = None,
153
+ expires_on: Optional[pulumi.Input[str]] = None,
154
+ name: Optional[pulumi.Input[str]] = None,
155
+ state: Optional[pulumi.Input[str]] = None,
156
+ updated_at: Optional[pulumi.Input[str]] = None,
157
+ years: Optional[pulumi.Input[int]] = None,
158
+ opts: Optional[pulumi.ResourceOptions]=None):
115
159
  if authority_identifier is not None:
116
- pulumi.set(__self__, "authority_identifier", authority_identifier)
160
+ _setter("authority_identifier", authority_identifier)
117
161
  if auto_renew is not None:
118
- pulumi.set(__self__, "auto_renew", auto_renew)
162
+ _setter("auto_renew", auto_renew)
119
163
  if contact_id is not None:
120
164
  warnings.warn("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""", DeprecationWarning)
121
165
  pulumi.log.warn("""contact_id is deprecated: contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""")
122
166
  if contact_id is not None:
123
- pulumi.set(__self__, "contact_id", contact_id)
167
+ _setter("contact_id", contact_id)
124
168
  if created_at is not None:
125
- pulumi.set(__self__, "created_at", created_at)
169
+ _setter("created_at", created_at)
126
170
  if csr is not None:
127
- pulumi.set(__self__, "csr", csr)
171
+ _setter("csr", csr)
128
172
  if domain_id is not None:
129
- pulumi.set(__self__, "domain_id", domain_id)
173
+ _setter("domain_id", domain_id)
130
174
  if expires_on is not None:
131
- pulumi.set(__self__, "expires_on", expires_on)
175
+ _setter("expires_on", expires_on)
132
176
  if name is not None:
133
- pulumi.set(__self__, "name", name)
177
+ _setter("name", name)
134
178
  if state is not None:
135
- pulumi.set(__self__, "state", state)
179
+ _setter("state", state)
136
180
  if updated_at is not None:
137
- pulumi.set(__self__, "updated_at", updated_at)
181
+ _setter("updated_at", updated_at)
138
182
  if years is not None:
139
- pulumi.set(__self__, "years", years)
183
+ _setter("years", years)
140
184
 
141
185
  @property
142
186
  @pulumi.getter(name="authorityIdentifier")
@@ -328,6 +372,10 @@ class LetsEncryptCertificate(pulumi.CustomResource):
328
372
  if resource_args is not None:
329
373
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
330
374
  else:
375
+ kwargs = kwargs or {}
376
+ def _setter(key, value):
377
+ kwargs[key] = value
378
+ LetsEncryptCertificateArgs._configure(_setter, **kwargs)
331
379
  __self__._internal_init(resource_name, *args, **kwargs)
332
380
 
333
381
  def _internal_init(__self__,
@@ -349,9 +397,6 @@ class LetsEncryptCertificate(pulumi.CustomResource):
349
397
  if auto_renew is None and not opts.urn:
350
398
  raise TypeError("Missing required property 'auto_renew'")
351
399
  __props__.__dict__["auto_renew"] = auto_renew
352
- if contact_id is not None and not opts.urn:
353
- warnings.warn("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""", DeprecationWarning)
354
- pulumi.log.warn("""contact_id is deprecated: contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""")
355
400
  __props__.__dict__["contact_id"] = contact_id
356
401
  __props__.__dict__["domain_id"] = domain_id
357
402
  if name is None and not opts.urn:
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['ProviderArgs', 'Provider']
@@ -27,14 +27,31 @@ class ProviderArgs:
27
27
  :param pulumi.Input[bool] sandbox: Flag to enable the sandbox API.
28
28
  :param pulumi.Input[str] user_agent: Custom string to append to the user agent used for sending HTTP requests to the API.
29
29
  """
30
- pulumi.set(__self__, "account", account)
31
- pulumi.set(__self__, "token", token)
30
+ ProviderArgs._configure(
31
+ lambda key, value: pulumi.set(__self__, key, value),
32
+ account=account,
33
+ token=token,
34
+ prefetch=prefetch,
35
+ sandbox=sandbox,
36
+ user_agent=user_agent,
37
+ )
38
+ @staticmethod
39
+ def _configure(
40
+ _setter: Callable[[Any, Any], None],
41
+ account: pulumi.Input[str],
42
+ token: pulumi.Input[str],
43
+ prefetch: Optional[pulumi.Input[bool]] = None,
44
+ sandbox: Optional[pulumi.Input[bool]] = None,
45
+ user_agent: Optional[pulumi.Input[str]] = None,
46
+ opts: Optional[pulumi.ResourceOptions]=None):
47
+ _setter("account", account)
48
+ _setter("token", token)
32
49
  if prefetch is not None:
33
- pulumi.set(__self__, "prefetch", prefetch)
50
+ _setter("prefetch", prefetch)
34
51
  if sandbox is not None:
35
- pulumi.set(__self__, "sandbox", sandbox)
52
+ _setter("sandbox", sandbox)
36
53
  if user_agent is not None:
37
- pulumi.set(__self__, "user_agent", user_agent)
54
+ _setter("user_agent", user_agent)
38
55
 
39
56
  @property
40
57
  @pulumi.getter
@@ -144,6 +161,10 @@ class Provider(pulumi.ProviderResource):
144
161
  if resource_args is not None:
145
162
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
146
163
  else:
164
+ kwargs = kwargs or {}
165
+ def _setter(key, value):
166
+ kwargs[key] = value
167
+ ProviderArgs._configure(_setter, **kwargs)
147
168
  __self__._internal_init(resource_name, *args, **kwargs)
148
169
 
149
170
  def _internal_init(__self__,
pulumi_dnsimple/record.py CHANGED
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['RecordArgs', 'Record']
@@ -23,14 +23,33 @@ class RecordArgs:
23
23
  """
24
24
  The set of arguments for constructing a Record resource.
25
25
  """
26
- pulumi.set(__self__, "domain", domain)
27
- pulumi.set(__self__, "name", name)
28
- pulumi.set(__self__, "type", type)
29
- pulumi.set(__self__, "value", value)
26
+ RecordArgs._configure(
27
+ lambda key, value: pulumi.set(__self__, key, value),
28
+ domain=domain,
29
+ name=name,
30
+ type=type,
31
+ value=value,
32
+ priority=priority,
33
+ ttl=ttl,
34
+ )
35
+ @staticmethod
36
+ def _configure(
37
+ _setter: Callable[[Any, Any], None],
38
+ domain: pulumi.Input[str],
39
+ name: pulumi.Input[str],
40
+ type: pulumi.Input[str],
41
+ value: pulumi.Input[str],
42
+ priority: Optional[pulumi.Input[str]] = None,
43
+ ttl: Optional[pulumi.Input[str]] = None,
44
+ opts: Optional[pulumi.ResourceOptions]=None):
45
+ _setter("domain", domain)
46
+ _setter("name", name)
47
+ _setter("type", type)
48
+ _setter("value", value)
30
49
  if priority is not None:
31
- pulumi.set(__self__, "priority", priority)
50
+ _setter("priority", priority)
32
51
  if ttl is not None:
33
- pulumi.set(__self__, "ttl", ttl)
52
+ _setter("ttl", ttl)
34
53
 
35
54
  @property
36
55
  @pulumi.getter
@@ -101,22 +120,45 @@ class _RecordState:
101
120
  """
102
121
  Input properties used for looking up and filtering Record resources.
103
122
  """
123
+ _RecordState._configure(
124
+ lambda key, value: pulumi.set(__self__, key, value),
125
+ domain=domain,
126
+ domain_id=domain_id,
127
+ hostname=hostname,
128
+ name=name,
129
+ priority=priority,
130
+ ttl=ttl,
131
+ type=type,
132
+ value=value,
133
+ )
134
+ @staticmethod
135
+ def _configure(
136
+ _setter: Callable[[Any, Any], None],
137
+ domain: Optional[pulumi.Input[str]] = None,
138
+ domain_id: Optional[pulumi.Input[str]] = None,
139
+ hostname: Optional[pulumi.Input[str]] = None,
140
+ name: Optional[pulumi.Input[str]] = None,
141
+ priority: Optional[pulumi.Input[str]] = None,
142
+ ttl: Optional[pulumi.Input[str]] = None,
143
+ type: Optional[pulumi.Input[str]] = None,
144
+ value: Optional[pulumi.Input[str]] = None,
145
+ opts: Optional[pulumi.ResourceOptions]=None):
104
146
  if domain is not None:
105
- pulumi.set(__self__, "domain", domain)
147
+ _setter("domain", domain)
106
148
  if domain_id is not None:
107
- pulumi.set(__self__, "domain_id", domain_id)
149
+ _setter("domain_id", domain_id)
108
150
  if hostname is not None:
109
- pulumi.set(__self__, "hostname", hostname)
151
+ _setter("hostname", hostname)
110
152
  if name is not None:
111
- pulumi.set(__self__, "name", name)
153
+ _setter("name", name)
112
154
  if priority is not None:
113
- pulumi.set(__self__, "priority", priority)
155
+ _setter("priority", priority)
114
156
  if ttl is not None:
115
- pulumi.set(__self__, "ttl", ttl)
157
+ _setter("ttl", ttl)
116
158
  if type is not None:
117
- pulumi.set(__self__, "type", type)
159
+ _setter("type", type)
118
160
  if value is not None:
119
- pulumi.set(__self__, "value", value)
161
+ _setter("value", value)
120
162
 
121
163
  @property
122
164
  @pulumi.getter
@@ -233,6 +275,10 @@ It will be removed in the next major version.""", DeprecationWarning)
233
275
  if resource_args is not None:
234
276
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
235
277
  else:
278
+ kwargs = kwargs or {}
279
+ def _setter(key, value):
280
+ kwargs[key] = value
281
+ RecordArgs._configure(_setter, **kwargs)
236
282
  __self__._internal_init(resource_name, *args, **kwargs)
237
283
 
238
284
  def _internal_init(__self__,
@@ -6,7 +6,7 @@ import copy
6
6
  import warnings
7
7
  import pulumi
8
8
  import pulumi.runtime
9
- from typing import Any, Mapping, Optional, Sequence, Union, overload
9
+ from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
10
10
  from . import _utilities
11
11
 
12
12
  __all__ = ['ZoneRecordArgs', 'ZoneRecord']
@@ -29,14 +29,33 @@ class ZoneRecordArgs:
29
29
  :param pulumi.Input[str] priority: The priority of the record - only useful for some record types
30
30
  :param pulumi.Input[str] ttl: The TTL of the record
31
31
  """
32
- pulumi.set(__self__, "name", name)
33
- pulumi.set(__self__, "type", type)
34
- pulumi.set(__self__, "value", value)
35
- pulumi.set(__self__, "zone_name", zone_name)
32
+ ZoneRecordArgs._configure(
33
+ lambda key, value: pulumi.set(__self__, key, value),
34
+ name=name,
35
+ type=type,
36
+ value=value,
37
+ zone_name=zone_name,
38
+ priority=priority,
39
+ ttl=ttl,
40
+ )
41
+ @staticmethod
42
+ def _configure(
43
+ _setter: Callable[[Any, Any], None],
44
+ name: pulumi.Input[str],
45
+ type: pulumi.Input[str],
46
+ value: pulumi.Input[str],
47
+ zone_name: pulumi.Input[str],
48
+ priority: Optional[pulumi.Input[str]] = None,
49
+ ttl: Optional[pulumi.Input[str]] = None,
50
+ opts: Optional[pulumi.ResourceOptions]=None):
51
+ _setter("name", name)
52
+ _setter("type", type)
53
+ _setter("value", value)
54
+ _setter("zone_name", zone_name)
36
55
  if priority is not None:
37
- pulumi.set(__self__, "priority", priority)
56
+ _setter("priority", priority)
38
57
  if ttl is not None:
39
- pulumi.set(__self__, "ttl", ttl)
58
+ _setter("ttl", ttl)
40
59
 
41
60
  @property
42
61
  @pulumi.getter
@@ -133,22 +152,45 @@ class _ZoneRecordState:
133
152
  :param pulumi.Input[str] zone_id: The domain ID of the record
134
153
  :param pulumi.Input[str] zone_name: The domain to add the record to
135
154
  """
155
+ _ZoneRecordState._configure(
156
+ lambda key, value: pulumi.set(__self__, key, value),
157
+ name=name,
158
+ priority=priority,
159
+ qualified_name=qualified_name,
160
+ ttl=ttl,
161
+ type=type,
162
+ value=value,
163
+ zone_id=zone_id,
164
+ zone_name=zone_name,
165
+ )
166
+ @staticmethod
167
+ def _configure(
168
+ _setter: Callable[[Any, Any], None],
169
+ name: Optional[pulumi.Input[str]] = None,
170
+ priority: Optional[pulumi.Input[str]] = None,
171
+ qualified_name: Optional[pulumi.Input[str]] = None,
172
+ ttl: Optional[pulumi.Input[str]] = None,
173
+ type: Optional[pulumi.Input[str]] = None,
174
+ value: Optional[pulumi.Input[str]] = None,
175
+ zone_id: Optional[pulumi.Input[str]] = None,
176
+ zone_name: Optional[pulumi.Input[str]] = None,
177
+ opts: Optional[pulumi.ResourceOptions]=None):
136
178
  if name is not None:
137
- pulumi.set(__self__, "name", name)
179
+ _setter("name", name)
138
180
  if priority is not None:
139
- pulumi.set(__self__, "priority", priority)
181
+ _setter("priority", priority)
140
182
  if qualified_name is not None:
141
- pulumi.set(__self__, "qualified_name", qualified_name)
183
+ _setter("qualified_name", qualified_name)
142
184
  if ttl is not None:
143
- pulumi.set(__self__, "ttl", ttl)
185
+ _setter("ttl", ttl)
144
186
  if type is not None:
145
- pulumi.set(__self__, "type", type)
187
+ _setter("type", type)
146
188
  if value is not None:
147
- pulumi.set(__self__, "value", value)
189
+ _setter("value", value)
148
190
  if zone_id is not None:
149
- pulumi.set(__self__, "zone_id", zone_id)
191
+ _setter("zone_id", zone_id)
150
192
  if zone_name is not None:
151
- pulumi.set(__self__, "zone_name", zone_name)
193
+ _setter("zone_name", zone_name)
152
194
 
153
195
  @property
154
196
  @pulumi.getter
@@ -388,6 +430,10 @@ class ZoneRecord(pulumi.CustomResource):
388
430
  if resource_args is not None:
389
431
  __self__._internal_init(resource_name, opts, **resource_args.__dict__)
390
432
  else:
433
+ kwargs = kwargs or {}
434
+ def _setter(key, value):
435
+ kwargs[key] = value
436
+ ZoneRecordArgs._configure(_setter, **kwargs)
391
437
  __self__._internal_init(resource_name, *args, **kwargs)
392
438
 
393
439
  def _internal_init(__self__,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi-dnsimple
3
- Version: 3.5.0a1696283880
3
+ Version: 3.5.0a1696525602
4
4
  Summary: A Pulumi package for creating and managing dnsimple cloud resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io
@@ -0,0 +1,18 @@
1
+ pulumi_dnsimple/__init__.py,sha256=q2Qxnpb9OOQTlP9dL3j-T7NsebYT92Z9abw7XZpQ4rI,1711
2
+ pulumi_dnsimple/_utilities.py,sha256=fRvpCIKutW049SlpPUAoouFyjnSSk1J-OY0b8SDzJaE,8081
3
+ pulumi_dnsimple/domain.py,sha256=YwNov92LuqIqJnh7Qd9B1dqzS3-Yt3SQQ-UuCZxsmXQ,13770
4
+ pulumi_dnsimple/email_forward.py,sha256=ofYMScJiPFCIYdcZeUjWE-whrb7bSqHeal7qLZQSv5k,13049
5
+ pulumi_dnsimple/get_certificate.py,sha256=Kej0PA-mSu_wNRufCMm8DBlzrIlFsvXrgs_bzMw4F_8,6126
6
+ pulumi_dnsimple/get_zone.py,sha256=IfPzbRkxi8T3sk7j8LNQXrg5DSYxv_iPlNJyRlKuc6k,3884
7
+ pulumi_dnsimple/lets_encrypt_certificate.py,sha256=5Qnw6Iosbxe2RSzB25H-BfSUTQ0gqKRQxd2lonsQ__s,21656
8
+ pulumi_dnsimple/provider.py,sha256=uMZMIYBtg6GEG5vcw6HY3UaZjvWFFnoeFHdS2u0vtFc,9501
9
+ pulumi_dnsimple/pulumi-plugin.json,sha256=IEjftBuofiCI2VAUo_AurjLP04bWxHVglSOj_AeDL8Q,45
10
+ pulumi_dnsimple/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ pulumi_dnsimple/record.py,sha256=XJHBlRYQWTxsrmUHOIYU2aPd8S4TURbb65rCkH6EO9k,14135
12
+ pulumi_dnsimple/zone_record.py,sha256=KvbMmSCxd9etsPBfwmZl65tzGgW7CotJ6E19-YeR8ok,20378
13
+ pulumi_dnsimple/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
14
+ pulumi_dnsimple/config/vars.py,sha256=szt_1qJOTjhm42xhFHahX_Ed7bMRjavKdDgRY-joXX4,1339
15
+ pulumi_dnsimple-3.5.0a1696525602.dist-info/METADATA,sha256=k8NDM4hs5h4vyZ2or8uuUdyijBRXkPg4r-Xkb_8Ge9Y,2865
16
+ pulumi_dnsimple-3.5.0a1696525602.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
17
+ pulumi_dnsimple-3.5.0a1696525602.dist-info/top_level.txt,sha256=o_ZMMGgN8JmfKoCEmCl5-nHLCAzri-_7FCQohXzJWd4,16
18
+ pulumi_dnsimple-3.5.0a1696525602.dist-info/RECORD,,
@@ -1,18 +0,0 @@
1
- pulumi_dnsimple/__init__.py,sha256=q2Qxnpb9OOQTlP9dL3j-T7NsebYT92Z9abw7XZpQ4rI,1711
2
- pulumi_dnsimple/_utilities.py,sha256=fRvpCIKutW049SlpPUAoouFyjnSSk1J-OY0b8SDzJaE,8081
3
- pulumi_dnsimple/domain.py,sha256=MgPqYLfl6R5Jfqx-2B7IYzJUa-IgIx91gHAZqC8VsvM,12470
4
- pulumi_dnsimple/email_forward.py,sha256=K995Jp59E3lQDaV42pyb-JV-uGwqq3dSIqut73LO1-E,11802
5
- pulumi_dnsimple/get_certificate.py,sha256=bktJqWxxp6x6VkUo23-tzoSeNyIVf2ov1vRap1ant9s,6116
6
- pulumi_dnsimple/get_zone.py,sha256=xIAG55mCrO7SlHlI02S_-C7IOPuTsqNtTmeeyeyKgww,3874
7
- pulumi_dnsimple/lets_encrypt_certificate.py,sha256=eYpyJI38Vdrr_cmYbq5bD-bcJipuD9-lMZ6KQQt4Ru4,20160
8
- pulumi_dnsimple/provider.py,sha256=DD4pMom65j4jrnUb84jaP6EkLxEWFxswLlR3FhqG6mE,8730
9
- pulumi_dnsimple/pulumi-plugin.json,sha256=IEjftBuofiCI2VAUo_AurjLP04bWxHVglSOj_AeDL8Q,45
10
- pulumi_dnsimple/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- pulumi_dnsimple/record.py,sha256=vmud89eUvx8McHoIJjFkhtgLFY9lDkFt837YVZwmfoY,12552
12
- pulumi_dnsimple/zone_record.py,sha256=3_C4pNO084z76C17pLR7ydlMDEAYCZU3nDWCXtMLipg,18753
13
- pulumi_dnsimple/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
14
- pulumi_dnsimple/config/vars.py,sha256=7b8z6pJGysAfTHUhIYK9peb0Sw4zNXY-VxuCaG24H1M,1329
15
- pulumi_dnsimple-3.5.0a1696283880.dist-info/METADATA,sha256=RJ0SCUTf-Y_iujpq5ZFMOVZS_suH2lq8ZukDWdvRhek,2865
16
- pulumi_dnsimple-3.5.0a1696283880.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
17
- pulumi_dnsimple-3.5.0a1696283880.dist-info/top_level.txt,sha256=o_ZMMGgN8JmfKoCEmCl5-nHLCAzri-_7FCQohXzJWd4,16
18
- pulumi_dnsimple-3.5.0a1696283880.dist-info/RECORD,,