@gradientedge/cdk-utils 9.87.0 → 9.88.0

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.
@@ -1,1203 +0,0 @@
1
- // https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource
2
- // generated from terraform resource schema
3
-
4
- import { Construct } from 'constructs'
5
- import * as cdktf from 'cdktf'
6
-
7
- // Configuration
8
-
9
- export interface DataPlaneResourceConfig extends cdktf.TerraformMetaArguments {
10
- /**
11
- * A dynamic attribute that contains the request body.
12
- *
13
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#body DataPlaneResource#body}
14
- */
15
- readonly body?: { [key: string]: any }
16
- /**
17
- * A mapping of headers to be sent with the create request.
18
- *
19
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#create_headers DataPlaneResource#create_headers}
20
- */
21
- readonly createHeaders?: { [key: string]: string }
22
- /**
23
- * A mapping of query parameters to be sent with the create request.
24
- *
25
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#create_query_parameters DataPlaneResource#create_query_parameters}
26
- */
27
- readonly createQueryParameters?: { [key: string]: string[] } | cdktf.IResolvable
28
- /**
29
- * A mapping of headers to be sent with the delete request.
30
- *
31
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#delete_headers DataPlaneResource#delete_headers}
32
- */
33
- readonly deleteHeaders?: { [key: string]: string }
34
- /**
35
- * A mapping of query parameters to be sent with the delete request.
36
- *
37
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#delete_query_parameters DataPlaneResource#delete_query_parameters}
38
- */
39
- readonly deleteQueryParameters?: { [key: string]: string[] } | cdktf.IResolvable
40
- /**
41
- * A dynamic attribute that contains the request body.
42
- *
43
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#ignore_casing DataPlaneResource#ignore_casing}
44
- */
45
- readonly ignoreCasing?: boolean | cdktf.IResolvable
46
- /**
47
- * Whether ignore not returned properties like credentials in `body` to suppress plan-diff. Defaults to `true`. It's recommend to enable this option when some sensitive properties are not returned in response body, instead of setting them in `lifecycle.ignore_changes` because it will make the sensitive fields unable to update.
48
- *
49
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#ignore_missing_property DataPlaneResource#ignore_missing_property}
50
- */
51
- readonly ignoreMissingProperty?: boolean | cdktf.IResolvable
52
- /**
53
- * A list of ARM resource IDs which are used to avoid create/modify/delete azapi resources at the same time.
54
- *
55
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#locks DataPlaneResource#locks}
56
- */
57
- readonly locks?: string[]
58
- /**
59
- * Specifies the name of the Azure resource. Changing this forces a new resource to be created.
60
- *
61
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#name DataPlaneResource#name}
62
- */
63
- readonly name: string
64
- /**
65
- * The ID of the azure resource in which this resource is created. Changing this forces a new resource to be created.
66
- *
67
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#parent_id DataPlaneResource#parent_id}
68
- */
69
- readonly parentId: string
70
- /**
71
- * A mapping of headers to be sent with the read request.
72
- *
73
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#read_headers DataPlaneResource#read_headers}
74
- */
75
- readonly readHeaders?: { [key: string]: string }
76
- /**
77
- * A mapping of query parameters to be sent with the read request.
78
- *
79
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#read_query_parameters DataPlaneResource#read_query_parameters}
80
- */
81
- readonly readQueryParameters?: { [key: string]: string[] } | cdktf.IResolvable
82
- /**
83
- * Will trigger a replace of the resource when the value changes and is not `null`. This can be used by practitioners to force a replace of the resource when certain values change, e.g. changing the SKU of a virtual machine based on the value of variables or locals. The value is a `dynamic`, so practitioners can compose the input however they wish. For a "break glass" set the value to `null` to prevent the plan modifier taking effect.
84
- * If you have `null` values that you do want to be tracked as affecting the resource replacement, include these inside an object.
85
- * Advanced use cases are possible and resource replacement can be triggered by values external to the resource, for example when a dependent resource changes.
86
- *
87
- * e.g. to replace a resource when either the SKU or os_type attributes change:
88
- *
89
- * ```hcl
90
- * resource "azapi_data_plane_resource" "example" {
91
- * name = var.name
92
- * type = "Microsoft.AppConfiguration/configurationStores/keyValues@1.0"
93
- * body = {
94
- * properties = {
95
- * sku = var.sku
96
- * zones = var.zones
97
- * }
98
- * }
99
- *
100
- * replace_triggers_external_values = [
101
- * var.sku,
102
- * var.zones,
103
- * ]
104
- * }
105
- * ```
106
- *
107
- *
108
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#replace_triggers_external_values DataPlaneResource#replace_triggers_external_values}
109
- */
110
- readonly replaceTriggersExternalValues?: { [key: string]: any }
111
- /**
112
- * A list of paths in the current Terraform configuration. When the values at these paths change, the resource will be replaced.
113
- *
114
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#replace_triggers_refs DataPlaneResource#replace_triggers_refs}
115
- */
116
- readonly replaceTriggersRefs?: string[]
117
- /**
118
- * The attribute can accept either a list or a map.
119
- *
120
- * - **List**: A list of paths that need to be exported from the response body. Setting it to `["*"]` will export the full response body. Here's an example. If it sets to `["properties.loginServer", "properties.policies.quarantinePolicy.status"]`, it will set the following HCL object to the computed property output.
121
- *
122
- * ```text
123
- * {
124
- * properties = {
125
- * loginServer = "registry1.azurecr.io"
126
- * policies = {
127
- * quarantinePolicy = {
128
- * status = "disabled"
129
- * }
130
- * }
131
- * }
132
- * }
133
- * ```
134
- *
135
- * - **Map**: A map where the key is the name for the result and the value is a JMESPath query string to filter the response. Here's an example. If it sets to `{"login_server": "properties.loginServer", "quarantine_status": "properties.policies.quarantinePolicy.status"}`, it will set the following HCL object to the computed property output.
136
- *
137
- * ```text
138
- * {
139
- * "login_server" = "registry1.azurecr.io"
140
- * "quarantine_status" = "disabled"
141
- * }
142
- * ```
143
- *
144
- * To learn more about JMESPath, visit [JMESPath](https://jmespath.org/).
145
- *
146
- *
147
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#response_export_values DataPlaneResource#response_export_values}
148
- */
149
- readonly responseExportValues?: { [key: string]: any }
150
- /**
151
- * The retry block supports the following arguments:
152
- *
153
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#retry DataPlaneResource#retry}
154
- */
155
- readonly retry?: DataPlaneResourceRetry
156
- /**
157
- * In a format like `<resource-type>@<api-version>`. `<resource-type>` is the Azure resource type, for example, `Microsoft.Storage/storageAccounts`. `<api-version>` is version of the API used to manage this azure resource.
158
- *
159
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#type DataPlaneResource#type}
160
- */
161
- readonly type: string
162
- /**
163
- * A mapping of headers to be sent with the update request.
164
- *
165
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#update_headers DataPlaneResource#update_headers}
166
- */
167
- readonly updateHeaders?: { [key: string]: string }
168
- /**
169
- * A mapping of query parameters to be sent with the update request.
170
- *
171
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#update_query_parameters DataPlaneResource#update_query_parameters}
172
- */
173
- readonly updateQueryParameters?: { [key: string]: string[] } | cdktf.IResolvable
174
- /**
175
- * timeouts block
176
- *
177
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#timeouts DataPlaneResource#timeouts}
178
- */
179
- readonly timeouts?: DataPlaneResourceTimeouts
180
- }
181
- export interface DataPlaneResourceRetry {
182
- /**
183
- * A list of regular expressions to match against error messages. If any of the regular expressions match, the error is considered retryable.
184
- *
185
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#error_message_regex DataPlaneResource#error_message_regex}
186
- */
187
- readonly errorMessageRegex: string[]
188
- /**
189
- * The base number of seconds to wait between retries. Default is `10`.
190
- *
191
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#interval_seconds DataPlaneResource#interval_seconds}
192
- */
193
- readonly intervalSeconds?: number
194
- /**
195
- * The maximum number of seconds to wait between retries. Default is `180`.
196
- *
197
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#max_interval_seconds DataPlaneResource#max_interval_seconds}
198
- */
199
- readonly maxIntervalSeconds?: number
200
- /**
201
- * The multiplier to apply to the interval between retries. Default is `1.5`.
202
- *
203
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#multiplier DataPlaneResource#multiplier}
204
- */
205
- readonly multiplier?: number
206
- /**
207
- * The randomization factor to apply to the interval between retries. The formula for the randomized interval is: `RetryInterval * (random value in range [1 - RandomizationFactor, 1 + RandomizationFactor])`. Therefore set to zero `0.0` for no randomization. Default is `0.5`.
208
- *
209
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#randomization_factor DataPlaneResource#randomization_factor}
210
- */
211
- readonly randomizationFactor?: number
212
- }
213
-
214
- export function dataPlaneResourceRetryToTerraform(struct?: DataPlaneResourceRetry | cdktf.IResolvable): any {
215
- if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
216
- return struct
217
- }
218
- if (cdktf.isComplexElement(struct)) {
219
- throw new Error(
220
- 'A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration'
221
- )
222
- }
223
- return {
224
- error_message_regex: cdktf.listMapper(cdktf.stringToTerraform, false)(struct!.errorMessageRegex),
225
- interval_seconds: cdktf.numberToTerraform(struct!.intervalSeconds),
226
- max_interval_seconds: cdktf.numberToTerraform(struct!.maxIntervalSeconds),
227
- multiplier: cdktf.numberToTerraform(struct!.multiplier),
228
- randomization_factor: cdktf.numberToTerraform(struct!.randomizationFactor),
229
- }
230
- }
231
-
232
- export function dataPlaneResourceRetryToHclTerraform(struct?: DataPlaneResourceRetry | cdktf.IResolvable): any {
233
- if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
234
- return struct
235
- }
236
- if (cdktf.isComplexElement(struct)) {
237
- throw new Error(
238
- 'A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration'
239
- )
240
- }
241
- const attrs = {
242
- error_message_regex: {
243
- value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct!.errorMessageRegex),
244
- isBlock: false,
245
- type: 'list',
246
- storageClassType: 'stringList',
247
- },
248
- interval_seconds: {
249
- value: cdktf.numberToHclTerraform(struct!.intervalSeconds),
250
- isBlock: false,
251
- type: 'simple',
252
- storageClassType: 'number',
253
- },
254
- max_interval_seconds: {
255
- value: cdktf.numberToHclTerraform(struct!.maxIntervalSeconds),
256
- isBlock: false,
257
- type: 'simple',
258
- storageClassType: 'number',
259
- },
260
- multiplier: {
261
- value: cdktf.numberToHclTerraform(struct!.multiplier),
262
- isBlock: false,
263
- type: 'simple',
264
- storageClassType: 'number',
265
- },
266
- randomization_factor: {
267
- value: cdktf.numberToHclTerraform(struct!.randomizationFactor),
268
- isBlock: false,
269
- type: 'simple',
270
- storageClassType: 'number',
271
- },
272
- }
273
-
274
- // remove undefined attributes
275
- return Object.fromEntries(
276
- Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)
277
- )
278
- }
279
-
280
- export class DataPlaneResourceRetryOutputReference extends cdktf.ComplexObject {
281
- private isEmptyObject = false
282
- private resolvableValue?: cdktf.IResolvable
283
-
284
- /**
285
- * @param terraformResource The parent resource
286
- * @param terraformAttribute The attribute on the parent resource this class is referencing
287
- */
288
- public constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string) {
289
- super(terraformResource, terraformAttribute, false)
290
- }
291
-
292
- public get internalValue(): DataPlaneResourceRetry | cdktf.IResolvable | undefined {
293
- if (this.resolvableValue) {
294
- return this.resolvableValue
295
- }
296
- let hasAnyValues = this.isEmptyObject
297
- const internalValueResult: any = {}
298
- if (this._errorMessageRegex !== undefined) {
299
- hasAnyValues = true
300
- internalValueResult.errorMessageRegex = this._errorMessageRegex
301
- }
302
- if (this._intervalSeconds !== undefined) {
303
- hasAnyValues = true
304
- internalValueResult.intervalSeconds = this._intervalSeconds
305
- }
306
- if (this._maxIntervalSeconds !== undefined) {
307
- hasAnyValues = true
308
- internalValueResult.maxIntervalSeconds = this._maxIntervalSeconds
309
- }
310
- if (this._multiplier !== undefined) {
311
- hasAnyValues = true
312
- internalValueResult.multiplier = this._multiplier
313
- }
314
- if (this._randomizationFactor !== undefined) {
315
- hasAnyValues = true
316
- internalValueResult.randomizationFactor = this._randomizationFactor
317
- }
318
- return hasAnyValues ? internalValueResult : undefined
319
- }
320
-
321
- public set internalValue(value: DataPlaneResourceRetry | cdktf.IResolvable | undefined) {
322
- if (value === undefined) {
323
- this.isEmptyObject = false
324
- this.resolvableValue = undefined
325
- this._errorMessageRegex = undefined
326
- this._intervalSeconds = undefined
327
- this._maxIntervalSeconds = undefined
328
- this._multiplier = undefined
329
- this._randomizationFactor = undefined
330
- } else if (cdktf.Tokenization.isResolvable(value)) {
331
- this.isEmptyObject = false
332
- this.resolvableValue = value
333
- } else {
334
- this.isEmptyObject = Object.keys(value).length === 0
335
- this.resolvableValue = undefined
336
- this._errorMessageRegex = value.errorMessageRegex
337
- this._intervalSeconds = value.intervalSeconds
338
- this._maxIntervalSeconds = value.maxIntervalSeconds
339
- this._multiplier = value.multiplier
340
- this._randomizationFactor = value.randomizationFactor
341
- }
342
- }
343
-
344
- // error_message_regex - computed: false, optional: false, required: true
345
- private _errorMessageRegex?: string[]
346
- public get errorMessageRegex() {
347
- return this.getListAttribute('error_message_regex')
348
- }
349
- public set errorMessageRegex(value: string[]) {
350
- this._errorMessageRegex = value
351
- }
352
- // Temporarily expose input value. Use with caution.
353
- public get errorMessageRegexInput() {
354
- return this._errorMessageRegex
355
- }
356
-
357
- // interval_seconds - computed: true, optional: true, required: false
358
- private _intervalSeconds?: number
359
- public get intervalSeconds() {
360
- return this.getNumberAttribute('interval_seconds')
361
- }
362
- public set intervalSeconds(value: number) {
363
- this._intervalSeconds = value
364
- }
365
- public resetIntervalSeconds() {
366
- this._intervalSeconds = undefined
367
- }
368
- // Temporarily expose input value. Use with caution.
369
- public get intervalSecondsInput() {
370
- return this._intervalSeconds
371
- }
372
-
373
- // max_interval_seconds - computed: true, optional: true, required: false
374
- private _maxIntervalSeconds?: number
375
- public get maxIntervalSeconds() {
376
- return this.getNumberAttribute('max_interval_seconds')
377
- }
378
- public set maxIntervalSeconds(value: number) {
379
- this._maxIntervalSeconds = value
380
- }
381
- public resetMaxIntervalSeconds() {
382
- this._maxIntervalSeconds = undefined
383
- }
384
- // Temporarily expose input value. Use with caution.
385
- public get maxIntervalSecondsInput() {
386
- return this._maxIntervalSeconds
387
- }
388
-
389
- // multiplier - computed: true, optional: true, required: false
390
- private _multiplier?: number
391
- public get multiplier() {
392
- return this.getNumberAttribute('multiplier')
393
- }
394
- public set multiplier(value: number) {
395
- this._multiplier = value
396
- }
397
- public resetMultiplier() {
398
- this._multiplier = undefined
399
- }
400
- // Temporarily expose input value. Use with caution.
401
- public get multiplierInput() {
402
- return this._multiplier
403
- }
404
-
405
- // randomization_factor - computed: true, optional: true, required: false
406
- private _randomizationFactor?: number
407
- public get randomizationFactor() {
408
- return this.getNumberAttribute('randomization_factor')
409
- }
410
- public set randomizationFactor(value: number) {
411
- this._randomizationFactor = value
412
- }
413
- public resetRandomizationFactor() {
414
- this._randomizationFactor = undefined
415
- }
416
- // Temporarily expose input value. Use with caution.
417
- public get randomizationFactorInput() {
418
- return this._randomizationFactor
419
- }
420
- }
421
- export interface DataPlaneResourceTimeouts {
422
- /**
423
- * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
424
- *
425
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#create DataPlaneResource#create}
426
- */
427
- readonly create?: string
428
- /**
429
- * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
430
- *
431
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#delete DataPlaneResource#delete}
432
- */
433
- readonly delete?: string
434
- /**
435
- * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
436
- *
437
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#read DataPlaneResource#read}
438
- */
439
- readonly read?: string
440
- /**
441
- * A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
442
- *
443
- * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#update DataPlaneResource#update}
444
- */
445
- readonly update?: string
446
- }
447
-
448
- export function dataPlaneResourceTimeoutsToTerraform(struct?: DataPlaneResourceTimeouts | cdktf.IResolvable): any {
449
- if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
450
- return struct
451
- }
452
- if (cdktf.isComplexElement(struct)) {
453
- throw new Error(
454
- 'A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration'
455
- )
456
- }
457
- return {
458
- create: cdktf.stringToTerraform(struct!.create),
459
- delete: cdktf.stringToTerraform(struct!.delete),
460
- read: cdktf.stringToTerraform(struct!.read),
461
- update: cdktf.stringToTerraform(struct!.update),
462
- }
463
- }
464
-
465
- export function dataPlaneResourceTimeoutsToHclTerraform(struct?: DataPlaneResourceTimeouts | cdktf.IResolvable): any {
466
- if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
467
- return struct
468
- }
469
- if (cdktf.isComplexElement(struct)) {
470
- throw new Error(
471
- 'A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration'
472
- )
473
- }
474
- const attrs = {
475
- create: {
476
- value: cdktf.stringToHclTerraform(struct!.create),
477
- isBlock: false,
478
- type: 'simple',
479
- storageClassType: 'string',
480
- },
481
- delete: {
482
- value: cdktf.stringToHclTerraform(struct!.delete),
483
- isBlock: false,
484
- type: 'simple',
485
- storageClassType: 'string',
486
- },
487
- read: {
488
- value: cdktf.stringToHclTerraform(struct!.read),
489
- isBlock: false,
490
- type: 'simple',
491
- storageClassType: 'string',
492
- },
493
- update: {
494
- value: cdktf.stringToHclTerraform(struct!.update),
495
- isBlock: false,
496
- type: 'simple',
497
- storageClassType: 'string',
498
- },
499
- }
500
-
501
- // remove undefined attributes
502
- return Object.fromEntries(
503
- Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)
504
- )
505
- }
506
-
507
- export class DataPlaneResourceTimeoutsOutputReference extends cdktf.ComplexObject {
508
- private isEmptyObject = false
509
- private resolvableValue?: cdktf.IResolvable
510
-
511
- /**
512
- * @param terraformResource The parent resource
513
- * @param terraformAttribute The attribute on the parent resource this class is referencing
514
- */
515
- public constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string) {
516
- super(terraformResource, terraformAttribute, false)
517
- }
518
-
519
- public get internalValue(): DataPlaneResourceTimeouts | cdktf.IResolvable | undefined {
520
- if (this.resolvableValue) {
521
- return this.resolvableValue
522
- }
523
- let hasAnyValues = this.isEmptyObject
524
- const internalValueResult: any = {}
525
- if (this._create !== undefined) {
526
- hasAnyValues = true
527
- internalValueResult.create = this._create
528
- }
529
- if (this._delete !== undefined) {
530
- hasAnyValues = true
531
- internalValueResult.delete = this._delete
532
- }
533
- if (this._read !== undefined) {
534
- hasAnyValues = true
535
- internalValueResult.read = this._read
536
- }
537
- if (this._update !== undefined) {
538
- hasAnyValues = true
539
- internalValueResult.update = this._update
540
- }
541
- return hasAnyValues ? internalValueResult : undefined
542
- }
543
-
544
- public set internalValue(value: DataPlaneResourceTimeouts | cdktf.IResolvable | undefined) {
545
- if (value === undefined) {
546
- this.isEmptyObject = false
547
- this.resolvableValue = undefined
548
- this._create = undefined
549
- this._delete = undefined
550
- this._read = undefined
551
- this._update = undefined
552
- } else if (cdktf.Tokenization.isResolvable(value)) {
553
- this.isEmptyObject = false
554
- this.resolvableValue = value
555
- } else {
556
- this.isEmptyObject = Object.keys(value).length === 0
557
- this.resolvableValue = undefined
558
- this._create = value.create
559
- this._delete = value.delete
560
- this._read = value.read
561
- this._update = value.update
562
- }
563
- }
564
-
565
- // create - computed: false, optional: true, required: false
566
- private _create?: string
567
- public get create() {
568
- return this.getStringAttribute('create')
569
- }
570
- public set create(value: string) {
571
- this._create = value
572
- }
573
- public resetCreate() {
574
- this._create = undefined
575
- }
576
- // Temporarily expose input value. Use with caution.
577
- public get createInput() {
578
- return this._create
579
- }
580
-
581
- // delete - computed: false, optional: true, required: false
582
- private _delete?: string
583
- public get delete() {
584
- return this.getStringAttribute('delete')
585
- }
586
- public set delete(value: string) {
587
- this._delete = value
588
- }
589
- public resetDelete() {
590
- this._delete = undefined
591
- }
592
- // Temporarily expose input value. Use with caution.
593
- public get deleteInput() {
594
- return this._delete
595
- }
596
-
597
- // read - computed: false, optional: true, required: false
598
- private _read?: string
599
- public get read() {
600
- return this.getStringAttribute('read')
601
- }
602
- public set read(value: string) {
603
- this._read = value
604
- }
605
- public resetRead() {
606
- this._read = undefined
607
- }
608
- // Temporarily expose input value. Use with caution.
609
- public get readInput() {
610
- return this._read
611
- }
612
-
613
- // update - computed: false, optional: true, required: false
614
- private _update?: string
615
- public get update() {
616
- return this.getStringAttribute('update')
617
- }
618
- public set update(value: string) {
619
- this._update = value
620
- }
621
- public resetUpdate() {
622
- this._update = undefined
623
- }
624
- // Temporarily expose input value. Use with caution.
625
- public get updateInput() {
626
- return this._update
627
- }
628
- }
629
-
630
- /**
631
- * Represents a {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource azapi_data_plane_resource}
632
- */
633
- export class DataPlaneResource extends cdktf.TerraformResource {
634
- // =================
635
- // STATIC PROPERTIES
636
- // =================
637
- public static readonly tfResourceType = 'azapi_data_plane_resource'
638
-
639
- // ==============
640
- // STATIC Methods
641
- // ==============
642
- /**
643
- * Generates CDKTF code for importing a DataPlaneResource resource upon running "cdktf plan <stack-name>"
644
- * @param scope The scope in which to define this construct
645
- * @param importToId The construct id used in the generated config for the DataPlaneResource to import
646
- * @param importFromId The id of the existing DataPlaneResource that should be imported. Refer to the {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource#import import section} in the documentation of this resource for the id to use
647
- * @param provider? Optional instance of the provider where the DataPlaneResource to import is found
648
- */
649
- public static generateConfigForImport(
650
- scope: Construct,
651
- importToId: string,
652
- importFromId: string,
653
- provider?: cdktf.TerraformProvider
654
- ) {
655
- return new cdktf.ImportableResource(scope, importToId, {
656
- terraformResourceType: 'azapi_data_plane_resource',
657
- importId: importFromId,
658
- provider,
659
- })
660
- }
661
-
662
- // ===========
663
- // INITIALIZER
664
- // ===========
665
-
666
- /**
667
- * Create a new {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs/resources/data_plane_resource azapi_data_plane_resource} Resource
668
- *
669
- * @param scope The scope in which to define this construct
670
- * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
671
- * @param options DataPlaneResourceConfig
672
- */
673
- public constructor(scope: Construct, id: string, config: DataPlaneResourceConfig) {
674
- super(scope, id, {
675
- terraformResourceType: 'azapi_data_plane_resource',
676
- terraformGeneratorMetadata: {
677
- providerName: 'azapi',
678
- providerVersion: '2.2.0',
679
- providerVersionConstraint: '~> 2.2',
680
- },
681
- provider: config.provider,
682
- dependsOn: config.dependsOn,
683
- count: config.count,
684
- lifecycle: config.lifecycle,
685
- provisioners: config.provisioners,
686
- connection: config.connection,
687
- forEach: config.forEach,
688
- })
689
- this._body = config.body
690
- this._createHeaders = config.createHeaders
691
- this._createQueryParameters = config.createQueryParameters
692
- this._deleteHeaders = config.deleteHeaders
693
- this._deleteQueryParameters = config.deleteQueryParameters
694
- this._ignoreCasing = config.ignoreCasing
695
- this._ignoreMissingProperty = config.ignoreMissingProperty
696
- this._locks = config.locks
697
- this._name = config.name
698
- this._parentId = config.parentId
699
- this._readHeaders = config.readHeaders
700
- this._readQueryParameters = config.readQueryParameters
701
- this._replaceTriggersExternalValues = config.replaceTriggersExternalValues
702
- this._replaceTriggersRefs = config.replaceTriggersRefs
703
- this._responseExportValues = config.responseExportValues
704
- this._retry.internalValue = config.retry
705
- this._type = config.type
706
- this._updateHeaders = config.updateHeaders
707
- this._updateQueryParameters = config.updateQueryParameters
708
- this._timeouts.internalValue = config.timeouts
709
- }
710
-
711
- // ==========
712
- // ATTRIBUTES
713
- // ==========
714
-
715
- // body - computed: true, optional: true, required: false
716
- private _body?: { [key: string]: any }
717
- public get body() {
718
- return this.getAnyMapAttribute('body')
719
- }
720
- public set body(value: { [key: string]: any }) {
721
- this._body = value
722
- }
723
- public resetBody() {
724
- this._body = undefined
725
- }
726
- // Temporarily expose input value. Use with caution.
727
- public get bodyInput() {
728
- return this._body
729
- }
730
-
731
- // create_headers - computed: false, optional: true, required: false
732
- private _createHeaders?: { [key: string]: string }
733
- public get createHeaders() {
734
- return this.getStringMapAttribute('create_headers')
735
- }
736
- public set createHeaders(value: { [key: string]: string }) {
737
- this._createHeaders = value
738
- }
739
- public resetCreateHeaders() {
740
- this._createHeaders = undefined
741
- }
742
- // Temporarily expose input value. Use with caution.
743
- public get createHeadersInput() {
744
- return this._createHeaders
745
- }
746
-
747
- // create_query_parameters - computed: false, optional: true, required: false
748
- private _createQueryParameters?: { [key: string]: string[] } | cdktf.IResolvable
749
- public get createQueryParameters() {
750
- return this.interpolationForAttribute('create_query_parameters')
751
- }
752
- public set createQueryParameters(value: { [key: string]: string[] } | cdktf.IResolvable) {
753
- this._createQueryParameters = value
754
- }
755
- public resetCreateQueryParameters() {
756
- this._createQueryParameters = undefined
757
- }
758
- // Temporarily expose input value. Use with caution.
759
- public get createQueryParametersInput() {
760
- return this._createQueryParameters
761
- }
762
-
763
- // delete_headers - computed: false, optional: true, required: false
764
- private _deleteHeaders?: { [key: string]: string }
765
- public get deleteHeaders() {
766
- return this.getStringMapAttribute('delete_headers')
767
- }
768
- public set deleteHeaders(value: { [key: string]: string }) {
769
- this._deleteHeaders = value
770
- }
771
- public resetDeleteHeaders() {
772
- this._deleteHeaders = undefined
773
- }
774
- // Temporarily expose input value. Use with caution.
775
- public get deleteHeadersInput() {
776
- return this._deleteHeaders
777
- }
778
-
779
- // delete_query_parameters - computed: false, optional: true, required: false
780
- private _deleteQueryParameters?: { [key: string]: string[] } | cdktf.IResolvable
781
- public get deleteQueryParameters() {
782
- return this.interpolationForAttribute('delete_query_parameters')
783
- }
784
- public set deleteQueryParameters(value: { [key: string]: string[] } | cdktf.IResolvable) {
785
- this._deleteQueryParameters = value
786
- }
787
- public resetDeleteQueryParameters() {
788
- this._deleteQueryParameters = undefined
789
- }
790
- // Temporarily expose input value. Use with caution.
791
- public get deleteQueryParametersInput() {
792
- return this._deleteQueryParameters
793
- }
794
-
795
- // id - computed: true, optional: false, required: false
796
- public get id() {
797
- return this.getStringAttribute('id')
798
- }
799
-
800
- // ignore_casing - computed: true, optional: true, required: false
801
- private _ignoreCasing?: boolean | cdktf.IResolvable
802
- public get ignoreCasing() {
803
- return this.getBooleanAttribute('ignore_casing')
804
- }
805
- public set ignoreCasing(value: boolean | cdktf.IResolvable) {
806
- this._ignoreCasing = value
807
- }
808
- public resetIgnoreCasing() {
809
- this._ignoreCasing = undefined
810
- }
811
- // Temporarily expose input value. Use with caution.
812
- public get ignoreCasingInput() {
813
- return this._ignoreCasing
814
- }
815
-
816
- // ignore_missing_property - computed: true, optional: true, required: false
817
- private _ignoreMissingProperty?: boolean | cdktf.IResolvable
818
- public get ignoreMissingProperty() {
819
- return this.getBooleanAttribute('ignore_missing_property')
820
- }
821
- public set ignoreMissingProperty(value: boolean | cdktf.IResolvable) {
822
- this._ignoreMissingProperty = value
823
- }
824
- public resetIgnoreMissingProperty() {
825
- this._ignoreMissingProperty = undefined
826
- }
827
- // Temporarily expose input value. Use with caution.
828
- public get ignoreMissingPropertyInput() {
829
- return this._ignoreMissingProperty
830
- }
831
-
832
- // locks - computed: false, optional: true, required: false
833
- private _locks?: string[]
834
- public get locks() {
835
- return this.getListAttribute('locks')
836
- }
837
- public set locks(value: string[]) {
838
- this._locks = value
839
- }
840
- public resetLocks() {
841
- this._locks = undefined
842
- }
843
- // Temporarily expose input value. Use with caution.
844
- public get locksInput() {
845
- return this._locks
846
- }
847
-
848
- // name - computed: false, optional: false, required: true
849
- private _name?: string
850
- public get name() {
851
- return this.getStringAttribute('name')
852
- }
853
- public set name(value: string) {
854
- this._name = value
855
- }
856
- // Temporarily expose input value. Use with caution.
857
- public get nameInput() {
858
- return this._name
859
- }
860
-
861
- // output - computed: true, optional: false, required: false
862
- private _output = new cdktf.AnyMap(this, 'output')
863
- public get output() {
864
- return this._output
865
- }
866
-
867
- // parent_id - computed: false, optional: false, required: true
868
- private _parentId?: string
869
- public get parentId() {
870
- return this.getStringAttribute('parent_id')
871
- }
872
- public set parentId(value: string) {
873
- this._parentId = value
874
- }
875
- // Temporarily expose input value. Use with caution.
876
- public get parentIdInput() {
877
- return this._parentId
878
- }
879
-
880
- // read_headers - computed: false, optional: true, required: false
881
- private _readHeaders?: { [key: string]: string }
882
- public get readHeaders() {
883
- return this.getStringMapAttribute('read_headers')
884
- }
885
- public set readHeaders(value: { [key: string]: string }) {
886
- this._readHeaders = value
887
- }
888
- public resetReadHeaders() {
889
- this._readHeaders = undefined
890
- }
891
- // Temporarily expose input value. Use with caution.
892
- public get readHeadersInput() {
893
- return this._readHeaders
894
- }
895
-
896
- // read_query_parameters - computed: false, optional: true, required: false
897
- private _readQueryParameters?: { [key: string]: string[] } | cdktf.IResolvable
898
- public get readQueryParameters() {
899
- return this.interpolationForAttribute('read_query_parameters')
900
- }
901
- public set readQueryParameters(value: { [key: string]: string[] } | cdktf.IResolvable) {
902
- this._readQueryParameters = value
903
- }
904
- public resetReadQueryParameters() {
905
- this._readQueryParameters = undefined
906
- }
907
- // Temporarily expose input value. Use with caution.
908
- public get readQueryParametersInput() {
909
- return this._readQueryParameters
910
- }
911
-
912
- // replace_triggers_external_values - computed: false, optional: true, required: false
913
- private _replaceTriggersExternalValues?: { [key: string]: any }
914
- public get replaceTriggersExternalValues() {
915
- return this.getAnyMapAttribute('replace_triggers_external_values')
916
- }
917
- public set replaceTriggersExternalValues(value: { [key: string]: any }) {
918
- this._replaceTriggersExternalValues = value
919
- }
920
- public resetReplaceTriggersExternalValues() {
921
- this._replaceTriggersExternalValues = undefined
922
- }
923
- // Temporarily expose input value. Use with caution.
924
- public get replaceTriggersExternalValuesInput() {
925
- return this._replaceTriggersExternalValues
926
- }
927
-
928
- // replace_triggers_refs - computed: false, optional: true, required: false
929
- private _replaceTriggersRefs?: string[]
930
- public get replaceTriggersRefs() {
931
- return this.getListAttribute('replace_triggers_refs')
932
- }
933
- public set replaceTriggersRefs(value: string[]) {
934
- this._replaceTriggersRefs = value
935
- }
936
- public resetReplaceTriggersRefs() {
937
- this._replaceTriggersRefs = undefined
938
- }
939
- // Temporarily expose input value. Use with caution.
940
- public get replaceTriggersRefsInput() {
941
- return this._replaceTriggersRefs
942
- }
943
-
944
- // response_export_values - computed: false, optional: true, required: false
945
- private _responseExportValues?: { [key: string]: any }
946
- public get responseExportValues() {
947
- return this.getAnyMapAttribute('response_export_values')
948
- }
949
- public set responseExportValues(value: { [key: string]: any }) {
950
- this._responseExportValues = value
951
- }
952
- public resetResponseExportValues() {
953
- this._responseExportValues = undefined
954
- }
955
- // Temporarily expose input value. Use with caution.
956
- public get responseExportValuesInput() {
957
- return this._responseExportValues
958
- }
959
-
960
- // retry - computed: false, optional: true, required: false
961
- private _retry = new DataPlaneResourceRetryOutputReference(this, 'retry')
962
- public get retry() {
963
- return this._retry
964
- }
965
- public putRetry(value: DataPlaneResourceRetry) {
966
- this._retry.internalValue = value
967
- }
968
- public resetRetry() {
969
- this._retry.internalValue = undefined
970
- }
971
- // Temporarily expose input value. Use with caution.
972
- public get retryInput() {
973
- return this._retry.internalValue
974
- }
975
-
976
- // type - computed: false, optional: false, required: true
977
- private _type?: string
978
- public get type() {
979
- return this.getStringAttribute('type')
980
- }
981
- public set type(value: string) {
982
- this._type = value
983
- }
984
- // Temporarily expose input value. Use with caution.
985
- public get typeInput() {
986
- return this._type
987
- }
988
-
989
- // update_headers - computed: false, optional: true, required: false
990
- private _updateHeaders?: { [key: string]: string }
991
- public get updateHeaders() {
992
- return this.getStringMapAttribute('update_headers')
993
- }
994
- public set updateHeaders(value: { [key: string]: string }) {
995
- this._updateHeaders = value
996
- }
997
- public resetUpdateHeaders() {
998
- this._updateHeaders = undefined
999
- }
1000
- // Temporarily expose input value. Use with caution.
1001
- public get updateHeadersInput() {
1002
- return this._updateHeaders
1003
- }
1004
-
1005
- // update_query_parameters - computed: false, optional: true, required: false
1006
- private _updateQueryParameters?: { [key: string]: string[] } | cdktf.IResolvable
1007
- public get updateQueryParameters() {
1008
- return this.interpolationForAttribute('update_query_parameters')
1009
- }
1010
- public set updateQueryParameters(value: { [key: string]: string[] } | cdktf.IResolvable) {
1011
- this._updateQueryParameters = value
1012
- }
1013
- public resetUpdateQueryParameters() {
1014
- this._updateQueryParameters = undefined
1015
- }
1016
- // Temporarily expose input value. Use with caution.
1017
- public get updateQueryParametersInput() {
1018
- return this._updateQueryParameters
1019
- }
1020
-
1021
- // timeouts - computed: false, optional: true, required: false
1022
- private _timeouts = new DataPlaneResourceTimeoutsOutputReference(this, 'timeouts')
1023
- public get timeouts() {
1024
- return this._timeouts
1025
- }
1026
- public putTimeouts(value: DataPlaneResourceTimeouts) {
1027
- this._timeouts.internalValue = value
1028
- }
1029
- public resetTimeouts() {
1030
- this._timeouts.internalValue = undefined
1031
- }
1032
- // Temporarily expose input value. Use with caution.
1033
- public get timeoutsInput() {
1034
- return this._timeouts.internalValue
1035
- }
1036
-
1037
- // =========
1038
- // SYNTHESIS
1039
- // =========
1040
-
1041
- protected synthesizeAttributes(): { [name: string]: any } {
1042
- return {
1043
- body: cdktf.hashMapper(cdktf.anyToTerraform)(this._body),
1044
- create_headers: cdktf.hashMapper(cdktf.stringToTerraform)(this._createHeaders),
1045
- create_query_parameters: cdktf.hashMapper(cdktf.listMapper(cdktf.stringToTerraform, false))(
1046
- this._createQueryParameters
1047
- ),
1048
- delete_headers: cdktf.hashMapper(cdktf.stringToTerraform)(this._deleteHeaders),
1049
- delete_query_parameters: cdktf.hashMapper(cdktf.listMapper(cdktf.stringToTerraform, false))(
1050
- this._deleteQueryParameters
1051
- ),
1052
- ignore_casing: cdktf.booleanToTerraform(this._ignoreCasing),
1053
- ignore_missing_property: cdktf.booleanToTerraform(this._ignoreMissingProperty),
1054
- locks: cdktf.listMapper(cdktf.stringToTerraform, false)(this._locks),
1055
- name: cdktf.stringToTerraform(this._name),
1056
- parent_id: cdktf.stringToTerraform(this._parentId),
1057
- read_headers: cdktf.hashMapper(cdktf.stringToTerraform)(this._readHeaders),
1058
- read_query_parameters: cdktf.hashMapper(cdktf.listMapper(cdktf.stringToTerraform, false))(
1059
- this._readQueryParameters
1060
- ),
1061
- replace_triggers_external_values: cdktf.hashMapper(cdktf.anyToTerraform)(this._replaceTriggersExternalValues),
1062
- replace_triggers_refs: cdktf.listMapper(cdktf.stringToTerraform, false)(this._replaceTriggersRefs),
1063
- response_export_values: cdktf.hashMapper(cdktf.anyToTerraform)(this._responseExportValues),
1064
- retry: dataPlaneResourceRetryToTerraform(this._retry.internalValue),
1065
- type: cdktf.stringToTerraform(this._type),
1066
- update_headers: cdktf.hashMapper(cdktf.stringToTerraform)(this._updateHeaders),
1067
- update_query_parameters: cdktf.hashMapper(cdktf.listMapper(cdktf.stringToTerraform, false))(
1068
- this._updateQueryParameters
1069
- ),
1070
- timeouts: dataPlaneResourceTimeoutsToTerraform(this._timeouts.internalValue),
1071
- }
1072
- }
1073
-
1074
- protected synthesizeHclAttributes(): { [name: string]: any } {
1075
- const attrs = {
1076
- body: {
1077
- value: cdktf.hashMapperHcl(cdktf.anyToHclTerraform)(this._body),
1078
- isBlock: false,
1079
- type: 'map',
1080
- storageClassType: 'anyMap',
1081
- },
1082
- create_headers: {
1083
- value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._createHeaders),
1084
- isBlock: false,
1085
- type: 'map',
1086
- storageClassType: 'stringMap',
1087
- },
1088
- create_query_parameters: {
1089
- value: cdktf.hashMapperHcl(cdktf.listMapperHcl(cdktf.stringToHclTerraform, false))(this._createQueryParameters),
1090
- isBlock: false,
1091
- type: 'map',
1092
- storageClassType: 'stringListMap',
1093
- },
1094
- delete_headers: {
1095
- value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._deleteHeaders),
1096
- isBlock: false,
1097
- type: 'map',
1098
- storageClassType: 'stringMap',
1099
- },
1100
- delete_query_parameters: {
1101
- value: cdktf.hashMapperHcl(cdktf.listMapperHcl(cdktf.stringToHclTerraform, false))(this._deleteQueryParameters),
1102
- isBlock: false,
1103
- type: 'map',
1104
- storageClassType: 'stringListMap',
1105
- },
1106
- ignore_casing: {
1107
- value: cdktf.booleanToHclTerraform(this._ignoreCasing),
1108
- isBlock: false,
1109
- type: 'simple',
1110
- storageClassType: 'boolean',
1111
- },
1112
- ignore_missing_property: {
1113
- value: cdktf.booleanToHclTerraform(this._ignoreMissingProperty),
1114
- isBlock: false,
1115
- type: 'simple',
1116
- storageClassType: 'boolean',
1117
- },
1118
- locks: {
1119
- value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._locks),
1120
- isBlock: false,
1121
- type: 'list',
1122
- storageClassType: 'stringList',
1123
- },
1124
- name: {
1125
- value: cdktf.stringToHclTerraform(this._name),
1126
- isBlock: false,
1127
- type: 'simple',
1128
- storageClassType: 'string',
1129
- },
1130
- parent_id: {
1131
- value: cdktf.stringToHclTerraform(this._parentId),
1132
- isBlock: false,
1133
- type: 'simple',
1134
- storageClassType: 'string',
1135
- },
1136
- read_headers: {
1137
- value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._readHeaders),
1138
- isBlock: false,
1139
- type: 'map',
1140
- storageClassType: 'stringMap',
1141
- },
1142
- read_query_parameters: {
1143
- value: cdktf.hashMapperHcl(cdktf.listMapperHcl(cdktf.stringToHclTerraform, false))(this._readQueryParameters),
1144
- isBlock: false,
1145
- type: 'map',
1146
- storageClassType: 'stringListMap',
1147
- },
1148
- replace_triggers_external_values: {
1149
- value: cdktf.hashMapperHcl(cdktf.anyToHclTerraform)(this._replaceTriggersExternalValues),
1150
- isBlock: false,
1151
- type: 'map',
1152
- storageClassType: 'anyMap',
1153
- },
1154
- replace_triggers_refs: {
1155
- value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._replaceTriggersRefs),
1156
- isBlock: false,
1157
- type: 'list',
1158
- storageClassType: 'stringList',
1159
- },
1160
- response_export_values: {
1161
- value: cdktf.hashMapperHcl(cdktf.anyToHclTerraform)(this._responseExportValues),
1162
- isBlock: false,
1163
- type: 'map',
1164
- storageClassType: 'anyMap',
1165
- },
1166
- retry: {
1167
- value: dataPlaneResourceRetryToHclTerraform(this._retry.internalValue),
1168
- isBlock: true,
1169
- type: 'struct',
1170
- storageClassType: 'DataPlaneResourceRetry',
1171
- },
1172
- type: {
1173
- value: cdktf.stringToHclTerraform(this._type),
1174
- isBlock: false,
1175
- type: 'simple',
1176
- storageClassType: 'string',
1177
- },
1178
- update_headers: {
1179
- value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._updateHeaders),
1180
- isBlock: false,
1181
- type: 'map',
1182
- storageClassType: 'stringMap',
1183
- },
1184
- update_query_parameters: {
1185
- value: cdktf.hashMapperHcl(cdktf.listMapperHcl(cdktf.stringToHclTerraform, false))(this._updateQueryParameters),
1186
- isBlock: false,
1187
- type: 'map',
1188
- storageClassType: 'stringListMap',
1189
- },
1190
- timeouts: {
1191
- value: dataPlaneResourceTimeoutsToHclTerraform(this._timeouts.internalValue),
1192
- isBlock: true,
1193
- type: 'struct',
1194
- storageClassType: 'DataPlaneResourceTimeouts',
1195
- },
1196
- }
1197
-
1198
- // remove undefined attributes
1199
- return Object.fromEntries(
1200
- Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined)
1201
- )
1202
- }
1203
- }