@pulumi/vsphere 4.16.5 → 4.16.6

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 (327) hide show
  1. package/computeCluster.d.ts +141 -140
  2. package/computeCluster.d.ts.map +1 -0
  3. package/computeCluster.js +29 -6
  4. package/computeCluster.js.map +1 -1
  5. package/computeClusterHostGroup.d.ts +6 -5
  6. package/computeClusterHostGroup.d.ts.map +1 -0
  7. package/computeClusterHostGroup.js +27 -4
  8. package/computeClusterHostGroup.js.map +1 -1
  9. package/computeClusterVmAffinityRule.d.ts +10 -9
  10. package/computeClusterVmAffinityRule.d.ts.map +1 -0
  11. package/computeClusterVmAffinityRule.js +28 -5
  12. package/computeClusterVmAffinityRule.js.map +1 -1
  13. package/computeClusterVmAntiAffinityRule.d.ts +9 -8
  14. package/computeClusterVmAntiAffinityRule.d.ts.map +1 -0
  15. package/computeClusterVmAntiAffinityRule.js +27 -4
  16. package/computeClusterVmAntiAffinityRule.js.map +1 -1
  17. package/computeClusterVmDependencyRule.d.ts +10 -9
  18. package/computeClusterVmDependencyRule.d.ts.map +1 -0
  19. package/computeClusterVmDependencyRule.js +27 -4
  20. package/computeClusterVmDependencyRule.js.map +1 -1
  21. package/computeClusterVmGroup.d.ts +6 -5
  22. package/computeClusterVmGroup.d.ts.map +1 -0
  23. package/computeClusterVmGroup.js +27 -4
  24. package/computeClusterVmGroup.js.map +1 -1
  25. package/computeClusterVmHostRule.d.ts +13 -12
  26. package/computeClusterVmHostRule.d.ts.map +1 -0
  27. package/computeClusterVmHostRule.js +27 -4
  28. package/computeClusterVmHostRule.js.map +1 -1
  29. package/config/index.d.ts +1 -0
  30. package/config/index.d.ts.map +1 -0
  31. package/config/vars.d.ts +1 -0
  32. package/config/vars.d.ts.map +1 -0
  33. package/config/vars.js +25 -2
  34. package/config/vars.js.map +1 -1
  35. package/configurationProfile.d.ts +8 -7
  36. package/configurationProfile.d.ts.map +1 -0
  37. package/configurationProfile.js +28 -5
  38. package/configurationProfile.js.map +1 -1
  39. package/contentLibrary.d.ts +10 -9
  40. package/contentLibrary.d.ts.map +1 -0
  41. package/contentLibrary.js +27 -4
  42. package/contentLibrary.js.map +1 -1
  43. package/contentLibraryItem.d.ts +12 -11
  44. package/contentLibraryItem.d.ts.map +1 -0
  45. package/contentLibraryItem.js +27 -4
  46. package/contentLibraryItem.js.map +1 -1
  47. package/customAttribute.d.ts +5 -4
  48. package/customAttribute.d.ts.map +1 -0
  49. package/customAttribute.js +27 -4
  50. package/customAttribute.js.map +1 -1
  51. package/datacenter.d.ts +10 -9
  52. package/datacenter.d.ts.map +1 -0
  53. package/datacenter.js +27 -4
  54. package/datacenter.js.map +1 -1
  55. package/datastoreCluster.d.ts +50 -49
  56. package/datastoreCluster.d.ts.map +1 -0
  57. package/datastoreCluster.js +27 -4
  58. package/datastoreCluster.js.map +1 -1
  59. package/datastoreClusterVmAntiAffinityRule.d.ts +9 -8
  60. package/datastoreClusterVmAntiAffinityRule.d.ts.map +1 -0
  61. package/datastoreClusterVmAntiAffinityRule.js +27 -4
  62. package/datastoreClusterVmAntiAffinityRule.js.map +1 -1
  63. package/distributedPortGroup.d.ts +94 -93
  64. package/distributedPortGroup.d.ts.map +1 -0
  65. package/distributedPortGroup.js +27 -4
  66. package/distributedPortGroup.js.map +1 -1
  67. package/distributedVirtualSwitch.d.ts +189 -188
  68. package/distributedVirtualSwitch.d.ts.map +1 -0
  69. package/distributedVirtualSwitch.js +27 -4
  70. package/distributedVirtualSwitch.js.map +1 -1
  71. package/distributedVirtualSwitchPvlanMapping.d.ts +5 -4
  72. package/distributedVirtualSwitchPvlanMapping.d.ts.map +1 -0
  73. package/distributedVirtualSwitchPvlanMapping.js +27 -4
  74. package/distributedVirtualSwitchPvlanMapping.js.map +1 -1
  75. package/dpmHostOverride.d.ts +7 -6
  76. package/dpmHostOverride.d.ts.map +1 -0
  77. package/dpmHostOverride.js +27 -4
  78. package/dpmHostOverride.js.map +1 -1
  79. package/drsVmOverride.d.ts +7 -6
  80. package/drsVmOverride.d.ts.map +1 -0
  81. package/drsVmOverride.js +27 -4
  82. package/drsVmOverride.js.map +1 -1
  83. package/entityPermissions.d.ts +4 -3
  84. package/entityPermissions.d.ts.map +1 -0
  85. package/entityPermissions.js +27 -4
  86. package/entityPermissions.js.map +1 -1
  87. package/file.d.ts +12 -11
  88. package/file.d.ts.map +1 -0
  89. package/file.js +27 -4
  90. package/file.js.map +1 -1
  91. package/folder.d.ts +9 -8
  92. package/folder.d.ts.map +1 -0
  93. package/folder.js +27 -4
  94. package/folder.js.map +1 -1
  95. package/getComputeCluster.d.ts +2 -1
  96. package/getComputeCluster.d.ts.map +1 -0
  97. package/getComputeCluster.js +25 -2
  98. package/getComputeCluster.js.map +1 -1
  99. package/getComputeClusterHostGroup.d.ts +1 -0
  100. package/getComputeClusterHostGroup.d.ts.map +1 -0
  101. package/getComputeClusterHostGroup.js +25 -2
  102. package/getComputeClusterHostGroup.js.map +1 -1
  103. package/getConfigurationProfile.d.ts +1 -0
  104. package/getConfigurationProfile.d.ts.map +1 -0
  105. package/getConfigurationProfile.js +25 -2
  106. package/getConfigurationProfile.js.map +1 -1
  107. package/getContentLibrary.d.ts +1 -0
  108. package/getContentLibrary.d.ts.map +1 -0
  109. package/getContentLibrary.js +25 -2
  110. package/getContentLibrary.js.map +1 -1
  111. package/getContentLibraryItem.d.ts +1 -0
  112. package/getContentLibraryItem.d.ts.map +1 -0
  113. package/getContentLibraryItem.js +25 -2
  114. package/getContentLibraryItem.js.map +1 -1
  115. package/getCustomAttribute.d.ts +1 -0
  116. package/getCustomAttribute.d.ts.map +1 -0
  117. package/getCustomAttribute.js +25 -2
  118. package/getCustomAttribute.js.map +1 -1
  119. package/getDatacenter.d.ts +2 -1
  120. package/getDatacenter.d.ts.map +1 -0
  121. package/getDatacenter.js +25 -2
  122. package/getDatacenter.js.map +1 -1
  123. package/getDatastore.d.ts +3 -2
  124. package/getDatastore.d.ts.map +1 -0
  125. package/getDatastore.js +25 -2
  126. package/getDatastore.js.map +1 -1
  127. package/getDatastoreCluster.d.ts +2 -1
  128. package/getDatastoreCluster.d.ts.map +1 -0
  129. package/getDatastoreCluster.js +25 -2
  130. package/getDatastoreCluster.js.map +1 -1
  131. package/getDatastoreStats.d.ts +3 -2
  132. package/getDatastoreStats.d.ts.map +1 -0
  133. package/getDatastoreStats.js +25 -2
  134. package/getDatastoreStats.js.map +1 -1
  135. package/getDistributedVirtualSwitch.d.ts +2 -1
  136. package/getDistributedVirtualSwitch.d.ts.map +1 -0
  137. package/getDistributedVirtualSwitch.js +25 -2
  138. package/getDistributedVirtualSwitch.js.map +1 -1
  139. package/getDynamic.d.ts +3 -2
  140. package/getDynamic.d.ts.map +1 -0
  141. package/getDynamic.js +25 -2
  142. package/getDynamic.js.map +1 -1
  143. package/getFolder.d.ts +1 -0
  144. package/getFolder.d.ts.map +1 -0
  145. package/getFolder.js +25 -2
  146. package/getFolder.js.map +1 -1
  147. package/getGuestOsCustomization.d.ts +1 -0
  148. package/getGuestOsCustomization.d.ts.map +1 -0
  149. package/getGuestOsCustomization.js +25 -2
  150. package/getGuestOsCustomization.js.map +1 -1
  151. package/getHost.d.ts +2 -1
  152. package/getHost.d.ts.map +1 -0
  153. package/getHost.js +25 -2
  154. package/getHost.js.map +1 -1
  155. package/getHostBaseImages.d.ts +1 -0
  156. package/getHostBaseImages.d.ts.map +1 -0
  157. package/getHostBaseImages.js +25 -2
  158. package/getHostBaseImages.js.map +1 -1
  159. package/getHostPciDevice.d.ts +4 -3
  160. package/getHostPciDevice.d.ts.map +1 -0
  161. package/getHostPciDevice.js +25 -2
  162. package/getHostPciDevice.js.map +1 -1
  163. package/getHostThumbprint.d.ts +3 -2
  164. package/getHostThumbprint.d.ts.map +1 -0
  165. package/getHostThumbprint.js +25 -2
  166. package/getHostThumbprint.js.map +1 -1
  167. package/getHostVgpuProfile.d.ts +2 -1
  168. package/getHostVgpuProfile.d.ts.map +1 -0
  169. package/getHostVgpuProfile.js +25 -2
  170. package/getHostVgpuProfile.js.map +1 -1
  171. package/getLicense.d.ts +1 -0
  172. package/getLicense.d.ts.map +1 -0
  173. package/getLicense.js +25 -2
  174. package/getLicense.js.map +1 -1
  175. package/getNetwork.d.ts +7 -6
  176. package/getNetwork.d.ts.map +1 -0
  177. package/getNetwork.js +25 -2
  178. package/getNetwork.js.map +1 -1
  179. package/getOvfVmTemplate.d.ts +18 -17
  180. package/getOvfVmTemplate.d.ts.map +1 -0
  181. package/getOvfVmTemplate.js +31 -8
  182. package/getOvfVmTemplate.js.map +1 -1
  183. package/getPolicy.d.ts +1 -0
  184. package/getPolicy.d.ts.map +1 -0
  185. package/getPolicy.js +25 -2
  186. package/getPolicy.js.map +1 -1
  187. package/getResourcePool.d.ts +4 -3
  188. package/getResourcePool.d.ts.map +1 -0
  189. package/getResourcePool.js +25 -2
  190. package/getResourcePool.js.map +1 -1
  191. package/getRole.d.ts +4 -3
  192. package/getRole.d.ts.map +1 -0
  193. package/getRole.js +25 -2
  194. package/getRole.js.map +1 -1
  195. package/getTag.d.ts +1 -0
  196. package/getTag.d.ts.map +1 -0
  197. package/getTag.js +25 -2
  198. package/getTag.js.map +1 -1
  199. package/getTagCategory.d.ts +1 -0
  200. package/getTagCategory.d.ts.map +1 -0
  201. package/getTagCategory.js +25 -2
  202. package/getTagCategory.js.map +1 -1
  203. package/getVappContainer.d.ts +1 -0
  204. package/getVappContainer.d.ts.map +1 -0
  205. package/getVappContainer.js +25 -2
  206. package/getVappContainer.js.map +1 -1
  207. package/getVirtualMachine.d.ts +57 -56
  208. package/getVirtualMachine.d.ts.map +1 -0
  209. package/getVirtualMachine.js +25 -2
  210. package/getVirtualMachine.js.map +1 -1
  211. package/getVmfsDisks.d.ts +3 -2
  212. package/getVmfsDisks.d.ts.map +1 -0
  213. package/getVmfsDisks.js +25 -2
  214. package/getVmfsDisks.js.map +1 -1
  215. package/guestOsCustomization.d.ts +9 -8
  216. package/guestOsCustomization.d.ts.map +1 -0
  217. package/guestOsCustomization.js +27 -4
  218. package/guestOsCustomization.js.map +1 -1
  219. package/haVmOverride.d.ts +29 -28
  220. package/haVmOverride.d.ts.map +1 -0
  221. package/haVmOverride.js +27 -4
  222. package/haVmOverride.js.map +1 -1
  223. package/host.d.ts +28 -27
  224. package/host.d.ts.map +1 -0
  225. package/host.js +27 -4
  226. package/host.js.map +1 -1
  227. package/hostPortGroup.d.ts +36 -35
  228. package/hostPortGroup.d.ts.map +1 -0
  229. package/hostPortGroup.js +27 -4
  230. package/hostPortGroup.js.map +1 -1
  231. package/hostVirtualSwitch.d.ts +40 -39
  232. package/hostVirtualSwitch.d.ts.map +1 -0
  233. package/hostVirtualSwitch.js +27 -4
  234. package/hostVirtualSwitch.js.map +1 -1
  235. package/index.d.ts +1 -0
  236. package/index.d.ts.map +1 -0
  237. package/index.js +16 -4
  238. package/index.js.map +1 -1
  239. package/license.d.ts +8 -7
  240. package/license.d.ts.map +1 -0
  241. package/license.js +27 -4
  242. package/license.js.map +1 -1
  243. package/nasDatastore.d.ts +28 -27
  244. package/nasDatastore.d.ts.map +1 -0
  245. package/nasDatastore.js +27 -4
  246. package/nasDatastore.js.map +1 -1
  247. package/offlineSoftwareDepot.d.ts +3 -2
  248. package/offlineSoftwareDepot.d.ts.map +1 -0
  249. package/offlineSoftwareDepot.js +27 -4
  250. package/offlineSoftwareDepot.js.map +1 -1
  251. package/package.json +3 -3
  252. package/provider.d.ts +14 -13
  253. package/provider.d.ts.map +1 -0
  254. package/provider.js +27 -4
  255. package/provider.js.map +1 -1
  256. package/resourcePool.d.ts +30 -29
  257. package/resourcePool.d.ts.map +1 -0
  258. package/resourcePool.js +27 -4
  259. package/resourcePool.js.map +1 -1
  260. package/role.d.ts +6 -5
  261. package/role.d.ts.map +1 -0
  262. package/role.js +27 -4
  263. package/role.js.map +1 -1
  264. package/storageDrsVmOverride.d.ts +9 -8
  265. package/storageDrsVmOverride.d.ts.map +1 -0
  266. package/storageDrsVmOverride.js +27 -4
  267. package/storageDrsVmOverride.js.map +1 -1
  268. package/supervisor.d.ts +19 -18
  269. package/supervisor.d.ts.map +1 -0
  270. package/supervisor.js +27 -4
  271. package/supervisor.js.map +1 -1
  272. package/tag.d.ts +6 -5
  273. package/tag.d.ts.map +1 -0
  274. package/tag.js +27 -4
  275. package/tag.js.map +1 -1
  276. package/tagCategory.d.ts +7 -6
  277. package/tagCategory.d.ts.map +1 -0
  278. package/tagCategory.js +27 -4
  279. package/tagCategory.js.map +1 -1
  280. package/types/index.d.ts +1 -0
  281. package/types/index.d.ts.map +1 -0
  282. package/types/index.js +25 -2
  283. package/types/index.js.map +1 -1
  284. package/types/input.d.ts +160 -159
  285. package/types/input.d.ts.map +1 -0
  286. package/types/output.d.ts +1 -0
  287. package/types/output.d.ts.map +1 -0
  288. package/utilities.d.ts +1 -0
  289. package/utilities.d.ts.map +1 -0
  290. package/utilities.js +24 -1
  291. package/utilities.js.map +1 -1
  292. package/vappContainer.d.ts +30 -29
  293. package/vappContainer.d.ts.map +1 -0
  294. package/vappContainer.js +27 -4
  295. package/vappContainer.js.map +1 -1
  296. package/vappEntity.d.ts +19 -18
  297. package/vappEntity.d.ts.map +1 -0
  298. package/vappEntity.js +27 -4
  299. package/vappEntity.js.map +1 -1
  300. package/virtualDisk.d.ts +12 -11
  301. package/virtualDisk.d.ts.map +1 -0
  302. package/virtualDisk.js +27 -4
  303. package/virtualDisk.js.map +1 -1
  304. package/virtualMachine.d.ts +171 -170
  305. package/virtualMachine.d.ts.map +1 -0
  306. package/virtualMachine.js +33 -10
  307. package/virtualMachine.js.map +1 -1
  308. package/virtualMachineClass.d.ts +11 -10
  309. package/virtualMachineClass.d.ts.map +1 -0
  310. package/virtualMachineClass.js +27 -4
  311. package/virtualMachineClass.js.map +1 -1
  312. package/virtualMachineSnapshot.d.ts +10 -9
  313. package/virtualMachineSnapshot.d.ts.map +1 -0
  314. package/virtualMachineSnapshot.js +27 -4
  315. package/virtualMachineSnapshot.js.map +1 -1
  316. package/vmStoragePolicy.d.ts +6 -5
  317. package/vmStoragePolicy.d.ts.map +1 -0
  318. package/vmStoragePolicy.js +27 -4
  319. package/vmStoragePolicy.js.map +1 -1
  320. package/vmfsDatastore.d.ts +20 -19
  321. package/vmfsDatastore.d.ts.map +1 -0
  322. package/vmfsDatastore.js +27 -4
  323. package/vmfsDatastore.js.map +1 -1
  324. package/vnic.d.ts +20 -19
  325. package/vnic.d.ts.map +1 -0
  326. package/vnic.js +27 -4
  327. package/vnic.js.map +1 -1
