pulumi-vsphere 4.11.0a1__py3-none-any.whl → 4.11.0a1711033215__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 (58) hide show
  1. pulumi_vsphere/__init__.py +0 -28
  2. pulumi_vsphere/_inputs.py +230 -554
  3. pulumi_vsphere/compute_cluster.py +1477 -747
  4. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +16 -28
  5. pulumi_vsphere/datacenter.py +12 -26
  6. pulumi_vsphere/datastore_cluster.py +350 -154
  7. pulumi_vsphere/distributed_port_group.py +175 -70
  8. pulumi_vsphere/distributed_virtual_switch.py +805 -308
  9. pulumi_vsphere/file.py +24 -16
  10. pulumi_vsphere/folder.py +7 -7
  11. pulumi_vsphere/get_compute_cluster.py +4 -0
  12. pulumi_vsphere/get_compute_cluster_host_group.py +10 -8
  13. pulumi_vsphere/get_content_library.py +4 -0
  14. pulumi_vsphere/get_custom_attribute.py +4 -0
  15. pulumi_vsphere/get_datacenter.py +4 -0
  16. pulumi_vsphere/get_datastore.py +4 -0
  17. pulumi_vsphere/get_datastore_cluster.py +4 -0
  18. pulumi_vsphere/get_datastore_stats.py +12 -4
  19. pulumi_vsphere/get_distributed_virtual_switch.py +4 -2
  20. pulumi_vsphere/get_dynamic.py +8 -4
  21. pulumi_vsphere/get_folder.py +6 -10
  22. pulumi_vsphere/get_guest_os_customization.py +4 -0
  23. pulumi_vsphere/get_host.py +4 -0
  24. pulumi_vsphere/get_host_pci_device.py +12 -4
  25. pulumi_vsphere/get_host_thumbprint.py +4 -0
  26. pulumi_vsphere/get_host_vgpu_profile.py +8 -0
  27. pulumi_vsphere/get_license.py +4 -0
  28. pulumi_vsphere/get_network.py +4 -0
  29. pulumi_vsphere/get_policy.py +4 -0
  30. pulumi_vsphere/get_resource_pool.py +10 -2
  31. pulumi_vsphere/get_role.py +4 -0
  32. pulumi_vsphere/get_tag.py +4 -0
  33. pulumi_vsphere/get_tag_category.py +4 -0
  34. pulumi_vsphere/get_vapp_container.py +4 -0
  35. pulumi_vsphere/get_virtual_machine.py +8 -0
  36. pulumi_vsphere/get_vmfs_disks.py +4 -0
  37. pulumi_vsphere/guest_os_customization.py +0 -50
  38. pulumi_vsphere/ha_vm_override.py +378 -189
  39. pulumi_vsphere/host.py +20 -0
  40. pulumi_vsphere/host_port_group.py +24 -12
  41. pulumi_vsphere/host_virtual_switch.py +287 -140
  42. pulumi_vsphere/license.py +32 -0
  43. pulumi_vsphere/outputs.py +230 -543
  44. pulumi_vsphere/pulumi-plugin.json +1 -2
  45. pulumi_vsphere/resource_pool.py +22 -48
  46. pulumi_vsphere/virtual_machine.py +807 -578
  47. pulumi_vsphere/virtual_machine_snapshot.py +10 -6
  48. pulumi_vsphere/vm_storage_policy.py +84 -72
  49. pulumi_vsphere/vnic.py +20 -8
  50. {pulumi_vsphere-4.11.0a1.dist-info → pulumi_vsphere-4.11.0a1711033215.dist-info}/METADATA +1 -1
  51. pulumi_vsphere-4.11.0a1711033215.dist-info/RECORD +82 -0
  52. pulumi_vsphere/get_host_base_images.py +0 -97
  53. pulumi_vsphere/offline_software_depot.py +0 -180
  54. pulumi_vsphere/supervisor.py +0 -858
  55. pulumi_vsphere/virtual_machine_class.py +0 -440
  56. pulumi_vsphere-4.11.0a1.dist-info/RECORD +0 -86
  57. {pulumi_vsphere-4.11.0a1.dist-info → pulumi_vsphere-4.11.0a1711033215.dist-info}/WHEEL +0 -0
  58. {pulumi_vsphere-4.11.0a1.dist-info → pulumi_vsphere-4.11.0a1711033215.dist-info}/top_level.txt +0 -0
