pulumi-newrelic 5.21.0a1711028079__py3-none-any.whl → 5.22.0__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.
@@ -21,10 +21,10 @@ class BrowserApplicationArgs:
21
21
  name: Optional[pulumi.Input[str]] = None):
22
22
  """
23
23
  The set of arguments for constructing a BrowserApplication resource.
24
- :param pulumi.Input[int] account_id: The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
25
- :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
26
- :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
27
- :param pulumi.Input[str] loader_type: Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
24
+ :param pulumi.Input[int] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
25
+ :param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
26
+ :param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
27
+ :param pulumi.Input[str] loader_type: Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
28
28
  :param pulumi.Input[str] name: The name of the browser application.
29
29
  """
30
30
  if account_id is not None:
@@ -42,7 +42,7 @@ class BrowserApplicationArgs:
42
42
  @pulumi.getter(name="accountId")
43
43
  def account_id(self) -> Optional[pulumi.Input[int]]:
44
44
  """
45
- The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
45
+ The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
46
46
  """
47
47
  return pulumi.get(self, "account_id")
48
48
 
@@ -54,7 +54,7 @@ class BrowserApplicationArgs:
54
54
  @pulumi.getter(name="cookiesEnabled")
55
55
  def cookies_enabled(self) -> Optional[pulumi.Input[bool]]:
56
56
  """
57
- Configure cookies. The default is enabled: true.
57
+ Configures cookies. Defaults to `true`, if not specified.
58
58
  """
59
59
  return pulumi.get(self, "cookies_enabled")
60
60
 
@@ -66,7 +66,7 @@ class BrowserApplicationArgs:
66
66
  @pulumi.getter(name="distributedTracingEnabled")
67
67
  def distributed_tracing_enabled(self) -> Optional[pulumi.Input[bool]]:
68
68
  """
69
- Configure distributed tracing in browser apps. The default is enabled: true.
69
+ Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
70
70
  """
71
71
  return pulumi.get(self, "distributed_tracing_enabled")
72
72
 
@@ -78,7 +78,7 @@ class BrowserApplicationArgs:
78
78
  @pulumi.getter(name="loaderType")
79
79
  def loader_type(self) -> Optional[pulumi.Input[str]]:
80
80
  """
81
- Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
81
+ Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
82
82
  """
83
83
  return pulumi.get(self, "loader_type")
84
84
 
@@ -103,6 +103,7 @@ class BrowserApplicationArgs:
103
103
  class _BrowserApplicationState:
104
104
  def __init__(__self__, *,
105
105
  account_id: Optional[pulumi.Input[int]] = None,
106
+ application_id: Optional[pulumi.Input[str]] = None,
106
107
  cookies_enabled: Optional[pulumi.Input[bool]] = None,
107
108
  distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
108
109
  guid: Optional[pulumi.Input[str]] = None,
@@ -111,16 +112,19 @@ class _BrowserApplicationState:
111
112
  name: Optional[pulumi.Input[str]] = None):
112
113
  """
113
114
  Input properties used for looking up and filtering BrowserApplication resources.
114
- :param pulumi.Input[int] account_id: The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
115
- :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
116
- :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
115
+ :param pulumi.Input[int] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
116
+ :param pulumi.Input[str] application_id: The application ID of the browser application (not to be confused with GUID).
117
+ :param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
118
+ :param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
117
119
  :param pulumi.Input[str] guid: The GUID of the browser application.
118
- :param pulumi.Input[str] js_config: JavaScript configuration of the browser application encoded into a string.
119
- :param pulumi.Input[str] loader_type: Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
120
+ :param pulumi.Input[str] js_config: The JavaScript configuration of the browser application, encoded into a string.
121
+ :param pulumi.Input[str] loader_type: Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
120
122
  :param pulumi.Input[str] name: The name of the browser application.
121
123
  """
122
124
  if account_id is not None:
123
125
  pulumi.set(__self__, "account_id", account_id)
126
+ if application_id is not None:
127
+ pulumi.set(__self__, "application_id", application_id)
124
128
  if cookies_enabled is not None:
