pulumi-dnsimple 3.5.0a1719033936__tar.gz → 3.5.0a1719295401__tar.gz
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-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/PKG-INFO +1 -1
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/_utilities.py +35 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/lets_encrypt_certificate.py +3 -9
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/pulumi-plugin.json +1 -1
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple.egg-info/PKG-INFO +1 -1
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pyproject.toml +1 -1
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/README.md +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/__init__.py +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/config/__init__.py +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/config/__init__.pyi +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/config/vars.py +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/domain.py +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/email_forward.py +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/get_certificate.py +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/get_zone.py +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/provider.py +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/py.typed +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/record.py +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/zone_record.py +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple.egg-info/SOURCES.txt +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple.egg-info/dependency_links.txt +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple.egg-info/requires.txt +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple.egg-info/top_level.txt +0 -0
- {pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/setup.cfg +0 -0
{pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/_utilities.py
RENAMED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
import asyncio
|
|
7
|
+
import functools
|
|
7
8
|
import importlib.metadata
|
|
8
9
|
import importlib.util
|
|
9
10
|
import inspect
|
|
@@ -11,6 +12,7 @@ import json
|
|
|
11
12
|
import os
|
|
12
13
|
import sys
|
|
13
14
|
import typing
|
|
15
|
+
import warnings
|
|
14
16
|
|
|
15
17
|
import pulumi
|
|
16
18
|
import pulumi.runtime
|
|
@@ -19,6 +21,8 @@ from pulumi.runtime.sync_await import _sync_await
|
|
|
19
21
|
from semver import VersionInfo as SemverVersion
|
|
20
22
|
from parver import Version as PEP440Version
|
|
21
23
|
|
|
24
|
+
C = typing.TypeVar("C", bound=typing.Callable)
|
|
25
|
+
|
|
22
26
|
|
|
23
27
|
def get_env(*args):
|
|
24
28
|
for v in args:
|
|
@@ -287,5 +291,36 @@ async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bo
|
|
|
287
291
|
await o._resources,
|
|
288
292
|
)
|
|
289
293
|
|
|
294
|
+
|
|
295
|
+
# This is included to provide an upgrade path for users who are using a version
|
|
296
|
+
# of the Pulumi SDK (<3.121.0) that does not include the `deprecated` decorator.
|
|
297
|
+
def deprecated(message: str) -> typing.Callable[[C], C]:
|
|
298
|
+
"""
|
|
299
|
+
Decorator to indicate a function is deprecated.
|
|
300
|
+
|
|
301
|
+
As well as inserting appropriate statements to indicate that the function is
|
|
302
|
+
deprecated, this decorator also tags the function with a special attribute
|
|
303
|
+
so that Pulumi code can detect that it is deprecated and react appropriately
|
|
304
|
+
in certain situations.
|
|
305
|
+
|
|
306
|
+
message is the deprecation message that should be printed if the function is called.
|
|
307
|
+
"""
|
|
308
|
+
|
|
309
|
+
def decorator(fn: C) -> C:
|
|
310
|
+
if not callable(fn):
|
|
311
|
+
raise TypeError("Expected fn to be callable")
|
|
312
|
+
|
|
313
|
+
@functools.wraps(fn)
|
|
314
|
+
def deprecated_fn(*args, **kwargs):
|
|
315
|
+
warnings.warn(message)
|
|
316
|
+
pulumi.warn(f"{fn.__name__} is deprecated: {message}")
|
|
317
|
+
|
|
318
|
+
return fn(*args, **kwargs)
|
|
319
|
+
|
|
320
|
+
deprecated_fn.__dict__["_pulumi_deprecated_callable"] = fn
|
|
321
|
+
return typing.cast(C, deprecated_fn)
|
|
322
|
+
|
|
323
|
+
return decorator
|
|
324
|
+
|
|
290
325
|
def get_plugin_download_url():
|
|
291
326
|
return None
|
|
@@ -61,13 +61,11 @@ class LetsEncryptCertificateArgs:
|
|
|
61
61
|
|
|
62
62
|
@property
|
|
63
63
|
@pulumi.getter(name="contactId")
|
|
64
|
+
@_utilities.deprecated("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""")
|
|
64
65
|
def contact_id(self) -> Optional[pulumi.Input[int]]:
|
|
65
66
|
"""
|
|
66
67
|
The contact id for the certificate
|
|
67
68
|
"""
|
|
68
|
-
warnings.warn("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""", DeprecationWarning)
|
|
69
|
-
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.""")
|
|
70
|
-
|
|
71
69
|
return pulumi.get(self, "contact_id")
|
|
72
70
|
|
|
73
71
|
@contact_id.setter
|
|
@@ -164,13 +162,11 @@ class _LetsEncryptCertificateState:
|
|
|
164
162
|
|
|
165
163
|
@property
|
|
166
164
|
@pulumi.getter(name="contactId")
|
|
165
|
+
@_utilities.deprecated("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""")
|
|
167
166
|
def contact_id(self) -> Optional[pulumi.Input[int]]:
|
|
168
167
|
"""
|
|
169
168
|
The contact id for the certificate
|
|
170
169
|
"""
|
|
171
|
-
warnings.warn("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""", DeprecationWarning)
|
|
172
|
-
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.""")
|
|
173
|
-
|
|
174
170
|
return pulumi.get(self, "contact_id")
|
|
175
171
|
|
|
176
172
|
@contact_id.setter
|
|
@@ -433,13 +429,11 @@ class LetsEncryptCertificate(pulumi.CustomResource):
|
|
|
433
429
|
|
|
434
430
|
@property
|
|
435
431
|
@pulumi.getter(name="contactId")
|
|
432
|
+
@_utilities.deprecated("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""")
|
|
436
433
|
def contact_id(self) -> pulumi.Output[Optional[int]]:
|
|
437
434
|
"""
|
|
438
435
|
The contact id for the certificate
|
|
439
436
|
"""
|
|
440
|
-
warnings.warn("""contact_id is deprecated and has no effect. The attribute will be removed in the next major version.""", DeprecationWarning)
|
|
441
|
-
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.""")
|
|
442
|
-
|
|
443
437
|
return pulumi.get(self, "contact_id")
|
|
444
438
|
|
|
445
439
|
@property
|
|
File without changes
|
{pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/config/vars.py
RENAMED
|
File without changes
|
{pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/domain.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/get_zone.py
RENAMED
|
File without changes
|
{pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/provider.py
RENAMED
|
File without changes
|
{pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/py.typed
RENAMED
|
File without changes
|
{pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/record.py
RENAMED
|
File without changes
|
{pulumi_dnsimple-3.5.0a1719033936 → pulumi_dnsimple-3.5.0a1719295401}/pulumi_dnsimple/zone_record.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|