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__ = ['OneDashboardJsonArgs', 'OneDashboardJson']
|
|
@@ -14,57 +19,57 @@ __all__ = ['OneDashboardJsonArgs', 'OneDashboardJson']
|
|
|
14
19
|
@pulumi.input_type
|
|
15
20
|
class OneDashboardJsonArgs:
|
|
16
21
|
def __init__(__self__, *,
|
|
17
|
-
json: pulumi.Input[str],
|
|
18
|
-
account_id: Optional[pulumi.Input[
|
|
22
|
+
json: pulumi.Input[_builtins.str],
|
|
23
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
19
24
|
"""
|
|
20
25
|
The set of arguments for constructing a OneDashboardJson resource.
|
|
21
|
-
:param pulumi.Input[str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
|
|
22
|
-
:param pulumi.Input[
|
|
26
|
+
:param pulumi.Input[_builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
|
|
27
|
+
:param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
|
23
28
|
"""
|
|
24
29
|
pulumi.set(__self__, "json", json)
|
|
25
30
|
if account_id is not None:
|
|
26
31
|
pulumi.set(__self__, "account_id", account_id)
|
|
27
32
|
|
|
28
|
-
@property
|
|
33
|
+
@_builtins.property
|
|
29
34
|
@pulumi.getter
|
|
30
|
-
def json(self) -> pulumi.Input[str]:
|
|
35
|
+
def json(self) -> pulumi.Input[_builtins.str]:
|
|
31
36
|
"""
|
|
32
37
|
The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
|
|
33
38
|
"""
|
|
34
39
|
return pulumi.get(self, "json")
|
|
35
40
|
|
|
36
41
|
@json.setter
|
|
37
|
-
def json(self, value: pulumi.Input[str]):
|
|
42
|
+
def json(self, value: pulumi.Input[_builtins.str]):
|
|
38
43
|
pulumi.set(self, "json", value)
|
|
39
44
|
|
|
40
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
41
46
|
@pulumi.getter(name="accountId")
|
|
42
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
47
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
43
48
|
"""
|
|
44
49
|
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
|
45
50
|
"""
|
|
46
51
|
return pulumi.get(self, "account_id")
|
|
47
52
|
|
|
48
53
|
@account_id.setter
|
|
49
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
54
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
50
55
|
pulumi.set(self, "account_id", value)
|
|
51
56
|
|
|
52
57
|
|
|
53
58
|
@pulumi.input_type
|
|
54
59
|
class _OneDashboardJsonState:
|
|
55
60
|
def __init__(__self__, *,
|
|
56
|
-
account_id: Optional[pulumi.Input[
|
|
57
|
-
guid: Optional[pulumi.Input[str]] = None,
|
|
58
|
-
json: Optional[pulumi.Input[str]] = None,
|
|
59
|
-
permalink: Optional[pulumi.Input[str]] = None,
|
|
60
|
-
updated_at: Optional[pulumi.Input[str]] = None):
|
|
61
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
62
|
+
guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
63
|
+
json: Optional[pulumi.Input[_builtins.str]] = None,
|
|
64
|
+
permalink: Optional[pulumi.Input[_builtins.str]] = None,
|
|
65
|
+
updated_at: Optional[pulumi.Input[_builtins.str]] = None):
|
|
61
66
|
"""
|
|
62
67
|
Input properties used for looking up and filtering OneDashboardJson resources.
|
|
63
|
-
:param pulumi.Input[
|
|
64
|
-
:param pulumi.Input[str] guid: The unique entity identifier of the dashboard in New Relic.
|
|
65
|
-
:param pulumi.Input[str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
|
|
66
|
-
:param pulumi.Input[str] permalink: The URL for viewing the dashboard.
|
|
67
|
-
:param pulumi.Input[str] updated_at: The date and time when the dashboard was last updated.
|
|
68
|
+
:param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
|
69
|
+
:param pulumi.Input[_builtins.str] guid: The unique entity identifier of the dashboard in New Relic.
|
|
70
|
+
:param pulumi.Input[_builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
|
|
71
|
+
:param pulumi.Input[_builtins.str] permalink: The URL for viewing the dashboard.
|
|
72
|
+
:param pulumi.Input[_builtins.str] updated_at: The date and time when the dashboard was last updated.
|
|
68
73
|
"""
|
|
69
74
|
if account_id is not None:
|
|
70
75
|
pulumi.set(__self__, "account_id", account_id)
|
|
@@ -77,88 +82,91 @@ class _OneDashboardJsonState:
|
|
|
77
82
|
if updated_at is not None:
|
|
78
83
|
pulumi.set(__self__, "updated_at", updated_at)
|
|
79
84
|
|
|
80
|
-
@property
|
|
85
|
+
@_builtins.property
|
|
81
86
|
@pulumi.getter(name="accountId")
|
|
82
|
-
def account_id(self) -> Optional[pulumi.Input[
|
|
87
|
+
def account_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
83
88
|
"""
|
|
84
89
|
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
|
85
90
|
"""
|
|
86
91
|
return pulumi.get(self, "account_id")
|
|
87
92
|
|
|
88
93
|
@account_id.setter
|
|
89
|
-
def account_id(self, value: Optional[pulumi.Input[
|
|
94
|
+
def account_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
90
95
|
pulumi.set(self, "account_id", value)
|
|
91
96
|
|
|
92
|
-
@property
|
|
97
|
+
@_builtins.property
|
|
93
98
|
@pulumi.getter
|
|
94
|
-
def guid(self) -> Optional[pulumi.Input[str]]:
|
|
99
|
+
def guid(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
95
100
|
"""
|
|
96
101
|
The unique entity identifier of the dashboard in New Relic.
|
|
97
102
|
"""
|
|
98
103
|
return pulumi.get(self, "guid")
|
|
99
104
|
|
|
100
105
|
@guid.setter
|
|
101
|
-
def guid(self, value: Optional[pulumi.Input[str]]):
|
|
106
|
+
def guid(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
102
107
|
pulumi.set(self, "guid", value)
|
|
103
108
|
|
|
104
|
-
@property
|
|
109
|
+
@_builtins.property
|
|
105
110
|
@pulumi.getter
|
|
106
|
-
def json(self) -> Optional[pulumi.Input[str]]:
|
|
111
|
+
def json(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
107
112
|
"""
|
|
108
113
|
The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
|
|
109
114
|
"""
|
|
110
115
|
return pulumi.get(self, "json")
|
|
111
116
|
|
|
112
117
|
@json.setter
|
|
113
|
-
def json(self, value: Optional[pulumi.Input[str]]):
|
|
118
|
+
def json(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
114
119
|
pulumi.set(self, "json", value)
|
|
115
120
|
|
|
116
|
-
@property
|
|
121
|
+
@_builtins.property
|
|
117
122
|
@pulumi.getter
|
|
118
|
-
def permalink(self) -> Optional[pulumi.Input[str]]:
|
|
123
|
+
def permalink(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
119
124
|
"""
|
|
120
125
|
The URL for viewing the dashboard.
|
|
121
126
|
"""
|
|
122
127
|
return pulumi.get(self, "permalink")
|
|
123
128
|
|
|
124
129
|
@permalink.setter
|
|
125
|
-
def permalink(self, value: Optional[pulumi.Input[str]]):
|
|
130
|
+
def permalink(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
126
131
|
pulumi.set(self, "permalink", value)
|
|
127
132
|
|
|
128
|
-
@property
|
|
133
|
+
@_builtins.property
|
|
129
134
|
@pulumi.getter(name="updatedAt")
|
|
130
|
-
def updated_at(self) -> Optional[pulumi.Input[str]]:
|
|
135
|
+
def updated_at(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
131
136
|
"""
|
|
132
137
|
The date and time when the dashboard was last updated.
|
|
133
138
|
"""
|
|
134
139
|
return pulumi.get(self, "updated_at")
|
|
135
140
|
|
|
136
141
|
@updated_at.setter
|
|
137
|
-
def updated_at(self, value: Optional[pulumi.Input[str]]):
|
|
142
|
+
def updated_at(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
138
143
|
pulumi.set(self, "updated_at", value)
|
|
139
144
|
|
|
140
145
|
|
|
146
|
+
@pulumi.type_token("newrelic:index/oneDashboardJson:OneDashboardJson")
|
|
141
147
|
class OneDashboardJson(pulumi.CustomResource):
|
|
142
148
|
@overload
|
|
143
149
|
def __init__(__self__,
|
|
144
150
|
resource_name: str,
|
|
145
151
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
146
|
-
account_id: Optional[pulumi.Input[
|
|
147
|
-
json: Optional[pulumi.Input[str]] = None,
|
|
152
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
153
|
+
json: Optional[pulumi.Input[_builtins.str]] = None,
|
|
148
154
|
__props__=None):
|
|
149
155
|
"""
|
|
150
156
|
## Import
|
|
151
157
|
|
|
152
|
-
New Relic dashboards can be imported using their GUID, e.g.
|
|
158
|
+
New Relic dashboards can be imported using their GUID, e.g.
|
|
159
|
+
|
|
160
|
+
bash
|
|
153
161
|
|
|
154
162
|
```sh
|
|
155
|
-
|
|
163
|
+
$ pulumi import newrelic:index/oneDashboardJson:OneDashboardJson my_dashboard <dashboard GUID>
|
|
156
164
|
```
|
|
157
165
|
|
|
158
166
|
:param str resource_name: The name of the resource.
|
|
159
167
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
160
|
-
:param pulumi.Input[
|
|
161
|
-
:param pulumi.Input[str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
|
|
168
|
+
:param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
|
169
|
+
:param pulumi.Input[_builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
|
|
162
170
|
"""
|
|
163
171
|
...
|
|
164
172
|
@overload
|
|
@@ -169,10 +177,12 @@ class OneDashboardJson(pulumi.CustomResource):
|
|
|
169
177
|
"""
|
|
170
178
|
## Import
|
|
171
179
|
|
|
172
|
-
New Relic dashboards can be imported using their GUID, e.g.
|
|
180
|
+
New Relic dashboards can be imported using their GUID, e.g.
|
|
181
|
+
|
|
182
|
+
bash
|
|
173
183
|
|
|
174
184
|
```sh
|
|
175
|
-
|
|
185
|
+
$ pulumi import newrelic:index/oneDashboardJson:OneDashboardJson my_dashboard <dashboard GUID>
|
|
176
186
|
```
|
|
177
187
|
|
|
178
188
|
:param str resource_name: The name of the resource.
|
|
@@ -190,8 +200,8 @@ class OneDashboardJson(pulumi.CustomResource):
|
|
|
190
200
|
def _internal_init(__self__,
|
|
191
201
|
resource_name: str,
|
|
192
202
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
193
|
-
account_id: Optional[pulumi.Input[
|
|
194
|
-
json: Optional[pulumi.Input[str]] = None,
|
|
203
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
204
|
+
json: Optional[pulumi.Input[_builtins.str]] = None,
|
|
195
205
|
__props__=None):
|
|
196
206
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
197
207
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -218,11 +228,11 @@ class OneDashboardJson(pulumi.CustomResource):
|
|
|
218
228
|
def get(resource_name: str,
|
|
219
229
|
id: pulumi.Input[str],
|
|
220
230
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
221
|
-
account_id: Optional[pulumi.Input[
|
|
222
|
-
guid: Optional[pulumi.Input[str]] = None,
|
|
223
|
-
json: Optional[pulumi.Input[str]] = None,
|
|
224
|
-
permalink: Optional[pulumi.Input[str]] = None,
|
|
225
|
-
updated_at: Optional[pulumi.Input[str]] = None) -> 'OneDashboardJson':
|
|
231
|
+
account_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
232
|
+
guid: Optional[pulumi.Input[_builtins.str]] = None,
|
|
233
|
+
json: Optional[pulumi.Input[_builtins.str]] = None,
|
|
234
|
+
permalink: Optional[pulumi.Input[_builtins.str]] = None,
|
|
235
|
+
updated_at: Optional[pulumi.Input[_builtins.str]] = None) -> 'OneDashboardJson':
|
|
226
236
|
"""
|
|
227
237
|
Get an existing OneDashboardJson resource's state with the given name, id, and optional extra
|
|
228
238
|
properties used to qualify the lookup.
|
|
@@ -230,11 +240,11 @@ class OneDashboardJson(pulumi.CustomResource):
|
|
|
230
240
|
:param str resource_name: The unique name of the resulting resource.
|
|
231
241
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
232
242
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
233
|
-
:param pulumi.Input[
|
|
234
|
-
:param pulumi.Input[str] guid: The unique entity identifier of the dashboard in New Relic.
|
|
235
|
-
:param pulumi.Input[str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
|
|
236
|
-
:param pulumi.Input[str] permalink: The URL for viewing the dashboard.
|
|
237
|
-
:param pulumi.Input[str] updated_at: The date and time when the dashboard was last updated.
|
|
243
|
+
:param pulumi.Input[_builtins.str] account_id: Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
|
244
|
+
:param pulumi.Input[_builtins.str] guid: The unique entity identifier of the dashboard in New Relic.
|
|
245
|
+
:param pulumi.Input[_builtins.str] json: The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
|
|
246
|
+
:param pulumi.Input[_builtins.str] permalink: The URL for viewing the dashboard.
|
|
247
|
+
:param pulumi.Input[_builtins.str] updated_at: The date and time when the dashboard was last updated.
|
|
238
248
|
"""
|
|
239
249
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
240
250
|
|
|
@@ -247,41 +257,41 @@ class OneDashboardJson(pulumi.CustomResource):
|
|
|
247
257
|
__props__.__dict__["updated_at"] = updated_at
|
|
248
258
|
return OneDashboardJson(resource_name, opts=opts, __props__=__props__)
|
|
249
259
|
|
|
250
|
-
@property
|
|
260
|
+
@_builtins.property
|
|
251
261
|
@pulumi.getter(name="accountId")
|
|
252
|
-
def account_id(self) -> pulumi.Output[
|
|
262
|
+
def account_id(self) -> pulumi.Output[_builtins.str]:
|
|
253
263
|
"""
|
|
254
264
|
Determines the New Relic account where the dashboard will be created. Defaults to the account associated with the API key used.
|
|
255
265
|
"""
|
|
256
266
|
return pulumi.get(self, "account_id")
|
|
257
267
|
|
|
258
|
-
@property
|
|
268
|
+
@_builtins.property
|
|
259
269
|
@pulumi.getter
|
|
260
|
-
def guid(self) -> pulumi.Output[str]:
|
|
270
|
+
def guid(self) -> pulumi.Output[_builtins.str]:
|
|
261
271
|
"""
|
|
262
272
|
The unique entity identifier of the dashboard in New Relic.
|
|
263
273
|
"""
|
|
264
274
|
return pulumi.get(self, "guid")
|
|
265
275
|
|
|
266
|
-
@property
|
|
276
|
+
@_builtins.property
|
|
267
277
|
@pulumi.getter
|
|
268
|
-
def json(self) -> pulumi.Output[str]:
|
|
278
|
+
def json(self) -> pulumi.Output[_builtins.str]:
|
|
269
279
|
"""
|
|
270
280
|
The JSON export of a dashboard. [The JSON can be exported from the UI](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/dashboards-charts-import-export-data/#dashboards)
|
|
271
281
|
"""
|
|
272
282
|
return pulumi.get(self, "json")
|
|
273
283
|
|
|
274
|
-
@property
|
|
284
|
+
@_builtins.property
|
|
275
285
|
@pulumi.getter
|
|
276
|
-
def permalink(self) -> pulumi.Output[str]:
|
|
286
|
+
def permalink(self) -> pulumi.Output[_builtins.str]:
|
|
277
287
|
"""
|
|
278
288
|
The URL for viewing the dashboard.
|
|
279
289
|
"""
|
|
280
290
|
return pulumi.get(self, "permalink")
|
|
281
291
|
|
|
282
|
-
@property
|
|
292
|
+
@_builtins.property
|
|
283
293
|
@pulumi.getter(name="updatedAt")
|
|
284
|
-
def updated_at(self) -> pulumi.Output[str]:
|
|
294
|
+
def updated_at(self) -> pulumi.Output[_builtins.str]:
|
|
285
295
|
"""
|
|
286
296
|
The date and time when the dashboard was last updated.
|
|
287
297
|
"""
|