@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.
Files changed (147) hide show
  1. package/LICENSE +355 -0
  2. package/README.md +19 -0
  3. package/dist/account-management/index.d.ts +64 -0
  4. package/dist/account-management/index.js +131 -0
  5. package/dist/alert-channel/index.d.ts +347 -0
  6. package/dist/alert-channel/index.js +810 -0
  7. package/dist/alert-condition/index.d.ts +267 -0
  8. package/dist/alert-condition/index.js +587 -0
  9. package/dist/alert-muting-rule/index.d.ts +305 -0
  10. package/dist/alert-muting-rule/index.js +731 -0
  11. package/dist/alert-policy/index.d.ts +87 -0
  12. package/dist/alert-policy/index.js +180 -0
  13. package/dist/alert-policy-channel/index.d.ts +110 -0
  14. package/dist/alert-policy-channel/index.js +260 -0
  15. package/dist/api-access-key/index.d.ts +98 -0
  16. package/dist/api-access-key/index.js +230 -0
  17. package/dist/application-settings/index.d.ts +410 -0
  18. package/dist/application-settings/index.js +966 -0
  19. package/dist/browser-application/index.d.ts +101 -0
  20. package/dist/browser-application/index.js +215 -0
  21. package/dist/cloud-aws-govcloud-integrations/index.d.ts +1519 -0
  22. package/dist/cloud-aws-govcloud-integrations/index.js +3846 -0
  23. package/dist/cloud-aws-govcloud-link-account/index.d.ts +86 -0
  24. package/dist/cloud-aws-govcloud-link-account/index.js +177 -0
  25. package/dist/cloud-aws-integrations/index.d.ts +3294 -0
  26. package/dist/cloud-aws-integrations/index.js +8554 -0
  27. package/dist/cloud-aws-link-account/index.d.ts +86 -0
  28. package/dist/cloud-aws-link-account/index.js +177 -0
  29. package/dist/cloud-azure-integrations/index.d.ts +1662 -0
  30. package/dist/cloud-azure-integrations/index.js +4338 -0
  31. package/dist/cloud-azure-link-account/index.d.ts +105 -0
  32. package/dist/cloud-azure-link-account/index.js +214 -0
  33. package/dist/cloud-gcp-integrations/index.d.ts +1045 -0
  34. package/dist/cloud-gcp-integrations/index.js +2742 -0
  35. package/dist/cloud-gcp-link-account/index.d.ts +75 -0
  36. package/dist/cloud-gcp-link-account/index.js +154 -0
  37. package/dist/cloud-oci-link-account/index.d.ts +191 -0
  38. package/dist/cloud-oci-link-account/index.js +392 -0
  39. package/dist/data-newrelic-account/index.d.ts +77 -0
  40. package/dist/data-newrelic-account/index.js +160 -0
  41. package/dist/data-newrelic-alert-channel/index.d.ts +122 -0
  42. package/dist/data-newrelic-alert-channel/index.js +295 -0
  43. package/dist/data-newrelic-alert-policy/index.d.ts +78 -0
  44. package/dist/data-newrelic-alert-policy/index.js +165 -0
  45. package/dist/data-newrelic-application/index.d.ts +56 -0
  46. package/dist/data-newrelic-application/index.js +119 -0
  47. package/dist/data-newrelic-authentication-domain/index.d.ts +43 -0
  48. package/dist/data-newrelic-authentication-domain/index.js +92 -0
  49. package/dist/data-newrelic-cloud-account/index.d.ts +75 -0
  50. package/dist/data-newrelic-cloud-account/index.js +154 -0
  51. package/dist/data-newrelic-entity/index.d.ts +185 -0
  52. package/dist/data-newrelic-entity/index.js +414 -0
  53. package/dist/data-newrelic-group/index.d.ts +54 -0
  54. package/dist/data-newrelic-group/index.js +116 -0
  55. package/dist/data-newrelic-key-transaction/index.d.ts +78 -0
  56. package/dist/data-newrelic-key-transaction/index.js +165 -0
  57. package/dist/data-newrelic-notification-destination/index.d.ts +161 -0
  58. package/dist/data-newrelic-notification-destination/index.js +368 -0
  59. package/dist/data-newrelic-obfuscation-expression/index.d.ts +65 -0
  60. package/dist/data-newrelic-obfuscation-expression/index.js +134 -0
  61. package/dist/data-newrelic-service-level-alert-helper/index.d.ts +107 -0
  62. package/dist/data-newrelic-service-level-alert-helper/index.js +256 -0
  63. package/dist/data-newrelic-synthetics-private-location/index.d.ts +76 -0
  64. package/dist/data-newrelic-synthetics-private-location/index.js +157 -0
  65. package/dist/data-newrelic-synthetics-secure-credential/index.d.ts +67 -0
  66. package/dist/data-newrelic-synthetics-secure-credential/index.js +142 -0
  67. package/dist/data-newrelic-test-grok-pattern/index.d.ts +145 -0
  68. package/dist/data-newrelic-test-grok-pattern/index.js +312 -0
  69. package/dist/data-newrelic-user/index.d.ts +65 -0
  70. package/dist/data-newrelic-user/index.js +138 -0
  71. package/dist/data-partition-rule/index.d.ts +142 -0
  72. package/dist/data-partition-rule/index.js +327 -0
  73. package/dist/entity-tags/index.d.ts +152 -0
  74. package/dist/entity-tags/index.js +367 -0
  75. package/dist/events-to-metrics-rule/index.d.ts +98 -0
  76. package/dist/events-to-metrics-rule/index.js +204 -0
  77. package/dist/group/index.d.ts +75 -0
  78. package/dist/group/index.js +154 -0
  79. package/dist/index.d.ts +67 -0
  80. package/dist/index.js +68 -0
  81. package/dist/infra-alert-condition/index.d.ts +289 -0
  82. package/dist/infra-alert-condition/index.js +691 -0
  83. package/dist/insights-event/index.d.ts +182 -0
  84. package/dist/insights-event/index.js +427 -0
  85. package/dist/key-transaction/index.d.ts +96 -0
  86. package/dist/key-transaction/index.js +199 -0
  87. package/dist/lazy-index.d.ts +0 -0
  88. package/dist/lazy-index.js +68 -0
  89. package/dist/log-parsing-rule/index.d.ts +128 -0
  90. package/dist/log-parsing-rule/index.js +264 -0
  91. package/dist/monitor-downtime/index.d.ts +255 -0
  92. package/dist/monitor-downtime/index.js +603 -0
  93. package/dist/notification-channel/index.d.ts +236 -0
  94. package/dist/notification-channel/index.js +561 -0
  95. package/dist/notification-destination/index.d.ts +402 -0
  96. package/dist/notification-destination/index.js +1039 -0
  97. package/dist/nrql-alert-condition/index.d.ts +892 -0
  98. package/dist/nrql-alert-condition/index.js +2177 -0
  99. package/dist/nrql-drop-rule/index.d.ts +123 -0
  100. package/dist/nrql-drop-rule/index.js +291 -0
  101. package/dist/obfuscation-expression/index.d.ts +86 -0
  102. package/dist/obfuscation-expression/index.js +177 -0
  103. package/dist/obfuscation-rule/index.d.ts +169 -0
  104. package/dist/obfuscation-rule/index.js +372 -0
  105. package/dist/one-dashboard/index-structs/index.d.ts +2 -0
  106. package/dist/one-dashboard/index-structs/index.js +2 -0
  107. package/dist/one-dashboard/index-structs/structs0.d.ts +6996 -0
  108. package/dist/one-dashboard/index-structs/structs0.js +18191 -0
  109. package/dist/one-dashboard/index-structs/structs400.d.ts +3699 -0
  110. package/dist/one-dashboard/index-structs/structs400.js +9611 -0
  111. package/dist/one-dashboard/index.d.ts +112 -0
  112. package/dist/one-dashboard/index.js +232 -0
  113. package/dist/one-dashboard-json/index.d.ts +112 -0
  114. package/dist/one-dashboard-json/index.js +280 -0
  115. package/dist/one-dashboard-raw/index.d.ts +274 -0
  116. package/dist/one-dashboard-raw/index.js +666 -0
  117. package/dist/pipeline-cloud-rule/index.d.ts +86 -0
  118. package/dist/pipeline-cloud-rule/index.js +177 -0
  119. package/dist/provider/index.d.ts +160 -0
  120. package/dist/provider/index.js +378 -0
  121. package/dist/service-level/index.d.ts +501 -0
  122. package/dist/service-level/index.js +1425 -0
  123. package/dist/synthetics-alert-condition/index.d.ts +97 -0
  124. package/dist/synthetics-alert-condition/index.js +201 -0
  125. package/dist/synthetics-broken-links-monitor/index.d.ts +217 -0
  126. package/dist/synthetics-broken-links-monitor/index.js +474 -0
  127. package/dist/synthetics-cert-check-monitor/index.d.ts +222 -0
  128. package/dist/synthetics-cert-check-monitor/index.js +490 -0
  129. package/dist/synthetics-monitor/index.d.ts +404 -0
  130. package/dist/synthetics-monitor/index.js +885 -0
  131. package/dist/synthetics-multilocation-alert-condition/index.d.ts +177 -0
  132. package/dist/synthetics-multilocation-alert-condition/index.js +407 -0
  133. package/dist/synthetics-private-location/index.d.ts +90 -0
  134. package/dist/synthetics-private-location/index.js +193 -0
  135. package/dist/synthetics-script-monitor/index.d.ts +348 -0
  136. package/dist/synthetics-script-monitor/index.js +768 -0
  137. package/dist/synthetics-secure-credential/index.d.ts +132 -0
  138. package/dist/synthetics-secure-credential/index.js +306 -0
  139. package/dist/synthetics-step-monitor/index.d.ts +368 -0
  140. package/dist/synthetics-step-monitor/index.js +834 -0
  141. package/dist/user/index.d.ts +85 -0
  142. package/dist/user/index.js +174 -0
  143. package/dist/workflow/index.d.ts +441 -0
  144. package/dist/workflow/index.js +1066 -0
  145. package/dist/workload/index.d.ts +514 -0
  146. package/dist/workload/index.js +1283 -0
  147. package/package.json +50 -0
