@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
@@ -56,10 +56,10 @@ import * as outputs from "./types/output";
56
56
  * const datacenterGetDatacenter = vsphere.getDatacenter({
57
57
  * name: datacenter,
58
58
  * });
59
- * const host = .reduce((__obj, [__key, __value]) => ({ ...__obj, [__key]: vsphere.getHost({
59
+ * const host = .reduce((__obj, [__key, __value]) => ({ ...__obj, [String(__key)]: vsphere.getHost({
60
60
  * name: __value,
61
61
  * datacenterId: _arg0_.id,
62
- * }) }));
62
+ * }) }), {});
63
63
  * const computeCluster = new vsphere.ComputeCluster("compute_cluster", {
64
64
  * name: "pulumi-compute-cluster-test",
65
65
  * datacenterId: datacenterGetDatacenter.then(datacenterGetDatacenter => datacenterGetDatacenter.id),
@@ -486,54 +486,54 @@ export interface ComputeClusterState {
486
486
  */
487
487
  customAttributes?: pulumi.Input<{
488
488
  [key: string]: pulumi.Input<string>;
489
- }>;
489
+ } | undefined>;
490
490
  /**
491
491
  * The [managed object ID][docs-about-morefs] of
492
492
  * the datacenter to create the cluster in. Forces a new resource if changed.
493
493
  */
494
- datacenterId?: pulumi.Input<string>;
494
+ datacenterId?: pulumi.Input<string | undefined>;
495
495
  /**
496
496
  * The automation level for host power operations in this cluster. Can be one of manual or automated.
497
497
  */
498
- dpmAutomationLevel?: pulumi.Input<string>;
498
+ dpmAutomationLevel?: pulumi.Input<string | undefined>;
499
499
  /**
500
500
  * Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual machines in the cluster. Requires that DRS be enabled.
501
501
  */
502
- dpmEnabled?: pulumi.Input<boolean>;
502
+ dpmEnabled?: pulumi.Input<boolean | undefined>;
503
503
  /**
504
504
  * A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher setting.
505
505
  */
506
- dpmThreshold?: pulumi.Input<number>;
506
+ dpmThreshold?: pulumi.Input<number | undefined>;
507
507
  /**
508
508
  * Advanced configuration options for DRS and DPM.
509
509
  */
510
510
  drsAdvancedOptions?: pulumi.Input<{
511
511
  [key: string]: pulumi.Input<string>;
512
- }>;
512
+ } | undefined>;
513
513
  /**
514
514
  * The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or fullyAutomated.
515
515
  */
516
- drsAutomationLevel?: pulumi.Input<string>;
516
+ drsAutomationLevel?: pulumi.Input<string | undefined>;
517
517
  /**
518
518
  * When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
519
519
  */
520
- drsEnablePredictiveDrs?: pulumi.Input<boolean>;
520
+ drsEnablePredictiveDrs?: pulumi.Input<boolean | undefined>;
521
521
  /**
522
522
  * When true, allows individual VM overrides within this cluster to be set.
523
523
  */
524
- drsEnableVmOverrides?: pulumi.Input<boolean>;
524
+ drsEnableVmOverrides?: pulumi.Input<boolean | undefined>;
525
525
  /**
526
526
  * Enable DRS for this cluster.
527
527
  */
528
- drsEnabled?: pulumi.Input<boolean>;
528
+ drsEnabled?: pulumi.Input<boolean | undefined>;
529
529
  /**
530
530
  * A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate more imbalance while a higher setting will tolerate less.
531
531
  */
532
- drsMigrationThreshold?: pulumi.Input<number>;
532
+ drsMigrationThreshold?: pulumi.Input<number | undefined>;
533
533
  /**
534
534
  * Enable scalable shares for all descendants of this cluster.
535
535
  */
536
- drsScaleDescendantsShares?: pulumi.Input<string>;
536
+ drsScaleDescendantsShares?: pulumi.Input<string | undefined>;
537
537
  /**
538
538
  * The relative path to a folder to put this cluster in.
539
539
  * This is a path relative to the datacenter you are deploying the cluster to.
@@ -542,173 +542,173 @@ export interface ComputeClusterState {
542
542
  * host folder located at `/dc1/host/foo/bar`, with the final inventory path
543
543
  * being `/dc1/host/foo/bar/terraform-datastore-cluster-test`.
544
544
  */
545
- folder?: pulumi.Input<string>;
545
+ folder?: pulumi.Input<string | undefined>;
546
546
  /**
547
547
  * Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists for testing and is not recommended in normal use.
548
548
  */
549
- forceEvacuateOnDestroy?: pulumi.Input<boolean>;
549
+ forceEvacuateOnDestroy?: pulumi.Input<boolean | undefined>;
550
550
  /**
551
551
  * When haAdmissionControlPolicy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS will ignore the host when making recommendations.
552
552
  */
553
- haAdmissionControlFailoverHostSystemIds?: pulumi.Input<pulumi.Input<string>[]>;
553
+ haAdmissionControlFailoverHostSystemIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
554
554
  /**
555
555
  * The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual machine operations. The maximum is one less than the number of hosts in the cluster.
556
556
  */
557
- haAdmissionControlHostFailureTolerance?: pulumi.Input<number>;
557
+ haAdmissionControlHostFailureTolerance?: pulumi.Input<number | undefined>;
558
558
  /**
559
559
  * The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces warnings only, whereas a value of 100 disables the setting.
560
560
  */
561
- haAdmissionControlPerformanceTolerance?: pulumi.Input<number>;
561
+ haAdmissionControlPerformanceTolerance?: pulumi.Input<number | undefined>;
562
562
  /**
563
563
  * The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage, slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service issues.
564
564
  */
565
- haAdmissionControlPolicy?: pulumi.Input<string>;
565
+ haAdmissionControlPolicy?: pulumi.Input<string | undefined>;
566
566
  /**
567
567
  * When haAdmissionControlPolicy is resourcePercentage, automatically determine available resource percentages by subtracting the average number of host resources represented by the haAdmissionControlHostFailureTolerance setting from the total amount of resources in the cluster. Disable to supply user-defined values.
568
568
  */
569
- haAdmissionControlResourcePercentageAutoCompute?: pulumi.Input<boolean>;
569
+ haAdmissionControlResourcePercentageAutoCompute?: pulumi.Input<boolean | undefined>;
570
570
  /**
571
571
  * When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of CPU resources in the cluster to reserve for failover.
572
572
  */
573
- haAdmissionControlResourcePercentageCpu?: pulumi.Input<number>;
573
+ haAdmissionControlResourcePercentageCpu?: pulumi.Input<number | undefined>;
574
574
  /**
575
575
  * When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of memory resources in the cluster to reserve for failover.
576
576
  */
577
- haAdmissionControlResourcePercentageMemory?: pulumi.Input<number>;
577
+ haAdmissionControlResourcePercentageMemory?: pulumi.Input<number | undefined>;
578
578
  /**
579
579
  * When haAdmissionControlPolicy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
580
580
  */
581
- haAdmissionControlSlotPolicyExplicitCpu?: pulumi.Input<number>;
581
+ haAdmissionControlSlotPolicyExplicitCpu?: pulumi.Input<number | undefined>;
582
582
  /**
583
583
  * When haAdmissionControlPolicy is slotPolicy, this controls the user-defined memory slot size, in MB.
584
584
  */
585
- haAdmissionControlSlotPolicyExplicitMemory?: pulumi.Input<number>;
585
+ haAdmissionControlSlotPolicyExplicitMemory?: pulumi.Input<number | undefined>;
586
586
  /**
587
587
  * When haAdmissionControlPolicy is slotPolicy, this setting controls whether or not you wish to supply explicit values to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines currently in the cluster.
588
588
  */
589
- haAdmissionControlSlotPolicyUseExplicitSize?: pulumi.Input<boolean>;
589
+ haAdmissionControlSlotPolicyUseExplicitSize?: pulumi.Input<boolean | undefined>;
590
590
  /**
591
591
  * Advanced configuration options for vSphere HA.
592
592
  */
593
593
  haAdvancedOptions?: pulumi.Input<{
594
594
  [key: string]: pulumi.Input<string>;
595
- }>;
595
+ } | undefined>;
596
596
  /**
597
597
  * When haVmComponentProtection is enabled, controls the action to take on virtual machines if an APD status on an affected datastore clears in the middle of an APD event. Can be one of none or reset.
598
598
  */
