pulumi-vsphere 4.11.0a1713340048__py3-none-any.whl → 4.11.0a1713905355__py3-none-any.whl

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.

Potentially problematic release.


This version of pulumi-vsphere might be problematic. Click here for more details.

Files changed (51) hide show
  1. pulumi_vsphere/_inputs.py +96 -230
  2. pulumi_vsphere/compute_cluster.py +700 -1477
  3. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +14 -16
  4. pulumi_vsphere/datacenter.py +8 -12
  5. pulumi_vsphere/datastore_cluster.py +154 -350
  6. pulumi_vsphere/distributed_port_group.py +70 -175
  7. pulumi_vsphere/distributed_virtual_switch.py +308 -798
  8. pulumi_vsphere/file.py +16 -24
  9. pulumi_vsphere/get_compute_cluster.py +0 -4
  10. pulumi_vsphere/get_compute_cluster_host_group.py +8 -10
  11. pulumi_vsphere/get_content_library.py +0 -4
  12. pulumi_vsphere/get_custom_attribute.py +0 -4
  13. pulumi_vsphere/get_datacenter.py +0 -4
  14. pulumi_vsphere/get_datastore.py +0 -4
  15. pulumi_vsphere/get_datastore_cluster.py +0 -4
  16. pulumi_vsphere/get_datastore_stats.py +4 -12
  17. pulumi_vsphere/get_distributed_virtual_switch.py +2 -4
  18. pulumi_vsphere/get_dynamic.py +4 -8
  19. pulumi_vsphere/get_folder.py +0 -4
  20. pulumi_vsphere/get_guest_os_customization.py +0 -4
  21. pulumi_vsphere/get_host.py +0 -4
  22. pulumi_vsphere/get_host_pci_device.py +4 -12
  23. pulumi_vsphere/get_host_thumbprint.py +0 -4
  24. pulumi_vsphere/get_host_vgpu_profile.py +0 -8
  25. pulumi_vsphere/get_license.py +0 -4
  26. pulumi_vsphere/get_network.py +0 -4
  27. pulumi_vsphere/get_policy.py +0 -4
  28. pulumi_vsphere/get_resource_pool.py +2 -10
  29. pulumi_vsphere/get_role.py +0 -4
  30. pulumi_vsphere/get_tag.py +0 -4
  31. pulumi_vsphere/get_tag_category.py +0 -4
  32. pulumi_vsphere/get_vapp_container.py +0 -4
  33. pulumi_vsphere/get_virtual_machine.py +0 -8
  34. pulumi_vsphere/get_vmfs_disks.py +0 -4
  35. pulumi_vsphere/guest_os_customization.py +50 -0
  36. pulumi_vsphere/ha_vm_override.py +189 -378
  37. pulumi_vsphere/host.py +0 -8
  38. pulumi_vsphere/host_port_group.py +12 -12
  39. pulumi_vsphere/host_virtual_switch.py +140 -287
  40. pulumi_vsphere/license.py +0 -32
  41. pulumi_vsphere/outputs.py +96 -230
  42. pulumi_vsphere/resource_pool.py +20 -22
  43. pulumi_vsphere/virtual_machine.py +599 -739
  44. pulumi_vsphere/virtual_machine_snapshot.py +6 -10
  45. pulumi_vsphere/vm_storage_policy.py +72 -84
  46. pulumi_vsphere/vnic.py +8 -8
  47. {pulumi_vsphere-4.11.0a1713340048.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/METADATA +1 -1
  48. pulumi_vsphere-4.11.0a1713905355.dist-info/RECORD +82 -0
  49. pulumi_vsphere-4.11.0a1713340048.dist-info/RECORD +0 -82
  50. {pulumi_vsphere-4.11.0a1713340048.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/WHEEL +0 -0
  51. {pulumi_vsphere-4.11.0a1713340048.dist-info → pulumi_vsphere-4.11.0a1713905355.dist-info}/top_level.txt +0 -0
@@ -31,60 +31,33 @@ class HaVmOverrideArgs:
31
31
  ha_vm_restart_timeout: Optional[pulumi.Input[int]] = None):
32
32
  """
33
33
  The set of arguments for constructing a HaVmOverride resource.
34
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
35
- ID of the cluster to put the override in. Forces a new
36
- resource if changed.
37
- :param pulumi.Input[str] virtual_machine_id: The UUID of the virtual machine to create
38
- the override for. Forces a new resource if changed.
39
- :param pulumi.Input[str] ha_datastore_apd_recovery_action: Controls the action to take
40
- on this virtual machine if an APD status on an affected datastore clears in
41
- the middle of an APD event. Can be one of `useClusterDefault`, `none` or
42
- `reset`. Default: `useClusterDefault`.
43
- :param pulumi.Input[str] ha_datastore_apd_response: Controls the action to take on this
44
- virtual machine when the cluster has detected loss to all paths to a relevant
45
- datastore. Can be one of `clusterDefault`, `disabled`, `warning`,
46
- `restartConservative`, or `restartAggressive`. Default: `clusterDefault`.
47
- :param pulumi.Input[int] ha_datastore_apd_response_delay: Controls the delay in seconds
48
- to wait after an APD timeout event to execute the response action defined in
49
- `ha_datastore_apd_response`. Use `-1` to use
50
- the cluster default. Default: `-1`.
51
- :param pulumi.Input[str] ha_datastore_pdl_response: Controls the action to take on this
52
- virtual machine when the cluster has detected a permanent device loss to a
53
- relevant datastore. Can be one of `clusterDefault`, `disabled`, `warning`, or
54
- `restartAggressive`. Default: `clusterDefault`.
55
- :param pulumi.Input[str] ha_host_isolation_response: The action to take on this virtual
56
- machine when a host has detected that it has been isolated from the rest of
57
- the cluster. Can be one of `clusterIsolationResponse`, `none`, `powerOff`, or
58
- `shutdown`. Default: `clusterIsolationResponse`.
59
- :param pulumi.Input[int] ha_vm_failure_interval: If a heartbeat from this virtual
60
- machine is not received within this configured interval, the virtual machine
61
- is marked as failed. The value is in seconds. Default: `30`.
62
- :param pulumi.Input[int] ha_vm_maximum_failure_window: The length of the reset window in
63
- which `ha_vm_maximum_resets` can operate. When this
64
- window expires, no more resets are attempted regardless of the setting
65
- configured in `ha_vm_maximum_resets`. `-1` means no window, meaning an
66
- unlimited reset time is allotted. The value is specified in seconds. Default:
67
- `-1` (no window).
68
- :param pulumi.Input[int] ha_vm_maximum_resets: The maximum number of resets that HA will
69
- perform to this virtual machine when responding to a failure event. Default:
70
- `3`
71
- :param pulumi.Input[int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after
72
- powering on this virtual machine before monitoring for heartbeats. Default:
73
- `120` (2 minutes).
74
- :param pulumi.Input[str] ha_vm_monitoring: The type of virtual machine monitoring to use
75
- when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
76
- `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
77
- :param pulumi.Input[bool] ha_vm_monitoring_use_cluster_defaults: Determines whether or
78
- not the cluster's default settings or the VM override settings specified in
79
- this resource are used for virtual machine monitoring. The default is `true`
80
- (use cluster defaults) - set to `false` to have overrides take effect.
81
- :param pulumi.Input[str] ha_vm_restart_priority: The restart priority for the virtual
82
- machine when vSphere detects a host failure. Can be one of
83
- `clusterRestartPriority`, `lowest`, `low`, `medium`, `high`, `highest`, or `disabled`.
84
- Default: `clusterRestartPriority`.
85
- :param pulumi.Input[int] ha_vm_restart_timeout: The maximum time, in seconds, that
86
- vSphere HA will wait for this virtual machine to be ready. Use `-1` to
87
- specify the cluster default. Default: `-1`.
34
+ :param pulumi.Input[str] compute_cluster_id: The managed object ID of the cluster.
35
+ :param pulumi.Input[str] virtual_machine_id: The managed object ID of the virtual machine.
36
+ :param pulumi.Input[str] ha_datastore_apd_recovery_action: Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
37
+ APD event. Can be one of useClusterDefault, none or reset.
38
+ :param pulumi.Input[str] ha_datastore_apd_response: Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
39
+ datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
40
+ :param pulumi.Input[int] ha_datastore_apd_response_delay: Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
41
+ ha_datastore_apd_response. Specify -1 to use the cluster setting.
42
+ :param pulumi.Input[str] ha_datastore_pdl_response: Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
43
+ datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
44
+ :param pulumi.Input[str] ha_host_isolation_response: The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
45
+ clusterIsolationResponse, none, powerOff, or shutdown.
46
+ :param pulumi.Input[int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
47
+ as failed. The value is in seconds.
48
+ :param pulumi.Input[int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
49
+ attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
50
+ time is allotted.
51
+ :param pulumi.Input[int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
52
+ :param pulumi.Input[int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
53
+ :param pulumi.Input[str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
54
+ vmMonitoringOnly, or vmAndAppMonitoring.
55
+ :param pulumi.Input[bool] ha_vm_monitoring_use_cluster_defaults: Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
56
+ for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
57
+ :param pulumi.Input[str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
58
+ lowest, low, medium, high, or highest.
59
+ :param pulumi.Input[int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
60
+ default.
88
61
  """
89
62
  pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
90
63
  pulumi.set(__self__, "virtual_machine_id", virtual_machine_id)
@@ -119,9 +92,7 @@ class HaVmOverrideArgs:
119
92
  @pulumi.getter(name="computeClusterId")
120
93
  def compute_cluster_id(self) -> pulumi.Input[str]:
121
94
  """
122
- The managed object reference
123
- ID of the cluster to put the override in. Forces a new
124
- resource if changed.
95
+ The managed object ID of the cluster.
125
96
  """
126
97
  return pulumi.get(self, "compute_cluster_id")
127
98
 
@@ -133,8 +104,7 @@ class HaVmOverrideArgs:
133
104
  @pulumi.getter(name="virtualMachineId")
134
105
  def virtual_machine_id(self) -> pulumi.Input[str]:
135
106
  """
136
- The UUID of the virtual machine to create
137
- the override for. Forces a new resource if changed.
107
+ The managed object ID of the virtual machine.
138
108
  """
139
109
  return pulumi.get(self, "virtual_machine_id")
140
110
 
@@ -146,10 +116,8 @@ class HaVmOverrideArgs:
146
116
  @pulumi.getter(name="haDatastoreApdRecoveryAction")
147
117
  def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[str]]:
