pulumi-wavefront 3.1.2__py3-none-any.whl → 3.1.3a1721245298__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_wavefront/_inputs.py +10 -0
- pulumi_wavefront/_utilities.py +38 -4
- pulumi_wavefront/outputs.py +10 -0
- pulumi_wavefront/pulumi-plugin.json +2 -1
- {pulumi_wavefront-3.1.2.dist-info → pulumi_wavefront-3.1.3a1721245298.dist-info}/METADATA +1 -1
- {pulumi_wavefront-3.1.2.dist-info → pulumi_wavefront-3.1.3a1721245298.dist-info}/RECORD +8 -8
- {pulumi_wavefront-3.1.2.dist-info → pulumi_wavefront-3.1.3a1721245298.dist-info}/WHEEL +1 -1
- {pulumi_wavefront-3.1.2.dist-info → pulumi_wavefront-3.1.3a1721245298.dist-info}/top_level.txt +0 -0
pulumi_wavefront/_inputs.py
CHANGED
@@ -1786,12 +1786,19 @@ class MetricsPolicyPolicyRuleTagArgs:
|
|
1786
1786
|
def __init__(__self__, *,
|
1787
1787
|
key: pulumi.Input[str],
|
1788
1788
|
value: pulumi.Input[str]):
|
1789
|
+
"""
|
1790
|
+
:param pulumi.Input[str] key: The tag's key.
|
1791
|
+
:param pulumi.Input[str] value: The tag's value.
|
1792
|
+
"""
|
1789
1793
|
pulumi.set(__self__, "key", key)
|
1790
1794
|
pulumi.set(__self__, "value", value)
|
1791
1795
|
|
1792
1796
|
@property
|
1793
1797
|
@pulumi.getter
|
1794
1798
|
def key(self) -> pulumi.Input[str]:
|
1799
|
+
"""
|
1800
|
+
The tag's key.
|
1801
|
+
"""
|
1795
1802
|
return pulumi.get(self, "key")
|
1796
1803
|
|
1797
1804
|
@key.setter
|
@@ -1801,6 +1808,9 @@ class MetricsPolicyPolicyRuleTagArgs:
|
|
1801
1808
|
@property
|
1802
1809
|
@pulumi.getter
|
1803
1810
|
def value(self) -> pulumi.Input[str]:
|
1811
|
+
"""
|
1812
|
+
The tag's value.
|
1813
|
+
"""
|
1804
1814
|
return pulumi.get(self, "value")
|
1805
1815
|
|
1806
1816
|
@value.setter
|
pulumi_wavefront/_utilities.py
CHANGED
@@ -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:
|
@@ -96,10 +100,6 @@ def _get_semver_version():
|
|
96
100
|
_version = _get_semver_version()
|
97
101
|
_version_str = str(_version)
|
98
102
|
|
99
|
-
|
100
|
-
def get_version():
|
101
|
-
return _version_str
|
102
|
-
|
103
103
|
def get_resource_opts_defaults() -> pulumi.ResourceOptions:
|
104
104
|
return pulumi.ResourceOptions(
|
105
105
|
version=get_version(),
|
@@ -287,5 +287,39 @@ async def _await_output(o: pulumi.Output[typing.Any]) -> typing.Tuple[object, bo
|
|
287
287
|
await o._resources,
|
288
288
|
)
|
289
289
|
|
290
|
+
|
291
|
+
# This is included to provide an upgrade path for users who are using a version
|
292
|
+
# of the Pulumi SDK (<3.121.0) that does not include the `deprecated` decorator.
|
293
|
+
def deprecated(message: str) -> typing.Callable[[C], C]:
|
294
|
+
"""
|
295
|
+
Decorator to indicate a function is deprecated.
|
296
|
+
|
297
|
+
As well as inserting appropriate statements to indicate that the function is
|
298
|
+
deprecated, this decorator also tags the function with a special attribute
|
299
|
+
so that Pulumi code can detect that it is deprecated and react appropriately
|
300
|
+
in certain situations.
|
301
|
+
|
302
|
+
message is the deprecation message that should be printed if the function is called.
|
303
|
+
"""
|
304
|
+
|
305
|
+
def decorator(fn: C) -> C:
|
306
|
+
if not callable(fn):
|
307
|
+
raise TypeError("Expected fn to be callable")
|
308
|
+
|
309
|
+
@functools.wraps(fn)
|
310
|
+
def deprecated_fn(*args, **kwargs):
|
311
|
+
warnings.warn(message)
|
312
|
+
pulumi.warn(f"{fn.__name__} is deprecated: {message}")
|
313
|
+
|
314
|
+
return fn(*args, **kwargs)
|
315
|
+
|
316
|
+
deprecated_fn.__dict__["_pulumi_deprecated_callable"] = fn
|
317
|
+
return typing.cast(C, deprecated_fn)
|
318
|
+
|
319
|
+
return decorator
|
320
|
+
|
290
321
|
def get_plugin_download_url():
|
291
322
|
return None
|
323
|
+
|
324
|
+
def get_version():
|
325
|
+
return _version_str
|
pulumi_wavefront/outputs.py
CHANGED
@@ -1643,17 +1643,27 @@ class MetricsPolicyPolicyRuleTag(dict):
|
|
1643
1643
|
def __init__(__self__, *,
|
1644
1644
|
key: str,
|
1645
1645
|
value: str):
|
1646
|
+
"""
|
1647
|
+
:param str key: The tag's key.
|
1648
|
+
:param str value: The tag's value.
|
1649
|
+
"""
|
1646
1650
|
pulumi.set(__self__, "key", key)
|
1647
1651
|
pulumi.set(__self__, "value", value)
|
1648
1652
|
|
1649
1653
|
@property
|
1650
1654
|
@pulumi.getter
|
1651
1655
|
def key(self) -> str:
|
1656
|
+
"""
|
1657
|
+
The tag's key.
|
1658
|
+
"""
|
1652
1659
|
return pulumi.get(self, "key")
|
1653
1660
|
|
1654
1661
|
@property
|
1655
1662
|
@pulumi.getter
|
1656
1663
|
def value(self) -> str:
|
1664
|
+
"""
|
1665
|
+
The tag's value.
|
1666
|
+
"""
|
1657
1667
|
return pulumi.get(self, "value")
|
1658
1668
|
|
1659
1669
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
pulumi_wavefront/__init__.py,sha256=GzcOZqBCXeYt4sDA_t2C2l5NHhs3DEqcURTuQYA73r4,6689
|
2
|
-
pulumi_wavefront/_inputs.py,sha256=
|
3
|
-
pulumi_wavefront/_utilities.py,sha256=
|
2
|
+
pulumi_wavefront/_inputs.py,sha256=NEbInNw68o-K4j0lF-KdJoi7-jIzLGrATYgxk2epxTA,81066
|
3
|
+
pulumi_wavefront/_utilities.py,sha256=ebJyWyMCMYLpnVkJVRkMiyEceWyxZ09ZYhxd1W7MWxs,10446
|
4
4
|
pulumi_wavefront/alert.py,sha256=oNiT0TCLVecc4Sstz0NhVy7xYtOYR3lDVLNTWTs_jdY,55260
|
5
5
|
pulumi_wavefront/alert_target.py,sha256=rDLUITQevhF3Vx_CF_V4jNwJuJm2XMBU91UjNG0uI1E,33237
|
6
6
|
pulumi_wavefront/cloud_integration_app_dynamics.py,sha256=Upl5F0mWF166TAUddGMaVVTt6SHSWG5BCch-dwwuums,46881
|
@@ -41,9 +41,9 @@ pulumi_wavefront/get_users.py,sha256=q5SoIap5-ObAiskmW4WlrdfwbloS1ZnPuvJVOGYpnDQ
|
|
41
41
|
pulumi_wavefront/ingestion_policy.py,sha256=ko3G_suLkBlwCPwpBahVBJ2lMtJfdy8DgUO0BQhf_V4,17169
|
42
42
|
pulumi_wavefront/maintenance_window.py,sha256=rkCvNO0_xnlRIJ6RVOUyeU_IiiwpjZXBOu_cjxBKj38,34482
|
43
43
|
pulumi_wavefront/metrics_policy.py,sha256=YGB9Gyus2ZJqh9kbeQttrWMnHKkJBBhLNKcHG-svFiU,12867
|
44
|
-
pulumi_wavefront/outputs.py,sha256=
|
44
|
+
pulumi_wavefront/outputs.py,sha256=5GCzNAB5Mygso2jqdGP2Ik64DieHEs9T_PmMPH6E4ZM,217889
|
45
45
|
pulumi_wavefront/provider.py,sha256=McJomvmXAM64Cs_1TyQmUBDHnEOgJtmEXszmWqj6P3w,5652
|
46
|
-
pulumi_wavefront/pulumi-plugin.json,sha256=
|
46
|
+
pulumi_wavefront/pulumi-plugin.json,sha256=8poxfKxKoIlC0yt1O_tr1DyxAwu0babYqkQoeDXCzlA,85
|
47
47
|
pulumi_wavefront/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
48
48
|
pulumi_wavefront/role.py,sha256=tgsV-kDNC3Mn4b5zonskg43PFf5ejwH2jaFqoGirXdM,14021
|
49
49
|
pulumi_wavefront/service_account.py,sha256=46CAwl6_PVzZOj-jezK4wWNPVcITEA-Oo5ptSFCyin0,18954
|
@@ -52,7 +52,7 @@ pulumi_wavefront/user_group.py,sha256=NeFdwzFBb2exfTksWCc6YRAAPD2VHI-PPsyyjl4j92
|
|
52
52
|
pulumi_wavefront/config/__init__.py,sha256=cfY0smRZD3fDVc93ZIAxEl_IM2pynmXB52n3Ahzi030,285
|
53
53
|
pulumi_wavefront/config/__init__.pyi,sha256=d2VUcPrbCK4iSf8oWPkl-TIq_T5OF3b5aQBtCM7CSjE,417
|
54
54
|
pulumi_wavefront/config/vars.py,sha256=FLpRg92qDNv_ERp4Re35vq8ik9UWlBjEXBaB1vTwfMQ,733
|
55
|
-
pulumi_wavefront-3.1.
|
56
|
-
pulumi_wavefront-3.1.
|
57
|
-
pulumi_wavefront-3.1.
|
58
|
-
pulumi_wavefront-3.1.
|
55
|
+
pulumi_wavefront-3.1.3a1721245298.dist-info/METADATA,sha256=jaoYKvx3kAOvrpqEsTZcT5e3tR--h8LnghtcfHRxKpE,2893
|
56
|
+
pulumi_wavefront-3.1.3a1721245298.dist-info/WHEEL,sha256=Z4pYXqR_rTB7OWNDYFOm1qRk0RX6GFP2o8LgvP453Hk,91
|
57
|
+
pulumi_wavefront-3.1.3a1721245298.dist-info/top_level.txt,sha256=fLT-9Ork4twhhON_den56-cfgFm6yOFEMvA18RQ3y8k,17
|
58
|
+
pulumi_wavefront-3.1.3a1721245298.dist-info/RECORD,,
|
{pulumi_wavefront-3.1.2.dist-info → pulumi_wavefront-3.1.3a1721245298.dist-info}/top_level.txt
RENAMED
File without changes
|