599
- haDatastoreApdRecoveryAction?: pulumi.Input<string>;
599
+ haDatastoreApdRecoveryAction?: pulumi.Input<string | undefined>;
600
600
  /**
601
601
  * When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
602
602
  */
603
- haDatastoreApdResponse?: pulumi.Input<string>;
603
+ haDatastoreApdResponse?: pulumi.Input<string | undefined>;
604
604
  /**
605
605
  * When haVmComponentProtection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response.
606
606
  */
607
- haDatastoreApdResponseDelay?: pulumi.Input<number>;
607
+ haDatastoreApdResponseDelay?: pulumi.Input<number | undefined>;
608
608
  /**
609
609
  * When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
610
610
  */
611
- haDatastorePdlResponse?: pulumi.Input<string>;
611
+ haDatastorePdlResponse?: pulumi.Input<string | undefined>;
612
612
  /**
613
613
  * Enable vSphere HA for this cluster.
614
614
  */
615
- haEnabled?: pulumi.Input<boolean>;
615
+ haEnabled?: pulumi.Input<boolean | undefined>;
616
616
  /**
617
617
  * The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when haHeartbeatDatastorePolicy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
618
618
  */
619
- haHeartbeatDatastoreIds?: pulumi.Input<pulumi.Input<string>[]>;
619
+ haHeartbeatDatastoreIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
620
620
  /**
621
621
  * The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or allFeasibleDsWithUserPreference.
622
622
  */