@@ -243,13 +243,13 @@ export interface DatastoreClusterState {
243
243
  */
244
244
  customAttributes?: pulumi.Input<{
245
245
  [key: string]: pulumi.Input<string>;
246
- }>;
246
+ } | undefined>;
247
247
  /**
248
248
  * The [managed object ID][docs-about-morefs] of
249
249
  * the datacenter to create the datastore cluster in. Forces a new resource if
250
250
  * changed.
251
251
  */
252
- datacenterId?: pulumi.Input<string>;
252
+ datacenterId?: pulumi.Input<string | undefined>;
253
253
  /**
254
254
  * The relative path to a folder to put this datastore
255
255
  * cluster in. This is a path relative to the datacenter you are deploying the
@@ -259,94 +259,94 @@ export interface DatastoreClusterState {
259
259
  * `/dc1/datastore/foo/bar`, with the final inventory path being
260
260
  * `/dc1/datastore/foo/bar/terraform-datastore-cluster-test`.
261
261
  */
262
- folder?: pulumi.Input<string>;
262
+ folder?: pulumi.Input<string | undefined>;
263
263
  /**
264
264
  * The name of the datastore cluster.
265
265
  */
266
- name?: pulumi.Input<string>;
266
+ name?: pulumi.Input<string | undefined>;
267
267
  /**
268
268
  * Advanced configuration options for storage DRS.
269
269
  */
