pulumi-newrelic 5.16.0a1698964311__py3-none-any.whl → 5.58.0a1763707205__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-newrelic might be problematic. Click here for more details.
- pulumi_newrelic/__init__.py +58 -1
- pulumi_newrelic/_inputs.py +10772 -2775
- pulumi_newrelic/_utilities.py +92 -11
- pulumi_newrelic/account_management.py +56 -42
- pulumi_newrelic/alert_channel.py +177 -151
- pulumi_newrelic/alert_condition.py +313 -301
- pulumi_newrelic/alert_muting_rule.py +195 -138
- pulumi_newrelic/alert_policy.py +157 -109
- pulumi_newrelic/alert_policy_channel.py +95 -81
- pulumi_newrelic/api_access_key.py +191 -209
- pulumi_newrelic/browser_application.py +161 -153
- pulumi_newrelic/cloud/__init__.py +3 -1
- pulumi_newrelic/cloud/_inputs.py +4267 -2710
- pulumi_newrelic/cloud/aws_govcloud_integrations.py +238 -200
- pulumi_newrelic/cloud/aws_govcloud_link_account.py +159 -212
- pulumi_newrelic/cloud/aws_integrations.py +518 -1490
- pulumi_newrelic/cloud/aws_link_account.py +88 -76
- pulumi_newrelic/cloud/azure_integrations.py +681 -587
- pulumi_newrelic/cloud/azure_link_account.py +129 -117
- pulumi_newrelic/cloud/gcp_integrations.py +436 -408
- pulumi_newrelic/cloud/gcp_link_account.py +71 -59
- pulumi_newrelic/cloud/oci_link_account.py +926 -0
- pulumi_newrelic/cloud/outputs.py +1678 -2317
- pulumi_newrelic/config/__init__.py +2 -1
- pulumi_newrelic/config/__init__.pyi +45 -0
- pulumi_newrelic/config/vars.py +22 -17
- pulumi_newrelic/data_partition_rule.py +129 -117
- pulumi_newrelic/entity_tags.py +153 -31
- pulumi_newrelic/events_to_metrics_rule.py +114 -102
- pulumi_newrelic/get_account.py +41 -29
- pulumi_newrelic/get_alert_channel.py +73 -28
- pulumi_newrelic/get_alert_policy.py +83 -34
- pulumi_newrelic/get_application.py +51 -39
- pulumi_newrelic/get_authentication_domain.py +111 -0
- pulumi_newrelic/get_cloud_account.py +43 -31
- pulumi_newrelic/get_entity.py +126 -121
- pulumi_newrelic/get_group.py +190 -0
- pulumi_newrelic/get_key_transaction.py +117 -38
- pulumi_newrelic/get_notification_destination.py +86 -36
- pulumi_newrelic/get_obfuscation_expression.py +47 -35
- pulumi_newrelic/get_service_level_alert_helper.py +237 -137
- pulumi_newrelic/get_test_grok_pattern.py +47 -32
- pulumi_newrelic/get_user.py +165 -0
- pulumi_newrelic/group.py +286 -0
- pulumi_newrelic/infra_alert_condition.py +400 -382
- pulumi_newrelic/insights/__init__.py +2 -1
- pulumi_newrelic/insights/_inputs.py +94 -23
- pulumi_newrelic/insights/event.py +56 -48
- pulumi_newrelic/insights/outputs.py +51 -18
- pulumi_newrelic/key_transaction.py +465 -0
- pulumi_newrelic/log_parsing_rule.py +169 -153
- pulumi_newrelic/monitor_downtime.py +914 -0
- pulumi_newrelic/notification_channel.py +560 -418
- pulumi_newrelic/notification_destination.py +379 -124
- pulumi_newrelic/nrql_alert_condition.py +945 -513
- pulumi_newrelic/nrql_drop_rule.py +121 -129
- pulumi_newrelic/obfuscation_expression.py +88 -76
- pulumi_newrelic/obfuscation_rule.py +123 -109
- pulumi_newrelic/one_dashboard.py +118 -108
- pulumi_newrelic/one_dashboard_json.py +77 -67
- pulumi_newrelic/one_dashboard_raw.py +214 -202
- pulumi_newrelic/outputs.py +5491 -2141
- pulumi_newrelic/pipeline_cloud_rule.py +335 -0
- pulumi_newrelic/plugins/__init__.py +2 -1
- pulumi_newrelic/plugins/_inputs.py +520 -90
- pulumi_newrelic/plugins/application_settings.py +463 -167
- pulumi_newrelic/plugins/outputs.py +337 -75
- pulumi_newrelic/plugins/workload.py +387 -151
- pulumi_newrelic/provider.py +156 -142
- pulumi_newrelic/pulumi-plugin.json +2 -1
- pulumi_newrelic/service_level.py +277 -255
- pulumi_newrelic/synthetics/__init__.py +2 -1
- pulumi_newrelic/synthetics/_inputs.py +275 -106
- pulumi_newrelic/synthetics/alert_condition.py +174 -160
- pulumi_newrelic/synthetics/broken_links_monitor.py +367 -207
- pulumi_newrelic/synthetics/cert_check_monitor.py +380 -218
- pulumi_newrelic/synthetics/get_private_location.py +51 -39
- pulumi_newrelic/synthetics/get_secure_credential.py +39 -27
- pulumi_newrelic/synthetics/monitor.py +668 -462
- pulumi_newrelic/synthetics/multi_location_alert_condition.py +219 -201
- pulumi_newrelic/synthetics/outputs.py +102 -85
- pulumi_newrelic/synthetics/private_location.py +120 -110
- pulumi_newrelic/synthetics/script_monitor.py +623 -375
- pulumi_newrelic/synthetics/secure_credential.py +99 -93
- pulumi_newrelic/synthetics/step_monitor.py +545 -201
- pulumi_newrelic/user.py +366 -0
- pulumi_newrelic/workflow.py +348 -312
- {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/METADATA +8 -7
- pulumi_newrelic-5.58.0a1763707205.dist-info/RECORD +92 -0
- {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/WHEEL +1 -1
- pulumi_newrelic-5.16.0a1698964311.dist-info/RECORD +0 -82
- {pulumi_newrelic-5.16.0a1698964311.dist-info → pulumi_newrelic-5.58.0a1763707205.dist-info}/top_level.txt +0 -0
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
# coding=utf-8
|
|
2
|
-
# *** WARNING: this file was generated by
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import builtins as _builtins
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
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
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -22,8 +27,8 @@ class GetObfuscationExpressionResult:
|
|
|
22
27
|
A collection of values returned by getObfuscationExpression.
|
|
23
28
|
"""
|
|
24
29
|
def __init__(__self__, account_id=None, id=None, name=None):
|
|
25
|
-
if account_id and not isinstance(account_id,
|
|
26
|
-
raise TypeError("Expected argument 'account_id' to be a
|
|
30
|
+
if account_id and not isinstance(account_id, str):
|
|
31
|
+
raise TypeError("Expected argument 'account_id' to be a str")
|
|
27
32
|
pulumi.set(__self__, "account_id", account_id)
|
|
28
33
|
if id and not isinstance(id, str):
|
|
29
34
|
raise TypeError("Expected argument 'id' to be a str")
|
|
@@ -32,22 +37,22 @@ class GetObfuscationExpressionResult:
|
|
|
32
37
|
raise TypeError("Expected argument 'name' to be a str")
|
|
33
38
|
pulumi.set(__self__, "name", name)
|
|
34
39
|
|
|
35
|
-
@property
|
|
40
|
+
@_builtins.property
|
|
36
41
|
@pulumi.getter(name="accountId")
|
|
37
|
-
def account_id(self) -> Optional[
|
|
42
|
+
def account_id(self) -> Optional[_builtins.str]:
|
|
38
43
|
return pulumi.get(self, "account_id")
|
|
39
44
|
|
|
40
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
41
46
|
@pulumi.getter
|
|
42
|
-
def id(self) -> str:
|
|
47
|
+
def id(self) -> _builtins.str:
|
|
43
48
|
"""
|
|
44
49
|
The provider-assigned unique ID for this managed resource.
|
|
45
50
|
"""
|
|
46
51
|
return pulumi.get(self, "id")
|
|
47
52
|
|
|
48
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
49
54
|
@pulumi.getter
|
|
50
|
-
def name(self) -> str:
|
|
55
|
+
def name(self) -> _builtins.str:
|
|
51
56
|
return pulumi.get(self, "name")
|
|
52
57
|
|
|
53
58
|
|
|
@@ -62,8 +67,8 @@ class AwaitableGetObfuscationExpressionResult(GetObfuscationExpressionResult):
|
|
|
62
67
|
name=self.name)
|
|
63
68
|
|
|
64
69
|
|
|
65
|
-
def get_obfuscation_expression(account_id: Optional[
|
|
66
|
-
name: Optional[str] = None,
|
|
70
|
+
def get_obfuscation_expression(account_id: Optional[_builtins.str] = None,
|
|
71
|
+
name: Optional[_builtins.str] = None,
|
|
67
72
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetObfuscationExpressionResult:
|
|
68
73
|
"""
|
|
69
74
|
Use this data source to get information about a specific Obfuscation Expression in New Relic that already exists.
|
|
@@ -74,22 +79,23 @@ def get_obfuscation_expression(account_id: Optional[int] = None,
|
|
|
74
79
|
import pulumi
|
|
75
80
|
import pulumi_newrelic as newrelic
|
|
76
81
|
|
|
77
|
-
expression = newrelic.get_obfuscation_expression(account_id=123456,
|
|
82
|
+
expression = newrelic.get_obfuscation_expression(account_id="123456",
|
|
78
83
|
name="The expression")
|
|
79
84
|
rule = newrelic.ObfuscationRule("rule",
|
|
85
|
+
name="ruleName",
|
|
80
86
|
description="description of the rule",
|
|
81
87
|
filter="hostStatus=running",
|
|
82
88
|
enabled=True,
|
|
83
|
-
actions=[
|
|
84
|
-
attributes
|
|
85
|
-
expression_id
|
|
86
|
-
method
|
|
87
|
-
|
|
89
|
+
actions=[{
|
|
90
|
+
"attributes": ["message"],
|
|
91
|
+
"expression_id": expression.id,
|
|
92
|
+
"method": "MASK",
|
|
93
|
+
}])
|
|
88
94
|
```
|
|
89
95
|
|
|
90
96
|
|
|
91
|
-
:param
|
|
92
|
-
:param str name: Name of expression.
|
|
97
|
+
:param _builtins.str account_id: The account id associated with the obfuscation expression. If left empty will default to account ID specified in provider level configuration.
|
|
98
|
+
:param _builtins.str name: Name of expression.
|
|
93
99
|
"""
|
|
94
100
|
__args__ = dict()
|
|
95
101
|
__args__['accountId'] = account_id
|
|
@@ -101,12 +107,9 @@ def get_obfuscation_expression(account_id: Optional[int] = None,
|
|
|
101
107
|
account_id=pulumi.get(__ret__, 'account_id'),
|
|
102
108
|
id=pulumi.get(__ret__, 'id'),
|
|
103
109
|
name=pulumi.get(__ret__, 'name'))
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
def get_obfuscation_expression_output(account_id: Optional[pulumi.Input[Optional[int]]] = None,
|
|
108
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
109
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetObfuscationExpressionResult]:
|
|
110
|
+
def get_obfuscation_expression_output(account_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
111
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
112
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetObfuscationExpressionResult]:
|
|
110
113
|
"""
|
|
111
114
|
Use this data source to get information about a specific Obfuscation Expression in New Relic that already exists.
|
|
112
115
|
|
|
@@ -116,21 +119,30 @@ def get_obfuscation_expression_output(account_id: Optional[pulumi.Input[Optional
|
|
|
116
119
|
import pulumi
|
|
117
120
|
import pulumi_newrelic as newrelic
|
|
118
121
|
|
|
119
|
-
expression = newrelic.get_obfuscation_expression(account_id=123456,
|
|
122
|
+
expression = newrelic.get_obfuscation_expression(account_id="123456",
|
|
120
123
|
name="The expression")
|
|
121
124
|
rule = newrelic.ObfuscationRule("rule",
|
|
125
|
+
name="ruleName",
|
|
122
126
|
description="description of the rule",
|
|
123
127
|
filter="hostStatus=running",
|
|
124
128
|
enabled=True,
|
|
125
|
-
actions=[
|
|
126
|
-
attributes
|
|
127
|
-
expression_id
|
|
128
|
-
method
|
|
129
|
-
|
|
129
|
+
actions=[{
|
|
130
|
+
"attributes": ["message"],
|
|
131
|
+
"expression_id": expression.id,
|
|
132
|
+
"method": "MASK",
|
|
133
|
+
}])
|
|
130
134
|
```
|
|
131
135
|
|
|
132
136
|
|
|
133
|
-
:param
|
|
134
|
-
:param str name: Name of expression.
|
|
137
|
+
:param _builtins.str account_id: The account id associated with the obfuscation expression. If left empty will default to account ID specified in provider level configuration.
|
|
138
|
+
:param _builtins.str name: Name of expression.
|
|
135
139
|
"""
|
|
136
|
-
|
|
140
|
+
__args__ = dict()
|
|
141
|
+
__args__['accountId'] = account_id
|
|
142
|
+
__args__['name'] = name
|
|
143
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
144
|
+
__ret__ = pulumi.runtime.invoke_output('newrelic:index/getObfuscationExpression:getObfuscationExpression', __args__, opts=opts, typ=GetObfuscationExpressionResult)
|
|
145
|
+
return __ret__.apply(lambda __response__: GetObfuscationExpressionResult(
|
|
146
|
+
account_id=pulumi.get(__response__, 'account_id'),
|
|
147
|
+
id=pulumi.get(__response__, 'id'),
|
|
148
|
+
name=pulumi.get(__response__, 'name')))
|