623
- haHeartbeatDatastorePolicy?: pulumi.Input<string>;
623
+ haHeartbeatDatastorePolicy?: pulumi.Input<string | undefined>;
624
624
  /**
625
625
  * The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster. Can be one of none, powerOff, or shutdown.
626
626
  */
627
- haHostIsolationResponse?: pulumi.Input<string>;
627
+ haHostIsolationResponse?: pulumi.Input<string | undefined>;
628
628
  /**
629
629
  * Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
630
630
  */
631
- haHostMonitoring?: pulumi.Input<string>;
631
+ haHostMonitoring?: pulumi.Input<string | undefined>;
632
632
  /**
633
633
  * Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
634
634
  */
635
- haVmComponentProtection?: pulumi.Input<string>;
635
+ haVmComponentProtection?: pulumi.Input<string | undefined>;
636
636
  /**
637
637
  * The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
638
638
  */
639
- haVmDependencyRestartCondition?: pulumi.Input<string>;
639
+ haVmDependencyRestartCondition?: pulumi.Input<string | undefined>;
640
640
  /**
641
641
  * If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
642
642
  */
643
- haVmFailureInterval?: pulumi.Input<number>;
643
+ haVmFailureInterval?: pulumi.Input<number | undefined>;
644
644
  /**
645
645
  * The length of the reset window in which haVmMaximumResets can operate. When this window expires, no more resets are attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset time is allotted.
646
646
  */
647
- haVmMaximumFailureWindow?: pulumi.Input<number>;
647
+ haVmMaximumFailureWindow?: pulumi.Input<number | undefined>;
648
648
  /**
649
649
  * The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
650
650
  */
651
- haVmMaximumResets?: pulumi.Input<number>;
651
+ haVmMaximumResets?: pulumi.Input<number | undefined>;
652
652
  /**
653
653
  * The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
654
654
  */
655
- haVmMinimumUptime?: pulumi.Input<number>;
655
+ haVmMinimumUptime?: pulumi.Input<number | undefined>;
656
656
  /**
657
657
  * The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
658
658
  */
659
- haVmMonitoring?: pulumi.Input<string>;
659
+ haVmMonitoring?: pulumi.Input<string | undefined>;
660
660
  /**
661
661
  * Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
662
662
  */
663
- haVmRestartAdditionalDelay?: pulumi.Input<number>;
663
+ haVmRestartAdditionalDelay?: pulumi.Input<number | undefined>;
664
664
  /**
665
665
  * The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium, high, or highest.
666
666
  */
667
- haVmRestartPriority?: pulumi.Input<string>;
667
+ haVmRestartPriority?: pulumi.Input<string | undefined>;
668
668
  /**
669
669
  * The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before proceeding with the next priority.
670
670
  */
671
- haVmRestartTimeout?: pulumi.Input<number>;
671
+ haVmRestartTimeout?: pulumi.Input<number | undefined>;
672
672
  /**
673
673
  * The timeout for each host maintenance mode operation when removing hosts from a cluster.
674
674
  */
675
- hostClusterExitTimeout?: pulumi.Input<number>;
675
+ hostClusterExitTimeout?: pulumi.Input<number | undefined>;
676
676
  /**
677
677
  * Details about the host image which should be applied to the cluster.
678
678
  */
679
- hostImage?: pulumi.Input<inputs.ComputeClusterHostImage>;
679
+ hostImage?: pulumi.Input<inputs.ComputeClusterHostImage | undefined>;
680
680
  /**
681
681
  * Must be set if cluster enrollment is managed from host resource.
682
682
  */
683
- hostManaged?: pulumi.Input<boolean>;
683
+ hostManaged?: pulumi.Input<boolean | undefined>;
684
684
  /**
685
685
  * The managed object IDs of the hosts to put in the cluster.
686
686
  */
687
- hostSystemIds?: pulumi.Input<pulumi.Input<string>[]>;
687
+ hostSystemIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
688
688
  /**
689
689
  * The name of the cluster.
690
690
  */
691
- name?: pulumi.Input<string>;
691
+ name?: pulumi.Input<string | undefined>;
692
692
  /**
693
693
  * The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
694
694
  */
695
- proactiveHaAutomationLevel?: pulumi.Input<string>;
695
+ proactiveHaAutomationLevel?: pulumi.Input<string | undefined>;
696
696
  /**
697
697
  * Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
698
698
  */
699
- proactiveHaEnabled?: pulumi.Input<boolean>;
699
+ proactiveHaEnabled?: pulumi.Input<boolean | undefined>;
700
700
  /**
701
701
  * The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to MaintenanceMode when proactiveHaSevereRemediation is set to QuarantineMode.
702
702
  */
703
- proactiveHaModerateRemediation?: pulumi.Input<string>;
703
+ proactiveHaModerateRemediation?: pulumi.Input<string | undefined>;
704
704
  /**
705
705
  * The list of IDs for health update providers configured for this cluster.
706
706
  */