148
118
  """
149
- Controls the action to take
150
- on this virtual machine if an APD status on an affected datastore clears in
151
- the middle of an APD event. Can be one of `useClusterDefault`, `none` or
152
- `reset`. Default: `useClusterDefault`.
119
+ Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
120
+ APD event. Can be one of useClusterDefault, none or reset.
153
121
  """
154
122
  return pulumi.get(self, "ha_datastore_apd_recovery_action")
155
123
 
@@ -161,10 +129,8 @@ class HaVmOverrideArgs:
161
129
  @pulumi.getter(name="haDatastoreApdResponse")
162
130
  def ha_datastore_apd_response(self) -> Optional[pulumi.Input[str]]:
163
131
  """
164
- Controls the action to take on this
165
- virtual machine when the cluster has detected loss to all paths to a relevant
166
- datastore. Can be one of `clusterDefault`, `disabled`, `warning`,
167
- `restartConservative`, or `restartAggressive`. Default: `clusterDefault`.
132
+ Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
133
+ datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
168
134
  """
169
135
  return pulumi.get(self, "ha_datastore_apd_response")
170
136
 
@@ -176,10 +142,8 @@ class HaVmOverrideArgs:
176
142
  @pulumi.getter(name="haDatastoreApdResponseDelay")
177
143
  def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[int]]:
178
144
  """
179
- Controls the delay in seconds
180
- to wait after an APD timeout event to execute the response action defined in
181
- `ha_datastore_apd_response`. Use `-1` to use
182
- the cluster default. Default: `-1`.
145
+ Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
146
+ ha_datastore_apd_response. Specify -1 to use the cluster setting.
183
147
  """
184
148
  return pulumi.get(self, "ha_datastore_apd_response_delay")
185
149
 
@@ -191,10 +155,8 @@ class HaVmOverrideArgs:
191
155
  @pulumi.getter(name="haDatastorePdlResponse")
192
156
  def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[str]]:
193
157
  """
194
- Controls the action to take on this
195
- virtual machine when the cluster has detected a permanent device loss to a
196
- relevant datastore. Can be one of `clusterDefault`, `disabled`, `warning`, or
197
- `restartAggressive`. Default: `clusterDefault`.
158
+ Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
159
+ datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
198
160
  """
199
161
  return pulumi.get(self, "ha_datastore_pdl_response")
200
162
 
@@ -206,10 +168,8 @@ class HaVmOverrideArgs:
206
168
  @pulumi.getter(name="haHostIsolationResponse")
207
169
  def ha_host_isolation_response(self) -> Optional[pulumi.Input[str]]:
208
170
  """
209
- The action to take on this virtual
210
- machine when a host has detected that it has been isolated from the rest of
211
- the cluster. Can be one of `clusterIsolationResponse`, `none`, `powerOff`, or
212
- `shutdown`. Default: `clusterIsolationResponse`.
171
+ The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
172
+ clusterIsolationResponse, none, powerOff, or shutdown.
213
173
  """