270
270
  sdrsAdvancedOptions?: pulumi.Input<{
271
271
  [key: string]: pulumi.Input<string>;
272
- }>;
272
+ } | undefined>;
273
273
  /**
274
274
  * The default automation level for all virtual machines in this storage cluster.
275
275
  */
276
- sdrsAutomationLevel?: pulumi.Input<string>;
276
+ sdrsAutomationLevel?: pulumi.Input<string | undefined>;
277
277
  /**
278
278
  * When true, storage DRS keeps VMDKs for individual VMs on the same datastore by default.
279
279
  */
280
- sdrsDefaultIntraVmAffinity?: pulumi.Input<boolean>;
280
+ sdrsDefaultIntraVmAffinity?: pulumi.Input<boolean | undefined>;
281
281
  /**
282
282
  * Enable Storage DRS for this datastore cluster.
283
283
  * Default: `false`.
284
284
  */
285
- sdrsEnabled?: pulumi.Input<boolean>;
285
+ sdrsEnabled?: pulumi.Input<boolean | undefined>;
286
286
  /**
287
287
  * The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore.
288
288
  */
289
- sdrsFreeSpaceThreshold?: pulumi.Input<number>;
289
+ sdrsFreeSpaceThreshold?: pulumi.Input<number | undefined>;
290
290
  /**
291
291
  * The free space threshold to use. When set to utilization, drsSpaceUtilizationThreshold is used, and when set to freeSpace, drsFreeSpaceThreshold is used.
292
292
  */