125
129
  pulumi.set(__self__, "cookies_enabled", cookies_enabled)
126
130
  if distributed_tracing_enabled is not None:
@@ -138,7 +142,7 @@ class _BrowserApplicationState:
138
142
  @pulumi.getter(name="accountId")
139
143
  def account_id(self) -> Optional[pulumi.Input[int]]:
140
144
  """
141
- The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
145
+ The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
142
146
  """
143
147
  return pulumi.get(self, "account_id")
144
148
 
@@ -146,11 +150,23 @@ class _BrowserApplicationState:
146
150
  def account_id(self, value: Optional[pulumi.Input[int]]):
147
151
  pulumi.set(self, "account_id", value)
148
152
 
153
+ @property
154
+ @pulumi.getter(name="applicationId")
155
+ def application_id(self) -> Optional[pulumi.Input[str]]:
156
+ """
157
+ The application ID of the browser application (not to be confused with GUID).
158
+ """
159
+ return pulumi.get(self, "application_id")
160
+
161
+ @application_id.setter
162
+ def application_id(self, value: Optional[pulumi.Input[str]]):
163
+ pulumi.set(self, "application_id", value)
164
+
149
165
  @property
150
166
  @pulumi.getter(name="cookiesEnabled")
151
167
  def cookies_enabled(self) -> Optional[pulumi.Input[bool]]:
152
168
  """
153
- Configure cookies. The default is enabled: true.
169
+ Configures cookies. Defaults to `true`, if not specified.
154
170
  """
155
171
  return pulumi.get(self, "cookies_enabled")
156
172
 
@@ -162,7 +178,7 @@ class _BrowserApplicationState:
162
178
  @pulumi.getter(name="distributedTracingEnabled")
163
179
  def distributed_tracing_enabled(self) -> Optional[pulumi.Input[bool]]:
164
180
  """
165
- Configure distributed tracing in browser apps. The default is enabled: true.
181
+ Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
166
182
  """
167
183
  return pulumi.get(self, "distributed_tracing_enabled")
168
184
 
@@ -186,7 +202,7 @@ class _BrowserApplicationState:
186
202
  @pulumi.getter(name="jsConfig")
187
203
  def js_config(self) -> Optional[pulumi.Input[str]]:
188
204
  """
189
- JavaScript configuration of the browser application encoded into a string.
205
+ The JavaScript configuration of the browser application, encoded into a string.
190
206
  """
191
207
  return pulumi.get(self, "js_config")
192
208
 
@@ -198,7 +214,7 @@ class _BrowserApplicationState:
198
214
  @pulumi.getter(name="loaderType")
199
215
  def loader_type(self) -> Optional[pulumi.Input[str]]:
200
216
  """
201
- Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
217
+ Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
202
218
  """
203
219
  return pulumi.get(self, "loader_type")
204
220
 
@@ -231,26 +247,9 @@ class BrowserApplication(pulumi.CustomResource):
231
247
  name: Optional[pulumi.Input[str]] = None,
232
248
  __props__=None):
233
249
  """
234
- Use this resource to create, update, and delete a standalone New Relic browser application.
235
-
236
- ## Example Usage
237
-
238
- Basic usage to create a standalone browser application.
239
- <!--Start PulumiCodeChooser -->
240
- ```python
241
- import pulumi
242
- import pulumi_newrelic as newrelic
243
-
244
- foo = newrelic.BrowserApplication("foo",
245
- cookies_enabled=True,
246
- distributed_tracing_enabled=True,
247
- loader_type="SPA")
248
- ```
249
- <!--End PulumiCodeChooser -->
250
-
251
250
  ## Import
252
251
 
253
- Browser applications can be imported using the GUID of the browser application.
252
+ A browser application can be imported using its GUID, i.e.
254
253
 
255
254
  bash
256
255
 
@@ -260,10 +259,10 @@ class BrowserApplication(pulumi.CustomResource):
260
259
 
261
260
  :param str resource_name: The name of the resource.
262
261
  :param pulumi.ResourceOptions opts: Options for the resource.
263
- :param pulumi.Input[int] account_id: The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
264
- :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
265
- :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
266
- :param pulumi.Input[str] loader_type: Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
262
+ :param pulumi.Input[int] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
263
+ :param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
264
+ :param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
265
+ :param pulumi.Input[str] loader_type: Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
267
266
  :param pulumi.Input[str] name: The name of the browser application.
268
267
  """