214
174
  return pulumi.get(self, "ha_host_isolation_response")
215
175
 
@@ -221,9 +181,8 @@ class HaVmOverrideArgs:
221
181
  @pulumi.getter(name="haVmFailureInterval")
222
182
  def ha_vm_failure_interval(self) -> Optional[pulumi.Input[int]]:
223
183
  """
224
- If a heartbeat from this virtual
225
- machine is not received within this configured interval, the virtual machine
226
- is marked as failed. The value is in seconds. Default: `30`.
184
+ If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
185
+ as failed. The value is in seconds.
227
186
  """
228
187
  return pulumi.get(self, "ha_vm_failure_interval")
229
188
 
@@ -235,12 +194,9 @@ class HaVmOverrideArgs:
235
194
  @pulumi.getter(name="haVmMaximumFailureWindow")
236
195
  def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[int]]:
237
196
  """
238
- The length of the reset window in
239
- which `ha_vm_maximum_resets` can operate. When this
240
- window expires, no more resets are attempted regardless of the setting
241
- configured in `ha_vm_maximum_resets`. `-1` means no window, meaning an
242
- unlimited reset time is allotted. The value is specified in seconds. Default:
243
- `-1` (no window).
197
+ The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
198
+ attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
199
+ time is allotted.
244
200
  """
245
201
  return pulumi.get(self, "ha_vm_maximum_failure_window")
246
202
 
@@ -252,9 +208,7 @@ class HaVmOverrideArgs:
252
208
  @pulumi.getter(name="haVmMaximumResets")
253
209
  def ha_vm_maximum_resets(self) -> Optional[pulumi.Input[int]]:
254
210
  """
255
- The maximum number of resets that HA will
256
- perform to this virtual machine when responding to a failure event. Default:
257
- `3`
211
+ The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
258
212
  """
259
213
  return pulumi.get(self, "ha_vm_maximum_resets")
260
214
 
@@ -266,9 +220,7 @@ class HaVmOverrideArgs:
266
220
  @pulumi.getter(name="haVmMinimumUptime")
267
221
  def ha_vm_minimum_uptime(self) -> Optional[pulumi.Input[int]]:
268
222
  """
269
- The time, in seconds, that HA waits after
270
- powering on this virtual machine before monitoring for heartbeats. Default:
271
- `120` (2 minutes).
223
+ The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
272
224
  """
273
225
  return pulumi.get(self, "ha_vm_minimum_uptime")
274
226
 
@@ -280,9 +232,8 @@ class HaVmOverrideArgs:
280
232
  @pulumi.getter(name="haVmMonitoring")
281
233
  def ha_vm_monitoring(self) -> Optional[pulumi.Input[str]]:
282
234
  """
283
- The type of virtual machine monitoring to use
284
- when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
285
- `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
235
+ The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
236
+ vmMonitoringOnly, or vmAndAppMonitoring.
286
237
  """
287
238
  return pulumi.get(self, "ha_vm_monitoring")
288
239
 
@@ -294,10 +245,8 @@ class HaVmOverrideArgs:
294
245
  @pulumi.getter(name="haVmMonitoringUseClusterDefaults")
295
246
  def ha_vm_monitoring_use_cluster_defaults(self) -> Optional[pulumi.Input[bool]]:
296
247
  """
297
- Determines whether or
298
- not the cluster's default settings or the VM override settings specified in
299
- this resource are used for virtual machine monitoring. The default is `true`
300
- (use cluster defaults) - set to `false` to have overrides take effect.
248
+ Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
249
+ for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
301
250
  """
302
251
  return pulumi.get(self, "ha_vm_monitoring_use_cluster_defaults")
303
252
 
@@ -309,10 +258,8 @@ class HaVmOverrideArgs:
309
258
  @pulumi.getter(name="haVmRestartPriority")
310
259
  def ha_vm_restart_priority(self) -> Optional[pulumi.Input[str]]:
311
260
  """
312
- The restart priority for the virtual
313
- machine when vSphere detects a host failure. Can be one of
314
- `clusterRestartPriority`, `lowest`, `low`, `medium`, `high`, `highest`, or `disabled`.
315
- Default: `clusterRestartPriority`.
261
+ The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
262
+ lowest, low, medium, high, or highest.
316
263
  """
317
264
  return pulumi.get(self, "ha_vm_restart_priority")
318
265
 
@@ -324,9 +271,8 @@ class HaVmOverrideArgs:
324
271
  @pulumi.getter(name="haVmRestartTimeout")
325
272
  def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[int]]:
326
273
  """
327
- The maximum time, in seconds, that
328
- vSphere HA will wait for this virtual machine to be ready. Use `-1` to
329
- specify the cluster default. Default: `-1`.
274
+ The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
275
+ default.
330
276
  """
331
277
  return pulumi.get(self, "ha_vm_restart_timeout")
332
278
 
@@ -355,60 +301,33 @@ class _HaVmOverrideState:
355
301
  virtual_machine_id: Optional[pulumi.Input[str]] = None):