@@ -31,33 +31,60 @@ 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 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.
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`.
61
88
  """
62
89
  pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
63
90
  pulumi.set(__self__, "virtual_machine_id", virtual_machine_id)
@@ -92,7 +119,9 @@ class HaVmOverrideArgs:
92
119
  @pulumi.getter(name="computeClusterId")
93
120
  def compute_cluster_id(self) -> pulumi.Input[str]:
94
121
  """
95
- The managed object ID of the cluster.
122
+ The managed object reference
123
+ ID of the cluster to put the override in. Forces a new
124
+ resource if changed.
96
125
  """
97
126
  return pulumi.get(self, "compute_cluster_id")
98
127
 
@@ -104,7 +133,8 @@ class HaVmOverrideArgs:
104
133
  @pulumi.getter(name="virtualMachineId")
105
134
  def virtual_machine_id(self) -> pulumi.Input[str]:
106
135
  """
107
- The managed object ID of the virtual machine.
136
+ The UUID of the virtual machine to create
137
+ the override for. Forces a new resource if changed.
108
138
  """
109
139
  return pulumi.get(self, "virtual_machine_id")
110
140
 
@@ -116,8 +146,10 @@ class HaVmOverrideArgs:
116
146
  @pulumi.getter(name="haDatastoreApdRecoveryAction")
117
147
  def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[str]]:
118
148
  """
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.
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`.
121
153
  """
122
154
  return pulumi.get(self, "ha_datastore_apd_recovery_action")
123
155
 
@@ -129,8 +161,10 @@ class HaVmOverrideArgs:
129
161
  @pulumi.getter(name="haDatastoreApdResponse")
130
162
  def ha_datastore_apd_response(self) -> Optional[pulumi.Input[str]]:
131
163
  """
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.
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`.
134
168
  """
135
169
  return pulumi.get(self, "ha_datastore_apd_response")
136
170
 
@@ -142,8 +176,10 @@ class HaVmOverrideArgs:
142
176
  @pulumi.getter(name="haDatastoreApdResponseDelay")
143
177
  def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[int]]:
144
178
  """
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.
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`.
147
183
  """
148
184
  return pulumi.get(self, "ha_datastore_apd_response_delay")
149
185
 
@@ -155,8 +191,10 @@ class HaVmOverrideArgs:
155
191
  @pulumi.getter(name="haDatastorePdlResponse")
156
192
  def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[str]]:
157
193
  """
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.
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`.
160
198
  """
161
199
  return pulumi.get(self, "ha_datastore_pdl_response")
162
200
 
@@ -168,8 +206,10 @@ class HaVmOverrideArgs:
168
206
  @pulumi.getter(name="haHostIsolationResponse")
169
207
  def ha_host_isolation_response(self) -> Optional[pulumi.Input[str]]:
170
208
  """
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.
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`.
173
213
  """
174
214
  return pulumi.get(self, "ha_host_isolation_response")
175
215
 
@@ -181,8 +221,9 @@ class HaVmOverrideArgs:
181
221
  @pulumi.getter(name="haVmFailureInterval")
182
222
  def ha_vm_failure_interval(self) -> Optional[pulumi.Input[int]]:
183
223
  """
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.
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`.
186
227
  """
187
228
  return pulumi.get(self, "ha_vm_failure_interval")
188
229
 
@@ -194,9 +235,12 @@ class HaVmOverrideArgs:
194
235
  @pulumi.getter(name="haVmMaximumFailureWindow")
195
236
  def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[int]]:
196
237
  """
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.
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).
200
244
  """
201
245
  return pulumi.get(self, "ha_vm_maximum_failure_window")
202
246
 
@@ -208,7 +252,9 @@ class HaVmOverrideArgs:
208
252
  @pulumi.getter(name="haVmMaximumResets")
209
253
  def ha_vm_maximum_resets(self) -> Optional[pulumi.Input[int]]:
210
254
  """
211
- The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
255
+ The maximum number of resets that HA will
256
+ perform to this virtual machine when responding to a failure event. Default:
257
+ `3`
212
258
  """
213
259
  return pulumi.get(self, "ha_vm_maximum_resets")
214
260
 
@@ -220,7 +266,9 @@ class HaVmOverrideArgs:
220
266
  @pulumi.getter(name="haVmMinimumUptime")
221
267
  def ha_vm_minimum_uptime(self) -> Optional[pulumi.Input[int]]:
222
268
  """
223
- The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
269
+ The time, in seconds, that HA waits after
270
+ powering on this virtual machine before monitoring for heartbeats. Default:
271
+ `120` (2 minutes).
224
272
  """
225
273
  return pulumi.get(self, "ha_vm_minimum_uptime")
226
274
 
@@ -232,8 +280,9 @@ class HaVmOverrideArgs:
232
280
  @pulumi.getter(name="haVmMonitoring")
233
281
  def ha_vm_monitoring(self) -> Optional[pulumi.Input[str]]:
234
282
  """
235
- The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
236
- vmMonitoringOnly, or vmAndAppMonitoring.
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`.
237
286
  """
238
287
  return pulumi.get(self, "ha_vm_monitoring")
239
288
 
@@ -245,8 +294,10 @@ class HaVmOverrideArgs:
245
294
  @pulumi.getter(name="haVmMonitoringUseClusterDefaults")
246
295
  def ha_vm_monitoring_use_cluster_defaults(self) -> Optional[pulumi.Input[bool]]:
247
296
  """
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.
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.
250
301
  """
251
302
  return pulumi.get(self, "ha_vm_monitoring_use_cluster_defaults")
252
303
 
@@ -258,8 +309,10 @@ class HaVmOverrideArgs:
258
309
  @pulumi.getter(name="haVmRestartPriority")
259
310
  def ha_vm_restart_priority(self) -> Optional[pulumi.Input[str]]:
260
311
  """
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.
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`.
263
316
  """
264
317
  return pulumi.get(self, "ha_vm_restart_priority")
265
318
 
@@ -271,8 +324,9 @@ class HaVmOverrideArgs:
271
324
  @pulumi.getter(name="haVmRestartTimeout")
272
325
  def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[int]]:
273
326
  """
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.
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`.
276
330
  """
277
331
  return pulumi.get(self, "ha_vm_restart_timeout")
278
332
 
@@ -301,33 +355,60 @@ class _HaVmOverrideState:
301
355
  virtual_machine_id: Optional[pulumi.Input[str]] = None):
302
356
  """
