@pulumi/vsphere 4.10.0 → 4.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/computeCluster.d.ts +297 -633
  2. package/computeCluster.js.map +1 -1
  3. package/computeClusterVmAffinityRule.d.ts +14 -8
  4. package/computeClusterVmAffinityRule.js +14 -8
  5. package/computeClusterVmAffinityRule.js.map +1 -1
  6. package/datacenter.d.ts +14 -6
  7. package/datacenter.js +14 -6
  8. package/datacenter.js.map +1 -1
  9. package/datastoreCluster.d.ts +72 -156
  10. package/datastoreCluster.js.map +1 -1
  11. package/distributedPortGroup.d.ts +30 -75
  12. package/distributedPortGroup.js.map +1 -1
  13. package/distributedVirtualSwitch.d.ts +132 -345
  14. package/distributedVirtualSwitch.js.map +1 -1
  15. package/file.d.ts +8 -12
  16. package/file.js +8 -12
  17. package/file.js.map +1 -1
  18. package/getComputeCluster.d.ts +0 -4
  19. package/getComputeCluster.js +0 -4
  20. package/getComputeCluster.js.map +1 -1
  21. package/getComputeClusterHostGroup.d.ts +8 -10
  22. package/getComputeClusterHostGroup.js +8 -10
  23. package/getComputeClusterHostGroup.js.map +1 -1
  24. package/getContentLibrary.d.ts +0 -4
  25. package/getContentLibrary.js +0 -4
  26. package/getContentLibrary.js.map +1 -1
  27. package/getCustomAttribute.d.ts +0 -4
  28. package/getCustomAttribute.js +0 -4
  29. package/getCustomAttribute.js.map +1 -1
  30. package/getDatacenter.d.ts +0 -4
  31. package/getDatacenter.js +0 -4
  32. package/getDatacenter.js.map +1 -1
  33. package/getDatastore.d.ts +0 -4
  34. package/getDatastore.js +0 -4
  35. package/getDatastore.js.map +1 -1
  36. package/getDatastoreCluster.d.ts +0 -4
  37. package/getDatastoreCluster.js +0 -4
  38. package/getDatastoreCluster.js.map +1 -1
  39. package/getDatastoreStats.d.ts +4 -12
  40. package/getDatastoreStats.js +4 -12
  41. package/getDatastoreStats.js.map +1 -1
  42. package/getDistributedVirtualSwitch.d.ts +2 -4
  43. package/getDistributedVirtualSwitch.js +2 -4
  44. package/getDistributedVirtualSwitch.js.map +1 -1
  45. package/getDynamic.d.ts +4 -8
  46. package/getDynamic.js +4 -8
  47. package/getDynamic.js.map +1 -1
  48. package/getFolder.d.ts +0 -4
  49. package/getFolder.js +0 -4
  50. package/getFolder.js.map +1 -1
  51. package/getGuestOsCustomization.d.ts +0 -4
  52. package/getGuestOsCustomization.js +0 -4
  53. package/getGuestOsCustomization.js.map +1 -1
  54. package/getHost.d.ts +0 -4
  55. package/getHost.js +0 -4
  56. package/getHost.js.map +1 -1
  57. package/getHostPciDevice.d.ts +10 -18
  58. package/getHostPciDevice.js +10 -18
  59. package/getHostPciDevice.js.map +1 -1
  60. package/getHostThumbprint.d.ts +0 -4
  61. package/getHostThumbprint.js +0 -4
  62. package/getHostThumbprint.js.map +1 -1
  63. package/getHostVgpuProfile.d.ts +0 -8
  64. package/getHostVgpuProfile.js +0 -8
  65. package/getHostVgpuProfile.js.map +1 -1
  66. package/getLicense.d.ts +0 -4
  67. package/getLicense.js +0 -4
  68. package/getLicense.js.map +1 -1
  69. package/getNetwork.d.ts +0 -4
  70. package/getNetwork.js +0 -4
  71. package/getNetwork.js.map +1 -1
  72. package/getPolicy.d.ts +0 -4
  73. package/getPolicy.js +0 -4
  74. package/getPolicy.js.map +1 -1
  75. package/getResourcePool.d.ts +2 -10
  76. package/getResourcePool.js +2 -10
  77. package/getResourcePool.js.map +1 -1
  78. package/getRole.d.ts +0 -4
  79. package/getRole.js +0 -4
  80. package/getRole.js.map +1 -1
  81. package/getTag.d.ts +0 -4
  82. package/getTag.js +0 -4
  83. package/getTag.js.map +1 -1
  84. package/getTagCategory.d.ts +0 -4
  85. package/getTagCategory.js +0 -4
  86. package/getTagCategory.js.map +1 -1
  87. package/getVappContainer.d.ts +0 -4
  88. package/getVappContainer.js +0 -4
  89. package/getVappContainer.js.map +1 -1
  90. package/getVirtualMachine.d.ts +0 -8
  91. package/getVirtualMachine.js +0 -8
  92. package/getVirtualMachine.js.map +1 -1
  93. package/getVmfsDisks.d.ts +0 -4
  94. package/getVmfsDisks.js +0 -4
  95. package/getVmfsDisks.js.map +1 -1
  96. package/guestOsCustomization.d.ts +26 -0
  97. package/guestOsCustomization.js +26 -0
  98. package/guestOsCustomization.js.map +1 -1
  99. package/haVmOverride.d.ts +81 -162
  100. package/haVmOverride.js.map +1 -1
  101. package/host.d.ts +0 -10
  102. package/host.js +0 -10
  103. package/host.js.map +1 -1
  104. package/hostPortGroup.d.ts +6 -12
  105. package/hostPortGroup.js +6 -12
  106. package/hostPortGroup.js.map +1 -1
  107. package/hostVirtualSwitch.d.ts +60 -123
  108. package/hostVirtualSwitch.js.map +1 -1
  109. package/license.d.ts +0 -17
  110. package/license.js +0 -17
  111. package/license.js.map +1 -1
  112. package/package.json +1 -1
  113. package/resourcePool.d.ts +27 -11
  114. package/resourcePool.js +27 -11
  115. package/resourcePool.js.map +1 -1
  116. package/types/input.d.ts +48 -116
  117. package/types/output.d.ts +48 -116
  118. package/virtualDisk.d.ts +3 -3
  119. package/virtualMachine.d.ts +248 -359
  120. package/virtualMachine.js.map +1 -1
  121. package/virtualMachineSnapshot.d.ts +3 -5
  122. package/virtualMachineSnapshot.js +3 -5
  123. package/virtualMachineSnapshot.js.map +1 -1
  124. package/vmStoragePolicy.d.ts +28 -34
  125. package/vmStoragePolicy.js +28 -34
  126. package/vmStoragePolicy.js.map +1 -1
  127. package/vnic.d.ts +4 -10
  128. package/vnic.js +4 -10
  129. package/vnic.js.map +1 -1