356
302
  """
357
303
  Input properties used for looking up and filtering HaVmOverride resources.
358
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
359
- ID of the cluster to put the override in. Forces a new
360
- resource if changed.
361
- :param pulumi.Input[str] ha_datastore_apd_recovery_action: Controls the action to take
362
- on this virtual machine if an APD status on an affected datastore clears in
363
- the middle of an APD event. Can be one of `useClusterDefault`, `none` or
364
- `reset`. Default: `useClusterDefault`.
365
- :param pulumi.Input[str] ha_datastore_apd_response: Controls the action to take on this
366
- virtual machine when the cluster has detected loss to all paths to a relevant
367
- datastore. Can be one of `clusterDefault`, `disabled`, `warning`,
368
- `restartConservative`, or `restartAggressive`. Default: `clusterDefault`.
369
- :param pulumi.Input[int] ha_datastore_apd_response_delay: Controls the delay in seconds
370
- to wait after an APD timeout event to execute the response action defined in
371
- `ha_datastore_apd_response`. Use `-1` to use
372
- the cluster default. Default: `-1`.
373
- :param pulumi.Input[str] ha_datastore_pdl_response: Controls the action to take on this
374
- virtual machine when the cluster has detected a permanent device loss to a
375
- relevant datastore. Can be one of `clusterDefault`, `disabled`, `warning`, or
376
- `restartAggressive`. Default: `clusterDefault`.
377
- :param pulumi.Input[str] ha_host_isolation_response: The action to take on this virtual
378
- machine when a host has detected that it has been isolated from the rest of
379
- the cluster. Can be one of `clusterIsolationResponse`, `none`, `powerOff`, or
380
- `shutdown`. Default: `clusterIsolationResponse`.
381
- :param pulumi.Input[int] ha_vm_failure_interval: If a heartbeat from this virtual
382
- machine is not received within this configured interval, the virtual machine
383
- is marked as failed. The value is in seconds. Default: `30`.
384
- :param pulumi.Input[int] ha_vm_maximum_failure_window: The length of the reset window in
385
- which `ha_vm_maximum_resets` can operate. When this
386
- window expires, no more resets are attempted regardless of the setting
387
- configured in `ha_vm_maximum_resets`. `-1` means no window, meaning an
388
- unlimited reset time is allotted. The value is specified in seconds. Default:
389
- `-1` (no window).
390
- :param pulumi.Input[int] ha_vm_maximum_resets: The maximum number of resets that HA will
391
- perform to this virtual machine when responding to a failure event. Default:
392
- `3`
393
- :param pulumi.Input[int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after
394
- powering on this virtual machine before monitoring for heartbeats. Default:
395
- `120` (2 minutes).
396
- :param pulumi.Input[str] ha_vm_monitoring: The type of virtual machine monitoring to use
397
- when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
398
- `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
399
- :param pulumi.Input[bool] ha_vm_monitoring_use_cluster_defaults: Determines whether or
400
- not the cluster's default settings or the VM override settings specified in
401
- this resource are used for virtual machine monitoring. The default is `true`
402
- (use cluster defaults) - set to `false` to have overrides take effect.
403
- :param pulumi.Input[str] ha_vm_restart_priority: The restart priority for the virtual
404
- machine when vSphere detects a host failure. Can be one of
405
- `clusterRestartPriority`, `lowest`, `low`, `medium`, `high`, `highest`, or `disabled`.
406
- Default: `clusterRestartPriority`.
407
- :param pulumi.Input[int] ha_vm_restart_timeout: The maximum time, in seconds, that
408
- vSphere HA will wait for this virtual machine to be ready. Use `-1` to
409
- specify the cluster default. Default: `-1`.
410
- :param pulumi.Input[str] virtual_machine_id: The UUID of the virtual machine to create
411
- the override for. Forces a new resource if changed.
304
+ :param pulumi.Input[str] compute_cluster_id: The managed object ID of the cluster.
305
+ :param pulumi.Input[str] ha_datastore_apd_recovery_action: Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
306
+ APD event. Can be one of useClusterDefault, none or reset.
307
+ :param pulumi.Input[str] ha_datastore_apd_response: Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
308
+ datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
309
+ :param pulumi.Input[int] ha_datastore_apd_response_delay: Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
310
+ ha_datastore_apd_response. Specify -1 to use the cluster setting.
311
+ :param pulumi.Input[str] ha_datastore_pdl_response: Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
312
+ datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
313
+ :param pulumi.Input[str] ha_host_isolation_response: The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
314
+ clusterIsolationResponse, none, powerOff, or shutdown.
315
+ :param pulumi.Input[int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
316
+ as failed. The value is in seconds.
317
+ :param pulumi.Input[int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
318
+ attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
319
+ time is allotted.
320
+ :param pulumi.Input[int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
321
+ :param pulumi.Input[int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
322
+ :param pulumi.Input[str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
323
+ vmMonitoringOnly, or vmAndAppMonitoring.
324
+ :param pulumi.Input[bool] ha_vm_monitoring_use_cluster_defaults: Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
325
+ for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
326
+ :param pulumi.Input[str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
327
+ lowest, low, medium, high, or highest.
328
+ :param pulumi.Input[int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
329
+ default.
330
+ :param pulumi.Input[str] virtual_machine_id: The managed object ID of the virtual machine.
412
331
  """
413
332
  if compute_cluster_id is not None:
414
333
  pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
@@ -445,9 +364,7 @@ class _HaVmOverrideState:
445
364
  @pulumi.getter(name="computeClusterId")
446
365
  def compute_cluster_id(self) -> Optional[pulumi.Input[str]]:
447
366
  """
448
- The managed object reference
449
- ID of the cluster to put the override in. Forces a new
450
- resource if changed.
367
+ The managed object ID of the cluster.
451
368
  """
452
369
  return pulumi.get(self, "compute_cluster_id")
453
370
 
@@ -459,10 +376,8 @@ class _HaVmOverrideState:
459
376
  @pulumi.getter(name="haDatastoreApdRecoveryAction")
460
377
  def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[str]]:
461
378
  """
462
- Controls the action to take
463
- on this virtual machine if an APD status on an affected datastore clears in
464
- the middle of an APD event. Can be one of `useClusterDefault`, `none` or
465
- `reset`. Default: `useClusterDefault`.
379
+ Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
380
+ APD event. Can be one of useClusterDefault, none or reset.
466
381
  """
467
382
  return pulumi.get(self, "ha_datastore_apd_recovery_action")
468
383
 
@@ -474,10 +389,8 @@ class _HaVmOverrideState:
474
389
  @pulumi.getter(name="haDatastoreApdResponse")
475
390
  def ha_datastore_apd_response(self) -> Optional[pulumi.Input[str]]:
476
391
  """
477
- Controls the action to take on this
478
- virtual machine when the cluster has detected loss to all paths to a relevant
479
- datastore. Can be one of `clusterDefault`, `disabled`, `warning`,
480
- `restartConservative`, or `restartAggressive`. Default: `clusterDefault`.
392
+ Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
393
+ datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
481
394
  """
482
395
  return pulumi.get(self, "ha_datastore_apd_response")
483
396
 
@@ -489,10 +402,8 @@ class _HaVmOverrideState:
489
402
  @pulumi.getter(name="haDatastoreApdResponseDelay")
490
403
  def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[int]]:
491
404
  """
492
- Controls the delay in seconds
493
- to wait after an APD timeout event to execute the response action defined in
494
- `ha_datastore_apd_response`. Use `-1` to use
495
- the cluster default. Default: `-1`.
405
+ Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
406
+ ha_datastore_apd_response. Specify -1 to use the cluster setting.
496
407
  """
497
408
  return pulumi.get(self, "ha_datastore_apd_response_delay")
498
409
 
@@ -504,10 +415,8 @@ class _HaVmOverrideState:
504
415
  @pulumi.getter(name="haDatastorePdlResponse")
505
416
  def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[str]]:
506
417
  """
507
- Controls the action to take on this
508
- virtual machine when the cluster has detected a permanent device loss to a
509
- relevant datastore. Can be one of `clusterDefault`, `disabled`, `warning`, or
510
- `restartAggressive`. Default: `clusterDefault`.
418
+ Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
419
+ datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
511
420
  """
512
421
  return pulumi.get(self, "ha_datastore_pdl_response")
513
422
 