293
- sdrsFreeSpaceThresholdMode?: pulumi.Input<string>;
293
+ sdrsFreeSpaceThresholdMode?: pulumi.Input<string | undefined>;
294
294
  /**
295
295
  * The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to balance the space.
296
296
  */
297
- sdrsFreeSpaceUtilizationDifference?: pulumi.Input<number>;
297
+ sdrsFreeSpaceUtilizationDifference?: pulumi.Input<number | undefined>;
298
298
  /**
299
299
  * Overrides the default automation settings when correcting I/O load imbalances.
300
300
  */
301
- sdrsIoBalanceAutomationLevel?: pulumi.Input<string>;
301
+ sdrsIoBalanceAutomationLevel?: pulumi.Input<string | undefined>;
302
302
  /**
303
303
  * The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this datastore.
304
304
  */
305
- sdrsIoLatencyThreshold?: pulumi.Input<number>;
305
+ sdrsIoLatencyThreshold?: pulumi.Input<number | undefined>;
306
306
  /**
307
307
  * Enable I/O load balancing for this datastore cluster.
308
308
  */
309
- sdrsIoLoadBalanceEnabled?: pulumi.Input<boolean>;
309
+ sdrsIoLoadBalanceEnabled?: pulumi.Input<boolean | undefined>;
310
310
  /**
311
311
  * The difference between load in datastores in the cluster before storage DRS makes recommendations to balance the load.
312
312
  */