707
- proactiveHaProviderIds?: pulumi.Input<pulumi.Input<string>[]>;
707
+ proactiveHaProviderIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
708
708
  /**
709
709
  * The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to QuarantineMode when proactiveHaModerateRemediation is set to MaintenanceMode.
710
710
  */
711
- proactiveHaSevereRemediation?: pulumi.Input<string>;
711
+ proactiveHaSevereRemediation?: pulumi.Input<string | undefined>;
712
712
  /**
713
713
  * The [managed object ID][docs-about-morefs] of the primary
714
714
  * resource pool for this cluster. This can be passed directly to the
@@ -716,7 +716,7 @@ export interface ComputeClusterState {
716
716
  * attribute][docs-r-vsphere-virtual-machine-resource-pool-id] of the
717
717
  * [`vsphere.VirtualMachine`][docs-r-vsphere-virtual-machine] resource.
718
718
  */
719
- resourcePoolId?: pulumi.Input<string>;
719
+ resourcePoolId?: pulumi.Input<string | undefined>;
720
720
  /**
721
721
  * The IDs of any tags to attach to this resource. See
722
722
  * [here][docs-applying-tags] for a reference on how to apply tags.
@@ -724,63 +724,63 @@ export interface ComputeClusterState {
724
724
  * [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
725
725
  * [docs-applying-tags]: /docs/providers/vsphere/r/tag.html#using-tags-in-a-supported-resource
726
726
  */
727
- tags?: pulumi.Input<pulumi.Input<string>[]>;
727
+ tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
728
728
  /**
729
729
  * Whether the vSAN compression service is enabled for the cluster.
730
730
  */
731
- vsanCompressionEnabled?: pulumi.Input<boolean>;
731
+ vsanCompressionEnabled?: pulumi.Input<boolean | undefined>;
732
732
  /**
733
733
  * Whether the vSAN deduplication service is enabled for the cluster.
734
734
  */
735
- vsanDedupEnabled?: pulumi.Input<boolean>;
735
+ vsanDedupEnabled?: pulumi.Input<boolean | undefined>;
736
736
  /**
737
737
  * A list of disk UUIDs to add to the vSAN cluster.
738
738
  */
739
- vsanDiskGroups?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanDiskGroup>[]>;
739
+ vsanDiskGroups?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanDiskGroup>[] | undefined>;
740
740
  /**
741
741
  * Whether the vSAN data-in-transit encryption is enabled for the cluster.
742
742
  */
743
- vsanDitEncryptionEnabled?: pulumi.Input<boolean>;
743
+ vsanDitEncryptionEnabled?: pulumi.Input<boolean | undefined>;
744
744
  /**
745
745
  * When vsanDitEncryptionEnabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
746
746
  */
747
- vsanDitRekeyInterval?: pulumi.Input<number>;
747
+ vsanDitRekeyInterval?: pulumi.Input<number | undefined>;
748
748
  /**
749
749
  * Whether the vSAN service is enabled for the cluster.
750
750
  */
751
- vsanEnabled?: pulumi.Input<boolean>;
751
+ vsanEnabled?: pulumi.Input<boolean | undefined>;
752
752
  /**
753
753
  * Whether the vSAN ESA service is enabled for the cluster.
754
754
  */
755
- vsanEsaEnabled?: pulumi.Input<boolean>;
755
+ vsanEsaEnabled?: pulumi.Input<boolean | undefined>;
756
756
  /**
757
757
  * The configuration for vSAN fault domains.
758
758
  */
759
- vsanFaultDomains?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanFaultDomain>[]>;
759
+ vsanFaultDomains?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanFaultDomain>[] | undefined>;
760
760
  /**
761
761
  * Whether the vSAN network diagnostic mode is enabled for the cluster.
762
762
  */
763
- vsanNetworkDiagnosticModeEnabled?: pulumi.Input<boolean>;
763
+ vsanNetworkDiagnosticModeEnabled?: pulumi.Input<boolean | undefined>;
764
764
  /**
765
765
  * Whether the vSAN performance service is enabled for the cluster.
766
766
  */
767
- vsanPerformanceEnabled?: pulumi.Input<boolean>;
767
+ vsanPerformanceEnabled?: pulumi.Input<boolean | undefined>;
768
768
  /**
769
769
  * The managed object IDs of the vSAN datastore to be mounted on the cluster.
770
770
  */
771
- vsanRemoteDatastoreIds?: pulumi.Input<pulumi.Input<string>[]>;
771
+ vsanRemoteDatastoreIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
772
772
  /**
773
773
  * The configuration for stretched cluster.
774
774
  */
775
- vsanStretchedCluster?: pulumi.Input<inputs.ComputeClusterVsanStretchedCluster>;
775
+ vsanStretchedCluster?: pulumi.Input<inputs.ComputeClusterVsanStretchedCluster | undefined>;
776
776
  /**
777
777
  * Whether the vSAN unmap service is enabled for the cluster.
778
778
  */