@@ -0,0 +1,112 @@
1
+ import { OneDashboardPage, OneDashboardVariable } from './index-structs';
2
+ export * from './index-structs';
3
+ import { Construct } from 'constructs';
4
+ import * as cdktf from 'cdktf';
5
+ export interface OneDashboardConfig extends cdktf.TerraformMetaArguments {
6
+ /**
7
+ * The New Relic account ID where you want to create the dashboard.
8
+ *
9
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard#account_id OneDashboard#account_id}
10
+ */
11
+ readonly accountId?: number;
12
+ /**
13
+ * The dashboard's description.
14
+ *
15
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard#description OneDashboard#description}
16
+ */
17
+ readonly description?: string;
18
+ /**
19
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard#id OneDashboard#id}
20
+ *
21
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
22
+ * 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.
23
+ */
24
+ readonly id?: string;
25
+ /**
26
+ * The dashboard's name.
27
+ *
28
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard#name OneDashboard#name}
29
+ */
30
+ readonly name: string;
31
+ /**
32
+ * Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to public_read_only.
33
+ *
34
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard#permissions OneDashboard#permissions}
35
+ */
36
+ readonly permissions?: string;
37
+ /**
38
+ * page block
39
+ *
40
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard#page OneDashboard#page}
41
+ */
42
+ readonly page: OneDashboardPage[] | cdktf.IResolvable;
43
+ /**
44
+ * variable block
45
+ *
46
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard#variable OneDashboard#variable}
47
+ */
48
+ readonly variable?: OneDashboardVariable[] | cdktf.IResolvable;
49
+ }
50
+ /**
51
+ * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard newrelic_one_dashboard}
52
+ */
53
+ export declare class OneDashboard extends cdktf.TerraformResource {
54
+ static readonly tfResourceType = "newrelic_one_dashboard";
55
+ /**
56
+ * Generates CDKTF code for importing a OneDashboard resource upon running "cdktf plan <stack-name>"
57
+ * @param scope The scope in which to define this construct
58
+ * @param importToId The construct id used in the generated config for the OneDashboard to import
59
+ * @param importFromId The id of the existing OneDashboard that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard#import import section} in the documentation of this resource for the id to use
60
+ * @param provider? Optional instance of the provider where the OneDashboard to import is found
61
+ */
62
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
63
+ /**
64
+ * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard newrelic_one_dashboard} Resource
65
+ *
66
+ * @param scope The scope in which to define this construct
67
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
68
+ * @param options OneDashboardConfig
69
+ */
70
+ constructor(scope: Construct, id: string, config: OneDashboardConfig);
71
+ private _accountId?;
72
+ get accountId(): number;
73
+ set accountId(value: number);
74
+ resetAccountId(): void;
75
+ get accountIdInput(): number;
76
+ private _description?;
77
+ get description(): string;
78
+ set description(value: string);
79
+ resetDescription(): void;
80
+ get descriptionInput(): string;
81
+ get guid(): any;
82
+ private _id?;
83
+ get id(): string;
84
+ set id(value: string);
85
+ resetId(): void;
86
+ get idInput(): string;
87
+ private _name?;
88
+ get name(): string;
89
+ set name(value: string);
90
+ get nameInput(): string;
91
+ get permalink(): any;
92
+ private _permissions?;
93
+ get permissions(): string;
94
+ set permissions(value: string);
95
+ resetPermissions(): void;
96
+ get permissionsInput(): string;
97
+ private _page;
98
+ get page(): any;
99
+ putPage(value: OneDashboardPage[] | cdktf.IResolvable): void;
100
+ get pageInput(): any;
101
+ private _variable;
102
+ get variable(): any;
103
+ putVariable(value: OneDashboardVariable[] | cdktf.IResolvable): void;
104
+ resetVariable(): void;
105
+ get variableInput(): any;
106
+ protected synthesizeAttributes(): {
107
+ [name: string]: any;
108
+ };
109
+ protected synthesizeHclAttributes(): {
110
+ [name: string]: any;
111
+ };
112
+ }
@@ -0,0 +1,232 @@
1
+ // generated from terraform resource schema
2
+ import { oneDashboardPageToTerraform, oneDashboardPageToHclTerraform, OneDashboardPageList, oneDashboardVariableToTerraform, oneDashboardVariableToHclTerraform, OneDashboardVariableList } from './index-structs';
3
+ export * from './index-structs';
4
+ import * as cdktf from 'cdktf';
5
+ /**
6
+ * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard newrelic_one_dashboard}
7
+ */
8
+ export class OneDashboard extends cdktf.TerraformResource {
9
+ // =================
10
+ // STATIC PROPERTIES
11
+ // =================
12
+ static tfResourceType = "newrelic_one_dashboard";
13
+ // ==============
14
+ // STATIC Methods
15
+ // ==============
16
+ /**
17
+ * Generates CDKTF code for importing a OneDashboard resource upon running "cdktf plan <stack-name>"
18
+ * @param scope The scope in which to define this construct
19
+ * @param importToId The construct id used in the generated config for the OneDashboard to import
20
+ * @param importFromId The id of the existing OneDashboard that should be imported. Refer to the {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard#import import section} in the documentation of this resource for the id to use
21
+ * @param provider? Optional instance of the provider where the OneDashboard to import is found
22
+ */
23
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
24
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "newrelic_one_dashboard", importId: importFromId, provider });
25
+ }
26
+ // ===========
27
+ // INITIALIZER
28
+ // ===========
29
+ /**
30
+ * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard newrelic_one_dashboard} Resource
31
+ *
32
+ * @param scope The scope in which to define this construct
33
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
34
+ * @param options OneDashboardConfig
35
+ */
36
+ constructor(scope, id, config) {
37
+ super(scope, id, {
38
+ terraformResourceType: 'newrelic_one_dashboard',
39
+ terraformGeneratorMetadata: {
40
+ providerName: 'newrelic',
41
+ providerVersion: '3.75.4',
42
+ providerVersionConstraint: '3.75.4'
43
+ },
44
+ provider: config.provider,
45
+ dependsOn: config.dependsOn,
46
+ count: config.count,
47
+ lifecycle: config.lifecycle,
48
+ provisioners: config.provisioners,
49
+ connection: config.connection,
50
+ forEach: config.forEach
51
+ });
52
+ this._accountId = config.accountId;
53
+ this._description = config.description;
54
+ this._id = config.id;
55
+ this._name = config.name;
56
+ this._permissions = config.permissions;
57
+ this._page.internalValue = config.page;
58
+ this._variable.internalValue = config.variable;
59
+ }
60
+ // ==========
61
+ // ATTRIBUTES
62
+ // ==========
63
+ // account_id - computed: true, optional: true, required: false
64
+ _accountId;
65
+ get accountId() {
66
+ return this.getNumberAttribute('account_id');
67
+ }
68
+ set accountId(value) {
69
+ this._accountId = value;
70
+ }
71
+ resetAccountId() {
72
+ this._accountId = undefined;
73
+ }
74
+ // Temporarily expose input value. Use with caution.
75
+ get accountIdInput() {
76
+ return this._accountId;
77
+ }
78
+ // description - computed: false, optional: true, required: false
79
+ _description;
80
+ get description() {
81
+ return this.getStringAttribute('description');
82
+ }
83
+ set description(value) {
84
+ this._description = value;
85
+ }
86
+ resetDescription() {
87
+ this._description = undefined;
88
+ }
89
+ // Temporarily expose input value. Use with caution.
90
+ get descriptionInput() {
91
+ return this._description;
92
+ }
93
+ // guid - computed: true, optional: false, required: false
94
+ get guid() {
95
+ return this.getStringAttribute('guid');
96
+ }
97
+ // id - computed: true, optional: true, required: false
98
+ _id;
99
+ get id() {
100
+ return this.getStringAttribute('id');
101
+ }
102
+ set id(value) {
103
+ this._id = value;
104
+ }
105
+ resetId() {
106
+ this._id = undefined;
107
+ }
108
+ // Temporarily expose input value. Use with caution.
109
+ get idInput() {
110
+ return this._id;
111
+ }
112
+ // name - computed: false, optional: false, required: true
113
+ _name;
114
+ get name() {
115
+ return this.getStringAttribute('name');
116
+ }
117
+ set name(value) {
118
+ this._name = value;
119
+ }
120
+ // Temporarily expose input value. Use with caution.
121
+ get nameInput() {
122
+ return this._name;
123
+ }
124
+ // permalink - computed: true, optional: false, required: false
125
+ get permalink() {
126
+ return this.getStringAttribute('permalink');
127
+ }
128
+ // permissions - computed: false, optional: true, required: false
129
+ _permissions;
130
+ get permissions() {
131
+ return this.getStringAttribute('permissions');
132
+ }
133
+ set permissions(value) {
134
+ this._permissions = value;
135
+ }
136
+ resetPermissions() {
137
+ this._permissions = undefined;
138
+ }
139
+ // Temporarily expose input value. Use with caution.
140
+ get permissionsInput() {
141
+ return this._permissions;
142
+ }
143
+ // page - computed: false, optional: false, required: true
144
+ _page = new OneDashboardPageList(this, "page", false);
145
+ get page() {
146
+ return this._page;
147
+ }
148
+ putPage(value) {
149
+ this._page.internalValue = value;
150
+ }
151
+ // Temporarily expose input value. Use with caution.
152
+ get pageInput() {
153
+ return this._page.internalValue;
154
+ }
155
+ // variable - computed: false, optional: true, required: false
156
+ _variable = new OneDashboardVariableList(this, "variable", false);
157
+ get variable() {
158
+ return this._variable;
159
+ }
160
+ putVariable(value) {
161
+ this._variable.internalValue = value;
162
+ }
163
+ resetVariable() {
164
+ this._variable.internalValue = undefined;
165
+ }
166
+ // Temporarily expose input value. Use with caution.
167
+ get variableInput() {
168
+ return this._variable.internalValue;
169
+ }
170
+ // =========
171
+ // SYNTHESIS
172
+ // =========
173
+ synthesizeAttributes() {
174
+ return {
175
+ account_id: cdktf.numberToTerraform(this._accountId),
176
+ description: cdktf.stringToTerraform(this._description),
177
+ id: cdktf.stringToTerraform(this._id),
178
+ name: cdktf.stringToTerraform(this._name),
179
+ permissions: cdktf.stringToTerraform(this._permissions),
180
+ page: cdktf.listMapper(oneDashboardPageToTerraform, true)(this._page.internalValue),
181
+ variable: cdktf.listMapper(oneDashboardVariableToTerraform, true)(this._variable.internalValue),
182
+ };
183
+ }
184
+ synthesizeHclAttributes() {
185
+ const attrs = {
186
+ account_id: {
187
+ value: cdktf.numberToHclTerraform(this._accountId),
188
+ isBlock: false,
189
+ type: "simple",
190
+ storageClassType: "number",
191
+ },
192
+ description: {
193
+ value: cdktf.stringToHclTerraform(this._description),
194
+ isBlock: false,
195
+ type: "simple",
196
+ storageClassType: "string",
197
+ },
198
+ id: {
199
+ value: cdktf.stringToHclTerraform(this._id),
200
+ isBlock: false,
201
+ type: "simple",
202
+ storageClassType: "string",
203
+ },
204
+ name: {
205
+ value: cdktf.stringToHclTerraform(this._name),
206
+ isBlock: false,
207
+ type: "simple",
208
+ storageClassType: "string",
209
+ },
210
+ permissions: {
211
+ value: cdktf.stringToHclTerraform(this._permissions),
212
+ isBlock: false,
213
+ type: "simple",
214
+ storageClassType: "string",
215
+ },
216
+ page: {
217
+ value: cdktf.listMapperHcl(oneDashboardPageToHclTerraform, true)(this._page.internalValue),
218
+ isBlock: true,
219
+ type: "list",
220
+ storageClassType: "OneDashboardPageList",
221
+ },
222
+ variable: {
223
+ value: cdktf.listMapperHcl(oneDashboardVariableToHclTerraform, true)(this._variable.internalValue),
224
+ isBlock: true,
225
+ type: "list",
226
+ storageClassType: "OneDashboardVariableList",
227
+ },
228
+ };
229
+ // remove undefined attributes
230
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
231
+ }
232
+ }
@@ -0,0 +1,112 @@
1
+ import { Construct } from 'constructs';
2
+ import * as cdktf from 'cdktf';
3
+ export interface OneDashboardJsonConfig 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_json#account_id OneDashboardJson#account_id}
8
+ */
9
+ readonly accountId?: number;
10
+ /**
11
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_json#id OneDashboardJson#id}
12
+ *
13
+ * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
14
+ * 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.
15
+ */
16
+ readonly id?: string;
17
+ /**
18
+ * The dashboard's json.
19
+ *
20
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_json#json OneDashboardJson#json}
21
+ */
22
+ readonly json: string;
23
+ /**
24
+ * timeouts block
25
+ *
26
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_json#timeouts OneDashboardJson#timeouts}
27
+ */
28
+ readonly timeouts?: OneDashboardJsonTimeouts;
29
+ }
30
+ export interface OneDashboardJsonTimeouts {
31
+ /**
32
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_json#create OneDashboardJson#create}
33
+ */
34
+ readonly create?: string;
35
+ /**
36
+ * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_json#update OneDashboardJson#update}
37
+ */
38
+ readonly update?: string;
39
+ }
40
+ export declare function oneDashboardJsonTimeoutsToTerraform(struct?: OneDashboardJsonTimeouts | cdktf.IResolvable): any;
41
+ export declare function oneDashboardJsonTimeoutsToHclTerraform(struct?: OneDashboardJsonTimeouts | cdktf.IResolvable): any;
42
+ export declare class OneDashboardJsonTimeoutsOutputReference extends cdktf.ComplexObject {
43
+ private isEmptyObject;
44
+ private resolvableValue?;
45
+ /**
46
+ * @param terraformResource The parent resource
47
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
48
+ */
49
+ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
50
+ get internalValue(): OneDashboardJsonTimeouts | cdktf.IResolvable | undefined;
51
+ set internalValue(value: OneDashboardJsonTimeouts | cdktf.IResolvable | undefined);
52
+ private _create?;
53
+ get create(): string;
54
+ set create(value: string);
55
+ resetCreate(): void;
56
+ get createInput(): string;
57
+ private _update?;
58
+ get update(): string;
59
+ set update(value: string);
60
+ resetUpdate(): void;
61
+ get updateInput(): string;
62
+ }
63
+ /**
64
+ * Represents a {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_json newrelic_one_dashboard_json}
65
+ */
66
+ export declare class OneDashboardJson extends cdktf.TerraformResource {
67
+ static readonly tfResourceType = "newrelic_one_dashboard_json";
68
+ /**
69
+ * Generates CDKTF code for importing a OneDashboardJson resource upon running "cdktf plan <stack-name>"
70
+ * @param scope The scope in which to define this construct
71
+ * @param importToId The construct id used in the generated config for the OneDashboardJson to import
72
+ * @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
73
+ * @param provider? Optional instance of the provider where the OneDashboardJson to import is found
74
+ */
75
+ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
76
+ /**
77
+ * Create a new {@link https://registry.terraform.io/providers/newrelic/newrelic/3.75.4/docs/resources/one_dashboard_json newrelic_one_dashboard_json} Resource
78
+ *
79
+ * @param scope The scope in which to define this construct
80
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
81
+ * @param options OneDashboardJsonConfig
82
+ */
83
+ constructor(scope: Construct, id: string, config: OneDashboardJsonConfig);
84
+ private _accountId?;
85
+ get accountId(): number;
86
+ set accountId(value: number);
87
+ resetAccountId(): void;
88
+ get accountIdInput(): number;
89
+ get guid(): any;
90
+ private _id?;
91
+ get id(): string;
92
+ set id(value: string);
93
+ resetId(): void;
94
+ get idInput(): string;
95
+ private _json?;
96
+ get json(): string;
97
+ set json(value: string);
98
+ get jsonInput(): string;
99
+ get permalink(): any;
100
+ get updatedAt(): any;
101
+ private _timeouts;
102
+ get timeouts(): OneDashboardJsonTimeoutsOutputReference;
103
+ putTimeouts(value: OneDashboardJsonTimeouts): void;
104
+ resetTimeouts(): void;
105
+ get timeoutsInput(): any;
106
+ protected synthesizeAttributes(): {
107
+ [name: string]: any;
108
+ };
109
+ protected synthesizeHclAttributes(): {
110
+ [name: string]: any;
111
+ };
112
+ }