303
357
  Input properties used for looking up and filtering HaVmOverride resources.
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.
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.
331
412
  """
332
413
  if compute_cluster_id is not None:
333
414
  pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
@@ -364,7 +445,9 @@ class _HaVmOverrideState:
364
445
  @pulumi.getter(name="computeClusterId")
365
446
  def compute_cluster_id(self) -> Optional[pulumi.Input[str]]:
366
447
  """
367
- The managed object ID of the cluster.
448
+ The managed object reference
449
+ ID of the cluster to put the override in. Forces a new
450
+ resource if changed.
368
451
  """
369
452
  return pulumi.get(self, "compute_cluster_id")
370
453
 
@@ -376,8 +459,10 @@ class _HaVmOverrideState:
376
459
  @pulumi.getter(name="haDatastoreApdRecoveryAction")
377
460
  def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[str]]:
378
461
  """
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.
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`.
381
466
  """
382
467
  return pulumi.get(self, "ha_datastore_apd_recovery_action")
383
468
 
@@ -389,8 +474,10 @@ class _HaVmOverrideState:
389
474
  @pulumi.getter(name="haDatastoreApdResponse")
390
475
  def ha_datastore_apd_response(self) -> Optional[pulumi.Input[str]]:
391
476
  """
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.
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`.
394
481
  """
395
482
  return pulumi.get(self, "ha_datastore_apd_response")
396
483
 
@@ -402,8 +489,10 @@ class _HaVmOverrideState:
402
489
  @pulumi.getter(name="haDatastoreApdResponseDelay")
403
490
  def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[int]]:
404
491
  """
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.
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`.
407
496
  """
408
497
  return pulumi.get(self, "ha_datastore_apd_response_delay")
409
498
 
@@ -415,8 +504,10 @@ class _HaVmOverrideState:
415
504
  @pulumi.getter(name="haDatastorePdlResponse")
416
505
  def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[str]]:
417
506
  """
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.
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`.
420
511
  """
421
512
  return pulumi.get(self, "ha_datastore_pdl_response")
422
513
 
@@ -428,8 +519,10 @@ class _HaVmOverrideState:
428
519
  @pulumi.getter(name="haHostIsolationResponse")
429
520
  def ha_host_isolation_response(self) -> Optional[pulumi.Input[str]]:
430
521
  """
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.
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`.
433
526
  """
434
527
  return pulumi.get(self, "ha_host_isolation_response")
435
528
 
@@ -441,8 +534,9 @@ class _HaVmOverrideState:
441
534
  @pulumi.getter(name="haVmFailureInterval")
442
535
  def ha_vm_failure_interval(self) -> Optional[pulumi.Input[int]]:
443
536
  """
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.
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`.
446
540
  """
447
541
  return pulumi.get(self, "ha_vm_failure_interval")
448
542
 
@@ -454,9 +548,12 @@ class _HaVmOverrideState:
454
548
  @pulumi.getter(name="haVmMaximumFailureWindow")
455
549
  def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[int]]:
456
550
  """
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.
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).
460
557
  """
461
558
  return pulumi.get(self, "ha_vm_maximum_failure_window")
462
559
 
@@ -468,7 +565,9 @@ class _HaVmOverrideState:
468
565
  @pulumi.getter(name="haVmMaximumResets")
469
566
  def ha_vm_maximum_resets(self) -> Optional[pulumi.Input[int]]:
470
567
  """