269
268
  ...
@@ -273,26 +272,9 @@ class BrowserApplication(pulumi.CustomResource):
273
272
  args: Optional[BrowserApplicationArgs] = None,
274
273
  opts: Optional[pulumi.ResourceOptions] = None):
275
274
  """
276
- Use this resource to create, update, and delete a standalone New Relic browser application.
277
-
278
- ## Example Usage
279
-
280
- Basic usage to create a standalone browser application.
281
- <!--Start PulumiCodeChooser -->
282
- ```python
283
- import pulumi
284
- import pulumi_newrelic as newrelic
285
-
286
- foo = newrelic.BrowserApplication("foo",
287
- cookies_enabled=True,
288
- distributed_tracing_enabled=True,
289
- loader_type="SPA")
290
- ```
291
- <!--End PulumiCodeChooser -->
292
-
293
275
  ## Import
294
276
 
295
- Browser applications can be imported using the GUID of the browser application.
277
+ A browser application can be imported using its GUID, i.e.
296
278
 
297
279
  bash
298
280
 
@@ -334,6 +316,7 @@ class BrowserApplication(pulumi.CustomResource):
334
316
  __props__.__dict__["distributed_tracing_enabled"] = distributed_tracing_enabled
335
317
  __props__.__dict__["loader_type"] = loader_type
336
318
  __props__.__dict__["name"] = name
319
+ __props__.__dict__["application_id"] = None
337
320
  __props__.__dict__["guid"] = None
338
321
  __props__.__dict__["js_config"] = None
339
322
  super(BrowserApplication, __self__).__init__(
@@ -347,6 +330,7 @@ class BrowserApplication(pulumi.CustomResource):
347
330
  id: pulumi.Input[str],
348
331
  opts: Optional[pulumi.ResourceOptions] = None,
349
332
  account_id: Optional[pulumi.Input[int]] = None,
333
+ application_id: Optional[pulumi.Input[str]] = None,
350
334
  cookies_enabled: Optional[pulumi.Input[bool]] = None,
351
335
  distributed_tracing_enabled: Optional[pulumi.Input[bool]] = None,
352
336
  guid: Optional[pulumi.Input[str]] = None,
@@ -360,12 +344,13 @@ class BrowserApplication(pulumi.CustomResource):
360
344
  :param str resource_name: The unique name of the resulting resource.
361
345
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
362
346
  :param pulumi.ResourceOptions opts: Options for the resource.
363
- :param pulumi.Input[int] account_id: The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
364
- :param pulumi.Input[bool] cookies_enabled: Configure cookies. The default is enabled: true.
365
- :param pulumi.Input[bool] distributed_tracing_enabled: Configure distributed tracing in browser apps. The default is enabled: true.
347
+ :param pulumi.Input[int] account_id: The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
348
+ :param pulumi.Input[str] application_id: The application ID of the browser application (not to be confused with GUID).
349
+ :param pulumi.Input[bool] cookies_enabled: Configures cookies. Defaults to `true`, if not specified.
350
+ :param pulumi.Input[bool] distributed_tracing_enabled: Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
366
351
  :param pulumi.Input[str] guid: The GUID of the browser application.
367
- :param pulumi.Input[str] js_config: JavaScript configuration of the browser application encoded into a string.
368
- :param pulumi.Input[str] loader_type: Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
352
+ :param pulumi.Input[str] js_config: The JavaScript configuration of the browser application, encoded into a string.
353
+ :param pulumi.Input[str] loader_type: Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
369
354
  :param pulumi.Input[str] name: The name of the browser application.
370
355
  """