779
- vsanUnmapEnabled?: pulumi.Input<boolean>;
779
+ vsanUnmapEnabled?: pulumi.Input<boolean | undefined>;
780
780
  /**
781
781
  * Whether the vSAN verbose mode is enabled for the cluster.
782
782
  */
783
- vsanVerboseModeEnabled?: pulumi.Input<boolean>;
783
+ vsanVerboseModeEnabled?: pulumi.Input<boolean | undefined>;
784
784
  }
785
785
  /**
786
786
  * The set of arguments for constructing a ComputeCluster resource.
@@ -799,7 +799,7 @@ export interface ComputeClusterArgs {
799
799
  */
800
800
  customAttributes?: pulumi.Input<{
801
801
  [key: string]: pulumi.Input<string>;
802
- }>;
802
+ } | undefined>;
803
803
  /**
804
804
  * The [managed object ID][docs-about-morefs] of
805
805
  * the datacenter to create the cluster in. Forces a new resource if changed.
@@ -808,45 +808,45 @@ export interface ComputeClusterArgs {
808
808
  /**
809
809
  * The automation level for host power operations in this cluster. Can be one of manual or automated.
810
810
  */
811
- dpmAutomationLevel?: pulumi.Input<string>;
811
+ dpmAutomationLevel?: pulumi.Input<string | undefined>;
812
812
  /**
813
813
  * Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual machines in the cluster. Requires that DRS be enabled.
814
814
  */
815
- dpmEnabled?: pulumi.Input<boolean>;
815
+ dpmEnabled?: pulumi.Input<boolean | undefined>;
816
816
  /**
817
817
  * A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher setting.
818
818
  */
819
- dpmThreshold?: pulumi.Input<number>;
819
+ dpmThreshold?: pulumi.Input<number | undefined>;
820
820
  /**
821
821
  * Advanced configuration options for DRS and DPM.
822
822
  */
823
823
  drsAdvancedOptions?: pulumi.Input<{
824
824
  [key: string]: pulumi.Input<string>;
825
- }>;
825
+ } | undefined>;
826
826
  /**
827
827
  * The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or fullyAutomated.
828
828
  */
829
- drsAutomationLevel?: pulumi.Input<string>;
829
+ drsAutomationLevel?: pulumi.Input<string | undefined>;
830
830
  /**
831
831
  * When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
832
832
  */
833
- drsEnablePredictiveDrs?: pulumi.Input<boolean>;
833
+ drsEnablePredictiveDrs?: pulumi.Input<boolean | undefined>;
834
834
  /**
835
835
  * When true, allows individual VM overrides within this cluster to be set.
836
836
  */
837
- drsEnableVmOverrides?: pulumi.Input<boolean>;
837
+ drsEnableVmOverrides?: pulumi.Input<boolean | undefined>;
838
838
  /**
839
839
  * Enable DRS for this cluster.
840
840
  */
841
- drsEnabled?: pulumi.Input<boolean>;
841
+ drsEnabled?: pulumi.Input<boolean | undefined>;
842
842
  /**
843
843
  * A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate more imbalance while a higher setting will tolerate less.
844
844
  */
845
- drsMigrationThreshold?: pulumi.Input<number>;
845
+ drsMigrationThreshold?: pulumi.Input<number | undefined>;
846
846
  /**
847
847
  * Enable scalable shares for all descendants of this cluster.
848
848
  */
849
- drsScaleDescendantsShares?: pulumi.Input<string>;
849
+ drsScaleDescendantsShares?: pulumi.Input<string | undefined>;
850
850
  /**
851
851
  * The relative path to a folder to put this cluster in.
852
852
  * This is a path relative to the datacenter you are deploying the cluster to.
@@ -855,173 +855,173 @@ export interface ComputeClusterArgs {
855
855
  * host folder located at `/dc1/host/foo/bar`, with the final inventory path
856
856
  * being `/dc1/host/foo/bar/terraform-datastore-cluster-test`.
857
857
  */
858
- folder?: pulumi.Input<string>;
858
+ folder?: pulumi.Input<string | undefined>;
859
859
  /**
860
860
  * Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists for testing and is not recommended in normal use.
861
861
  */
862
- forceEvacuateOnDestroy?: pulumi.Input<boolean>;
862
+ forceEvacuateOnDestroy?: pulumi.Input<boolean | undefined>;
863
863
  /**
864
864
  * When haAdmissionControlPolicy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS will ignore the host when making recommendations.
865
865
  */
866
- haAdmissionControlFailoverHostSystemIds?: pulumi.Input<pulumi.Input<string>[]>;
866
+ haAdmissionControlFailoverHostSystemIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
867
867
  /**
868
868
  * The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual machine operations. The maximum is one less than the number of hosts in the cluster.
869
869
  */
870
- haAdmissionControlHostFailureTolerance?: pulumi.Input<number>;
870
+ haAdmissionControlHostFailureTolerance?: pulumi.Input<number | undefined>;
871
871
  /**
872
872
  * The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces warnings only, whereas a value of 100 disables the setting.
873
873
  */