@@ -519,10 +428,8 @@ class _HaVmOverrideState:
519
428
  @pulumi.getter(name="haHostIsolationResponse")
520
429
  def ha_host_isolation_response(self) -> Optional[pulumi.Input[str]]:
521
430
  """
522
- The action to take on this virtual
523
- machine when a host has detected that it has been isolated from the rest of
524
- the cluster. Can be one of `clusterIsolationResponse`, `none`, `powerOff`, or
525
- `shutdown`. Default: `clusterIsolationResponse`.
431
+ The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
432
+ clusterIsolationResponse, none, powerOff, or shutdown.
526
433
  """
527
434
  return pulumi.get(self, "ha_host_isolation_response")
528
435
 
@@ -534,9 +441,8 @@ class _HaVmOverrideState:
534
441
  @pulumi.getter(name="haVmFailureInterval")
535
442
  def ha_vm_failure_interval(self) -> Optional[pulumi.Input[int]]:
536
443
  """
537
- If a heartbeat from this virtual
538
- machine is not received within this configured interval, the virtual machine
539
- is marked as failed. The value is in seconds. Default: `30`.
444
+ If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
445
+ as failed. The value is in seconds.
540
446
  """
541
447
  return pulumi.get(self, "ha_vm_failure_interval")
542
448
 
@@ -548,12 +454,9 @@ class _HaVmOverrideState:
548
454
  @pulumi.getter(name="haVmMaximumFailureWindow")
549
455
  def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[int]]:
550
456
  """
551
- The length of the reset window in
552
- which `ha_vm_maximum_resets` can operate. When this
553
- window expires, no more resets are attempted regardless of the setting
554
- configured in `ha_vm_maximum_resets`. `-1` means no window, meaning an
555
- unlimited reset time is allotted. The value is specified in seconds. Default:
556
- `-1` (no window).
457
+ The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
458
+ attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
459
+ time is allotted.
557
460
  """
558
461
  return pulumi.get(self, "ha_vm_maximum_failure_window")
559
462
 
@@ -565,9 +468,7 @@ class _HaVmOverrideState:
565
468
  @pulumi.getter(name="haVmMaximumResets")
566
469
  def ha_vm_maximum_resets(self) -> Optional[pulumi.Input[int]]:
567
470
  """
568
- The maximum number of resets that HA will
569
- perform to this virtual machine when responding to a failure event. Default:
570
- `3`
471
+ The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
571
472
  """
572
473
  return pulumi.get(self, "ha_vm_maximum_resets")
573
474
 
@@ -579,9 +480,7 @@ class _HaVmOverrideState:
579
480
  @pulumi.getter(name="haVmMinimumUptime")
580
481
  def ha_vm_minimum_uptime(self) -> Optional[pulumi.Input[int]]:
581
482
  """
582
- The time, in seconds, that HA waits after
583
- powering on this virtual machine before monitoring for heartbeats. Default:
584
- `120` (2 minutes).
483
+ The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
585
484
  """
586
485
  return pulumi.get(self, "ha_vm_minimum_uptime")
587
486
 
@@ -593,9 +492,8 @@ class _HaVmOverrideState:
593
492
  @pulumi.getter(name="haVmMonitoring")
594
493
  def ha_vm_monitoring(self) -> Optional[pulumi.Input[str]]:
595
494
  """
596
- The type of virtual machine monitoring to use
597
- when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
598
- `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
495
+ The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
496
+ vmMonitoringOnly, or vmAndAppMonitoring.
599
497
  """
600
498
  return pulumi.get(self, "ha_vm_monitoring")
601
499
 
@@ -607,10 +505,8 @@ class _HaVmOverrideState:
607
505
  @pulumi.getter(name="haVmMonitoringUseClusterDefaults")
608
506
  def ha_vm_monitoring_use_cluster_defaults(self) -> Optional[pulumi.Input[bool]]:
609
507
  """
610
- Determines whether or
611
- not the cluster's default settings or the VM override settings specified in
612
- this resource are used for virtual machine monitoring. The default is `true`
613
- (use cluster defaults) - set to `false` to have overrides take effect.
508
+ Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
509
+ for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
614
510
  """
615
511
  return pulumi.get(self, "ha_vm_monitoring_use_cluster_defaults")
616
512
 
@@ -622,10 +518,8 @@ class _HaVmOverrideState:
622
518
  @pulumi.getter(name="haVmRestartPriority")
623
519
  def ha_vm_restart_priority(self) -> Optional[pulumi.Input[str]]:
624
520
  """
625
- The restart priority for the virtual
626
- machine when vSphere detects a host failure. Can be one of
627
- `clusterRestartPriority`, `lowest`, `low`, `medium`, `high`, `highest`, or `disabled`.
628
- Default: `clusterRestartPriority`.
521
+ The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
522
+ lowest, low, medium, high, or highest.
629
523
  """
630
524
  return pulumi.get(self, "ha_vm_restart_priority")
631
525
 
@@ -637,9 +531,8 @@ class _HaVmOverrideState:
637
531
  @pulumi.getter(name="haVmRestartTimeout")
638
532
  def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[int]]:
639
533
  """
640
- The maximum time, in seconds, that
641
- vSphere HA will wait for this virtual machine to be ready. Use `-1` to
642
- specify the cluster default. Default: `-1`.
534
+ The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
535
+ default.
643
536
  """
644
537
  return pulumi.get(self, "ha_vm_restart_timeout")
645
538
 
@@ -651,8 +544,7 @@ class _HaVmOverrideState:
651
544
  @pulumi.getter(name="virtualMachineId")
652
545
  def virtual_machine_id(self) -> Optional[pulumi.Input[str]]:
653
546
  """
654
- The UUID of the virtual machine to create
655
- the override for. Forces a new resource if changed.
547
+ The managed object ID of the virtual machine.
656
548
  """
657
549
  return pulumi.get(self, "virtual_machine_id")
658
550
 
@@ -686,60 +578,33 @@ class HaVmOverride(pulumi.CustomResource):
686
578
  Create a HaVmOverride resource with the given unique name, props, and options.
687
579
  :param str resource_name: The name of the resource.
688
580
  :param pulumi.ResourceOptions opts: Options for the resource.