371
356
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
@@ -373,6 +358,7 @@ class BrowserApplication(pulumi.CustomResource):
373
358
  __props__ = _BrowserApplicationState.__new__(_BrowserApplicationState)
374
359
 
375
360
  __props__.__dict__["account_id"] = account_id
361
+ __props__.__dict__["application_id"] = application_id
376
362
  __props__.__dict__["cookies_enabled"] = cookies_enabled
377
363
  __props__.__dict__["distributed_tracing_enabled"] = distributed_tracing_enabled
378
364
  __props__.__dict__["guid"] = guid
@@ -385,15 +371,23 @@ class BrowserApplication(pulumi.CustomResource):
385
371
  @pulumi.getter(name="accountId")
386
372
  def account_id(self) -> pulumi.Output[int]:
387
373
  """
388
- The New Relic account ID of the account you wish to create the browser application. Defaults to the account ID set in your environment variable `NEW_RELIC_ACCOUNT_ID`.
374
+ The account ID of the New Relic account you wish to create the browser application in. Defaults to the value of the environment variable `NEW_RELIC_ACCOUNT_ID` if not specified.
389
375
  """
390
376
  return pulumi.get(self, "account_id")
391
377
 
378
+ @property
379
+ @pulumi.getter(name="applicationId")
380
+ def application_id(self) -> pulumi.Output[str]:
381
+ """
382
+ The application ID of the browser application (not to be confused with GUID).
383
+ """
384
+ return pulumi.get(self, "application_id")
385
+
392
386
  @property
393
387
  @pulumi.getter(name="cookiesEnabled")
394
388
  def cookies_enabled(self) -> pulumi.Output[Optional[bool]]:
395
389
  """
396
- Configure cookies. The default is enabled: true.
390
+ Configures cookies. Defaults to `true`, if not specified.
397
391
  """
398
392
  return pulumi.get(self, "cookies_enabled")
399
393
 
@@ -401,7 +395,7 @@ class BrowserApplication(pulumi.CustomResource):
401
395
  @pulumi.getter(name="distributedTracingEnabled")
402
396
  def distributed_tracing_enabled(self) -> pulumi.Output[Optional[bool]]:
403
397
  """
404
- Configure distributed tracing in browser apps. The default is enabled: true.
398
+ Configures distributed tracing in browser apps. Defaults to `true`, if not specified.
405
399
  """
406
400
  return pulumi.get(self, "distributed_tracing_enabled")
407
401
 
@@ -417,7 +411,7 @@ class BrowserApplication(pulumi.CustomResource):
417
411
  @pulumi.getter(name="jsConfig")
418
412
  def js_config(self) -> pulumi.Output[str]:
419
413
  """
420
- JavaScript configuration of the browser application encoded into a string.
414
+ The JavaScript configuration of the browser application, encoded into a string.
421
415
  """
422
416
  return pulumi.get(self, "js_config")
423
417
 
@@ -425,7 +419,7 @@ class BrowserApplication(pulumi.CustomResource):
425
419
  @pulumi.getter(name="loaderType")
426
420
  def loader_type(self) -> pulumi.Output[Optional[str]]:
427
421
  """
428
- Determines which browser loader is configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. See the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for a for information on the valid loader types.
422
+ Determines the browser loader configured. Valid values are `SPA`, `PRO`, and `LITE`. The default is `SPA`. Refer to the [browser agent loader documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for more information on valid loader types.
429
423
  """
430
424
  return pulumi.get(self, "loader_type")
431
425
 
@@ -22,13 +22,16 @@ class GetNotificationDestinationResult:
22
22
  """
23
23
  A collection of values returned by getNotificationDestination.
24
24
  """
25
- def __init__(__self__, account_id=None, active=None, id=None, name=None, properties=None, status=None, type=None):
25
+ def __init__(__self__, account_id=None, active=None, guid=None, id=None, name=None, properties=None, status=None, type=None):
26
26
  if account_id and not isinstance(account_id, int):
