@cdktf-providers/newrelic 3.75.4
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/LICENSE +355 -0
- package/README.md +19 -0
- package/dist/account-management/index.d.ts +64 -0
- package/dist/account-management/index.js +131 -0
- package/dist/alert-channel/index.d.ts +347 -0
- package/dist/alert-channel/index.js +810 -0
- package/dist/alert-condition/index.d.ts +267 -0
- package/dist/alert-condition/index.js +587 -0
- package/dist/alert-muting-rule/index.d.ts +305 -0
- package/dist/alert-muting-rule/index.js +731 -0
- package/dist/alert-policy/index.d.ts +87 -0
- package/dist/alert-policy/index.js +180 -0
- package/dist/alert-policy-channel/index.d.ts +110 -0
- package/dist/alert-policy-channel/index.js +260 -0
- package/dist/api-access-key/index.d.ts +98 -0
- package/dist/api-access-key/index.js +230 -0
- package/dist/application-settings/index.d.ts +410 -0
- package/dist/application-settings/index.js +966 -0
- package/dist/browser-application/index.d.ts +101 -0
- package/dist/browser-application/index.js +215 -0
- package/dist/cloud-aws-govcloud-integrations/index.d.ts +1519 -0
- package/dist/cloud-aws-govcloud-integrations/index.js +3846 -0
- package/dist/cloud-aws-govcloud-link-account/index.d.ts +86 -0
- package/dist/cloud-aws-govcloud-link-account/index.js +177 -0
- package/dist/cloud-aws-integrations/index.d.ts +3294 -0
- package/dist/cloud-aws-integrations/index.js +8554 -0
- package/dist/cloud-aws-link-account/index.d.ts +86 -0
- package/dist/cloud-aws-link-account/index.js +177 -0
- package/dist/cloud-azure-integrations/index.d.ts +1662 -0
- package/dist/cloud-azure-integrations/index.js +4338 -0
- package/dist/cloud-azure-link-account/index.d.ts +105 -0
- package/dist/cloud-azure-link-account/index.js +214 -0
- package/dist/cloud-gcp-integrations/index.d.ts +1045 -0
- package/dist/cloud-gcp-integrations/index.js +2742 -0
- package/dist/cloud-gcp-link-account/index.d.ts +75 -0
- package/dist/cloud-gcp-link-account/index.js +154 -0
- package/dist/cloud-oci-link-account/index.d.ts +191 -0
- package/dist/cloud-oci-link-account/index.js +392 -0
- package/dist/data-newrelic-account/index.d.ts +77 -0
- package/dist/data-newrelic-account/index.js +160 -0
- package/dist/data-newrelic-alert-channel/index.d.ts +122 -0
- package/dist/data-newrelic-alert-channel/index.js +295 -0
- package/dist/data-newrelic-alert-policy/index.d.ts +78 -0
- package/dist/data-newrelic-alert-policy/index.js +165 -0
- package/dist/data-newrelic-application/index.d.ts +56 -0
- package/dist/data-newrelic-application/index.js +119 -0
- package/dist/data-newrelic-authentication-domain/index.d.ts +43 -0
- package/dist/data-newrelic-authentication-domain/index.js +92 -0
- package/dist/data-newrelic-cloud-account/index.d.ts +75 -0
- package/dist/data-newrelic-cloud-account/index.js +154 -0
- package/dist/data-newrelic-entity/index.d.ts +185 -0
- package/dist/data-newrelic-entity/index.js +414 -0
- package/dist/data-newrelic-group/index.d.ts +54 -0
- package/dist/data-newrelic-group/index.js +116 -0
- package/dist/data-newrelic-key-transaction/index.d.ts +78 -0
- package/dist/data-newrelic-key-transaction/index.js +165 -0
- package/dist/data-newrelic-notification-destination/index.d.ts +161 -0
- package/dist/data-newrelic-notification-destination/index.js +368 -0
- package/dist/data-newrelic-obfuscation-expression/index.d.ts +65 -0
- package/dist/data-newrelic-obfuscation-expression/index.js +134 -0
- package/dist/data-newrelic-service-level-alert-helper/index.d.ts +107 -0
- package/dist/data-newrelic-service-level-alert-helper/index.js +256 -0
- package/dist/data-newrelic-synthetics-private-location/index.d.ts +76 -0
- package/dist/data-newrelic-synthetics-private-location/index.js +157 -0
- package/dist/data-newrelic-synthetics-secure-credential/index.d.ts +67 -0
- package/dist/data-newrelic-synthetics-secure-credential/index.js +142 -0
- package/dist/data-newrelic-test-grok-pattern/index.d.ts +145 -0
- package/dist/data-newrelic-test-grok-pattern/index.js +312 -0
- package/dist/data-newrelic-user/index.d.ts +65 -0
- package/dist/data-newrelic-user/index.js +138 -0
- package/dist/data-partition-rule/index.d.ts +142 -0
- package/dist/data-partition-rule/index.js +327 -0
- package/dist/entity-tags/index.d.ts +152 -0
- package/dist/entity-tags/index.js +367 -0
- package/dist/events-to-metrics-rule/index.d.ts +98 -0
- package/dist/events-to-metrics-rule/index.js +204 -0
- package/dist/group/index.d.ts +75 -0
- package/dist/group/index.js +154 -0
- package/dist/index.d.ts +67 -0
- package/dist/index.js +68 -0
- package/dist/infra-alert-condition/index.d.ts +289 -0
- package/dist/infra-alert-condition/index.js +691 -0
- package/dist/insights-event/index.d.ts +182 -0
- package/dist/insights-event/index.js +427 -0
- package/dist/key-transaction/index.d.ts +96 -0
- package/dist/key-transaction/index.js +199 -0
- package/dist/lazy-index.d.ts +0 -0
- package/dist/lazy-index.js +68 -0
- package/dist/log-parsing-rule/index.d.ts +128 -0
- package/dist/log-parsing-rule/index.js +264 -0
- package/dist/monitor-downtime/index.d.ts +255 -0
- package/dist/monitor-downtime/index.js +603 -0
- package/dist/notification-channel/index.d.ts +236 -0
- package/dist/notification-channel/index.js +561 -0
- package/dist/notification-destination/index.d.ts +402 -0
- package/dist/notification-destination/index.js +1039 -0
- package/dist/nrql-alert-condition/index.d.ts +892 -0
- package/dist/nrql-alert-condition/index.js +2177 -0
- package/dist/nrql-drop-rule/index.d.ts +123 -0
- package/dist/nrql-drop-rule/index.js +291 -0
- package/dist/obfuscation-expression/index.d.ts +86 -0
- package/dist/obfuscation-expression/index.js +177 -0
- package/dist/obfuscation-rule/index.d.ts +169 -0
- package/dist/obfuscation-rule/index.js +372 -0
- package/dist/one-dashboard/index-structs/index.d.ts +2 -0
- package/dist/one-dashboard/index-structs/index.js +2 -0
- package/dist/one-dashboard/index-structs/structs0.d.ts +6996 -0
- package/dist/one-dashboard/index-structs/structs0.js +18191 -0
- package/dist/one-dashboard/index-structs/structs400.d.ts +3699 -0
- package/dist/one-dashboard/index-structs/structs400.js +9611 -0
- package/dist/one-dashboard/index.d.ts +112 -0
- package/dist/one-dashboard/index.js +232 -0
- package/dist/one-dashboard-json/index.d.ts +112 -0
- package/dist/one-dashboard-json/index.js +280 -0
- package/dist/one-dashboard-raw/index.d.ts +274 -0
- package/dist/one-dashboard-raw/index.js +666 -0
- package/dist/pipeline-cloud-rule/index.d.ts +86 -0
- package/dist/pipeline-cloud-rule/index.js +177 -0
- package/dist/provider/index.d.ts +160 -0
- package/dist/provider/index.js +378 -0
- package/dist/service-level/index.d.ts +501 -0
- package/dist/service-level/index.js +1425 -0
- package/dist/synthetics-alert-condition/index.d.ts +97 -0
- package/dist/synthetics-alert-condition/index.js +201 -0
- package/dist/synthetics-broken-links-monitor/index.d.ts +217 -0
- package/dist/synthetics-broken-links-monitor/index.js +474 -0
- package/dist/synthetics-cert-check-monitor/index.d.ts +222 -0
- package/dist/synthetics-cert-check-monitor/index.js +490 -0
- package/dist/synthetics-monitor/index.d.ts +404 -0
- package/dist/synthetics-monitor/index.js +885 -0
- package/dist/synthetics-multilocation-alert-condition/index.d.ts +177 -0
- package/dist/synthetics-multilocation-alert-condition/index.js +407 -0
- package/dist/synthetics-private-location/index.d.ts +90 -0
- package/dist/synthetics-private-location/index.js +193 -0
- package/dist/synthetics-script-monitor/index.d.ts +348 -0
- package/dist/synthetics-script-monitor/index.js +768 -0
- package/dist/synthetics-secure-credential/index.d.ts +132 -0
- package/dist/synthetics-secure-credential/index.js +306 -0
- package/dist/synthetics-step-monitor/index.d.ts +368 -0
- package/dist/synthetics-step-monitor/index.js +834 -0
- package/dist/user/index.d.ts +85 -0
- package/dist/user/index.js +174 -0
- package/dist/workflow/index.d.ts +441 -0
- package/dist/workflow/index.js +1066 -0
- package/dist/workload/index.d.ts +514 -0
- package/dist/workload/index.js +1283 -0
- package/package.json +50 -0
|
@@ -0,0 +1,280 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_json
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function oneDashboardJsonTimeoutsToTerraform(struct) {
|
|
5
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
6
|
+
return struct;
|
|
7
|
+
}
|
|
8
|
+
if (cdktf.isComplexElement(struct)) {
|
|
9
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
create: cdktf.stringToTerraform(struct.create),
|
|
13
|
+
update: cdktf.stringToTerraform(struct.update),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export function oneDashboardJsonTimeoutsToHclTerraform(struct) {
|
|
17
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
18
|
+
return struct;
|
|
19
|
+
}
|
|
20
|
+
if (cdktf.isComplexElement(struct)) {
|
|
21
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
22
|
+
}
|
|
23
|
+
const attrs = {
|
|
24
|
+
create: {
|
|
25
|
+
value: cdktf.stringToHclTerraform(struct.create),
|
|
26
|
+
isBlock: false,
|
|
27
|
+
type: "simple",
|
|
28
|
+
storageClassType: "string",
|
|
29
|
+
},
|
|
30
|
+
update: {
|
|
31
|
+
value: cdktf.stringToHclTerraform(struct.update),
|
|
32
|
+
isBlock: false,
|
|
33
|
+
type: "simple",
|
|
34
|
+
storageClassType: "string",
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
// remove undefined attributes
|
|
38
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
39
|
+
}
|
|
40
|
+
export class OneDashboardJsonTimeoutsOutputReference extends cdktf.ComplexObject {
|
|
41
|
+
isEmptyObject = false;
|
|
42
|
+
resolvableValue;
|
|
43
|
+
/**
|
|
44
|
+
* @param terraformResource The parent resource
|
|
45
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
46
|
+
*/
|
|
47
|
+
constructor(terraformResource, terraformAttribute) {
|
|
48
|
+
super(terraformResource, terraformAttribute, false);
|
|
49
|
+
}
|
|
50
|
+
get internalValue() {
|
|
51
|
+
if (this.resolvableValue) {
|
|
52
|
+
return this.resolvableValue;
|
|
53
|
+
}
|
|
54
|
+
let hasAnyValues = this.isEmptyObject;
|
|
55
|
+
const internalValueResult = {};
|
|
56
|
+
if (this._create !== undefined) {
|
|
57
|
+
hasAnyValues = true;
|
|
58
|
+
internalValueResult.create = this._create;
|
|
59
|
+
}
|
|
60
|
+
if (this._update !== undefined) {
|
|
61
|
+
hasAnyValues = true;
|
|
62
|
+
internalValueResult.update = this._update;
|
|
63
|
+
}
|
|
64
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
65
|
+
}
|
|
66
|
+
set internalValue(value) {
|
|
67
|
+
if (value === undefined) {
|
|
68
|
+
this.isEmptyObject = false;
|
|
69
|
+
this.resolvableValue = undefined;
|
|
70
|
+
this._create = undefined;
|
|
71
|
+
this._update = undefined;
|
|
72
|
+
}
|
|
73
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
74
|
+
this.isEmptyObject = false;
|
|
75
|
+
this.resolvableValue = value;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
79
|
+
this.resolvableValue = undefined;
|
|
80
|
+
this._create = value.create;
|
|
81
|
+
this._update = value.update;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
// create - computed: false, optional: true, required: false
|
|
85
|
+
_create;
|
|
86
|
+
get create() {
|
|
87
|
+
return this.getStringAttribute('create');
|
|
88
|
+
}
|
|
89
|
+
set create(value) {
|
|
90
|
+
this._create = value;
|
|
91
|
+
}
|
|
92
|
+
resetCreate() {
|
|
93
|
+
this._create = undefined;
|
|
94
|
+
}
|
|
95
|
+
// Temporarily expose input value. Use with caution.
|
|
96
|
+
get createInput() {
|
|
97
|
+
return this._create;
|
|
98
|
+
}
|
|
99
|
+
// update - computed: false, optional: true, required: false
|
|
100
|
+
_update;
|
|
101
|
+
get update() {
|
|
102
|
+
return this.getStringAttribute('update');
|
|
103
|
+
}
|
|
104
|
+
set update(value) {
|
|
105
|
+
this._update = value;
|
|
106
|
+
}
|
|
107
|
+
resetUpdate() {
|
|
108
|
+
this._update = undefined;
|
|
109
|
+
}
|
|
110
|
+
// Temporarily expose input value. Use with caution.
|
|
111
|
+
get updateInput() {
|
|
112
|
+
return this._update;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_json newrelic_one_dashboard_json}
|
|
117
|
+
*/
|
|
118
|
+
export class OneDashboardJson extends cdktf.TerraformResource {
|
|
119
|
+
// =================
|
|
120
|
+
// STATIC PROPERTIES
|
|
121
|
+
// =================
|
|
122
|
+
static tfResourceType = "newrelic_one_dashboard_json";
|
|
123
|
+
// ==============
|
|
124
|
+
// STATIC Methods
|
|
125
|
+
// ==============
|
|
126
|
+
/**
|
|
127
|
+
* Generates CDKTF code for importing a OneDashboardJson resource upon running "cdktf plan <stack-name>"
|
|
128
|
+
* @param scope The scope in which to define this construct
|
|
129
|
+
* @param importToId The construct id used in the generated config for the OneDashboardJson to import
|
|
130
|
+
* @param importFromId The id of the existing OneDashboardJson that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_json#import import section} in the documentation of this resource for the id to use
|
|
131
|
+
* @param provider? Optional instance of the provider where the OneDashboardJson to import is found
|
|
132
|
+
*/
|
|
133
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
134
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "newrelic_one_dashboard_json", importId: importFromId, provider });
|
|
135
|
+
}
|
|
136
|
+
// ===========
|
|
137
|
+
// INITIALIZER
|
|
138
|
+
// ===========
|
|
139
|
+
/**
|
|
140
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_json newrelic_one_dashboard_json} Resource
|
|
141
|
+
*
|
|
142
|
+
* @param scope The scope in which to define this construct
|
|
143
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
144
|
+
* @param options OneDashboardJsonConfig
|
|
145
|
+
*/
|
|
146
|
+
constructor(scope, id, config) {
|
|
147
|
+
super(scope, id, {
|
|
148
|
+
terraformResourceType: 'newrelic_one_dashboard_json',
|
|
149
|
+
terraformGeneratorMetadata: {
|
|
150
|
+
providerName: 'newrelic',
|
|
151
|
+
providerVersion: '3.75.4',
|
|
152
|
+
providerVersionConstraint: '3.75.4'
|
|
153
|
+
},
|
|
154
|
+
provider: config.provider,
|
|
155
|
+
dependsOn: config.dependsOn,
|
|
156
|
+
count: config.count,
|
|
157
|
+
lifecycle: config.lifecycle,
|
|
158
|
+
provisioners: config.provisioners,
|
|
159
|
+
connection: config.connection,
|
|
160
|
+
forEach: config.forEach
|
|
161
|
+
});
|
|
162
|
+
this._accountId = config.accountId;
|
|
163
|
+
this._id = config.id;
|
|
164
|
+
this._json = config.json;
|
|
165
|
+
this._timeouts.internalValue = config.timeouts;
|
|
166
|
+
}
|
|
167
|
+
// ==========
|
|
168
|
+
// ATTRIBUTES
|
|
169
|
+
// ==========
|
|
170
|
+
// account_id - computed: true, optional: true, required: false
|
|
171
|
+
_accountId;
|
|
172
|
+
get accountId() {
|
|
173
|
+
return this.getNumberAttribute('account_id');
|
|
174
|
+
}
|
|
175
|
+
set accountId(value) {
|
|
176
|
+
this._accountId = value;
|
|
177
|
+
}
|
|
178
|
+
resetAccountId() {
|
|
179
|
+
this._accountId = undefined;
|
|
180
|
+
}
|
|
181
|
+
// Temporarily expose input value. Use with caution.
|
|
182
|
+
get accountIdInput() {
|
|
183
|
+
return this._accountId;
|
|
184
|
+
}
|
|
185
|
+
// guid - computed: true, optional: false, required: false
|
|
186
|
+
get guid() {
|
|
187
|
+
return this.getStringAttribute('guid');
|
|
188
|
+
}
|
|
189
|
+
// id - computed: true, optional: true, required: false
|
|
190
|
+
_id;
|
|
191
|
+
get id() {
|
|
192
|
+
return this.getStringAttribute('id');
|
|
193
|
+
}
|
|
194
|
+
set id(value) {
|
|
195
|
+
this._id = value;
|
|
196
|
+
}
|
|
197
|
+
resetId() {
|
|
198
|
+
this._id = undefined;
|
|
199
|
+
}
|
|
200
|
+
// Temporarily expose input value. Use with caution.
|
|
201
|
+
get idInput() {
|
|
202
|
+
return this._id;
|
|
203
|
+
}
|
|
204
|
+
// json - computed: false, optional: false, required: true
|
|
205
|
+
_json;
|
|
206
|
+
get json() {
|
|
207
|
+
return this.getStringAttribute('json');
|
|
208
|
+
}
|
|
209
|
+
set json(value) {
|
|
210
|
+
this._json = value;
|
|
211
|
+
}
|
|
212
|
+
// Temporarily expose input value. Use with caution.
|
|
213
|
+
get jsonInput() {
|
|
214
|
+
return this._json;
|
|
215
|
+
}
|
|
216
|
+
// permalink - computed: true, optional: false, required: false
|
|
217
|
+
get permalink() {
|
|
218
|
+
return this.getStringAttribute('permalink');
|
|
219
|
+
}
|
|
220
|
+
// updated_at - computed: true, optional: false, required: false
|
|
221
|
+
get updatedAt() {
|
|
222
|
+
return this.getStringAttribute('updated_at');
|
|
223
|
+
}
|
|
224
|
+
// timeouts - computed: false, optional: true, required: false
|
|
225
|
+
_timeouts = new OneDashboardJsonTimeoutsOutputReference(this, "timeouts");
|
|
226
|
+
get timeouts() {
|
|
227
|
+
return this._timeouts;
|
|
228
|
+
}
|
|
229
|
+
putTimeouts(value) {
|
|
230
|
+
this._timeouts.internalValue = value;
|
|
231
|
+
}
|
|
232
|
+
resetTimeouts() {
|
|
233
|
+
this._timeouts.internalValue = undefined;
|
|
234
|
+
}
|
|
235
|
+
// Temporarily expose input value. Use with caution.
|
|
236
|
+
get timeoutsInput() {
|
|
237
|
+
return this._timeouts.internalValue;
|
|
238
|
+
}
|
|
239
|
+
// =========
|
|
240
|
+
// SYNTHESIS
|
|
241
|
+
// =========
|
|
242
|
+
synthesizeAttributes() {
|
|
243
|
+
return {
|
|
244
|
+
account_id: cdktf.numberToTerraform(this._accountId),
|
|
245
|
+
id: cdktf.stringToTerraform(this._id),
|
|
246
|
+
json: cdktf.stringToTerraform(this._json),
|
|
247
|
+
timeouts: oneDashboardJsonTimeoutsToTerraform(this._timeouts.internalValue),
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
synthesizeHclAttributes() {
|
|
251
|
+
const attrs = {
|
|
252
|
+
account_id: {
|
|
253
|
+
value: cdktf.numberToHclTerraform(this._accountId),
|
|
254
|
+
isBlock: false,
|
|
255
|
+
type: "simple",
|
|
256
|
+
storageClassType: "number",
|
|
257
|
+
},
|
|
258
|
+
id: {
|
|
259
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
260
|
+
isBlock: false,
|
|
261
|
+
type: "simple",
|
|
262
|
+
storageClassType: "string",
|
|
263
|
+
},
|
|
264
|
+
json: {
|
|
265
|
+
value: cdktf.stringToHclTerraform(this._json),
|
|
266
|
+
isBlock: false,
|
|
267
|
+
type: "simple",
|
|
268
|
+
storageClassType: "string",
|
|
269
|
+
},
|
|
270
|
+
timeouts: {
|
|
271
|
+
value: oneDashboardJsonTimeoutsToHclTerraform(this._timeouts.internalValue),
|
|
272
|
+
isBlock: true,
|
|
273
|
+
type: "struct",
|
|
274
|
+
storageClassType: "OneDashboardJsonTimeouts",
|
|
275
|
+
},
|
|
276
|
+
};
|
|
277
|
+
// remove undefined attributes
|
|
278
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
279
|
+
}
|
|
280
|
+
}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface OneDashboardRawConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* The New Relic account ID where you want to create the dashboard.
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#account_id OneDashboardRaw#account_id}
|
|
8
|
+
*/
|
|
9
|
+
readonly accountId?: number;
|
|
10
|
+
/**
|
|
11
|
+
* The dashboard's description.
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#description OneDashboardRaw#description}
|
|
14
|
+
*/
|
|
15
|
+
readonly description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#id OneDashboardRaw#id}
|
|
18
|
+
*
|
|
19
|
+
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
|
|
20
|
+
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
|
|
21
|
+
*/
|
|
22
|
+
readonly id?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The dashboard's name.
|
|
25
|
+
*
|
|
26
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#name OneDashboardRaw#name}
|
|
27
|
+
*/
|
|
28
|
+
readonly name: string;
|
|
29
|
+
/**
|
|
30
|
+
* Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to public_read_only.
|
|
31
|
+
*
|
|
32
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#permissions OneDashboardRaw#permissions}
|
|
33
|
+
*/
|
|
34
|
+
readonly permissions?: string;
|
|
35
|
+
/**
|
|
36
|
+
* page block
|
|
37
|
+
*
|
|
38
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#page OneDashboardRaw#page}
|
|
39
|
+
*/
|
|
40
|
+
readonly page: OneDashboardRawPage[] | cdktf.IResolvable;
|
|
41
|
+
}
|
|
42
|
+
export interface OneDashboardRawPageWidget {
|
|
43
|
+
/**
|
|
44
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#column OneDashboardRaw#column}
|
|
45
|
+
*/
|
|
46
|
+
readonly column: number;
|
|
47
|
+
/**
|
|
48
|
+
* The configuration of the widget.
|
|
49
|
+
*
|
|
50
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#configuration OneDashboardRaw#configuration}
|
|
51
|
+
*/
|
|
52
|
+
readonly configuration: string;
|
|
53
|
+
/**
|
|
54
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#height OneDashboardRaw#height}
|
|
55
|
+
*/
|
|
56
|
+
readonly height?: number;
|
|
57
|
+
/**
|
|
58
|
+
* (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
|
|
59
|
+
*
|
|
60
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#linked_entity_guids OneDashboardRaw#linked_entity_guids}
|
|
61
|
+
*/
|
|
62
|
+
readonly linkedEntityGuids?: string[];
|
|
63
|
+
/**
|
|
64
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#row OneDashboardRaw#row}
|
|
65
|
+
*/
|
|
66
|
+
readonly row: number;
|
|
67
|
+
/**
|
|
68
|
+
* A title for the widget.
|
|
69
|
+
*
|
|
70
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#title OneDashboardRaw#title}
|
|
71
|
+
*/
|
|
72
|
+
readonly title: string;
|
|
73
|
+
/**
|
|
74
|
+
* The visualization ID of the widget.
|
|
75
|
+
*
|
|
76
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#visualization_id OneDashboardRaw#visualization_id}
|
|
77
|
+
*/
|
|
78
|
+
readonly visualizationId: string;
|
|
79
|
+
/**
|
|
80
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#width OneDashboardRaw#width}
|
|
81
|
+
*/
|
|
82
|
+
readonly width?: number;
|
|
83
|
+
}
|
|
84
|
+
export declare function oneDashboardRawPageWidgetToTerraform(struct?: OneDashboardRawPageWidget | cdktf.IResolvable): any;
|
|
85
|
+
export declare function oneDashboardRawPageWidgetToHclTerraform(struct?: OneDashboardRawPageWidget | cdktf.IResolvable): any;
|
|
86
|
+
export declare class OneDashboardRawPageWidgetOutputReference extends cdktf.ComplexObject {
|
|
87
|
+
private isEmptyObject;
|
|
88
|
+
private resolvableValue?;
|
|
89
|
+
/**
|
|
90
|
+
* @param terraformResource The parent resource
|
|
91
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
92
|
+
* @param complexObjectIndex the index of this item in the list
|
|
93
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
94
|
+
*/
|
|
95
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
96
|
+
get internalValue(): OneDashboardRawPageWidget | cdktf.IResolvable | undefined;
|
|
97
|
+
set internalValue(value: OneDashboardRawPageWidget | cdktf.IResolvable | undefined);
|
|
98
|
+
private _column?;
|
|
99
|
+
get column(): number;
|
|
100
|
+
set column(value: number);
|
|
101
|
+
get columnInput(): number;
|
|
102
|
+
private _configuration?;
|
|
103
|
+
get configuration(): string;
|
|
104
|
+
set configuration(value: string);
|
|
105
|
+
get configurationInput(): string;
|
|
106
|
+
private _height?;
|
|
107
|
+
get height(): number;
|
|
108
|
+
set height(value: number);
|
|
109
|
+
resetHeight(): void;
|
|
110
|
+
get heightInput(): number;
|
|
111
|
+
get id(): any;
|
|
112
|
+
private _linkedEntityGuids?;
|
|
113
|
+
get linkedEntityGuids(): string[];
|
|
114
|
+
set linkedEntityGuids(value: string[]);
|
|
115
|
+
resetLinkedEntityGuids(): void;
|
|
116
|
+
get linkedEntityGuidsInput(): string[];
|
|
117
|
+
private _row?;
|
|
118
|
+
get row(): number;
|
|
119
|
+
set row(value: number);
|
|
120
|
+
get rowInput(): number;
|
|
121
|
+
private _title?;
|
|
122
|
+
get title(): string;
|
|
123
|
+
set title(value: string);
|
|
124
|
+
get titleInput(): string;
|
|
125
|
+
private _visualizationId?;
|
|
126
|
+
get visualizationId(): string;
|
|
127
|
+
set visualizationId(value: string);
|
|
128
|
+
get visualizationIdInput(): string;
|
|
129
|
+
private _width?;
|
|
130
|
+
get width(): number;
|
|
131
|
+
set width(value: number);
|
|
132
|
+
resetWidth(): void;
|
|
133
|
+
get widthInput(): number;
|
|
134
|
+
}
|
|
135
|
+
export declare class OneDashboardRawPageWidgetList extends cdktf.ComplexList {
|
|
136
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
137
|
+
protected terraformAttribute: string;
|
|
138
|
+
protected wrapsSet: boolean;
|
|
139
|
+
internalValue?: OneDashboardRawPageWidget[] | cdktf.IResolvable;
|
|
140
|
+
/**
|
|
141
|
+
* @param terraformResource The parent resource
|
|
142
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
143
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
144
|
+
*/
|
|
145
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
146
|
+
/**
|
|
147
|
+
* @param index the index of the item to return
|
|
148
|
+
*/
|
|
149
|
+
get(index: number): OneDashboardRawPageWidgetOutputReference;
|
|
150
|
+
}
|
|
151
|
+
export interface OneDashboardRawPage {
|
|
152
|
+
/**
|
|
153
|
+
* The dashboard page's description.
|
|
154
|
+
*
|
|
155
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#description OneDashboardRaw#description}
|
|
156
|
+
*/
|
|
157
|
+
readonly description?: string;
|
|
158
|
+
/**
|
|
159
|
+
* The dashboard page's name.
|
|
160
|
+
*
|
|
161
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#name OneDashboardRaw#name}
|
|
162
|
+
*/
|
|
163
|
+
readonly name: string;
|
|
164
|
+
/**
|
|
165
|
+
* widget block
|
|
166
|
+
*
|
|
167
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#widget OneDashboardRaw#widget}
|
|
168
|
+
*/
|
|
169
|
+
readonly widget?: OneDashboardRawPageWidget[] | cdktf.IResolvable;
|
|
170
|
+
}
|
|
171
|
+
export declare function oneDashboardRawPageToTerraform(struct?: OneDashboardRawPage | cdktf.IResolvable): any;
|
|
172
|
+
export declare function oneDashboardRawPageToHclTerraform(struct?: OneDashboardRawPage | cdktf.IResolvable): any;
|
|
173
|
+
export declare class OneDashboardRawPageOutputReference extends cdktf.ComplexObject {
|
|
174
|
+
private isEmptyObject;
|
|
175
|
+
private resolvableValue?;
|
|
176
|
+
/**
|
|
177
|
+
* @param terraformResource The parent resource
|
|
178
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
179
|
+
* @param complexObjectIndex the index of this item in the list
|
|
180
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
181
|
+
*/
|
|
182
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
183
|
+
get internalValue(): OneDashboardRawPage | cdktf.IResolvable | undefined;
|
|
184
|
+
set internalValue(value: OneDashboardRawPage | cdktf.IResolvable | undefined);
|
|
185
|
+
private _description?;
|
|
186
|
+
get description(): string;
|
|
187
|
+
set description(value: string);
|
|
188
|
+
resetDescription(): void;
|
|
189
|
+
get descriptionInput(): string;
|
|
190
|
+
get guid(): any;
|
|
191
|
+
private _name?;
|
|
192
|
+
get name(): string;
|
|
193
|
+
set name(value: string);
|
|
194
|
+
get nameInput(): string;
|
|
195
|
+
private _widget;
|
|
196
|
+
get widget(): OneDashboardRawPageWidgetList;
|
|
197
|
+
putWidget(value: OneDashboardRawPageWidget[] | cdktf.IResolvable): void;
|
|
198
|
+
resetWidget(): void;
|
|
199
|
+
get widgetInput(): any;
|
|
200
|
+
}
|
|
201
|
+
export declare class OneDashboardRawPageList extends cdktf.ComplexList {
|
|
202
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
203
|
+
protected terraformAttribute: string;
|
|
204
|
+
protected wrapsSet: boolean;
|
|
205
|
+
internalValue?: OneDashboardRawPage[] | cdktf.IResolvable;
|
|
206
|
+
/**
|
|
207
|
+
* @param terraformResource The parent resource
|
|
208
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
209
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
210
|
+
*/
|
|
211
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
212
|
+
/**
|
|
213
|
+
* @param index the index of the item to return
|
|
214
|
+
*/
|
|
215
|
+
get(index: number): OneDashboardRawPageOutputReference;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw newrelic_one_dashboard_raw}
|
|
219
|
+
*/
|
|
220
|
+
export declare class OneDashboardRaw extends cdktf.TerraformResource {
|
|
221
|
+
static readonly tfResourceType = "newrelic_one_dashboard_raw";
|
|
222
|
+
/**
|
|
223
|
+
* Generates CDKTF code for importing a OneDashboardRaw resource upon running "cdktf plan <stack-name>"
|
|
224
|
+
* @param scope The scope in which to define this construct
|
|
225
|
+
* @param importToId The construct id used in the generated config for the OneDashboardRaw to import
|
|
226
|
+
* @param importFromId The id of the existing OneDashboardRaw that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw#import import section} in the documentation of this resource for the id to use
|
|
227
|
+
* @param provider? Optional instance of the provider where the OneDashboardRaw to import is found
|
|
228
|
+
*/
|
|
229
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
230
|
+
/**
|
|
231
|
+
* Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_raw newrelic_one_dashboard_raw} Resource
|
|
232
|
+
*
|
|
233
|
+
* @param scope The scope in which to define this construct
|
|
234
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
235
|
+
* @param options OneDashboardRawConfig
|
|
236
|
+
*/
|
|
237
|
+
constructor(scope: Construct, id: string, config: OneDashboardRawConfig);
|
|
238
|
+
private _accountId?;
|
|
239
|
+
get accountId(): number;
|
|
240
|
+
set accountId(value: number);
|
|
241
|
+
resetAccountId(): void;
|
|
242
|
+
get accountIdInput(): number;
|
|
243
|
+
private _description?;
|
|
244
|
+
get description(): string;
|
|
245
|
+
set description(value: string);
|
|
246
|
+
resetDescription(): void;
|
|
247
|
+
get descriptionInput(): string;
|
|
248
|
+
get guid(): any;
|
|
249
|
+
private _id?;
|
|
250
|
+
get id(): string;
|
|
251
|
+
set id(value: string);
|
|
252
|
+
resetId(): void;
|
|
253
|
+
get idInput(): string;
|
|
254
|
+
private _name?;
|
|
255
|
+
get name(): string;
|
|
256
|
+
set name(value: string);
|
|
257
|
+
get nameInput(): string;
|
|
258
|
+
get permalink(): any;
|
|
259
|
+
private _permissions?;
|
|
260
|
+
get permissions(): string;
|
|
261
|
+
set permissions(value: string);
|
|
262
|
+
resetPermissions(): void;
|
|
263
|
+
get permissionsInput(): string;
|
|
264
|
+
private _page;
|
|
265
|
+
get page(): OneDashboardRawPageList;
|
|
266
|
+
putPage(value: OneDashboardRawPage[] | cdktf.IResolvable): void;
|
|
267
|
+
get pageInput(): any;
|
|
268
|
+
protected synthesizeAttributes(): {
|
|
269
|
+
[name: string]: any;
|
|
270
|
+
};
|
|
271
|
+
protected synthesizeHclAttributes(): {
|
|
272
|
+
[name: string]: any;
|
|
273
|
+
};
|
|
274
|
+
}
|