874
- haAdmissionControlPerformanceTolerance?: pulumi.Input<number>;
874
+ haAdmissionControlPerformanceTolerance?: pulumi.Input<number | undefined>;
875
875
  /**
876
876
  * The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage, slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service issues.
877
877
  */
878
- haAdmissionControlPolicy?: pulumi.Input<string>;
878
+ haAdmissionControlPolicy?: pulumi.Input<string | undefined>;
879
879
  /**
880
880
  * When haAdmissionControlPolicy is resourcePercentage, automatically determine available resource percentages by subtracting the average number of host resources represented by the haAdmissionControlHostFailureTolerance setting from the total amount of resources in the cluster. Disable to supply user-defined values.
881
881
  */
882
- haAdmissionControlResourcePercentageAutoCompute?: pulumi.Input<boolean>;
882
+ haAdmissionControlResourcePercentageAutoCompute?: pulumi.Input<boolean | undefined>;
883
883
  /**
884
884
  * When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of CPU resources in the cluster to reserve for failover.
885
885
  */
886
- haAdmissionControlResourcePercentageCpu?: pulumi.Input<number>;
886
+ haAdmissionControlResourcePercentageCpu?: pulumi.Input<number | undefined>;
887
887
  /**
888
888
  * When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of memory resources in the cluster to reserve for failover.
889
889
  */
890
- haAdmissionControlResourcePercentageMemory?: pulumi.Input<number>;
890
+ haAdmissionControlResourcePercentageMemory?: pulumi.Input<number | undefined>;
891
891
  /**
892
892
  * When haAdmissionControlPolicy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
893
893
  */
894
- haAdmissionControlSlotPolicyExplicitCpu?: pulumi.Input<number>;
894
+ haAdmissionControlSlotPolicyExplicitCpu?: pulumi.Input<number | undefined>;
895
895
  /**
896
896
  * When haAdmissionControlPolicy is slotPolicy, this controls the user-defined memory slot size, in MB.
897
897
  */
898
- haAdmissionControlSlotPolicyExplicitMemory?: pulumi.Input<number>;
898
+ haAdmissionControlSlotPolicyExplicitMemory?: pulumi.Input<number | undefined>;
899
899
  /**
900
900
  * When haAdmissionControlPolicy is slotPolicy, this setting controls whether or not you wish to supply explicit values to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines currently in the cluster.
901
901
  */
902
- haAdmissionControlSlotPolicyUseExplicitSize?: pulumi.Input<boolean>;
902
+ haAdmissionControlSlotPolicyUseExplicitSize?: pulumi.Input<boolean | undefined>;
903
903
  /**
904
904
  * Advanced configuration options for vSphere HA.
905
905
  */
906
906
  haAdvancedOptions?: pulumi.Input<{
907
907
  [key: string]: pulumi.Input<string>;
908
- }>;
908
+ } | undefined>;
909
909
  /**
910
910
  * When haVmComponentProtection is enabled, controls the action to take on virtual machines if an APD status on an affected datastore clears in the middle of an APD event. Can be one of none or reset.
911
911
  */
912
- haDatastoreApdRecoveryAction?: pulumi.Input<string>;
912
+ haDatastoreApdRecoveryAction?: pulumi.Input<string | undefined>;
913
913
  /**
914
914
  * When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
915
915
  */
916
- haDatastoreApdResponse?: pulumi.Input<string>;
916
+ haDatastoreApdResponse?: pulumi.Input<string | undefined>;
917
917
  /**
918
918
  * When haVmComponentProtection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response.
919
919
  */
920
- haDatastoreApdResponseDelay?: pulumi.Input<number>;
920
+ haDatastoreApdResponseDelay?: pulumi.Input<number | undefined>;
921
921
  /**
922
922
  * When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
923
923
  */
924
- haDatastorePdlResponse?: pulumi.Input<string>;
924
+ haDatastorePdlResponse?: pulumi.Input<string | undefined>;
925
925
  /**
926
926
  * Enable vSphere HA for this cluster.
927
927
  */
928
- haEnabled?: pulumi.Input<boolean>;
928
+ haEnabled?: pulumi.Input<boolean | undefined>;
929
929
  /**
930
930
  * The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when haHeartbeatDatastorePolicy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
931
931
  */
932
- haHeartbeatDatastoreIds?: pulumi.Input<pulumi.Input<string>[]>;
932
+ haHeartbeatDatastoreIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
933
933
  /**
934
934
  * The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or allFeasibleDsWithUserPreference.
935
935
  */
936
- haHeartbeatDatastorePolicy?: pulumi.Input<string>;
936
+ haHeartbeatDatastorePolicy?: pulumi.Input<string | undefined>;
937
937
  /**
938
938
  * The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster. Can be one of none, powerOff, or shutdown.
939
939
  */
940
- haHostIsolationResponse?: pulumi.Input<string>;
940
+ haHostIsolationResponse?: pulumi.Input<string | undefined>;
941
941
  /**
942
942
  * Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
943
943
  */