27
27
  raise TypeError("Expected argument 'account_id' to be a int")
28
28
  pulumi.set(__self__, "account_id", account_id)
29
29
  if active and not isinstance(active, bool):
30
30
  raise TypeError("Expected argument 'active' to be a bool")
31
31
  pulumi.set(__self__, "active", active)
32
+ if guid and not isinstance(guid, str):
33
+ raise TypeError("Expected argument 'guid' to be a str")
34
+ pulumi.set(__self__, "guid", guid)
32
35
  if id and not isinstance(id, str):
33
36
  raise TypeError("Expected argument 'id' to be a str")
34
37
  pulumi.set(__self__, "id", id)
@@ -58,6 +61,14 @@ class GetNotificationDestinationResult:
58
61
  """
59
62
  return pulumi.get(self, "active")
60
63
 
64
+ @property
65
+ @pulumi.getter
66
+ def guid(self) -> str:
67
+ """
68
+ The unique entity identifier of the destination in New Relic.
69
+ """
70
+ return pulumi.get(self, "guid")
71
+
61
72
  @property
62
73
  @pulumi.getter
63
74
  def id(self) -> Optional[str]:
@@ -104,6 +115,7 @@ class AwaitableGetNotificationDestinationResult(GetNotificationDestinationResult
104
115
  return GetNotificationDestinationResult(
105
116
  account_id=self.account_id,
106
117
  active=self.active,
118
+ guid=self.guid,
107
119
  id=self.id,
108
120
  name=self.name,
109
121
  properties=self.properties,
@@ -134,6 +146,7 @@ def get_notification_destination(account_id: Optional[int] = None,
134
146
  return AwaitableGetNotificationDestinationResult(
135
147
  account_id=pulumi.get(__ret__, 'account_id'),
136
148
  active=pulumi.get(__ret__, 'active'),
149
+ guid=pulumi.get(__ret__, 'guid'),
137
150
  id=pulumi.get(__ret__, 'id'),
138
151
  name=pulumi.get(__ret__, 'name'),
139
152
  properties=pulumi.get(__ret__, 'properties'),
@@ -140,6 +140,7 @@ class _NotificationDestinationState:
140
140
  active: Optional[pulumi.Input[bool]] = None,
141
141
  auth_basic: Optional[pulumi.Input['NotificationDestinationAuthBasicArgs']] = None,
142
142
  auth_token: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']] = None,
143
+ guid: Optional[pulumi.Input[str]] = None,
143
144
  last_sent: Optional[pulumi.Input[str]] = None,
144
145
  name: Optional[pulumi.Input[str]] = None,
145
146
  properties: Optional[pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]]] = None,
@@ -151,6 +152,7 @@ class _NotificationDestinationState:
151
152
  :param pulumi.Input[bool] active: Indicates whether the destination is active.
152
153
  :param pulumi.Input['NotificationDestinationAuthBasicArgs'] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
153
154
  :param pulumi.Input['NotificationDestinationAuthTokenArgs'] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
155
+ :param pulumi.Input[str] guid: The unique entity identifier of the destination in New Relic.
154
156
  :param pulumi.Input[str] last_sent: The last time a notification was sent.
155
157
  :param pulumi.Input[str] name: The name of the destination.
156
158
  :param pulumi.Input[Sequence[pulumi.Input['NotificationDestinationPropertyArgs']]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
@@ -166,6 +168,8 @@ class _NotificationDestinationState:
166
168
  pulumi.set(__self__, "auth_basic", auth_basic)
167
169
  if auth_token is not None:
168
170
  pulumi.set(__self__, "auth_token", auth_token)
171
+ if guid is not None:
172
+ pulumi.set(__self__, "guid", guid)
169
173
  if last_sent is not None:
170
174
  pulumi.set(__self__, "last_sent", last_sent)
171
175
  if name is not None:
@@ -225,6 +229,18 @@ class _NotificationDestinationState:
225
229
  def auth_token(self, value: Optional[pulumi.Input['NotificationDestinationAuthTokenArgs']]):
226
230
  pulumi.set(self, "auth_token", value)
227
231
 
232
+ @property
233
+ @pulumi.getter
234
+ def guid(self) -> Optional[pulumi.Input[str]]:
235
+ """
236
+ The unique entity identifier of the destination in New Relic.
237
+ """
238
+ return pulumi.get(self, "guid")
239
+
240
+ @guid.setter
241
+ def guid(self, value: Optional[pulumi.Input[str]]):
242
+ pulumi.set(self, "guid", value)
243
+
228
244
  @property
229
245
  @pulumi.getter(name="lastSent")
230
246
  def last_sent(self) -> Optional[pulumi.Input[str]]:
@@ -493,6 +509,7 @@ class NotificationDestination(pulumi.CustomResource):
493
509
  if type is None and not opts.urn:
494
510
  raise TypeError("Missing required property 'type'")
495
511
  __props__.__dict__["type"] = type
512
+ __props__.__dict__["guid"] = None
496
513
  __props__.__dict__["last_sent"] = None
497
514
  __props__.__dict__["status"] = None
498
515
  super(NotificationDestination, __self__).__init__(
@@ -509,6 +526,7 @@ class NotificationDestination(pulumi.CustomResource):
509
526
  active: Optional[pulumi.Input[bool]] = None,
510
527
  auth_basic: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']]] = None,
511
528
  auth_token: Optional[pulumi.Input[pulumi.InputType['NotificationDestinationAuthTokenArgs']]] = None,
529
+ guid: Optional[pulumi.Input[str]] = None,
512
530
  last_sent: Optional[pulumi.Input[str]] = None,
513
531
  name: Optional[pulumi.Input[str]] = None,
514
532
  properties: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationPropertyArgs']]]]] = None,
@@ -525,6 +543,7 @@ class NotificationDestination(pulumi.CustomResource):
525
543
  :param pulumi.Input[bool] active: Indicates whether the destination is active.
526
544
  :param pulumi.Input[pulumi.InputType['NotificationDestinationAuthBasicArgs']] auth_basic: A nested block that describes a basic username and password authentication credentials. Only one auth_basic block is permitted per notification destination definition. See Nested auth_basic blocks below for details.
527
545
  :param pulumi.Input[pulumi.InputType['NotificationDestinationAuthTokenArgs']] auth_token: A nested block that describes a token authentication credentials. Only one auth_token block is permitted per notification destination definition. See Nested auth_token blocks below for details.
546
+ :param pulumi.Input[str] guid: The unique entity identifier of the destination in New Relic.
528
547
  :param pulumi.Input[str] last_sent: The last time a notification was sent.
529
548
  :param pulumi.Input[str] name: The name of the destination.
530
549
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['NotificationDestinationPropertyArgs']]]] properties: A nested block that describes a notification destination property. See Nested property blocks below for details.
@@ -540,6 +559,7 @@ class NotificationDestination(pulumi.CustomResource):
540
559
  __props__.__dict__["active"] = active
541
560
  __props__.__dict__["auth_basic"] = auth_basic
542
561
  __props__.__dict__["auth_token"] = auth_token
562
+ __props__.__dict__["guid"] = guid
543
563
  __props__.__dict__["last_sent"] = last_sent
544
564
  __props__.__dict__["name"] = name
545
565
  __props__.__dict__["properties"] = properties
@@ -579,6 +599,14 @@ class NotificationDestination(pulumi.CustomResource):
579
599
  """
580
600
  return pulumi.get(self, "auth_token")
581
601
 
602
+ @property
603
+ @pulumi.getter
604
+ def guid(self) -> pulumi.Output[str]:
605
+ """
606
+ The unique entity identifier of the destination in New Relic.
607
+ """
608
+ return pulumi.get(self, "guid")
609
+
582
610
  @property
583
611
  @pulumi.getter(name="lastSent")
584
612
  def last_sent(self) -> pulumi.Output[str]: