@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.
Files changed (565) hide show
  1. package/README.md +3 -3
  2. package/dist/actiongroupconfig/index.d.ts +17 -17
  3. package/dist/actiongroupconfig/index.js +6 -6
  4. package/dist/albservicesconfig/index.d.ts +94 -85
  5. package/dist/albservicesconfig/index.js +79 -51
  6. package/dist/albservicesfiledownload/index.d.ts +21 -21
  7. package/dist/albservicesfiledownload/index.js +6 -6
  8. package/dist/albservicesfileupload/index.d.ts +12 -12
  9. package/dist/albservicesfileupload/index.js +6 -6
  10. package/dist/albservicesjob/index.d.ts +27 -27
  11. package/dist/albservicesjob/index.js +6 -6
  12. package/dist/alertconfig/index.d.ts +42 -42
  13. package/dist/alertconfig/index.js +6 -6
  14. package/dist/alertemailconfig/index.d.ts +12 -12
  15. package/dist/alertemailconfig/index.js +6 -6
  16. package/dist/alertscriptconfig/index.d.ts +20 -11
  17. package/dist/alertscriptconfig/index.js +29 -6
  18. package/dist/alertsyslogconfig/index.d.ts +21 -21
  19. package/dist/alertsyslogconfig/index.js +6 -6
  20. package/dist/analyticsprofile/index.d.ts +164 -155
  21. package/dist/analyticsprofile/index.js +29 -6
  22. package/dist/apiratelimitprofile/index.d.ts +149 -0
  23. package/dist/apiratelimitprofile/index.js +354 -0
  24. package/dist/applicationinsightspolicy/index.d.ts +423 -0
  25. package/dist/applicationinsightspolicy/index.js +1086 -0
  26. package/dist/applicationpersistenceprofile/index.d.ts +99 -37
  27. package/dist/applicationpersistenceprofile/index.js +165 -6
  28. package/dist/applicationprofile/index-structs/structs0.d.ts +493 -448
  29. package/dist/applicationprofile/index-structs/structs0.js +276 -130
  30. package/dist/applicationprofile/index-structs/structs400.d.ts +236 -185
  31. package/dist/applicationprofile/index-structs/structs400.js +131 -1
  32. package/dist/applicationprofile/index.d.ts +35 -24
  33. package/dist/applicationprofile/index.js +29 -6
  34. package/dist/authmappingprofile/index.d.ts +33 -33
  35. package/dist/authmappingprofile/index.js +6 -6
  36. package/dist/authprofile/index.d.ts +108 -99
  37. package/dist/authprofile/index.js +34 -6
  38. package/dist/autoscalelaunchconfig/index.d.ts +20 -20
  39. package/dist/autoscalelaunchconfig/index.js +6 -6
  40. package/dist/availabilityzone/index.d.ts +202 -16
  41. package/dist/availabilityzone/index.js +502 -20
  42. package/dist/backup/index.d.ts +12 -12
  43. package/dist/backup/index.js +6 -6
  44. package/dist/backupconfiguration/index.d.ts +33 -24
  45. package/dist/backupconfiguration/index.js +29 -6
  46. package/dist/botconfigconsolidator/index.d.ts +62 -9
  47. package/dist/botconfigconsolidator/index.js +137 -6
  48. package/dist/botdetectionpolicy/index.d.ts +187 -125
  49. package/dist/botdetectionpolicy/index.js +165 -6
  50. package/dist/botipreputationtypemapping/index.d.ts +66 -13
  51. package/dist/botipreputationtypemapping/index.js +137 -6
  52. package/dist/botmapping/index.d.ts +123 -61
  53. package/dist/botmapping/index.js +165 -6
  54. package/dist/certificatemanagementprofile/index.d.ts +18 -18
  55. package/dist/certificatemanagementprofile/index.js +6 -6
  56. package/dist/cloud/index.d.ts +368 -983
  57. package/dist/cloud/index.js +313 -2049
  58. package/dist/cloudconnectoruser/index.d.ts +31 -111
  59. package/dist/cloudconnectoruser/index.js +6 -221
  60. package/dist/cloudproperties/index.d.ts +416 -256
  61. package/dist/cloudproperties/index.js +704 -264
  62. package/dist/cluster/index.d.ts +77 -77
  63. package/dist/cluster/index.js +6 -6
  64. package/dist/clusterclouddetails/index.d.ts +12 -12
  65. package/dist/clusterclouddetails/index.js +6 -6
  66. package/dist/controllerportalregistration/index.d.ts +15 -15
  67. package/dist/controllerportalregistration/index.js +6 -6
  68. package/dist/controllerproperties/index.d.ts +372 -212
  69. package/dist/controllerproperties/index.js +648 -218
  70. package/dist/controllersite/index.d.ts +11 -11
  71. package/dist/controllersite/index.js +6 -6
  72. package/dist/csrfpolicy/index.d.ts +126 -108
  73. package/dist/csrfpolicy/index.js +57 -6
  74. package/dist/customipamdnsprofile/index.d.ts +15 -15
  75. package/dist/customipamdnsprofile/index.js +6 -6
  76. package/dist/data-avi-actiongroupconfig/index.d.ts +7 -7
  77. package/dist/data-avi-actiongroupconfig/index.js +6 -6
  78. package/dist/data-avi-albservicesconfig/index.d.ts +10 -9
  79. package/dist/data-avi-albservicesconfig/index.js +17 -13
  80. package/dist/data-avi-albservicesfiledownload/index.d.ts +7 -7
  81. package/dist/data-avi-albservicesfiledownload/index.js +6 -6
  82. package/dist/data-avi-albservicesfileupload/index.d.ts +7 -7
  83. package/dist/data-avi-albservicesfileupload/index.js +6 -6
  84. package/dist/data-avi-albservicesjob/index.d.ts +7 -7
  85. package/dist/data-avi-albservicesjob/index.js +6 -6
  86. package/dist/data-avi-alertconfig/index.d.ts +7 -7
  87. package/dist/data-avi-alertconfig/index.js +6 -6
  88. package/dist/data-avi-alertemailconfig/index.d.ts +7 -7
  89. package/dist/data-avi-alertemailconfig/index.js +6 -6
  90. package/dist/data-avi-alertscriptconfig/index.d.ts +8 -7
  91. package/dist/data-avi-alertscriptconfig/index.js +10 -6
  92. package/dist/data-avi-alertsyslogconfig/index.d.ts +7 -7
  93. package/dist/data-avi-alertsyslogconfig/index.js +6 -6
  94. package/dist/data-avi-analyticsprofile/index.d.ts +8 -7
  95. package/dist/data-avi-analyticsprofile/index.js +10 -6
  96. package/dist/data-avi-apiratelimitprofile/index.d.ts +108 -0
  97. package/dist/data-avi-apiratelimitprofile/index.js +247 -0
  98. package/dist/data-avi-applicationinsightspolicy/index.d.ts +251 -0
  99. package/dist/data-avi-applicationinsightspolicy/index.js +575 -0
  100. package/dist/data-avi-applicationpersistenceprofile/index.d.ts +42 -7
  101. package/dist/data-avi-applicationpersistenceprofile/index.js +85 -6
  102. package/dist/data-avi-applicationprofile/index-structs/structs0.d.ts +38 -34
  103. package/dist/data-avi-applicationprofile/index-structs/structs0.js +94 -75
  104. package/dist/data-avi-applicationprofile/index-structs/structs400.d.ts +35 -1
  105. package/dist/data-avi-applicationprofile/index-structs/structs400.js +76 -1
  106. package/dist/data-avi-applicationprofile/index.d.ts +9 -7
  107. package/dist/data-avi-applicationprofile/index.js +11 -6
  108. package/dist/data-avi-authmappingprofile/index.d.ts +7 -7
  109. package/dist/data-avi-authmappingprofile/index.js +6 -6
  110. package/dist/data-avi-authprofile/index.d.ts +8 -7
  111. package/dist/data-avi-authprofile/index.js +10 -6
  112. package/dist/data-avi-autoscalelaunchconfig/index.d.ts +7 -7
  113. package/dist/data-avi-autoscalelaunchconfig/index.js +6 -6
  114. package/dist/data-avi-availabilityzone/index.d.ts +114 -9
  115. package/dist/data-avi-availabilityzone/index.js +247 -10
  116. package/dist/data-avi-backup/index.d.ts +6 -6
  117. package/dist/data-avi-backup/index.js +6 -6
  118. package/dist/data-avi-backupconfiguration/index.d.ts +8 -7
  119. package/dist/data-avi-backupconfiguration/index.js +10 -6
  120. package/dist/data-avi-botconfigconsolidator/index.d.ts +41 -7
  121. package/dist/data-avi-botconfigconsolidator/index.js +81 -6
  122. package/dist/data-avi-botdetectionpolicy/index.d.ts +42 -7
  123. package/dist/data-avi-botdetectionpolicy/index.js +85 -6
  124. package/dist/data-avi-botipreputationtypemapping/index.d.ts +41 -7
  125. package/dist/data-avi-botipreputationtypemapping/index.js +81 -6
  126. package/dist/data-avi-botmapping/index.d.ts +42 -7
  127. package/dist/data-avi-botmapping/index.js +85 -6
  128. package/dist/data-avi-certificatemanagementprofile/index.d.ts +7 -7
  129. package/dist/data-avi-certificatemanagementprofile/index.js +6 -6
  130. package/dist/data-avi-cloud/index.d.ts +10 -248
  131. package/dist/data-avi-cloud/index.js +18 -604
  132. package/dist/data-avi-cloudconnectoruser/index.d.ts +7 -44
  133. package/dist/data-avi-cloudconnectoruser/index.js +6 -93
  134. package/dist/data-avi-cloudproperties/index.d.ts +89 -15
  135. package/dist/data-avi-cloudproperties/index.js +217 -43
  136. package/dist/data-avi-cluster/index.d.ts +11 -11
  137. package/dist/data-avi-cluster/index.js +6 -6
  138. package/dist/data-avi-clusterclouddetails/index.d.ts +7 -7
  139. package/dist/data-avi-clusterclouddetails/index.js +6 -6
  140. package/dist/data-avi-controllerportalregistration/index.d.ts +7 -7
  141. package/dist/data-avi-controllerportalregistration/index.js +6 -6
  142. package/dist/data-avi-controllerproperties/index.d.ts +89 -15
  143. package/dist/data-avi-controllerproperties/index.js +217 -43
  144. package/dist/data-avi-controllersite/index.d.ts +7 -7
  145. package/dist/data-avi-controllersite/index.js +6 -6
  146. package/dist/data-avi-csrfpolicy/index.d.ts +9 -7
  147. package/dist/data-avi-csrfpolicy/index.js +14 -6
  148. package/dist/data-avi-customipamdnsprofile/index.d.ts +7 -7
  149. package/dist/data-avi-customipamdnsprofile/index.js +6 -6
  150. package/dist/data-avi-dnspolicy/index.d.ts +7 -7
  151. package/dist/data-avi-dnspolicy/index.js +6 -6
  152. package/dist/data-avi-dynamicdnsrecord/index.d.ts +7 -7
  153. package/dist/data-avi-dynamicdnsrecord/index.js +6 -6
  154. package/dist/data-avi-errorpagebody/index.d.ts +7 -7
  155. package/dist/data-avi-errorpagebody/index.js +6 -6
  156. package/dist/data-avi-errorpageprofile/index.d.ts +7 -7
  157. package/dist/data-avi-errorpageprofile/index.js +6 -6
  158. package/dist/data-avi-fileobject/index.d.ts +82 -7
  159. package/dist/data-avi-fileobject/index.js +184 -6
  160. package/dist/data-avi-fileservice/index.d.ts +7 -7
  161. package/dist/data-avi-fileservice/index.js +6 -6
  162. package/dist/data-avi-geodb/index.d.ts +7 -7
  163. package/dist/data-avi-geodb/index.js +6 -6
  164. package/dist/data-avi-gslb/index.d.ts +126 -19
  165. package/dist/data-avi-gslb/index.js +267 -22
  166. package/dist/data-avi-gslbcrmruntime/index.d.ts +11 -8
  167. package/dist/data-avi-gslbcrmruntime/index.js +22 -9
  168. package/dist/data-avi-gslbgeodbprofile/index.d.ts +8 -46
  169. package/dist/data-avi-gslbgeodbprofile/index.js +9 -100
  170. package/dist/data-avi-gslbhsmruntime/index.d.ts +11 -7
  171. package/dist/data-avi-gslbhsmruntime/index.js +22 -5
  172. package/dist/data-avi-gslbservice/index.d.ts +117 -7
  173. package/dist/data-avi-gslbservice/index.js +263 -6
  174. package/dist/data-avi-gslbsmruntime/index.d.ts +57 -7
  175. package/dist/data-avi-gslbsmruntime/index.js +145 -5
  176. package/dist/data-avi-hardwaresecuritymodulegroup/index.d.ts +275 -7
  177. package/dist/data-avi-hardwaresecuritymodulegroup/index.js +651 -6
  178. package/dist/data-avi-healthmonitor/index.d.ts +226 -7
  179. package/dist/data-avi-healthmonitor/index.js +577 -6
  180. package/dist/data-avi-httppolicyset/index-structs/structs0.d.ts +3 -0
  181. package/dist/data-avi-httppolicyset/index-structs/structs0.js +12 -0
  182. package/dist/data-avi-httppolicyset/index-structs/structs400.d.ts +1 -0
  183. package/dist/data-avi-httppolicyset/index-structs/structs400.js +4 -0
  184. package/dist/data-avi-httppolicyset/index.d.ts +7 -7
  185. package/dist/data-avi-httppolicyset/index.js +5 -5
  186. package/dist/data-avi-icapprofile/index.d.ts +8 -8
  187. package/dist/data-avi-icapprofile/index.js +6 -6
  188. package/dist/data-avi-image/index.d.ts +157 -9
  189. package/dist/data-avi-image/index.js +362 -14
  190. package/dist/data-avi-inventoryfaultconfig/index.d.ts +8 -7
  191. package/dist/data-avi-inventoryfaultconfig/index.js +10 -6
  192. package/dist/data-avi-ipaddrgroup/index.d.ts +7 -7
  193. package/dist/data-avi-ipaddrgroup/index.js +6 -6
  194. package/dist/data-avi-ipamdnsproviderprofile/index.d.ts +7 -8
  195. package/dist/data-avi-ipamdnsproviderprofile/index.js +6 -10
  196. package/dist/data-avi-ipreputationdb/index.d.ts +10 -7
  197. package/dist/data-avi-ipreputationdb/index.js +18 -6
  198. package/dist/data-avi-jwtserverprofile/index.d.ts +7 -7
  199. package/dist/data-avi-jwtserverprofile/index.js +6 -6
  200. package/dist/data-avi-l4policyset/index.d.ts +7 -7
  201. package/dist/data-avi-l4policyset/index.js +6 -6
  202. package/dist/data-avi-labelgroup/index.d.ts +6 -6
  203. package/dist/data-avi-labelgroup/index.js +6 -6
  204. package/dist/data-avi-licenseledgerdetails/index.d.ts +77 -5
  205. package/dist/data-avi-licenseledgerdetails/index.js +172 -6
  206. package/dist/data-avi-licensestatus/index.d.ts +9 -5
  207. package/dist/data-avi-licensestatus/index.js +22 -6
  208. package/dist/data-avi-localworkerfdsversion/index.d.ts +7 -7
  209. package/dist/data-avi-localworkerfdsversion/index.js +6 -5
  210. package/dist/data-avi-memorybalancerrequest/index.d.ts +7 -7
  211. package/dist/data-avi-memorybalancerrequest/index.js +6 -6
  212. package/dist/data-avi-microservicegroup/index.d.ts +7 -7
  213. package/dist/data-avi-microservicegroup/index.js +6 -6
  214. package/dist/data-avi-natpolicy/index.d.ts +7 -7
  215. package/dist/data-avi-natpolicy/index.js +6 -6
  216. package/dist/data-avi-network/index.d.ts +8 -8
  217. package/dist/data-avi-network/index.js +6 -6
  218. package/dist/data-avi-networkprofile/index.d.ts +43 -7
  219. package/dist/data-avi-networkprofile/index.js +89 -6
  220. package/dist/data-avi-networksecuritypolicy/index.d.ts +7 -7
  221. package/dist/data-avi-networksecuritypolicy/index.js +6 -6
  222. package/dist/data-avi-networkservice/index.d.ts +8 -8
  223. package/dist/data-avi-networkservice/index.js +6 -6
  224. package/dist/data-avi-nsxtsegmentruntime/index.d.ts +8 -8
  225. package/dist/data-avi-nsxtsegmentruntime/index.js +6 -6
  226. package/dist/data-avi-pkiprofile/index.d.ts +41 -7
  227. package/dist/data-avi-pkiprofile/index.js +81 -6
  228. package/dist/data-avi-pool/index.d.ts +83 -11
  229. package/dist/data-avi-pool/index.js +178 -12
  230. package/dist/data-avi-poolgroup/index.d.ts +8 -8
  231. package/dist/data-avi-poolgroup/index.js +6 -6
  232. package/dist/data-avi-poolgroupdeploymentpolicy/index.d.ts +7 -7
  233. package/dist/data-avi-poolgroupdeploymentpolicy/index.js +6 -6
  234. package/dist/data-avi-positivesecuritypolicy/index.d.ts +182 -0
  235. package/dist/data-avi-positivesecuritypolicy/index.js +421 -0
  236. package/dist/data-avi-prioritylabels/index.d.ts +8 -8
  237. package/dist/data-avi-prioritylabels/index.js +6 -6
  238. package/dist/data-avi-protocolparser/index.d.ts +7 -7
  239. package/dist/data-avi-protocolparser/index.js +6 -6
  240. package/dist/data-avi-ratelimitconfiguration/index.d.ts +145 -0
  241. package/dist/data-avi-ratelimitconfiguration/index.js +334 -0
  242. package/dist/data-avi-report/index.d.ts +723 -0
  243. package/dist/data-avi-report/index.js +1670 -0
  244. package/dist/data-avi-reportprofile/index.d.ts +92 -0
  245. package/dist/data-avi-reportprofile/index.js +209 -0
  246. package/dist/data-avi-retentionpolicy/index.d.ts +7 -7
  247. package/dist/data-avi-retentionpolicy/index.js +6 -5
  248. package/dist/data-avi-rmcloudopsproto/index.d.ts +7 -6
  249. package/dist/data-avi-rmcloudopsproto/index.js +10 -6
  250. package/dist/data-avi-role/index.d.ts +7 -7
  251. package/dist/data-avi-role/index.js +6 -6
  252. package/dist/data-avi-scheduler/index.d.ts +7 -7
  253. package/dist/data-avi-scheduler/index.js +6 -6
  254. package/dist/data-avi-securitymanagerdata/index.d.ts +9 -7
  255. package/dist/data-avi-securitymanagerdata/index.js +14 -6
  256. package/dist/data-avi-securitypolicy/index.d.ts +7 -7
  257. package/dist/data-avi-securitypolicy/index.js +6 -6
  258. package/dist/data-avi-seproperties/index.d.ts +6 -5
  259. package/dist/data-avi-seproperties/index.js +10 -6
  260. package/dist/data-avi-server/index.d.ts +43 -6
  261. package/dist/data-avi-server/index.js +93 -6
  262. package/dist/data-avi-serverautoscalepolicy/index.d.ts +7 -7
  263. package/dist/data-avi-serverautoscalepolicy/index.js +6 -6
  264. package/dist/data-avi-serviceauthprofile/index.d.ts +7 -7
  265. package/dist/data-avi-serviceauthprofile/index.js +6 -6
  266. package/dist/data-avi-serviceengine/index.d.ts +9 -8
  267. package/dist/data-avi-serviceengine/index.js +10 -6
  268. package/dist/data-avi-serviceenginegroup/index.d.ts +159 -9
  269. package/dist/data-avi-serviceenginegroup/index.js +366 -10
  270. package/dist/data-avi-siteversion/index.d.ts +7 -7
  271. package/dist/data-avi-siteversion/index.js +6 -6
  272. package/dist/data-avi-snmptrapprofile/index.d.ts +7 -7
  273. package/dist/data-avi-snmptrapprofile/index.js +6 -6
  274. package/dist/data-avi-sslkeyandcertificate/index.d.ts +75 -7
  275. package/dist/data-avi-sslkeyandcertificate/index.js +156 -6
  276. package/dist/data-avi-sslprofile/index.d.ts +8 -7
  277. package/dist/data-avi-sslprofile/index.js +10 -6
  278. package/dist/data-avi-ssopolicy/index.d.ts +7 -7
  279. package/dist/data-avi-ssopolicy/index.js +6 -6
  280. package/dist/data-avi-statediffoperation/index.d.ts +7 -7
  281. package/dist/data-avi-statediffoperation/index.js +6 -6
  282. package/dist/data-avi-statediffsnapshot/index.d.ts +31 -7
  283. package/dist/data-avi-statediffsnapshot/index.js +102 -6
  284. package/dist/data-avi-stringgroup/index.d.ts +7 -7
  285. package/dist/data-avi-stringgroup/index.js +6 -6
  286. package/dist/data-avi-systemconfiguration/index.d.ts +156 -5
  287. package/dist/data-avi-systemconfiguration/index.js +366 -6
  288. package/dist/data-avi-systemlimits/index.d.ts +11 -8
  289. package/dist/data-avi-systemlimits/index.js +30 -18
  290. package/dist/data-avi-systemreport/index.d.ts +383 -7
  291. package/dist/data-avi-systemreport/index.js +900 -6
  292. package/dist/data-avi-taskjournal/index.d.ts +90 -7
  293. package/dist/data-avi-taskjournal/index.js +216 -6
  294. package/dist/data-avi-techsupport/index.d.ts +501 -0
  295. package/dist/data-avi-techsupport/index.js +1209 -0
  296. package/dist/data-avi-techsupportmessage/index.d.ts +47 -0
  297. package/dist/data-avi-techsupportmessage/index.js +103 -0
  298. package/dist/data-avi-techsupportprofile/index.d.ts +163 -0
  299. package/dist/data-avi-techsupportprofile/index.js +371 -0
  300. package/dist/data-avi-tenant/index.d.ts +41 -6
  301. package/dist/data-avi-tenant/index.js +85 -6
  302. package/dist/data-avi-tenantsystemconfiguration/index.d.ts +7 -7
  303. package/dist/data-avi-tenantsystemconfiguration/index.js +6 -6
  304. package/dist/data-avi-testsedatastorelevel1/index.d.ts +7 -7
  305. package/dist/data-avi-testsedatastorelevel1/index.js +6 -6
  306. package/dist/data-avi-testsedatastorelevel2/index.d.ts +7 -7
  307. package/dist/data-avi-testsedatastorelevel2/index.js +6 -6
  308. package/dist/data-avi-testsedatastorelevel3/index.d.ts +7 -7
  309. package/dist/data-avi-testsedatastorelevel3/index.js +6 -6
  310. package/dist/data-avi-trafficcloneprofile/index.d.ts +8 -8
  311. package/dist/data-avi-trafficcloneprofile/index.js +6 -6
  312. package/dist/data-avi-trustedhostprofile/index.d.ts +7 -7
  313. package/dist/data-avi-trustedhostprofile/index.js +6 -5
  314. package/dist/data-avi-upgradeprofile/index.d.ts +15 -15
  315. package/dist/data-avi-upgradeprofile/index.js +15 -14
  316. package/dist/data-avi-upgradestatusinfo/index.d.ts +704 -7
  317. package/dist/data-avi-upgradestatusinfo/index.js +1728 -99
  318. package/dist/data-avi-upgradestatussummary/index.d.ts +7 -7
  319. package/dist/data-avi-upgradestatussummary/index.js +6 -6
  320. package/dist/data-avi-user/index.d.ts +7 -6
  321. package/dist/data-avi-user/index.js +10 -6
  322. package/dist/data-avi-useraccountprofile/index.d.ts +6 -6
  323. package/dist/data-avi-useraccountprofile/index.js +6 -6
  324. package/dist/data-avi-vcenterserver/index.d.ts +8 -8
  325. package/dist/data-avi-vcenterserver/index.js +6 -6
  326. package/dist/data-avi-virtualservice/index-structs/structs0.d.ts +143 -134
  327. package/dist/data-avi-virtualservice/index-structs/structs0.js +1051 -1024
  328. package/dist/data-avi-virtualservice/index-structs/structs400.d.ts +341 -1
  329. package/dist/data-avi-virtualservice/index-structs/structs400.js +1217 -458
  330. package/dist/data-avi-virtualservice/index.d.ts +10 -9
  331. package/dist/data-avi-virtualservice/index.js +13 -9
  332. package/dist/data-avi-vrfcontext/index.d.ts +8 -8
  333. package/dist/data-avi-vrfcontext/index.js +6 -6
  334. package/dist/data-avi-vsdatascriptset/index.d.ts +77 -7
  335. package/dist/data-avi-vsdatascriptset/index.js +164 -6
  336. package/dist/data-avi-vsgs/index.d.ts +7 -7
  337. package/dist/data-avi-vsgs/index.js +6 -6
  338. package/dist/data-avi-vsvip/index.d.ts +214 -8
  339. package/dist/data-avi-vsvip/index.js +464 -6
  340. package/dist/data-avi-wafapplicationsignatureprovider/index.d.ts +7 -7
  341. package/dist/data-avi-wafapplicationsignatureprovider/index.js +6 -6
  342. package/dist/data-avi-wafcrs/index.d.ts +7 -7
  343. package/dist/data-avi-wafcrs/index.js +6 -6
  344. package/dist/data-avi-wafpolicy/index.d.ts +12 -160
  345. package/dist/data-avi-wafpolicy/index.js +24 -372
  346. package/dist/data-avi-wafpolicypsmgroup/index.d.ts +10 -7
  347. package/dist/data-avi-wafpolicypsmgroup/index.js +18 -6
  348. package/dist/data-avi-wafprofile/index.d.ts +85 -7
  349. package/dist/data-avi-wafprofile/index.js +196 -6
  350. package/dist/data-avi-webapput/index.d.ts +18 -9
  351. package/dist/data-avi-webapput/index.js +36 -13
  352. package/dist/data-avi-webhook/index.d.ts +7 -7
  353. package/dist/data-avi-webhook/index.js +6 -6
  354. package/dist/dnspolicy/index.d.ts +112 -112
  355. package/dist/dnspolicy/index.js +6 -6
  356. package/dist/dynamicdnsrecord/index.d.ts +45 -45
  357. package/dist/dynamicdnsrecord/index.js +6 -6
  358. package/dist/errorpagebody/index.d.ts +14 -14
  359. package/dist/errorpagebody/index.js +6 -6
  360. package/dist/errorpageprofile/index.d.ts +23 -23
  361. package/dist/errorpageprofile/index.js +6 -6
  362. package/dist/fileobject/index.d.ts +201 -32
  363. package/dist/fileobject/index.js +454 -6
  364. package/dist/fileservice/index.d.ts +7 -7
  365. package/dist/fileservice/index.js +6 -6
  366. package/dist/geodb/index.d.ts +21 -21
  367. package/dist/geodb/index.js +6 -6
  368. package/dist/gslb/index.d.ts +321 -117
  369. package/dist/gslb/index.js +593 -60
  370. package/dist/gslbcrmruntime/index.d.ts +139 -112
  371. package/dist/gslbcrmruntime/index.js +118 -33
  372. package/dist/gslbgeodbprofile/index.d.ts +24 -112
  373. package/dist/gslbgeodbprofile/index.js +33 -278
  374. package/dist/gslbhsmruntime/index.d.ts +136 -100
  375. package/dist/gslbhsmruntime/index.js +118 -5
  376. package/dist/gslbservice/index.d.ts +301 -77
  377. package/dist/gslbservice/index.js +602 -6
  378. package/dist/gslbsmruntime/index.d.ts +308 -114
  379. package/dist/gslbsmruntime/index.js +576 -5
  380. package/dist/hardwaresecuritymodulegroup/index.d.ts +693 -53
  381. package/dist/hardwaresecuritymodulegroup/index.js +1790 -6
  382. package/dist/healthmonitor/index.d.ts +868 -168
  383. package/dist/healthmonitor/index.js +2041 -22
  384. package/dist/httppolicyset/index-structs/structs0.d.ts +354 -327
  385. package/dist/httppolicyset/index-structs/structs0.js +84 -0
  386. package/dist/httppolicyset/index-structs/structs400.d.ts +113 -104
  387. package/dist/httppolicyset/index-structs/structs400.js +28 -0
  388. package/dist/httppolicyset/index.d.ts +18 -18
  389. package/dist/httppolicyset/index.js +5 -5
  390. package/dist/icapprofile/index.d.ts +24 -24
  391. package/dist/icapprofile/index.js +6 -6
  392. package/dist/image/index.d.ts +447 -127
  393. package/dist/image/index.js +963 -88
  394. package/dist/index.d.ts +32 -2
  395. package/dist/index.js +32 -2
  396. package/dist/inventoryfaultconfig/index.d.ts +34 -25
  397. package/dist/inventoryfaultconfig/index.js +34 -6
  398. package/dist/ipaddrgroup/index.d.ts +38 -38
  399. package/dist/ipaddrgroup/index.js +6 -6
  400. package/dist/ipamdnsproviderprofile/index.d.ts +142 -151
  401. package/dist/ipamdnsproviderprofile/index.js +6 -34
  402. package/dist/ipreputationdb/index.d.ts +49 -22
  403. package/dist/ipreputationdb/index.js +75 -6
  404. package/dist/jwtserverprofile/index.d.ts +19 -19
  405. package/dist/jwtserverprofile/index.js +6 -6
  406. package/dist/l4policyset/index.d.ts +53 -53
  407. package/dist/l4policyset/index.js +6 -6
  408. package/dist/labelgroup/index.d.ts +13 -13
  409. package/dist/labelgroup/index.js +6 -6
  410. package/dist/lazy-index.js +32 -2
  411. package/dist/licenseledgerdetails/index.d.ts +166 -24
  412. package/dist/licenseledgerdetails/index.js +375 -6
  413. package/dist/licensestatus/index.d.ts +58 -22
  414. package/dist/licensestatus/index.js +118 -6
  415. package/dist/localworkerfdsversion/index.d.ts +9 -9
  416. package/dist/localworkerfdsversion/index.js +6 -5
  417. package/dist/memorybalancerrequest/index.d.ts +22 -22
  418. package/dist/memorybalancerrequest/index.js +6 -6
  419. package/dist/microservicegroup/index.d.ts +12 -12
  420. package/dist/microservicegroup/index.js +6 -6
  421. package/dist/natpolicy/index.d.ts +79 -79
  422. package/dist/natpolicy/index.js +6 -6
  423. package/dist/network/index.d.ts +38 -38
  424. package/dist/network/index.js +6 -6
  425. package/dist/networkprofile/index.d.ts +137 -66
  426. package/dist/networkprofile/index.js +198 -6
  427. package/dist/networksecuritypolicy/index.d.ts +67 -67
  428. package/dist/networksecuritypolicy/index.js +6 -6
  429. package/dist/networkservice/index.d.ts +45 -45
  430. package/dist/networkservice/index.js +6 -6
  431. package/dist/nsxtsegmentruntime/index.d.ts +25 -25
  432. package/dist/nsxtsegmentruntime/index.js +6 -6
  433. package/dist/pkiprofile/index.d.ts +114 -61
  434. package/dist/pkiprofile/index.js +142 -6
  435. package/dist/pool/index.d.ts +349 -211
  436. package/dist/pool/index.js +406 -39
  437. package/dist/poolgroup/index.d.ts +41 -41
  438. package/dist/poolgroup/index.js +6 -6
  439. package/dist/poolgroupdeploymentpolicy/index.d.ts +23 -23
  440. package/dist/poolgroupdeploymentpolicy/index.js +6 -6
  441. package/dist/positivesecuritypolicy/index.d.ts +311 -0
  442. package/dist/positivesecuritypolicy/index.js +795 -0
  443. package/dist/prioritylabels/index.d.ts +16 -16
  444. package/dist/prioritylabels/index.js +6 -6
  445. package/dist/protocolparser/index.d.ts +14 -14
  446. package/dist/protocolparser/index.js +6 -6
  447. package/dist/provider/index.d.ts +13 -13
  448. package/dist/provider/index.js +6 -6
  449. package/dist/ratelimitconfiguration/index.d.ts +227 -0
  450. package/dist/ratelimitconfiguration/index.js +553 -0
  451. package/dist/report/index.d.ts +1376 -0
  452. package/dist/report/index.js +3623 -0
  453. package/dist/reportprofile/index.d.ts +151 -0
  454. package/dist/reportprofile/index.js +380 -0
  455. package/dist/retentionpolicy/index.d.ts +49 -49
  456. package/dist/retentionpolicy/index.js +6 -5
  457. package/dist/rmcloudopsproto/index.d.ts +18 -9
  458. package/dist/rmcloudopsproto/index.js +29 -6
  459. package/dist/role/index.d.ts +23 -23
  460. package/dist/role/index.js +6 -6
  461. package/dist/scheduler/index.d.ts +18 -18
  462. package/dist/scheduler/index.js +6 -6
  463. package/dist/securitymanagerdata/index.d.ts +40 -22
  464. package/dist/securitymanagerdata/index.js +62 -6
  465. package/dist/securitypolicy/index.d.ts +33 -33
  466. package/dist/securitypolicy/index.js +6 -6
  467. package/dist/seproperties/index.d.ts +190 -181
  468. package/dist/seproperties/index.js +34 -6
  469. package/dist/server/index.d.ts +120 -43
  470. package/dist/server/index.js +207 -6
  471. package/dist/serverautoscalepolicy/index.d.ts +34 -34
  472. package/dist/serverautoscalepolicy/index.js +6 -6
  473. package/dist/serviceauthprofile/index.d.ts +17 -17
  474. package/dist/serviceauthprofile/index.js +6 -6
  475. package/dist/serviceengine/index.d.ts +153 -144
  476. package/dist/serviceengine/index.js +34 -6
  477. package/dist/serviceenginegroup/index.d.ts +775 -439
  478. package/dist/serviceenginegroup/index.js +948 -93
  479. package/dist/siteversion/index.d.ts +16 -16
  480. package/dist/siteversion/index.js +6 -6
  481. package/dist/snmptrapprofile/index.d.ts +22 -22
  482. package/dist/snmptrapprofile/index.js +6 -6
  483. package/dist/sslkeyandcertificate/index.d.ts +207 -101
  484. package/dist/sslkeyandcertificate/index.js +278 -6
  485. package/dist/sslprofile/index.d.ts +44 -35
  486. package/dist/sslprofile/index.js +29 -6
  487. package/dist/ssopolicy/index.d.ts +91 -91
  488. package/dist/ssopolicy/index.js +6 -6
  489. package/dist/statediffoperation/index.d.ts +18 -18
  490. package/dist/statediffoperation/index.js +6 -6
  491. package/dist/statediffsnapshot/index.d.ts +309 -93
  492. package/dist/statediffsnapshot/index.js +678 -6
  493. package/dist/stringgroup/index.d.ts +18 -18
  494. package/dist/stringgroup/index.js +6 -6
  495. package/dist/systemconfiguration/index.d.ts +545 -200
  496. package/dist/systemconfiguration/index.js +932 -34
  497. package/dist/systemlimits/index.d.ts +149 -122
  498. package/dist/systemlimits/index.js +174 -90
  499. package/dist/systemreport/index.d.ts +920 -72
  500. package/dist/systemreport/index.js +2341 -6
  501. package/dist/taskjournal/index.d.ts +278 -37
  502. package/dist/taskjournal/index.js +816 -134
  503. package/dist/techsupport/index.d.ts +1152 -0
  504. package/dist/techsupport/index.js +3106 -0
  505. package/dist/techsupportmessage/index.d.ts +71 -0
  506. package/dist/techsupportmessage/index.js +160 -0
  507. package/dist/techsupportprofile/index.d.ts +284 -0
  508. package/dist/techsupportprofile/index.js +706 -0
  509. package/dist/tenant/index.d.ts +82 -20
  510. package/dist/tenant/index.js +170 -6
  511. package/dist/tenantsystemconfiguration/index.d.ts +10 -10
  512. package/dist/tenantsystemconfiguration/index.js +6 -6
  513. package/dist/testsedatastorelevel1/index.d.ts +10 -10
  514. package/dist/testsedatastorelevel1/index.js +6 -6
  515. package/dist/testsedatastorelevel2/index.d.ts +10 -10
  516. package/dist/testsedatastorelevel2/index.js +6 -6
  517. package/dist/testsedatastorelevel3/index.d.ts +9 -9
  518. package/dist/testsedatastorelevel3/index.js +6 -6
  519. package/dist/trafficcloneprofile/index.d.ts +25 -25
  520. package/dist/trafficcloneprofile/index.js +6 -6
  521. package/dist/trustedhostprofile/index.d.ts +14 -14
  522. package/dist/trustedhostprofile/index.js +6 -5
  523. package/dist/upgradeprofile/index.d.ts +41 -41
  524. package/dist/upgradeprofile/index.js +26 -25
  525. package/dist/upgradestatusinfo/index.d.ts +1815 -355
  526. package/dist/upgradestatusinfo/index.js +4027 -38
  527. package/dist/upgradestatussummary/index.d.ts +26 -26
  528. package/dist/upgradestatussummary/index.js +6 -6
  529. package/dist/user/index.d.ts +42 -32
  530. package/dist/user/index.js +33 -7
  531. package/dist/useraccount/index.d.ts +11 -11
  532. package/dist/useraccount/index.js +6 -6
  533. package/dist/useraccountprofile/index.d.ts +14 -14
  534. package/dist/useraccountprofile/index.js +6 -6
  535. package/dist/vcenterserver/index.d.ts +15 -15
  536. package/dist/vcenterserver/index.js +6 -6
  537. package/dist/virtualservice/index-structs/structs0.d.ts +581 -514
  538. package/dist/virtualservice/index-structs/structs0.js +4423 -4234
  539. package/dist/virtualservice/index-structs/structs400.d.ts +689 -158
  540. package/dist/virtualservice/index-structs/structs400.js +3376 -1992
  541. package/dist/virtualservice/index.d.ts +117 -108
  542. package/dist/virtualservice/index.js +51 -28
  543. package/dist/vrfcontext/index.d.ts +117 -117
  544. package/dist/vrfcontext/index.js +6 -6
  545. package/dist/vsdatascriptset/index.d.ts +152 -32
  546. package/dist/vsdatascriptset/index.js +312 -6
  547. package/dist/vsgs/index.d.ts +14 -14
  548. package/dist/vsgs/index.js +6 -6
  549. package/dist/vsvip/index.d.ts +434 -110
  550. package/dist/vsvip/index.js +842 -6
  551. package/dist/wafapplicationsignatureprovider/index.d.ts +49 -49
  552. package/dist/wafapplicationsignatureprovider/index.js +6 -6
  553. package/dist/wafcrs/index.d.ts +69 -69
  554. package/dist/wafcrs/index.js +6 -6
  555. package/dist/wafpolicy/index.d.ts +344 -662
  556. package/dist/wafpolicy/index.js +156 -1015
  557. package/dist/wafpolicypsmgroup/index.d.ts +82 -55
  558. package/dist/wafpolicypsmgroup/index.js +80 -6
  559. package/dist/wafprofile/index.d.ts +238 -44
  560. package/dist/wafprofile/index.js +552 -6
  561. package/dist/webapput/index.d.ts +135 -126
  562. package/dist/webapput/index.js +66 -43
  563. package/dist/webhook/index.d.ts +15 -15
  564. package/dist/webhook/index.js +6 -6
  565. package/package.json +2 -2