313
- sdrsIoLoadImbalanceThreshold?: pulumi.Input<number>;
313
+ sdrsIoLoadImbalanceThreshold?: pulumi.Input<number | undefined>;
314
314
  /**
315
315
  * The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to move VMs off of a datastore.
316
316
  */
317
- sdrsIoReservableIopsThreshold?: pulumi.Input<number>;
317
+ sdrsIoReservableIopsThreshold?: pulumi.Input<number | undefined>;
318
318
  /**
319
319
  * The threshold, in percent, of actual estimated performance of the datastore (in IOPS) that storage DRS uses to make recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
320
320
  */
321
- sdrsIoReservablePercentThreshold?: pulumi.Input<number>;
321
+ sdrsIoReservablePercentThreshold?: pulumi.Input<number | undefined>;
322
322
  /**
323
323
  * The reservable IOPS threshold to use, percent in the event of automatic, or manual threshold in the event of manual.
324
324
  */
325
- sdrsIoReservableThresholdMode?: pulumi.Input<string>;
325
+ sdrsIoReservableThresholdMode?: pulumi.Input<string | undefined>;
326
326
  /**
327
327
  * The storage DRS poll interval, in minutes.
328
328
  */
329
- sdrsLoadBalanceInterval?: pulumi.Input<number>;
329
+ sdrsLoadBalanceInterval?: pulumi.Input<number | undefined>;
330
330
  /**
331
331
  * Overrides the default automation settings when correcting storage and VM policy violations.
332
332
  */
333
- sdrsPolicyEnforcementAutomationLevel?: pulumi.Input<string>;
333
+ sdrsPolicyEnforcementAutomationLevel?: pulumi.Input<string | undefined>;
334
334
  /**
335
335
  * Overrides the default automation settings when correcting affinity rule violations.
336
336
  */
337
- sdrsRuleEnforcementAutomationLevel?: pulumi.Input<string>;
337
+ sdrsRuleEnforcementAutomationLevel?: pulumi.Input<string | undefined>;
338
338
  /**
339
339
  * Overrides the default automation settings when correcting disk space imbalances.
340
340
  */
341
- sdrsSpaceBalanceAutomationLevel?: pulumi.Input<string>;
341
+ sdrsSpaceBalanceAutomationLevel?: pulumi.Input<string | undefined>;
342
342
  /**
343
343
  * The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
344
344
  */
345
- sdrsSpaceUtilizationThreshold?: pulumi.Input<number>;
345
+ sdrsSpaceUtilizationThreshold?: pulumi.Input<number | undefined>;
346
346
  /**
347
347
  * Overrides the default automation settings when generating recommendations for datastore evacuation.
348
348
  */
349
- sdrsVmEvacuationAutomationLevel?: pulumi.Input<string>;
349
+ sdrsVmEvacuationAutomationLevel?: pulumi.Input<string | undefined>;
350
350
  /**
351
351
  * The IDs of any tags to attach to this resource. See
352
352
  * [here][docs-applying-tags] for a reference on how to apply tags.
@@ -354,7 +354,7 @@ export interface DatastoreClusterState {
354
354
  * [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
355
355
  * [docs-applying-tags]: /docs/providers/vsphere/r/tag.html#using-tags-in-a-supported-resource
356
356
  */