944
- haHostMonitoring?: pulumi.Input<string>;
944
+ haHostMonitoring?: pulumi.Input<string | undefined>;
945
945
  /**
946
946
  * Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
947
947
  */
948
- haVmComponentProtection?: pulumi.Input<string>;
948
+ haVmComponentProtection?: pulumi.Input<string | undefined>;
949
949
  /**
950
950
  * The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
951
951
  */
952
- haVmDependencyRestartCondition?: pulumi.Input<string>;
952
+ haVmDependencyRestartCondition?: pulumi.Input<string | undefined>;
953
953
  /**
954
954
  * If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
955
955
  */
956
- haVmFailureInterval?: pulumi.Input<number>;
956
+ haVmFailureInterval?: pulumi.Input<number | undefined>;
957
957
  /**
958
958
  * The length of the reset window in which haVmMaximumResets can operate. When this window expires, no more resets are attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset time is allotted.
959
959
  */
960
- haVmMaximumFailureWindow?: pulumi.Input<number>;
960
+ haVmMaximumFailureWindow?: pulumi.Input<number | undefined>;
961
961
  /**
962
962
  * The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
963
963
  */
964
- haVmMaximumResets?: pulumi.Input<number>;
964
+ haVmMaximumResets?: pulumi.Input<number | undefined>;
965
965
  /**
966
966
  * The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
967
967
  */
968
- haVmMinimumUptime?: pulumi.Input<number>;
968
+ haVmMinimumUptime?: pulumi.Input<number | undefined>;
969
969
  /**
970
970
  * The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
971
971
  */
972
- haVmMonitoring?: pulumi.Input<string>;
972
+ haVmMonitoring?: pulumi.Input<string | undefined>;
973
973
  /**
974
974
  * Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
975
975
  */
976
- haVmRestartAdditionalDelay?: pulumi.Input<number>;
976
+ haVmRestartAdditionalDelay?: pulumi.Input<number | undefined>;
977
977
  /**
978
978
  * The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium, high, or highest.
979
979
  */
980
- haVmRestartPriority?: pulumi.Input<string>;
980
+ haVmRestartPriority?: pulumi.Input<string | undefined>;
981
981
  /**
982
982
  * The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before proceeding with the next priority.
983
983
  */
984
- haVmRestartTimeout?: pulumi.Input<number>;
984
+ haVmRestartTimeout?: pulumi.Input<number | undefined>;
985
985
  /**
986
986
  * The timeout for each host maintenance mode operation when removing hosts from a cluster.
987
987
  */
988
- hostClusterExitTimeout?: pulumi.Input<number>;
988
+ hostClusterExitTimeout?: pulumi.Input<number | undefined>;
989
989
  /**
990
990
  * Details about the host image which should be applied to the cluster.
991
991
  */
992
- hostImage?: pulumi.Input<inputs.ComputeClusterHostImage>;
992
+ hostImage?: pulumi.Input<inputs.ComputeClusterHostImage | undefined>;
993
993
  /**
994
994
  * Must be set if cluster enrollment is managed from host resource.
995
995
  */
996
- hostManaged?: pulumi.Input<boolean>;
996
+ hostManaged?: pulumi.Input<boolean | undefined>;
997
997
  /**
998
998
  * The managed object IDs of the hosts to put in the cluster.
999
999
  */
1000
- hostSystemIds?: pulumi.Input<pulumi.Input<string>[]>;
1000
+ hostSystemIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
1001
1001
  /**
1002
1002
  * The name of the cluster.
1003
1003
  */
1004
- name?: pulumi.Input<string>;
1004
+ name?: pulumi.Input<string | undefined>;
1005
1005
  /**
1006
1006
  * The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
1007
1007
  */
1008
- proactiveHaAutomationLevel?: pulumi.Input<string>;
1008
+ proactiveHaAutomationLevel?: pulumi.Input<string | undefined>;
1009
1009
  /**
1010
1010
  * Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
1011
1011
  */
1012
- proactiveHaEnabled?: pulumi.Input<boolean>;
1012
+ proactiveHaEnabled?: pulumi.Input<boolean | undefined>;
1013
1013
  /**
1014
1014
  * The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to MaintenanceMode when proactiveHaSevereRemediation is set to QuarantineMode.
1015
1015
  */
1016
- proactiveHaModerateRemediation?: pulumi.Input<string>;
1016
+ proactiveHaModerateRemediation?: pulumi.Input<string | undefined>;
1017
1017
  /**
1018
1018
  * The list of IDs for health update providers configured for this cluster.
1019
1019
  */
1020
- proactiveHaProviderIds?: pulumi.Input<pulumi.Input<string>[]>;
1020
+ proactiveHaProviderIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
1021
1021
  /**
1022
1022
  * The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to QuarantineMode when proactiveHaModerateRemediation is set to MaintenanceMode.
1023
1023
  */
