@cdktf-providers/vmware-avi 30.2.6 → 31.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/actiongroupconfig/index.d.ts +17 -17
- package/dist/actiongroupconfig/index.js +6 -6
- package/dist/albservicesconfig/index.d.ts +94 -85
- package/dist/albservicesconfig/index.js +79 -51
- package/dist/albservicesfiledownload/index.d.ts +21 -21
- package/dist/albservicesfiledownload/index.js +6 -6
- package/dist/albservicesfileupload/index.d.ts +12 -12
- package/dist/albservicesfileupload/index.js +6 -6
- package/dist/albservicesjob/index.d.ts +27 -27
- package/dist/albservicesjob/index.js +6 -6
- package/dist/alertconfig/index.d.ts +42 -42
- package/dist/alertconfig/index.js +6 -6
- package/dist/alertemailconfig/index.d.ts +12 -12
- package/dist/alertemailconfig/index.js +6 -6
- package/dist/alertscriptconfig/index.d.ts +20 -11
- package/dist/alertscriptconfig/index.js +29 -6
- package/dist/alertsyslogconfig/index.d.ts +21 -21
- package/dist/alertsyslogconfig/index.js +6 -6
- package/dist/analyticsprofile/index.d.ts +164 -155
- package/dist/analyticsprofile/index.js +29 -6
- package/dist/apiratelimitprofile/index.d.ts +149 -0
- package/dist/apiratelimitprofile/index.js +354 -0
- package/dist/applicationinsightspolicy/index.d.ts +423 -0
- package/dist/applicationinsightspolicy/index.js +1086 -0
- package/dist/applicationpersistenceprofile/index.d.ts +99 -37
- package/dist/applicationpersistenceprofile/index.js +165 -6
- package/dist/applicationprofile/index-structs/structs0.d.ts +493 -448
- package/dist/applicationprofile/index-structs/structs0.js +276 -130
- package/dist/applicationprofile/index-structs/structs400.d.ts +236 -185
- package/dist/applicationprofile/index-structs/structs400.js +131 -1
- package/dist/applicationprofile/index.d.ts +35 -24
- package/dist/applicationprofile/index.js +29 -6
- package/dist/authmappingprofile/index.d.ts +33 -33
- package/dist/authmappingprofile/index.js +6 -6
- package/dist/authprofile/index.d.ts +108 -99
- package/dist/authprofile/index.js +34 -6
- package/dist/autoscalelaunchconfig/index.d.ts +20 -20
- package/dist/autoscalelaunchconfig/index.js +6 -6
- package/dist/availabilityzone/index.d.ts +202 -16
- package/dist/availabilityzone/index.js +502 -20
- package/dist/backup/index.d.ts +12 -12
- package/dist/backup/index.js +6 -6
- package/dist/backupconfiguration/index.d.ts +33 -24
- package/dist/backupconfiguration/index.js +29 -6
- package/dist/botconfigconsolidator/index.d.ts +62 -9
- package/dist/botconfigconsolidator/index.js +137 -6
- package/dist/botdetectionpolicy/index.d.ts +187 -125
- package/dist/botdetectionpolicy/index.js +165 -6
- package/dist/botipreputationtypemapping/index.d.ts +66 -13
- package/dist/botipreputationtypemapping/index.js +137 -6
- package/dist/botmapping/index.d.ts +123 -61
- package/dist/botmapping/index.js +165 -6
- package/dist/certificatemanagementprofile/index.d.ts +18 -18
- package/dist/certificatemanagementprofile/index.js +6 -6
- package/dist/cloud/index.d.ts +368 -983
- package/dist/cloud/index.js +313 -2049
- package/dist/cloudconnectoruser/index.d.ts +31 -111
- package/dist/cloudconnectoruser/index.js +6 -221
- package/dist/cloudproperties/index.d.ts +416 -256
- package/dist/cloudproperties/index.js +704 -264
- package/dist/cluster/index.d.ts +77 -77
- package/dist/cluster/index.js +6 -6
- package/dist/clusterclouddetails/index.d.ts +12 -12
- package/dist/clusterclouddetails/index.js +6 -6
- package/dist/controllerportalregistration/index.d.ts +15 -15
- package/dist/controllerportalregistration/index.js +6 -6
- package/dist/controllerproperties/index.d.ts +372 -212
- package/dist/controllerproperties/index.js +648 -218
- package/dist/controllersite/index.d.ts +11 -11
- package/dist/controllersite/index.js +6 -6
- package/dist/csrfpolicy/index.d.ts +126 -108
- package/dist/csrfpolicy/index.js +57 -6
- package/dist/customipamdnsprofile/index.d.ts +15 -15
- package/dist/customipamdnsprofile/index.js +6 -6
- package/dist/data-avi-actiongroupconfig/index.d.ts +7 -7
- package/dist/data-avi-actiongroupconfig/index.js +6 -6
- package/dist/data-avi-albservicesconfig/index.d.ts +10 -9
- package/dist/data-avi-albservicesconfig/index.js +17 -13
- package/dist/data-avi-albservicesfiledownload/index.d.ts +7 -7
- package/dist/data-avi-albservicesfiledownload/index.js +6 -6
- package/dist/data-avi-albservicesfileupload/index.d.ts +7 -7
- package/dist/data-avi-albservicesfileupload/index.js +6 -6
- package/dist/data-avi-albservicesjob/index.d.ts +7 -7
- package/dist/data-avi-albservicesjob/index.js +6 -6
- package/dist/data-avi-alertconfig/index.d.ts +7 -7
- package/dist/data-avi-alertconfig/index.js +6 -6
- package/dist/data-avi-alertemailconfig/index.d.ts +7 -7
- package/dist/data-avi-alertemailconfig/index.js +6 -6
- package/dist/data-avi-alertscriptconfig/index.d.ts +8 -7
- package/dist/data-avi-alertscriptconfig/index.js +10 -6
- package/dist/data-avi-alertsyslogconfig/index.d.ts +7 -7
- package/dist/data-avi-alertsyslogconfig/index.js +6 -6
- package/dist/data-avi-analyticsprofile/index.d.ts +8 -7
- package/dist/data-avi-analyticsprofile/index.js +10 -6
- package/dist/data-avi-apiratelimitprofile/index.d.ts +108 -0
- package/dist/data-avi-apiratelimitprofile/index.js +247 -0
- package/dist/data-avi-applicationinsightspolicy/index.d.ts +251 -0
- package/dist/data-avi-applicationinsightspolicy/index.js +575 -0
- package/dist/data-avi-applicationpersistenceprofile/index.d.ts +42 -7
- package/dist/data-avi-applicationpersistenceprofile/index.js +85 -6
- package/dist/data-avi-applicationprofile/index-structs/structs0.d.ts +38 -34
- package/dist/data-avi-applicationprofile/index-structs/structs0.js +94 -75
- package/dist/data-avi-applicationprofile/index-structs/structs400.d.ts +35 -1
- package/dist/data-avi-applicationprofile/index-structs/structs400.js +76 -1
- package/dist/data-avi-applicationprofile/index.d.ts +9 -7
- package/dist/data-avi-applicationprofile/index.js +11 -6
- package/dist/data-avi-authmappingprofile/index.d.ts +7 -7
- package/dist/data-avi-authmappingprofile/index.js +6 -6
- package/dist/data-avi-authprofile/index.d.ts +8 -7
- package/dist/data-avi-authprofile/index.js +10 -6
- package/dist/data-avi-autoscalelaunchconfig/index.d.ts +7 -7
- package/dist/data-avi-autoscalelaunchconfig/index.js +6 -6
- package/dist/data-avi-availabilityzone/index.d.ts +114 -9
- package/dist/data-avi-availabilityzone/index.js +247 -10
- package/dist/data-avi-backup/index.d.ts +6 -6
- package/dist/data-avi-backup/index.js +6 -6
- package/dist/data-avi-backupconfiguration/index.d.ts +8 -7
- package/dist/data-avi-backupconfiguration/index.js +10 -6
- package/dist/data-avi-botconfigconsolidator/index.d.ts +41 -7
- package/dist/data-avi-botconfigconsolidator/index.js +81 -6
- package/dist/data-avi-botdetectionpolicy/index.d.ts +42 -7
- package/dist/data-avi-botdetectionpolicy/index.js +85 -6
- package/dist/data-avi-botipreputationtypemapping/index.d.ts +41 -7
- package/dist/data-avi-botipreputationtypemapping/index.js +81 -6
- package/dist/data-avi-botmapping/index.d.ts +42 -7
- package/dist/data-avi-botmapping/index.js +85 -6
- package/dist/data-avi-certificatemanagementprofile/index.d.ts +7 -7
- package/dist/data-avi-certificatemanagementprofile/index.js +6 -6
- package/dist/data-avi-cloud/index.d.ts +10 -248
- package/dist/data-avi-cloud/index.js +18 -604
- package/dist/data-avi-cloudconnectoruser/index.d.ts +7 -44
- package/dist/data-avi-cloudconnectoruser/index.js +6 -93
- package/dist/data-avi-cloudproperties/index.d.ts +89 -15
- package/dist/data-avi-cloudproperties/index.js +217 -43
- package/dist/data-avi-cluster/index.d.ts +11 -11
- package/dist/data-avi-cluster/index.js +6 -6
- package/dist/data-avi-clusterclouddetails/index.d.ts +7 -7
- package/dist/data-avi-clusterclouddetails/index.js +6 -6
- package/dist/data-avi-controllerportalregistration/index.d.ts +7 -7
- package/dist/data-avi-controllerportalregistration/index.js +6 -6
- package/dist/data-avi-controllerproperties/index.d.ts +89 -15
- package/dist/data-avi-controllerproperties/index.js +217 -43
- package/dist/data-avi-controllersite/index.d.ts +7 -7
- package/dist/data-avi-controllersite/index.js +6 -6
- package/dist/data-avi-csrfpolicy/index.d.ts +9 -7
- package/dist/data-avi-csrfpolicy/index.js +14 -6
- package/dist/data-avi-customipamdnsprofile/index.d.ts +7 -7
- package/dist/data-avi-customipamdnsprofile/index.js +6 -6
- package/dist/data-avi-dnspolicy/index.d.ts +7 -7
- package/dist/data-avi-dnspolicy/index.js +6 -6
- package/dist/data-avi-dynamicdnsrecord/index.d.ts +7 -7
- package/dist/data-avi-dynamicdnsrecord/index.js +6 -6
- package/dist/data-avi-errorpagebody/index.d.ts +7 -7
- package/dist/data-avi-errorpagebody/index.js +6 -6
- package/dist/data-avi-errorpageprofile/index.d.ts +7 -7
- package/dist/data-avi-errorpageprofile/index.js +6 -6
- package/dist/data-avi-fileobject/index.d.ts +82 -7
- package/dist/data-avi-fileobject/index.js +184 -6
- package/dist/data-avi-fileservice/index.d.ts +7 -7
- package/dist/data-avi-fileservice/index.js +6 -6
- package/dist/data-avi-geodb/index.d.ts +7 -7
- package/dist/data-avi-geodb/index.js +6 -6
- package/dist/data-avi-gslb/index.d.ts +126 -19
- package/dist/data-avi-gslb/index.js +267 -22
- package/dist/data-avi-gslbcrmruntime/index.d.ts +11 -8
- package/dist/data-avi-gslbcrmruntime/index.js +22 -9
- package/dist/data-avi-gslbgeodbprofile/index.d.ts +8 -46
- package/dist/data-avi-gslbgeodbprofile/index.js +9 -100
- package/dist/data-avi-gslbhsmruntime/index.d.ts +11 -7
- package/dist/data-avi-gslbhsmruntime/index.js +22 -5
- package/dist/data-avi-gslbservice/index.d.ts +117 -7
- package/dist/data-avi-gslbservice/index.js +263 -6
- package/dist/data-avi-gslbsmruntime/index.d.ts +57 -7
- package/dist/data-avi-gslbsmruntime/index.js +145 -5
- package/dist/data-avi-hardwaresecuritymodulegroup/index.d.ts +275 -7
- package/dist/data-avi-hardwaresecuritymodulegroup/index.js +651 -6
- package/dist/data-avi-healthmonitor/index.d.ts +226 -7
- package/dist/data-avi-healthmonitor/index.js +577 -6
- package/dist/data-avi-httppolicyset/index-structs/structs0.d.ts +3 -0
- package/dist/data-avi-httppolicyset/index-structs/structs0.js +12 -0
- package/dist/data-avi-httppolicyset/index-structs/structs400.d.ts +1 -0
- package/dist/data-avi-httppolicyset/index-structs/structs400.js +4 -0
- package/dist/data-avi-httppolicyset/index.d.ts +7 -7
- package/dist/data-avi-httppolicyset/index.js +5 -5
- package/dist/data-avi-icapprofile/index.d.ts +8 -8
- package/dist/data-avi-icapprofile/index.js +6 -6
- package/dist/data-avi-image/index.d.ts +157 -9
- package/dist/data-avi-image/index.js +362 -14
- package/dist/data-avi-inventoryfaultconfig/index.d.ts +8 -7
- package/dist/data-avi-inventoryfaultconfig/index.js +10 -6
- package/dist/data-avi-ipaddrgroup/index.d.ts +7 -7
- package/dist/data-avi-ipaddrgroup/index.js +6 -6
- package/dist/data-avi-ipamdnsproviderprofile/index.d.ts +7 -8
- package/dist/data-avi-ipamdnsproviderprofile/index.js +6 -10
- package/dist/data-avi-ipreputationdb/index.d.ts +10 -7
- package/dist/data-avi-ipreputationdb/index.js +18 -6
- package/dist/data-avi-jwtserverprofile/index.d.ts +7 -7
- package/dist/data-avi-jwtserverprofile/index.js +6 -6
- package/dist/data-avi-l4policyset/index.d.ts +7 -7
- package/dist/data-avi-l4policyset/index.js +6 -6
- package/dist/data-avi-labelgroup/index.d.ts +6 -6
- package/dist/data-avi-labelgroup/index.js +6 -6
- package/dist/data-avi-licenseledgerdetails/index.d.ts +77 -5
- package/dist/data-avi-licenseledgerdetails/index.js +172 -6
- package/dist/data-avi-licensestatus/index.d.ts +9 -5
- package/dist/data-avi-licensestatus/index.js +22 -6
- package/dist/data-avi-localworkerfdsversion/index.d.ts +7 -7
- package/dist/data-avi-localworkerfdsversion/index.js +6 -5
- package/dist/data-avi-memorybalancerrequest/index.d.ts +7 -7
- package/dist/data-avi-memorybalancerrequest/index.js +6 -6
- package/dist/data-avi-microservicegroup/index.d.ts +7 -7
- package/dist/data-avi-microservicegroup/index.js +6 -6
- package/dist/data-avi-natpolicy/index.d.ts +7 -7
- package/dist/data-avi-natpolicy/index.js +6 -6
- package/dist/data-avi-network/index.d.ts +8 -8
- package/dist/data-avi-network/index.js +6 -6
- package/dist/data-avi-networkprofile/index.d.ts +43 -7
- package/dist/data-avi-networkprofile/index.js +89 -6
- package/dist/data-avi-networksecuritypolicy/index.d.ts +7 -7
- package/dist/data-avi-networksecuritypolicy/index.js +6 -6
- package/dist/data-avi-networkservice/index.d.ts +8 -8
- package/dist/data-avi-networkservice/index.js +6 -6
- package/dist/data-avi-nsxtsegmentruntime/index.d.ts +8 -8
- package/dist/data-avi-nsxtsegmentruntime/index.js +6 -6
- package/dist/data-avi-pkiprofile/index.d.ts +41 -7
- package/dist/data-avi-pkiprofile/index.js +81 -6
- package/dist/data-avi-pool/index.d.ts +83 -11
- package/dist/data-avi-pool/index.js +178 -12
- package/dist/data-avi-poolgroup/index.d.ts +8 -8
- package/dist/data-avi-poolgroup/index.js +6 -6
- package/dist/data-avi-poolgroupdeploymentpolicy/index.d.ts +7 -7
- package/dist/data-avi-poolgroupdeploymentpolicy/index.js +6 -6
- package/dist/data-avi-positivesecuritypolicy/index.d.ts +182 -0
- package/dist/data-avi-positivesecuritypolicy/index.js +421 -0
- package/dist/data-avi-prioritylabels/index.d.ts +8 -8
- package/dist/data-avi-prioritylabels/index.js +6 -6
- package/dist/data-avi-protocolparser/index.d.ts +7 -7
- package/dist/data-avi-protocolparser/index.js +6 -6
- package/dist/data-avi-ratelimitconfiguration/index.d.ts +145 -0
- package/dist/data-avi-ratelimitconfiguration/index.js +334 -0
- package/dist/data-avi-report/index.d.ts +723 -0
- package/dist/data-avi-report/index.js +1670 -0
- package/dist/data-avi-reportprofile/index.d.ts +92 -0
- package/dist/data-avi-reportprofile/index.js +209 -0
- package/dist/data-avi-retentionpolicy/index.d.ts +7 -7
- package/dist/data-avi-retentionpolicy/index.js +6 -5
- package/dist/data-avi-rmcloudopsproto/index.d.ts +7 -6
- package/dist/data-avi-rmcloudopsproto/index.js +10 -6
- package/dist/data-avi-role/index.d.ts +7 -7
- package/dist/data-avi-role/index.js +6 -6
- package/dist/data-avi-scheduler/index.d.ts +7 -7
- package/dist/data-avi-scheduler/index.js +6 -6
- package/dist/data-avi-securitymanagerdata/index.d.ts +9 -7
- package/dist/data-avi-securitymanagerdata/index.js +14 -6
- package/dist/data-avi-securitypolicy/index.d.ts +7 -7
- package/dist/data-avi-securitypolicy/index.js +6 -6
- package/dist/data-avi-seproperties/index.d.ts +6 -5
- package/dist/data-avi-seproperties/index.js +10 -6
- package/dist/data-avi-server/index.d.ts +43 -6
- package/dist/data-avi-server/index.js +93 -6
- package/dist/data-avi-serverautoscalepolicy/index.d.ts +7 -7
- package/dist/data-avi-serverautoscalepolicy/index.js +6 -6
- package/dist/data-avi-serviceauthprofile/index.d.ts +7 -7
- package/dist/data-avi-serviceauthprofile/index.js +6 -6
- package/dist/data-avi-serviceengine/index.d.ts +9 -8
- package/dist/data-avi-serviceengine/index.js +10 -6
- package/dist/data-avi-serviceenginegroup/index.d.ts +159 -9
- package/dist/data-avi-serviceenginegroup/index.js +366 -10
- package/dist/data-avi-siteversion/index.d.ts +7 -7
- package/dist/data-avi-siteversion/index.js +6 -6
- package/dist/data-avi-snmptrapprofile/index.d.ts +7 -7
- package/dist/data-avi-snmptrapprofile/index.js +6 -6
- package/dist/data-avi-sslkeyandcertificate/index.d.ts +75 -7
- package/dist/data-avi-sslkeyandcertificate/index.js +156 -6
- package/dist/data-avi-sslprofile/index.d.ts +8 -7
- package/dist/data-avi-sslprofile/index.js +10 -6
- package/dist/data-avi-ssopolicy/index.d.ts +7 -7
- package/dist/data-avi-ssopolicy/index.js +6 -6
- package/dist/data-avi-statediffoperation/index.d.ts +7 -7
- package/dist/data-avi-statediffoperation/index.js +6 -6
- package/dist/data-avi-statediffsnapshot/index.d.ts +31 -7
- package/dist/data-avi-statediffsnapshot/index.js +102 -6
- package/dist/data-avi-stringgroup/index.d.ts +7 -7
- package/dist/data-avi-stringgroup/index.js +6 -6
- package/dist/data-avi-systemconfiguration/index.d.ts +156 -5
- package/dist/data-avi-systemconfiguration/index.js +366 -6
- package/dist/data-avi-systemlimits/index.d.ts +11 -8
- package/dist/data-avi-systemlimits/index.js +30 -18
- package/dist/data-avi-systemreport/index.d.ts +383 -7
- package/dist/data-avi-systemreport/index.js +900 -6
- package/dist/data-avi-taskjournal/index.d.ts +90 -7
- package/dist/data-avi-taskjournal/index.js +216 -6
- package/dist/data-avi-techsupport/index.d.ts +501 -0
- package/dist/data-avi-techsupport/index.js +1209 -0
- package/dist/data-avi-techsupportmessage/index.d.ts +47 -0
- package/dist/data-avi-techsupportmessage/index.js +103 -0
- package/dist/data-avi-techsupportprofile/index.d.ts +163 -0
- package/dist/data-avi-techsupportprofile/index.js +371 -0
- package/dist/data-avi-tenant/index.d.ts +41 -6
- package/dist/data-avi-tenant/index.js +85 -6
- package/dist/data-avi-tenantsystemconfiguration/index.d.ts +7 -7
- package/dist/data-avi-tenantsystemconfiguration/index.js +6 -6
- package/dist/data-avi-testsedatastorelevel1/index.d.ts +7 -7
- package/dist/data-avi-testsedatastorelevel1/index.js +6 -6
- package/dist/data-avi-testsedatastorelevel2/index.d.ts +7 -7
- package/dist/data-avi-testsedatastorelevel2/index.js +6 -6
- package/dist/data-avi-testsedatastorelevel3/index.d.ts +7 -7
- package/dist/data-avi-testsedatastorelevel3/index.js +6 -6
- package/dist/data-avi-trafficcloneprofile/index.d.ts +8 -8
- package/dist/data-avi-trafficcloneprofile/index.js +6 -6
- package/dist/data-avi-trustedhostprofile/index.d.ts +7 -7
- package/dist/data-avi-trustedhostprofile/index.js +6 -5
- package/dist/data-avi-upgradeprofile/index.d.ts +15 -15
- package/dist/data-avi-upgradeprofile/index.js +15 -14
- package/dist/data-avi-upgradestatusinfo/index.d.ts +704 -7
- package/dist/data-avi-upgradestatusinfo/index.js +1728 -99
- package/dist/data-avi-upgradestatussummary/index.d.ts +7 -7
- package/dist/data-avi-upgradestatussummary/index.js +6 -6
- package/dist/data-avi-user/index.d.ts +7 -6
- package/dist/data-avi-user/index.js +10 -6
- package/dist/data-avi-useraccountprofile/index.d.ts +6 -6
- package/dist/data-avi-useraccountprofile/index.js +6 -6
- package/dist/data-avi-vcenterserver/index.d.ts +8 -8
- package/dist/data-avi-vcenterserver/index.js +6 -6
- package/dist/data-avi-virtualservice/index-structs/structs0.d.ts +143 -134
- package/dist/data-avi-virtualservice/index-structs/structs0.js +1051 -1024
- package/dist/data-avi-virtualservice/index-structs/structs400.d.ts +341 -1
- package/dist/data-avi-virtualservice/index-structs/structs400.js +1217 -458
- package/dist/data-avi-virtualservice/index.d.ts +10 -9
- package/dist/data-avi-virtualservice/index.js +13 -9
- package/dist/data-avi-vrfcontext/index.d.ts +8 -8
- package/dist/data-avi-vrfcontext/index.js +6 -6
- package/dist/data-avi-vsdatascriptset/index.d.ts +77 -7
- package/dist/data-avi-vsdatascriptset/index.js +164 -6
- package/dist/data-avi-vsgs/index.d.ts +7 -7
- package/dist/data-avi-vsgs/index.js +6 -6
- package/dist/data-avi-vsvip/index.d.ts +214 -8
- package/dist/data-avi-vsvip/index.js +464 -6
- package/dist/data-avi-wafapplicationsignatureprovider/index.d.ts +7 -7
- package/dist/data-avi-wafapplicationsignatureprovider/index.js +6 -6
- package/dist/data-avi-wafcrs/index.d.ts +7 -7
- package/dist/data-avi-wafcrs/index.js +6 -6
- package/dist/data-avi-wafpolicy/index.d.ts +12 -160
- package/dist/data-avi-wafpolicy/index.js +24 -372
- package/dist/data-avi-wafpolicypsmgroup/index.d.ts +10 -7
- package/dist/data-avi-wafpolicypsmgroup/index.js +18 -6
- package/dist/data-avi-wafprofile/index.d.ts +85 -7
- package/dist/data-avi-wafprofile/index.js +196 -6
- package/dist/data-avi-webapput/index.d.ts +18 -9
- package/dist/data-avi-webapput/index.js +36 -13
- package/dist/data-avi-webhook/index.d.ts +7 -7
- package/dist/data-avi-webhook/index.js +6 -6
- package/dist/dnspolicy/index.d.ts +112 -112
- package/dist/dnspolicy/index.js +6 -6
- package/dist/dynamicdnsrecord/index.d.ts +45 -45
- package/dist/dynamicdnsrecord/index.js +6 -6
- package/dist/errorpagebody/index.d.ts +14 -14
- package/dist/errorpagebody/index.js +6 -6
- package/dist/errorpageprofile/index.d.ts +23 -23
- package/dist/errorpageprofile/index.js +6 -6
- package/dist/fileobject/index.d.ts +201 -32
- package/dist/fileobject/index.js +454 -6
- package/dist/fileservice/index.d.ts +7 -7
- package/dist/fileservice/index.js +6 -6
- package/dist/geodb/index.d.ts +21 -21
- package/dist/geodb/index.js +6 -6
- package/dist/gslb/index.d.ts +321 -117
- package/dist/gslb/index.js +593 -60
- package/dist/gslbcrmruntime/index.d.ts +139 -112
- package/dist/gslbcrmruntime/index.js +118 -33
- package/dist/gslbgeodbprofile/index.d.ts +24 -112
- package/dist/gslbgeodbprofile/index.js +33 -278
- package/dist/gslbhsmruntime/index.d.ts +136 -100
- package/dist/gslbhsmruntime/index.js +118 -5
- package/dist/gslbservice/index.d.ts +301 -77
- package/dist/gslbservice/index.js +602 -6
- package/dist/gslbsmruntime/index.d.ts +308 -114
- package/dist/gslbsmruntime/index.js +576 -5
- package/dist/hardwaresecuritymodulegroup/index.d.ts +693 -53
- package/dist/hardwaresecuritymodulegroup/index.js +1790 -6
- package/dist/healthmonitor/index.d.ts +868 -168
- package/dist/healthmonitor/index.js +2041 -22
- package/dist/httppolicyset/index-structs/structs0.d.ts +354 -327
- package/dist/httppolicyset/index-structs/structs0.js +84 -0
- package/dist/httppolicyset/index-structs/structs400.d.ts +113 -104
- package/dist/httppolicyset/index-structs/structs400.js +28 -0
- package/dist/httppolicyset/index.d.ts +18 -18
- package/dist/httppolicyset/index.js +5 -5
- package/dist/icapprofile/index.d.ts +24 -24
- package/dist/icapprofile/index.js +6 -6
- package/dist/image/index.d.ts +447 -127
- package/dist/image/index.js +963 -88
- package/dist/index.d.ts +32 -2
- package/dist/index.js +32 -2
- package/dist/inventoryfaultconfig/index.d.ts +34 -25
- package/dist/inventoryfaultconfig/index.js +34 -6
- package/dist/ipaddrgroup/index.d.ts +38 -38
- package/dist/ipaddrgroup/index.js +6 -6
- package/dist/ipamdnsproviderprofile/index.d.ts +142 -151
- package/dist/ipamdnsproviderprofile/index.js +6 -34
- package/dist/ipreputationdb/index.d.ts +49 -22
- package/dist/ipreputationdb/index.js +75 -6
- package/dist/jwtserverprofile/index.d.ts +19 -19
- package/dist/jwtserverprofile/index.js +6 -6
- package/dist/l4policyset/index.d.ts +53 -53
- package/dist/l4policyset/index.js +6 -6
- package/dist/labelgroup/index.d.ts +13 -13
- package/dist/labelgroup/index.js +6 -6
- package/dist/lazy-index.js +32 -2
- package/dist/licenseledgerdetails/index.d.ts +166 -24
- package/dist/licenseledgerdetails/index.js +375 -6
- package/dist/licensestatus/index.d.ts +58 -22
- package/dist/licensestatus/index.js +118 -6
- package/dist/localworkerfdsversion/index.d.ts +9 -9
- package/dist/localworkerfdsversion/index.js +6 -5
- package/dist/memorybalancerrequest/index.d.ts +22 -22
- package/dist/memorybalancerrequest/index.js +6 -6
- package/dist/microservicegroup/index.d.ts +12 -12
- package/dist/microservicegroup/index.js +6 -6
- package/dist/natpolicy/index.d.ts +79 -79
- package/dist/natpolicy/index.js +6 -6
- package/dist/network/index.d.ts +38 -38
- package/dist/network/index.js +6 -6
- package/dist/networkprofile/index.d.ts +137 -66
- package/dist/networkprofile/index.js +198 -6
- package/dist/networksecuritypolicy/index.d.ts +67 -67
- package/dist/networksecuritypolicy/index.js +6 -6
- package/dist/networkservice/index.d.ts +45 -45
- package/dist/networkservice/index.js +6 -6
- package/dist/nsxtsegmentruntime/index.d.ts +25 -25
- package/dist/nsxtsegmentruntime/index.js +6 -6
- package/dist/pkiprofile/index.d.ts +114 -61
- package/dist/pkiprofile/index.js +142 -6
- package/dist/pool/index.d.ts +349 -211
- package/dist/pool/index.js +406 -39
- package/dist/poolgroup/index.d.ts +41 -41
- package/dist/poolgroup/index.js +6 -6
- package/dist/poolgroupdeploymentpolicy/index.d.ts +23 -23
- package/dist/poolgroupdeploymentpolicy/index.js +6 -6
- package/dist/positivesecuritypolicy/index.d.ts +311 -0
- package/dist/positivesecuritypolicy/index.js +795 -0
- package/dist/prioritylabels/index.d.ts +16 -16
- package/dist/prioritylabels/index.js +6 -6
- package/dist/protocolparser/index.d.ts +14 -14
- package/dist/protocolparser/index.js +6 -6
- package/dist/provider/index.d.ts +13 -13
- package/dist/provider/index.js +6 -6
- package/dist/ratelimitconfiguration/index.d.ts +227 -0
- package/dist/ratelimitconfiguration/index.js +553 -0
- package/dist/report/index.d.ts +1376 -0
- package/dist/report/index.js +3623 -0
- package/dist/reportprofile/index.d.ts +151 -0
- package/dist/reportprofile/index.js +380 -0
- package/dist/retentionpolicy/index.d.ts +49 -49
- package/dist/retentionpolicy/index.js +6 -5
- package/dist/rmcloudopsproto/index.d.ts +18 -9
- package/dist/rmcloudopsproto/index.js +29 -6
- package/dist/role/index.d.ts +23 -23
- package/dist/role/index.js +6 -6
- package/dist/scheduler/index.d.ts +18 -18
- package/dist/scheduler/index.js +6 -6
- package/dist/securitymanagerdata/index.d.ts +40 -22
- package/dist/securitymanagerdata/index.js +62 -6
- package/dist/securitypolicy/index.d.ts +33 -33
- package/dist/securitypolicy/index.js +6 -6
- package/dist/seproperties/index.d.ts +190 -181
- package/dist/seproperties/index.js +34 -6
- package/dist/server/index.d.ts +120 -43
- package/dist/server/index.js +207 -6
- package/dist/serverautoscalepolicy/index.d.ts +34 -34
- package/dist/serverautoscalepolicy/index.js +6 -6
- package/dist/serviceauthprofile/index.d.ts +17 -17
- package/dist/serviceauthprofile/index.js +6 -6
- package/dist/serviceengine/index.d.ts +153 -144
- package/dist/serviceengine/index.js +34 -6
- package/dist/serviceenginegroup/index.d.ts +775 -439
- package/dist/serviceenginegroup/index.js +948 -93
- package/dist/siteversion/index.d.ts +16 -16
- package/dist/siteversion/index.js +6 -6
- package/dist/snmptrapprofile/index.d.ts +22 -22
- package/dist/snmptrapprofile/index.js +6 -6
- package/dist/sslkeyandcertificate/index.d.ts +207 -101
- package/dist/sslkeyandcertificate/index.js +278 -6
- package/dist/sslprofile/index.d.ts +44 -35
- package/dist/sslprofile/index.js +29 -6
- package/dist/ssopolicy/index.d.ts +91 -91
- package/dist/ssopolicy/index.js +6 -6
- package/dist/statediffoperation/index.d.ts +18 -18
- package/dist/statediffoperation/index.js +6 -6
- package/dist/statediffsnapshot/index.d.ts +309 -93
- package/dist/statediffsnapshot/index.js +678 -6
- package/dist/stringgroup/index.d.ts +18 -18
- package/dist/stringgroup/index.js +6 -6
- package/dist/systemconfiguration/index.d.ts +545 -200
- package/dist/systemconfiguration/index.js +932 -34
- package/dist/systemlimits/index.d.ts +149 -122
- package/dist/systemlimits/index.js +174 -90
- package/dist/systemreport/index.d.ts +920 -72
- package/dist/systemreport/index.js +2341 -6
- package/dist/taskjournal/index.d.ts +278 -37
- package/dist/taskjournal/index.js +816 -134
- package/dist/techsupport/index.d.ts +1152 -0
- package/dist/techsupport/index.js +3106 -0
- package/dist/techsupportmessage/index.d.ts +71 -0
- package/dist/techsupportmessage/index.js +160 -0
- package/dist/techsupportprofile/index.d.ts +284 -0
- package/dist/techsupportprofile/index.js +706 -0
- package/dist/tenant/index.d.ts +82 -20
- package/dist/tenant/index.js +170 -6
- package/dist/tenantsystemconfiguration/index.d.ts +10 -10
- package/dist/tenantsystemconfiguration/index.js +6 -6
- package/dist/testsedatastorelevel1/index.d.ts +10 -10
- package/dist/testsedatastorelevel1/index.js +6 -6
- package/dist/testsedatastorelevel2/index.d.ts +10 -10
- package/dist/testsedatastorelevel2/index.js +6 -6
- package/dist/testsedatastorelevel3/index.d.ts +9 -9
- package/dist/testsedatastorelevel3/index.js +6 -6
- package/dist/trafficcloneprofile/index.d.ts +25 -25
- package/dist/trafficcloneprofile/index.js +6 -6
- package/dist/trustedhostprofile/index.d.ts +14 -14
- package/dist/trustedhostprofile/index.js +6 -5
- package/dist/upgradeprofile/index.d.ts +41 -41
- package/dist/upgradeprofile/index.js +26 -25
- package/dist/upgradestatusinfo/index.d.ts +1815 -355
- package/dist/upgradestatusinfo/index.js +4027 -38
- package/dist/upgradestatussummary/index.d.ts +26 -26
- package/dist/upgradestatussummary/index.js +6 -6
- package/dist/user/index.d.ts +42 -32
- package/dist/user/index.js +33 -7
- package/dist/useraccount/index.d.ts +11 -11
- package/dist/useraccount/index.js +6 -6
- package/dist/useraccountprofile/index.d.ts +14 -14
- package/dist/useraccountprofile/index.js +6 -6
- package/dist/vcenterserver/index.d.ts +15 -15
- package/dist/vcenterserver/index.js +6 -6
- package/dist/virtualservice/index-structs/structs0.d.ts +581 -514
- package/dist/virtualservice/index-structs/structs0.js +4423 -4234
- package/dist/virtualservice/index-structs/structs400.d.ts +689 -158
- package/dist/virtualservice/index-structs/structs400.js +3376 -1992
- package/dist/virtualservice/index.d.ts +117 -108
- package/dist/virtualservice/index.js +51 -28
- package/dist/vrfcontext/index.d.ts +117 -117
- package/dist/vrfcontext/index.js +6 -6
- package/dist/vsdatascriptset/index.d.ts +152 -32
- package/dist/vsdatascriptset/index.js +312 -6
- package/dist/vsgs/index.d.ts +14 -14
- package/dist/vsgs/index.js +6 -6
- package/dist/vsvip/index.d.ts +434 -110
- package/dist/vsvip/index.js +842 -6
- package/dist/wafapplicationsignatureprovider/index.d.ts +49 -49
- package/dist/wafapplicationsignatureprovider/index.js +6 -6
- package/dist/wafcrs/index.d.ts +69 -69
- package/dist/wafcrs/index.js +6 -6
- package/dist/wafpolicy/index.d.ts +344 -662
- package/dist/wafpolicy/index.js +156 -1015
- package/dist/wafpolicypsmgroup/index.d.ts +82 -55
- package/dist/wafpolicypsmgroup/index.js +80 -6
- package/dist/wafprofile/index.d.ts +238 -44
- package/dist/wafprofile/index.js +552 -6
- package/dist/webapput/index.d.ts +135 -126
- package/dist/webapput/index.js +66 -43
- package/dist/webhook/index.d.ts +15 -15
- package/dist/webhook/index.js +6 -6
- package/package.json +2 -2
|
@@ -0,0 +1,3106 @@
|
|
|
1
|
+
// https://registry.terraform.io/providers/vmware/avi/31.2.1/docs/resources/techsupport
|
|
2
|
+
// generated from terraform resource schema
|
|
3
|
+
import * as cdktf from 'cdktf';
|
|
4
|
+
export function techsupportParamsEventParamsToTerraform(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
|
+
collect_all_events: cdktf.stringToTerraform(struct.collectAllEvents),
|
|
13
|
+
days: cdktf.stringToTerraform(struct.days),
|
|
14
|
+
files: cdktf.stringToTerraform(struct.files),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export function techsupportParamsEventParamsToHclTerraform(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
|
+
collect_all_events: {
|
|
26
|
+
value: cdktf.stringToHclTerraform(struct.collectAllEvents),
|
|
27
|
+
isBlock: false,
|
|
28
|
+
type: "simple",
|
|
29
|
+
storageClassType: "string",
|
|
30
|
+
},
|
|
31
|
+
days: {
|
|
32
|
+
value: cdktf.stringToHclTerraform(struct.days),
|
|
33
|
+
isBlock: false,
|
|
34
|
+
type: "simple",
|
|
35
|
+
storageClassType: "string",
|
|
36
|
+
},
|
|
37
|
+
files: {
|
|
38
|
+
value: cdktf.stringToHclTerraform(struct.files),
|
|
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
|
+
export class TechsupportParamsEventParamsOutputReference extends cdktf.ComplexObject {
|
|
48
|
+
isEmptyObject = false;
|
|
49
|
+
resolvableValue;
|
|
50
|
+
/**
|
|
51
|
+
* @param terraformResource The parent resource
|
|
52
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
53
|
+
* @param complexObjectIndex the index of this item in the list
|
|
54
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
55
|
+
*/
|
|
56
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
57
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
58
|
+
}
|
|
59
|
+
get internalValue() {
|
|
60
|
+
if (this.resolvableValue) {
|
|
61
|
+
return this.resolvableValue;
|
|
62
|
+
}
|
|
63
|
+
let hasAnyValues = this.isEmptyObject;
|
|
64
|
+
const internalValueResult = {};
|
|
65
|
+
if (this._collectAllEvents !== undefined) {
|
|
66
|
+
hasAnyValues = true;
|
|
67
|
+
internalValueResult.collectAllEvents = this._collectAllEvents;
|
|
68
|
+
}
|
|
69
|
+
if (this._days !== undefined) {
|
|
70
|
+
hasAnyValues = true;
|
|
71
|
+
internalValueResult.days = this._days;
|
|
72
|
+
}
|
|
73
|
+
if (this._files !== undefined) {
|
|
74
|
+
hasAnyValues = true;
|
|
75
|
+
internalValueResult.files = this._files;
|
|
76
|
+
}
|
|
77
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
78
|
+
}
|
|
79
|
+
set internalValue(value) {
|
|
80
|
+
if (value === undefined) {
|
|
81
|
+
this.isEmptyObject = false;
|
|
82
|
+
this.resolvableValue = undefined;
|
|
83
|
+
this._collectAllEvents = undefined;
|
|
84
|
+
this._days = undefined;
|
|
85
|
+
this._files = undefined;
|
|
86
|
+
}
|
|
87
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
88
|
+
this.isEmptyObject = false;
|
|
89
|
+
this.resolvableValue = value;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
93
|
+
this.resolvableValue = undefined;
|
|
94
|
+
this._collectAllEvents = value.collectAllEvents;
|
|
95
|
+
this._days = value.days;
|
|
96
|
+
this._files = value.files;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
// collect_all_events - computed: false, optional: true, required: false
|
|
100
|
+
_collectAllEvents;
|
|
101
|
+
get collectAllEvents() {
|
|
102
|
+
return this.getStringAttribute('collect_all_events');
|
|
103
|
+
}
|
|
104
|
+
set collectAllEvents(value) {
|
|
105
|
+
this._collectAllEvents = value;
|
|
106
|
+
}
|
|
107
|
+
resetCollectAllEvents() {
|
|
108
|
+
this._collectAllEvents = undefined;
|
|
109
|
+
}
|
|
110
|
+
// Temporarily expose input value. Use with caution.
|
|
111
|
+
get collectAllEventsInput() {
|
|
112
|
+
return this._collectAllEvents;
|
|
113
|
+
}
|
|
114
|
+
// days - computed: false, optional: true, required: false
|
|
115
|
+
_days;
|
|
116
|
+
get days() {
|
|
117
|
+
return this.getStringAttribute('days');
|
|
118
|
+
}
|
|
119
|
+
set days(value) {
|
|
120
|
+
this._days = value;
|
|
121
|
+
}
|
|
122
|
+
resetDays() {
|
|
123
|
+
this._days = undefined;
|
|
124
|
+
}
|
|
125
|
+
// Temporarily expose input value. Use with caution.
|
|
126
|
+
get daysInput() {
|
|
127
|
+
return this._days;
|
|
128
|
+
}
|
|
129
|
+
// files - computed: false, optional: true, required: false
|
|
130
|
+
_files;
|
|
131
|
+
get files() {
|
|
132
|
+
return this.getStringAttribute('files');
|
|
133
|
+
}
|
|
134
|
+
set files(value) {
|
|
135
|
+
this._files = value;
|
|
136
|
+
}
|
|
137
|
+
resetFiles() {
|
|
138
|
+
this._files = undefined;
|
|
139
|
+
}
|
|
140
|
+
// Temporarily expose input value. Use with caution.
|
|
141
|
+
get filesInput() {
|
|
142
|
+
return this._files;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
export class TechsupportParamsEventParamsList extends cdktf.ComplexList {
|
|
146
|
+
terraformResource;
|
|
147
|
+
terraformAttribute;
|
|
148
|
+
wrapsSet;
|
|
149
|
+
internalValue;
|
|
150
|
+
/**
|
|
151
|
+
* @param terraformResource The parent resource
|
|
152
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
153
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
154
|
+
*/
|
|
155
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
156
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
157
|
+
this.terraformResource = terraformResource;
|
|
158
|
+
this.terraformAttribute = terraformAttribute;
|
|
159
|
+
this.wrapsSet = wrapsSet;
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* @param index the index of the item to return
|
|
163
|
+
*/
|
|
164
|
+
get(index) {
|
|
165
|
+
return new TechsupportParamsEventParamsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
export function techsupportParamsToTerraform(struct) {
|
|
169
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
170
|
+
return struct;
|
|
171
|
+
}
|
|
172
|
+
if (cdktf.isComplexElement(struct)) {
|
|
173
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
174
|
+
}
|
|
175
|
+
return {
|
|
176
|
+
case_number: cdktf.stringToTerraform(struct.caseNumber),
|
|
177
|
+
description: cdktf.stringToTerraform(struct.description),
|
|
178
|
+
duration: cdktf.stringToTerraform(struct.duration),
|
|
179
|
+
level: cdktf.stringToTerraform(struct.level),
|
|
180
|
+
name: cdktf.stringToTerraform(struct.name),
|
|
181
|
+
pattern: cdktf.stringToTerraform(struct.pattern),
|
|
182
|
+
skip_warnings: cdktf.stringToTerraform(struct.skipWarnings),
|
|
183
|
+
slug: cdktf.stringToTerraform(struct.slug),
|
|
184
|
+
start_timestamp: cdktf.stringToTerraform(struct.startTimestamp),
|
|
185
|
+
tenant: cdktf.stringToTerraform(struct.tenant),
|
|
186
|
+
uuid: cdktf.stringToTerraform(struct.uuid),
|
|
187
|
+
event_params: cdktf.listMapper(techsupportParamsEventParamsToTerraform, true)(struct.eventParams),
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
export function techsupportParamsToHclTerraform(struct) {
|
|
191
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
192
|
+
return struct;
|
|
193
|
+
}
|
|
194
|
+
if (cdktf.isComplexElement(struct)) {
|
|
195
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
196
|
+
}
|
|
197
|
+
const attrs = {
|
|
198
|
+
case_number: {
|
|
199
|
+
value: cdktf.stringToHclTerraform(struct.caseNumber),
|
|
200
|
+
isBlock: false,
|
|
201
|
+
type: "simple",
|
|
202
|
+
storageClassType: "string",
|
|
203
|
+
},
|
|
204
|
+
description: {
|
|
205
|
+
value: cdktf.stringToHclTerraform(struct.description),
|
|
206
|
+
isBlock: false,
|
|
207
|
+
type: "simple",
|
|
208
|
+
storageClassType: "string",
|
|
209
|
+
},
|
|
210
|
+
duration: {
|
|
211
|
+
value: cdktf.stringToHclTerraform(struct.duration),
|
|
212
|
+
isBlock: false,
|
|
213
|
+
type: "simple",
|
|
214
|
+
storageClassType: "string",
|
|
215
|
+
},
|
|
216
|
+
level: {
|
|
217
|
+
value: cdktf.stringToHclTerraform(struct.level),
|
|
218
|
+
isBlock: false,
|
|
219
|
+
type: "simple",
|
|
220
|
+
storageClassType: "string",
|
|
221
|
+
},
|
|
222
|
+
name: {
|
|
223
|
+
value: cdktf.stringToHclTerraform(struct.name),
|
|
224
|
+
isBlock: false,
|
|
225
|
+
type: "simple",
|
|
226
|
+
storageClassType: "string",
|
|
227
|
+
},
|
|
228
|
+
pattern: {
|
|
229
|
+
value: cdktf.stringToHclTerraform(struct.pattern),
|
|
230
|
+
isBlock: false,
|
|
231
|
+
type: "simple",
|
|
232
|
+
storageClassType: "string",
|
|
233
|
+
},
|
|
234
|
+
skip_warnings: {
|
|
235
|
+
value: cdktf.stringToHclTerraform(struct.skipWarnings),
|
|
236
|
+
isBlock: false,
|
|
237
|
+
type: "simple",
|
|
238
|
+
storageClassType: "string",
|
|
239
|
+
},
|
|
240
|
+
slug: {
|
|
241
|
+
value: cdktf.stringToHclTerraform(struct.slug),
|
|
242
|
+
isBlock: false,
|
|
243
|
+
type: "simple",
|
|
244
|
+
storageClassType: "string",
|
|
245
|
+
},
|
|
246
|
+
start_timestamp: {
|
|
247
|
+
value: cdktf.stringToHclTerraform(struct.startTimestamp),
|
|
248
|
+
isBlock: false,
|
|
249
|
+
type: "simple",
|
|
250
|
+
storageClassType: "string",
|
|
251
|
+
},
|
|
252
|
+
tenant: {
|
|
253
|
+
value: cdktf.stringToHclTerraform(struct.tenant),
|
|
254
|
+
isBlock: false,
|
|
255
|
+
type: "simple",
|
|
256
|
+
storageClassType: "string",
|
|
257
|
+
},
|
|
258
|
+
uuid: {
|
|
259
|
+
value: cdktf.stringToHclTerraform(struct.uuid),
|
|
260
|
+
isBlock: false,
|
|
261
|
+
type: "simple",
|
|
262
|
+
storageClassType: "string",
|
|
263
|
+
},
|
|
264
|
+
event_params: {
|
|
265
|
+
value: cdktf.listMapperHcl(techsupportParamsEventParamsToHclTerraform, true)(struct.eventParams),
|
|
266
|
+
isBlock: true,
|
|
267
|
+
type: "set",
|
|
268
|
+
storageClassType: "TechsupportParamsEventParamsList",
|
|
269
|
+
},
|
|
270
|
+
};
|
|
271
|
+
// remove undefined attributes
|
|
272
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
273
|
+
}
|
|
274
|
+
export class TechsupportParamsOutputReference extends cdktf.ComplexObject {
|
|
275
|
+
isEmptyObject = false;
|
|
276
|
+
resolvableValue;
|
|
277
|
+
/**
|
|
278
|
+
* @param terraformResource The parent resource
|
|
279
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
280
|
+
* @param complexObjectIndex the index of this item in the list
|
|
281
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
282
|
+
*/
|
|
283
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
284
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
285
|
+
}
|
|
286
|
+
get internalValue() {
|
|
287
|
+
if (this.resolvableValue) {
|
|
288
|
+
return this.resolvableValue;
|
|
289
|
+
}
|
|
290
|
+
let hasAnyValues = this.isEmptyObject;
|
|
291
|
+
const internalValueResult = {};
|
|
292
|
+
if (this._caseNumber !== undefined) {
|
|
293
|
+
hasAnyValues = true;
|
|
294
|
+
internalValueResult.caseNumber = this._caseNumber;
|
|
295
|
+
}
|
|
296
|
+
if (this._description !== undefined) {
|
|
297
|
+
hasAnyValues = true;
|
|
298
|
+
internalValueResult.description = this._description;
|
|
299
|
+
}
|
|
300
|
+
if (this._duration !== undefined) {
|
|
301
|
+
hasAnyValues = true;
|
|
302
|
+
internalValueResult.duration = this._duration;
|
|
303
|
+
}
|
|
304
|
+
if (this._level !== undefined) {
|
|
305
|
+
hasAnyValues = true;
|
|
306
|
+
internalValueResult.level = this._level;
|
|
307
|
+
}
|
|
308
|
+
if (this._name !== undefined) {
|
|
309
|
+
hasAnyValues = true;
|
|
310
|
+
internalValueResult.name = this._name;
|
|
311
|
+
}
|
|
312
|
+
if (this._pattern !== undefined) {
|
|
313
|
+
hasAnyValues = true;
|
|
314
|
+
internalValueResult.pattern = this._pattern;
|
|
315
|
+
}
|
|
316
|
+
if (this._skipWarnings !== undefined) {
|
|
317
|
+
hasAnyValues = true;
|
|
318
|
+
internalValueResult.skipWarnings = this._skipWarnings;
|
|
319
|
+
}
|
|
320
|
+
if (this._slug !== undefined) {
|
|
321
|
+
hasAnyValues = true;
|
|
322
|
+
internalValueResult.slug = this._slug;
|
|
323
|
+
}
|
|
324
|
+
if (this._startTimestamp !== undefined) {
|
|
325
|
+
hasAnyValues = true;
|
|
326
|
+
internalValueResult.startTimestamp = this._startTimestamp;
|
|
327
|
+
}
|
|
328
|
+
if (this._tenant !== undefined) {
|
|
329
|
+
hasAnyValues = true;
|
|
330
|
+
internalValueResult.tenant = this._tenant;
|
|
331
|
+
}
|
|
332
|
+
if (this._uuid !== undefined) {
|
|
333
|
+
hasAnyValues = true;
|
|
334
|
+
internalValueResult.uuid = this._uuid;
|
|
335
|
+
}
|
|
336
|
+
if (this._eventParams?.internalValue !== undefined) {
|
|
337
|
+
hasAnyValues = true;
|
|
338
|
+
internalValueResult.eventParams = this._eventParams?.internalValue;
|
|
339
|
+
}
|
|
340
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
341
|
+
}
|
|
342
|
+
set internalValue(value) {
|
|
343
|
+
if (value === undefined) {
|
|
344
|
+
this.isEmptyObject = false;
|
|
345
|
+
this.resolvableValue = undefined;
|
|
346
|
+
this._caseNumber = undefined;
|
|
347
|
+
this._description = undefined;
|
|
348
|
+
this._duration = undefined;
|
|
349
|
+
this._level = undefined;
|
|
350
|
+
this._name = undefined;
|
|
351
|
+
this._pattern = undefined;
|
|
352
|
+
this._skipWarnings = undefined;
|
|
353
|
+
this._slug = undefined;
|
|
354
|
+
this._startTimestamp = undefined;
|
|
355
|
+
this._tenant = undefined;
|
|
356
|
+
this._uuid = undefined;
|
|
357
|
+
this._eventParams.internalValue = undefined;
|
|
358
|
+
}
|
|
359
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
360
|
+
this.isEmptyObject = false;
|
|
361
|
+
this.resolvableValue = value;
|
|
362
|
+
}
|
|
363
|
+
else {
|
|
364
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
365
|
+
this.resolvableValue = undefined;
|
|
366
|
+
this._caseNumber = value.caseNumber;
|
|
367
|
+
this._description = value.description;
|
|
368
|
+
this._duration = value.duration;
|
|
369
|
+
this._level = value.level;
|
|
370
|
+
this._name = value.name;
|
|
371
|
+
this._pattern = value.pattern;
|
|
372
|
+
this._skipWarnings = value.skipWarnings;
|
|
373
|
+
this._slug = value.slug;
|
|
374
|
+
this._startTimestamp = value.startTimestamp;
|
|
375
|
+
this._tenant = value.tenant;
|
|
376
|
+
this._uuid = value.uuid;
|
|
377
|
+
this._eventParams.internalValue = value.eventParams;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
// case_number - computed: true, optional: true, required: false
|
|
381
|
+
_caseNumber;
|
|
382
|
+
get caseNumber() {
|
|
383
|
+
return this.getStringAttribute('case_number');
|
|
384
|
+
}
|
|
385
|
+
set caseNumber(value) {
|
|
386
|
+
this._caseNumber = value;
|
|
387
|
+
}
|
|
388
|
+
resetCaseNumber() {
|
|
389
|
+
this._caseNumber = undefined;
|
|
390
|
+
}
|
|
391
|
+
// Temporarily expose input value. Use with caution.
|
|
392
|
+
get caseNumberInput() {
|
|
393
|
+
return this._caseNumber;
|
|
394
|
+
}
|
|
395
|
+
// description - computed: true, optional: true, required: false
|
|
396
|
+
_description;
|
|
397
|
+
get description() {
|
|
398
|
+
return this.getStringAttribute('description');
|
|
399
|
+
}
|
|
400
|
+
set description(value) {
|
|
401
|
+
this._description = value;
|
|
402
|
+
}
|
|
403
|
+
resetDescription() {
|
|
404
|
+
this._description = undefined;
|
|
405
|
+
}
|
|
406
|
+
// Temporarily expose input value. Use with caution.
|
|
407
|
+
get descriptionInput() {
|
|
408
|
+
return this._description;
|
|
409
|
+
}
|
|
410
|
+
// duration - computed: true, optional: true, required: false
|
|
411
|
+
_duration;
|
|
412
|
+
get duration() {
|
|
413
|
+
return this.getStringAttribute('duration');
|
|
414
|
+
}
|
|
415
|
+
set duration(value) {
|
|
416
|
+
this._duration = value;
|
|
417
|
+
}
|
|
418
|
+
resetDuration() {
|
|
419
|
+
this._duration = undefined;
|
|
420
|
+
}
|
|
421
|
+
// Temporarily expose input value. Use with caution.
|
|
422
|
+
get durationInput() {
|
|
423
|
+
return this._duration;
|
|
424
|
+
}
|
|
425
|
+
// level - computed: true, optional: true, required: false
|
|
426
|
+
_level;
|
|
427
|
+
get level() {
|
|
428
|
+
return this.getStringAttribute('level');
|
|
429
|
+
}
|
|
430
|
+
set level(value) {
|
|
431
|
+
this._level = value;
|
|
432
|
+
}
|
|
433
|
+
resetLevel() {
|
|
434
|
+
this._level = undefined;
|
|
435
|
+
}
|
|
436
|
+
// Temporarily expose input value. Use with caution.
|
|
437
|
+
get levelInput() {
|
|
438
|
+
return this._level;
|
|
439
|
+
}
|
|
440
|
+
// name - computed: true, optional: true, required: false
|
|
441
|
+
_name;
|
|
442
|
+
get name() {
|
|
443
|
+
return this.getStringAttribute('name');
|
|
444
|
+
}
|
|
445
|
+
set name(value) {
|
|
446
|
+
this._name = value;
|
|
447
|
+
}
|
|
448
|
+
resetName() {
|
|
449
|
+
this._name = undefined;
|
|
450
|
+
}
|
|
451
|
+
// Temporarily expose input value. Use with caution.
|
|
452
|
+
get nameInput() {
|
|
453
|
+
return this._name;
|
|
454
|
+
}
|
|
455
|
+
// pattern - computed: true, optional: true, required: false
|
|
456
|
+
_pattern;
|
|
457
|
+
get pattern() {
|
|
458
|
+
return this.getStringAttribute('pattern');
|
|
459
|
+
}
|
|
460
|
+
set pattern(value) {
|
|
461
|
+
this._pattern = value;
|
|
462
|
+
}
|
|
463
|
+
resetPattern() {
|
|
464
|
+
this._pattern = undefined;
|
|
465
|
+
}
|
|
466
|
+
// Temporarily expose input value. Use with caution.
|
|
467
|
+
get patternInput() {
|
|
468
|
+
return this._pattern;
|
|
469
|
+
}
|
|
470
|
+
// skip_warnings - computed: true, optional: true, required: false
|
|
471
|
+
_skipWarnings;
|
|
472
|
+
get skipWarnings() {
|
|
473
|
+
return this.getStringAttribute('skip_warnings');
|
|
474
|
+
}
|
|
475
|
+
set skipWarnings(value) {
|
|
476
|
+
this._skipWarnings = value;
|
|
477
|
+
}
|
|
478
|
+
resetSkipWarnings() {
|
|
479
|
+
this._skipWarnings = undefined;
|
|
480
|
+
}
|
|
481
|
+
// Temporarily expose input value. Use with caution.
|
|
482
|
+
get skipWarningsInput() {
|
|
483
|
+
return this._skipWarnings;
|
|
484
|
+
}
|
|
485
|
+
// slug - computed: true, optional: true, required: false
|
|
486
|
+
_slug;
|
|
487
|
+
get slug() {
|
|
488
|
+
return this.getStringAttribute('slug');
|
|
489
|
+
}
|
|
490
|
+
set slug(value) {
|
|
491
|
+
this._slug = value;
|
|
492
|
+
}
|
|
493
|
+
resetSlug() {
|
|
494
|
+
this._slug = undefined;
|
|
495
|
+
}
|
|
496
|
+
// Temporarily expose input value. Use with caution.
|
|
497
|
+
get slugInput() {
|
|
498
|
+
return this._slug;
|
|
499
|
+
}
|
|
500
|
+
// start_timestamp - computed: true, optional: true, required: false
|
|
501
|
+
_startTimestamp;
|
|
502
|
+
get startTimestamp() {
|
|
503
|
+
return this.getStringAttribute('start_timestamp');
|
|
504
|
+
}
|
|
505
|
+
set startTimestamp(value) {
|
|
506
|
+
this._startTimestamp = value;
|
|
507
|
+
}
|
|
508
|
+
resetStartTimestamp() {
|
|
509
|
+
this._startTimestamp = undefined;
|
|
510
|
+
}
|
|
511
|
+
// Temporarily expose input value. Use with caution.
|
|
512
|
+
get startTimestampInput() {
|
|
513
|
+
return this._startTimestamp;
|
|
514
|
+
}
|
|
515
|
+
// tenant - computed: true, optional: true, required: false
|
|
516
|
+
_tenant;
|
|
517
|
+
get tenant() {
|
|
518
|
+
return this.getStringAttribute('tenant');
|
|
519
|
+
}
|
|
520
|
+
set tenant(value) {
|
|
521
|
+
this._tenant = value;
|
|
522
|
+
}
|
|
523
|
+
resetTenant() {
|
|
524
|
+
this._tenant = undefined;
|
|
525
|
+
}
|
|
526
|
+
// Temporarily expose input value. Use with caution.
|
|
527
|
+
get tenantInput() {
|
|
528
|
+
return this._tenant;
|
|
529
|
+
}
|
|
530
|
+
// uuid - computed: true, optional: true, required: false
|
|
531
|
+
_uuid;
|
|
532
|
+
get uuid() {
|
|
533
|
+
return this.getStringAttribute('uuid');
|
|
534
|
+
}
|
|
535
|
+
set uuid(value) {
|
|
536
|
+
this._uuid = value;
|
|
537
|
+
}
|
|
538
|
+
resetUuid() {
|
|
539
|
+
this._uuid = undefined;
|
|
540
|
+
}
|
|
541
|
+
// Temporarily expose input value. Use with caution.
|
|
542
|
+
get uuidInput() {
|
|
543
|
+
return this._uuid;
|
|
544
|
+
}
|
|
545
|
+
// event_params - computed: false, optional: true, required: false
|
|
546
|
+
_eventParams = new TechsupportParamsEventParamsList(this, "event_params", true);
|
|
547
|
+
get eventParams() {
|
|
548
|
+
return this._eventParams;
|
|
549
|
+
}
|
|
550
|
+
putEventParams(value) {
|
|
551
|
+
this._eventParams.internalValue = value;
|
|
552
|
+
}
|
|
553
|
+
resetEventParams() {
|
|
554
|
+
this._eventParams.internalValue = undefined;
|
|
555
|
+
}
|
|
556
|
+
// Temporarily expose input value. Use with caution.
|
|
557
|
+
get eventParamsInput() {
|
|
558
|
+
return this._eventParams.internalValue;
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
export class TechsupportParamsList extends cdktf.ComplexList {
|
|
562
|
+
terraformResource;
|
|
563
|
+
terraformAttribute;
|
|
564
|
+
wrapsSet;
|
|
565
|
+
internalValue;
|
|
566
|
+
/**
|
|
567
|
+
* @param terraformResource The parent resource
|
|
568
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
569
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
570
|
+
*/
|
|
571
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
572
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
573
|
+
this.terraformResource = terraformResource;
|
|
574
|
+
this.terraformAttribute = terraformAttribute;
|
|
575
|
+
this.wrapsSet = wrapsSet;
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* @param index the index of the item to return
|
|
579
|
+
*/
|
|
580
|
+
get(index) {
|
|
581
|
+
return new TechsupportParamsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
export function techsupportStateLastChangedTimeToTerraform(struct) {
|
|
585
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
586
|
+
return struct;
|
|
587
|
+
}
|
|
588
|
+
if (cdktf.isComplexElement(struct)) {
|
|
589
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
590
|
+
}
|
|
591
|
+
return {
|
|
592
|
+
secs: cdktf.stringToTerraform(struct.secs),
|
|
593
|
+
usecs: cdktf.stringToTerraform(struct.usecs),
|
|
594
|
+
};
|
|
595
|
+
}
|
|
596
|
+
export function techsupportStateLastChangedTimeToHclTerraform(struct) {
|
|
597
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
598
|
+
return struct;
|
|
599
|
+
}
|
|
600
|
+
if (cdktf.isComplexElement(struct)) {
|
|
601
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
602
|
+
}
|
|
603
|
+
const attrs = {
|
|
604
|
+
secs: {
|
|
605
|
+
value: cdktf.stringToHclTerraform(struct.secs),
|
|
606
|
+
isBlock: false,
|
|
607
|
+
type: "simple",
|
|
608
|
+
storageClassType: "string",
|
|
609
|
+
},
|
|
610
|
+
usecs: {
|
|
611
|
+
value: cdktf.stringToHclTerraform(struct.usecs),
|
|
612
|
+
isBlock: false,
|
|
613
|
+
type: "simple",
|
|
614
|
+
storageClassType: "string",
|
|
615
|
+
},
|
|
616
|
+
};
|
|
617
|
+
// remove undefined attributes
|
|
618
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
619
|
+
}
|
|
620
|
+
export class TechsupportStateLastChangedTimeOutputReference extends cdktf.ComplexObject {
|
|
621
|
+
isEmptyObject = false;
|
|
622
|
+
resolvableValue;
|
|
623
|
+
/**
|
|
624
|
+
* @param terraformResource The parent resource
|
|
625
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
626
|
+
* @param complexObjectIndex the index of this item in the list
|
|
627
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
628
|
+
*/
|
|
629
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
630
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
631
|
+
}
|
|
632
|
+
get internalValue() {
|
|
633
|
+
if (this.resolvableValue) {
|
|
634
|
+
return this.resolvableValue;
|
|
635
|
+
}
|
|
636
|
+
let hasAnyValues = this.isEmptyObject;
|
|
637
|
+
const internalValueResult = {};
|
|
638
|
+
if (this._secs !== undefined) {
|
|
639
|
+
hasAnyValues = true;
|
|
640
|
+
internalValueResult.secs = this._secs;
|
|
641
|
+
}
|
|
642
|
+
if (this._usecs !== undefined) {
|
|
643
|
+
hasAnyValues = true;
|
|
644
|
+
internalValueResult.usecs = this._usecs;
|
|
645
|
+
}
|
|
646
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
647
|
+
}
|
|
648
|
+
set internalValue(value) {
|
|
649
|
+
if (value === undefined) {
|
|
650
|
+
this.isEmptyObject = false;
|
|
651
|
+
this.resolvableValue = undefined;
|
|
652
|
+
this._secs = undefined;
|
|
653
|
+
this._usecs = undefined;
|
|
654
|
+
}
|
|
655
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
656
|
+
this.isEmptyObject = false;
|
|
657
|
+
this.resolvableValue = value;
|
|
658
|
+
}
|
|
659
|
+
else {
|
|
660
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
661
|
+
this.resolvableValue = undefined;
|
|
662
|
+
this._secs = value.secs;
|
|
663
|
+
this._usecs = value.usecs;
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
// secs - computed: false, optional: false, required: true
|
|
667
|
+
_secs;
|
|
668
|
+
get secs() {
|
|
669
|
+
return this.getStringAttribute('secs');
|
|
670
|
+
}
|
|
671
|
+
set secs(value) {
|
|
672
|
+
this._secs = value;
|
|
673
|
+
}
|
|
674
|
+
// Temporarily expose input value. Use with caution.
|
|
675
|
+
get secsInput() {
|
|
676
|
+
return this._secs;
|
|
677
|
+
}
|
|
678
|
+
// usecs - computed: false, optional: false, required: true
|
|
679
|
+
_usecs;
|
|
680
|
+
get usecs() {
|
|
681
|
+
return this.getStringAttribute('usecs');
|
|
682
|
+
}
|
|
683
|
+
set usecs(value) {
|
|
684
|
+
this._usecs = value;
|
|
685
|
+
}
|
|
686
|
+
// Temporarily expose input value. Use with caution.
|
|
687
|
+
get usecsInput() {
|
|
688
|
+
return this._usecs;
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
export class TechsupportStateLastChangedTimeList extends cdktf.ComplexList {
|
|
692
|
+
terraformResource;
|
|
693
|
+
terraformAttribute;
|
|
694
|
+
wrapsSet;
|
|
695
|
+
internalValue;
|
|
696
|
+
/**
|
|
697
|
+
* @param terraformResource The parent resource
|
|
698
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
699
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
700
|
+
*/
|
|
701
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
702
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
703
|
+
this.terraformResource = terraformResource;
|
|
704
|
+
this.terraformAttribute = terraformAttribute;
|
|
705
|
+
this.wrapsSet = wrapsSet;
|
|
706
|
+
}
|
|
707
|
+
/**
|
|
708
|
+
* @param index the index of the item to return
|
|
709
|
+
*/
|
|
710
|
+
get(index) {
|
|
711
|
+
return new TechsupportStateLastChangedTimeOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
export function techsupportStateToTerraform(struct) {
|
|
715
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
716
|
+
return struct;
|
|
717
|
+
}
|
|
718
|
+
if (cdktf.isComplexElement(struct)) {
|
|
719
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
720
|
+
}
|
|
721
|
+
return {
|
|
722
|
+
reason: cdktf.stringToTerraform(struct.reason),
|
|
723
|
+
state: cdktf.stringToTerraform(struct.state),
|
|
724
|
+
last_changed_time: cdktf.listMapper(techsupportStateLastChangedTimeToTerraform, true)(struct.lastChangedTime),
|
|
725
|
+
};
|
|
726
|
+
}
|
|
727
|
+
export function techsupportStateToHclTerraform(struct) {
|
|
728
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
729
|
+
return struct;
|
|
730
|
+
}
|
|
731
|
+
if (cdktf.isComplexElement(struct)) {
|
|
732
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
733
|
+
}
|
|
734
|
+
const attrs = {
|
|
735
|
+
reason: {
|
|
736
|
+
value: cdktf.stringToHclTerraform(struct.reason),
|
|
737
|
+
isBlock: false,
|
|
738
|
+
type: "simple",
|
|
739
|
+
storageClassType: "string",
|
|
740
|
+
},
|
|
741
|
+
state: {
|
|
742
|
+
value: cdktf.stringToHclTerraform(struct.state),
|
|
743
|
+
isBlock: false,
|
|
744
|
+
type: "simple",
|
|
745
|
+
storageClassType: "string",
|
|
746
|
+
},
|
|
747
|
+
last_changed_time: {
|
|
748
|
+
value: cdktf.listMapperHcl(techsupportStateLastChangedTimeToHclTerraform, true)(struct.lastChangedTime),
|
|
749
|
+
isBlock: true,
|
|
750
|
+
type: "set",
|
|
751
|
+
storageClassType: "TechsupportStateLastChangedTimeList",
|
|
752
|
+
},
|
|
753
|
+
};
|
|
754
|
+
// remove undefined attributes
|
|
755
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
756
|
+
}
|
|
757
|
+
export class TechsupportStateOutputReference extends cdktf.ComplexObject {
|
|
758
|
+
isEmptyObject = false;
|
|
759
|
+
resolvableValue;
|
|
760
|
+
/**
|
|
761
|
+
* @param terraformResource The parent resource
|
|
762
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
763
|
+
* @param complexObjectIndex the index of this item in the list
|
|
764
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
765
|
+
*/
|
|
766
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
767
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
768
|
+
}
|
|
769
|
+
get internalValue() {
|
|
770
|
+
if (this.resolvableValue) {
|
|
771
|
+
return this.resolvableValue;
|
|
772
|
+
}
|
|
773
|
+
let hasAnyValues = this.isEmptyObject;
|
|
774
|
+
const internalValueResult = {};
|
|
775
|
+
if (this._reason !== undefined) {
|
|
776
|
+
hasAnyValues = true;
|
|
777
|
+
internalValueResult.reason = this._reason;
|
|
778
|
+
}
|
|
779
|
+
if (this._state !== undefined) {
|
|
780
|
+
hasAnyValues = true;
|
|
781
|
+
internalValueResult.state = this._state;
|
|
782
|
+
}
|
|
783
|
+
if (this._lastChangedTime?.internalValue !== undefined) {
|
|
784
|
+
hasAnyValues = true;
|
|
785
|
+
internalValueResult.lastChangedTime = this._lastChangedTime?.internalValue;
|
|
786
|
+
}
|
|
787
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
788
|
+
}
|
|
789
|
+
set internalValue(value) {
|
|
790
|
+
if (value === undefined) {
|
|
791
|
+
this.isEmptyObject = false;
|
|
792
|
+
this.resolvableValue = undefined;
|
|
793
|
+
this._reason = undefined;
|
|
794
|
+
this._state = undefined;
|
|
795
|
+
this._lastChangedTime.internalValue = undefined;
|
|
796
|
+
}
|
|
797
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
798
|
+
this.isEmptyObject = false;
|
|
799
|
+
this.resolvableValue = value;
|
|
800
|
+
}
|
|
801
|
+
else {
|
|
802
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
803
|
+
this.resolvableValue = undefined;
|
|
804
|
+
this._reason = value.reason;
|
|
805
|
+
this._state = value.state;
|
|
806
|
+
this._lastChangedTime.internalValue = value.lastChangedTime;
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
// reason - computed: true, optional: true, required: false
|
|
810
|
+
_reason;
|
|
811
|
+
get reason() {
|
|
812
|
+
return this.getStringAttribute('reason');
|
|
813
|
+
}
|
|
814
|
+
set reason(value) {
|
|
815
|
+
this._reason = value;
|
|
816
|
+
}
|
|
817
|
+
resetReason() {
|
|
818
|
+
this._reason = undefined;
|
|
819
|
+
}
|
|
820
|
+
// Temporarily expose input value. Use with caution.
|
|
821
|
+
get reasonInput() {
|
|
822
|
+
return this._reason;
|
|
823
|
+
}
|
|
824
|
+
// state - computed: true, optional: true, required: false
|
|
825
|
+
_state;
|
|
826
|
+
get state() {
|
|
827
|
+
return this.getStringAttribute('state');
|
|
828
|
+
}
|
|
829
|
+
set state(value) {
|
|
830
|
+
this._state = value;
|
|
831
|
+
}
|
|
832
|
+
resetState() {
|
|
833
|
+
this._state = undefined;
|
|
834
|
+
}
|
|
835
|
+
// Temporarily expose input value. Use with caution.
|
|
836
|
+
get stateInput() {
|
|
837
|
+
return this._state;
|
|
838
|
+
}
|
|
839
|
+
// last_changed_time - computed: false, optional: true, required: false
|
|
840
|
+
_lastChangedTime = new TechsupportStateLastChangedTimeList(this, "last_changed_time", true);
|
|
841
|
+
get lastChangedTime() {
|
|
842
|
+
return this._lastChangedTime;
|
|
843
|
+
}
|
|
844
|
+
putLastChangedTime(value) {
|
|
845
|
+
this._lastChangedTime.internalValue = value;
|
|
846
|
+
}
|
|
847
|
+
resetLastChangedTime() {
|
|
848
|
+
this._lastChangedTime.internalValue = undefined;
|
|
849
|
+
}
|
|
850
|
+
// Temporarily expose input value. Use with caution.
|
|
851
|
+
get lastChangedTimeInput() {
|
|
852
|
+
return this._lastChangedTime.internalValue;
|
|
853
|
+
}
|
|
854
|
+
}
|
|
855
|
+
export class TechsupportStateList extends cdktf.ComplexList {
|
|
856
|
+
terraformResource;
|
|
857
|
+
terraformAttribute;
|
|
858
|
+
wrapsSet;
|
|
859
|
+
internalValue;
|
|
860
|
+
/**
|
|
861
|
+
* @param terraformResource The parent resource
|
|
862
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
863
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
864
|
+
*/
|
|
865
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
866
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
867
|
+
this.terraformResource = terraformResource;
|
|
868
|
+
this.terraformAttribute = terraformAttribute;
|
|
869
|
+
this.wrapsSet = wrapsSet;
|
|
870
|
+
}
|
|
871
|
+
/**
|
|
872
|
+
* @param index the index of the item to return
|
|
873
|
+
*/
|
|
874
|
+
get(index) {
|
|
875
|
+
return new TechsupportStateOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
export function techsupportTasksSubEventsIpToTerraform(struct) {
|
|
879
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
880
|
+
return struct;
|
|
881
|
+
}
|
|
882
|
+
if (cdktf.isComplexElement(struct)) {
|
|
883
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
884
|
+
}
|
|
885
|
+
return {
|
|
886
|
+
addr: cdktf.stringToTerraform(struct.addr),
|
|
887
|
+
type: cdktf.stringToTerraform(struct.type),
|
|
888
|
+
};
|
|
889
|
+
}
|
|
890
|
+
export function techsupportTasksSubEventsIpToHclTerraform(struct) {
|
|
891
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
892
|
+
return struct;
|
|
893
|
+
}
|
|
894
|
+
if (cdktf.isComplexElement(struct)) {
|
|
895
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
896
|
+
}
|
|
897
|
+
const attrs = {
|
|
898
|
+
addr: {
|
|
899
|
+
value: cdktf.stringToHclTerraform(struct.addr),
|
|
900
|
+
isBlock: false,
|
|
901
|
+
type: "simple",
|
|
902
|
+
storageClassType: "string",
|
|
903
|
+
},
|
|
904
|
+
type: {
|
|
905
|
+
value: cdktf.stringToHclTerraform(struct.type),
|
|
906
|
+
isBlock: false,
|
|
907
|
+
type: "simple",
|
|
908
|
+
storageClassType: "string",
|
|
909
|
+
},
|
|
910
|
+
};
|
|
911
|
+
// remove undefined attributes
|
|
912
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
913
|
+
}
|
|
914
|
+
export class TechsupportTasksSubEventsIpOutputReference extends cdktf.ComplexObject {
|
|
915
|
+
isEmptyObject = false;
|
|
916
|
+
resolvableValue;
|
|
917
|
+
/**
|
|
918
|
+
* @param terraformResource The parent resource
|
|
919
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
920
|
+
* @param complexObjectIndex the index of this item in the list
|
|
921
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
922
|
+
*/
|
|
923
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
924
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
925
|
+
}
|
|
926
|
+
get internalValue() {
|
|
927
|
+
if (this.resolvableValue) {
|
|
928
|
+
return this.resolvableValue;
|
|
929
|
+
}
|
|
930
|
+
let hasAnyValues = this.isEmptyObject;
|
|
931
|
+
const internalValueResult = {};
|
|
932
|
+
if (this._addr !== undefined) {
|
|
933
|
+
hasAnyValues = true;
|
|
934
|
+
internalValueResult.addr = this._addr;
|
|
935
|
+
}
|
|
936
|
+
if (this._type !== undefined) {
|
|
937
|
+
hasAnyValues = true;
|
|
938
|
+
internalValueResult.type = this._type;
|
|
939
|
+
}
|
|
940
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
941
|
+
}
|
|
942
|
+
set internalValue(value) {
|
|
943
|
+
if (value === undefined) {
|
|
944
|
+
this.isEmptyObject = false;
|
|
945
|
+
this.resolvableValue = undefined;
|
|
946
|
+
this._addr = undefined;
|
|
947
|
+
this._type = undefined;
|
|
948
|
+
}
|
|
949
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
950
|
+
this.isEmptyObject = false;
|
|
951
|
+
this.resolvableValue = value;
|
|
952
|
+
}
|
|
953
|
+
else {
|
|
954
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
955
|
+
this.resolvableValue = undefined;
|
|
956
|
+
this._addr = value.addr;
|
|
957
|
+
this._type = value.type;
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
// addr - computed: false, optional: false, required: true
|
|
961
|
+
_addr;
|
|
962
|
+
get addr() {
|
|
963
|
+
return this.getStringAttribute('addr');
|
|
964
|
+
}
|
|
965
|
+
set addr(value) {
|
|
966
|
+
this._addr = value;
|
|
967
|
+
}
|
|
968
|
+
// Temporarily expose input value. Use with caution.
|
|
969
|
+
get addrInput() {
|
|
970
|
+
return this._addr;
|
|
971
|
+
}
|
|
972
|
+
// type - computed: false, optional: false, required: true
|
|
973
|
+
_type;
|
|
974
|
+
get type() {
|
|
975
|
+
return this.getStringAttribute('type');
|
|
976
|
+
}
|
|
977
|
+
set type(value) {
|
|
978
|
+
this._type = value;
|
|
979
|
+
}
|
|
980
|
+
// Temporarily expose input value. Use with caution.
|
|
981
|
+
get typeInput() {
|
|
982
|
+
return this._type;
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
export class TechsupportTasksSubEventsIpList extends cdktf.ComplexList {
|
|
986
|
+
terraformResource;
|
|
987
|
+
terraformAttribute;
|
|
988
|
+
wrapsSet;
|
|
989
|
+
internalValue;
|
|
990
|
+
/**
|
|
991
|
+
* @param terraformResource The parent resource
|
|
992
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
993
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
994
|
+
*/
|
|
995
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
996
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
997
|
+
this.terraformResource = terraformResource;
|
|
998
|
+
this.terraformAttribute = terraformAttribute;
|
|
999
|
+
this.wrapsSet = wrapsSet;
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* @param index the index of the item to return
|
|
1003
|
+
*/
|
|
1004
|
+
get(index) {
|
|
1005
|
+
return new TechsupportTasksSubEventsIpOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
export function techsupportTasksSubEventsToTerraform(struct) {
|
|
1009
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
1010
|
+
return struct;
|
|
1011
|
+
}
|
|
1012
|
+
if (cdktf.isComplexElement(struct)) {
|
|
1013
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
1014
|
+
}
|
|
1015
|
+
return {
|
|
1016
|
+
duration: cdktf.stringToTerraform(struct.duration),
|
|
1017
|
+
end_time: cdktf.stringToTerraform(struct.endTime),
|
|
1018
|
+
message: cdktf.stringToTerraform(struct.message),
|
|
1019
|
+
start_time: cdktf.stringToTerraform(struct.startTime),
|
|
1020
|
+
status: cdktf.stringToTerraform(struct.status),
|
|
1021
|
+
sub_tasks: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.subTasks),
|
|
1022
|
+
ip: cdktf.listMapper(techsupportTasksSubEventsIpToTerraform, true)(struct.ip),
|
|
1023
|
+
};
|
|
1024
|
+
}
|
|
1025
|
+
export function techsupportTasksSubEventsToHclTerraform(struct) {
|
|
1026
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
1027
|
+
return struct;
|
|
1028
|
+
}
|
|
1029
|
+
if (cdktf.isComplexElement(struct)) {
|
|
1030
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
1031
|
+
}
|
|
1032
|
+
const attrs = {
|
|
1033
|
+
duration: {
|
|
1034
|
+
value: cdktf.stringToHclTerraform(struct.duration),
|
|
1035
|
+
isBlock: false,
|
|
1036
|
+
type: "simple",
|
|
1037
|
+
storageClassType: "string",
|
|
1038
|
+
},
|
|
1039
|
+
end_time: {
|
|
1040
|
+
value: cdktf.stringToHclTerraform(struct.endTime),
|
|
1041
|
+
isBlock: false,
|
|
1042
|
+
type: "simple",
|
|
1043
|
+
storageClassType: "string",
|
|
1044
|
+
},
|
|
1045
|
+
message: {
|
|
1046
|
+
value: cdktf.stringToHclTerraform(struct.message),
|
|
1047
|
+
isBlock: false,
|
|
1048
|
+
type: "simple",
|
|
1049
|
+
storageClassType: "string",
|
|
1050
|
+
},
|
|
1051
|
+
start_time: {
|
|
1052
|
+
value: cdktf.stringToHclTerraform(struct.startTime),
|
|
1053
|
+
isBlock: false,
|
|
1054
|
+
type: "simple",
|
|
1055
|
+
storageClassType: "string",
|
|
1056
|
+
},
|
|
1057
|
+
status: {
|
|
1058
|
+
value: cdktf.stringToHclTerraform(struct.status),
|
|
1059
|
+
isBlock: false,
|
|
1060
|
+
type: "simple",
|
|
1061
|
+
storageClassType: "string",
|
|
1062
|
+
},
|
|
1063
|
+
sub_tasks: {
|
|
1064
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.subTasks),
|
|
1065
|
+
isBlock: false,
|
|
1066
|
+
type: "list",
|
|
1067
|
+
storageClassType: "stringList",
|
|
1068
|
+
},
|
|
1069
|
+
ip: {
|
|
1070
|
+
value: cdktf.listMapperHcl(techsupportTasksSubEventsIpToHclTerraform, true)(struct.ip),
|
|
1071
|
+
isBlock: true,
|
|
1072
|
+
type: "set",
|
|
1073
|
+
storageClassType: "TechsupportTasksSubEventsIpList",
|
|
1074
|
+
},
|
|
1075
|
+
};
|
|
1076
|
+
// remove undefined attributes
|
|
1077
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
1078
|
+
}
|
|
1079
|
+
export class TechsupportTasksSubEventsOutputReference extends cdktf.ComplexObject {
|
|
1080
|
+
isEmptyObject = false;
|
|
1081
|
+
resolvableValue;
|
|
1082
|
+
/**
|
|
1083
|
+
* @param terraformResource The parent resource
|
|
1084
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1085
|
+
* @param complexObjectIndex the index of this item in the list
|
|
1086
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1087
|
+
*/
|
|
1088
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
1089
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
1090
|
+
}
|
|
1091
|
+
get internalValue() {
|
|
1092
|
+
if (this.resolvableValue) {
|
|
1093
|
+
return this.resolvableValue;
|
|
1094
|
+
}
|
|
1095
|
+
let hasAnyValues = this.isEmptyObject;
|
|
1096
|
+
const internalValueResult = {};
|
|
1097
|
+
if (this._duration !== undefined) {
|
|
1098
|
+
hasAnyValues = true;
|
|
1099
|
+
internalValueResult.duration = this._duration;
|
|
1100
|
+
}
|
|
1101
|
+
if (this._endTime !== undefined) {
|
|
1102
|
+
hasAnyValues = true;
|
|
1103
|
+
internalValueResult.endTime = this._endTime;
|
|
1104
|
+
}
|
|
1105
|
+
if (this._message !== undefined) {
|
|
1106
|
+
hasAnyValues = true;
|
|
1107
|
+
internalValueResult.message = this._message;
|
|
1108
|
+
}
|
|
1109
|
+
if (this._startTime !== undefined) {
|
|
1110
|
+
hasAnyValues = true;
|
|
1111
|
+
internalValueResult.startTime = this._startTime;
|
|
1112
|
+
}
|
|
1113
|
+
if (this._status !== undefined) {
|
|
1114
|
+
hasAnyValues = true;
|
|
1115
|
+
internalValueResult.status = this._status;
|
|
1116
|
+
}
|
|
1117
|
+
if (this._subTasks !== undefined) {
|
|
1118
|
+
hasAnyValues = true;
|
|
1119
|
+
internalValueResult.subTasks = this._subTasks;
|
|
1120
|
+
}
|
|
1121
|
+
if (this._ip?.internalValue !== undefined) {
|
|
1122
|
+
hasAnyValues = true;
|
|
1123
|
+
internalValueResult.ip = this._ip?.internalValue;
|
|
1124
|
+
}
|
|
1125
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
1126
|
+
}
|
|
1127
|
+
set internalValue(value) {
|
|
1128
|
+
if (value === undefined) {
|
|
1129
|
+
this.isEmptyObject = false;
|
|
1130
|
+
this.resolvableValue = undefined;
|
|
1131
|
+
this._duration = undefined;
|
|
1132
|
+
this._endTime = undefined;
|
|
1133
|
+
this._message = undefined;
|
|
1134
|
+
this._startTime = undefined;
|
|
1135
|
+
this._status = undefined;
|
|
1136
|
+
this._subTasks = undefined;
|
|
1137
|
+
this._ip.internalValue = undefined;
|
|
1138
|
+
}
|
|
1139
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
1140
|
+
this.isEmptyObject = false;
|
|
1141
|
+
this.resolvableValue = value;
|
|
1142
|
+
}
|
|
1143
|
+
else {
|
|
1144
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
1145
|
+
this.resolvableValue = undefined;
|
|
1146
|
+
this._duration = value.duration;
|
|
1147
|
+
this._endTime = value.endTime;
|
|
1148
|
+
this._message = value.message;
|
|
1149
|
+
this._startTime = value.startTime;
|
|
1150
|
+
this._status = value.status;
|
|
1151
|
+
this._subTasks = value.subTasks;
|
|
1152
|
+
this._ip.internalValue = value.ip;
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
// duration - computed: true, optional: true, required: false
|
|
1156
|
+
_duration;
|
|
1157
|
+
get duration() {
|
|
1158
|
+
return this.getStringAttribute('duration');
|
|
1159
|
+
}
|
|
1160
|
+
set duration(value) {
|
|
1161
|
+
this._duration = value;
|
|
1162
|
+
}
|
|
1163
|
+
resetDuration() {
|
|
1164
|
+
this._duration = undefined;
|
|
1165
|
+
}
|
|
1166
|
+
// Temporarily expose input value. Use with caution.
|
|
1167
|
+
get durationInput() {
|
|
1168
|
+
return this._duration;
|
|
1169
|
+
}
|
|
1170
|
+
// end_time - computed: true, optional: true, required: false
|
|
1171
|
+
_endTime;
|
|
1172
|
+
get endTime() {
|
|
1173
|
+
return this.getStringAttribute('end_time');
|
|
1174
|
+
}
|
|
1175
|
+
set endTime(value) {
|
|
1176
|
+
this._endTime = value;
|
|
1177
|
+
}
|
|
1178
|
+
resetEndTime() {
|
|
1179
|
+
this._endTime = undefined;
|
|
1180
|
+
}
|
|
1181
|
+
// Temporarily expose input value. Use with caution.
|
|
1182
|
+
get endTimeInput() {
|
|
1183
|
+
return this._endTime;
|
|
1184
|
+
}
|
|
1185
|
+
// message - computed: true, optional: true, required: false
|
|
1186
|
+
_message;
|
|
1187
|
+
get message() {
|
|
1188
|
+
return this.getStringAttribute('message');
|
|
1189
|
+
}
|
|
1190
|
+
set message(value) {
|
|
1191
|
+
this._message = value;
|
|
1192
|
+
}
|
|
1193
|
+
resetMessage() {
|
|
1194
|
+
this._message = undefined;
|
|
1195
|
+
}
|
|
1196
|
+
// Temporarily expose input value. Use with caution.
|
|
1197
|
+
get messageInput() {
|
|
1198
|
+
return this._message;
|
|
1199
|
+
}
|
|
1200
|
+
// start_time - computed: true, optional: true, required: false
|
|
1201
|
+
_startTime;
|
|
1202
|
+
get startTime() {
|
|
1203
|
+
return this.getStringAttribute('start_time');
|
|
1204
|
+
}
|
|
1205
|
+
set startTime(value) {
|
|
1206
|
+
this._startTime = value;
|
|
1207
|
+
}
|
|
1208
|
+
resetStartTime() {
|
|
1209
|
+
this._startTime = undefined;
|
|
1210
|
+
}
|
|
1211
|
+
// Temporarily expose input value. Use with caution.
|
|
1212
|
+
get startTimeInput() {
|
|
1213
|
+
return this._startTime;
|
|
1214
|
+
}
|
|
1215
|
+
// status - computed: false, optional: true, required: false
|
|
1216
|
+
_status;
|
|
1217
|
+
get status() {
|
|
1218
|
+
return this.getStringAttribute('status');
|
|
1219
|
+
}
|
|
1220
|
+
set status(value) {
|
|
1221
|
+
this._status = value;
|
|
1222
|
+
}
|
|
1223
|
+
resetStatus() {
|
|
1224
|
+
this._status = undefined;
|
|
1225
|
+
}
|
|
1226
|
+
// Temporarily expose input value. Use with caution.
|
|
1227
|
+
get statusInput() {
|
|
1228
|
+
return this._status;
|
|
1229
|
+
}
|
|
1230
|
+
// sub_tasks - computed: false, optional: true, required: false
|
|
1231
|
+
_subTasks;
|
|
1232
|
+
get subTasks() {
|
|
1233
|
+
return this.getListAttribute('sub_tasks');
|
|
1234
|
+
}
|
|
1235
|
+
set subTasks(value) {
|
|
1236
|
+
this._subTasks = value;
|
|
1237
|
+
}
|
|
1238
|
+
resetSubTasks() {
|
|
1239
|
+
this._subTasks = undefined;
|
|
1240
|
+
}
|
|
1241
|
+
// Temporarily expose input value. Use with caution.
|
|
1242
|
+
get subTasksInput() {
|
|
1243
|
+
return this._subTasks;
|
|
1244
|
+
}
|
|
1245
|
+
// ip - computed: false, optional: true, required: false
|
|
1246
|
+
_ip = new TechsupportTasksSubEventsIpList(this, "ip", true);
|
|
1247
|
+
get ip() {
|
|
1248
|
+
return this._ip;
|
|
1249
|
+
}
|
|
1250
|
+
putIp(value) {
|
|
1251
|
+
this._ip.internalValue = value;
|
|
1252
|
+
}
|
|
1253
|
+
resetIp() {
|
|
1254
|
+
this._ip.internalValue = undefined;
|
|
1255
|
+
}
|
|
1256
|
+
// Temporarily expose input value. Use with caution.
|
|
1257
|
+
get ipInput() {
|
|
1258
|
+
return this._ip.internalValue;
|
|
1259
|
+
}
|
|
1260
|
+
}
|
|
1261
|
+
export class TechsupportTasksSubEventsList extends cdktf.ComplexList {
|
|
1262
|
+
terraformResource;
|
|
1263
|
+
terraformAttribute;
|
|
1264
|
+
wrapsSet;
|
|
1265
|
+
internalValue;
|
|
1266
|
+
/**
|
|
1267
|
+
* @param terraformResource The parent resource
|
|
1268
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1269
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1270
|
+
*/
|
|
1271
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
1272
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
1273
|
+
this.terraformResource = terraformResource;
|
|
1274
|
+
this.terraformAttribute = terraformAttribute;
|
|
1275
|
+
this.wrapsSet = wrapsSet;
|
|
1276
|
+
}
|
|
1277
|
+
/**
|
|
1278
|
+
* @param index the index of the item to return
|
|
1279
|
+
*/
|
|
1280
|
+
get(index) {
|
|
1281
|
+
return new TechsupportTasksSubEventsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
export function techsupportTasksToTerraform(struct) {
|
|
1285
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
1286
|
+
return struct;
|
|
1287
|
+
}
|
|
1288
|
+
if (cdktf.isComplexElement(struct)) {
|
|
1289
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
1290
|
+
}
|
|
1291
|
+
return {
|
|
1292
|
+
description: cdktf.stringToTerraform(struct.description),
|
|
1293
|
+
details: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.details),
|
|
1294
|
+
duration: cdktf.stringToTerraform(struct.duration),
|
|
1295
|
+
end_time: cdktf.stringToTerraform(struct.endTime),
|
|
1296
|
+
start_time: cdktf.stringToTerraform(struct.startTime),
|
|
1297
|
+
status: cdktf.stringToTerraform(struct.status),
|
|
1298
|
+
task_name: cdktf.stringToTerraform(struct.taskName),
|
|
1299
|
+
sub_events: cdktf.listMapper(techsupportTasksSubEventsToTerraform, true)(struct.subEvents),
|
|
1300
|
+
};
|
|
1301
|
+
}
|
|
1302
|
+
export function techsupportTasksToHclTerraform(struct) {
|
|
1303
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
1304
|
+
return struct;
|
|
1305
|
+
}
|
|
1306
|
+
if (cdktf.isComplexElement(struct)) {
|
|
1307
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
1308
|
+
}
|
|
1309
|
+
const attrs = {
|
|
1310
|
+
description: {
|
|
1311
|
+
value: cdktf.stringToHclTerraform(struct.description),
|
|
1312
|
+
isBlock: false,
|
|
1313
|
+
type: "simple",
|
|
1314
|
+
storageClassType: "string",
|
|
1315
|
+
},
|
|
1316
|
+
details: {
|
|
1317
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.details),
|
|
1318
|
+
isBlock: false,
|
|
1319
|
+
type: "list",
|
|
1320
|
+
storageClassType: "stringList",
|
|
1321
|
+
},
|
|
1322
|
+
duration: {
|
|
1323
|
+
value: cdktf.stringToHclTerraform(struct.duration),
|
|
1324
|
+
isBlock: false,
|
|
1325
|
+
type: "simple",
|
|
1326
|
+
storageClassType: "string",
|
|
1327
|
+
},
|
|
1328
|
+
end_time: {
|
|
1329
|
+
value: cdktf.stringToHclTerraform(struct.endTime),
|
|
1330
|
+
isBlock: false,
|
|
1331
|
+
type: "simple",
|
|
1332
|
+
storageClassType: "string",
|
|
1333
|
+
},
|
|
1334
|
+
start_time: {
|
|
1335
|
+
value: cdktf.stringToHclTerraform(struct.startTime),
|
|
1336
|
+
isBlock: false,
|
|
1337
|
+
type: "simple",
|
|
1338
|
+
storageClassType: "string",
|
|
1339
|
+
},
|
|
1340
|
+
status: {
|
|
1341
|
+
value: cdktf.stringToHclTerraform(struct.status),
|
|
1342
|
+
isBlock: false,
|
|
1343
|
+
type: "simple",
|
|
1344
|
+
storageClassType: "string",
|
|
1345
|
+
},
|
|
1346
|
+
task_name: {
|
|
1347
|
+
value: cdktf.stringToHclTerraform(struct.taskName),
|
|
1348
|
+
isBlock: false,
|
|
1349
|
+
type: "simple",
|
|
1350
|
+
storageClassType: "string",
|
|
1351
|
+
},
|
|
1352
|
+
sub_events: {
|
|
1353
|
+
value: cdktf.listMapperHcl(techsupportTasksSubEventsToHclTerraform, true)(struct.subEvents),
|
|
1354
|
+
isBlock: true,
|
|
1355
|
+
type: "list",
|
|
1356
|
+
storageClassType: "TechsupportTasksSubEventsList",
|
|
1357
|
+
},
|
|
1358
|
+
};
|
|
1359
|
+
// remove undefined attributes
|
|
1360
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
1361
|
+
}
|
|
1362
|
+
export class TechsupportTasksOutputReference extends cdktf.ComplexObject {
|
|
1363
|
+
isEmptyObject = false;
|
|
1364
|
+
resolvableValue;
|
|
1365
|
+
/**
|
|
1366
|
+
* @param terraformResource The parent resource
|
|
1367
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1368
|
+
* @param complexObjectIndex the index of this item in the list
|
|
1369
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1370
|
+
*/
|
|
1371
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
1372
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
1373
|
+
}
|
|
1374
|
+
get internalValue() {
|
|
1375
|
+
if (this.resolvableValue) {
|
|
1376
|
+
return this.resolvableValue;
|
|
1377
|
+
}
|
|
1378
|
+
let hasAnyValues = this.isEmptyObject;
|
|
1379
|
+
const internalValueResult = {};
|
|
1380
|
+
if (this._description !== undefined) {
|
|
1381
|
+
hasAnyValues = true;
|
|
1382
|
+
internalValueResult.description = this._description;
|
|
1383
|
+
}
|
|
1384
|
+
if (this._details !== undefined) {
|
|
1385
|
+
hasAnyValues = true;
|
|
1386
|
+
internalValueResult.details = this._details;
|
|
1387
|
+
}
|
|
1388
|
+
if (this._duration !== undefined) {
|
|
1389
|
+
hasAnyValues = true;
|
|
1390
|
+
internalValueResult.duration = this._duration;
|
|
1391
|
+
}
|
|
1392
|
+
if (this._endTime !== undefined) {
|
|
1393
|
+
hasAnyValues = true;
|
|
1394
|
+
internalValueResult.endTime = this._endTime;
|
|
1395
|
+
}
|
|
1396
|
+
if (this._startTime !== undefined) {
|
|
1397
|
+
hasAnyValues = true;
|
|
1398
|
+
internalValueResult.startTime = this._startTime;
|
|
1399
|
+
}
|
|
1400
|
+
if (this._status !== undefined) {
|
|
1401
|
+
hasAnyValues = true;
|
|
1402
|
+
internalValueResult.status = this._status;
|
|
1403
|
+
}
|
|
1404
|
+
if (this._taskName !== undefined) {
|
|
1405
|
+
hasAnyValues = true;
|
|
1406
|
+
internalValueResult.taskName = this._taskName;
|
|
1407
|
+
}
|
|
1408
|
+
if (this._subEvents?.internalValue !== undefined) {
|
|
1409
|
+
hasAnyValues = true;
|
|
1410
|
+
internalValueResult.subEvents = this._subEvents?.internalValue;
|
|
1411
|
+
}
|
|
1412
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
1413
|
+
}
|
|
1414
|
+
set internalValue(value) {
|
|
1415
|
+
if (value === undefined) {
|
|
1416
|
+
this.isEmptyObject = false;
|
|
1417
|
+
this.resolvableValue = undefined;
|
|
1418
|
+
this._description = undefined;
|
|
1419
|
+
this._details = undefined;
|
|
1420
|
+
this._duration = undefined;
|
|
1421
|
+
this._endTime = undefined;
|
|
1422
|
+
this._startTime = undefined;
|
|
1423
|
+
this._status = undefined;
|
|
1424
|
+
this._taskName = undefined;
|
|
1425
|
+
this._subEvents.internalValue = undefined;
|
|
1426
|
+
}
|
|
1427
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
1428
|
+
this.isEmptyObject = false;
|
|
1429
|
+
this.resolvableValue = value;
|
|
1430
|
+
}
|
|
1431
|
+
else {
|
|
1432
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
1433
|
+
this.resolvableValue = undefined;
|
|
1434
|
+
this._description = value.description;
|
|
1435
|
+
this._details = value.details;
|
|
1436
|
+
this._duration = value.duration;
|
|
1437
|
+
this._endTime = value.endTime;
|
|
1438
|
+
this._startTime = value.startTime;
|
|
1439
|
+
this._status = value.status;
|
|
1440
|
+
this._taskName = value.taskName;
|
|
1441
|
+
this._subEvents.internalValue = value.subEvents;
|
|
1442
|
+
}
|
|
1443
|
+
}
|
|
1444
|
+
// description - computed: true, optional: true, required: false
|
|
1445
|
+
_description;
|
|
1446
|
+
get description() {
|
|
1447
|
+
return this.getStringAttribute('description');
|
|
1448
|
+
}
|
|
1449
|
+
set description(value) {
|
|
1450
|
+
this._description = value;
|
|
1451
|
+
}
|
|
1452
|
+
resetDescription() {
|
|
1453
|
+
this._description = undefined;
|
|
1454
|
+
}
|
|
1455
|
+
// Temporarily expose input value. Use with caution.
|
|
1456
|
+
get descriptionInput() {
|
|
1457
|
+
return this._description;
|
|
1458
|
+
}
|
|
1459
|
+
// details - computed: false, optional: true, required: false
|
|
1460
|
+
_details;
|
|
1461
|
+
get details() {
|
|
1462
|
+
return this.getListAttribute('details');
|
|
1463
|
+
}
|
|
1464
|
+
set details(value) {
|
|
1465
|
+
this._details = value;
|
|
1466
|
+
}
|
|
1467
|
+
resetDetails() {
|
|
1468
|
+
this._details = undefined;
|
|
1469
|
+
}
|
|
1470
|
+
// Temporarily expose input value. Use with caution.
|
|
1471
|
+
get detailsInput() {
|
|
1472
|
+
return this._details;
|
|
1473
|
+
}
|
|
1474
|
+
// duration - computed: true, optional: true, required: false
|
|
1475
|
+
_duration;
|
|
1476
|
+
get duration() {
|
|
1477
|
+
return this.getStringAttribute('duration');
|
|
1478
|
+
}
|
|
1479
|
+
set duration(value) {
|
|
1480
|
+
this._duration = value;
|
|
1481
|
+
}
|
|
1482
|
+
resetDuration() {
|
|
1483
|
+
this._duration = undefined;
|
|
1484
|
+
}
|
|
1485
|
+
// Temporarily expose input value. Use with caution.
|
|
1486
|
+
get durationInput() {
|
|
1487
|
+
return this._duration;
|
|
1488
|
+
}
|
|
1489
|
+
// end_time - computed: true, optional: true, required: false
|
|
1490
|
+
_endTime;
|
|
1491
|
+
get endTime() {
|
|
1492
|
+
return this.getStringAttribute('end_time');
|
|
1493
|
+
}
|
|
1494
|
+
set endTime(value) {
|
|
1495
|
+
this._endTime = value;
|
|
1496
|
+
}
|
|
1497
|
+
resetEndTime() {
|
|
1498
|
+
this._endTime = undefined;
|
|
1499
|
+
}
|
|
1500
|
+
// Temporarily expose input value. Use with caution.
|
|
1501
|
+
get endTimeInput() {
|
|
1502
|
+
return this._endTime;
|
|
1503
|
+
}
|
|
1504
|
+
// start_time - computed: true, optional: true, required: false
|
|
1505
|
+
_startTime;
|
|
1506
|
+
get startTime() {
|
|
1507
|
+
return this.getStringAttribute('start_time');
|
|
1508
|
+
}
|
|
1509
|
+
set startTime(value) {
|
|
1510
|
+
this._startTime = value;
|
|
1511
|
+
}
|
|
1512
|
+
resetStartTime() {
|
|
1513
|
+
this._startTime = undefined;
|
|
1514
|
+
}
|
|
1515
|
+
// Temporarily expose input value. Use with caution.
|
|
1516
|
+
get startTimeInput() {
|
|
1517
|
+
return this._startTime;
|
|
1518
|
+
}
|
|
1519
|
+
// status - computed: true, optional: true, required: false
|
|
1520
|
+
_status;
|
|
1521
|
+
get status() {
|
|
1522
|
+
return this.getStringAttribute('status');
|
|
1523
|
+
}
|
|
1524
|
+
set status(value) {
|
|
1525
|
+
this._status = value;
|
|
1526
|
+
}
|
|
1527
|
+
resetStatus() {
|
|
1528
|
+
this._status = undefined;
|
|
1529
|
+
}
|
|
1530
|
+
// Temporarily expose input value. Use with caution.
|
|
1531
|
+
get statusInput() {
|
|
1532
|
+
return this._status;
|
|
1533
|
+
}
|
|
1534
|
+
// task_name - computed: true, optional: true, required: false
|
|
1535
|
+
_taskName;
|
|
1536
|
+
get taskName() {
|
|
1537
|
+
return this.getStringAttribute('task_name');
|
|
1538
|
+
}
|
|
1539
|
+
set taskName(value) {
|
|
1540
|
+
this._taskName = value;
|
|
1541
|
+
}
|
|
1542
|
+
resetTaskName() {
|
|
1543
|
+
this._taskName = undefined;
|
|
1544
|
+
}
|
|
1545
|
+
// Temporarily expose input value. Use with caution.
|
|
1546
|
+
get taskNameInput() {
|
|
1547
|
+
return this._taskName;
|
|
1548
|
+
}
|
|
1549
|
+
// sub_events - computed: false, optional: true, required: false
|
|
1550
|
+
_subEvents = new TechsupportTasksSubEventsList(this, "sub_events", false);
|
|
1551
|
+
get subEvents() {
|
|
1552
|
+
return this._subEvents;
|
|
1553
|
+
}
|
|
1554
|
+
putSubEvents(value) {
|
|
1555
|
+
this._subEvents.internalValue = value;
|
|
1556
|
+
}
|
|
1557
|
+
resetSubEvents() {
|
|
1558
|
+
this._subEvents.internalValue = undefined;
|
|
1559
|
+
}
|
|
1560
|
+
// Temporarily expose input value. Use with caution.
|
|
1561
|
+
get subEventsInput() {
|
|
1562
|
+
return this._subEvents.internalValue;
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
export class TechsupportTasksList extends cdktf.ComplexList {
|
|
1566
|
+
terraformResource;
|
|
1567
|
+
terraformAttribute;
|
|
1568
|
+
wrapsSet;
|
|
1569
|
+
internalValue;
|
|
1570
|
+
/**
|
|
1571
|
+
* @param terraformResource The parent resource
|
|
1572
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1573
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1574
|
+
*/
|
|
1575
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
1576
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
1577
|
+
this.terraformResource = terraformResource;
|
|
1578
|
+
this.terraformAttribute = terraformAttribute;
|
|
1579
|
+
this.wrapsSet = wrapsSet;
|
|
1580
|
+
}
|
|
1581
|
+
/**
|
|
1582
|
+
* @param index the index of the item to return
|
|
1583
|
+
*/
|
|
1584
|
+
get(index) {
|
|
1585
|
+
return new TechsupportTasksOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
export function techsupportTechsupportReadinessChecksToTerraform(struct) {
|
|
1589
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
1590
|
+
return struct;
|
|
1591
|
+
}
|
|
1592
|
+
if (cdktf.isComplexElement(struct)) {
|
|
1593
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
1594
|
+
}
|
|
1595
|
+
return {
|
|
1596
|
+
check_code: cdktf.stringToTerraform(struct.checkCode),
|
|
1597
|
+
description: cdktf.stringToTerraform(struct.description),
|
|
1598
|
+
details: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.details),
|
|
1599
|
+
duration: cdktf.stringToTerraform(struct.duration),
|
|
1600
|
+
end_time: cdktf.stringToTerraform(struct.endTime),
|
|
1601
|
+
error_details: cdktf.listMapper(cdktf.stringToTerraform, false)(struct.errorDetails),
|
|
1602
|
+
start_time: cdktf.stringToTerraform(struct.startTime),
|
|
1603
|
+
state: cdktf.stringToTerraform(struct.state),
|
|
1604
|
+
};
|
|
1605
|
+
}
|
|
1606
|
+
export function techsupportTechsupportReadinessChecksToHclTerraform(struct) {
|
|
1607
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
1608
|
+
return struct;
|
|
1609
|
+
}
|
|
1610
|
+
if (cdktf.isComplexElement(struct)) {
|
|
1611
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
1612
|
+
}
|
|
1613
|
+
const attrs = {
|
|
1614
|
+
check_code: {
|
|
1615
|
+
value: cdktf.stringToHclTerraform(struct.checkCode),
|
|
1616
|
+
isBlock: false,
|
|
1617
|
+
type: "simple",
|
|
1618
|
+
storageClassType: "string",
|
|
1619
|
+
},
|
|
1620
|
+
description: {
|
|
1621
|
+
value: cdktf.stringToHclTerraform(struct.description),
|
|
1622
|
+
isBlock: false,
|
|
1623
|
+
type: "simple",
|
|
1624
|
+
storageClassType: "string",
|
|
1625
|
+
},
|
|
1626
|
+
details: {
|
|
1627
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.details),
|
|
1628
|
+
isBlock: false,
|
|
1629
|
+
type: "list",
|
|
1630
|
+
storageClassType: "stringList",
|
|
1631
|
+
},
|
|
1632
|
+
duration: {
|
|
1633
|
+
value: cdktf.stringToHclTerraform(struct.duration),
|
|
1634
|
+
isBlock: false,
|
|
1635
|
+
type: "simple",
|
|
1636
|
+
storageClassType: "string",
|
|
1637
|
+
},
|
|
1638
|
+
end_time: {
|
|
1639
|
+
value: cdktf.stringToHclTerraform(struct.endTime),
|
|
1640
|
+
isBlock: false,
|
|
1641
|
+
type: "simple",
|
|
1642
|
+
storageClassType: "string",
|
|
1643
|
+
},
|
|
1644
|
+
error_details: {
|
|
1645
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(struct.errorDetails),
|
|
1646
|
+
isBlock: false,
|
|
1647
|
+
type: "list",
|
|
1648
|
+
storageClassType: "stringList",
|
|
1649
|
+
},
|
|
1650
|
+
start_time: {
|
|
1651
|
+
value: cdktf.stringToHclTerraform(struct.startTime),
|
|
1652
|
+
isBlock: false,
|
|
1653
|
+
type: "simple",
|
|
1654
|
+
storageClassType: "string",
|
|
1655
|
+
},
|
|
1656
|
+
state: {
|
|
1657
|
+
value: cdktf.stringToHclTerraform(struct.state),
|
|
1658
|
+
isBlock: false,
|
|
1659
|
+
type: "simple",
|
|
1660
|
+
storageClassType: "string",
|
|
1661
|
+
},
|
|
1662
|
+
};
|
|
1663
|
+
// remove undefined attributes
|
|
1664
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
1665
|
+
}
|
|
1666
|
+
export class TechsupportTechsupportReadinessChecksOutputReference extends cdktf.ComplexObject {
|
|
1667
|
+
isEmptyObject = false;
|
|
1668
|
+
resolvableValue;
|
|
1669
|
+
/**
|
|
1670
|
+
* @param terraformResource The parent resource
|
|
1671
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1672
|
+
* @param complexObjectIndex the index of this item in the list
|
|
1673
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1674
|
+
*/
|
|
1675
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
1676
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
1677
|
+
}
|
|
1678
|
+
get internalValue() {
|
|
1679
|
+
if (this.resolvableValue) {
|
|
1680
|
+
return this.resolvableValue;
|
|
1681
|
+
}
|
|
1682
|
+
let hasAnyValues = this.isEmptyObject;
|
|
1683
|
+
const internalValueResult = {};
|
|
1684
|
+
if (this._checkCode !== undefined) {
|
|
1685
|
+
hasAnyValues = true;
|
|
1686
|
+
internalValueResult.checkCode = this._checkCode;
|
|
1687
|
+
}
|
|
1688
|
+
if (this._description !== undefined) {
|
|
1689
|
+
hasAnyValues = true;
|
|
1690
|
+
internalValueResult.description = this._description;
|
|
1691
|
+
}
|
|
1692
|
+
if (this._details !== undefined) {
|
|
1693
|
+
hasAnyValues = true;
|
|
1694
|
+
internalValueResult.details = this._details;
|
|
1695
|
+
}
|
|
1696
|
+
if (this._duration !== undefined) {
|
|
1697
|
+
hasAnyValues = true;
|
|
1698
|
+
internalValueResult.duration = this._duration;
|
|
1699
|
+
}
|
|
1700
|
+
if (this._endTime !== undefined) {
|
|
1701
|
+
hasAnyValues = true;
|
|
1702
|
+
internalValueResult.endTime = this._endTime;
|
|
1703
|
+
}
|
|
1704
|
+
if (this._errorDetails !== undefined) {
|
|
1705
|
+
hasAnyValues = true;
|
|
1706
|
+
internalValueResult.errorDetails = this._errorDetails;
|
|
1707
|
+
}
|
|
1708
|
+
if (this._startTime !== undefined) {
|
|
1709
|
+
hasAnyValues = true;
|
|
1710
|
+
internalValueResult.startTime = this._startTime;
|
|
1711
|
+
}
|
|
1712
|
+
if (this._state !== undefined) {
|
|
1713
|
+
hasAnyValues = true;
|
|
1714
|
+
internalValueResult.state = this._state;
|
|
1715
|
+
}
|
|
1716
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
1717
|
+
}
|
|
1718
|
+
set internalValue(value) {
|
|
1719
|
+
if (value === undefined) {
|
|
1720
|
+
this.isEmptyObject = false;
|
|
1721
|
+
this.resolvableValue = undefined;
|
|
1722
|
+
this._checkCode = undefined;
|
|
1723
|
+
this._description = undefined;
|
|
1724
|
+
this._details = undefined;
|
|
1725
|
+
this._duration = undefined;
|
|
1726
|
+
this._endTime = undefined;
|
|
1727
|
+
this._errorDetails = undefined;
|
|
1728
|
+
this._startTime = undefined;
|
|
1729
|
+
this._state = undefined;
|
|
1730
|
+
}
|
|
1731
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
1732
|
+
this.isEmptyObject = false;
|
|
1733
|
+
this.resolvableValue = value;
|
|
1734
|
+
}
|
|
1735
|
+
else {
|
|
1736
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
1737
|
+
this.resolvableValue = undefined;
|
|
1738
|
+
this._checkCode = value.checkCode;
|
|
1739
|
+
this._description = value.description;
|
|
1740
|
+
this._details = value.details;
|
|
1741
|
+
this._duration = value.duration;
|
|
1742
|
+
this._endTime = value.endTime;
|
|
1743
|
+
this._errorDetails = value.errorDetails;
|
|
1744
|
+
this._startTime = value.startTime;
|
|
1745
|
+
this._state = value.state;
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
// check_code - computed: true, optional: true, required: false
|
|
1749
|
+
_checkCode;
|
|
1750
|
+
get checkCode() {
|
|
1751
|
+
return this.getStringAttribute('check_code');
|
|
1752
|
+
}
|
|
1753
|
+
set checkCode(value) {
|
|
1754
|
+
this._checkCode = value;
|
|
1755
|
+
}
|
|
1756
|
+
resetCheckCode() {
|
|
1757
|
+
this._checkCode = undefined;
|
|
1758
|
+
}
|
|
1759
|
+
// Temporarily expose input value. Use with caution.
|
|
1760
|
+
get checkCodeInput() {
|
|
1761
|
+
return this._checkCode;
|
|
1762
|
+
}
|
|
1763
|
+
// description - computed: true, optional: true, required: false
|
|
1764
|
+
_description;
|
|
1765
|
+
get description() {
|
|
1766
|
+
return this.getStringAttribute('description');
|
|
1767
|
+
}
|
|
1768
|
+
set description(value) {
|
|
1769
|
+
this._description = value;
|
|
1770
|
+
}
|
|
1771
|
+
resetDescription() {
|
|
1772
|
+
this._description = undefined;
|
|
1773
|
+
}
|
|
1774
|
+
// Temporarily expose input value. Use with caution.
|
|
1775
|
+
get descriptionInput() {
|
|
1776
|
+
return this._description;
|
|
1777
|
+
}
|
|
1778
|
+
// details - computed: false, optional: true, required: false
|
|
1779
|
+
_details;
|
|
1780
|
+
get details() {
|
|
1781
|
+
return this.getListAttribute('details');
|
|
1782
|
+
}
|
|
1783
|
+
set details(value) {
|
|
1784
|
+
this._details = value;
|
|
1785
|
+
}
|
|
1786
|
+
resetDetails() {
|
|
1787
|
+
this._details = undefined;
|
|
1788
|
+
}
|
|
1789
|
+
// Temporarily expose input value. Use with caution.
|
|
1790
|
+
get detailsInput() {
|
|
1791
|
+
return this._details;
|
|
1792
|
+
}
|
|
1793
|
+
// duration - computed: true, optional: true, required: false
|
|
1794
|
+
_duration;
|
|
1795
|
+
get duration() {
|
|
1796
|
+
return this.getStringAttribute('duration');
|
|
1797
|
+
}
|
|
1798
|
+
set duration(value) {
|
|
1799
|
+
this._duration = value;
|
|
1800
|
+
}
|
|
1801
|
+
resetDuration() {
|
|
1802
|
+
this._duration = undefined;
|
|
1803
|
+
}
|
|
1804
|
+
// Temporarily expose input value. Use with caution.
|
|
1805
|
+
get durationInput() {
|
|
1806
|
+
return this._duration;
|
|
1807
|
+
}
|
|
1808
|
+
// end_time - computed: true, optional: true, required: false
|
|
1809
|
+
_endTime;
|
|
1810
|
+
get endTime() {
|
|
1811
|
+
return this.getStringAttribute('end_time');
|
|
1812
|
+
}
|
|
1813
|
+
set endTime(value) {
|
|
1814
|
+
this._endTime = value;
|
|
1815
|
+
}
|
|
1816
|
+
resetEndTime() {
|
|
1817
|
+
this._endTime = undefined;
|
|
1818
|
+
}
|
|
1819
|
+
// Temporarily expose input value. Use with caution.
|
|
1820
|
+
get endTimeInput() {
|
|
1821
|
+
return this._endTime;
|
|
1822
|
+
}
|
|
1823
|
+
// error_details - computed: false, optional: true, required: false
|
|
1824
|
+
_errorDetails;
|
|
1825
|
+
get errorDetails() {
|
|
1826
|
+
return this.getListAttribute('error_details');
|
|
1827
|
+
}
|
|
1828
|
+
set errorDetails(value) {
|
|
1829
|
+
this._errorDetails = value;
|
|
1830
|
+
}
|
|
1831
|
+
resetErrorDetails() {
|
|
1832
|
+
this._errorDetails = undefined;
|
|
1833
|
+
}
|
|
1834
|
+
// Temporarily expose input value. Use with caution.
|
|
1835
|
+
get errorDetailsInput() {
|
|
1836
|
+
return this._errorDetails;
|
|
1837
|
+
}
|
|
1838
|
+
// start_time - computed: true, optional: true, required: false
|
|
1839
|
+
_startTime;
|
|
1840
|
+
get startTime() {
|
|
1841
|
+
return this.getStringAttribute('start_time');
|
|
1842
|
+
}
|
|
1843
|
+
set startTime(value) {
|
|
1844
|
+
this._startTime = value;
|
|
1845
|
+
}
|
|
1846
|
+
resetStartTime() {
|
|
1847
|
+
this._startTime = undefined;
|
|
1848
|
+
}
|
|
1849
|
+
// Temporarily expose input value. Use with caution.
|
|
1850
|
+
get startTimeInput() {
|
|
1851
|
+
return this._startTime;
|
|
1852
|
+
}
|
|
1853
|
+
// state - computed: true, optional: true, required: false
|
|
1854
|
+
_state;
|
|
1855
|
+
get state() {
|
|
1856
|
+
return this.getStringAttribute('state');
|
|
1857
|
+
}
|
|
1858
|
+
set state(value) {
|
|
1859
|
+
this._state = value;
|
|
1860
|
+
}
|
|
1861
|
+
resetState() {
|
|
1862
|
+
this._state = undefined;
|
|
1863
|
+
}
|
|
1864
|
+
// Temporarily expose input value. Use with caution.
|
|
1865
|
+
get stateInput() {
|
|
1866
|
+
return this._state;
|
|
1867
|
+
}
|
|
1868
|
+
}
|
|
1869
|
+
export class TechsupportTechsupportReadinessChecksList extends cdktf.ComplexList {
|
|
1870
|
+
terraformResource;
|
|
1871
|
+
terraformAttribute;
|
|
1872
|
+
wrapsSet;
|
|
1873
|
+
internalValue;
|
|
1874
|
+
/**
|
|
1875
|
+
* @param terraformResource The parent resource
|
|
1876
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1877
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1878
|
+
*/
|
|
1879
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
1880
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
1881
|
+
this.terraformResource = terraformResource;
|
|
1882
|
+
this.terraformAttribute = terraformAttribute;
|
|
1883
|
+
this.wrapsSet = wrapsSet;
|
|
1884
|
+
}
|
|
1885
|
+
/**
|
|
1886
|
+
* @param index the index of the item to return
|
|
1887
|
+
*/
|
|
1888
|
+
get(index) {
|
|
1889
|
+
return new TechsupportTechsupportReadinessChecksOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
export function techsupportTechsupportReadinessStateLastChangedTimeToTerraform(struct) {
|
|
1893
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
1894
|
+
return struct;
|
|
1895
|
+
}
|
|
1896
|
+
if (cdktf.isComplexElement(struct)) {
|
|
1897
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
1898
|
+
}
|
|
1899
|
+
return {
|
|
1900
|
+
secs: cdktf.stringToTerraform(struct.secs),
|
|
1901
|
+
usecs: cdktf.stringToTerraform(struct.usecs),
|
|
1902
|
+
};
|
|
1903
|
+
}
|
|
1904
|
+
export function techsupportTechsupportReadinessStateLastChangedTimeToHclTerraform(struct) {
|
|
1905
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
1906
|
+
return struct;
|
|
1907
|
+
}
|
|
1908
|
+
if (cdktf.isComplexElement(struct)) {
|
|
1909
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
1910
|
+
}
|
|
1911
|
+
const attrs = {
|
|
1912
|
+
secs: {
|
|
1913
|
+
value: cdktf.stringToHclTerraform(struct.secs),
|
|
1914
|
+
isBlock: false,
|
|
1915
|
+
type: "simple",
|
|
1916
|
+
storageClassType: "string",
|
|
1917
|
+
},
|
|
1918
|
+
usecs: {
|
|
1919
|
+
value: cdktf.stringToHclTerraform(struct.usecs),
|
|
1920
|
+
isBlock: false,
|
|
1921
|
+
type: "simple",
|
|
1922
|
+
storageClassType: "string",
|
|
1923
|
+
},
|
|
1924
|
+
};
|
|
1925
|
+
// remove undefined attributes
|
|
1926
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
1927
|
+
}
|
|
1928
|
+
export class TechsupportTechsupportReadinessStateLastChangedTimeOutputReference extends cdktf.ComplexObject {
|
|
1929
|
+
isEmptyObject = false;
|
|
1930
|
+
resolvableValue;
|
|
1931
|
+
/**
|
|
1932
|
+
* @param terraformResource The parent resource
|
|
1933
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
1934
|
+
* @param complexObjectIndex the index of this item in the list
|
|
1935
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
1936
|
+
*/
|
|
1937
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
1938
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
1939
|
+
}
|
|
1940
|
+
get internalValue() {
|
|
1941
|
+
if (this.resolvableValue) {
|
|
1942
|
+
return this.resolvableValue;
|
|
1943
|
+
}
|
|
1944
|
+
let hasAnyValues = this.isEmptyObject;
|
|
1945
|
+
const internalValueResult = {};
|
|
1946
|
+
if (this._secs !== undefined) {
|
|
1947
|
+
hasAnyValues = true;
|
|
1948
|
+
internalValueResult.secs = this._secs;
|
|
1949
|
+
}
|
|
1950
|
+
if (this._usecs !== undefined) {
|
|
1951
|
+
hasAnyValues = true;
|
|
1952
|
+
internalValueResult.usecs = this._usecs;
|
|
1953
|
+
}
|
|
1954
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
1955
|
+
}
|
|
1956
|
+
set internalValue(value) {
|
|
1957
|
+
if (value === undefined) {
|
|
1958
|
+
this.isEmptyObject = false;
|
|
1959
|
+
this.resolvableValue = undefined;
|
|
1960
|
+
this._secs = undefined;
|
|
1961
|
+
this._usecs = undefined;
|
|
1962
|
+
}
|
|
1963
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
1964
|
+
this.isEmptyObject = false;
|
|
1965
|
+
this.resolvableValue = value;
|
|
1966
|
+
}
|
|
1967
|
+
else {
|
|
1968
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
1969
|
+
this.resolvableValue = undefined;
|
|
1970
|
+
this._secs = value.secs;
|
|
1971
|
+
this._usecs = value.usecs;
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
// secs - computed: false, optional: false, required: true
|
|
1975
|
+
_secs;
|
|
1976
|
+
get secs() {
|
|
1977
|
+
return this.getStringAttribute('secs');
|
|
1978
|
+
}
|
|
1979
|
+
set secs(value) {
|
|
1980
|
+
this._secs = value;
|
|
1981
|
+
}
|
|
1982
|
+
// Temporarily expose input value. Use with caution.
|
|
1983
|
+
get secsInput() {
|
|
1984
|
+
return this._secs;
|
|
1985
|
+
}
|
|
1986
|
+
// usecs - computed: false, optional: false, required: true
|
|
1987
|
+
_usecs;
|
|
1988
|
+
get usecs() {
|
|
1989
|
+
return this.getStringAttribute('usecs');
|
|
1990
|
+
}
|
|
1991
|
+
set usecs(value) {
|
|
1992
|
+
this._usecs = value;
|
|
1993
|
+
}
|
|
1994
|
+
// Temporarily expose input value. Use with caution.
|
|
1995
|
+
get usecsInput() {
|
|
1996
|
+
return this._usecs;
|
|
1997
|
+
}
|
|
1998
|
+
}
|
|
1999
|
+
export class TechsupportTechsupportReadinessStateLastChangedTimeList extends cdktf.ComplexList {
|
|
2000
|
+
terraformResource;
|
|
2001
|
+
terraformAttribute;
|
|
2002
|
+
wrapsSet;
|
|
2003
|
+
internalValue;
|
|
2004
|
+
/**
|
|
2005
|
+
* @param terraformResource The parent resource
|
|
2006
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
2007
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
2008
|
+
*/
|
|
2009
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
2010
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
2011
|
+
this.terraformResource = terraformResource;
|
|
2012
|
+
this.terraformAttribute = terraformAttribute;
|
|
2013
|
+
this.wrapsSet = wrapsSet;
|
|
2014
|
+
}
|
|
2015
|
+
/**
|
|
2016
|
+
* @param index the index of the item to return
|
|
2017
|
+
*/
|
|
2018
|
+
get(index) {
|
|
2019
|
+
return new TechsupportTechsupportReadinessStateLastChangedTimeOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
2020
|
+
}
|
|
2021
|
+
}
|
|
2022
|
+
export function techsupportTechsupportReadinessStateToTerraform(struct) {
|
|
2023
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
2024
|
+
return struct;
|
|
2025
|
+
}
|
|
2026
|
+
if (cdktf.isComplexElement(struct)) {
|
|
2027
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
2028
|
+
}
|
|
2029
|
+
return {
|
|
2030
|
+
reason: cdktf.stringToTerraform(struct.reason),
|
|
2031
|
+
state: cdktf.stringToTerraform(struct.state),
|
|
2032
|
+
last_changed_time: cdktf.listMapper(techsupportTechsupportReadinessStateLastChangedTimeToTerraform, true)(struct.lastChangedTime),
|
|
2033
|
+
};
|
|
2034
|
+
}
|
|
2035
|
+
export function techsupportTechsupportReadinessStateToHclTerraform(struct) {
|
|
2036
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
2037
|
+
return struct;
|
|
2038
|
+
}
|
|
2039
|
+
if (cdktf.isComplexElement(struct)) {
|
|
2040
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
2041
|
+
}
|
|
2042
|
+
const attrs = {
|
|
2043
|
+
reason: {
|
|
2044
|
+
value: cdktf.stringToHclTerraform(struct.reason),
|
|
2045
|
+
isBlock: false,
|
|
2046
|
+
type: "simple",
|
|
2047
|
+
storageClassType: "string",
|
|
2048
|
+
},
|
|
2049
|
+
state: {
|
|
2050
|
+
value: cdktf.stringToHclTerraform(struct.state),
|
|
2051
|
+
isBlock: false,
|
|
2052
|
+
type: "simple",
|
|
2053
|
+
storageClassType: "string",
|
|
2054
|
+
},
|
|
2055
|
+
last_changed_time: {
|
|
2056
|
+
value: cdktf.listMapperHcl(techsupportTechsupportReadinessStateLastChangedTimeToHclTerraform, true)(struct.lastChangedTime),
|
|
2057
|
+
isBlock: true,
|
|
2058
|
+
type: "set",
|
|
2059
|
+
storageClassType: "TechsupportTechsupportReadinessStateLastChangedTimeList",
|
|
2060
|
+
},
|
|
2061
|
+
};
|
|
2062
|
+
// remove undefined attributes
|
|
2063
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
2064
|
+
}
|
|
2065
|
+
export class TechsupportTechsupportReadinessStateOutputReference extends cdktf.ComplexObject {
|
|
2066
|
+
isEmptyObject = false;
|
|
2067
|
+
resolvableValue;
|
|
2068
|
+
/**
|
|
2069
|
+
* @param terraformResource The parent resource
|
|
2070
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
2071
|
+
* @param complexObjectIndex the index of this item in the list
|
|
2072
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
2073
|
+
*/
|
|
2074
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
2075
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
2076
|
+
}
|
|
2077
|
+
get internalValue() {
|
|
2078
|
+
if (this.resolvableValue) {
|
|
2079
|
+
return this.resolvableValue;
|
|
2080
|
+
}
|
|
2081
|
+
let hasAnyValues = this.isEmptyObject;
|
|
2082
|
+
const internalValueResult = {};
|
|
2083
|
+
if (this._reason !== undefined) {
|
|
2084
|
+
hasAnyValues = true;
|
|
2085
|
+
internalValueResult.reason = this._reason;
|
|
2086
|
+
}
|
|
2087
|
+
if (this._state !== undefined) {
|
|
2088
|
+
hasAnyValues = true;
|
|
2089
|
+
internalValueResult.state = this._state;
|
|
2090
|
+
}
|
|
2091
|
+
if (this._lastChangedTime?.internalValue !== undefined) {
|
|
2092
|
+
hasAnyValues = true;
|
|
2093
|
+
internalValueResult.lastChangedTime = this._lastChangedTime?.internalValue;
|
|
2094
|
+
}
|
|
2095
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
2096
|
+
}
|
|
2097
|
+
set internalValue(value) {
|
|
2098
|
+
if (value === undefined) {
|
|
2099
|
+
this.isEmptyObject = false;
|
|
2100
|
+
this.resolvableValue = undefined;
|
|
2101
|
+
this._reason = undefined;
|
|
2102
|
+
this._state = undefined;
|
|
2103
|
+
this._lastChangedTime.internalValue = undefined;
|
|
2104
|
+
}
|
|
2105
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
2106
|
+
this.isEmptyObject = false;
|
|
2107
|
+
this.resolvableValue = value;
|
|
2108
|
+
}
|
|
2109
|
+
else {
|
|
2110
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
2111
|
+
this.resolvableValue = undefined;
|
|
2112
|
+
this._reason = value.reason;
|
|
2113
|
+
this._state = value.state;
|
|
2114
|
+
this._lastChangedTime.internalValue = value.lastChangedTime;
|
|
2115
|
+
}
|
|
2116
|
+
}
|
|
2117
|
+
// reason - computed: true, optional: true, required: false
|
|
2118
|
+
_reason;
|
|
2119
|
+
get reason() {
|
|
2120
|
+
return this.getStringAttribute('reason');
|
|
2121
|
+
}
|
|
2122
|
+
set reason(value) {
|
|
2123
|
+
this._reason = value;
|
|
2124
|
+
}
|
|
2125
|
+
resetReason() {
|
|
2126
|
+
this._reason = undefined;
|
|
2127
|
+
}
|
|
2128
|
+
// Temporarily expose input value. Use with caution.
|
|
2129
|
+
get reasonInput() {
|
|
2130
|
+
return this._reason;
|
|
2131
|
+
}
|
|
2132
|
+
// state - computed: true, optional: true, required: false
|
|
2133
|
+
_state;
|
|
2134
|
+
get state() {
|
|
2135
|
+
return this.getStringAttribute('state');
|
|
2136
|
+
}
|
|
2137
|
+
set state(value) {
|
|
2138
|
+
this._state = value;
|
|
2139
|
+
}
|
|
2140
|
+
resetState() {
|
|
2141
|
+
this._state = undefined;
|
|
2142
|
+
}
|
|
2143
|
+
// Temporarily expose input value. Use with caution.
|
|
2144
|
+
get stateInput() {
|
|
2145
|
+
return this._state;
|
|
2146
|
+
}
|
|
2147
|
+
// last_changed_time - computed: false, optional: true, required: false
|
|
2148
|
+
_lastChangedTime = new TechsupportTechsupportReadinessStateLastChangedTimeList(this, "last_changed_time", true);
|
|
2149
|
+
get lastChangedTime() {
|
|
2150
|
+
return this._lastChangedTime;
|
|
2151
|
+
}
|
|
2152
|
+
putLastChangedTime(value) {
|
|
2153
|
+
this._lastChangedTime.internalValue = value;
|
|
2154
|
+
}
|
|
2155
|
+
resetLastChangedTime() {
|
|
2156
|
+
this._lastChangedTime.internalValue = undefined;
|
|
2157
|
+
}
|
|
2158
|
+
// Temporarily expose input value. Use with caution.
|
|
2159
|
+
get lastChangedTimeInput() {
|
|
2160
|
+
return this._lastChangedTime.internalValue;
|
|
2161
|
+
}
|
|
2162
|
+
}
|
|
2163
|
+
export class TechsupportTechsupportReadinessStateList extends cdktf.ComplexList {
|
|
2164
|
+
terraformResource;
|
|
2165
|
+
terraformAttribute;
|
|
2166
|
+
wrapsSet;
|
|
2167
|
+
internalValue;
|
|
2168
|
+
/**
|
|
2169
|
+
* @param terraformResource The parent resource
|
|
2170
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
2171
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
2172
|
+
*/
|
|
2173
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
2174
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
2175
|
+
this.terraformResource = terraformResource;
|
|
2176
|
+
this.terraformAttribute = terraformAttribute;
|
|
2177
|
+
this.wrapsSet = wrapsSet;
|
|
2178
|
+
}
|
|
2179
|
+
/**
|
|
2180
|
+
* @param index the index of the item to return
|
|
2181
|
+
*/
|
|
2182
|
+
get(index) {
|
|
2183
|
+
return new TechsupportTechsupportReadinessStateOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
2184
|
+
}
|
|
2185
|
+
}
|
|
2186
|
+
export function techsupportTechsupportReadinessToTerraform(struct) {
|
|
2187
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
2188
|
+
return struct;
|
|
2189
|
+
}
|
|
2190
|
+
if (cdktf.isComplexElement(struct)) {
|
|
2191
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
2192
|
+
}
|
|
2193
|
+
return {
|
|
2194
|
+
checks_completed: cdktf.stringToTerraform(struct.checksCompleted),
|
|
2195
|
+
duration: cdktf.stringToTerraform(struct.duration),
|
|
2196
|
+
end_time: cdktf.stringToTerraform(struct.endTime),
|
|
2197
|
+
progress: cdktf.stringToTerraform(struct.progress),
|
|
2198
|
+
start_time: cdktf.stringToTerraform(struct.startTime),
|
|
2199
|
+
total_checks: cdktf.stringToTerraform(struct.totalChecks),
|
|
2200
|
+
checks: cdktf.listMapper(techsupportTechsupportReadinessChecksToTerraform, true)(struct.checks),
|
|
2201
|
+
state: cdktf.listMapper(techsupportTechsupportReadinessStateToTerraform, true)(struct.state),
|
|
2202
|
+
};
|
|
2203
|
+
}
|
|
2204
|
+
export function techsupportTechsupportReadinessToHclTerraform(struct) {
|
|
2205
|
+
if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
|
|
2206
|
+
return struct;
|
|
2207
|
+
}
|
|
2208
|
+
if (cdktf.isComplexElement(struct)) {
|
|
2209
|
+
throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
|
|
2210
|
+
}
|
|
2211
|
+
const attrs = {
|
|
2212
|
+
checks_completed: {
|
|
2213
|
+
value: cdktf.stringToHclTerraform(struct.checksCompleted),
|
|
2214
|
+
isBlock: false,
|
|
2215
|
+
type: "simple",
|
|
2216
|
+
storageClassType: "string",
|
|
2217
|
+
},
|
|
2218
|
+
duration: {
|
|
2219
|
+
value: cdktf.stringToHclTerraform(struct.duration),
|
|
2220
|
+
isBlock: false,
|
|
2221
|
+
type: "simple",
|
|
2222
|
+
storageClassType: "string",
|
|
2223
|
+
},
|
|
2224
|
+
end_time: {
|
|
2225
|
+
value: cdktf.stringToHclTerraform(struct.endTime),
|
|
2226
|
+
isBlock: false,
|
|
2227
|
+
type: "simple",
|
|
2228
|
+
storageClassType: "string",
|
|
2229
|
+
},
|
|
2230
|
+
progress: {
|
|
2231
|
+
value: cdktf.stringToHclTerraform(struct.progress),
|
|
2232
|
+
isBlock: false,
|
|
2233
|
+
type: "simple",
|
|
2234
|
+
storageClassType: "string",
|
|
2235
|
+
},
|
|
2236
|
+
start_time: {
|
|
2237
|
+
value: cdktf.stringToHclTerraform(struct.startTime),
|
|
2238
|
+
isBlock: false,
|
|
2239
|
+
type: "simple",
|
|
2240
|
+
storageClassType: "string",
|
|
2241
|
+
},
|
|
2242
|
+
total_checks: {
|
|
2243
|
+
value: cdktf.stringToHclTerraform(struct.totalChecks),
|
|
2244
|
+
isBlock: false,
|
|
2245
|
+
type: "simple",
|
|
2246
|
+
storageClassType: "string",
|
|
2247
|
+
},
|
|
2248
|
+
checks: {
|
|
2249
|
+
value: cdktf.listMapperHcl(techsupportTechsupportReadinessChecksToHclTerraform, true)(struct.checks),
|
|
2250
|
+
isBlock: true,
|
|
2251
|
+
type: "list",
|
|
2252
|
+
storageClassType: "TechsupportTechsupportReadinessChecksList",
|
|
2253
|
+
},
|
|
2254
|
+
state: {
|
|
2255
|
+
value: cdktf.listMapperHcl(techsupportTechsupportReadinessStateToHclTerraform, true)(struct.state),
|
|
2256
|
+
isBlock: true,
|
|
2257
|
+
type: "set",
|
|
2258
|
+
storageClassType: "TechsupportTechsupportReadinessStateList",
|
|
2259
|
+
},
|
|
2260
|
+
};
|
|
2261
|
+
// remove undefined attributes
|
|
2262
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
2263
|
+
}
|
|
2264
|
+
export class TechsupportTechsupportReadinessOutputReference extends cdktf.ComplexObject {
|
|
2265
|
+
isEmptyObject = false;
|
|
2266
|
+
resolvableValue;
|
|
2267
|
+
/**
|
|
2268
|
+
* @param terraformResource The parent resource
|
|
2269
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
2270
|
+
* @param complexObjectIndex the index of this item in the list
|
|
2271
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
2272
|
+
*/
|
|
2273
|
+
constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
|
|
2274
|
+
super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
|
|
2275
|
+
}
|
|
2276
|
+
get internalValue() {
|
|
2277
|
+
if (this.resolvableValue) {
|
|
2278
|
+
return this.resolvableValue;
|
|
2279
|
+
}
|
|
2280
|
+
let hasAnyValues = this.isEmptyObject;
|
|
2281
|
+
const internalValueResult = {};
|
|
2282
|
+
if (this._checksCompleted !== undefined) {
|
|
2283
|
+
hasAnyValues = true;
|
|
2284
|
+
internalValueResult.checksCompleted = this._checksCompleted;
|
|
2285
|
+
}
|
|
2286
|
+
if (this._duration !== undefined) {
|
|
2287
|
+
hasAnyValues = true;
|
|
2288
|
+
internalValueResult.duration = this._duration;
|
|
2289
|
+
}
|
|
2290
|
+
if (this._endTime !== undefined) {
|
|
2291
|
+
hasAnyValues = true;
|
|
2292
|
+
internalValueResult.endTime = this._endTime;
|
|
2293
|
+
}
|
|
2294
|
+
if (this._progress !== undefined) {
|
|
2295
|
+
hasAnyValues = true;
|
|
2296
|
+
internalValueResult.progress = this._progress;
|
|
2297
|
+
}
|
|
2298
|
+
if (this._startTime !== undefined) {
|
|
2299
|
+
hasAnyValues = true;
|
|
2300
|
+
internalValueResult.startTime = this._startTime;
|
|
2301
|
+
}
|
|
2302
|
+
if (this._totalChecks !== undefined) {
|
|
2303
|
+
hasAnyValues = true;
|
|
2304
|
+
internalValueResult.totalChecks = this._totalChecks;
|
|
2305
|
+
}
|
|
2306
|
+
if (this._checks?.internalValue !== undefined) {
|
|
2307
|
+
hasAnyValues = true;
|
|
2308
|
+
internalValueResult.checks = this._checks?.internalValue;
|
|
2309
|
+
}
|
|
2310
|
+
if (this._state?.internalValue !== undefined) {
|
|
2311
|
+
hasAnyValues = true;
|
|
2312
|
+
internalValueResult.state = this._state?.internalValue;
|
|
2313
|
+
}
|
|
2314
|
+
return hasAnyValues ? internalValueResult : undefined;
|
|
2315
|
+
}
|
|
2316
|
+
set internalValue(value) {
|
|
2317
|
+
if (value === undefined) {
|
|
2318
|
+
this.isEmptyObject = false;
|
|
2319
|
+
this.resolvableValue = undefined;
|
|
2320
|
+
this._checksCompleted = undefined;
|
|
2321
|
+
this._duration = undefined;
|
|
2322
|
+
this._endTime = undefined;
|
|
2323
|
+
this._progress = undefined;
|
|
2324
|
+
this._startTime = undefined;
|
|
2325
|
+
this._totalChecks = undefined;
|
|
2326
|
+
this._checks.internalValue = undefined;
|
|
2327
|
+
this._state.internalValue = undefined;
|
|
2328
|
+
}
|
|
2329
|
+
else if (cdktf.Tokenization.isResolvable(value)) {
|
|
2330
|
+
this.isEmptyObject = false;
|
|
2331
|
+
this.resolvableValue = value;
|
|
2332
|
+
}
|
|
2333
|
+
else {
|
|
2334
|
+
this.isEmptyObject = Object.keys(value).length === 0;
|
|
2335
|
+
this.resolvableValue = undefined;
|
|
2336
|
+
this._checksCompleted = value.checksCompleted;
|
|
2337
|
+
this._duration = value.duration;
|
|
2338
|
+
this._endTime = value.endTime;
|
|
2339
|
+
this._progress = value.progress;
|
|
2340
|
+
this._startTime = value.startTime;
|
|
2341
|
+
this._totalChecks = value.totalChecks;
|
|
2342
|
+
this._checks.internalValue = value.checks;
|
|
2343
|
+
this._state.internalValue = value.state;
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
// checks_completed - computed: true, optional: true, required: false
|
|
2347
|
+
_checksCompleted;
|
|
2348
|
+
get checksCompleted() {
|
|
2349
|
+
return this.getStringAttribute('checks_completed');
|
|
2350
|
+
}
|
|
2351
|
+
set checksCompleted(value) {
|
|
2352
|
+
this._checksCompleted = value;
|
|
2353
|
+
}
|
|
2354
|
+
resetChecksCompleted() {
|
|
2355
|
+
this._checksCompleted = undefined;
|
|
2356
|
+
}
|
|
2357
|
+
// Temporarily expose input value. Use with caution.
|
|
2358
|
+
get checksCompletedInput() {
|
|
2359
|
+
return this._checksCompleted;
|
|
2360
|
+
}
|
|
2361
|
+
// duration - computed: true, optional: true, required: false
|
|
2362
|
+
_duration;
|
|
2363
|
+
get duration() {
|
|
2364
|
+
return this.getStringAttribute('duration');
|
|
2365
|
+
}
|
|
2366
|
+
set duration(value) {
|
|
2367
|
+
this._duration = value;
|
|
2368
|
+
}
|
|
2369
|
+
resetDuration() {
|
|
2370
|
+
this._duration = undefined;
|
|
2371
|
+
}
|
|
2372
|
+
// Temporarily expose input value. Use with caution.
|
|
2373
|
+
get durationInput() {
|
|
2374
|
+
return this._duration;
|
|
2375
|
+
}
|
|
2376
|
+
// end_time - computed: true, optional: true, required: false
|
|
2377
|
+
_endTime;
|
|
2378
|
+
get endTime() {
|
|
2379
|
+
return this.getStringAttribute('end_time');
|
|
2380
|
+
}
|
|
2381
|
+
set endTime(value) {
|
|
2382
|
+
this._endTime = value;
|
|
2383
|
+
}
|
|
2384
|
+
resetEndTime() {
|
|
2385
|
+
this._endTime = undefined;
|
|
2386
|
+
}
|
|
2387
|
+
// Temporarily expose input value. Use with caution.
|
|
2388
|
+
get endTimeInput() {
|
|
2389
|
+
return this._endTime;
|
|
2390
|
+
}
|
|
2391
|
+
// progress - computed: false, optional: true, required: false
|
|
2392
|
+
_progress;
|
|
2393
|
+
get progress() {
|
|
2394
|
+
return this.getStringAttribute('progress');
|
|
2395
|
+
}
|
|
2396
|
+
set progress(value) {
|
|
2397
|
+
this._progress = value;
|
|
2398
|
+
}
|
|
2399
|
+
resetProgress() {
|
|
2400
|
+
this._progress = undefined;
|
|
2401
|
+
}
|
|
2402
|
+
// Temporarily expose input value. Use with caution.
|
|
2403
|
+
get progressInput() {
|
|
2404
|
+
return this._progress;
|
|
2405
|
+
}
|
|
2406
|
+
// start_time - computed: true, optional: true, required: false
|
|
2407
|
+
_startTime;
|
|
2408
|
+
get startTime() {
|
|
2409
|
+
return this.getStringAttribute('start_time');
|
|
2410
|
+
}
|
|
2411
|
+
set startTime(value) {
|
|
2412
|
+
this._startTime = value;
|
|
2413
|
+
}
|
|
2414
|
+
resetStartTime() {
|
|
2415
|
+
this._startTime = undefined;
|
|
2416
|
+
}
|
|
2417
|
+
// Temporarily expose input value. Use with caution.
|
|
2418
|
+
get startTimeInput() {
|
|
2419
|
+
return this._startTime;
|
|
2420
|
+
}
|
|
2421
|
+
// total_checks - computed: true, optional: true, required: false
|
|
2422
|
+
_totalChecks;
|
|
2423
|
+
get totalChecks() {
|
|
2424
|
+
return this.getStringAttribute('total_checks');
|
|
2425
|
+
}
|
|
2426
|
+
set totalChecks(value) {
|
|
2427
|
+
this._totalChecks = value;
|
|
2428
|
+
}
|
|
2429
|
+
resetTotalChecks() {
|
|
2430
|
+
this._totalChecks = undefined;
|
|
2431
|
+
}
|
|
2432
|
+
// Temporarily expose input value. Use with caution.
|
|
2433
|
+
get totalChecksInput() {
|
|
2434
|
+
return this._totalChecks;
|
|
2435
|
+
}
|
|
2436
|
+
// checks - computed: false, optional: true, required: false
|
|
2437
|
+
_checks = new TechsupportTechsupportReadinessChecksList(this, "checks", false);
|
|
2438
|
+
get checks() {
|
|
2439
|
+
return this._checks;
|
|
2440
|
+
}
|
|
2441
|
+
putChecks(value) {
|
|
2442
|
+
this._checks.internalValue = value;
|
|
2443
|
+
}
|
|
2444
|
+
resetChecks() {
|
|
2445
|
+
this._checks.internalValue = undefined;
|
|
2446
|
+
}
|
|
2447
|
+
// Temporarily expose input value. Use with caution.
|
|
2448
|
+
get checksInput() {
|
|
2449
|
+
return this._checks.internalValue;
|
|
2450
|
+
}
|
|
2451
|
+
// state - computed: false, optional: true, required: false
|
|
2452
|
+
_state = new TechsupportTechsupportReadinessStateList(this, "state", true);
|
|
2453
|
+
get state() {
|
|
2454
|
+
return this._state;
|
|
2455
|
+
}
|
|
2456
|
+
putState(value) {
|
|
2457
|
+
this._state.internalValue = value;
|
|
2458
|
+
}
|
|
2459
|
+
resetState() {
|
|
2460
|
+
this._state.internalValue = undefined;
|
|
2461
|
+
}
|
|
2462
|
+
// Temporarily expose input value. Use with caution.
|
|
2463
|
+
get stateInput() {
|
|
2464
|
+
return this._state.internalValue;
|
|
2465
|
+
}
|
|
2466
|
+
}
|
|
2467
|
+
export class TechsupportTechsupportReadinessList extends cdktf.ComplexList {
|
|
2468
|
+
terraformResource;
|
|
2469
|
+
terraformAttribute;
|
|
2470
|
+
wrapsSet;
|
|
2471
|
+
internalValue;
|
|
2472
|
+
/**
|
|
2473
|
+
* @param terraformResource The parent resource
|
|
2474
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
2475
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
2476
|
+
*/
|
|
2477
|
+
constructor(terraformResource, terraformAttribute, wrapsSet) {
|
|
2478
|
+
super(terraformResource, terraformAttribute, wrapsSet);
|
|
2479
|
+
this.terraformResource = terraformResource;
|
|
2480
|
+
this.terraformAttribute = terraformAttribute;
|
|
2481
|
+
this.wrapsSet = wrapsSet;
|
|
2482
|
+
}
|
|
2483
|
+
/**
|
|
2484
|
+
* @param index the index of the item to return
|
|
2485
|
+
*/
|
|
2486
|
+
get(index) {
|
|
2487
|
+
return new TechsupportTechsupportReadinessOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
|
|
2488
|
+
}
|
|
2489
|
+
}
|
|
2490
|
+
/**
|
|
2491
|
+
* Represents a {@link https://registry.terraform.io/providers/vmware/avi/31.2.1/docs/resources/techsupport avi_techsupport}
|
|
2492
|
+
*/
|
|
2493
|
+
export class Techsupport extends cdktf.TerraformResource {
|
|
2494
|
+
// =================
|
|
2495
|
+
// STATIC PROPERTIES
|
|
2496
|
+
// =================
|
|
2497
|
+
static tfResourceType = "avi_techsupport";
|
|
2498
|
+
// ==============
|
|
2499
|
+
// STATIC Methods
|
|
2500
|
+
// ==============
|
|
2501
|
+
/**
|
|
2502
|
+
* Generates CDKTF code for importing a Techsupport resource upon running "cdktf plan <stack-name>"
|
|
2503
|
+
* @param scope The scope in which to define this construct
|
|
2504
|
+
* @param importToId The construct id used in the generated config for the Techsupport to import
|
|
2505
|
+
* @param importFromId The id of the existing Techsupport that should be imported. Refer to the {@link https://registry.terraform.io/providers/vmware/avi/31.2.1/docs/resources/techsupport#import import section} in the documentation of this resource for the id to use
|
|
2506
|
+
* @param provider? Optional instance of the provider where the Techsupport to import is found
|
|
2507
|
+
*/
|
|
2508
|
+
static generateConfigForImport(scope, importToId, importFromId, provider) {
|
|
2509
|
+
return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "avi_techsupport", importId: importFromId, provider });
|
|
2510
|
+
}
|
|
2511
|
+
// ===========
|
|
2512
|
+
// INITIALIZER
|
|
2513
|
+
// ===========
|
|
2514
|
+
/**
|
|
2515
|
+
* Create a new {@link https://registry.terraform.io/providers/vmware/avi/31.2.1/docs/resources/techsupport avi_techsupport} Resource
|
|
2516
|
+
*
|
|
2517
|
+
* @param scope The scope in which to define this construct
|
|
2518
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
2519
|
+
* @param options TechsupportConfig = {}
|
|
2520
|
+
*/
|
|
2521
|
+
constructor(scope, id, config = {}) {
|
|
2522
|
+
super(scope, id, {
|
|
2523
|
+
terraformResourceType: 'avi_techsupport',
|
|
2524
|
+
terraformGeneratorMetadata: {
|
|
2525
|
+
providerName: 'avi',
|
|
2526
|
+
providerVersion: '31.2.1',
|
|
2527
|
+
providerVersionConstraint: '31.2.1'
|
|
2528
|
+
},
|
|
2529
|
+
provider: config.provider,
|
|
2530
|
+
dependsOn: config.dependsOn,
|
|
2531
|
+
count: config.count,
|
|
2532
|
+
lifecycle: config.lifecycle,
|
|
2533
|
+
provisioners: config.provisioners,
|
|
2534
|
+
connection: config.connection,
|
|
2535
|
+
forEach: config.forEach
|
|
2536
|
+
});
|
|
2537
|
+
this._caseNumber = config.caseNumber;
|
|
2538
|
+
this._description = config.description;
|
|
2539
|
+
this._duration = config.duration;
|
|
2540
|
+
this._endTime = config.endTime;
|
|
2541
|
+
this._errors = config.errors;
|
|
2542
|
+
this._id = config.id;
|
|
2543
|
+
this._level = config.level;
|
|
2544
|
+
this._name = config.name;
|
|
2545
|
+
this._node = config.nodeAttribute;
|
|
2546
|
+
this._objName = config.objName;
|
|
2547
|
+
this._objUuid = config.objUuid;
|
|
2548
|
+
this._output = config.output;
|
|
2549
|
+
this._progress = config.progress;
|
|
2550
|
+
this._size = config.size;
|
|
2551
|
+
this._startTime = config.startTime;
|
|
2552
|
+
this._tasksCompleted = config.tasksCompleted;
|
|
2553
|
+
this._tenantRef = config.tenantRef;
|
|
2554
|
+
this._totalTasks = config.totalTasks;
|
|
2555
|
+
this._uuid = config.uuid;
|
|
2556
|
+
this._warnings = config.warnings;
|
|
2557
|
+
this._params.internalValue = config.params;
|
|
2558
|
+
this._state.internalValue = config.state;
|
|
2559
|
+
this._tasks.internalValue = config.tasks;
|
|
2560
|
+
this._techsupportReadiness.internalValue = config.techsupportReadiness;
|
|
2561
|
+
}
|
|
2562
|
+
// ==========
|
|
2563
|
+
// ATTRIBUTES
|
|
2564
|
+
// ==========
|
|
2565
|
+
// case_number - computed: true, optional: true, required: false
|
|
2566
|
+
_caseNumber;
|
|
2567
|
+
get caseNumber() {
|
|
2568
|
+
return this.getStringAttribute('case_number');
|
|
2569
|
+
}
|
|
2570
|
+
set caseNumber(value) {
|
|
2571
|
+
this._caseNumber = value;
|
|
2572
|
+
}
|
|
2573
|
+
resetCaseNumber() {
|
|
2574
|
+
this._caseNumber = undefined;
|
|
2575
|
+
}
|
|
2576
|
+
// Temporarily expose input value. Use with caution.
|
|
2577
|
+
get caseNumberInput() {
|
|
2578
|
+
return this._caseNumber;
|
|
2579
|
+
}
|
|
2580
|
+
// description - computed: true, optional: true, required: false
|
|
2581
|
+
_description;
|
|
2582
|
+
get description() {
|
|
2583
|
+
return this.getStringAttribute('description');
|
|
2584
|
+
}
|
|
2585
|
+
set description(value) {
|
|
2586
|
+
this._description = value;
|
|
2587
|
+
}
|
|
2588
|
+
resetDescription() {
|
|
2589
|
+
this._description = undefined;
|
|
2590
|
+
}
|
|
2591
|
+
// Temporarily expose input value. Use with caution.
|
|
2592
|
+
get descriptionInput() {
|
|
2593
|
+
return this._description;
|
|
2594
|
+
}
|
|
2595
|
+
// duration - computed: true, optional: true, required: false
|
|
2596
|
+
_duration;
|
|
2597
|
+
get duration() {
|
|
2598
|
+
return this.getStringAttribute('duration');
|
|
2599
|
+
}
|
|
2600
|
+
set duration(value) {
|
|
2601
|
+
this._duration = value;
|
|
2602
|
+
}
|
|
2603
|
+
resetDuration() {
|
|
2604
|
+
this._duration = undefined;
|
|
2605
|
+
}
|
|
2606
|
+
// Temporarily expose input value. Use with caution.
|
|
2607
|
+
get durationInput() {
|
|
2608
|
+
return this._duration;
|
|
2609
|
+
}
|
|
2610
|
+
// end_time - computed: true, optional: true, required: false
|
|
2611
|
+
_endTime;
|
|
2612
|
+
get endTime() {
|
|
2613
|
+
return this.getStringAttribute('end_time');
|
|
2614
|
+
}
|
|
2615
|
+
set endTime(value) {
|
|
2616
|
+
this._endTime = value;
|
|
2617
|
+
}
|
|
2618
|
+
resetEndTime() {
|
|
2619
|
+
this._endTime = undefined;
|
|
2620
|
+
}
|
|
2621
|
+
// Temporarily expose input value. Use with caution.
|
|
2622
|
+
get endTimeInput() {
|
|
2623
|
+
return this._endTime;
|
|
2624
|
+
}
|
|
2625
|
+
// errors - computed: false, optional: true, required: false
|
|
2626
|
+
_errors;
|
|
2627
|
+
get errors() {
|
|
2628
|
+
return this.getListAttribute('errors');
|
|
2629
|
+
}
|
|
2630
|
+
set errors(value) {
|
|
2631
|
+
this._errors = value;
|
|
2632
|
+
}
|
|
2633
|
+
resetErrors() {
|
|
2634
|
+
this._errors = undefined;
|
|
2635
|
+
}
|
|
2636
|
+
// Temporarily expose input value. Use with caution.
|
|
2637
|
+
get errorsInput() {
|
|
2638
|
+
return this._errors;
|
|
2639
|
+
}
|
|
2640
|
+
// id - computed: true, optional: true, required: false
|
|
2641
|
+
_id;
|
|
2642
|
+
get id() {
|
|
2643
|
+
return this.getStringAttribute('id');
|
|
2644
|
+
}
|
|
2645
|
+
set id(value) {
|
|
2646
|
+
this._id = value;
|
|
2647
|
+
}
|
|
2648
|
+
resetId() {
|
|
2649
|
+
this._id = undefined;
|
|
2650
|
+
}
|
|
2651
|
+
// Temporarily expose input value. Use with caution.
|
|
2652
|
+
get idInput() {
|
|
2653
|
+
return this._id;
|
|
2654
|
+
}
|
|
2655
|
+
// level - computed: true, optional: true, required: false
|
|
2656
|
+
_level;
|
|
2657
|
+
get level() {
|
|
2658
|
+
return this.getStringAttribute('level');
|
|
2659
|
+
}
|
|
2660
|
+
set level(value) {
|
|
2661
|
+
this._level = value;
|
|
2662
|
+
}
|
|
2663
|
+
resetLevel() {
|
|
2664
|
+
this._level = undefined;
|
|
2665
|
+
}
|
|
2666
|
+
// Temporarily expose input value. Use with caution.
|
|
2667
|
+
get levelInput() {
|
|
2668
|
+
return this._level;
|
|
2669
|
+
}
|
|
2670
|
+
// name - computed: true, optional: true, required: false
|
|
2671
|
+
_name;
|
|
2672
|
+
get name() {
|
|
2673
|
+
return this.getStringAttribute('name');
|
|
2674
|
+
}
|
|
2675
|
+
set name(value) {
|
|
2676
|
+
this._name = value;
|
|
2677
|
+
}
|
|
2678
|
+
resetName() {
|
|
2679
|
+
this._name = undefined;
|
|
2680
|
+
}
|
|
2681
|
+
// Temporarily expose input value. Use with caution.
|
|
2682
|
+
get nameInput() {
|
|
2683
|
+
return this._name;
|
|
2684
|
+
}
|
|
2685
|
+
// node - computed: true, optional: true, required: false
|
|
2686
|
+
_node;
|
|
2687
|
+
get nodeAttribute() {
|
|
2688
|
+
return this.getStringAttribute('node');
|
|
2689
|
+
}
|
|
2690
|
+
set nodeAttribute(value) {
|
|
2691
|
+
this._node = value;
|
|
2692
|
+
}
|
|
2693
|
+
resetNodeAttribute() {
|
|
2694
|
+
this._node = undefined;
|
|
2695
|
+
}
|
|
2696
|
+
// Temporarily expose input value. Use with caution.
|
|
2697
|
+
get nodeAttributeInput() {
|
|
2698
|
+
return this._node;
|
|
2699
|
+
}
|
|
2700
|
+
// obj_name - computed: true, optional: true, required: false
|
|
2701
|
+
_objName;
|
|
2702
|
+
get objName() {
|
|
2703
|
+
return this.getStringAttribute('obj_name');
|
|
2704
|
+
}
|
|
2705
|
+
set objName(value) {
|
|
2706
|
+
this._objName = value;
|
|
2707
|
+
}
|
|
2708
|
+
resetObjName() {
|
|
2709
|
+
this._objName = undefined;
|
|
2710
|
+
}
|
|
2711
|
+
// Temporarily expose input value. Use with caution.
|
|
2712
|
+
get objNameInput() {
|
|
2713
|
+
return this._objName;
|
|
2714
|
+
}
|
|
2715
|
+
// obj_uuid - computed: true, optional: true, required: false
|
|
2716
|
+
_objUuid;
|
|
2717
|
+
get objUuid() {
|
|
2718
|
+
return this.getStringAttribute('obj_uuid');
|
|
2719
|
+
}
|
|
2720
|
+
set objUuid(value) {
|
|
2721
|
+
this._objUuid = value;
|
|
2722
|
+
}
|
|
2723
|
+
resetObjUuid() {
|
|
2724
|
+
this._objUuid = undefined;
|
|
2725
|
+
}
|
|
2726
|
+
// Temporarily expose input value. Use with caution.
|
|
2727
|
+
get objUuidInput() {
|
|
2728
|
+
return this._objUuid;
|
|
2729
|
+
}
|
|
2730
|
+
// output - computed: true, optional: true, required: false
|
|
2731
|
+
_output;
|
|
2732
|
+
get output() {
|
|
2733
|
+
return this.getStringAttribute('output');
|
|
2734
|
+
}
|
|
2735
|
+
set output(value) {
|
|
2736
|
+
this._output = value;
|
|
2737
|
+
}
|
|
2738
|
+
resetOutput() {
|
|
2739
|
+
this._output = undefined;
|
|
2740
|
+
}
|
|
2741
|
+
// Temporarily expose input value. Use with caution.
|
|
2742
|
+
get outputInput() {
|
|
2743
|
+
return this._output;
|
|
2744
|
+
}
|
|
2745
|
+
// progress - computed: false, optional: true, required: false
|
|
2746
|
+
_progress;
|
|
2747
|
+
get progress() {
|
|
2748
|
+
return this.getStringAttribute('progress');
|
|
2749
|
+
}
|
|
2750
|
+
set progress(value) {
|
|
2751
|
+
this._progress = value;
|
|
2752
|
+
}
|
|
2753
|
+
resetProgress() {
|
|
2754
|
+
this._progress = undefined;
|
|
2755
|
+
}
|
|
2756
|
+
// Temporarily expose input value. Use with caution.
|
|
2757
|
+
get progressInput() {
|
|
2758
|
+
return this._progress;
|
|
2759
|
+
}
|
|
2760
|
+
// size - computed: true, optional: true, required: false
|
|
2761
|
+
_size;
|
|
2762
|
+
get size() {
|
|
2763
|
+
return this.getStringAttribute('size');
|
|
2764
|
+
}
|
|
2765
|
+
set size(value) {
|
|
2766
|
+
this._size = value;
|
|
2767
|
+
}
|
|
2768
|
+
resetSize() {
|
|
2769
|
+
this._size = undefined;
|
|
2770
|
+
}
|
|
2771
|
+
// Temporarily expose input value. Use with caution.
|
|
2772
|
+
get sizeInput() {
|
|
2773
|
+
return this._size;
|
|
2774
|
+
}
|
|
2775
|
+
// start_time - computed: true, optional: true, required: false
|
|
2776
|
+
_startTime;
|
|
2777
|
+
get startTime() {
|
|
2778
|
+
return this.getStringAttribute('start_time');
|
|
2779
|
+
}
|
|
2780
|
+
set startTime(value) {
|
|
2781
|
+
this._startTime = value;
|
|
2782
|
+
}
|
|
2783
|
+
resetStartTime() {
|
|
2784
|
+
this._startTime = undefined;
|
|
2785
|
+
}
|
|
2786
|
+
// Temporarily expose input value. Use with caution.
|
|
2787
|
+
get startTimeInput() {
|
|
2788
|
+
return this._startTime;
|
|
2789
|
+
}
|
|
2790
|
+
// tasks_completed - computed: true, optional: true, required: false
|
|
2791
|
+
_tasksCompleted;
|
|
2792
|
+
get tasksCompleted() {
|
|
2793
|
+
return this.getStringAttribute('tasks_completed');
|
|
2794
|
+
}
|
|
2795
|
+
set tasksCompleted(value) {
|
|
2796
|
+
this._tasksCompleted = value;
|
|
2797
|
+
}
|
|
2798
|
+
resetTasksCompleted() {
|
|
2799
|
+
this._tasksCompleted = undefined;
|
|
2800
|
+
}
|
|
2801
|
+
// Temporarily expose input value. Use with caution.
|
|
2802
|
+
get tasksCompletedInput() {
|
|
2803
|
+
return this._tasksCompleted;
|
|
2804
|
+
}
|
|
2805
|
+
// tenant_ref - computed: true, optional: true, required: false
|
|
2806
|
+
_tenantRef;
|
|
2807
|
+
get tenantRef() {
|
|
2808
|
+
return this.getStringAttribute('tenant_ref');
|
|
2809
|
+
}
|
|
2810
|
+
set tenantRef(value) {
|
|
2811
|
+
this._tenantRef = value;
|
|
2812
|
+
}
|
|
2813
|
+
resetTenantRef() {
|
|
2814
|
+
this._tenantRef = undefined;
|
|
2815
|
+
}
|
|
2816
|
+
// Temporarily expose input value. Use with caution.
|
|
2817
|
+
get tenantRefInput() {
|
|
2818
|
+
return this._tenantRef;
|
|
2819
|
+
}
|
|
2820
|
+
// total_tasks - computed: true, optional: true, required: false
|
|
2821
|
+
_totalTasks;
|
|
2822
|
+
get totalTasks() {
|
|
2823
|
+
return this.getStringAttribute('total_tasks');
|
|
2824
|
+
}
|
|
2825
|
+
set totalTasks(value) {
|
|
2826
|
+
this._totalTasks = value;
|
|
2827
|
+
}
|
|
2828
|
+
resetTotalTasks() {
|
|
2829
|
+
this._totalTasks = undefined;
|
|
2830
|
+
}
|
|
2831
|
+
// Temporarily expose input value. Use with caution.
|
|
2832
|
+
get totalTasksInput() {
|
|
2833
|
+
return this._totalTasks;
|
|
2834
|
+
}
|
|
2835
|
+
// uuid - computed: true, optional: true, required: false
|
|
2836
|
+
_uuid;
|
|
2837
|
+
get uuid() {
|
|
2838
|
+
return this.getStringAttribute('uuid');
|
|
2839
|
+
}
|
|
2840
|
+
set uuid(value) {
|
|
2841
|
+
this._uuid = value;
|
|
2842
|
+
}
|
|
2843
|
+
resetUuid() {
|
|
2844
|
+
this._uuid = undefined;
|
|
2845
|
+
}
|
|
2846
|
+
// Temporarily expose input value. Use with caution.
|
|
2847
|
+
get uuidInput() {
|
|
2848
|
+
return this._uuid;
|
|
2849
|
+
}
|
|
2850
|
+
// warnings - computed: false, optional: true, required: false
|
|
2851
|
+
_warnings;
|
|
2852
|
+
get warnings() {
|
|
2853
|
+
return this.getListAttribute('warnings');
|
|
2854
|
+
}
|
|
2855
|
+
set warnings(value) {
|
|
2856
|
+
this._warnings = value;
|
|
2857
|
+
}
|
|
2858
|
+
resetWarnings() {
|
|
2859
|
+
this._warnings = undefined;
|
|
2860
|
+
}
|
|
2861
|
+
// Temporarily expose input value. Use with caution.
|
|
2862
|
+
get warningsInput() {
|
|
2863
|
+
return this._warnings;
|
|
2864
|
+
}
|
|
2865
|
+
// params - computed: false, optional: true, required: false
|
|
2866
|
+
_params = new TechsupportParamsList(this, "params", true);
|
|
2867
|
+
get params() {
|
|
2868
|
+
return this._params;
|
|
2869
|
+
}
|
|
2870
|
+
putParams(value) {
|
|
2871
|
+
this._params.internalValue = value;
|
|
2872
|
+
}
|
|
2873
|
+
resetParams() {
|
|
2874
|
+
this._params.internalValue = undefined;
|
|
2875
|
+
}
|
|
2876
|
+
// Temporarily expose input value. Use with caution.
|
|
2877
|
+
get paramsInput() {
|
|
2878
|
+
return this._params.internalValue;
|
|
2879
|
+
}
|
|
2880
|
+
// state - computed: false, optional: true, required: false
|
|
2881
|
+
_state = new TechsupportStateList(this, "state", true);
|
|
2882
|
+
get state() {
|
|
2883
|
+
return this._state;
|
|
2884
|
+
}
|
|
2885
|
+
putState(value) {
|
|
2886
|
+
this._state.internalValue = value;
|
|
2887
|
+
}
|
|
2888
|
+
resetState() {
|
|
2889
|
+
this._state.internalValue = undefined;
|
|
2890
|
+
}
|
|
2891
|
+
// Temporarily expose input value. Use with caution.
|
|
2892
|
+
get stateInput() {
|
|
2893
|
+
return this._state.internalValue;
|
|
2894
|
+
}
|
|
2895
|
+
// tasks - computed: false, optional: true, required: false
|
|
2896
|
+
_tasks = new TechsupportTasksList(this, "tasks", false);
|
|
2897
|
+
get tasks() {
|
|
2898
|
+
return this._tasks;
|
|
2899
|
+
}
|
|
2900
|
+
putTasks(value) {
|
|
2901
|
+
this._tasks.internalValue = value;
|
|
2902
|
+
}
|
|
2903
|
+
resetTasks() {
|
|
2904
|
+
this._tasks.internalValue = undefined;
|
|
2905
|
+
}
|
|
2906
|
+
// Temporarily expose input value. Use with caution.
|
|
2907
|
+
get tasksInput() {
|
|
2908
|
+
return this._tasks.internalValue;
|
|
2909
|
+
}
|
|
2910
|
+
// techsupport_readiness - computed: false, optional: true, required: false
|
|
2911
|
+
_techsupportReadiness = new TechsupportTechsupportReadinessList(this, "techsupport_readiness", true);
|
|
2912
|
+
get techsupportReadiness() {
|
|
2913
|
+
return this._techsupportReadiness;
|
|
2914
|
+
}
|
|
2915
|
+
putTechsupportReadiness(value) {
|
|
2916
|
+
this._techsupportReadiness.internalValue = value;
|
|
2917
|
+
}
|
|
2918
|
+
resetTechsupportReadiness() {
|
|
2919
|
+
this._techsupportReadiness.internalValue = undefined;
|
|
2920
|
+
}
|
|
2921
|
+
// Temporarily expose input value. Use with caution.
|
|
2922
|
+
get techsupportReadinessInput() {
|
|
2923
|
+
return this._techsupportReadiness.internalValue;
|
|
2924
|
+
}
|
|
2925
|
+
// =========
|
|
2926
|
+
// SYNTHESIS
|
|
2927
|
+
// =========
|
|
2928
|
+
synthesizeAttributes() {
|
|
2929
|
+
return {
|
|
2930
|
+
case_number: cdktf.stringToTerraform(this._caseNumber),
|
|
2931
|
+
description: cdktf.stringToTerraform(this._description),
|
|
2932
|
+
duration: cdktf.stringToTerraform(this._duration),
|
|
2933
|
+
end_time: cdktf.stringToTerraform(this._endTime),
|
|
2934
|
+
errors: cdktf.listMapper(cdktf.stringToTerraform, false)(this._errors),
|
|
2935
|
+
id: cdktf.stringToTerraform(this._id),
|
|
2936
|
+
level: cdktf.stringToTerraform(this._level),
|
|
2937
|
+
name: cdktf.stringToTerraform(this._name),
|
|
2938
|
+
node: cdktf.stringToTerraform(this._node),
|
|
2939
|
+
obj_name: cdktf.stringToTerraform(this._objName),
|
|
2940
|
+
obj_uuid: cdktf.stringToTerraform(this._objUuid),
|
|
2941
|
+
output: cdktf.stringToTerraform(this._output),
|
|
2942
|
+
progress: cdktf.stringToTerraform(this._progress),
|
|
2943
|
+
size: cdktf.stringToTerraform(this._size),
|
|
2944
|
+
start_time: cdktf.stringToTerraform(this._startTime),
|
|
2945
|
+
tasks_completed: cdktf.stringToTerraform(this._tasksCompleted),
|
|
2946
|
+
tenant_ref: cdktf.stringToTerraform(this._tenantRef),
|
|
2947
|
+
total_tasks: cdktf.stringToTerraform(this._totalTasks),
|
|
2948
|
+
uuid: cdktf.stringToTerraform(this._uuid),
|
|
2949
|
+
warnings: cdktf.listMapper(cdktf.stringToTerraform, false)(this._warnings),
|
|
2950
|
+
params: cdktf.listMapper(techsupportParamsToTerraform, true)(this._params.internalValue),
|
|
2951
|
+
state: cdktf.listMapper(techsupportStateToTerraform, true)(this._state.internalValue),
|
|
2952
|
+
tasks: cdktf.listMapper(techsupportTasksToTerraform, true)(this._tasks.internalValue),
|
|
2953
|
+
techsupport_readiness: cdktf.listMapper(techsupportTechsupportReadinessToTerraform, true)(this._techsupportReadiness.internalValue),
|
|
2954
|
+
};
|
|
2955
|
+
}
|
|
2956
|
+
synthesizeHclAttributes() {
|
|
2957
|
+
const attrs = {
|
|
2958
|
+
case_number: {
|
|
2959
|
+
value: cdktf.stringToHclTerraform(this._caseNumber),
|
|
2960
|
+
isBlock: false,
|
|
2961
|
+
type: "simple",
|
|
2962
|
+
storageClassType: "string",
|
|
2963
|
+
},
|
|
2964
|
+
description: {
|
|
2965
|
+
value: cdktf.stringToHclTerraform(this._description),
|
|
2966
|
+
isBlock: false,
|
|
2967
|
+
type: "simple",
|
|
2968
|
+
storageClassType: "string",
|
|
2969
|
+
},
|
|
2970
|
+
duration: {
|
|
2971
|
+
value: cdktf.stringToHclTerraform(this._duration),
|
|
2972
|
+
isBlock: false,
|
|
2973
|
+
type: "simple",
|
|
2974
|
+
storageClassType: "string",
|
|
2975
|
+
},
|
|
2976
|
+
end_time: {
|
|
2977
|
+
value: cdktf.stringToHclTerraform(this._endTime),
|
|
2978
|
+
isBlock: false,
|
|
2979
|
+
type: "simple",
|
|
2980
|
+
storageClassType: "string",
|
|
2981
|
+
},
|
|
2982
|
+
errors: {
|
|
2983
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._errors),
|
|
2984
|
+
isBlock: false,
|
|
2985
|
+
type: "list",
|
|
2986
|
+
storageClassType: "stringList",
|
|
2987
|
+
},
|
|
2988
|
+
id: {
|
|
2989
|
+
value: cdktf.stringToHclTerraform(this._id),
|
|
2990
|
+
isBlock: false,
|
|
2991
|
+
type: "simple",
|
|
2992
|
+
storageClassType: "string",
|
|
2993
|
+
},
|
|
2994
|
+
level: {
|
|
2995
|
+
value: cdktf.stringToHclTerraform(this._level),
|
|
2996
|
+
isBlock: false,
|
|
2997
|
+
type: "simple",
|
|
2998
|
+
storageClassType: "string",
|
|
2999
|
+
},
|
|
3000
|
+
name: {
|
|
3001
|
+
value: cdktf.stringToHclTerraform(this._name),
|
|
3002
|
+
isBlock: false,
|
|
3003
|
+
type: "simple",
|
|
3004
|
+
storageClassType: "string",
|
|
3005
|
+
},
|
|
3006
|
+
node: {
|
|
3007
|
+
value: cdktf.stringToHclTerraform(this._node),
|
|
3008
|
+
isBlock: false,
|
|
3009
|
+
type: "simple",
|
|
3010
|
+
storageClassType: "string",
|
|
3011
|
+
},
|
|
3012
|
+
obj_name: {
|
|
3013
|
+
value: cdktf.stringToHclTerraform(this._objName),
|
|
3014
|
+
isBlock: false,
|
|
3015
|
+
type: "simple",
|
|
3016
|
+
storageClassType: "string",
|
|
3017
|
+
},
|
|
3018
|
+
obj_uuid: {
|
|
3019
|
+
value: cdktf.stringToHclTerraform(this._objUuid),
|
|
3020
|
+
isBlock: false,
|
|
3021
|
+
type: "simple",
|
|
3022
|
+
storageClassType: "string",
|
|
3023
|
+
},
|
|
3024
|
+
output: {
|
|
3025
|
+
value: cdktf.stringToHclTerraform(this._output),
|
|
3026
|
+
isBlock: false,
|
|
3027
|
+
type: "simple",
|
|
3028
|
+
storageClassType: "string",
|
|
3029
|
+
},
|
|
3030
|
+
progress: {
|
|
3031
|
+
value: cdktf.stringToHclTerraform(this._progress),
|
|
3032
|
+
isBlock: false,
|
|
3033
|
+
type: "simple",
|
|
3034
|
+
storageClassType: "string",
|
|
3035
|
+
},
|
|
3036
|
+
size: {
|
|
3037
|
+
value: cdktf.stringToHclTerraform(this._size),
|
|
3038
|
+
isBlock: false,
|
|
3039
|
+
type: "simple",
|
|
3040
|
+
storageClassType: "string",
|
|
3041
|
+
},
|
|
3042
|
+
start_time: {
|
|
3043
|
+
value: cdktf.stringToHclTerraform(this._startTime),
|
|
3044
|
+
isBlock: false,
|
|
3045
|
+
type: "simple",
|
|
3046
|
+
storageClassType: "string",
|
|
3047
|
+
},
|
|
3048
|
+
tasks_completed: {
|
|
3049
|
+
value: cdktf.stringToHclTerraform(this._tasksCompleted),
|
|
3050
|
+
isBlock: false,
|
|
3051
|
+
type: "simple",
|
|
3052
|
+
storageClassType: "string",
|
|
3053
|
+
},
|
|
3054
|
+
tenant_ref: {
|
|
3055
|
+
value: cdktf.stringToHclTerraform(this._tenantRef),
|
|
3056
|
+
isBlock: false,
|
|
3057
|
+
type: "simple",
|
|
3058
|
+
storageClassType: "string",
|
|
3059
|
+
},
|
|
3060
|
+
total_tasks: {
|
|
3061
|
+
value: cdktf.stringToHclTerraform(this._totalTasks),
|
|
3062
|
+
isBlock: false,
|
|
3063
|
+
type: "simple",
|
|
3064
|
+
storageClassType: "string",
|
|
3065
|
+
},
|
|
3066
|
+
uuid: {
|
|
3067
|
+
value: cdktf.stringToHclTerraform(this._uuid),
|
|
3068
|
+
isBlock: false,
|
|
3069
|
+
type: "simple",
|
|
3070
|
+
storageClassType: "string",
|
|
3071
|
+
},
|
|
3072
|
+
warnings: {
|
|
3073
|
+
value: cdktf.listMapperHcl(cdktf.stringToHclTerraform, false)(this._warnings),
|
|
3074
|
+
isBlock: false,
|
|
3075
|
+
type: "list",
|
|
3076
|
+
storageClassType: "stringList",
|
|
3077
|
+
},
|
|
3078
|
+
params: {
|
|
3079
|
+
value: cdktf.listMapperHcl(techsupportParamsToHclTerraform, true)(this._params.internalValue),
|
|
3080
|
+
isBlock: true,
|
|
3081
|
+
type: "set",
|
|
3082
|
+
storageClassType: "TechsupportParamsList",
|
|
3083
|
+
},
|
|
3084
|
+
state: {
|
|
3085
|
+
value: cdktf.listMapperHcl(techsupportStateToHclTerraform, true)(this._state.internalValue),
|
|
3086
|
+
isBlock: true,
|
|
3087
|
+
type: "set",
|
|
3088
|
+
storageClassType: "TechsupportStateList",
|
|
3089
|
+
},
|
|
3090
|
+
tasks: {
|
|
3091
|
+
value: cdktf.listMapperHcl(techsupportTasksToHclTerraform, true)(this._tasks.internalValue),
|
|
3092
|
+
isBlock: true,
|
|
3093
|
+
type: "list",
|
|
3094
|
+
storageClassType: "TechsupportTasksList",
|
|
3095
|
+
},
|
|
3096
|
+
techsupport_readiness: {
|
|
3097
|
+
value: cdktf.listMapperHcl(techsupportTechsupportReadinessToHclTerraform, true)(this._techsupportReadiness.internalValue),
|
|
3098
|
+
isBlock: true,
|
|
3099
|
+
type: "set",
|
|
3100
|
+
storageClassType: "TechsupportTechsupportReadinessList",
|
|
3101
|
+
},
|
|
3102
|
+
};
|
|
3103
|
+
// remove undefined attributes
|
|
3104
|
+
return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
|
|
3105
|
+
}
|
|
3106
|
+
}
|