357
- tags?: pulumi.Input<pulumi.Input<string>[]>;
357
+ tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
358
358
  }
359
359
  /**
360
360
  * The set of arguments for constructing a DatastoreCluster resource.
@@ -373,7 +373,7 @@ export interface DatastoreClusterArgs {
373
373
  */
374
374
  customAttributes?: pulumi.Input<{
375
375
  [key: string]: pulumi.Input<string>;
376
- }>;
376
+ } | undefined>;
377
377
  /**
378
378
  * The [managed object ID][docs-about-morefs] of
379
379
  * the datacenter to create the datastore cluster in. Forces a new resource if
@@ -389,94 +389,94 @@ export interface DatastoreClusterArgs {
389
389
  * `/dc1/datastore/foo/bar`, with the final inventory path being
390
390
  * `/dc1/datastore/foo/bar/terraform-datastore-cluster-test`.
391
391
  */
392
- folder?: pulumi.Input<string>;
392
+ folder?: pulumi.Input<string | undefined>;
393
393
  /**
394
394
  * The name of the datastore cluster.
395
395
  */
396
- name?: pulumi.Input<string>;
396
+ name?: pulumi.Input<string | undefined>;
397
397
  /**
398
398
  * Advanced configuration options for storage DRS.
399
399
  */
400
400
  sdrsAdvancedOptions?: pulumi.Input<{
401
401
  [key: string]: pulumi.Input<string>;
402
- }>;
402
+ } | undefined>;
403
403
  /**
404
404
  * The default automation level for all virtual machines in this storage cluster.
405
405
  */
406
- sdrsAutomationLevel?: pulumi.Input<string>;
406
+ sdrsAutomationLevel?: pulumi.Input<string | undefined>;
407
407
  /**
408
408
  * When true, storage DRS keeps VMDKs for individual VMs on the same datastore by default.
409
409
  */
410
- sdrsDefaultIntraVmAffinity?: pulumi.Input<boolean>;
410
+ sdrsDefaultIntraVmAffinity?: pulumi.Input<boolean | undefined>;
411
411
  /**
412
412
  * Enable Storage DRS for this datastore cluster.
413
413
  * Default: `false`.
414
414
  */
415
- sdrsEnabled?: pulumi.Input<boolean>;
415
+ sdrsEnabled?: pulumi.Input<boolean | undefined>;
416
416
  /**
417
417
  * The threshold, in GB, that storage DRS uses to make decisions to migrate VMs out of a datastore.
418
418
  */
419
- sdrsFreeSpaceThreshold?: pulumi.Input<number>;
419
+ sdrsFreeSpaceThreshold?: pulumi.Input<number | undefined>;
420
420
  /**
421
421
  * The free space threshold to use. When set to utilization, drsSpaceUtilizationThreshold is used, and when set to freeSpace, drsFreeSpaceThreshold is used.
422
422
  */
423
- sdrsFreeSpaceThresholdMode?: pulumi.Input<string>;
423
+ sdrsFreeSpaceThresholdMode?: pulumi.Input<string | undefined>;
424
424
  /**
425
425
  * The threshold, in percent, of difference between space utilization in datastores before storage DRS makes decisions to balance the space.
426
426
  */
427
- sdrsFreeSpaceUtilizationDifference?: pulumi.Input<number>;
427
+ sdrsFreeSpaceUtilizationDifference?: pulumi.Input<number | undefined>;
428
428
  /**
429
429
  * Overrides the default automation settings when correcting I/O load imbalances.
430
430
  */
431
- sdrsIoBalanceAutomationLevel?: pulumi.Input<string>;
431
+ sdrsIoBalanceAutomationLevel?: pulumi.Input<string | undefined>;
432
432
  /**
433
433
  * The I/O latency threshold, in milliseconds, that storage DRS uses to make recommendations to move disks from this datastore.
434
434
  */
435
- sdrsIoLatencyThreshold?: pulumi.Input<number>;
435
+ sdrsIoLatencyThreshold?: pulumi.Input<number | undefined>;
436
436
  /**
437
437
  * Enable I/O load balancing for this datastore cluster.
438
438
  */
439
- sdrsIoLoadBalanceEnabled?: pulumi.Input<boolean>;
439
+ sdrsIoLoadBalanceEnabled?: pulumi.Input<boolean | undefined>;
440
440
  /**
441
441
  * The difference between load in datastores in the cluster before storage DRS makes recommendations to balance the load.
442
442
  */
443
- sdrsIoLoadImbalanceThreshold?: pulumi.Input<number>;
443
+ sdrsIoLoadImbalanceThreshold?: pulumi.Input<number | undefined>;
444
444
  /**
445
445
  * The threshold of reservable IOPS of all virtual machines on the datastore before storage DRS makes recommendations to move VMs off of a datastore.
446
446
  */