@@ -33,65 +33,50 @@ export declare class ComputeCluster extends pulumi.CustomResource {
33
33
  */
34
34
  readonly datacenterId: pulumi.Output<string>;
35
35
  /**
36
- * The automation level for host power
37
- * operations in this cluster. Can be one of `manual` or `automated`. Default:
38
- * `manual`.
36
+ * The automation level for host power operations in this cluster. Can be one of manual or automated.
39
37
  */
40
38
  readonly dpmAutomationLevel: pulumi.Output<string | undefined>;
41
39
  /**
42
- * Enable DPM support for DRS in this cluster.
43
- * Requires `drsEnabled` to be `true` in order to be effective.
44
- * Default: `false`.
40
+ * Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
41
+ * machines in the cluster. Requires that DRS be enabled.
45
42
  */
46
43
  readonly dpmEnabled: pulumi.Output<boolean | undefined>;
47
44
  /**
48
- * A value between `1` and `5` indicating the
49
- * threshold of load within the cluster that influences host power operations.
50
- * This affects both power on and power off operations - a lower setting will
51
- * tolerate more of a surplus/deficit than a higher setting. Default: `3`.
45
+ * A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
46
+ * affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
47
+ * setting.
52
48
  */
53
49
  readonly dpmThreshold: pulumi.Output<number | undefined>;
54
50
  /**
55
- * A key/value map that specifies advanced
56
- * options for DRS and DPM.
51
+ * Advanced configuration options for DRS and DPM.
57
52
  */
58
53
  readonly drsAdvancedOptions: pulumi.Output<{
59
54
  [key: string]: string;
60
55
  } | undefined>;
61
56
  /**
62
- * The default automation level for all
63
- * virtual machines in this cluster. Can be one of `manual`,
64
- * `partiallyAutomated`, or `fullyAutomated`. Default: `manual`.
57
+ * The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
58
+ * fullyAutomated.
65
59
  */
66
60
  readonly drsAutomationLevel: pulumi.Output<string | undefined>;
67
61
  /**
68
- * When `true`, enables DRS to use data
69
- * from [vRealize Operations Manager][ref-vsphere-vrops] to make proactive DRS
70
- * recommendations. <sup>\*</sup>
71
- *
72
- * [ref-vsphere-vrops]: https://docs.vmware.com/en/vRealize-Operations-Manager/index.html
62
+ * When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
73
63
  */
74
64
  readonly drsEnablePredictiveDrs: pulumi.Output<boolean | undefined>;
75
65
  /**
76
- * Allow individual DRS overrides to be
77
- * set for virtual machines in the cluster. Default: `true`.
66
+ * When true, allows individual VM overrides within this cluster to be set.
78
67
  */
79
68
  readonly drsEnableVmOverrides: pulumi.Output<boolean | undefined>;
80
69
  /**
81
- * Enable DRS for this cluster. Default: `false`.
70
+ * Enable DRS for this cluster.
82
71
  */
83
72
  readonly drsEnabled: pulumi.Output<boolean | undefined>;
84
73
  /**
85
- * A value between `1` and `5` indicating
86
- * the threshold of imbalance tolerated between hosts. A lower setting will
87
- * tolerate more imbalance while a higher setting will tolerate less. Default:
88
- * `3`.
74
+ * A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
75
+ * more imbalance while a higher setting will tolerate less.
89
76
  */
90
77
  readonly drsMigrationThreshold: pulumi.Output<number | undefined>;
91
78
  /**
92
- * Enable scalable shares for all
93
- * resource pools in the cluster. Can be one of `disabled` or
94
- * `scaleCpuAndMemoryShares`. Default: `disabled`.
79
+ * Enable scalable shares for all descendants of this cluster.
95
80
  */
96
81
  readonly drsScaleDescendantsShares: pulumi.Output<string | undefined>;
97
82
  /**
@@ -104,237 +89,170 @@ export declare class ComputeCluster extends pulumi.CustomResource {
104
89
  */
105
90
  readonly folder: pulumi.Output<string | undefined>;
106
91
  /**
107
- * When destroying the resource, setting this to
108
- * `true` will auto-remove any hosts that are currently a member of the cluster,
109
- * as if they were removed by taking their entry out of `hostSystemIds` (see
110
- * below. This is an advanced
111
- * option and should only be used for testing. Default: `false`.
112
- *
113
- * > **NOTE:** Do not set `forceEvacuateOnDestroy` in production operation as
114
- * there are many pitfalls to its use when working with complex cluster
115
- * configurations. Depending on the virtual machines currently on the cluster, and
116
- * your DRS and HA settings, the full host evacuation may fail. Instead,
117
- * incrementally remove hosts from your configuration by adjusting the contents of
118
- * the `hostSystemIds` attribute.
92
+ * Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
93
+ * for testing and is not recommended in normal use.
119
94
  */
120
95
  readonly forceEvacuateOnDestroy: pulumi.Output<boolean | undefined>;
121
96
  /**
122
- * Defines the
123
- * managed object IDs of hosts to use as dedicated failover
124
- * hosts. These hosts are kept as available as possible - admission control will
125
- * block access to the host, and DRS will ignore the host when making
126
- * recommendations.
97
+ * When haAdmissionControlPolicy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated
98
+ * failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
99
+ * will ignore the host when making recommendations.
127
100
  */
128
101
  readonly haAdmissionControlFailoverHostSystemIds: pulumi.Output<string[] | undefined>;
129
102
  /**
130
- * The maximum number
131
- * of failed hosts that admission control tolerates when making decisions on
132
- * whether to permit virtual machine operations. The maximum is one less than
133
- * the number of hosts in the cluster. Default: `1`.
134
- * <sup>\*</sup>
103
+ * The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual
104
+ * machine operations. The maximum is one less than the number of hosts in the cluster.
135
105
  */
136
106
  readonly haAdmissionControlHostFailureTolerance: pulumi.Output<number | undefined>;
137
107
  /**
138
- * The percentage of
139
- * resource reduction that a cluster of virtual machines can tolerate in case of
140
- * a failover. A value of 0 produces warnings only, whereas a value of 100
141
- * disables the setting. Default: `100` (disabled).
108
+ * The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces
109
+ * warnings only, whereas a value of 100 disables the setting.
142
110
  */
143
111
  readonly haAdmissionControlPerformanceTolerance: pulumi.Output<number | undefined>;
144
112
  /**
145
- * The type of admission control
146
- * policy to use with vSphere HA. Can be one of `resourcePercentage`,
147
- * `slotPolicy`, `failoverHosts`, or `disabled`. Default: `resourcePercentage`.
113
+ * The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
114
+ * permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
115
+ * slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
116
+ * issues.
148
117
  */
149
118
  readonly haAdmissionControlPolicy: pulumi.Output<string | undefined>;
150
119
  /**
151
- * Automatically determine available resource percentages by subtracting the
152
- * average number of host resources represented by the
153
- * `haAdmissionControlHostFailureTolerance`
154
- * setting from the total amount of resources in the cluster. Disable to supply
155
- * user-defined values. Default: `true`.
156
- * <sup>\*</sup>
120
+ * When haAdmissionControlPolicy is resourcePercentage, automatically determine available resource percentages by
121
+ * subtracting the average number of host resources represented by the haAdmissionControlHostFailureTolerance setting from
122
+ * the total amount of resources in the cluster. Disable to supply user-defined values.
157
123
  */
158
124
  readonly haAdmissionControlResourcePercentageAutoCompute: pulumi.Output<boolean | undefined>;
159
125
  /**
160
- * Controls the
161
- * user-defined percentage of CPU resources in the cluster to reserve for
162
- * failover. Default: `100`.
126
+ * When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of CPU resources in the
127
+ * cluster to reserve for failover.
163
128
  */
164
129
  readonly haAdmissionControlResourcePercentageCpu: pulumi.Output<number | undefined>;
165
130
  /**
166
- * Controls the
167
- * user-defined percentage of memory resources in the cluster to reserve for
168
- * failover. Default: `100`.
131
+ * When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of memory resources in
132
+ * the cluster to reserve for failover.
169
133
  */
170
134
  readonly haAdmissionControlResourcePercentageMemory: pulumi.Output<number | undefined>;
171
135
  /**
172
- * Controls the
173
- * user-defined CPU slot size, in MHz. Default: `32`.
136
+ * When haAdmissionControlPolicy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
174
137
  */
175
138
  readonly haAdmissionControlSlotPolicyExplicitCpu: pulumi.Output<number | undefined>;
176
139
  /**
177
- * Controls the
178
- * user-defined memory slot size, in MB. Default: `100`.
140
+ * When haAdmissionControlPolicy is slotPolicy, this controls the user-defined memory slot size, in MB.
179
141
  */
180
142
  readonly haAdmissionControlSlotPolicyExplicitMemory: pulumi.Output<number | undefined>;
181
143
  /**
182
- * Controls
183
- * whether or not you wish to supply explicit values to CPU and memory slot
184
- * sizes. The default is `false`, which tells vSphere to gather a automatic
185
- * average based on all powered-on virtual machines currently in the cluster.
144
+ * When haAdmissionControlPolicy is slotPolicy, this setting controls whether or not you wish to supply explicit values to
145
+ * CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
146
+ * currently in the cluster.
186
147
  */
187
148
  readonly haAdmissionControlSlotPolicyUseExplicitSize: pulumi.Output<boolean | undefined>;
188
149
  /**
189
- * A key/value map that specifies advanced
190
- * options for vSphere HA.
150
+ * Advanced configuration options for vSphere HA.
191
151
  */
192
152
  readonly haAdvancedOptions: pulumi.Output<{
193
153
  [key: string]: string;
194
154
  } | undefined>;
195
155
  /**
196
- * Controls the action to take
197
- * on virtual machines if an APD status on an affected datastore clears in the
198
- * middle of an APD event. Can be one of `none` or `reset`. Default: `none`.
199
- * <sup>\*</sup>
156
+ * When haVmComponentProtection is enabled, controls the action to take on virtual machines if an APD status on an affected
157
+ * datastore clears in the middle of an APD event. Can be one of none or reset.
200
158
  */
201
159
  readonly haDatastoreApdRecoveryAction: pulumi.Output<string | undefined>;
202
160
  /**
203
- * Controls the action to take on
204
- * virtual machines when the cluster has detected loss to all paths to a
205
- * relevant datastore. Can be one of `disabled`, `warning`,
206
- * `restartConservative`, or `restartAggressive`. Default: `disabled`.
207
- * <sup>\*</sup>
161
+ * When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected
162
+ * loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
208
163
  */
209
164
  readonly haDatastoreApdResponse: pulumi.Output<string | undefined>;
210
165
  /**
211
- * The time, in seconds,
212
- * to wait after an APD timeout event to run the response action defined in
213
- * `haDatastoreApdResponse`. Default: `180`
214
- * seconds (3 minutes). <sup>\*</sup>
166
+ * When haVmComponentProtection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the
167
+ * response action defined in ha_datastore_apd_response.
215
168
  */
216
169
  readonly haDatastoreApdResponseDelay: pulumi.Output<number | undefined>;
217
170
  /**
218
- * Controls the action to take on
219
- * virtual machines when the cluster has detected a permanent device loss to a
220
- * relevant datastore. Can be one of `disabled`, `warning`, or
221
- * `restartAggressive`. Default: `disabled`.
222
- * <sup>\*</sup>
171
+ * When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected a
172
+ * permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
223
173
  */
224
174
  readonly haDatastorePdlResponse: pulumi.Output<string | undefined>;
225
175
  /**
226
- * Enable vSphere HA for this cluster. Default:
227
- * `false`.
176
+ * Enable vSphere HA for this cluster.
228
177
  */
229
178
  readonly haEnabled: pulumi.Output<boolean | undefined>;
230
179
  /**
231
- * The list of managed object IDs for
232
- * preferred datastores to use for HA heartbeating. This setting is only useful
233
- * when `haHeartbeatDatastorePolicy` is set
234
- * to either `userSelectedDs` or `allFeasibleDsWithUserPreference`.
180
+ * The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
181
+ * haHeartbeatDatastorePolicy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
235
182
  */
236
183
  readonly haHeartbeatDatastoreIds: pulumi.Output<string[] | undefined>;
237
184
  /**
238
- * The selection policy for HA
239
- * heartbeat datastores. Can be one of `allFeasibleDs`, `userSelectedDs`, or
240
- * `allFeasibleDsWithUserPreference`. Default:
241
- * `allFeasibleDsWithUserPreference`.
185
+ * The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
186
+ * allFeasibleDsWithUserPreference.
242
187
  */
243
188
  readonly haHeartbeatDatastorePolicy: pulumi.Output<string | undefined>;
244
189
  /**
245
- * The action to take on virtual
246
- * machines when a host has detected that it has been isolated from the rest of
247
- * the cluster. Can be one of `none`, `powerOff`, or `shutdown`. Default:
248
- * `none`.
190
+ * The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
191
+ * Can be one of none, powerOff, or shutdown.
249
192
  */
250
193
  readonly haHostIsolationResponse: pulumi.Output<string | undefined>;
251
194
  /**
252
- * Global setting that controls whether
253
- * vSphere HA remediates virtual machines on host failure. Can be one of `enabled`
254
- * or `disabled`. Default: `enabled`.
195
+ * Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
255
196
  */
256
197
  readonly haHostMonitoring: pulumi.Output<string | undefined>;
257
198
  /**
258
- * Controls vSphere VM component
259
- * protection for virtual machines in this cluster. Can be one of `enabled` or
260
- * `disabled`. Default: `enabled`.
261
- * <sup>\*</sup>
199
+ * Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
200
+ * failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
262
201
  */
263
202
  readonly haVmComponentProtection: pulumi.Output<string | undefined>;
264
203
  /**
265
- * The condition used to
266
- * determine whether or not virtual machines in a certain restart priority class
267
- * are online, allowing HA to move on to restarting virtual machines on the next
268
- * priority. Can be one of `none`, `poweredOn`, `guestHbStatusGreen`, or
269
- * `appHbStatusGreen`. The default is `none`, which means that a virtual machine
270
- * is considered ready immediately after a host is found to start it on.
271
- * <sup>\*</sup>
204
+ * The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move
205
+ * on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
272
206
  */
273
207
  readonly haVmDependencyRestartCondition: pulumi.Output<string | undefined>;
274
208
  /**
275
- * The time interval, in seconds, a heartbeat
276
- * from a virtual machine is not received within this configured interval,
277
- * the virtual machine is marked as failed. Default: `30` seconds.
209
+ * If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
210
+ * failed. The value is in seconds.
278
211
  */
279
212
  readonly haVmFailureInterval: pulumi.Output<number | undefined>;
280
213
  /**
281
- * The time, in seconds, for the reset window in
282
- * which `haVmMaximumResets` can operate. When this
283
- * window expires, no more resets are attempted regardless of the setting
284
- * configured in `haVmMaximumResets`. `-1` means no window, meaning an
285
- * unlimited reset time is allotted. Default: `-1` (no window).
214
+ * The length of the reset window in which haVmMaximumResets can operate. When this window expires, no more resets are
215
+ * attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
216
+ * time is allotted.
286
217
  */
287
218
  readonly haVmMaximumFailureWindow: pulumi.Output<number | undefined>;
288
219
  /**
289
- * The maximum number of resets that HA will
290
- * perform to a virtual machine when responding to a failure event. Default: `3`
220
+ * The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
291
221
  */
292
222
  readonly haVmMaximumResets: pulumi.Output<number | undefined>;
293
223
  /**
294
- * The time, in seconds, that HA waits after
295
- * powering on a virtual machine before monitoring for heartbeats. Default:
296
- * `120` seconds (2 minutes).
224
+ * The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
297
225
  */
298
226
  readonly haVmMinimumUptime: pulumi.Output<number | undefined>;
299
227
  /**
300
- * The type of virtual machine monitoring to use
301
- * when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
302
- * `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
228
+ * The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
229
+ * vmMonitoringOnly, or vmAndAppMonitoring.
303
230
  */
304
231
  readonly haVmMonitoring: pulumi.Output<string | undefined>;
305
232
  /**
306
- * Additional delay, in seconds,
307
- * after ready condition is met. A VM is considered ready at this point.
308
- * Default: `0` seconds (no delay). <sup>\*</sup>
233
+ * Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
309
234
  */
310
235
  readonly haVmRestartAdditionalDelay: pulumi.Output<number | undefined>;
311
236
  /**
312
- * The default restart priority
313
- * for affected virtual machines when vSphere detects a host failure. Can be one
314
- * of `lowest`, `low`, `medium`, `high`, or `highest`. Default: `medium`.
237
+ * The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
238
+ * high, or highest.
315
239
  */
316
240
  readonly haVmRestartPriority: pulumi.Output<string | undefined>;
317
241
  /**
318
- * The maximum time, in seconds,
319
- * that vSphere HA will wait for virtual machines in one priority to be ready
320
- * before proceeding with the next priority. Default: `600` seconds (10 minutes).
321
- * <sup>\*</sup>
242
+ * The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
243
+ * proceeding with the next priority.
322
244
  */
323
245
  readonly haVmRestartTimeout: pulumi.Output<number | undefined>;
324
246
  /**
325
- * The timeout, in seconds, for each host maintenance
326
- * mode operation when removing hosts from a cluster. Default: `3600` seconds (1 hour).
247
+ * The timeout for each host maintenance mode operation when removing hosts from a cluster.
327
248
  */
328
249
  readonly hostClusterExitTimeout: pulumi.Output<number | undefined>;
329
250
  /**
330
- * Can be set to `true` if compute cluster
331
- * membership will be managed through the `host` resource rather than the
332
- * `computeCluster` resource. Conflicts with: `hostSystemIds`.
251
+ * Must be set if cluster enrollment is managed from host resource.
333
252
  */
334
253
  readonly hostManaged: pulumi.Output<boolean | undefined>;
335
254
  /**
336
- * The managed object IDs of
337
- * the hosts to put in the cluster. Conflicts with: `hostManaged`.
255
+ * The managed object IDs of the hosts to put in the cluster.
338
256
  */
339
257
  readonly hostSystemIds: pulumi.Output<string[] | undefined>;
340
258
  /**
@@ -342,39 +260,25 @@ export declare class ComputeCluster extends pulumi.CustomResource {
342
260
  */
343
261
  readonly name: pulumi.Output<string>;
344
262
  /**
345
- * Determines how the host
346
- * quarantine, maintenance mode, or virtual machine migration recommendations
347
- * made by proactive HA are to be handled. Can be one of `Automated` or
348
- * `Manual`. Default: `Manual`. <sup>\*</sup>
263
+ * The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
349
264
  */
350
265
  readonly proactiveHaAutomationLevel: pulumi.Output<string | undefined>;
351
266
  /**
352
- * Enables Proactive HA. Default: `false`.
353
- * <sup>\*</sup>
267
+ * Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
354
268
  */
355
269
  readonly proactiveHaEnabled: pulumi.Output<boolean | undefined>;
356
270
  /**
357
- * The configured remediation
358
- * for moderately degraded hosts. Can be one of `MaintenanceMode` or
359
- * `QuarantineMode`. Note that this cannot be set to `MaintenanceMode` when
360
- * `proactiveHaSevereRemediation` is set
361
- * to `QuarantineMode`. Default: `QuarantineMode`.
362
- * <sup>\*</sup>
271
+ * The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
272
+ * this cannot be set to MaintenanceMode when proactiveHaSevereRemediation is set to QuarantineMode.
363
273
  */
364
274
  readonly proactiveHaModerateRemediation: pulumi.Output<string | undefined>;
365
275
  /**
366
- * The list of IDs for health update
367
- * providers configured for this cluster.
368
- * <sup>\*</sup>
276
+ * The list of IDs for health update providers configured for this cluster.
369
277
  */
370
278
  readonly proactiveHaProviderIds: pulumi.Output<string[] | undefined>;
371
279
  /**
372
- * The configured remediation for
373
- * severely degraded hosts. Can be one of `MaintenanceMode` or `QuarantineMode`.
374
- * Note that this cannot be set to `QuarantineMode` when
375
- * `proactiveHaModerateRemediation` is
376
- * set to `MaintenanceMode`. Default: `QuarantineMode`.
377
- * <sup>\*</sup>
280
+ * The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
281
+ * cannot be set to QuarantineMode when proactiveHaModerateRemediation is set to MaintenanceMode.
378
282
  */
379
283
  readonly proactiveHaSevereRemediation: pulumi.Output<string | undefined>;
380
284
  /**
@@ -390,75 +294,59 @@ export declare class ComputeCluster extends pulumi.CustomResource {
390
294
  */
391
295
  readonly tags: pulumi.Output<string[] | undefined>;
392
296
  /**
393
- * Enables vSAN compression on the
394
- * cluster.
297
+ * Whether the vSAN compression service is enabled for the cluster.
395
298
  */
396
299
  readonly vsanCompressionEnabled: pulumi.Output<boolean | undefined>;
397
300
  /**
398
- * Enables vSAN deduplication on the cluster.
399
- * Cannot be independently set to `true`. When vSAN deduplication is enabled, vSAN
400
- * compression must also be enabled.
301
+ * Whether the vSAN deduplication service is enabled for the cluster.
401
302
  */
402
303
  readonly vsanDedupEnabled: pulumi.Output<boolean | undefined>;
403
304
  /**
404
- * Represents the configuration of a host disk
405
- * group in the cluster.
305
+ * A list of disk UUIDs to add to the vSAN cluster.
406
306
  */
407
307
  readonly vsanDiskGroups: pulumi.Output<outputs.ComputeClusterVsanDiskGroup[]>;
408
308
  /**
409
- * Enables vSAN data-in-transit
410
- * encryption on the cluster. Conflicts with `vsanRemoteDatastoreIds`, i.e.,
411
- * vSAN data-in-transit feature cannot be enabled with the vSAN HCI Mesh feature
412
- * at the same time.
309
+ * Whether the vSAN data-in-transit encryption is enabled for the cluster.
413
310
  */
414
311
  readonly vsanDitEncryptionEnabled: pulumi.Output<boolean | undefined>;
415
312
  /**
416
- * Indicates the rekey interval in
417
- * minutes for data-in-transit encryption. The valid rekey interval is 30 to
418
- * 10800 (feature defaults to 1440). Conflicts with `vsanRemoteDatastoreIds`.
313
+ * When vsanDitEncryptionEnabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
419
314
  */
420
315
  readonly vsanDitRekeyInterval: pulumi.Output<number>;
421
316
  /**
422
- * Enables vSAN on the cluster.
317
+ * Whether the vSAN service is enabled for the cluster.
423
318
  */
424
319
  readonly vsanEnabled: pulumi.Output<boolean | undefined>;
425
320
  /**
426
- * Enables vSAN ESA on the cluster.
321
+ * Whether the vSAN ESA service is enabled for the cluster.
427
322
  */
428
323
  readonly vsanEsaEnabled: pulumi.Output<boolean | undefined>;
429
324
  /**
430
- * Configurations of vSAN fault domains.
325
+ * The configuration for vSAN fault domains.
431
326
  */
432
327
  readonly vsanFaultDomains: pulumi.Output<outputs.ComputeClusterVsanFaultDomain[] | undefined>;
433
328
  /**
434
- * Enables network
435
- * diagnostic mode for vSAN performance service on the cluster.
329
+ * Whether the vSAN network diagnostic mode is enabled for the cluster.
436
330
  */
437
331
  readonly vsanNetworkDiagnosticModeEnabled: pulumi.Output<boolean | undefined>;
438
332
  /**
439
- * Enables vSAN performance service on
440
- * the cluster. Default: `true`.
333
+ * Whether the vSAN performance service is enabled for the cluster.
441
334
  */
442
335
  readonly vsanPerformanceEnabled: pulumi.Output<boolean | undefined>;
443
336
  /**
444
- * The remote vSAN datastore IDs to be
445
- * mounted to this cluster. Conflicts with `vsanDitEncryptionEnabled` and
446
- * `vsanDitRekeyInterval`, i.e., vSAN HCI Mesh feature cannot be enabled with
447
- * data-in-transit encryption feature at the same time.
337
+ * The managed object IDs of the vSAN datastore to be mounted on the cluster.
448
338
  */
449
339
  readonly vsanRemoteDatastoreIds: pulumi.Output<string[] | undefined>;
450
340
  /**
451
- * Configurations of vSAN stretched cluster.
341
+ * The configuration for stretched cluster.
452
342
  */
453
343
  readonly vsanStretchedCluster: pulumi.Output<outputs.ComputeClusterVsanStretchedCluster | undefined>;
454
344
  /**
455
- * Enables vSAN unmap on the cluster.
456
- * You must explicitly enable vSAN unmap when you enable vSAN ESA on the cluster.
345
+ * Whether the vSAN unmap service is enabled for the cluster.
457
346
  */
458
347
  readonly vsanUnmapEnabled: pulumi.Output<boolean | undefined>;
459
348
  /**
460
- * Enables verbose mode for vSAN
461
- * performance service on the cluster.
349
+ * Whether the vSAN verbose mode is enabled for the cluster.
462
350
  */
463
351
  readonly vsanVerboseModeEnabled: pulumi.Output<boolean | undefined>;
464
352
  /**
@@ -490,65 +378,50 @@ export interface ComputeClusterState {
490
378
  */
491
379
  datacenterId?: pulumi.Input<string>;
492
380
  /**
493
- * The automation level for host power
494
- * operations in this cluster. Can be one of `manual` or `automated`. Default:
495
- * `manual`.
381
+ * The automation level for host power operations in this cluster. Can be one of manual or automated.
496
382
  */
497
383
  dpmAutomationLevel?: pulumi.Input<string>;
498
384
  /**
499
- * Enable DPM support for DRS in this cluster.
500
- * Requires `drsEnabled` to be `true` in order to be effective.
501
- * Default: `false`.
385
+ * Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
386
+ * machines in the cluster. Requires that DRS be enabled.
502
387
  */
503
388
  dpmEnabled?: pulumi.Input<boolean>;
504
389
  /**
505
- * A value between `1` and `5` indicating the
506
- * threshold of load within the cluster that influences host power operations.
507
- * This affects both power on and power off operations - a lower setting will
508
- * tolerate more of a surplus/deficit than a higher setting. Default: `3`.
390
+ * A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
391
+ * affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
392
+ * setting.
509
393
  */
510
394
  dpmThreshold?: pulumi.Input<number>;
511
395
  /**
512
- * A key/value map that specifies advanced
513
- * options for DRS and DPM.
396
+ * Advanced configuration options for DRS and DPM.
514
397
  */
515
398
  drsAdvancedOptions?: pulumi.Input<{
516
399
  [key: string]: pulumi.Input<string>;
517
400
  }>;
518
401
  /**
519
- * The default automation level for all
520
- * virtual machines in this cluster. Can be one of `manual`,
521
- * `partiallyAutomated`, or `fullyAutomated`. Default: `manual`.
402
+ * The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
403
+ * fullyAutomated.
522
404
  */
523
405
  drsAutomationLevel?: pulumi.Input<string>;
524
406
  /**
525
- * When `true`, enables DRS to use data
526
- * from [vRealize Operations Manager][ref-vsphere-vrops] to make proactive DRS
527
- * recommendations. <sup>\*</sup>
528
- *
529
- * [ref-vsphere-vrops]: https://docs.vmware.com/en/vRealize-Operations-Manager/index.html
407
+ * When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
530
408
  */
531
409
  drsEnablePredictiveDrs?: pulumi.Input<boolean>;
532
410
  /**
533
- * Allow individual DRS overrides to be
534
- * set for virtual machines in the cluster. Default: `true`.
411
+ * When true, allows individual VM overrides within this cluster to be set.
535
412
  */
536
413
  drsEnableVmOverrides?: pulumi.Input<boolean>;
537
414
  /**
538
- * Enable DRS for this cluster. Default: `false`.
415
+ * Enable DRS for this cluster.
539
416
  */
540
417
  drsEnabled?: pulumi.Input<boolean>;
541
418
  /**
542
- * A value between `1` and `5` indicating
543
- * the threshold of imbalance tolerated between hosts. A lower setting will
544
- * tolerate more imbalance while a higher setting will tolerate less. Default:
545
- * `3`.
419
+ * A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
420
+ * more imbalance while a higher setting will tolerate less.
546
421
  */
547
422
  drsMigrationThreshold?: pulumi.Input<number>;
548
423
  /**
549
- * Enable scalable shares for all
550
- * resource pools in the cluster. Can be one of `disabled` or
551
- * `scaleCpuAndMemoryShares`. Default: `disabled`.
424
+ * Enable scalable shares for all descendants of this cluster.
552
425
  */
553
426
  drsScaleDescendantsShares?: pulumi.Input<string>;
554
427
  /**
@@ -561,237 +434,170 @@ export interface ComputeClusterState {
561
434
  */
562
435
  folder?: pulumi.Input<string>;
563
436
  /**
564
- * When destroying the resource, setting this to
565
- * `true` will auto-remove any hosts that are currently a member of the cluster,
566
- * as if they were removed by taking their entry out of `hostSystemIds` (see
567
- * below. This is an advanced
568
- * option and should only be used for testing. Default: `false`.
569
- *
570
- * > **NOTE:** Do not set `forceEvacuateOnDestroy` in production operation as
571
- * there are many pitfalls to its use when working with complex cluster
572
- * configurations. Depending on the virtual machines currently on the cluster, and
573
- * your DRS and HA settings, the full host evacuation may fail. Instead,
574
- * incrementally remove hosts from your configuration by adjusting the contents of
575
- * the `hostSystemIds` attribute.
437
+ * Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
438
+ * for testing and is not recommended in normal use.
576
439
  */
577
440
  forceEvacuateOnDestroy?: pulumi.Input<boolean>;
578
441
  /**
579
- * Defines the
580
- * managed object IDs of hosts to use as dedicated failover
581
- * hosts. These hosts are kept as available as possible - admission control will
582
- * block access to the host, and DRS will ignore the host when making
583
- * recommendations.
442
+ * When haAdmissionControlPolicy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated
443
+ * failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
444
+ * will ignore the host when making recommendations.
584
445
  */
585
446
  haAdmissionControlFailoverHostSystemIds?: pulumi.Input<pulumi.Input<string>[]>;
586
447
  /**
587
- * The maximum number
588
- * of failed hosts that admission control tolerates when making decisions on
589
- * whether to permit virtual machine operations. The maximum is one less than
590
- * the number of hosts in the cluster. Default: `1`.
591
- * <sup>\*</sup>
448
+ * The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual
449
+ * machine operations. The maximum is one less than the number of hosts in the cluster.
592
450
  */
593
451
  haAdmissionControlHostFailureTolerance?: pulumi.Input<number>;
594
452
  /**
595
- * The percentage of
596
- * resource reduction that a cluster of virtual machines can tolerate in case of
597
- * a failover. A value of 0 produces warnings only, whereas a value of 100
598
- * disables the setting. Default: `100` (disabled).
453
+ * The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces
454
+ * warnings only, whereas a value of 100 disables the setting.
599
455
  */
600
456
  haAdmissionControlPerformanceTolerance?: pulumi.Input<number>;
601
457
  /**
602
- * The type of admission control
603
- * policy to use with vSphere HA. Can be one of `resourcePercentage`,
604
- * `slotPolicy`, `failoverHosts`, or `disabled`. Default: `resourcePercentage`.
458
+ * The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
459
+ * permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
460
+ * slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
461
+ * issues.
605
462
  */
606
463
  haAdmissionControlPolicy?: pulumi.Input<string>;
607
464
  /**
608
- * Automatically determine available resource percentages by subtracting the
609
- * average number of host resources represented by the
610
- * `haAdmissionControlHostFailureTolerance`
611
- * setting from the total amount of resources in the cluster. Disable to supply
612
- * user-defined values. Default: `true`.
613
- * <sup>\*</sup>
465
+ * When haAdmissionControlPolicy is resourcePercentage, automatically determine available resource percentages by
466
+ * subtracting the average number of host resources represented by the haAdmissionControlHostFailureTolerance setting from
467
+ * the total amount of resources in the cluster. Disable to supply user-defined values.
614
468
  */
615
469
  haAdmissionControlResourcePercentageAutoCompute?: pulumi.Input<boolean>;
616
470
  /**
617
- * Controls the
618
- * user-defined percentage of CPU resources in the cluster to reserve for
619
- * failover. Default: `100`.
471
+ * When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of CPU resources in the
472
+ * cluster to reserve for failover.
620
473
  */
621
474
  haAdmissionControlResourcePercentageCpu?: pulumi.Input<number>;
622
475
  /**
623
- * Controls the
624
- * user-defined percentage of memory resources in the cluster to reserve for
625
- * failover. Default: `100`.
476
+ * When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of memory resources in
477
+ * the cluster to reserve for failover.
626
478
  */
627
479
  haAdmissionControlResourcePercentageMemory?: pulumi.Input<number>;
628
480
  /**
629
- * Controls the
630
- * user-defined CPU slot size, in MHz. Default: `32`.
481
+ * When haAdmissionControlPolicy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
631
482
  */
632
483
  haAdmissionControlSlotPolicyExplicitCpu?: pulumi.Input<number>;
633
484
  /**
634
- * Controls the
635
- * user-defined memory slot size, in MB. Default: `100`.
485
+ * When haAdmissionControlPolicy is slotPolicy, this controls the user-defined memory slot size, in MB.
636
486
  */
637
487
  haAdmissionControlSlotPolicyExplicitMemory?: pulumi.Input<number>;
638
488
  /**
639
- * Controls
640
- * whether or not you wish to supply explicit values to CPU and memory slot
641
- * sizes. The default is `false`, which tells vSphere to gather a automatic
642
- * average based on all powered-on virtual machines currently in the cluster.
489
+ * When haAdmissionControlPolicy is slotPolicy, this setting controls whether or not you wish to supply explicit values to
490
+ * CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
491
+ * currently in the cluster.
643
492
  */
644
493
  haAdmissionControlSlotPolicyUseExplicitSize?: pulumi.Input<boolean>;
645
494
  /**
646
- * A key/value map that specifies advanced
647
- * options for vSphere HA.
495
+ * Advanced configuration options for vSphere HA.
648
496
  */
649
497
  haAdvancedOptions?: pulumi.Input<{
650
498
  [key: string]: pulumi.Input<string>;
651
499
  }>;
652
500
  /**
653
- * Controls the action to take
654
- * on virtual machines if an APD status on an affected datastore clears in the
655
- * middle of an APD event. Can be one of `none` or `reset`. Default: `none`.
656
- * <sup>\*</sup>
501
+ * When haVmComponentProtection is enabled, controls the action to take on virtual machines if an APD status on an affected
502
+ * datastore clears in the middle of an APD event. Can be one of none or reset.
657
503
  */
658
504
  haDatastoreApdRecoveryAction?: pulumi.Input<string>;
659
505
  /**
660
- * Controls the action to take on
661
- * virtual machines when the cluster has detected loss to all paths to a
662
- * relevant datastore. Can be one of `disabled`, `warning`,
663
- * `restartConservative`, or `restartAggressive`. Default: `disabled`.
664
- * <sup>\*</sup>
506
+ * When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected
507
+ * loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
665
508
  */
666
509
  haDatastoreApdResponse?: pulumi.Input<string>;
667
510
  /**
668
- * The time, in seconds,
669
- * to wait after an APD timeout event to run the response action defined in
670
- * `haDatastoreApdResponse`. Default: `180`
671
- * seconds (3 minutes). <sup>\*</sup>
511
+ * When haVmComponentProtection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the
512
+ * response action defined in ha_datastore_apd_response.
672
513
  */
673
514
  haDatastoreApdResponseDelay?: pulumi.Input<number>;
674
515
  /**
675
- * Controls the action to take on
676
- * virtual machines when the cluster has detected a permanent device loss to a
677
- * relevant datastore. Can be one of `disabled`, `warning`, or
678
- * `restartAggressive`. Default: `disabled`.
679
- * <sup>\*</sup>
516
+ * When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected a
517
+ * permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
680
518
  */
681
519
  haDatastorePdlResponse?: pulumi.Input<string>;
682
520
  /**
683
- * Enable vSphere HA for this cluster. Default:
684
- * `false`.
521
+ * Enable vSphere HA for this cluster.
685
522
  */
686
523
  haEnabled?: pulumi.Input<boolean>;
687
524
  /**
688
- * The list of managed object IDs for
689
- * preferred datastores to use for HA heartbeating. This setting is only useful
690
- * when `haHeartbeatDatastorePolicy` is set
691
- * to either `userSelectedDs` or `allFeasibleDsWithUserPreference`.
525
+ * The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
526
+ * haHeartbeatDatastorePolicy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
692
527
  */
693
528
  haHeartbeatDatastoreIds?: pulumi.Input<pulumi.Input<string>[]>;
694
529
  /**
695
- * The selection policy for HA
696
- * heartbeat datastores. Can be one of `allFeasibleDs`, `userSelectedDs`, or
697
- * `allFeasibleDsWithUserPreference`. Default:
698
- * `allFeasibleDsWithUserPreference`.
530
+ * The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
531
+ * allFeasibleDsWithUserPreference.
699
532
  */
700
533
  haHeartbeatDatastorePolicy?: pulumi.Input<string>;
701
534
  /**
702
- * The action to take on virtual
703
- * machines when a host has detected that it has been isolated from the rest of
704
- * the cluster. Can be one of `none`, `powerOff`, or `shutdown`. Default:
705
- * `none`.
535
+ * The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
536
+ * Can be one of none, powerOff, or shutdown.
706
537
  */
707
538
  haHostIsolationResponse?: pulumi.Input<string>;
708
539
  /**
709
- * Global setting that controls whether
710
- * vSphere HA remediates virtual machines on host failure. Can be one of `enabled`
711
- * or `disabled`. Default: `enabled`.
540
+ * Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
712
541
  */
713
542
  haHostMonitoring?: pulumi.Input<string>;
714
543
  /**
715
- * Controls vSphere VM component
716
- * protection for virtual machines in this cluster. Can be one of `enabled` or
717
- * `disabled`. Default: `enabled`.
718
- * <sup>\*</sup>
544
+ * Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
545
+ * failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
719
546
  */
720
547
  haVmComponentProtection?: pulumi.Input<string>;
721
548
  /**
722
- * The condition used to
723
- * determine whether or not virtual machines in a certain restart priority class
724
- * are online, allowing HA to move on to restarting virtual machines on the next
725
- * priority. Can be one of `none`, `poweredOn`, `guestHbStatusGreen`, or
726
- * `appHbStatusGreen`. The default is `none`, which means that a virtual machine
727
- * is considered ready immediately after a host is found to start it on.
728
- * <sup>\*</sup>
549
+ * The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move
550
+ * on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
729
551
  */
730
552
  haVmDependencyRestartCondition?: pulumi.Input<string>;
731
553
  /**
732
- * The time interval, in seconds, a heartbeat
733
- * from a virtual machine is not received within this configured interval,
734
- * the virtual machine is marked as failed. Default: `30` seconds.
554
+ * If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
555
+ * failed. The value is in seconds.
735
556
  */
736
557
  haVmFailureInterval?: pulumi.Input<number>;
737
558
  /**
738
- * The time, in seconds, for the reset window in
739
- * which `haVmMaximumResets` can operate. When this
740
- * window expires, no more resets are attempted regardless of the setting
741
- * configured in `haVmMaximumResets`. `-1` means no window, meaning an
742
- * unlimited reset time is allotted. Default: `-1` (no window).
559
+ * The length of the reset window in which haVmMaximumResets can operate. When this window expires, no more resets are
560
+ * attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
561
+ * time is allotted.
743
562
  */
744
563
  haVmMaximumFailureWindow?: pulumi.Input<number>;
745
564
  /**
746
- * The maximum number of resets that HA will
747
- * perform to a virtual machine when responding to a failure event. Default: `3`
565
+ * The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
748
566
  */
749
567
  haVmMaximumResets?: pulumi.Input<number>;
750
568
  /**
751
- * The time, in seconds, that HA waits after
752
- * powering on a virtual machine before monitoring for heartbeats. Default:
753
- * `120` seconds (2 minutes).
569
+ * The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
754
570
  */
755
571
  haVmMinimumUptime?: pulumi.Input<number>;
756
572
  /**
757
- * The type of virtual machine monitoring to use
758
- * when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
759
- * `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
573
+ * The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
574
+ * vmMonitoringOnly, or vmAndAppMonitoring.
760
575
  */
761
576
  haVmMonitoring?: pulumi.Input<string>;
762
577
  /**
763
- * Additional delay, in seconds,
764
- * after ready condition is met. A VM is considered ready at this point.
765
- * Default: `0` seconds (no delay). <sup>\*</sup>
578
+ * Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
766
579
  */
767
580
  haVmRestartAdditionalDelay?: pulumi.Input<number>;
768
581
  /**
769
- * The default restart priority
770
- * for affected virtual machines when vSphere detects a host failure. Can be one
771
- * of `lowest`, `low`, `medium`, `high`, or `highest`. Default: `medium`.
582
+ * The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
583
+ * high, or highest.
772
584
  */
773
585
  haVmRestartPriority?: pulumi.Input<string>;
774
586
  /**
775
- * The maximum time, in seconds,
776
- * that vSphere HA will wait for virtual machines in one priority to be ready
777
- * before proceeding with the next priority. Default: `600` seconds (10 minutes).
778
- * <sup>\*</sup>
587
+ * The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
588
+ * proceeding with the next priority.
779
589
  */
780
590
  haVmRestartTimeout?: pulumi.Input<number>;
781
591
  /**
782
- * The timeout, in seconds, for each host maintenance
783
- * mode operation when removing hosts from a cluster. Default: `3600` seconds (1 hour).
592
+ * The timeout for each host maintenance mode operation when removing hosts from a cluster.
784
593
  */
785
594
  hostClusterExitTimeout?: pulumi.Input<number>;
786
595
  /**
787
- * Can be set to `true` if compute cluster
788
- * membership will be managed through the `host` resource rather than the
789
- * `computeCluster` resource. Conflicts with: `hostSystemIds`.
596
+ * Must be set if cluster enrollment is managed from host resource.
790
597
  */
791
598
  hostManaged?: pulumi.Input<boolean>;
792
599
  /**
793
- * The managed object IDs of
794
- * the hosts to put in the cluster. Conflicts with: `hostManaged`.
600
+ * The managed object IDs of the hosts to put in the cluster.
795
601
  */
796
602
  hostSystemIds?: pulumi.Input<pulumi.Input<string>[]>;
797
603
  /**
@@ -799,39 +605,25 @@ export interface ComputeClusterState {
799
605
  */
800
606
  name?: pulumi.Input<string>;
801
607
  /**
802
- * Determines how the host
803
- * quarantine, maintenance mode, or virtual machine migration recommendations
804
- * made by proactive HA are to be handled. Can be one of `Automated` or
805
- * `Manual`. Default: `Manual`. <sup>\*</sup>
608
+ * The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
806
609
  */
807
610
  proactiveHaAutomationLevel?: pulumi.Input<string>;
808
611
  /**
809
- * Enables Proactive HA. Default: `false`.
810
- * <sup>\*</sup>
612
+ * Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
811
613
  */
812
614
  proactiveHaEnabled?: pulumi.Input<boolean>;
813
615
  /**
814
- * The configured remediation
815
- * for moderately degraded hosts. Can be one of `MaintenanceMode` or
816
- * `QuarantineMode`. Note that this cannot be set to `MaintenanceMode` when
817
- * `proactiveHaSevereRemediation` is set
818
- * to `QuarantineMode`. Default: `QuarantineMode`.
819
- * <sup>\*</sup>
616
+ * The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
617
+ * this cannot be set to MaintenanceMode when proactiveHaSevereRemediation is set to QuarantineMode.
820
618
  */
821
619
  proactiveHaModerateRemediation?: pulumi.Input<string>;
822
620
  /**
823
- * The list of IDs for health update
824
- * providers configured for this cluster.
825
- * <sup>\*</sup>
621
+ * The list of IDs for health update providers configured for this cluster.
826
622
  */
827
623
  proactiveHaProviderIds?: pulumi.Input<pulumi.Input<string>[]>;
828
624
  /**
829
- * The configured remediation for
830
- * severely degraded hosts. Can be one of `MaintenanceMode` or `QuarantineMode`.
831
- * Note that this cannot be set to `QuarantineMode` when
832
- * `proactiveHaModerateRemediation` is
833
- * set to `MaintenanceMode`. Default: `QuarantineMode`.
834
- * <sup>\*</sup>
625
+ * The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
626
+ * cannot be set to QuarantineMode when proactiveHaModerateRemediation is set to MaintenanceMode.
835
627
  */
836
628
  proactiveHaSevereRemediation?: pulumi.Input<string>;
837
629
  /**
@@ -847,75 +639,59 @@ export interface ComputeClusterState {
847
639
  */
848
640
  tags?: pulumi.Input<pulumi.Input<string>[]>;
849
641
  /**
850
- * Enables vSAN compression on the
851
- * cluster.
642
+ * Whether the vSAN compression service is enabled for the cluster.
852
643
  */
853
644
  vsanCompressionEnabled?: pulumi.Input<boolean>;
854
645
  /**
855
- * Enables vSAN deduplication on the cluster.
856
- * Cannot be independently set to `true`. When vSAN deduplication is enabled, vSAN
857
- * compression must also be enabled.
646
+ * Whether the vSAN deduplication service is enabled for the cluster.
858
647
  */
859
648
  vsanDedupEnabled?: pulumi.Input<boolean>;
860
649
  /**
861
- * Represents the configuration of a host disk
862
- * group in the cluster.
650
+ * A list of disk UUIDs to add to the vSAN cluster.
863
651
  */
864
652
  vsanDiskGroups?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanDiskGroup>[]>;
865
653
  /**
866
- * Enables vSAN data-in-transit
867
- * encryption on the cluster. Conflicts with `vsanRemoteDatastoreIds`, i.e.,
868
- * vSAN data-in-transit feature cannot be enabled with the vSAN HCI Mesh feature
869
- * at the same time.
654
+ * Whether the vSAN data-in-transit encryption is enabled for the cluster.
870
655
  */
871
656
  vsanDitEncryptionEnabled?: pulumi.Input<boolean>;
872
657
  /**
873
- * Indicates the rekey interval in
874
- * minutes for data-in-transit encryption. The valid rekey interval is 30 to
875
- * 10800 (feature defaults to 1440). Conflicts with `vsanRemoteDatastoreIds`.
658
+ * When vsanDitEncryptionEnabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
876
659
  */
877
660
  vsanDitRekeyInterval?: pulumi.Input<number>;
878
661
  /**
879
- * Enables vSAN on the cluster.
662
+ * Whether the vSAN service is enabled for the cluster.
880
663
  */
881
664
  vsanEnabled?: pulumi.Input<boolean>;
882
665
  /**
883
- * Enables vSAN ESA on the cluster.
666
+ * Whether the vSAN ESA service is enabled for the cluster.
884
667
  */
885
668
  vsanEsaEnabled?: pulumi.Input<boolean>;
886
669
  /**
887
- * Configurations of vSAN fault domains.
670
+ * The configuration for vSAN fault domains.
888
671
  */
889
672
  vsanFaultDomains?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanFaultDomain>[]>;
890
673
  /**
891
- * Enables network
892
- * diagnostic mode for vSAN performance service on the cluster.
674
+ * Whether the vSAN network diagnostic mode is enabled for the cluster.
893
675
  */
894
676
  vsanNetworkDiagnosticModeEnabled?: pulumi.Input<boolean>;
895
677
  /**
896
- * Enables vSAN performance service on
897
- * the cluster. Default: `true`.
678
+ * Whether the vSAN performance service is enabled for the cluster.
898
679
  */
899
680
  vsanPerformanceEnabled?: pulumi.Input<boolean>;
900
681
  /**
901
- * The remote vSAN datastore IDs to be
902
- * mounted to this cluster. Conflicts with `vsanDitEncryptionEnabled` and
903
- * `vsanDitRekeyInterval`, i.e., vSAN HCI Mesh feature cannot be enabled with
904
- * data-in-transit encryption feature at the same time.
682
+ * The managed object IDs of the vSAN datastore to be mounted on the cluster.
905
683
  */
906
684
  vsanRemoteDatastoreIds?: pulumi.Input<pulumi.Input<string>[]>;
907
685
  /**
908
- * Configurations of vSAN stretched cluster.
686
+ * The configuration for stretched cluster.
909
687
  */
910
688
  vsanStretchedCluster?: pulumi.Input<inputs.ComputeClusterVsanStretchedCluster>;
911
689
  /**
912
- * Enables vSAN unmap on the cluster.
913
- * You must explicitly enable vSAN unmap when you enable vSAN ESA on the cluster.
690
+ * Whether the vSAN unmap service is enabled for the cluster.
914
691
  */
915
692
  vsanUnmapEnabled?: pulumi.Input<boolean>;
916
693
  /**
917
- * Enables verbose mode for vSAN
918
- * performance service on the cluster.
694
+ * Whether the vSAN verbose mode is enabled for the cluster.
919
695
  */
920
696
  vsanVerboseModeEnabled?: pulumi.Input<boolean>;
921
697
  }