1024
- proactiveHaSevereRemediation?: pulumi.Input<string>;
1024
+ proactiveHaSevereRemediation?: pulumi.Input<string | undefined>;
1025
1025
  /**
1026
1026
  * The IDs of any tags to attach to this resource. See
1027
1027
  * [here][docs-applying-tags] for a reference on how to apply tags.
@@ -1029,61 +1029,62 @@ export interface ComputeClusterArgs {
1029
1029
  * [docs-about-morefs]: /docs/providers/vsphere/index.html#use-of-managed-object-references-by-the-vsphere-provider
1030
1030
  * [docs-applying-tags]: /docs/providers/vsphere/r/tag.html#using-tags-in-a-supported-resource
1031
1031
  */
1032
- tags?: pulumi.Input<pulumi.Input<string>[]>;
1032
+ tags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
1033
1033
  /**
1034
1034
  * Whether the vSAN compression service is enabled for the cluster.
1035
1035
  */
1036
- vsanCompressionEnabled?: pulumi.Input<boolean>;
1036
+ vsanCompressionEnabled?: pulumi.Input<boolean | undefined>;
1037
1037
  /**
1038
1038
  * Whether the vSAN deduplication service is enabled for the cluster.
1039
1039
  */
1040
- vsanDedupEnabled?: pulumi.Input<boolean>;
1040
+ vsanDedupEnabled?: pulumi.Input<boolean | undefined>;
1041
1041
  /**
1042
1042
  * A list of disk UUIDs to add to the vSAN cluster.
1043
1043
  */
1044
- vsanDiskGroups?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanDiskGroup>[]>;
1044
+ vsanDiskGroups?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanDiskGroup>[] | undefined>;
1045
1045
  /**
1046
1046
  * Whether the vSAN data-in-transit encryption is enabled for the cluster.
1047
1047
  */
1048
- vsanDitEncryptionEnabled?: pulumi.Input<boolean>;
1048
+ vsanDitEncryptionEnabled?: pulumi.Input<boolean | undefined>;
1049
1049
  /**
1050
1050
  * When vsanDitEncryptionEnabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
1051
1051
  */
1052
- vsanDitRekeyInterval?: pulumi.Input<number>;
1052
+ vsanDitRekeyInterval?: pulumi.Input<number | undefined>;
1053
1053
  /**
1054
1054
  * Whether the vSAN service is enabled for the cluster.
1055
1055
  */
1056
- vsanEnabled?: pulumi.Input<boolean>;
1056
+ vsanEnabled?: pulumi.Input<boolean | undefined>;
1057
1057
  /**
1058
1058
  * Whether the vSAN ESA service is enabled for the cluster.
1059
1059
  */
1060
- vsanEsaEnabled?: pulumi.Input<boolean>;
1060
+ vsanEsaEnabled?: pulumi.Input<boolean | undefined>;
1061
1061
  /**
1062
1062
  * The configuration for vSAN fault domains.
1063
1063
  */
1064
- vsanFaultDomains?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanFaultDomain>[]>;
1064
+ vsanFaultDomains?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanFaultDomain>[] | undefined>;
1065
1065
  /**
1066
1066
  * Whether the vSAN network diagnostic mode is enabled for the cluster.
1067
1067
  */
1068
- vsanNetworkDiagnosticModeEnabled?: pulumi.Input<boolean>;
1068
+ vsanNetworkDiagnosticModeEnabled?: pulumi.Input<boolean | undefined>;
1069
1069
  /**
1070
1070
  * Whether the vSAN performance service is enabled for the cluster.
1071
1071
  */
1072
- vsanPerformanceEnabled?: pulumi.Input<boolean>;
1072
+ vsanPerformanceEnabled?: pulumi.Input<boolean | undefined>;
1073
1073
  /**
1074
1074
  * The managed object IDs of the vSAN datastore to be mounted on the cluster.
1075
1075
  */
1076
- vsanRemoteDatastoreIds?: pulumi.Input<pulumi.Input<string>[]>;
1076
+ vsanRemoteDatastoreIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
1077
1077
  /**
1078
1078
  * The configuration for stretched cluster.
1079
1079
  */
1080
- vsanStretchedCluster?: pulumi.Input<inputs.ComputeClusterVsanStretchedCluster>;
1080
+ vsanStretchedCluster?: pulumi.Input<inputs.ComputeClusterVsanStretchedCluster | undefined>;
1081
1081
  /**
1082
1082
  * Whether the vSAN unmap service is enabled for the cluster.
1083
1083
  */
1084
- vsanUnmapEnabled?: pulumi.Input<boolean>;
1084
+ vsanUnmapEnabled?: pulumi.Input<boolean | undefined>;
1085
1085
  /**
1086
1086
  * Whether the vSAN verbose mode is enabled for the cluster.
1087
1087
  */
1088
- vsanVerboseModeEnabled?: pulumi.Input<boolean>;
1088
+ vsanVerboseModeEnabled?: pulumi.Input<boolean | undefined>;
1089
1089
  }
1090
+ //# sourceMappingURL=computeCluster.d.ts.map