447
- sdrsIoReservableIopsThreshold?: pulumi.Input<number>;
447
+ sdrsIoReservableIopsThreshold?: pulumi.Input<number | undefined>;
448
448
  /**
449
449
  * The threshold, in percent, of actual estimated performance of the datastore (in IOPS) that storage DRS uses to make recommendations to move VMs off of a datastore when the total reservable IOPS exceeds the threshold.
450
450
  */
451
- sdrsIoReservablePercentThreshold?: pulumi.Input<number>;
451
+ sdrsIoReservablePercentThreshold?: pulumi.Input<number | undefined>;
452
452
  /**
453
453
  * The reservable IOPS threshold to use, percent in the event of automatic, or manual threshold in the event of manual.
454
454
  */
455
- sdrsIoReservableThresholdMode?: pulumi.Input<string>;
455
+ sdrsIoReservableThresholdMode?: pulumi.Input<string | undefined>;
456
456
  /**
457
457
  * The storage DRS poll interval, in minutes.
458
458
  */
459
- sdrsLoadBalanceInterval?: pulumi.Input<number>;
459
+ sdrsLoadBalanceInterval?: pulumi.Input<number | undefined>;
460
460
  /**
461
461
  * Overrides the default automation settings when correcting storage and VM policy violations.
462
462
  */
463
- sdrsPolicyEnforcementAutomationLevel?: pulumi.Input<string>;
463
+ sdrsPolicyEnforcementAutomationLevel?: pulumi.Input<string | undefined>;
464
464
  /**
465
465
  * Overrides the default automation settings when correcting affinity rule violations.
466
466
  */
467
- sdrsRuleEnforcementAutomationLevel?: pulumi.Input<string>;
467
+ sdrsRuleEnforcementAutomationLevel?: pulumi.Input<string | undefined>;
468
468
  /**
469
469
  * Overrides the default automation settings when correcting disk space imbalances.
470
470
  */
471
- sdrsSpaceBalanceAutomationLevel?: pulumi.Input<string>;
471
+ sdrsSpaceBalanceAutomationLevel?: pulumi.Input<string | undefined>;
472
472
  /**
473
473
  * The threshold, in percent of used space, that storage DRS uses to make decisions to migrate VMs out of a datastore.
474
474
  */
475
- sdrsSpaceUtilizationThreshold?: pulumi.Input<number>;
475
+ sdrsSpaceUtilizationThreshold?: pulumi.Input<number | undefined>;
476
476
  /**
477
477
  * Overrides the default automation settings when generating recommendations for datastore evacuation.
478
478
  */
479
- sdrsVmEvacuationAutomationLevel?: pulumi.Input<string>;
479
+ sdrsVmEvacuationAutomationLevel?: pulumi.Input<string | undefined>;
480
480
  /**
481
481
  * The IDs of any tags to attach to this resource. See
482
482
  * [here][docs-applying-tags] for a reference on how to apply tags.
@@ -484,5 +484,6 @@ export interface DatastoreClusterArgs {
484
484
  * [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
485
485
  * [docs-applying-tags]: /docs/providers/vsphere/r/tag.html#using-tags-in-a-supported-resource
486
486
  */
487
- tags?: pulumi.Input<pulumi.Input<string>[]>;
487
+ tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
488
488
  }
489
+ //# sourceMappingURL=datastoreCluster.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datastoreCluster.d.ts","sourceRoot":"","sources":["../datastoreCluster.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,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CAAC;IACxE;;OAEG;IACH,kCAAkC,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtE;;OAEG;IACH,+BAA+B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnE;;OAEG;IACH,6BAA6B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjE;;OAEG;IACH,+BAA+B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnE;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC3D"}
@@ -1,10 +1,33 @@
1
1
  "use strict";
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
4
27
  Object.defineProperty(exports, "__esModule", { value: true });
5
28
  exports.DatastoreCluster = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
8
31
  /**
9
32
  * The `vsphere.DatastoreCluster` resource can be used to create and manage
10
33
  * datastore clusters. This can be used to create groups of datastores with a
@@ -95,6 +118,8 @@ class DatastoreCluster extends pulumi.CustomResource {
95
118
  static get(name, id, state, opts) {
96
119
  return new DatastoreCluster(name, state, { ...opts, id: id });
97
120
  }
121
+ /** @internal */
122
+ static __pulumiType = 'vsphere:index/datastoreCluster:DatastoreCluster';
98
123
  /**
99
124
  * Returns true if the given object is an instance of DatastoreCluster. This is designed to work even
100
125
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
@@ -172,6 +197,4 @@ class DatastoreCluster extends pulumi.CustomResource {
172
197
  }
173
198
  }
174
199
  exports.DatastoreCluster = DatastoreCluster;
175
- /** @internal */
176
- DatastoreCluster.__pulumiType = 'vsphere:index/datastoreCluster:DatastoreCluster';
177
200
  //# sourceMappingURL=datastoreCluster.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"datastoreCluster.js","sourceRoot":"","sources":["../datastoreCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAA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,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA7NL,4CA8NC"}