@@ -0,0 +1,1086 @@
1
+ // https://registry.terraform.io/providers/vmware/avi/31.2.1/docs/resources/applicationinsightspolicy
2
+ // generated from terraform resource schema
3
+ import * as cdktf from 'cdktf';
4
+ export function applicationinsightspolicyApplicationInsightsParamsLearnFromBotsClassificationsToTerraform(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
+ type: cdktf.stringToTerraform(struct.type),
13
+ user_defined_type: cdktf.stringToTerraform(struct.userDefinedType),
14
+ };
15
+ }
16
+ export function applicationinsightspolicyApplicationInsightsParamsLearnFromBotsClassificationsToHclTerraform(struct) {
17
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
18
+ return struct;
19
+ }
20
+ if (cdktf.isComplexElement(struct)) {
21
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
22
+ }
23
+ const attrs = {
24
+ type: {
25
+ value: cdktf.stringToHclTerraform(struct.type),
26
+ isBlock: false,
27
+ type: "simple",
28
+ storageClassType: "string",
29
+ },
30
+ user_defined_type: {
31
+ value: cdktf.stringToHclTerraform(struct.userDefinedType),
32
+ isBlock: false,
33
+ type: "simple",
34
+ storageClassType: "string",
35
+ },
36
+ };
37
+ // remove undefined attributes
38
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
39
+ }
40
+ export class ApplicationinsightspolicyApplicationInsightsParamsLearnFromBotsClassificationsOutputReference extends cdktf.ComplexObject {
41
+ isEmptyObject = false;
42
+ resolvableValue;
43
+ /**
44
+ * @param terraformResource The parent resource
45
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
46
+ * @param complexObjectIndex the index of this item in the list
47
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
48
+ */
49
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
50
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
51
+ }
52
+ get internalValue() {
53
+ if (this.resolvableValue) {
54
+ return this.resolvableValue;
55
+ }
56
+ let hasAnyValues = this.isEmptyObject;
57
+ const internalValueResult = {};
58
+ if (this._type !== undefined) {
59
+ hasAnyValues = true;
60
+ internalValueResult.type = this._type;
61
+ }
62
+ if (this._userDefinedType !== undefined) {
63
+ hasAnyValues = true;
64
+ internalValueResult.userDefinedType = this._userDefinedType;
65
+ }
66
+ return hasAnyValues ? internalValueResult : undefined;
67
+ }
68
+ set internalValue(value) {
69
+ if (value === undefined) {
70
+ this.isEmptyObject = false;
71
+ this.resolvableValue = undefined;
72
+ this._type = undefined;
73
+ this._userDefinedType = undefined;
74
+ }
75
+ else if (cdktf.Tokenization.isResolvable(value)) {
76
+ this.isEmptyObject = false;
77
+ this.resolvableValue = value;
78
+ }
79
+ else {
80
+ this.isEmptyObject = Object.keys(value).length === 0;
81
+ this.resolvableValue = undefined;
82
+ this._type = value.type;
83
+ this._userDefinedType = value.userDefinedType;
84
+ }
85
+ }
86
+ // type - computed: false, optional: false, required: true
87
+ _type;
88
+ get type() {
89
+ return this.getStringAttribute('type');
90
+ }
91
+ set type(value) {
92
+ this._type = value;
93
+ }
94
+ // Temporarily expose input value. Use with caution.
95
+ get typeInput() {
96
+ return this._type;
97
+ }
98
+ // user_defined_type - computed: true, optional: true, required: false
99
+ _userDefinedType;
100
+ get userDefinedType() {
101
+ return this.getStringAttribute('user_defined_type');
102
+ }
103
+ set userDefinedType(value) {
104
+ this._userDefinedType = value;
105
+ }
106
+ resetUserDefinedType() {
107
+ this._userDefinedType = undefined;
108
+ }
109
+ // Temporarily expose input value. Use with caution.
110
+ get userDefinedTypeInput() {
111
+ return this._userDefinedType;
112
+ }
113
+ }
114
+ export class ApplicationinsightspolicyApplicationInsightsParamsLearnFromBotsClassificationsList extends cdktf.ComplexList {
115
+ terraformResource;
116
+ terraformAttribute;
117
+ wrapsSet;
118
+ internalValue;
119
+ /**
120
+ * @param terraformResource The parent resource
121
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
122
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
123
+ */
124
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
125
+ super(terraformResource, terraformAttribute, wrapsSet);
126
+ this.terraformResource = terraformResource;
127
+ this.terraformAttribute = terraformAttribute;
128
+ this.wrapsSet = wrapsSet;
129
+ }
130
+ /**
131
+ * @param index the index of the item to return
132
+ */
133
+ get(index) {
134
+ return new ApplicationinsightspolicyApplicationInsightsParamsLearnFromBotsClassificationsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
135
+ }
136
+ }
137
+ export function applicationinsightspolicyApplicationInsightsParamsLearnFromBotsToTerraform(struct) {
138
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
139
+ return struct;
140
+ }
141
+ if (cdktf.isComplexElement(struct)) {
142
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
143
+ }
144
+ return {
145
+ match_operation: cdktf.stringToTerraform(struct.matchOperation),
146
+ classifications: cdktf.listMapper(applicationinsightspolicyApplicationInsightsParamsLearnFromBotsClassificationsToTerraform, true)(struct.classifications),
147
+ };
148
+ }
149
+ export function applicationinsightspolicyApplicationInsightsParamsLearnFromBotsToHclTerraform(struct) {
150
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
151
+ return struct;
152
+ }
153
+ if (cdktf.isComplexElement(struct)) {
154
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
155
+ }
156
+ const attrs = {
157
+ match_operation: {
158
+ value: cdktf.stringToHclTerraform(struct.matchOperation),
159
+ isBlock: false,
160
+ type: "simple",
161
+ storageClassType: "string",
162
+ },
163
+ classifications: {
164
+ value: cdktf.listMapperHcl(applicationinsightspolicyApplicationInsightsParamsLearnFromBotsClassificationsToHclTerraform, true)(struct.classifications),
165
+ isBlock: true,
166
+ type: "list",
167
+ storageClassType: "ApplicationinsightspolicyApplicationInsightsParamsLearnFromBotsClassificationsList",
168
+ },
169
+ };
170
+ // remove undefined attributes
171
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
172
+ }
173
+ export class ApplicationinsightspolicyApplicationInsightsParamsLearnFromBotsOutputReference extends cdktf.ComplexObject {
174
+ isEmptyObject = false;
175
+ resolvableValue;
176
+ /**
177
+ * @param terraformResource The parent resource
178
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
179
+ * @param complexObjectIndex the index of this item in the list
180
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
181
+ */
182
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
183
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
184
+ }
185
+ get internalValue() {
186
+ if (this.resolvableValue) {
187
+ return this.resolvableValue;
188
+ }
189
+ let hasAnyValues = this.isEmptyObject;
190
+ const internalValueResult = {};
191
+ if (this._matchOperation !== undefined) {
192
+ hasAnyValues = true;
193
+ internalValueResult.matchOperation = this._matchOperation;
194
+ }
195
+ if (this._classifications?.internalValue !== undefined) {
196
+ hasAnyValues = true;
197
+ internalValueResult.classifications = this._classifications?.internalValue;
198
+ }
199
+ return hasAnyValues ? internalValueResult : undefined;
200
+ }
201
+ set internalValue(value) {
202
+ if (value === undefined) {
203
+ this.isEmptyObject = false;
204
+ this.resolvableValue = undefined;
205
+ this._matchOperation = undefined;
206
+ this._classifications.internalValue = undefined;
207
+ }
208
+ else if (cdktf.Tokenization.isResolvable(value)) {
209
+ this.isEmptyObject = false;
210
+ this.resolvableValue = value;
211
+ }
212
+ else {
213
+ this.isEmptyObject = Object.keys(value).length === 0;
214
+ this.resolvableValue = undefined;
215
+ this._matchOperation = value.matchOperation;
216
+ this._classifications.internalValue = value.classifications;
217
+ }
218
+ }
219
+ // match_operation - computed: false, optional: false, required: true
220
+ _matchOperation;
221
+ get matchOperation() {
222
+ return this.getStringAttribute('match_operation');
223
+ }
224
+ set matchOperation(value) {
225
+ this._matchOperation = value;
226
+ }
227
+ // Temporarily expose input value. Use with caution.
228
+ get matchOperationInput() {
229
+ return this._matchOperation;
230
+ }
231
+ // classifications - computed: false, optional: true, required: false
232
+ _classifications = new ApplicationinsightspolicyApplicationInsightsParamsLearnFromBotsClassificationsList(this, "classifications", false);
233
+ get classifications() {
234
+ return this._classifications;
235
+ }
236
+ putClassifications(value) {
237
+ this._classifications.internalValue = value;
238
+ }
239
+ resetClassifications() {
240
+ this._classifications.internalValue = undefined;
241
+ }
242
+ // Temporarily expose input value. Use with caution.
243
+ get classificationsInput() {
244
+ return this._classifications.internalValue;
245
+ }
246
+ }
247
+ export class ApplicationinsightspolicyApplicationInsightsParamsLearnFromBotsList extends cdktf.ComplexList {
248
+ terraformResource;
249
+ terraformAttribute;
250
+ wrapsSet;
251
+ internalValue;
252
+ /**
253
+ * @param terraformResource The parent resource
254
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
255
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
256
+ */
257
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
258
+ super(terraformResource, terraformAttribute, wrapsSet);
259
+ this.terraformResource = terraformResource;
260
+ this.terraformAttribute = terraformAttribute;
261
+ this.wrapsSet = wrapsSet;
262
+ }
263
+ /**
264
+ * @param index the index of the item to return
265
+ */
266
+ get(index) {
267
+ return new ApplicationinsightspolicyApplicationInsightsParamsLearnFromBotsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
268
+ }
269
+ }
270
+ export function applicationinsightspolicyApplicationInsightsParamsToTerraform(struct) {
271
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
272
+ return struct;
273
+ }
274
+ if (cdktf.isComplexElement(struct)) {
275
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
276
+ }
277
+ return {
278
+ enable_learn_from_bots: cdktf.stringToTerraform(struct.enableLearnFromBots),
279
+ enable_per_uri_learning: cdktf.stringToTerraform(struct.enablePerUriLearning),
280
+ learn_from_authenticated_clients_only: cdktf.stringToTerraform(struct.learnFromAuthenticatedClientsOnly),
281
+ learn_from_urls_without_args: cdktf.stringToTerraform(struct.learnFromUrlsWithoutArgs),
282
+ max_params: cdktf.stringToTerraform(struct.maxParams),
283
+ max_uris: cdktf.stringToTerraform(struct.maxUris),
284
+ trusted_ipgroup_ref: cdktf.stringToTerraform(struct.trustedIpgroupRef),
285
+ learn_from_bots: cdktf.listMapper(applicationinsightspolicyApplicationInsightsParamsLearnFromBotsToTerraform, true)(struct.learnFromBots),
286
+ };
287
+ }
288
+ export function applicationinsightspolicyApplicationInsightsParamsToHclTerraform(struct) {
289
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
290
+ return struct;
291
+ }
292
+ if (cdktf.isComplexElement(struct)) {
293
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
294
+ }
295
+ const attrs = {
296
+ enable_learn_from_bots: {
297
+ value: cdktf.stringToHclTerraform(struct.enableLearnFromBots),
298
+ isBlock: false,
299
+ type: "simple",
300
+ storageClassType: "string",
301
+ },
302
+ enable_per_uri_learning: {
303
+ value: cdktf.stringToHclTerraform(struct.enablePerUriLearning),
304
+ isBlock: false,
305
+ type: "simple",
306
+ storageClassType: "string",
307
+ },
308
+ learn_from_authenticated_clients_only: {
309
+ value: cdktf.stringToHclTerraform(struct.learnFromAuthenticatedClientsOnly),
310
+ isBlock: false,
311
+ type: "simple",
312
+ storageClassType: "string",
313
+ },
314
+ learn_from_urls_without_args: {
315
+ value: cdktf.stringToHclTerraform(struct.learnFromUrlsWithoutArgs),
316
+ isBlock: false,
317
+ type: "simple",
318
+ storageClassType: "string",
319
+ },
320
+ max_params: {
321
+ value: cdktf.stringToHclTerraform(struct.maxParams),
322
+ isBlock: false,
323
+ type: "simple",
324
+ storageClassType: "string",
325
+ },
326
+ max_uris: {
327
+ value: cdktf.stringToHclTerraform(struct.maxUris),
328
+ isBlock: false,
329
+ type: "simple",
330
+ storageClassType: "string",
331
+ },
332
+ trusted_ipgroup_ref: {
333
+ value: cdktf.stringToHclTerraform(struct.trustedIpgroupRef),
334
+ isBlock: false,
335
+ type: "simple",
336
+ storageClassType: "string",
337
+ },
338
+ learn_from_bots: {
339
+ value: cdktf.listMapperHcl(applicationinsightspolicyApplicationInsightsParamsLearnFromBotsToHclTerraform, true)(struct.learnFromBots),
340
+ isBlock: true,
341
+ type: "set",
342
+ storageClassType: "ApplicationinsightspolicyApplicationInsightsParamsLearnFromBotsList",
343
+ },
344
+ };
345
+ // remove undefined attributes
346
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
347
+ }
348
+ export class ApplicationinsightspolicyApplicationInsightsParamsOutputReference extends cdktf.ComplexObject {
349
+ isEmptyObject = false;
350
+ resolvableValue;
351
+ /**
352
+ * @param terraformResource The parent resource
353
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
354
+ * @param complexObjectIndex the index of this item in the list
355
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
356
+ */
357
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
358
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
359
+ }
360
+ get internalValue() {
361
+ if (this.resolvableValue) {
362
+ return this.resolvableValue;
363
+ }
364
+ let hasAnyValues = this.isEmptyObject;
365
+ const internalValueResult = {};
366
+ if (this._enableLearnFromBots !== undefined) {
367
+ hasAnyValues = true;
368
+ internalValueResult.enableLearnFromBots = this._enableLearnFromBots;
369
+ }
370
+ if (this._enablePerUriLearning !== undefined) {
371
+ hasAnyValues = true;
372
+ internalValueResult.enablePerUriLearning = this._enablePerUriLearning;
373
+ }
374
+ if (this._learnFromAuthenticatedClientsOnly !== undefined) {
375
+ hasAnyValues = true;
376
+ internalValueResult.learnFromAuthenticatedClientsOnly = this._learnFromAuthenticatedClientsOnly;
377
+ }
378
+ if (this._learnFromUrlsWithoutArgs !== undefined) {
379
+ hasAnyValues = true;
380
+ internalValueResult.learnFromUrlsWithoutArgs = this._learnFromUrlsWithoutArgs;
381
+ }
382
+ if (this._maxParams !== undefined) {
383
+ hasAnyValues = true;
384
+ internalValueResult.maxParams = this._maxParams;
385
+ }
386
+ if (this._maxUris !== undefined) {
387
+ hasAnyValues = true;
388
+ internalValueResult.maxUris = this._maxUris;
389
+ }
390
+ if (this._trustedIpgroupRef !== undefined) {
391
+ hasAnyValues = true;
392
+ internalValueResult.trustedIpgroupRef = this._trustedIpgroupRef;
393
+ }
394
+ if (this._learnFromBots?.internalValue !== undefined) {
395
+ hasAnyValues = true;
396
+ internalValueResult.learnFromBots = this._learnFromBots?.internalValue;
397
+ }
398
+ return hasAnyValues ? internalValueResult : undefined;
399
+ }
400
+ set internalValue(value) {
401
+ if (value === undefined) {
402
+ this.isEmptyObject = false;
403
+ this.resolvableValue = undefined;
404
+ this._enableLearnFromBots = undefined;
405
+ this._enablePerUriLearning = undefined;
406
+ this._learnFromAuthenticatedClientsOnly = undefined;
407
+ this._learnFromUrlsWithoutArgs = undefined;
408
+ this._maxParams = undefined;
409
+ this._maxUris = undefined;
410
+ this._trustedIpgroupRef = undefined;
411
+ this._learnFromBots.internalValue = undefined;
412
+ }
413
+ else if (cdktf.Tokenization.isResolvable(value)) {
414
+ this.isEmptyObject = false;
415
+ this.resolvableValue = value;
416
+ }
417
+ else {
418
+ this.isEmptyObject = Object.keys(value).length === 0;
419
+ this.resolvableValue = undefined;
420
+ this._enableLearnFromBots = value.enableLearnFromBots;
421
+ this._enablePerUriLearning = value.enablePerUriLearning;
422
+ this._learnFromAuthenticatedClientsOnly = value.learnFromAuthenticatedClientsOnly;
423
+ this._learnFromUrlsWithoutArgs = value.learnFromUrlsWithoutArgs;
424
+ this._maxParams = value.maxParams;
425
+ this._maxUris = value.maxUris;
426
+ this._trustedIpgroupRef = value.trustedIpgroupRef;
427
+ this._learnFromBots.internalValue = value.learnFromBots;
428
+ }
429
+ }
430
+ // enable_learn_from_bots - computed: false, optional: true, required: false
431
+ _enableLearnFromBots;
432
+ get enableLearnFromBots() {
433
+ return this.getStringAttribute('enable_learn_from_bots');
434
+ }
435
+ set enableLearnFromBots(value) {
436
+ this._enableLearnFromBots = value;
437
+ }
438
+ resetEnableLearnFromBots() {
439
+ this._enableLearnFromBots = undefined;
440
+ }
441
+ // Temporarily expose input value. Use with caution.
442
+ get enableLearnFromBotsInput() {
443
+ return this._enableLearnFromBots;
444
+ }
445
+ // enable_per_uri_learning - computed: false, optional: true, required: false
446
+ _enablePerUriLearning;
447
+ get enablePerUriLearning() {
448
+ return this.getStringAttribute('enable_per_uri_learning');
449
+ }
450
+ set enablePerUriLearning(value) {
451
+ this._enablePerUriLearning = value;
452
+ }
453
+ resetEnablePerUriLearning() {
454
+ this._enablePerUriLearning = undefined;
455
+ }
456
+ // Temporarily expose input value. Use with caution.
457
+ get enablePerUriLearningInput() {
458
+ return this._enablePerUriLearning;
459
+ }
460
+ // learn_from_authenticated_clients_only - computed: false, optional: true, required: false
461
+ _learnFromAuthenticatedClientsOnly;
462
+ get learnFromAuthenticatedClientsOnly() {
463
+ return this.getStringAttribute('learn_from_authenticated_clients_only');
464
+ }
465
+ set learnFromAuthenticatedClientsOnly(value) {
466
+ this._learnFromAuthenticatedClientsOnly = value;
467
+ }
468
+ resetLearnFromAuthenticatedClientsOnly() {
469
+ this._learnFromAuthenticatedClientsOnly = undefined;
470
+ }
471
+ // Temporarily expose input value. Use with caution.
472
+ get learnFromAuthenticatedClientsOnlyInput() {
473
+ return this._learnFromAuthenticatedClientsOnly;
474
+ }
475
+ // learn_from_urls_without_args - computed: false, optional: true, required: false
476
+ _learnFromUrlsWithoutArgs;
477
+ get learnFromUrlsWithoutArgs() {
478
+ return this.getStringAttribute('learn_from_urls_without_args');
479
+ }
480
+ set learnFromUrlsWithoutArgs(value) {
481
+ this._learnFromUrlsWithoutArgs = value;
482
+ }
483
+ resetLearnFromUrlsWithoutArgs() {
484
+ this._learnFromUrlsWithoutArgs = undefined;
485
+ }
486
+ // Temporarily expose input value. Use with caution.
487
+ get learnFromUrlsWithoutArgsInput() {
488
+ return this._learnFromUrlsWithoutArgs;
489
+ }
490
+ // max_params - computed: false, optional: true, required: false
491
+ _maxParams;
492
+ get maxParams() {
493
+ return this.getStringAttribute('max_params');
494
+ }
495
+ set maxParams(value) {
496
+ this._maxParams = value;
497
+ }
498
+ resetMaxParams() {
499
+ this._maxParams = undefined;
500
+ }
501
+ // Temporarily expose input value. Use with caution.
502
+ get maxParamsInput() {
503
+ return this._maxParams;
504
+ }
505
+ // max_uris - computed: false, optional: true, required: false
506
+ _maxUris;
507
+ get maxUris() {
508
+ return this.getStringAttribute('max_uris');
509
+ }
510
+ set maxUris(value) {
511
+ this._maxUris = value;
512
+ }
513
+ resetMaxUris() {
514
+ this._maxUris = undefined;
515
+ }
516
+ // Temporarily expose input value. Use with caution.
517
+ get maxUrisInput() {
518
+ return this._maxUris;
519
+ }
520
+ // trusted_ipgroup_ref - computed: true, optional: true, required: false
521
+ _trustedIpgroupRef;
522
+ get trustedIpgroupRef() {
523
+ return this.getStringAttribute('trusted_ipgroup_ref');
524
+ }
525
+ set trustedIpgroupRef(value) {
526
+ this._trustedIpgroupRef = value;
527
+ }
528
+ resetTrustedIpgroupRef() {
529
+ this._trustedIpgroupRef = undefined;
530
+ }
531
+ // Temporarily expose input value. Use with caution.
532
+ get trustedIpgroupRefInput() {
533
+ return this._trustedIpgroupRef;
534
+ }
535
+ // learn_from_bots - computed: false, optional: true, required: false
536
+ _learnFromBots = new ApplicationinsightspolicyApplicationInsightsParamsLearnFromBotsList(this, "learn_from_bots", true);
537
+ get learnFromBots() {
538
+ return this._learnFromBots;
539
+ }
540
+ putLearnFromBots(value) {
541
+ this._learnFromBots.internalValue = value;
542
+ }
543
+ resetLearnFromBots() {
544
+ this._learnFromBots.internalValue = undefined;
545
+ }
546
+ // Temporarily expose input value. Use with caution.
547
+ get learnFromBotsInput() {
548
+ return this._learnFromBots.internalValue;
549
+ }
550
+ }
551
+ export class ApplicationinsightspolicyApplicationInsightsParamsList extends cdktf.ComplexList {
552
+ terraformResource;
553
+ terraformAttribute;
554
+ wrapsSet;
555
+ internalValue;
556
+ /**
557
+ * @param terraformResource The parent resource
558
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
559
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
560
+ */
561
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
562
+ super(terraformResource, terraformAttribute, wrapsSet);
563
+ this.terraformResource = terraformResource;
564
+ this.terraformAttribute = terraformAttribute;
565
+ this.wrapsSet = wrapsSet;
566
+ }
567
+ /**
568
+ * @param index the index of the item to return
569
+ */
570
+ get(index) {
571
+ return new ApplicationinsightspolicyApplicationInsightsParamsOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
572
+ }
573
+ }
574
+ export function applicationinsightspolicyApplicationSamplingConfigToTerraform(struct) {
575
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
576
+ return struct;
577
+ }
578
+ if (cdktf.isComplexElement(struct)) {
579
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
580
+ }
581
+ return {
582
+ max_sampling_percent: cdktf.stringToTerraform(struct.maxSamplingPercent),
583
+ min_update_interval: cdktf.stringToTerraform(struct.minUpdateInterval),
584
+ };
585
+ }
586
+ export function applicationinsightspolicyApplicationSamplingConfigToHclTerraform(struct) {
587
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
588
+ return struct;
589
+ }
590
+ if (cdktf.isComplexElement(struct)) {
591
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
592
+ }
593
+ const attrs = {
594
+ max_sampling_percent: {
595
+ value: cdktf.stringToHclTerraform(struct.maxSamplingPercent),
596
+ isBlock: false,
597
+ type: "simple",
598
+ storageClassType: "string",
599
+ },
600
+ min_update_interval: {
601
+ value: cdktf.stringToHclTerraform(struct.minUpdateInterval),
602
+ isBlock: false,
603
+ type: "simple",
604
+ storageClassType: "string",
605
+ },
606
+ };
607
+ // remove undefined attributes
608
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
609
+ }
610
+ export class ApplicationinsightspolicyApplicationSamplingConfigOutputReference extends cdktf.ComplexObject {
611
+ isEmptyObject = false;
612
+ resolvableValue;
613
+ /**
614
+ * @param terraformResource The parent resource
615
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
616
+ * @param complexObjectIndex the index of this item in the list
617
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
618
+ */
619
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
620
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
621
+ }
622
+ get internalValue() {
623
+ if (this.resolvableValue) {
624
+ return this.resolvableValue;
625
+ }
626
+ let hasAnyValues = this.isEmptyObject;
627
+ const internalValueResult = {};
628
+ if (this._maxSamplingPercent !== undefined) {
629
+ hasAnyValues = true;
630
+ internalValueResult.maxSamplingPercent = this._maxSamplingPercent;
631
+ }
632
+ if (this._minUpdateInterval !== undefined) {
633
+ hasAnyValues = true;
634
+ internalValueResult.minUpdateInterval = this._minUpdateInterval;
635
+ }
636
+ return hasAnyValues ? internalValueResult : undefined;
637
+ }
638
+ set internalValue(value) {
639
+ if (value === undefined) {
640
+ this.isEmptyObject = false;
641
+ this.resolvableValue = undefined;
642
+ this._maxSamplingPercent = undefined;
643
+ this._minUpdateInterval = undefined;
644
+ }
645
+ else if (cdktf.Tokenization.isResolvable(value)) {
646
+ this.isEmptyObject = false;
647
+ this.resolvableValue = value;
648
+ }
649
+ else {
650
+ this.isEmptyObject = Object.keys(value).length === 0;
651
+ this.resolvableValue = undefined;
652
+ this._maxSamplingPercent = value.maxSamplingPercent;
653
+ this._minUpdateInterval = value.minUpdateInterval;
654
+ }
655
+ }
656
+ // max_sampling_percent - computed: false, optional: true, required: false
657
+ _maxSamplingPercent;
658
+ get maxSamplingPercent() {
659
+ return this.getStringAttribute('max_sampling_percent');
660
+ }
661
+ set maxSamplingPercent(value) {
662
+ this._maxSamplingPercent = value;
663
+ }
664
+ resetMaxSamplingPercent() {
665
+ this._maxSamplingPercent = undefined;
666
+ }
667
+ // Temporarily expose input value. Use with caution.
668
+ get maxSamplingPercentInput() {
669
+ return this._maxSamplingPercent;
670
+ }
671
+ // min_update_interval - computed: false, optional: true, required: false
672
+ _minUpdateInterval;
673
+ get minUpdateInterval() {
674
+ return this.getStringAttribute('min_update_interval');
675
+ }
676
+ set minUpdateInterval(value) {
677
+ this._minUpdateInterval = value;
678
+ }
679
+ resetMinUpdateInterval() {
680
+ this._minUpdateInterval = undefined;
681
+ }
682
+ // Temporarily expose input value. Use with caution.
683
+ get minUpdateIntervalInput() {
684
+ return this._minUpdateInterval;
685
+ }
686
+ }
687
+ export class ApplicationinsightspolicyApplicationSamplingConfigList extends cdktf.ComplexList {
688
+ terraformResource;
689
+ terraformAttribute;
690
+ wrapsSet;
691
+ internalValue;
692
+ /**
693
+ * @param terraformResource The parent resource
694
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
695
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
696
+ */
697
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
698
+ super(terraformResource, terraformAttribute, wrapsSet);
699
+ this.terraformResource = terraformResource;
700
+ this.terraformAttribute = terraformAttribute;
701
+ this.wrapsSet = wrapsSet;
702
+ }
703
+ /**
704
+ * @param index the index of the item to return
705
+ */
706
+ get(index) {
707
+ return new ApplicationinsightspolicyApplicationSamplingConfigOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
708
+ }
709
+ }
710
+ export function applicationinsightspolicyConfigpbAttributesToTerraform(struct) {
711
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
712
+ return struct;
713
+ }
714
+ if (cdktf.isComplexElement(struct)) {
715
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
716
+ }
717
+ return {
718
+ version: cdktf.stringToTerraform(struct.version),
719
+ };
720
+ }
721
+ export function applicationinsightspolicyConfigpbAttributesToHclTerraform(struct) {
722
+ if (!cdktf.canInspect(struct) || cdktf.Tokenization.isResolvable(struct)) {
723
+ return struct;
724
+ }
725
+ if (cdktf.isComplexElement(struct)) {
726
+ throw new Error("A complex element was used as configuration, this is not supported: https://cdk.tf/complex-object-as-configuration");
727
+ }
728
+ const attrs = {
729
+ version: {
730
+ value: cdktf.stringToHclTerraform(struct.version),
731
+ isBlock: false,
732
+ type: "simple",
733
+ storageClassType: "string",
734
+ },
735
+ };
736
+ // remove undefined attributes
737
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
738
+ }
739
+ export class ApplicationinsightspolicyConfigpbAttributesOutputReference extends cdktf.ComplexObject {
740
+ isEmptyObject = false;
741
+ resolvableValue;
742
+ /**
743
+ * @param terraformResource The parent resource
744
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
745
+ * @param complexObjectIndex the index of this item in the list
746
+ * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
747
+ */
748
+ constructor(terraformResource, terraformAttribute, complexObjectIndex, complexObjectIsFromSet) {
749
+ super(terraformResource, terraformAttribute, complexObjectIsFromSet, complexObjectIndex);
750
+ }
751
+ get internalValue() {
752
+ if (this.resolvableValue) {
753
+ return this.resolvableValue;
754
+ }
755
+ let hasAnyValues = this.isEmptyObject;
756
+ const internalValueResult = {};
757
+ if (this._version !== undefined) {
758
+ hasAnyValues = true;
759
+ internalValueResult.version = this._version;
760
+ }
761
+ return hasAnyValues ? internalValueResult : undefined;
762
+ }
763
+ set internalValue(value) {
764
+ if (value === undefined) {
765
+ this.isEmptyObject = false;
766
+ this.resolvableValue = undefined;
767
+ this._version = undefined;
768
+ }
769
+ else if (cdktf.Tokenization.isResolvable(value)) {
770
+ this.isEmptyObject = false;
771
+ this.resolvableValue = value;
772
+ }
773
+ else {
774
+ this.isEmptyObject = Object.keys(value).length === 0;
775
+ this.resolvableValue = undefined;
776
+ this._version = value.version;
777
+ }
778
+ }
779
+ // version - computed: true, optional: true, required: false
780
+ _version;
781
+ get version() {
782
+ return this.getStringAttribute('version');
783
+ }
784
+ set version(value) {
785
+ this._version = value;
786
+ }
787
+ resetVersion() {
788
+ this._version = undefined;
789
+ }
790
+ // Temporarily expose input value. Use with caution.
791
+ get versionInput() {
792
+ return this._version;
793
+ }
794
+ }
795
+ export class ApplicationinsightspolicyConfigpbAttributesList extends cdktf.ComplexList {
796
+ terraformResource;
797
+ terraformAttribute;
798
+ wrapsSet;
799
+ internalValue;
800
+ /**
801
+ * @param terraformResource The parent resource
802
+ * @param terraformAttribute The attribute on the parent resource this class is referencing
803
+ * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
804
+ */
805
+ constructor(terraformResource, terraformAttribute, wrapsSet) {
806
+ super(terraformResource, terraformAttribute, wrapsSet);
807
+ this.terraformResource = terraformResource;
808
+ this.terraformAttribute = terraformAttribute;
809
+ this.wrapsSet = wrapsSet;
810
+ }
811
+ /**
812
+ * @param index the index of the item to return
813
+ */
814
+ get(index) {
815
+ return new ApplicationinsightspolicyConfigpbAttributesOutputReference(this.terraformResource, this.terraformAttribute, index, this.wrapsSet);
816
+ }
817
+ }
818
+ /**
819
+ * Represents a {@link https://registry.terraform.io/providers/vmware/avi/31.2.1/docs/resources/applicationinsightspolicy avi_applicationinsightspolicy}
820
+ */
821
+ export class Applicationinsightspolicy extends cdktf.TerraformResource {
822
+ // =================
823
+ // STATIC PROPERTIES
824
+ // =================
825
+ static tfResourceType = "avi_applicationinsightspolicy";
826
+ // ==============
827
+ // STATIC Methods
828
+ // ==============
829
+ /**
830
+ * Generates CDKTF code for importing a Applicationinsightspolicy resource upon running "cdktf plan <stack-name>"
831
+ * @param scope The scope in which to define this construct
832
+ * @param importToId The construct id used in the generated config for the Applicationinsightspolicy to import
833
+ * @param importFromId The id of the existing Applicationinsightspolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/vmware/avi/31.2.1/docs/resources/applicationinsightspolicy#import import section} in the documentation of this resource for the id to use
834
+ * @param provider? Optional instance of the provider where the Applicationinsightspolicy to import is found
835
+ */
836
+ static generateConfigForImport(scope, importToId, importFromId, provider) {
837
+ return new cdktf.ImportableResource(scope, importToId, { terraformResourceType: "avi_applicationinsightspolicy", importId: importFromId, provider });
838
+ }
839
+ // ===========
840
+ // INITIALIZER
841
+ // ===========
842
+ /**
843
+ * Create a new {@link https://registry.terraform.io/providers/vmware/avi/31.2.1/docs/resources/applicationinsightspolicy avi_applicationinsightspolicy} Resource
844
+ *
845
+ * @param scope The scope in which to define this construct
846
+ * @param id The scoped construct ID. Must be unique amongst siblings in the same scope
847
+ * @param options ApplicationinsightspolicyConfig
848
+ */
849
+ constructor(scope, id, config) {
850
+ super(scope, id, {
851
+ terraformResourceType: 'avi_applicationinsightspolicy',
852
+ terraformGeneratorMetadata: {
853
+ providerName: 'avi',
854
+ providerVersion: '31.2.1',
855
+ providerVersionConstraint: '31.2.1'
856
+ },
857
+ provider: config.provider,
858
+ dependsOn: config.dependsOn,
859
+ count: config.count,
860
+ lifecycle: config.lifecycle,
861
+ provisioners: config.provisioners,
862
+ connection: config.connection,
863
+ forEach: config.forEach
864
+ });
865
+ this._description = config.description;
866
+ this._enableApplicationInsights = config.enableApplicationInsights;
867
+ this._id = config.id;
868
+ this._name = config.name;
869
+ this._tenantRef = config.tenantRef;
870
+ this._uuid = config.uuid;
871
+ this._applicationInsightsParams.internalValue = config.applicationInsightsParams;
872
+ this._applicationSamplingConfig.internalValue = config.applicationSamplingConfig;
873
+ this._configpbAttributes.internalValue = config.configpbAttributes;
874
+ }
875
+ // ==========
876
+ // ATTRIBUTES
877
+ // ==========
878
+ // description - computed: true, optional: true, required: false
879
+ _description;
880
+ get description() {
881
+ return this.getStringAttribute('description');
882
+ }
883
+ set description(value) {
884
+ this._description = value;
885
+ }
886
+ resetDescription() {
887
+ this._description = undefined;
888
+ }
889
+ // Temporarily expose input value. Use with caution.
890
+ get descriptionInput() {
891
+ return this._description;
892
+ }
893
+ // enable_application_insights - computed: false, optional: true, required: false
894
+ _enableApplicationInsights;
895
+ get enableApplicationInsights() {
896
+ return this.getStringAttribute('enable_application_insights');
897
+ }
898
+ set enableApplicationInsights(value) {
899
+ this._enableApplicationInsights = value;
900
+ }
901
+ resetEnableApplicationInsights() {
902
+ this._enableApplicationInsights = undefined;
903
+ }
904
+ // Temporarily expose input value. Use with caution.
905
+ get enableApplicationInsightsInput() {
906
+ return this._enableApplicationInsights;
907
+ }
908
+ // id - computed: true, optional: true, required: false
909
+ _id;
910
+ get id() {
911
+ return this.getStringAttribute('id');
912
+ }
913
+ set id(value) {
914
+ this._id = value;
915
+ }
916
+ resetId() {
917
+ this._id = undefined;
918
+ }
919
+ // Temporarily expose input value. Use with caution.
920
+ get idInput() {
921
+ return this._id;
922
+ }
923
+ // name - computed: false, optional: false, required: true
924
+ _name;
925
+ get name() {
926
+ return this.getStringAttribute('name');
927
+ }
928
+ set name(value) {
929
+ this._name = value;
930
+ }
931
+ // Temporarily expose input value. Use with caution.
932
+ get nameInput() {
933
+ return this._name;
934
+ }
935
+ // tenant_ref - computed: true, optional: true, required: false
936
+ _tenantRef;
937
+ get tenantRef() {
938
+ return this.getStringAttribute('tenant_ref');
939
+ }
940
+ set tenantRef(value) {
941
+ this._tenantRef = value;
942
+ }
943
+ resetTenantRef() {
944
+ this._tenantRef = undefined;
945
+ }
946
+ // Temporarily expose input value. Use with caution.
947
+ get tenantRefInput() {
948
+ return this._tenantRef;
949
+ }
950
+ // uuid - computed: true, optional: true, required: false
951
+ _uuid;
952
+ get uuid() {
953
+ return this.getStringAttribute('uuid');
954
+ }
955
+ set uuid(value) {
956
+ this._uuid = value;
957
+ }
958
+ resetUuid() {
959
+ this._uuid = undefined;
960
+ }
961
+ // Temporarily expose input value. Use with caution.
962
+ get uuidInput() {
963
+ return this._uuid;
964
+ }
965
+ // application_insights_params - computed: false, optional: true, required: false
966
+ _applicationInsightsParams = new ApplicationinsightspolicyApplicationInsightsParamsList(this, "application_insights_params", true);
967
+ get applicationInsightsParams() {
968
+ return this._applicationInsightsParams;
969
+ }
970
+ putApplicationInsightsParams(value) {
971
+ this._applicationInsightsParams.internalValue = value;
972
+ }
973
+ resetApplicationInsightsParams() {
974
+ this._applicationInsightsParams.internalValue = undefined;
975
+ }
976
+ // Temporarily expose input value. Use with caution.
977
+ get applicationInsightsParamsInput() {
978
+ return this._applicationInsightsParams.internalValue;
979
+ }
980
+ // application_sampling_config - computed: false, optional: true, required: false
981
+ _applicationSamplingConfig = new ApplicationinsightspolicyApplicationSamplingConfigList(this, "application_sampling_config", true);
982
+ get applicationSamplingConfig() {
983
+ return this._applicationSamplingConfig;
984
+ }
985
+ putApplicationSamplingConfig(value) {
986
+ this._applicationSamplingConfig.internalValue = value;
987
+ }
988
+ resetApplicationSamplingConfig() {
989
+ this._applicationSamplingConfig.internalValue = undefined;
990
+ }
991
+ // Temporarily expose input value. Use with caution.
992
+ get applicationSamplingConfigInput() {
993
+ return this._applicationSamplingConfig.internalValue;
994
+ }
995
+ // configpb_attributes - computed: false, optional: true, required: false
996
+ _configpbAttributes = new ApplicationinsightspolicyConfigpbAttributesList(this, "configpb_attributes", true);
997
+ get configpbAttributes() {
998
+ return this._configpbAttributes;
999
+ }
1000
+ putConfigpbAttributes(value) {
1001
+ this._configpbAttributes.internalValue = value;
1002
+ }
1003
+ resetConfigpbAttributes() {
1004
+ this._configpbAttributes.internalValue = undefined;
1005
+ }
1006
+ // Temporarily expose input value. Use with caution.
1007
+ get configpbAttributesInput() {
1008
+ return this._configpbAttributes.internalValue;
1009
+ }
1010
+ // =========
1011
+ // SYNTHESIS
1012
+ // =========
1013
+ synthesizeAttributes() {
1014
+ return {
1015
+ description: cdktf.stringToTerraform(this._description),
1016
+ enable_application_insights: cdktf.stringToTerraform(this._enableApplicationInsights),
1017
+ id: cdktf.stringToTerraform(this._id),
1018
+ name: cdktf.stringToTerraform(this._name),
1019
+ tenant_ref: cdktf.stringToTerraform(this._tenantRef),
1020
+ uuid: cdktf.stringToTerraform(this._uuid),
1021
+ application_insights_params: cdktf.listMapper(applicationinsightspolicyApplicationInsightsParamsToTerraform, true)(this._applicationInsightsParams.internalValue),
1022
+ application_sampling_config: cdktf.listMapper(applicationinsightspolicyApplicationSamplingConfigToTerraform, true)(this._applicationSamplingConfig.internalValue),
1023
+ configpb_attributes: cdktf.listMapper(applicationinsightspolicyConfigpbAttributesToTerraform, true)(this._configpbAttributes.internalValue),
1024
+ };
1025
+ }
1026
+ synthesizeHclAttributes() {
1027
+ const attrs = {
1028
+ description: {
1029
+ value: cdktf.stringToHclTerraform(this._description),
1030
+ isBlock: false,
1031
+ type: "simple",
1032
+ storageClassType: "string",
1033
+ },
1034
+ enable_application_insights: {
1035
+ value: cdktf.stringToHclTerraform(this._enableApplicationInsights),
1036
+ isBlock: false,
1037
+ type: "simple",
1038
+ storageClassType: "string",
1039
+ },
1040
+ id: {
1041
+ value: cdktf.stringToHclTerraform(this._id),
1042
+ isBlock: false,
1043
+ type: "simple",
1044
+ storageClassType: "string",
1045
+ },
1046
+ name: {
1047
+ value: cdktf.stringToHclTerraform(this._name),
1048
+ isBlock: false,
1049
+ type: "simple",
1050
+ storageClassType: "string",
1051
+ },
1052
+ tenant_ref: {
1053
+ value: cdktf.stringToHclTerraform(this._tenantRef),
1054
+ isBlock: false,
1055
+ type: "simple",
1056
+ storageClassType: "string",
1057
+ },
1058
+ uuid: {
1059
+ value: cdktf.stringToHclTerraform(this._uuid),
1060
+ isBlock: false,
1061
+ type: "simple",
1062
+ storageClassType: "string",
1063
+ },
1064
+ application_insights_params: {
1065
+ value: cdktf.listMapperHcl(applicationinsightspolicyApplicationInsightsParamsToHclTerraform, true)(this._applicationInsightsParams.internalValue),
1066
+ isBlock: true,
1067
+ type: "set",
1068
+ storageClassType: "ApplicationinsightspolicyApplicationInsightsParamsList",
1069
+ },
1070
+ application_sampling_config: {
1071
+ value: cdktf.listMapperHcl(applicationinsightspolicyApplicationSamplingConfigToHclTerraform, true)(this._applicationSamplingConfig.internalValue),
1072
+ isBlock: true,
1073
+ type: "set",
1074
+ storageClassType: "ApplicationinsightspolicyApplicationSamplingConfigList",
1075
+ },
1076
+ configpb_attributes: {
1077
+ value: cdktf.listMapperHcl(applicationinsightspolicyConfigpbAttributesToHclTerraform, true)(this._configpbAttributes.internalValue),
1078
+ isBlock: true,
1079
+ type: "set",
1080
+ storageClassType: "ApplicationinsightspolicyConfigpbAttributesList",
1081
+ },
1082
+ };
1083
+ // remove undefined attributes
1084
+ return Object.fromEntries(Object.entries(attrs).filter(([_, value]) => value !== undefined && value.value !== undefined));
1085
+ }
1086
+ }