@@ -939,65 +715,50 @@ export interface ComputeClusterArgs {
939
715
  */
940
716
  datacenterId: pulumi.Input<string>;
941
717
  /**
942
- * The automation level for host power
943
- * operations in this cluster. Can be one of `manual` or `automated`. Default:
944
- * `manual`.
718
+ * The automation level for host power operations in this cluster. Can be one of manual or automated.
945
719
  */
946
720
  dpmAutomationLevel?: pulumi.Input<string>;
947
721
  /**
948
- * Enable DPM support for DRS in this cluster.
949
- * Requires `drsEnabled` to be `true` in order to be effective.
950
- * Default: `false`.
722
+ * Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
723
+ * machines in the cluster. Requires that DRS be enabled.
951
724
  */
952
725
  dpmEnabled?: pulumi.Input<boolean>;
953
726
  /**
954
- * A value between `1` and `5` indicating the
955
- * threshold of load within the cluster that influences host power operations.
956
- * This affects both power on and power off operations - a lower setting will
957
- * tolerate more of a surplus/deficit than a higher setting. Default: `3`.
727
+ * A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
728
+ * affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
729
+ * setting.
958
730
  */
959
731
  dpmThreshold?: pulumi.Input<number>;
960
732
  /**
961
- * A key/value map that specifies advanced
962
- * options for DRS and DPM.
733
+ * Advanced configuration options for DRS and DPM.
963
734
  */
964
735
  drsAdvancedOptions?: pulumi.Input<{
965
736
  [key: string]: pulumi.Input<string>;
966
737
  }>;
967
738
  /**
968
- * The default automation level for all
969
- * virtual machines in this cluster. Can be one of `manual`,
970
- * `partiallyAutomated`, or `fullyAutomated`. Default: `manual`.
739
+ * The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
740
+ * fullyAutomated.
971
741
  */
972
742
  drsAutomationLevel?: pulumi.Input<string>;
973
743
  /**
974
- * When `true`, enables DRS to use data
975
- * from [vRealize Operations Manager][ref-vsphere-vrops] to make proactive DRS
976
- * recommendations. <sup>\*</sup>
977
- *
978
- * [ref-vsphere-vrops]: https://docs.vmware.com/en/vRealize-Operations-Manager/index.html
744
+ * When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
979
745
  */
980
746
  drsEnablePredictiveDrs?: pulumi.Input<boolean>;
981
747
  /**
982
- * Allow individual DRS overrides to be
983
- * set for virtual machines in the cluster. Default: `true`.
748
+ * When true, allows individual VM overrides within this cluster to be set.
984
749
  */
985
750
  drsEnableVmOverrides?: pulumi.Input<boolean>;
986
751
  /**
987
- * Enable DRS for this cluster. Default: `false`.
752
+ * Enable DRS for this cluster.
988
753
  */
989
754
  drsEnabled?: pulumi.Input<boolean>;
990
755
  /**
991
- * A value between `1` and `5` indicating
992
- * the threshold of imbalance tolerated between hosts. A lower setting will
993
- * tolerate more imbalance while a higher setting will tolerate less. Default:
994
- * `3`.
756
+ * A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
757
+ * more imbalance while a higher setting will tolerate less.
995
758
  */
996
759
  drsMigrationThreshold?: pulumi.Input<number>;
997
760
  /**
998
- * Enable scalable shares for all
999
- * resource pools in the cluster. Can be one of `disabled` or
1000
- * `scaleCpuAndMemoryShares`. Default: `disabled`.
761
+ * Enable scalable shares for all descendants of this cluster.
1001
762
  */
1002
763
  drsScaleDescendantsShares?: pulumi.Input<string>;
1003
764
  /**
@@ -1010,237 +771,170 @@ export interface ComputeClusterArgs {
1010
771
  */
1011
772
  folder?: pulumi.Input<string>;
1012
773
  /**
1013
- * When destroying the resource, setting this to
1014
- * `true` will auto-remove any hosts that are currently a member of the cluster,
1015
- * as if they were removed by taking their entry out of `hostSystemIds` (see
1016
- * below. This is an advanced
1017
- * option and should only be used for testing. Default: `false`.
1018
- *
1019
- * > **NOTE:** Do not set `forceEvacuateOnDestroy` in production operation as
1020
- * there are many pitfalls to its use when working with complex cluster
1021
- * configurations. Depending on the virtual machines currently on the cluster, and
1022
- * your DRS and HA settings, the full host evacuation may fail. Instead,
1023
- * incrementally remove hosts from your configuration by adjusting the contents of
1024
- * the `hostSystemIds` attribute.
774
+ * Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
775
+ * for testing and is not recommended in normal use.
1025
776
  */
1026
777
  forceEvacuateOnDestroy?: pulumi.Input<boolean>;
1027
778
  /**
1028
- * Defines the
1029
- * managed object IDs of hosts to use as dedicated failover
1030
- * hosts. These hosts are kept as available as possible - admission control will
1031
- * block access to the host, and DRS will ignore the host when making
1032
- * recommendations.
779
+ * When haAdmissionControlPolicy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated
780
+ * failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
781
+ * will ignore the host when making recommendations.
1033
782
  */
1034
783
  haAdmissionControlFailoverHostSystemIds?: pulumi.Input<pulumi.Input<string>[]>;
1035
784
  /**
1036
- * The maximum number
1037
- * of failed hosts that admission control tolerates when making decisions on
1038
- * whether to permit virtual machine operations. The maximum is one less than
1039
- * the number of hosts in the cluster. Default: `1`.
1040
- * <sup>\*</sup>
785
+ * The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual
786
+ * machine operations. The maximum is one less than the number of hosts in the cluster.
1041
787
  */
1042
788
  haAdmissionControlHostFailureTolerance?: pulumi.Input<number>;
1043
789
  /**
1044
- * The percentage of
1045
- * resource reduction that a cluster of virtual machines can tolerate in case of
1046
- * a failover. A value of 0 produces warnings only, whereas a value of 100
1047
- * disables the setting. Default: `100` (disabled).
790
+ * The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces
791
+ * warnings only, whereas a value of 100 disables the setting.
1048
792
  */
1049
793
  haAdmissionControlPerformanceTolerance?: pulumi.Input<number>;
1050
794
  /**
1051
- * The type of admission control
1052
- * policy to use with vSphere HA. Can be one of `resourcePercentage`,
1053
- * `slotPolicy`, `failoverHosts`, or `disabled`. Default: `resourcePercentage`.
795
+ * The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
796
+ * permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
797
+ * slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
798
+ * issues.
1054
799
  */
1055
800
  haAdmissionControlPolicy?: pulumi.Input<string>;
1056
801
  /**
1057
- * Automatically determine available resource percentages by subtracting the
1058
- * average number of host resources represented by the
1059
- * `haAdmissionControlHostFailureTolerance`
1060
- * setting from the total amount of resources in the cluster. Disable to supply
1061
- * user-defined values. Default: `true`.
1062
- * <sup>\*</sup>
802
+ * When haAdmissionControlPolicy is resourcePercentage, automatically determine available resource percentages by
803
+ * subtracting the average number of host resources represented by the haAdmissionControlHostFailureTolerance setting from
804
+ * the total amount of resources in the cluster. Disable to supply user-defined values.
1063
805
  */
1064
806
  haAdmissionControlResourcePercentageAutoCompute?: pulumi.Input<boolean>;
1065
807
  /**
1066
- * Controls the
1067
- * user-defined percentage of CPU resources in the cluster to reserve for
1068
- * failover. Default: `100`.
808
+ * When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of CPU resources in the
809
+ * cluster to reserve for failover.
1069
810
  */
1070
811
  haAdmissionControlResourcePercentageCpu?: pulumi.Input<number>;
1071
812
  /**
1072
- * Controls the
1073
- * user-defined percentage of memory resources in the cluster to reserve for
1074
- * failover. Default: `100`.
813
+ * When haAdmissionControlPolicy is resourcePercentage, this controls the user-defined percentage of memory resources in
814
+ * the cluster to reserve for failover.
1075
815
  */
1076
816
  haAdmissionControlResourcePercentageMemory?: pulumi.Input<number>;
1077
817
  /**
1078
- * Controls the
1079
- * user-defined CPU slot size, in MHz. Default: `32`.
818
+ * When haAdmissionControlPolicy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
1080
819
  */
1081
820
  haAdmissionControlSlotPolicyExplicitCpu?: pulumi.Input<number>;
1082
821
  /**
1083
- * Controls the
1084
- * user-defined memory slot size, in MB. Default: `100`.
822
+ * When haAdmissionControlPolicy is slotPolicy, this controls the user-defined memory slot size, in MB.
1085
823
  */
1086
824
  haAdmissionControlSlotPolicyExplicitMemory?: pulumi.Input<number>;
1087
825
  /**
1088
- * Controls
1089
- * whether or not you wish to supply explicit values to CPU and memory slot
1090
- * sizes. The default is `false`, which tells vSphere to gather a automatic
1091
- * average based on all powered-on virtual machines currently in the cluster.
826
+ * When haAdmissionControlPolicy is slotPolicy, this setting controls whether or not you wish to supply explicit values to
827
+ * CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
828
+ * currently in the cluster.
1092
829
  */
1093
830
  haAdmissionControlSlotPolicyUseExplicitSize?: pulumi.Input<boolean>;
1094
831
  /**
1095
- * A key/value map that specifies advanced
1096
- * options for vSphere HA.
832
+ * Advanced configuration options for vSphere HA.
1097
833
  */
1098
834
  haAdvancedOptions?: pulumi.Input<{
1099
835
  [key: string]: pulumi.Input<string>;
1100
836
  }>;
1101
837
  /**
1102
- * Controls the action to take
1103
- * on virtual machines if an APD status on an affected datastore clears in the
1104
- * middle of an APD event. Can be one of `none` or `reset`. Default: `none`.
1105
- * <sup>\*</sup>
838
+ * When haVmComponentProtection is enabled, controls the action to take on virtual machines if an APD status on an affected
839
+ * datastore clears in the middle of an APD event. Can be one of none or reset.
1106
840
  */
1107
841
  haDatastoreApdRecoveryAction?: pulumi.Input<string>;
1108
842
  /**
1109
- * Controls the action to take on
1110
- * virtual machines when the cluster has detected loss to all paths to a
1111
- * relevant datastore. Can be one of `disabled`, `warning`,
1112
- * `restartConservative`, or `restartAggressive`. Default: `disabled`.
1113
- * <sup>\*</sup>
843
+ * When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected
844
+ * loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
1114
845
  */
1115
846
  haDatastoreApdResponse?: pulumi.Input<string>;
1116
847
  /**
1117
- * The time, in seconds,
1118
- * to wait after an APD timeout event to run the response action defined in
1119
- * `haDatastoreApdResponse`. Default: `180`
1120
- * seconds (3 minutes). <sup>\*</sup>
848
+ * When haVmComponentProtection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the
849
+ * response action defined in ha_datastore_apd_response.
1121
850
  */
1122
851
  haDatastoreApdResponseDelay?: pulumi.Input<number>;
1123
852
  /**
1124
- * Controls the action to take on
1125
- * virtual machines when the cluster has detected a permanent device loss to a
1126
- * relevant datastore. Can be one of `disabled`, `warning`, or
1127
- * `restartAggressive`. Default: `disabled`.
1128
- * <sup>\*</sup>
853
+ * When haVmComponentProtection is enabled, controls the action to take on virtual machines when the cluster has detected a
854
+ * permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
1129
855
  */
1130
856
  haDatastorePdlResponse?: pulumi.Input<string>;
1131
857
  /**
1132
- * Enable vSphere HA for this cluster. Default:
1133
- * `false`.
858
+ * Enable vSphere HA for this cluster.
1134
859
  */
1135
860
  haEnabled?: pulumi.Input<boolean>;
1136
861
  /**
1137
- * The list of managed object IDs for
1138
- * preferred datastores to use for HA heartbeating. This setting is only useful
1139
- * when `haHeartbeatDatastorePolicy` is set
1140
- * to either `userSelectedDs` or `allFeasibleDsWithUserPreference`.
862
+ * The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
863
+ * haHeartbeatDatastorePolicy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
1141
864
  */
1142
865
  haHeartbeatDatastoreIds?: pulumi.Input<pulumi.Input<string>[]>;
1143
866
  /**
1144
- * The selection policy for HA
1145
- * heartbeat datastores. Can be one of `allFeasibleDs`, `userSelectedDs`, or
1146
- * `allFeasibleDsWithUserPreference`. Default:
1147
- * `allFeasibleDsWithUserPreference`.
867
+ * The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
868
+ * allFeasibleDsWithUserPreference.
1148
869
  */
1149
870
  haHeartbeatDatastorePolicy?: pulumi.Input<string>;
1150
871
  /**
1151
- * The action to take on virtual
1152
- * machines when a host has detected that it has been isolated from the rest of
1153
- * the cluster. Can be one of `none`, `powerOff`, or `shutdown`. Default:
1154
- * `none`.
872
+ * The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
873
+ * Can be one of none, powerOff, or shutdown.
1155
874
  */
1156
875
  haHostIsolationResponse?: pulumi.Input<string>;
1157
876
  /**
1158
- * Global setting that controls whether
1159
- * vSphere HA remediates virtual machines on host failure. Can be one of `enabled`
1160
- * or `disabled`. Default: `enabled`.
877
+ * Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
1161
878
  */
1162
879
  haHostMonitoring?: pulumi.Input<string>;
1163
880
  /**
1164
- * Controls vSphere VM component
1165
- * protection for virtual machines in this cluster. Can be one of `enabled` or
1166
- * `disabled`. Default: `enabled`.
1167
- * <sup>\*</sup>
881
+ * Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
882
+ * failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
1168
883
  */
1169
884
  haVmComponentProtection?: pulumi.Input<string>;
1170
885
  /**
1171
- * The condition used to
1172
- * determine whether or not virtual machines in a certain restart priority class
1173
- * are online, allowing HA to move on to restarting virtual machines on the next
1174
- * priority. Can be one of `none`, `poweredOn`, `guestHbStatusGreen`, or
1175
- * `appHbStatusGreen`. The default is `none`, which means that a virtual machine
1176
- * is considered ready immediately after a host is found to start it on.
1177
- * <sup>\*</sup>
886
+ * The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move
887
+ * on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
1178
888
  */
1179
889
  haVmDependencyRestartCondition?: pulumi.Input<string>;
1180
890
  /**
1181
- * The time interval, in seconds, a heartbeat
1182
- * from a virtual machine is not received within this configured interval,
1183
- * the virtual machine is marked as failed. Default: `30` seconds.
891
+ * If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
892
+ * failed. The value is in seconds.
1184
893
  */
1185
894
  haVmFailureInterval?: pulumi.Input<number>;
1186
895
  /**
1187
- * The time, in seconds, for the reset window in
1188
- * which `haVmMaximumResets` can operate. When this
1189
- * window expires, no more resets are attempted regardless of the setting
1190
- * configured in `haVmMaximumResets`. `-1` means no window, meaning an
1191
- * unlimited reset time is allotted. Default: `-1` (no window).
896
+ * The length of the reset window in which haVmMaximumResets can operate. When this window expires, no more resets are
897
+ * attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
898
+ * time is allotted.
1192
899
  */
1193
900
  haVmMaximumFailureWindow?: pulumi.Input<number>;
1194
901
  /**
1195
- * The maximum number of resets that HA will
1196
- * perform to a virtual machine when responding to a failure event. Default: `3`
902
+ * The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
1197
903
  */
1198
904
  haVmMaximumResets?: pulumi.Input<number>;
1199
905
  /**
1200
- * The time, in seconds, that HA waits after
1201
- * powering on a virtual machine before monitoring for heartbeats. Default:
1202
- * `120` seconds (2 minutes).
906
+ * The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
1203
907
  */
1204
908
  haVmMinimumUptime?: pulumi.Input<number>;
1205
909
  /**
1206
- * The type of virtual machine monitoring to use
1207
- * when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
1208
- * `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
910
+ * The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
911
+ * vmMonitoringOnly, or vmAndAppMonitoring.
1209
912
  */
1210
913
  haVmMonitoring?: pulumi.Input<string>;
1211
914
  /**
1212
- * Additional delay, in seconds,
1213
- * after ready condition is met. A VM is considered ready at this point.
1214
- * Default: `0` seconds (no delay). <sup>\*</sup>
915
+ * Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
1215
916
  */
1216
917
  haVmRestartAdditionalDelay?: pulumi.Input<number>;
1217
918
  /**
1218
- * The default restart priority
1219
- * for affected virtual machines when vSphere detects a host failure. Can be one
1220
- * of `lowest`, `low`, `medium`, `high`, or `highest`. Default: `medium`.
919
+ * The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
920
+ * high, or highest.
1221
921
  */
1222
922
  haVmRestartPriority?: pulumi.Input<string>;
1223
923
  /**
1224
- * The maximum time, in seconds,
1225
- * that vSphere HA will wait for virtual machines in one priority to be ready
1226
- * before proceeding with the next priority. Default: `600` seconds (10 minutes).
1227
- * <sup>\*</sup>
924
+ * The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
925
+ * proceeding with the next priority.
1228
926
  */
1229
927
  haVmRestartTimeout?: pulumi.Input<number>;
1230
928
  /**
1231
- * The timeout, in seconds, for each host maintenance
1232
- * mode operation when removing hosts from a cluster. Default: `3600` seconds (1 hour).
929
+ * The timeout for each host maintenance mode operation when removing hosts from a cluster.
1233
930
  */
1234
931
  hostClusterExitTimeout?: pulumi.Input<number>;
1235
932
  /**
1236
- * Can be set to `true` if compute cluster
1237
- * membership will be managed through the `host` resource rather than the
1238
- * `computeCluster` resource. Conflicts with: `hostSystemIds`.
933
+ * Must be set if cluster enrollment is managed from host resource.
1239
934
  */
1240
935
  hostManaged?: pulumi.Input<boolean>;
1241
936
  /**
1242
- * The managed object IDs of
1243
- * the hosts to put in the cluster. Conflicts with: `hostManaged`.
937
+ * The managed object IDs of the hosts to put in the cluster.
1244
938
  */
1245
939
  hostSystemIds?: pulumi.Input<pulumi.Input<string>[]>;
1246
940
  /**
@@ -1248,39 +942,25 @@ export interface ComputeClusterArgs {
1248
942
  */
1249
943
  name?: pulumi.Input<string>;
1250
944
  /**
1251
- * Determines how the host
1252
- * quarantine, maintenance mode, or virtual machine migration recommendations
1253
- * made by proactive HA are to be handled. Can be one of `Automated` or
1254
- * `Manual`. Default: `Manual`. <sup>\*</sup>
945
+ * The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
1255
946
  */
1256
947
  proactiveHaAutomationLevel?: pulumi.Input<string>;
1257
948
  /**
1258
- * Enables Proactive HA. Default: `false`.
1259
- * <sup>\*</sup>
949
+ * Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
1260
950
  */
1261
951
  proactiveHaEnabled?: pulumi.Input<boolean>;
1262
952
  /**
1263
- * The configured remediation
1264
- * for moderately degraded hosts. Can be one of `MaintenanceMode` or
1265
- * `QuarantineMode`. Note that this cannot be set to `MaintenanceMode` when
1266
- * `proactiveHaSevereRemediation` is set
1267
- * to `QuarantineMode`. Default: `QuarantineMode`.
1268
- * <sup>\*</sup>
953
+ * The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
954
+ * this cannot be set to MaintenanceMode when proactiveHaSevereRemediation is set to QuarantineMode.
1269
955
  */
1270
956
  proactiveHaModerateRemediation?: pulumi.Input<string>;
1271
957
  /**
1272
- * The list of IDs for health update
1273
- * providers configured for this cluster.
1274
- * <sup>\*</sup>
958
+ * The list of IDs for health update providers configured for this cluster.
1275
959
  */
1276
960
  proactiveHaProviderIds?: pulumi.Input<pulumi.Input<string>[]>;
1277
961
  /**
1278
- * The configured remediation for
1279
- * severely degraded hosts. Can be one of `MaintenanceMode` or `QuarantineMode`.
1280
- * Note that this cannot be set to `QuarantineMode` when
1281
- * `proactiveHaModerateRemediation` is
1282
- * set to `MaintenanceMode`. Default: `QuarantineMode`.
1283
- * <sup>\*</sup>
962
+ * The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
963
+ * cannot be set to QuarantineMode when proactiveHaModerateRemediation is set to MaintenanceMode.
1284
964
  */
1285
965
  proactiveHaSevereRemediation?: pulumi.Input<string>;
1286
966
  /**
@@ -1288,75 +968,59 @@ export interface ComputeClusterArgs {
1288
968
  */
1289
969
  tags?: pulumi.Input<pulumi.Input<string>[]>;
1290
970
  /**
1291
- * Enables vSAN compression on the
1292
- * cluster.
971
+ * Whether the vSAN compression service is enabled for the cluster.
1293
972
  */
1294
973
  vsanCompressionEnabled?: pulumi.Input<boolean>;
1295
974
  /**
1296
- * Enables vSAN deduplication on the cluster.
1297
- * Cannot be independently set to `true`. When vSAN deduplication is enabled, vSAN
1298
- * compression must also be enabled.
975
+ * Whether the vSAN deduplication service is enabled for the cluster.
1299
976
  */
1300
977
  vsanDedupEnabled?: pulumi.Input<boolean>;
1301
978
  /**
1302
- * Represents the configuration of a host disk
1303
- * group in the cluster.
979
+ * A list of disk UUIDs to add to the vSAN cluster.
1304
980
  */
1305
981
  vsanDiskGroups?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanDiskGroup>[]>;
1306
982
  /**
1307
- * Enables vSAN data-in-transit
1308
- * encryption on the cluster. Conflicts with `vsanRemoteDatastoreIds`, i.e.,
1309
- * vSAN data-in-transit feature cannot be enabled with the vSAN HCI Mesh feature
1310
- * at the same time.
983
+ * Whether the vSAN data-in-transit encryption is enabled for the cluster.
1311
984
  */
1312
985
  vsanDitEncryptionEnabled?: pulumi.Input<boolean>;
1313
986
  /**
1314
- * Indicates the rekey interval in
1315
- * minutes for data-in-transit encryption. The valid rekey interval is 30 to
1316
- * 10800 (feature defaults to 1440). Conflicts with `vsanRemoteDatastoreIds`.
987
+ * When vsanDitEncryptionEnabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
1317
988
  */
1318
989
  vsanDitRekeyInterval?: pulumi.Input<number>;
1319
990
  /**
1320
- * Enables vSAN on the cluster.
991
+ * Whether the vSAN service is enabled for the cluster.
1321
992
  */
1322
993
  vsanEnabled?: pulumi.Input<boolean>;
1323
994
  /**
1324
- * Enables vSAN ESA on the cluster.
995
+ * Whether the vSAN ESA service is enabled for the cluster.
1325
996
  */
1326
997
  vsanEsaEnabled?: pulumi.Input<boolean>;
1327
998
  /**
1328
- * Configurations of vSAN fault domains.
999
+ * The configuration for vSAN fault domains.
1329
1000
  */
1330
1001
  vsanFaultDomains?: pulumi.Input<pulumi.Input<inputs.ComputeClusterVsanFaultDomain>[]>;
1331
1002
  /**
1332
- * Enables network
1333
- * diagnostic mode for vSAN performance service on the cluster.
1003
+ * Whether the vSAN network diagnostic mode is enabled for the cluster.
1334
1004
  */
1335
1005
  vsanNetworkDiagnosticModeEnabled?: pulumi.Input<boolean>;
1336
1006
  /**
1337
- * Enables vSAN performance service on
1338
- * the cluster. Default: `true`.
1007
+ * Whether the vSAN performance service is enabled for the cluster.
1339
1008
  */
1340
1009
  vsanPerformanceEnabled?: pulumi.Input<boolean>;
1341
1010
  /**
1342
- * The remote vSAN datastore IDs to be
1343
- * mounted to this cluster. Conflicts with `vsanDitEncryptionEnabled` and
1344
- * `vsanDitRekeyInterval`, i.e., vSAN HCI Mesh feature cannot be enabled with
1345
- * data-in-transit encryption feature at the same time.
1011
+ * The managed object IDs of the vSAN datastore to be mounted on the cluster.
1346
1012
  */
1347
1013
  vsanRemoteDatastoreIds?: pulumi.Input<pulumi.Input<string>[]>;
1348
1014
  /**
1349
- * Configurations of vSAN stretched cluster.
1015
+ * The configuration for stretched cluster.
1350
1016
  */
1351
1017
  vsanStretchedCluster?: pulumi.Input<inputs.ComputeClusterVsanStretchedCluster>;
1352
1018
  /**
1353
- * Enables vSAN unmap on the cluster.
1354
- * You must explicitly enable vSAN unmap when you enable vSAN ESA on the cluster.
1019
+ * Whether the vSAN unmap service is enabled for the cluster.
1355
1020
  */
1356
1021
  vsanUnmapEnabled?: pulumi.Input<boolean>;
1357
1022
  /**
1358
- * Enables verbose mode for vSAN
1359
- * performance service on the cluster.
1023
+ * Whether the vSAN verbose mode is enabled for the cluster.
1360
1024
  */
1361
1025
  vsanVerboseModeEnabled?: pulumi.Input<boolean>;
1362
1026
  }