@@ -157,20 +157,20 @@ export interface DatastoreClusterVmAntiAffinityRuleState {
157
157
  *
158
158
  * [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
159
159
  */
160
- datastoreClusterId?: pulumi.Input<string>;
160
+ datastoreClusterId?: pulumi.Input<string | undefined>;
161
161
  /**
162
162
  * Enable this rule in the cluster. Default: `true`.
163
163
  */
164
- enabled?: pulumi.Input<boolean>;
164
+ enabled?: pulumi.Input<boolean | undefined>;
165
165
  /**
166
166
  * When this value is `true`, prevents any virtual
167
167
  * machine operations that may violate this rule. Default: `false`.
168
168
  */
169
- mandatory?: pulumi.Input<boolean>;
169
+ mandatory?: pulumi.Input<boolean | undefined>;
170
170
  /**
171
171
  * The name of the rule. This must be unique in the cluster.
172
172
  */
173
- name?: pulumi.Input<string>;
173
+ name?: pulumi.Input<string | undefined>;
174
174
  /**
175
175
  * The UUIDs of the virtual machines to run
176
176
  * on different datastores from each other.
@@ -180,7 +180,7 @@ export interface DatastoreClusterVmAntiAffinityRuleState {
180
180
  * the apply phase, not the validation or plan phases. Ensure proper length of
181
181
  * this value to prevent failures mid-apply.
182
182
  */
183
- virtualMachineIds?: pulumi.Input<pulumi.Input<string>[]>;
183
+ virtualMachineIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
184
184
  }
185
185
  /**
186
186
  * The set of arguments for constructing a DatastoreClusterVmAntiAffinityRule resource.
@@ -197,16 +197,16 @@ export interface DatastoreClusterVmAntiAffinityRuleArgs {
197
197
  /**
198
198
  * Enable this rule in the cluster. Default: `true`.
199
199
  */
200
- enabled?: pulumi.Input<boolean>;
200
+ enabled?: pulumi.Input<boolean | undefined>;
201
201
  /**
202
202
  * When this value is `true`, prevents any virtual
203
203
  * machine operations that may violate this rule. Default: `false`.
204
204
  */
205
- mandatory?: pulumi.Input<boolean>;
205
+ mandatory?: pulumi.Input<boolean | undefined>;
206
206
  /**
207
207
  * The name of the rule. This must be unique in the cluster.
208
208
  */
209
- name?: pulumi.Input<string>;
209
+ name?: pulumi.Input<string | undefined>;
210
210
  /**
211
211
  * The UUIDs of the virtual machines to run
212
212
  * on different datastores from each other.
@@ -218,3 +218,4 @@ export interface DatastoreClusterVmAntiAffinityRuleArgs {
218
218
  */
219
219
  virtualMachineIds: pulumi.Input<pulumi.Input<string>[]>;
220
220
  }
221
+ //# sourceMappingURL=datastoreClusterVmAntiAffinityRule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"datastoreClusterVmAntiAffinityRule.d.ts","sourceRoot":"","sources":["../datastoreClusterVmAntiAffinityRule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0FG;AACH,qBAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,uCAAuC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,kCAAkC;IAOtL;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,kCAAkC;IAO7E;;;;;;OAMG;IACH,SAAwB,kBAAkB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAClE;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACpE;;;OAGG;IACH,SAAwB,SAAS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I,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;;;;;;;OAQG;IACH,iBAAiB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;CAC3D"}
@@ -1,10 +1,33 @@
1
1
  "use strict";
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
4
27
  Object.defineProperty(exports, "__esModule", { value: true });
5
28
  exports.DatastoreClusterVmAntiAffinityRule = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
8
31
  /**
9
32
  * The `vsphere.DatastoreClusterVmAntiAffinityRule` resource can be used to
10
33
  * manage VM anti-affinity rules in a datastore cluster, either created by the
@@ -109,6 +132,8 @@ class DatastoreClusterVmAntiAffinityRule extends pulumi.CustomResource {
109
132
  static get(name, id, state, opts) {
110
133
  return new DatastoreClusterVmAntiAffinityRule(name, state, { ...opts, id: id });
111
134
  }
135
+ /** @internal */
136
+ static __pulumiType = 'vsphere:index/datastoreClusterVmAntiAffinityRule:DatastoreClusterVmAntiAffinityRule';
112
137
  /**
113
138
  * Returns true if the given object is an instance of DatastoreClusterVmAntiAffinityRule. This is designed to work even
114
139
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
@@ -149,6 +174,4 @@ class DatastoreClusterVmAntiAffinityRule extends pulumi.CustomResource {
149
174
  }
150
175
  }
151
176
  exports.DatastoreClusterVmAntiAffinityRule = DatastoreClusterVmAntiAffinityRule;
152
- /** @internal */
153
- DatastoreClusterVmAntiAffinityRule.__pulumiType = 'vsphere:index/datastoreClusterVmAntiAffinityRule:DatastoreClusterVmAntiAffinityRule';
154
177
  //# sourceMappingURL=datastoreClusterVmAntiAffinityRule.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"datastoreClusterVmAntiAffinityRule.js","sourceRoot":"","sources":["../datastoreClusterVmAntiAffinityRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0FG;AACH,MAAa,kCAAmC,SAAQ,MAAM,CAAC,cAAc;IACzE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+C,EAAE,IAAmC;QAC7I,OAAO,IAAI,kCAAkC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ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