@gradientedge/cdk-utils 9.86.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,845 +0,0 @@
1
- // https://registry.terraform.io/providers/azure/azapi/2.2.0/docs
2
- // generated from terraform resource schema
3
- import * as cdktf from 'cdktf';
4
- export function azapiProviderEndpointToTerraform(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
- active_directory_authority_host: cdktf.stringToTerraform(struct.activeDirectoryAuthorityHost),
13
- resource_manager_audience: cdktf.stringToTerraform(struct.resourceManagerAudience),
14
- resource_manager_endpoint: cdktf.stringToTerraform(struct.resourceManagerEndpoint),
15
- };
16
- }
17
- export function azapiProviderEndpointToHclTerraform(struct) {
18
- if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
19
- return struct;
20
- }
21
- if (cdktf.isComplexElement(struct)) {
22
- throw new Error('A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration');
23
- }
24
- const attrs = {
25
- active_directory_authority_host: {
26
- value: cdktf.stringToHclTerraform(struct.activeDirectoryAuthorityHost),
27
- isBlock: false,
28
- type: 'simple',
29
- storageClassType: 'string',
30
- },
31
- resource_manager_audience: {
32
- value: cdktf.stringToHclTerraform(struct.resourceManagerAudience),
33
- isBlock: false,
34
- type: 'simple',
35
- storageClassType: 'string',
36
- },
37
- resource_manager_endpoint: {
38
- value: cdktf.stringToHclTerraform(struct.resourceManagerEndpoint),
39
- isBlock: false,
40
- type: 'simple',
41
- storageClassType: 'string',
42
- },
43
- };
44
- // remove undefined attributes
45
- return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
46
- }
47
- /**
48
- * Represents a {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs azapi}
49
- */
50
- export class AzapiProvider extends cdktf.TerraformProvider {
51
- // =================
52
- // STATIC PROPERTIES
53
- // =================
54
- static tfResourceType = 'azapi';
55
- // ==============
56
- // STATIC Methods
57
- // ==============
58
- /**
59
- * Generates CDKTF code for importing a AzapiProvider resource upon running "cdktf plan <stack-name>"
60
- * @param scope The scope in which to define this construct
61
- * @param importToId The construct id used in the generated config for the AzapiProvider to import
62
- * @param importFromId The id of the existing AzapiProvider that should be imported. Refer to the {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs#import import section} in the documentation of this resource for the id to use
63
- * @param provider? Optional instance of the provider where the AzapiProvider to import is found
64
- */
65
- static generateConfigForImport(scope, importToId, importFromId, provider) {
66
- return new cdktf.ImportableResource(scope, importToId, {
67
- terraformResourceType: 'azapi',
68
- importId: importFromId,
69
- provider,
70
- });
71
- }
72
- // ===========
73
- // INITIALIZER
74
- // ===========
75
- /**
76
- * Create a new {@link https://registry.terraform.io/providers/azure/azapi/2.2.0/docs azapi} Resource
77
- *
78
- * @param scope The scope in which to define this construct
79
- * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
80
- * @param options AzapiProviderConfig = {}
81
- */
82
- constructor(scope, id, config = {}) {
83
- super(scope, id, {
84
- terraformResourceType: 'azapi',
85
- terraformGeneratorMetadata: {
86
- providerName: 'azapi',
87
- providerVersion: '2.2.0',
88
- providerVersionConstraint: '~> 2.2',
89
- },
90
- terraformProviderSource: 'azure/azapi',
91
- });
92
- this._auxiliaryTenantIds = config.auxiliaryTenantIds;
93
- this._clientCertificate = config.clientCertificate;
94
- this._clientCertificatePassword = config.clientCertificatePassword;
95
- this._clientCertificatePath = config.clientCertificatePath;
96
- this._clientId = config.clientId;
97
- this._clientIdFilePath = config.clientIdFilePath;
98
- this._clientSecret = config.clientSecret;
99
- this._clientSecretFilePath = config.clientSecretFilePath;
100
- this._customCorrelationRequestId = config.customCorrelationRequestId;
101
- this._defaultLocation = config.defaultLocation;
102
- this._defaultName = config.defaultName;
103
- this._defaultTags = config.defaultTags;
104
- this._disableCorrelationRequestId = config.disableCorrelationRequestId;
105
- this._disableDefaultOutput = config.disableDefaultOutput;
106
- this._disableTerraformPartnerId = config.disableTerraformPartnerId;
107
- this._enablePreflight = config.enablePreflight;
108
- this._endpoint = config.endpoint;
109
- this._environment = config.environment;
110
- this._oidcAzureServiceConnectionId = config.oidcAzureServiceConnectionId;
111
- this._oidcRequestToken = config.oidcRequestToken;
112
- this._oidcRequestUrl = config.oidcRequestUrl;
113
- this._oidcToken = config.oidcToken;
114
- this._oidcTokenFilePath = config.oidcTokenFilePath;
115
- this._partnerId = config.partnerId;
116
- this._skipProviderRegistration = config.skipProviderRegistration;
117
- this._subscriptionId = config.subscriptionId;
118
- this._tenantId = config.tenantId;
119
- this._useAksWorkloadIdentity = config.useAksWorkloadIdentity;
120
- this._useCli = config.useCli;
121
- this._useMsi = config.useMsi;
122
- this._useOidc = config.useOidc;
123
- this._alias = config.alias;
124
- }
125
- // ==========
126
- // ATTRIBUTES
127
- // ==========
128
- // auxiliary_tenant_ids - computed: false, optional: true, required: false
129
- _auxiliaryTenantIds;
130
- get auxiliaryTenantIds() {
131
- return this._auxiliaryTenantIds;
132
- }
133
- set auxiliaryTenantIds(value) {
134
- this._auxiliaryTenantIds = value;
135
- }
136
- resetAuxiliaryTenantIds() {
137
- this._auxiliaryTenantIds = undefined;
138
- }
139
- // Temporarily expose input value. Use with caution.
140
- get auxiliaryTenantIdsInput() {
141
- return this._auxiliaryTenantIds;
142
- }
143
- // client_certificate - computed: false, optional: true, required: false
144
- _clientCertificate;
145
- get clientCertificate() {
146
- return this._clientCertificate;
147
- }
148
- set clientCertificate(value) {
149
- this._clientCertificate = value;
150
- }
151
- resetClientCertificate() {
152
- this._clientCertificate = undefined;
153
- }
154
- // Temporarily expose input value. Use with caution.
155
- get clientCertificateInput() {
156
- return this._clientCertificate;
157
- }
158
- // client_certificate_password - computed: false, optional: true, required: false
159
- _clientCertificatePassword;
160
- get clientCertificatePassword() {
161
- return this._clientCertificatePassword;
162
- }
163
- set clientCertificatePassword(value) {
164
- this._clientCertificatePassword = value;
165
- }
166
- resetClientCertificatePassword() {
167
- this._clientCertificatePassword = undefined;
168
- }
169
- // Temporarily expose input value. Use with caution.
170
- get clientCertificatePasswordInput() {
171
- return this._clientCertificatePassword;
172
- }
173
- // client_certificate_path - computed: false, optional: true, required: false
174
- _clientCertificatePath;
175
- get clientCertificatePath() {
176
- return this._clientCertificatePath;
177
- }
178
- set clientCertificatePath(value) {
179
- this._clientCertificatePath = value;
180
- }
181
- resetClientCertificatePath() {
182
- this._clientCertificatePath = undefined;
183
- }
184
- // Temporarily expose input value. Use with caution.
185
- get clientCertificatePathInput() {
186
- return this._clientCertificatePath;
187
- }
188
- // client_id - computed: false, optional: true, required: false
189
- _clientId;
190
- get clientId() {
191
- return this._clientId;
192
- }
193
- set clientId(value) {
194
- this._clientId = value;
195
- }
196
- resetClientId() {
197
- this._clientId = undefined;
198
- }
199
- // Temporarily expose input value. Use with caution.
200
- get clientIdInput() {
201
- return this._clientId;
202
- }
203
- // client_id_file_path - computed: false, optional: true, required: false
204
- _clientIdFilePath;
205
- get clientIdFilePath() {
206
- return this._clientIdFilePath;
207
- }
208
- set clientIdFilePath(value) {
209
- this._clientIdFilePath = value;
210
- }
211
- resetClientIdFilePath() {
212
- this._clientIdFilePath = undefined;
213
- }
214
- // Temporarily expose input value. Use with caution.
215
- get clientIdFilePathInput() {
216
- return this._clientIdFilePath;
217
- }
218
- // client_secret - computed: false, optional: true, required: false
219
- _clientSecret;
220
- get clientSecret() {
221
- return this._clientSecret;
222
- }
223
- set clientSecret(value) {
224
- this._clientSecret = value;
225
- }
226
- resetClientSecret() {
227
- this._clientSecret = undefined;
228
- }
229
- // Temporarily expose input value. Use with caution.
230
- get clientSecretInput() {
231
- return this._clientSecret;
232
- }
233
- // client_secret_file_path - computed: false, optional: true, required: false
234
- _clientSecretFilePath;
235
- get clientSecretFilePath() {
236
- return this._clientSecretFilePath;
237
- }
238
- set clientSecretFilePath(value) {
239
- this._clientSecretFilePath = value;
240
- }
241
- resetClientSecretFilePath() {
242
- this._clientSecretFilePath = undefined;
243
- }
244
- // Temporarily expose input value. Use with caution.
245
- get clientSecretFilePathInput() {
246
- return this._clientSecretFilePath;
247
- }
248
- // custom_correlation_request_id - computed: false, optional: true, required: false
249
- _customCorrelationRequestId;
250
- get customCorrelationRequestId() {
251
- return this._customCorrelationRequestId;
252
- }
253
- set customCorrelationRequestId(value) {
254
- this._customCorrelationRequestId = value;
255
- }
256
- resetCustomCorrelationRequestId() {
257
- this._customCorrelationRequestId = undefined;
258
- }
259
- // Temporarily expose input value. Use with caution.
260
- get customCorrelationRequestIdInput() {
261
- return this._customCorrelationRequestId;
262
- }
263
- // default_location - computed: false, optional: true, required: false
264
- _defaultLocation;
265
- get defaultLocation() {
266
- return this._defaultLocation;
267
- }
268
- set defaultLocation(value) {
269
- this._defaultLocation = value;
270
- }
271
- resetDefaultLocation() {
272
- this._defaultLocation = undefined;
273
- }
274
- // Temporarily expose input value. Use with caution.
275
- get defaultLocationInput() {
276
- return this._defaultLocation;
277
- }
278
- // default_name - computed: false, optional: true, required: false
279
- _defaultName;
280
- get defaultName() {
281
- return this._defaultName;
282
- }
283
- set defaultName(value) {
284
- this._defaultName = value;
285
- }
286
- resetDefaultName() {
287
- this._defaultName = undefined;
288
- }
289
- // Temporarily expose input value. Use with caution.
290
- get defaultNameInput() {
291
- return this._defaultName;
292
- }
293
- // default_tags - computed: false, optional: true, required: false
294
- _defaultTags;
295
- get defaultTags() {
296
- return this._defaultTags;
297
- }
298
- set defaultTags(value) {
299
- this._defaultTags = value;
300
- }
301
- resetDefaultTags() {
302
- this._defaultTags = undefined;
303
- }
304
- // Temporarily expose input value. Use with caution.
305
- get defaultTagsInput() {
306
- return this._defaultTags;
307
- }
308
- // disable_correlation_request_id - computed: false, optional: true, required: false
309
- _disableCorrelationRequestId;
310
- get disableCorrelationRequestId() {
311
- return this._disableCorrelationRequestId;
312
- }
313
- set disableCorrelationRequestId(value) {
314
- this._disableCorrelationRequestId = value;
315
- }
316
- resetDisableCorrelationRequestId() {
317
- this._disableCorrelationRequestId = undefined;
318
- }
319
- // Temporarily expose input value. Use with caution.
320
- get disableCorrelationRequestIdInput() {
321
- return this._disableCorrelationRequestId;
322
- }
323
- // disable_default_output - computed: false, optional: true, required: false
324
- _disableDefaultOutput;
325
- get disableDefaultOutput() {
326
- return this._disableDefaultOutput;
327
- }
328
- set disableDefaultOutput(value) {
329
- this._disableDefaultOutput = value;
330
- }
331
- resetDisableDefaultOutput() {
332
- this._disableDefaultOutput = undefined;
333
- }
334
- // Temporarily expose input value. Use with caution.
335
- get disableDefaultOutputInput() {
336
- return this._disableDefaultOutput;
337
- }
338
- // disable_terraform_partner_id - computed: false, optional: true, required: false
339
- _disableTerraformPartnerId;
340
- get disableTerraformPartnerId() {
341
- return this._disableTerraformPartnerId;
342
- }
343
- set disableTerraformPartnerId(value) {
344
- this._disableTerraformPartnerId = value;
345
- }
346
- resetDisableTerraformPartnerId() {
347
- this._disableTerraformPartnerId = undefined;
348
- }
349
- // Temporarily expose input value. Use with caution.
350
- get disableTerraformPartnerIdInput() {
351
- return this._disableTerraformPartnerId;
352
- }
353
- // enable_preflight - computed: false, optional: true, required: false
354
- _enablePreflight;
355
- get enablePreflight() {
356
- return this._enablePreflight;
357
- }
358
- set enablePreflight(value) {
359
- this._enablePreflight = value;
360
- }
361
- resetEnablePreflight() {
362
- this._enablePreflight = undefined;
363
- }
364
- // Temporarily expose input value. Use with caution.
365
- get enablePreflightInput() {
366
- return this._enablePreflight;
367
- }
368
- // endpoint - computed: false, optional: true, required: false
369
- _endpoint;
370
- get endpoint() {
371
- return this._endpoint;
372
- }
373
- set endpoint(value) {
374
- this._endpoint = value;
375
- }
376
- resetEndpoint() {
377
- this._endpoint = undefined;
378
- }
379
- // Temporarily expose input value. Use with caution.
380
- get endpointInput() {
381
- return this._endpoint;
382
- }
383
- // environment - computed: false, optional: true, required: false
384
- _environment;
385
- get environment() {
386
- return this._environment;
387
- }
388
- set environment(value) {
389
- this._environment = value;
390
- }
391
- resetEnvironment() {
392
- this._environment = undefined;
393
- }
394
- // Temporarily expose input value. Use with caution.
395
- get environmentInput() {
396
- return this._environment;
397
- }
398
- // oidc_azure_service_connection_id - computed: false, optional: true, required: false
399
- _oidcAzureServiceConnectionId;
400
- get oidcAzureServiceConnectionId() {
401
- return this._oidcAzureServiceConnectionId;
402
- }
403
- set oidcAzureServiceConnectionId(value) {
404
- this._oidcAzureServiceConnectionId = value;
405
- }
406
- resetOidcAzureServiceConnectionId() {
407
- this._oidcAzureServiceConnectionId = undefined;
408
- }
409
- // Temporarily expose input value. Use with caution.
410
- get oidcAzureServiceConnectionIdInput() {
411
- return this._oidcAzureServiceConnectionId;
412
- }
413
- // oidc_request_token - computed: false, optional: true, required: false
414
- _oidcRequestToken;
415
- get oidcRequestToken() {
416
- return this._oidcRequestToken;
417
- }
418
- set oidcRequestToken(value) {
419
- this._oidcRequestToken = value;
420
- }
421
- resetOidcRequestToken() {
422
- this._oidcRequestToken = undefined;
423
- }
424
- // Temporarily expose input value. Use with caution.
425
- get oidcRequestTokenInput() {
426
- return this._oidcRequestToken;
427
- }
428
- // oidc_request_url - computed: false, optional: true, required: false
429
- _oidcRequestUrl;
430
- get oidcRequestUrl() {
431
- return this._oidcRequestUrl;
432
- }
433
- set oidcRequestUrl(value) {
434
- this._oidcRequestUrl = value;
435
- }
436
- resetOidcRequestUrl() {
437
- this._oidcRequestUrl = undefined;
438
- }
439
- // Temporarily expose input value. Use with caution.
440
- get oidcRequestUrlInput() {
441
- return this._oidcRequestUrl;
442
- }
443
- // oidc_token - computed: false, optional: true, required: false
444
- _oidcToken;
445
- get oidcToken() {
446
- return this._oidcToken;
447
- }
448
- set oidcToken(value) {
449
- this._oidcToken = value;
450
- }
451
- resetOidcToken() {
452
- this._oidcToken = undefined;
453
- }
454
- // Temporarily expose input value. Use with caution.
455
- get oidcTokenInput() {
456
- return this._oidcToken;
457
- }
458
- // oidc_token_file_path - computed: false, optional: true, required: false
459
- _oidcTokenFilePath;
460
- get oidcTokenFilePath() {
461
- return this._oidcTokenFilePath;
462
- }
463
- set oidcTokenFilePath(value) {
464
- this._oidcTokenFilePath = value;
465
- }
466
- resetOidcTokenFilePath() {
467
- this._oidcTokenFilePath = undefined;
468
- }
469
- // Temporarily expose input value. Use with caution.
470
- get oidcTokenFilePathInput() {
471
- return this._oidcTokenFilePath;
472
- }
473
- // partner_id - computed: false, optional: true, required: false
474
- _partnerId;
475
- get partnerId() {
476
- return this._partnerId;
477
- }
478
- set partnerId(value) {
479
- this._partnerId = value;
480
- }
481
- resetPartnerId() {
482
- this._partnerId = undefined;
483
- }
484
- // Temporarily expose input value. Use with caution.
485
- get partnerIdInput() {
486
- return this._partnerId;
487
- }
488
- // skip_provider_registration - computed: false, optional: true, required: false
489
- _skipProviderRegistration;
490
- get skipProviderRegistration() {
491
- return this._skipProviderRegistration;
492
- }
493
- set skipProviderRegistration(value) {
494
- this._skipProviderRegistration = value;
495
- }
496
- resetSkipProviderRegistration() {
497
- this._skipProviderRegistration = undefined;
498
- }
499
- // Temporarily expose input value. Use with caution.
500
- get skipProviderRegistrationInput() {
501
- return this._skipProviderRegistration;
502
- }
503
- // subscription_id - computed: false, optional: true, required: false
504
- _subscriptionId;
505
- get subscriptionId() {
506
- return this._subscriptionId;
507
- }
508
- set subscriptionId(value) {
509
- this._subscriptionId = value;
510
- }
511
- resetSubscriptionId() {
512
- this._subscriptionId = undefined;
513
- }
514
- // Temporarily expose input value. Use with caution.
515
- get subscriptionIdInput() {
516
- return this._subscriptionId;
517
- }
518
- // tenant_id - computed: false, optional: true, required: false
519
- _tenantId;
520
- get tenantId() {
521
- return this._tenantId;
522
- }
523
- set tenantId(value) {
524
- this._tenantId = value;
525
- }
526
- resetTenantId() {
527
- this._tenantId = undefined;
528
- }
529
- // Temporarily expose input value. Use with caution.
530
- get tenantIdInput() {
531
- return this._tenantId;
532
- }
533
- // use_aks_workload_identity - computed: false, optional: true, required: false
534
- _useAksWorkloadIdentity;
535
- get useAksWorkloadIdentity() {
536
- return this._useAksWorkloadIdentity;
537
- }
538
- set useAksWorkloadIdentity(value) {
539
- this._useAksWorkloadIdentity = value;
540
- }
541
- resetUseAksWorkloadIdentity() {
542
- this._useAksWorkloadIdentity = undefined;
543
- }
544
- // Temporarily expose input value. Use with caution.
545
- get useAksWorkloadIdentityInput() {
546
- return this._useAksWorkloadIdentity;
547
- }
548
- // use_cli - computed: false, optional: true, required: false
549
- _useCli;
550
- get useCli() {
551
- return this._useCli;
552
- }
553
- set useCli(value) {
554
- this._useCli = value;
555
- }
556
- resetUseCli() {
557
- this._useCli = undefined;
558
- }
559
- // Temporarily expose input value. Use with caution.
560
- get useCliInput() {
561
- return this._useCli;
562
- }
563
- // use_msi - computed: false, optional: true, required: false
564
- _useMsi;
565
- get useMsi() {
566
- return this._useMsi;
567
- }
568
- set useMsi(value) {
569
- this._useMsi = value;
570
- }
571
- resetUseMsi() {
572
- this._useMsi = undefined;
573
- }
574
- // Temporarily expose input value. Use with caution.
575
- get useMsiInput() {
576
- return this._useMsi;
577
- }
578
- // use_oidc - computed: false, optional: true, required: false
579
- _useOidc;
580
- get useOidc() {
581
- return this._useOidc;
582
- }
583
- set useOidc(value) {
584
- this._useOidc = value;
585
- }
586
- resetUseOidc() {
587
- this._useOidc = undefined;
588
- }
589
- // Temporarily expose input value. Use with caution.
590
- get useOidcInput() {
591
- return this._useOidc;
592
- }
593
- // alias - computed: false, optional: true, required: false
594
- _alias;
595
- get alias() {
596
- return this._alias;
597
- }
598
- set alias(value) {
599
- this._alias = value;
600
- }
601
- resetAlias() {
602
- this._alias = undefined;
603
- }
604
- // Temporarily expose input value. Use with caution.
605
- get aliasInput() {
606
- return this._alias;
607
- }
608
- // =========
609
- // SYNTHESIS
610
- // =========
611
- synthesizeAttributes() {
612
- return {
613
- auxiliary_tenant_ids: cdktf.listMapper(cdktf.stringToTerraform, false)(this._auxiliaryTenantIds),
614
- client_certificate: cdktf.stringToTerraform(this._clientCertificate),
615
- client_certificate_password: cdktf.stringToTerraform(this._clientCertificatePassword),
616
- client_certificate_path: cdktf.stringToTerraform(this._clientCertificatePath),
617
- client_id: cdktf.stringToTerraform(this._clientId),
618
- client_id_file_path: cdktf.stringToTerraform(this._clientIdFilePath),
619
- client_secret: cdktf.stringToTerraform(this._clientSecret),
620
- client_secret_file_path: cdktf.stringToTerraform(this._clientSecretFilePath),
621
- custom_correlation_request_id: cdktf.stringToTerraform(this._customCorrelationRequestId),
622
- default_location: cdktf.stringToTerraform(this._defaultLocation),
623
- default_name: cdktf.stringToTerraform(this._defaultName),
624
- default_tags: cdktf.hashMapper(cdktf.stringToTerraform)(this._defaultTags),
625
- disable_correlation_request_id: cdktf.booleanToTerraform(this._disableCorrelationRequestId),
626
- disable_default_output: cdktf.booleanToTerraform(this._disableDefaultOutput),
627
- disable_terraform_partner_id: cdktf.booleanToTerraform(this._disableTerraformPartnerId),
628
- enable_preflight: cdktf.booleanToTerraform(this._enablePreflight),
629
- endpoint: cdktf.listMapper(azapiProviderEndpointToTerraform, false)(this._endpoint),
630
- environment: cdktf.stringToTerraform(this._environment),
631
- oidc_azure_service_connection_id: cdktf.stringToTerraform(this._oidcAzureServiceConnectionId),
632
- oidc_request_token: cdktf.stringToTerraform(this._oidcRequestToken),
633
- oidc_request_url: cdktf.stringToTerraform(this._oidcRequestUrl),
634
- oidc_token: cdktf.stringToTerraform(this._oidcToken),
635
- oidc_token_file_path: cdktf.stringToTerraform(this._oidcTokenFilePath),
636
- partner_id: cdktf.stringToTerraform(this._partnerId),
637
- skip_provider_registration: cdktf.booleanToTerraform(this._skipProviderRegistration),
638
- subscription_id: cdktf.stringToTerraform(this._subscriptionId),
639
- tenant_id: cdktf.stringToTerraform(this._tenantId),
640
- use_aks_workload_identity: cdktf.booleanToTerraform(this._useAksWorkloadIdentity),
641
- use_cli: cdktf.booleanToTerraform(this._useCli),
642
- use_msi: cdktf.booleanToTerraform(this._useMsi),
643
- use_oidc: cdktf.booleanToTerraform(this._useOidc),
644
- alias: cdktf.stringToTerraform(this._alias),
645
- };
646
- }
647
- synthesizeHclAttributes() {
648
- const attrs = {
649
- auxiliary_tenant_ids: {
650
- value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._auxiliaryTenantIds),
651
- isBlock: false,
652
- type: 'list',
653
- storageClassType: 'stringList',
654
- },
655
- client_certificate: {
656
- value: cdktf.stringToHclTerraform(this._clientCertificate),
657
- isBlock: false,
658
- type: 'simple',
659
- storageClassType: 'string',
660
- },
661
- client_certificate_password: {
662
- value: cdktf.stringToHclTerraform(this._clientCertificatePassword),
663
- isBlock: false,
664
- type: 'simple',
665
- storageClassType: 'string',
666
- },
667
- client_certificate_path: {
668
- value: cdktf.stringToHclTerraform(this._clientCertificatePath),
669
- isBlock: false,
670
- type: 'simple',
671
- storageClassType: 'string',
672
- },
673
- client_id: {
674
- value: cdktf.stringToHclTerraform(this._clientId),
675
- isBlock: false,
676
- type: 'simple',
677
- storageClassType: 'string',
678
- },
679
- client_id_file_path: {
680
- value: cdktf.stringToHclTerraform(this._clientIdFilePath),
681
- isBlock: false,
682
- type: 'simple',
683
- storageClassType: 'string',
684
- },
685
- client_secret: {
686
- value: cdktf.stringToHclTerraform(this._clientSecret),
687
- isBlock: false,
688
- type: 'simple',
689
- storageClassType: 'string',
690
- },
691
- client_secret_file_path: {
692
- value: cdktf.stringToHclTerraform(this._clientSecretFilePath),
693
- isBlock: false,
694
- type: 'simple',
695
- storageClassType: 'string',
696
- },
697
- custom_correlation_request_id: {
698
- value: cdktf.stringToHclTerraform(this._customCorrelationRequestId),
699
- isBlock: false,
700
- type: 'simple',
701
- storageClassType: 'string',
702
- },
703
- default_location: {
704
- value: cdktf.stringToHclTerraform(this._defaultLocation),
705
- isBlock: false,
706
- type: 'simple',
707
- storageClassType: 'string',
708
- },
709
- default_name: {
710
- value: cdktf.stringToHclTerraform(this._defaultName),
711
- isBlock: false,
712
- type: 'simple',
713
- storageClassType: 'string',
714
- },
715
- default_tags: {
716
- value: cdktf.hashMapperHcl(cdktf.stringToHclTerraform)(this._defaultTags),
717
- isBlock: false,
718
- type: 'map',
719
- storageClassType: 'stringMap',
720
- },
721
- disable_correlation_request_id: {
722
- value: cdktf.booleanToHclTerraform(this._disableCorrelationRequestId),
723
- isBlock: false,
724
- type: 'simple',
725
- storageClassType: 'boolean',
726
- },
727
- disable_default_output: {
728
- value: cdktf.booleanToHclTerraform(this._disableDefaultOutput),
729
- isBlock: false,
730
- type: 'simple',
731
- storageClassType: 'boolean',
732
- },
733
- disable_terraform_partner_id: {
734
- value: cdktf.booleanToHclTerraform(this._disableTerraformPartnerId),
735
- isBlock: false,
736
- type: 'simple',
737
- storageClassType: 'boolean',
738
- },
739
- enable_preflight: {
740
- value: cdktf.booleanToHclTerraform(this._enablePreflight),
741
- isBlock: false,
742
- type: 'simple',
743
- storageClassType: 'boolean',
744
- },
745
- endpoint: {
746
- value: cdktf.listMapperHcl(azapiProviderEndpointToHclTerraform, false)(this._endpoint),
747
- isBlock: true,
748
- type: 'list',
749
- storageClassType: 'AzapiProviderEndpointList',
750
- },
751
- environment: {
752
- value: cdktf.stringToHclTerraform(this._environment),
753
- isBlock: false,
754
- type: 'simple',
755
- storageClassType: 'string',
756
- },
757
- oidc_azure_service_connection_id: {
758
- value: cdktf.stringToHclTerraform(this._oidcAzureServiceConnectionId),
759
- isBlock: false,
760
- type: 'simple',
761
- storageClassType: 'string',
762
- },
763
- oidc_request_token: {
764
- value: cdktf.stringToHclTerraform(this._oidcRequestToken),
765
- isBlock: false,
766
- type: 'simple',
767
- storageClassType: 'string',
768
- },
769
- oidc_request_url: {
770
- value: cdktf.stringToHclTerraform(this._oidcRequestUrl),
771
- isBlock: false,
772
- type: 'simple',
773
- storageClassType: 'string',
774
- },
775
- oidc_token: {
776
- value: cdktf.stringToHclTerraform(this._oidcToken),
777
- isBlock: false,
778
- type: 'simple',
779
- storageClassType: 'string',
780
- },
781
- oidc_token_file_path: {
782
- value: cdktf.stringToHclTerraform(this._oidcTokenFilePath),
783
- isBlock: false,
784
- type: 'simple',
785
- storageClassType: 'string',
786
- },
787
- partner_id: {
788
- value: cdktf.stringToHclTerraform(this._partnerId),
789
- isBlock: false,
790
- type: 'simple',
791
- storageClassType: 'string',
792
- },
793
- skip_provider_registration: {
794
- value: cdktf.booleanToHclTerraform(this._skipProviderRegistration),
795
- isBlock: false,
796
- type: 'simple',
797
- storageClassType: 'boolean',
798
- },
799
- subscription_id: {
800
- value: cdktf.stringToHclTerraform(this._subscriptionId),
801
- isBlock: false,
802
- type: 'simple',
803
- storageClassType: 'string',
804
- },
805
- tenant_id: {
806
- value: cdktf.stringToHclTerraform(this._tenantId),
807
- isBlock: false,
808
- type: 'simple',
809
- storageClassType: 'string',
810
- },
811
- use_aks_workload_identity: {
812
- value: cdktf.booleanToHclTerraform(this._useAksWorkloadIdentity),
813
- isBlock: false,
814
- type: 'simple',
815
- storageClassType: 'boolean',
816
- },
817
- use_cli: {
818
- value: cdktf.booleanToHclTerraform(this._useCli),
819
- isBlock: false,
820
- type: 'simple',
821
- storageClassType: 'boolean',
822
- },
823
- use_msi: {
824
- value: cdktf.booleanToHclTerraform(this._useMsi),
825
- isBlock: false,
826
- type: 'simple',
827
- storageClassType: 'boolean',
828
- },
829
- use_oidc: {
830
- value: cdktf.booleanToHclTerraform(this._useOidc),
831
- isBlock: false,
832
- type: 'simple',
833
- storageClassType: 'boolean',
834
- },
835
- alias: {
836
- value: cdktf.stringToHclTerraform(this._alias),
837
- isBlock: false,
838
- type: 'simple',
839
- storageClassType: 'string',
840
- },
841
- };
842
- // remove undefined attributes
843
- return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
844
- }
845
- }