471
- The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
568
+ The maximum number of resets that HA will
569
+ perform to this virtual machine when responding to a failure event. Default:
570
+ `3`
472
571
  """
473
572
  return pulumi.get(self, "ha_vm_maximum_resets")
474
573
 
@@ -480,7 +579,9 @@ class _HaVmOverrideState:
480
579
  @pulumi.getter(name="haVmMinimumUptime")
481
580
  def ha_vm_minimum_uptime(self) -> Optional[pulumi.Input[int]]:
482
581
  """
483
- The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
582
+ The time, in seconds, that HA waits after
583
+ powering on this virtual machine before monitoring for heartbeats. Default:
584
+ `120` (2 minutes).
484
585
  """
485
586
  return pulumi.get(self, "ha_vm_minimum_uptime")
486
587
 
@@ -492,8 +593,9 @@ class _HaVmOverrideState:
492
593
  @pulumi.getter(name="haVmMonitoring")
493
594
  def ha_vm_monitoring(self) -> Optional[pulumi.Input[str]]:
494
595
  """
495
- The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
496
- vmMonitoringOnly, or vmAndAppMonitoring.
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`.
497
599
  """
498
600
  return pulumi.get(self, "ha_vm_monitoring")
499
601
 
@@ -505,8 +607,10 @@ class _HaVmOverrideState:
505
607
  @pulumi.getter(name="haVmMonitoringUseClusterDefaults")
506
608
  def ha_vm_monitoring_use_cluster_defaults(self) -> Optional[pulumi.Input[bool]]:
507
609
  """
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.
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.
510
614
  """
511
615
  return pulumi.get(self, "ha_vm_monitoring_use_cluster_defaults")
512
616
 
@@ -518,8 +622,10 @@ class _HaVmOverrideState:
518
622
  @pulumi.getter(name="haVmRestartPriority")
519
623
  def ha_vm_restart_priority(self) -> Optional[pulumi.Input[str]]:
520
624
  """
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.
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`.
523
629
  """
524
630
  return pulumi.get(self, "ha_vm_restart_priority")
525
631
 
@@ -531,8 +637,9 @@ class _HaVmOverrideState:
531
637
  @pulumi.getter(name="haVmRestartTimeout")
532
638
  def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[int]]:
533
639
  """
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.
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`.
536
643
  """
537
644
  return pulumi.get(self, "ha_vm_restart_timeout")
538
645
 
@@ -544,7 +651,8 @@ class _HaVmOverrideState:
544
651
  @pulumi.getter(name="virtualMachineId")
545
652
  def virtual_machine_id(self) -> Optional[pulumi.Input[str]]:
546
653
  """
547
- The managed object ID of the virtual machine.
654
+ The UUID of the virtual machine to create
655
+ the override for. Forces a new resource if changed.
548
656
  """
549
657
  return pulumi.get(self, "virtual_machine_id")
550
658
 
@@ -578,33 +686,60 @@ class HaVmOverride(pulumi.CustomResource):
578
686
  Create a HaVmOverride resource with the given unique name, props, and options.
579
687
  :param str resource_name: The name of the resource.
580
688
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
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.
608
743
  """
609
744
  ...
610
745
  @overload
@@ -704,33 +839,60 @@ class HaVmOverride(pulumi.CustomResource):
704
839
  :param str resource_name: The unique name of the resulting resource.
705
840
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
706
841
  :param pulumi.ResourceOptions opts: Options for the resource.
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.
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.
734
896
  """
735
897
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
736
898
 
@@ -757,7 +919,9 @@ class HaVmOverride(pulumi.CustomResource):
757
919
  @pulumi.getter(name="computeClusterId")
758
920
  def compute_cluster_id(self) -> pulumi.Output[str]:
759
921
  """
760
- The managed object ID of the cluster.
922
+ The managed object reference
923
+ ID of the cluster to put the override in. Forces a new
924
+ resource if changed.
761
925
  """
762
926
  return pulumi.get(self, "compute_cluster_id")
763
927
 
@@ -765,8 +929,10 @@ class HaVmOverride(pulumi.CustomResource):
765
929
  @pulumi.getter(name="haDatastoreApdRecoveryAction")
766
930
  def ha_datastore_apd_recovery_action(self) -> pulumi.Output[Optional[str]]:
767
931
  """
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.
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`.
770
936
  """
771
937
  return pulumi.get(self, "ha_datastore_apd_recovery_action")
772
938
 
@@ -774,8 +940,10 @@ class HaVmOverride(pulumi.CustomResource):
774
940
  @pulumi.getter(name="haDatastoreApdResponse")
775
941
  def ha_datastore_apd_response(self) -> pulumi.Output[Optional[str]]:
776
942
  """
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.
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`.
779
947
  """
780
948
  return pulumi.get(self, "ha_datastore_apd_response")
781
949
 
@@ -783,8 +951,10 @@ class HaVmOverride(pulumi.CustomResource):
783
951
  @pulumi.getter(name="haDatastoreApdResponseDelay")
784
952
  def ha_datastore_apd_response_delay(self) -> pulumi.Output[Optional[int]]:
785
953
  """
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.
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`.
788
958
  """
789
959
  return pulumi.get(self, "ha_datastore_apd_response_delay")
790
960
 
@@ -792,8 +962,10 @@ class HaVmOverride(pulumi.CustomResource):
792
962
  @pulumi.getter(name="haDatastorePdlResponse")
793
963
  def ha_datastore_pdl_response(self) -> pulumi.Output[Optional[str]]:
794
964
  """
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.
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`.
797
969
  """
798
970
  return pulumi.get(self, "ha_datastore_pdl_response")
799
971
 
@@ -801,8 +973,10 @@ class HaVmOverride(pulumi.CustomResource):
801
973
  @pulumi.getter(name="haHostIsolationResponse")
802
974
  def ha_host_isolation_response(self) -> pulumi.Output[Optional[str]]:
803
975
  """
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.
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`.
806
980
  """
807
981
  return pulumi.get(self, "ha_host_isolation_response")
808
982
 
@@ -810,8 +984,9 @@ class HaVmOverride(pulumi.CustomResource):
810
984
  @pulumi.getter(name="haVmFailureInterval")
811
985
  def ha_vm_failure_interval(self) -> pulumi.Output[Optional[int]]:
812
986
  """
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.
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`.
815
990
  """
816
991
  return pulumi.get(self, "ha_vm_failure_interval")
817
992
 
@@ -819,9 +994,12 @@ class HaVmOverride(pulumi.CustomResource):
819
994
  @pulumi.getter(name="haVmMaximumFailureWindow")
820
995
  def ha_vm_maximum_failure_window(self) -> pulumi.Output[Optional[int]]:
821
996
  """
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.
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).
825
1003
  """
826
1004
  return pulumi.get(self, "ha_vm_maximum_failure_window")
827
1005
 
@@ -829,7 +1007,9 @@ class HaVmOverride(pulumi.CustomResource):
829
1007
  @pulumi.getter(name="haVmMaximumResets")
830
1008
  def ha_vm_maximum_resets(self) -> pulumi.Output[Optional[int]]:
831
1009
  """
832
- The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
1010
+ The maximum number of resets that HA will
1011
+ perform to this virtual machine when responding to a failure event. Default:
1012
+ `3`
833
1013
  """
834
1014
  return pulumi.get(self, "ha_vm_maximum_resets")
835
1015
 
@@ -837,7 +1017,9 @@ class HaVmOverride(pulumi.CustomResource):
837
1017
  @pulumi.getter(name="haVmMinimumUptime")
838
1018
  def ha_vm_minimum_uptime(self) -> pulumi.Output[Optional[int]]:
839
1019
  """
840
- The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
1020
+ The time, in seconds, that HA waits after
1021
+ powering on this virtual machine before monitoring for heartbeats. Default:
1022
+ `120` (2 minutes).
841
1023
  """
842
1024
  return pulumi.get(self, "ha_vm_minimum_uptime")
843
1025
 
@@ -845,8 +1027,9 @@ class HaVmOverride(pulumi.CustomResource):
845
1027
  @pulumi.getter(name="haVmMonitoring")
846
1028
  def ha_vm_monitoring(self) -> pulumi.Output[Optional[str]]:
847
1029
  """
848
- The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
849
- vmMonitoringOnly, or vmAndAppMonitoring.
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`.
850
1033
  """
851
1034
  return pulumi.get(self, "ha_vm_monitoring")
852
1035
 
@@ -854,8 +1037,10 @@ class HaVmOverride(pulumi.CustomResource):
854
1037
  @pulumi.getter(name="haVmMonitoringUseClusterDefaults")
855
1038
  def ha_vm_monitoring_use_cluster_defaults(self) -> pulumi.Output[Optional[bool]]:
856
1039
  """
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.
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.
859
1044
  """
860
1045
  return pulumi.get(self, "ha_vm_monitoring_use_cluster_defaults")
861
1046
 
@@ -863,8 +1048,10 @@ class HaVmOverride(pulumi.CustomResource):
863
1048
  @pulumi.getter(name="haVmRestartPriority")
864
1049
  def ha_vm_restart_priority(self) -> pulumi.Output[Optional[str]]:
865
1050
  """
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.
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`.
868
1055
  """
869
1056
  return pulumi.get(self, "ha_vm_restart_priority")
870
1057
 
@@ -872,8 +1059,9 @@ class HaVmOverride(pulumi.CustomResource):
872
1059
  @pulumi.getter(name="haVmRestartTimeout")
873
1060
  def ha_vm_restart_timeout(self) -> pulumi.Output[Optional[int]]:
874
1061
  """
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.
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`.
877
1065
  """
878
1066
  return pulumi.get(self, "ha_vm_restart_timeout")
879
1067
 
@@ -881,7 +1069,8 @@ class HaVmOverride(pulumi.CustomResource):
881
1069
  @pulumi.getter(name="virtualMachineId")
882
1070
  def virtual_machine_id(self) -> pulumi.Output[str]:
883
1071
  """
884
- The managed object ID of the virtual machine.
1072
+ The UUID of the virtual machine to create
1073
+ the override for. Forces a new resource if changed.
885
1074
  """
886
1075
  return pulumi.get(self, "virtual_machine_id")
887
1076