689
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
690
- ID of the cluster to put the override in. Forces a new
691
- resource if changed.
692
- :param pulumi.Input[str] ha_datastore_apd_recovery_action: Controls the action to take
693
- on this virtual machine if an APD status on an affected datastore clears in
694
- the middle of an APD event. Can be one of `useClusterDefault`, `none` or
695
- `reset`. Default: `useClusterDefault`.
696
- :param pulumi.Input[str] ha_datastore_apd_response: Controls the action to take on this
697
- virtual machine when the cluster has detected loss to all paths to a relevant
698
- datastore. Can be one of `clusterDefault`, `disabled`, `warning`,
699
- `restartConservative`, or `restartAggressive`. Default: `clusterDefault`.
700
- :param pulumi.Input[int] ha_datastore_apd_response_delay: Controls the delay in seconds
701
- to wait after an APD timeout event to execute the response action defined in
702
- `ha_datastore_apd_response`. Use `-1` to use
703
- the cluster default. Default: `-1`.
704
- :param pulumi.Input[str] ha_datastore_pdl_response: Controls the action to take on this
705
- virtual machine when the cluster has detected a permanent device loss to a
706
- relevant datastore. Can be one of `clusterDefault`, `disabled`, `warning`, or
707
- `restartAggressive`. Default: `clusterDefault`.
708
- :param pulumi.Input[str] ha_host_isolation_response: The action to take on this virtual
709
- machine when a host has detected that it has been isolated from the rest of
710
- the cluster. Can be one of `clusterIsolationResponse`, `none`, `powerOff`, or
711
- `shutdown`. Default: `clusterIsolationResponse`.
712
- :param pulumi.Input[int] ha_vm_failure_interval: If a heartbeat from this virtual
713
- machine is not received within this configured interval, the virtual machine
714
- is marked as failed. The value is in seconds. Default: `30`.
715
- :param pulumi.Input[int] ha_vm_maximum_failure_window: The length of the reset window in
716
- which `ha_vm_maximum_resets` can operate. When this
717
- window expires, no more resets are attempted regardless of the setting
718
- configured in `ha_vm_maximum_resets`. `-1` means no window, meaning an
719
- unlimited reset time is allotted. The value is specified in seconds. Default:
720
- `-1` (no window).
721
- :param pulumi.Input[int] ha_vm_maximum_resets: The maximum number of resets that HA will
722
- perform to this virtual machine when responding to a failure event. Default:
723
- `3`
724
- :param pulumi.Input[int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after
725
- powering on this virtual machine before monitoring for heartbeats. Default:
726
- `120` (2 minutes).
727
- :param pulumi.Input[str] ha_vm_monitoring: The type of virtual machine monitoring to use
728
- when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
729
- `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
730
- :param pulumi.Input[bool] ha_vm_monitoring_use_cluster_defaults: Determines whether or
731
- not the cluster's default settings or the VM override settings specified in
732
- this resource are used for virtual machine monitoring. The default is `true`
733
- (use cluster defaults) - set to `false` to have overrides take effect.
734
- :param pulumi.Input[str] ha_vm_restart_priority: The restart priority for the virtual
735
- machine when vSphere detects a host failure. Can be one of
736
- `clusterRestartPriority`, `lowest`, `low`, `medium`, `high`, `highest`, or `disabled`.
737
- Default: `clusterRestartPriority`.
738
- :param pulumi.Input[int] ha_vm_restart_timeout: The maximum time, in seconds, that
739
- vSphere HA will wait for this virtual machine to be ready. Use `-1` to
740
- specify the cluster default. Default: `-1`.
741
- :param pulumi.Input[str] virtual_machine_id: The UUID of the virtual machine to create
742
- the override for. Forces a new resource if changed.
581
+ :param pulumi.Input[str] compute_cluster_id: The managed object ID of the cluster.
582
+ :param pulumi.Input[str] ha_datastore_apd_recovery_action: Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
583
+ APD event. Can be one of useClusterDefault, none or reset.
584
+ :param pulumi.Input[str] ha_datastore_apd_response: Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
585
+ datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
586
+ :param pulumi.Input[int] ha_datastore_apd_response_delay: Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
587
+ ha_datastore_apd_response. Specify -1 to use the cluster setting.
588
+ :param pulumi.Input[str] ha_datastore_pdl_response: Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
589
+ datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
590
+ :param pulumi.Input[str] ha_host_isolation_response: The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
591
+ clusterIsolationResponse, none, powerOff, or shutdown.
592
+ :param pulumi.Input[int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
593
+ as failed. The value is in seconds.
594
+ :param pulumi.Input[int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
595
+ attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
596
+ time is allotted.
597
+ :param pulumi.Input[int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
598
+ :param pulumi.Input[int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
599
+ :param pulumi.Input[str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
600
+ vmMonitoringOnly, or vmAndAppMonitoring.
601
+ :param pulumi.Input[bool] ha_vm_monitoring_use_cluster_defaults: Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
602
+ for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
603
+ :param pulumi.Input[str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
604
+ lowest, low, medium, high, or highest.
605
+ :param pulumi.Input[int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
606
+ default.
607
+ :param pulumi.Input[str] virtual_machine_id: The managed object ID of the virtual machine.
743
608
  """
744
609
  ...
745
610
  @overload
@@ -839,60 +704,33 @@ class HaVmOverride(pulumi.CustomResource):
839
704
  :param str resource_name: The unique name of the resulting resource.
840
705
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
841
706
  :param pulumi.ResourceOptions opts: Options for the resource.
842
- :param pulumi.Input[str] compute_cluster_id: The managed object reference
843
- ID of the cluster to put the override in. Forces a new
844
- resource if changed.
845
- :param pulumi.Input[str] ha_datastore_apd_recovery_action: Controls the action to take
846
- on this virtual machine if an APD status on an affected datastore clears in
847
- the middle of an APD event. Can be one of `useClusterDefault`, `none` or
848
- `reset`. Default: `useClusterDefault`.
849
- :param pulumi.Input[str] ha_datastore_apd_response: Controls the action to take on this
850
- virtual machine when the cluster has detected loss to all paths to a relevant
851
- datastore. Can be one of `clusterDefault`, `disabled`, `warning`,
852
- `restartConservative`, or `restartAggressive`. Default: `clusterDefault`.
853
- :param pulumi.Input[int] ha_datastore_apd_response_delay: Controls the delay in seconds
854
- to wait after an APD timeout event to execute the response action defined in
855
- `ha_datastore_apd_response`. Use `-1` to use
856
- the cluster default. Default: `-1`.
857
- :param pulumi.Input[str] ha_datastore_pdl_response: Controls the action to take on this
858
- virtual machine when the cluster has detected a permanent device loss to a
859
- relevant datastore. Can be one of `clusterDefault`, `disabled`, `warning`, or
860
- `restartAggressive`. Default: `clusterDefault`.
861
- :param pulumi.Input[str] ha_host_isolation_response: The action to take on this virtual
862
- machine when a host has detected that it has been isolated from the rest of
863
- the cluster. Can be one of `clusterIsolationResponse`, `none`, `powerOff`, or
864
- `shutdown`. Default: `clusterIsolationResponse`.
865
- :param pulumi.Input[int] ha_vm_failure_interval: If a heartbeat from this virtual
866
- machine is not received within this configured interval, the virtual machine
867
- is marked as failed. The value is in seconds. Default: `30`.
868
- :param pulumi.Input[int] ha_vm_maximum_failure_window: The length of the reset window in
869
- which `ha_vm_maximum_resets` can operate. When this
870
- window expires, no more resets are attempted regardless of the setting
871
- configured in `ha_vm_maximum_resets`. `-1` means no window, meaning an
872
- unlimited reset time is allotted. The value is specified in seconds. Default:
873
- `-1` (no window).
874
- :param pulumi.Input[int] ha_vm_maximum_resets: The maximum number of resets that HA will
875
- perform to this virtual machine when responding to a failure event. Default:
876
- `3`
877
- :param pulumi.Input[int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after
878
- powering on this virtual machine before monitoring for heartbeats. Default:
879
- `120` (2 minutes).
880
- :param pulumi.Input[str] ha_vm_monitoring: The type of virtual machine monitoring to use
881
- when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
882
- `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
883
- :param pulumi.Input[bool] ha_vm_monitoring_use_cluster_defaults: Determines whether or
884
- not the cluster's default settings or the VM override settings specified in
885
- this resource are used for virtual machine monitoring. The default is `true`
886
- (use cluster defaults) - set to `false` to have overrides take effect.
887
- :param pulumi.Input[str] ha_vm_restart_priority: The restart priority for the virtual
888
- machine when vSphere detects a host failure. Can be one of
889
- `clusterRestartPriority`, `lowest`, `low`, `medium`, `high`, `highest`, or `disabled`.
890
- Default: `clusterRestartPriority`.
891
- :param pulumi.Input[int] ha_vm_restart_timeout: The maximum time, in seconds, that
892
- vSphere HA will wait for this virtual machine to be ready. Use `-1` to
893
- specify the cluster default. Default: `-1`.
894
- :param pulumi.Input[str] virtual_machine_id: The UUID of the virtual machine to create
895
- the override for. Forces a new resource if changed.
707
+ :param pulumi.Input[str] compute_cluster_id: The managed object ID of the cluster.
708
+ :param pulumi.Input[str] ha_datastore_apd_recovery_action: Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
709
+ APD event. Can be one of useClusterDefault, none or reset.
710
+ :param pulumi.Input[str] ha_datastore_apd_response: Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
711
+ datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
712
+ :param pulumi.Input[int] ha_datastore_apd_response_delay: Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
713
+ ha_datastore_apd_response. Specify -1 to use the cluster setting.
714
+ :param pulumi.Input[str] ha_datastore_pdl_response: Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
715
+ datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
716
+ :param pulumi.Input[str] ha_host_isolation_response: The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
717
+ clusterIsolationResponse, none, powerOff, or shutdown.
718
+ :param pulumi.Input[int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
719
+ as failed. The value is in seconds.
720
+ :param pulumi.Input[int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
721
+ attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
722
+ time is allotted.
723
+ :param pulumi.Input[int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
724
+ :param pulumi.Input[int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
725
+ :param pulumi.Input[str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
726
+ vmMonitoringOnly, or vmAndAppMonitoring.
727
+ :param pulumi.Input[bool] ha_vm_monitoring_use_cluster_defaults: Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
728
+ for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
729
+ :param pulumi.Input[str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
730
+ lowest, low, medium, high, or highest.
731
+ :param pulumi.Input[int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
732
+ default.
733
+ :param pulumi.Input[str] virtual_machine_id: The managed object ID of the virtual machine.
896
734
  """
897
735
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
898
736
 
@@ -919,9 +757,7 @@ class HaVmOverride(pulumi.CustomResource):
919
757
  @pulumi.getter(name="computeClusterId")
920
758
  def compute_cluster_id(self) -> pulumi.Output[str]:
921
759
  """
922
- The managed object reference
923
- ID of the cluster to put the override in. Forces a new
924
- resource if changed.
760
+ The managed object ID of the cluster.
925
761
  """
926
762
  return pulumi.get(self, "compute_cluster_id")
927
763
 
@@ -929,10 +765,8 @@ class HaVmOverride(pulumi.CustomResource):
929
765
  @pulumi.getter(name="haDatastoreApdRecoveryAction")
930
766
  def ha_datastore_apd_recovery_action(self) -> pulumi.Output[Optional[str]]:
931
767
  """
932
- Controls the action to take
933
- on this virtual machine if an APD status on an affected datastore clears in
934
- the middle of an APD event. Can be one of `useClusterDefault`, `none` or
935
- `reset`. Default: `useClusterDefault`.
768
+ Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
769
+ APD event. Can be one of useClusterDefault, none or reset.
936
770
  """
937
771
  return pulumi.get(self, "ha_datastore_apd_recovery_action")
938
772
 
@@ -940,10 +774,8 @@ class HaVmOverride(pulumi.CustomResource):
940
774
  @pulumi.getter(name="haDatastoreApdResponse")
941
775
  def ha_datastore_apd_response(self) -> pulumi.Output[Optional[str]]:
942
776
  """
943
- Controls the action to take on this
944
- virtual machine when the cluster has detected loss to all paths to a relevant
945
- datastore. Can be one of `clusterDefault`, `disabled`, `warning`,
946
- `restartConservative`, or `restartAggressive`. Default: `clusterDefault`.
777
+ Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
778
+ datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
947
779
  """
948
780
  return pulumi.get(self, "ha_datastore_apd_response")
949
781
 
@@ -951,10 +783,8 @@ class HaVmOverride(pulumi.CustomResource):
951
783
  @pulumi.getter(name="haDatastoreApdResponseDelay")
952
784
  def ha_datastore_apd_response_delay(self) -> pulumi.Output[Optional[int]]:
953
785
  """
954
- Controls the delay in seconds
955
- to wait after an APD timeout event to execute the response action defined in
956
- `ha_datastore_apd_response`. Use `-1` to use
957
- the cluster default. Default: `-1`.
786
+ Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
787
+ ha_datastore_apd_response. Specify -1 to use the cluster setting.
958
788
  """
959
789
  return pulumi.get(self, "ha_datastore_apd_response_delay")
960
790
 
@@ -962,10 +792,8 @@ class HaVmOverride(pulumi.CustomResource):
962
792
  @pulumi.getter(name="haDatastorePdlResponse")
963
793
  def ha_datastore_pdl_response(self) -> pulumi.Output[Optional[str]]:
964
794
  """
965
- Controls the action to take on this
966
- virtual machine when the cluster has detected a permanent device loss to a
967
- relevant datastore. Can be one of `clusterDefault`, `disabled`, `warning`, or
968
- `restartAggressive`. Default: `clusterDefault`.
795
+ Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
796
+ datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
969
797
  """
970
798
  return pulumi.get(self, "ha_datastore_pdl_response")
971
799
 
@@ -973,10 +801,8 @@ class HaVmOverride(pulumi.CustomResource):
973
801
  @pulumi.getter(name="haHostIsolationResponse")
974
802
  def ha_host_isolation_response(self) -> pulumi.Output[Optional[str]]:
975
803
  """
976
- The action to take on this virtual
977
- machine when a host has detected that it has been isolated from the rest of
978
- the cluster. Can be one of `clusterIsolationResponse`, `none`, `powerOff`, or
979
- `shutdown`. Default: `clusterIsolationResponse`.
804
+ The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
805
+ clusterIsolationResponse, none, powerOff, or shutdown.
980
806
  """
981
807
  return pulumi.get(self, "ha_host_isolation_response")
982
808
 
@@ -984,9 +810,8 @@ class HaVmOverride(pulumi.CustomResource):
984
810
  @pulumi.getter(name="haVmFailureInterval")
985
811
  def ha_vm_failure_interval(self) -> pulumi.Output[Optional[int]]:
986
812
  """
987
- If a heartbeat from this virtual
988
- machine is not received within this configured interval, the virtual machine
989
- is marked as failed. The value is in seconds. Default: `30`.
813
+ If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
814
+ as failed. The value is in seconds.
990
815
  """
991
816
  return pulumi.get(self, "ha_vm_failure_interval")
992
817
 
@@ -994,12 +819,9 @@ class HaVmOverride(pulumi.CustomResource):
994
819
  @pulumi.getter(name="haVmMaximumFailureWindow")
995
820
  def ha_vm_maximum_failure_window(self) -> pulumi.Output[Optional[int]]:
996
821
  """
997
- The length of the reset window in
998
- which `ha_vm_maximum_resets` can operate. When this
999
- window expires, no more resets are attempted regardless of the setting
1000
- configured in `ha_vm_maximum_resets`. `-1` means no window, meaning an
1001
- unlimited reset time is allotted. The value is specified in seconds. Default:
1002
- `-1` (no window).
822
+ The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
823
+ attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
824
+ time is allotted.
1003
825
  """
1004
826
  return pulumi.get(self, "ha_vm_maximum_failure_window")
1005
827
 
@@ -1007,9 +829,7 @@ class HaVmOverride(pulumi.CustomResource):
1007
829
  @pulumi.getter(name="haVmMaximumResets")
1008
830
  def ha_vm_maximum_resets(self) -> pulumi.Output[Optional[int]]:
1009
831
  """
1010
- The maximum number of resets that HA will
1011
- perform to this virtual machine when responding to a failure event. Default:
1012
- `3`
832
+ The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
1013
833
  """
1014
834
  return pulumi.get(self, "ha_vm_maximum_resets")
1015
835
 
@@ -1017,9 +837,7 @@ class HaVmOverride(pulumi.CustomResource):
1017
837
  @pulumi.getter(name="haVmMinimumUptime")
1018
838
  def ha_vm_minimum_uptime(self) -> pulumi.Output[Optional[int]]:
1019
839
  """
1020
- The time, in seconds, that HA waits after
1021
- powering on this virtual machine before monitoring for heartbeats. Default:
1022
- `120` (2 minutes).
840
+ The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
1023
841
  """
1024
842
  return pulumi.get(self, "ha_vm_minimum_uptime")
1025
843
 
@@ -1027,9 +845,8 @@ class HaVmOverride(pulumi.CustomResource):
1027
845
  @pulumi.getter(name="haVmMonitoring")
1028
846
  def ha_vm_monitoring(self) -> pulumi.Output[Optional[str]]:
1029
847
  """
1030
- The type of virtual machine monitoring to use
1031
- when HA is enabled in the cluster. Can be one of `vmMonitoringDisabled`,
1032
- `vmMonitoringOnly`, or `vmAndAppMonitoring`. Default: `vmMonitoringDisabled`.
848
+ The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
849
+ vmMonitoringOnly, or vmAndAppMonitoring.
1033
850
  """
1034
851
  return pulumi.get(self, "ha_vm_monitoring")
1035
852
 
@@ -1037,10 +854,8 @@ class HaVmOverride(pulumi.CustomResource):
1037
854
  @pulumi.getter(name="haVmMonitoringUseClusterDefaults")
1038
855
  def ha_vm_monitoring_use_cluster_defaults(self) -> pulumi.Output[Optional[bool]]:
1039
856
  """
1040
- Determines whether or
1041
- not the cluster's default settings or the VM override settings specified in
1042
- this resource are used for virtual machine monitoring. The default is `true`
1043
- (use cluster defaults) - set to `false` to have overrides take effect.
857
+ Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
858
+ for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
1044
859
  """
1045
860
  return pulumi.get(self, "ha_vm_monitoring_use_cluster_defaults")
1046
861
 
@@ -1048,10 +863,8 @@ class HaVmOverride(pulumi.CustomResource):
1048
863
  @pulumi.getter(name="haVmRestartPriority")
1049
864
  def ha_vm_restart_priority(self) -> pulumi.Output[Optional[str]]:
1050
865
  """
1051
- The restart priority for the virtual
1052
- machine when vSphere detects a host failure. Can be one of
1053
- `clusterRestartPriority`, `lowest`, `low`, `medium`, `high`, `highest`, or `disabled`.
1054
- Default: `clusterRestartPriority`.
866
+ The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
867
+ lowest, low, medium, high, or highest.
1055
868
  """
1056
869
  return pulumi.get(self, "ha_vm_restart_priority")
1057
870
 
@@ -1059,9 +872,8 @@ class HaVmOverride(pulumi.CustomResource):
1059
872
  @pulumi.getter(name="haVmRestartTimeout")
1060
873
  def ha_vm_restart_timeout(self) -> pulumi.Output[Optional[int]]:
1061
874
  """
1062
- The maximum time, in seconds, that
1063
- vSphere HA will wait for this virtual machine to be ready. Use `-1` to
1064
- specify the cluster default. Default: `-1`.
875
+ The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
876
+ default.
1065
877
  """
1066
878
  return pulumi.get(self, "ha_vm_restart_timeout")
1067
879
 
@@ -1069,8 +881,7 @@ class HaVmOverride(pulumi.CustomResource):
1069
881
  @pulumi.getter(name="virtualMachineId")
1070
882
  def virtual_machine_id(self) -> pulumi.Output[str]:
1071
883
  """
1072
- The UUID of the virtual machine to create
1073
- the override for. Forces a new resource if changed.
884
+ The managed object ID of the virtual machine.
1074
885
  """
1075
886
  return pulumi.get(self, "virtual_machine_id")
1076
887