@pulumi/newrelic 5.22.0 → 5.22.1
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.
- package/getEntity.d.ts +13 -0
- package/getEntity.js +1 -0
- package/getEntity.js.map +1 -1
- package/package.json +1 -1
package/getEntity.d.ts
CHANGED
|
@@ -89,6 +89,12 @@ export interface GetEntityArgs {
|
|
|
89
89
|
* Ignore case of the `name` when searching for the entity. Defaults to false.
|
|
90
90
|
*/
|
|
91
91
|
ignoreCase?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* A boolean argument that, when set to true, prevents an error from being thrown when the queried entity is not found. Instead, a warning is displayed. Defaults to `false`.
|
|
94
|
+
*
|
|
95
|
+
* > **WARNING:** Setting the `ignoreNotFound` argument to `true` will display an 'entity not found' warning instead of throwing an error. This can lead to downstream errors if the values of attributes exported by this data source are used elsewhere, as all of these values would be null. Please use this argument at your own risk.
|
|
96
|
+
*/
|
|
97
|
+
ignoreNotFound?: boolean;
|
|
92
98
|
/**
|
|
93
99
|
* The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.
|
|
94
100
|
*/
|
|
@@ -121,6 +127,7 @@ export interface GetEntityResult {
|
|
|
121
127
|
*/
|
|
122
128
|
readonly id: string;
|
|
123
129
|
readonly ignoreCase?: boolean;
|
|
130
|
+
readonly ignoreNotFound?: boolean;
|
|
124
131
|
readonly name: string;
|
|
125
132
|
/**
|
|
126
133
|
* The browser-specific ID of the backing APM entity. Only returned for Browser applications.
|
|
@@ -217,6 +224,12 @@ export interface GetEntityOutputArgs {
|
|
|
217
224
|
* Ignore case of the `name` when searching for the entity. Defaults to false.
|
|
218
225
|
*/
|
|
219
226
|
ignoreCase?: pulumi.Input<boolean>;
|
|
227
|
+
/**
|
|
228
|
+
* A boolean argument that, when set to true, prevents an error from being thrown when the queried entity is not found. Instead, a warning is displayed. Defaults to `false`.
|
|
229
|
+
*
|
|
230
|
+
* > **WARNING:** Setting the `ignoreNotFound` argument to `true` will display an 'entity not found' warning instead of throwing an error. This can lead to downstream errors if the values of attributes exported by this data source are used elsewhere, as all of these values would be null. Please use this argument at your own risk.
|
|
231
|
+
*/
|
|
232
|
+
ignoreNotFound?: pulumi.Input<boolean>;
|
|
220
233
|
/**
|
|
221
234
|
* The name of the entity in New Relic One. The first entity matching this name for the given search parameters will be returned.
|
|
222
235
|
*/
|
package/getEntity.js
CHANGED
package/getEntity.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEntity.js","sourceRoot":"","sources":["../getEntity.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;
|
|
1
|
+
{"version":3,"file":"getEntity.js","sourceRoot":"","sources":["../getEntity.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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