pulumi-vsphere 4.15.0a1753206257__py3-none-any.whl → 4.16.0a1753398270__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 (86) hide show
  1. pulumi_vsphere/__init__.py +1 -1
  2. pulumi_vsphere/_inputs.py +1171 -1172
  3. pulumi_vsphere/compute_cluster.py +1127 -1128
  4. pulumi_vsphere/compute_cluster_host_group.py +52 -53
  5. pulumi_vsphere/compute_cluster_vm_affinity_rule.py +86 -87
  6. pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +86 -87
  7. pulumi_vsphere/compute_cluster_vm_dependency_rule.py +103 -104
  8. pulumi_vsphere/compute_cluster_vm_group.py +52 -53
  9. pulumi_vsphere/compute_cluster_vm_host_rule.py +120 -121
  10. pulumi_vsphere/config/__init__.py +1 -1
  11. pulumi_vsphere/config/__init__.pyi +1 -2
  12. pulumi_vsphere/config/vars.py +14 -15
  13. pulumi_vsphere/content_library.py +58 -59
  14. pulumi_vsphere/content_library_item.py +103 -104
  15. pulumi_vsphere/custom_attribute.py +35 -36
  16. pulumi_vsphere/datacenter.py +78 -79
  17. pulumi_vsphere/datastore_cluster.py +426 -427
  18. pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +86 -87
  19. pulumi_vsphere/distributed_port_group.py +787 -788
  20. pulumi_vsphere/distributed_virtual_switch.py +1566 -1567
  21. pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +69 -70
  22. pulumi_vsphere/dpm_host_override.py +69 -70
  23. pulumi_vsphere/drs_vm_override.py +69 -70
  24. pulumi_vsphere/entity_permissions.py +38 -39
  25. pulumi_vsphere/file.py +120 -121
  26. pulumi_vsphere/folder.py +86 -87
  27. pulumi_vsphere/get_compute_cluster.py +17 -18
  28. pulumi_vsphere/get_compute_cluster_host_group.py +17 -18
  29. pulumi_vsphere/get_content_library.py +9 -10
  30. pulumi_vsphere/get_content_library_item.py +21 -22
  31. pulumi_vsphere/get_custom_attribute.py +11 -12
  32. pulumi_vsphere/get_datacenter.py +11 -12
  33. pulumi_vsphere/get_datastore.py +21 -22
  34. pulumi_vsphere/get_datastore_cluster.py +17 -18
  35. pulumi_vsphere/get_datastore_stats.py +21 -22
  36. pulumi_vsphere/get_distributed_virtual_switch.py +17 -18
  37. pulumi_vsphere/get_dynamic.py +21 -22
  38. pulumi_vsphere/get_folder.py +9 -10
  39. pulumi_vsphere/get_guest_os_customization.py +18 -19
  40. pulumi_vsphere/get_host.py +17 -18
  41. pulumi_vsphere/get_host_base_images.py +5 -6
  42. pulumi_vsphere/get_host_pci_device.py +29 -30
  43. pulumi_vsphere/get_host_thumbprint.py +21 -22
  44. pulumi_vsphere/get_host_vgpu_profile.py +16 -17
  45. pulumi_vsphere/get_license.py +19 -20
  46. pulumi_vsphere/get_network.py +42 -43
  47. pulumi_vsphere/get_ovf_vm_template.py +121 -122
  48. pulumi_vsphere/get_policy.py +9 -10
  49. pulumi_vsphere/get_resource_pool.py +21 -22
  50. pulumi_vsphere/get_role.py +25 -26
  51. pulumi_vsphere/get_tag.py +17 -18
  52. pulumi_vsphere/get_tag_category.py +15 -16
  53. pulumi_vsphere/get_vapp_container.py +15 -16
  54. pulumi_vsphere/get_virtual_machine.py +272 -273
  55. pulumi_vsphere/get_vmfs_disks.py +23 -24
  56. pulumi_vsphere/guest_os_customization.py +73 -74
  57. pulumi_vsphere/ha_vm_override.py +256 -257
  58. pulumi_vsphere/host.py +242 -243
  59. pulumi_vsphere/host_port_group.py +310 -311
  60. pulumi_vsphere/host_virtual_switch.py +358 -359
  61. pulumi_vsphere/license.py +71 -72
  62. pulumi_vsphere/nas_datastore.py +260 -261
  63. pulumi_vsphere/offline_software_depot.py +20 -21
  64. pulumi_vsphere/outputs.py +981 -982
  65. pulumi_vsphere/provider.py +120 -121
  66. pulumi_vsphere/pulumi-plugin.json +1 -1
  67. pulumi_vsphere/resource_pool.py +256 -257
  68. pulumi_vsphere/role.py +44 -45
  69. pulumi_vsphere/storage_drs_vm_override.py +86 -87
  70. pulumi_vsphere/supervisor.py +206 -207
  71. pulumi_vsphere/tag.py +52 -53
  72. pulumi_vsphere/tag_category.py +69 -70
  73. pulumi_vsphere/vapp_container.py +256 -257
  74. pulumi_vsphere/vapp_entity.py +171 -172
  75. pulumi_vsphere/virtual_disk.py +120 -121
  76. pulumi_vsphere/virtual_machine.py +1293 -1294
  77. pulumi_vsphere/virtual_machine_class.py +103 -104
  78. pulumi_vsphere/virtual_machine_snapshot.py +120 -121
  79. pulumi_vsphere/vm_storage_policy.py +38 -39
  80. pulumi_vsphere/vmfs_datastore.py +183 -184
  81. pulumi_vsphere/vnic.py +143 -144
  82. {pulumi_vsphere-4.15.0a1753206257.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/METADATA +1 -1
  83. pulumi_vsphere-4.16.0a1753398270.dist-info/RECORD +87 -0
  84. pulumi_vsphere-4.15.0a1753206257.dist-info/RECORD +0 -87
  85. {pulumi_vsphere-4.15.0a1753206257.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/WHEEL +0 -0
  86. {pulumi_vsphere-4.15.0a1753206257.dist-info → pulumi_vsphere-4.16.0a1753398270.dist-info}/top_level.txt +0 -0
@@ -2,8 +2,7 @@
2
2
  # *** WARNING: this file was generated by pulumi-language-python. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
- import builtins
6
- import copy
5
+ import builtins as _builtins
7
6
  import warnings
8
7
  import sys
9
8
  import pulumi
@@ -20,49 +19,49 @@ __all__ = ['HaVmOverrideArgs', 'HaVmOverride']
20
19
  @pulumi.input_type
21
20
  class HaVmOverrideArgs:
22
21
  def __init__(__self__, *,
23
- compute_cluster_id: pulumi.Input[builtins.str],
24
- virtual_machine_id: pulumi.Input[builtins.str],
25
- ha_datastore_apd_recovery_action: Optional[pulumi.Input[builtins.str]] = None,
26
- ha_datastore_apd_response: Optional[pulumi.Input[builtins.str]] = None,
27
- ha_datastore_apd_response_delay: Optional[pulumi.Input[builtins.int]] = None,
28
- ha_datastore_pdl_response: Optional[pulumi.Input[builtins.str]] = None,
29
- ha_host_isolation_response: Optional[pulumi.Input[builtins.str]] = None,
30
- ha_vm_failure_interval: Optional[pulumi.Input[builtins.int]] = None,
31
- ha_vm_maximum_failure_window: Optional[pulumi.Input[builtins.int]] = None,
32
- ha_vm_maximum_resets: Optional[pulumi.Input[builtins.int]] = None,
33
- ha_vm_minimum_uptime: Optional[pulumi.Input[builtins.int]] = None,
34
- ha_vm_monitoring: Optional[pulumi.Input[builtins.str]] = None,
35
- ha_vm_monitoring_use_cluster_defaults: Optional[pulumi.Input[builtins.bool]] = None,
36
- ha_vm_restart_priority: Optional[pulumi.Input[builtins.str]] = None,
37
- ha_vm_restart_timeout: Optional[pulumi.Input[builtins.int]] = None):
22
+ compute_cluster_id: pulumi.Input[_builtins.str],
23
+ virtual_machine_id: pulumi.Input[_builtins.str],
24
+ ha_datastore_apd_recovery_action: Optional[pulumi.Input[_builtins.str]] = None,
25
+ ha_datastore_apd_response: Optional[pulumi.Input[_builtins.str]] = None,
26
+ ha_datastore_apd_response_delay: Optional[pulumi.Input[_builtins.int]] = None,
27
+ ha_datastore_pdl_response: Optional[pulumi.Input[_builtins.str]] = None,
28
+ ha_host_isolation_response: Optional[pulumi.Input[_builtins.str]] = None,
29
+ ha_vm_failure_interval: Optional[pulumi.Input[_builtins.int]] = None,
30
+ ha_vm_maximum_failure_window: Optional[pulumi.Input[_builtins.int]] = None,
31
+ ha_vm_maximum_resets: Optional[pulumi.Input[_builtins.int]] = None,
32
+ ha_vm_minimum_uptime: Optional[pulumi.Input[_builtins.int]] = None,
33
+ ha_vm_monitoring: Optional[pulumi.Input[_builtins.str]] = None,
34
+ ha_vm_monitoring_use_cluster_defaults: Optional[pulumi.Input[_builtins.bool]] = None,
35
+ ha_vm_restart_priority: Optional[pulumi.Input[_builtins.str]] = None,
36
+ ha_vm_restart_timeout: Optional[pulumi.Input[_builtins.int]] = None):
38
37
  """
39
38
  The set of arguments for constructing a HaVmOverride resource.
40
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object ID of the cluster.
41
- :param pulumi.Input[builtins.str] virtual_machine_id: The managed object ID of the virtual machine.
42
- :param pulumi.Input[builtins.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
39
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object ID of the cluster.
40
+ :param pulumi.Input[_builtins.str] virtual_machine_id: The managed object ID of the virtual machine.
41
+ :param pulumi.Input[_builtins.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
43
42
  APD event. Can be one of useClusterDefault, none or reset.
44
- :param pulumi.Input[builtins.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
43
+ :param pulumi.Input[_builtins.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
45
44
  datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
46
- :param pulumi.Input[builtins.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
45
+ :param pulumi.Input[_builtins.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
47
46
  ha_datastore_apd_response. Specify -1 to use the cluster setting.
48
- :param pulumi.Input[builtins.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
47
+ :param pulumi.Input[_builtins.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
49
48
  datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
50
- :param pulumi.Input[builtins.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
49
+ :param pulumi.Input[_builtins.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
51
50
  clusterIsolationResponse, none, powerOff, or shutdown.
52
- :param pulumi.Input[builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
51
+ :param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
53
52
  as failed. The value is in seconds.
54
- :param pulumi.Input[builtins.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
53
+ :param pulumi.Input[_builtins.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
55
54
  attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
56
55
  time is allotted.
57
- :param pulumi.Input[builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
58
- :param pulumi.Input[builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
59
- :param pulumi.Input[builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
56
+ :param pulumi.Input[_builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
57
+ :param pulumi.Input[_builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
58
+ :param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
60
59
  vmMonitoringOnly, or vmAndAppMonitoring.
61
- :param pulumi.Input[builtins.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
60
+ :param pulumi.Input[_builtins.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
62
61
  for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
63
- :param pulumi.Input[builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
62
+ :param pulumi.Input[_builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
64
63
  lowest, low, medium, high, or highest.
65
- :param pulumi.Input[builtins.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
64
+ :param pulumi.Input[_builtins.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
66
65
  default.
67
66
  """
68
67
  pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
@@ -94,33 +93,33 @@ class HaVmOverrideArgs:
94
93
  if ha_vm_restart_timeout is not None:
95
94
  pulumi.set(__self__, "ha_vm_restart_timeout", ha_vm_restart_timeout)
96
95
 
97
- @property
96
+ @_builtins.property
98
97
  @pulumi.getter(name="computeClusterId")
99
- def compute_cluster_id(self) -> pulumi.Input[builtins.str]:
98
+ def compute_cluster_id(self) -> pulumi.Input[_builtins.str]:
100
99
  """
101
100
  The managed object ID of the cluster.
102
101
  """
103
102
  return pulumi.get(self, "compute_cluster_id")
104
103
 
105
104
  @compute_cluster_id.setter
106
- def compute_cluster_id(self, value: pulumi.Input[builtins.str]):
105
+ def compute_cluster_id(self, value: pulumi.Input[_builtins.str]):
107
106
  pulumi.set(self, "compute_cluster_id", value)
108
107
 
109
- @property
108
+ @_builtins.property
110
109
  @pulumi.getter(name="virtualMachineId")
111
- def virtual_machine_id(self) -> pulumi.Input[builtins.str]:
110
+ def virtual_machine_id(self) -> pulumi.Input[_builtins.str]:
112
111
  """
113
112
  The managed object ID of the virtual machine.
114
113
  """
115
114
  return pulumi.get(self, "virtual_machine_id")
116
115
 
117
116
  @virtual_machine_id.setter
118
- def virtual_machine_id(self, value: pulumi.Input[builtins.str]):
117
+ def virtual_machine_id(self, value: pulumi.Input[_builtins.str]):
119
118
  pulumi.set(self, "virtual_machine_id", value)
120
119
 
121
- @property
120
+ @_builtins.property
122
121
  @pulumi.getter(name="haDatastoreApdRecoveryAction")
123
- def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[builtins.str]]:
122
+ def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[_builtins.str]]:
124
123
  """
125
124
  Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
126
125
  APD event. Can be one of useClusterDefault, none or reset.
@@ -128,12 +127,12 @@ class HaVmOverrideArgs:
128
127
  return pulumi.get(self, "ha_datastore_apd_recovery_action")
129
128
 
130
129
  @ha_datastore_apd_recovery_action.setter
131
- def ha_datastore_apd_recovery_action(self, value: Optional[pulumi.Input[builtins.str]]):
130
+ def ha_datastore_apd_recovery_action(self, value: Optional[pulumi.Input[_builtins.str]]):
132
131
  pulumi.set(self, "ha_datastore_apd_recovery_action", value)
133
132
 
134
- @property
133
+ @_builtins.property
135
134
  @pulumi.getter(name="haDatastoreApdResponse")
136
- def ha_datastore_apd_response(self) -> Optional[pulumi.Input[builtins.str]]:
135
+ def ha_datastore_apd_response(self) -> Optional[pulumi.Input[_builtins.str]]:
137
136
  """
138
137
  Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
139
138
  datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
@@ -141,12 +140,12 @@ class HaVmOverrideArgs:
141
140
  return pulumi.get(self, "ha_datastore_apd_response")
142
141
 
143
142
  @ha_datastore_apd_response.setter
144
- def ha_datastore_apd_response(self, value: Optional[pulumi.Input[builtins.str]]):
143
+ def ha_datastore_apd_response(self, value: Optional[pulumi.Input[_builtins.str]]):
145
144
  pulumi.set(self, "ha_datastore_apd_response", value)
146
145
 
147
- @property
146
+ @_builtins.property
148
147
  @pulumi.getter(name="haDatastoreApdResponseDelay")
149
- def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[builtins.int]]:
148
+ def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[_builtins.int]]:
150
149
  """
151
150
  Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
152
151
  ha_datastore_apd_response. Specify -1 to use the cluster setting.
@@ -154,12 +153,12 @@ class HaVmOverrideArgs:
154
153
  return pulumi.get(self, "ha_datastore_apd_response_delay")
155
154
 
156
155
  @ha_datastore_apd_response_delay.setter
157
- def ha_datastore_apd_response_delay(self, value: Optional[pulumi.Input[builtins.int]]):
156
+ def ha_datastore_apd_response_delay(self, value: Optional[pulumi.Input[_builtins.int]]):
158
157
  pulumi.set(self, "ha_datastore_apd_response_delay", value)
159
158
 
160
- @property
159
+ @_builtins.property
161
160
  @pulumi.getter(name="haDatastorePdlResponse")
162
- def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[builtins.str]]:
161
+ def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[_builtins.str]]:
163
162
  """
164
163
  Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
165
164
  datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
@@ -167,12 +166,12 @@ class HaVmOverrideArgs:
167
166
  return pulumi.get(self, "ha_datastore_pdl_response")
168
167
 
169
168
  @ha_datastore_pdl_response.setter
170
- def ha_datastore_pdl_response(self, value: Optional[pulumi.Input[builtins.str]]):
169
+ def ha_datastore_pdl_response(self, value: Optional[pulumi.Input[_builtins.str]]):
171
170
  pulumi.set(self, "ha_datastore_pdl_response", value)
172
171
 
173
- @property
172
+ @_builtins.property
174
173
  @pulumi.getter(name="haHostIsolationResponse")
175
- def ha_host_isolation_response(self) -> Optional[pulumi.Input[builtins.str]]:
174
+ def ha_host_isolation_response(self) -> Optional[pulumi.Input[_builtins.str]]:
176
175
  """
177
176
  The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
178
177
  clusterIsolationResponse, none, powerOff, or shutdown.
@@ -180,12 +179,12 @@ class HaVmOverrideArgs:
180
179
  return pulumi.get(self, "ha_host_isolation_response")
181
180
 
182
181
  @ha_host_isolation_response.setter
183
- def ha_host_isolation_response(self, value: Optional[pulumi.Input[builtins.str]]):
182
+ def ha_host_isolation_response(self, value: Optional[pulumi.Input[_builtins.str]]):
184
183
  pulumi.set(self, "ha_host_isolation_response", value)
185
184
 
186
- @property
185
+ @_builtins.property
187
186
  @pulumi.getter(name="haVmFailureInterval")
188
- def ha_vm_failure_interval(self) -> Optional[pulumi.Input[builtins.int]]:
187
+ def ha_vm_failure_interval(self) -> Optional[pulumi.Input[_builtins.int]]:
189
188
  """
190
189
  If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
191
190
  as failed. The value is in seconds.
@@ -193,12 +192,12 @@ class HaVmOverrideArgs:
193
192
  return pulumi.get(self, "ha_vm_failure_interval")
194
193
 
195
194
  @ha_vm_failure_interval.setter
196
- def ha_vm_failure_interval(self, value: Optional[pulumi.Input[builtins.int]]):
195
+ def ha_vm_failure_interval(self, value: Optional[pulumi.Input[_builtins.int]]):
197
196
  pulumi.set(self, "ha_vm_failure_interval", value)
198
197
 
199
- @property
198
+ @_builtins.property
200
199
  @pulumi.getter(name="haVmMaximumFailureWindow")
201
- def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[builtins.int]]:
200
+ def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[_builtins.int]]:
202
201
  """
203
202
  The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
204
203
  attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
@@ -207,36 +206,36 @@ class HaVmOverrideArgs:
207
206
  return pulumi.get(self, "ha_vm_maximum_failure_window")
208
207
 
209
208
  @ha_vm_maximum_failure_window.setter
210
- def ha_vm_maximum_failure_window(self, value: Optional[pulumi.Input[builtins.int]]):
209
+ def ha_vm_maximum_failure_window(self, value: Optional[pulumi.Input[_builtins.int]]):
211
210
  pulumi.set(self, "ha_vm_maximum_failure_window", value)
212
211
 
213
- @property
212
+ @_builtins.property
214
213
  @pulumi.getter(name="haVmMaximumResets")
215
- def ha_vm_maximum_resets(self) -> Optional[pulumi.Input[builtins.int]]:
214
+ def ha_vm_maximum_resets(self) -> Optional[pulumi.Input[_builtins.int]]:
216
215
  """
217
216
  The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
218
217
  """
219
218
  return pulumi.get(self, "ha_vm_maximum_resets")
220
219
 
221
220
  @ha_vm_maximum_resets.setter
222
- def ha_vm_maximum_resets(self, value: Optional[pulumi.Input[builtins.int]]):
221
+ def ha_vm_maximum_resets(self, value: Optional[pulumi.Input[_builtins.int]]):
223
222
  pulumi.set(self, "ha_vm_maximum_resets", value)
224
223
 
225
- @property
224
+ @_builtins.property
226
225
  @pulumi.getter(name="haVmMinimumUptime")
227
- def ha_vm_minimum_uptime(self) -> Optional[pulumi.Input[builtins.int]]:
226
+ def ha_vm_minimum_uptime(self) -> Optional[pulumi.Input[_builtins.int]]:
228
227
  """
229
228
  The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
230
229
  """
231
230
  return pulumi.get(self, "ha_vm_minimum_uptime")
232
231
 
233
232
  @ha_vm_minimum_uptime.setter
234
- def ha_vm_minimum_uptime(self, value: Optional[pulumi.Input[builtins.int]]):
233
+ def ha_vm_minimum_uptime(self, value: Optional[pulumi.Input[_builtins.int]]):
235
234
  pulumi.set(self, "ha_vm_minimum_uptime", value)
236
235
 
237
- @property
236
+ @_builtins.property
238
237
  @pulumi.getter(name="haVmMonitoring")
239
- def ha_vm_monitoring(self) -> Optional[pulumi.Input[builtins.str]]:
238
+ def ha_vm_monitoring(self) -> Optional[pulumi.Input[_builtins.str]]:
240
239
  """
241
240
  The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
242
241
  vmMonitoringOnly, or vmAndAppMonitoring.
@@ -244,12 +243,12 @@ class HaVmOverrideArgs:
244
243
  return pulumi.get(self, "ha_vm_monitoring")
245
244
 
246
245
  @ha_vm_monitoring.setter
247
- def ha_vm_monitoring(self, value: Optional[pulumi.Input[builtins.str]]):
246
+ def ha_vm_monitoring(self, value: Optional[pulumi.Input[_builtins.str]]):
248
247
  pulumi.set(self, "ha_vm_monitoring", value)
249
248
 
250
- @property
249
+ @_builtins.property
251
250
  @pulumi.getter(name="haVmMonitoringUseClusterDefaults")
252
- def ha_vm_monitoring_use_cluster_defaults(self) -> Optional[pulumi.Input[builtins.bool]]:
251
+ def ha_vm_monitoring_use_cluster_defaults(self) -> Optional[pulumi.Input[_builtins.bool]]:
253
252
  """
254
253
  Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
255
254
  for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
@@ -257,12 +256,12 @@ class HaVmOverrideArgs:
257
256
  return pulumi.get(self, "ha_vm_monitoring_use_cluster_defaults")
258
257
 
259
258
  @ha_vm_monitoring_use_cluster_defaults.setter
260
- def ha_vm_monitoring_use_cluster_defaults(self, value: Optional[pulumi.Input[builtins.bool]]):
259
+ def ha_vm_monitoring_use_cluster_defaults(self, value: Optional[pulumi.Input[_builtins.bool]]):
261
260
  pulumi.set(self, "ha_vm_monitoring_use_cluster_defaults", value)
262
261
 
263
- @property
262
+ @_builtins.property
264
263
  @pulumi.getter(name="haVmRestartPriority")
265
- def ha_vm_restart_priority(self) -> Optional[pulumi.Input[builtins.str]]:
264
+ def ha_vm_restart_priority(self) -> Optional[pulumi.Input[_builtins.str]]:
266
265
  """
267
266
  The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
268
267
  lowest, low, medium, high, or highest.
@@ -270,12 +269,12 @@ class HaVmOverrideArgs:
270
269
  return pulumi.get(self, "ha_vm_restart_priority")
271
270
 
272
271
  @ha_vm_restart_priority.setter
273
- def ha_vm_restart_priority(self, value: Optional[pulumi.Input[builtins.str]]):
272
+ def ha_vm_restart_priority(self, value: Optional[pulumi.Input[_builtins.str]]):
274
273
  pulumi.set(self, "ha_vm_restart_priority", value)
275
274
 
276
- @property
275
+ @_builtins.property
277
276
  @pulumi.getter(name="haVmRestartTimeout")
278
- def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[builtins.int]]:
277
+ def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
279
278
  """
280
279
  The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
281
280
  default.
@@ -283,57 +282,57 @@ class HaVmOverrideArgs:
283
282
  return pulumi.get(self, "ha_vm_restart_timeout")
284
283
 
285
284
  @ha_vm_restart_timeout.setter
286
- def ha_vm_restart_timeout(self, value: Optional[pulumi.Input[builtins.int]]):
285
+ def ha_vm_restart_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
287
286
  pulumi.set(self, "ha_vm_restart_timeout", value)
288
287
 
289
288
 
290
289
  @pulumi.input_type
291
290
  class _HaVmOverrideState:
292
291
  def __init__(__self__, *,
293
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
294
- ha_datastore_apd_recovery_action: Optional[pulumi.Input[builtins.str]] = None,
295
- ha_datastore_apd_response: Optional[pulumi.Input[builtins.str]] = None,
296
- ha_datastore_apd_response_delay: Optional[pulumi.Input[builtins.int]] = None,
297
- ha_datastore_pdl_response: Optional[pulumi.Input[builtins.str]] = None,
298
- ha_host_isolation_response: Optional[pulumi.Input[builtins.str]] = None,
299
- ha_vm_failure_interval: Optional[pulumi.Input[builtins.int]] = None,
300
- ha_vm_maximum_failure_window: Optional[pulumi.Input[builtins.int]] = None,
301
- ha_vm_maximum_resets: Optional[pulumi.Input[builtins.int]] = None,
302
- ha_vm_minimum_uptime: Optional[pulumi.Input[builtins.int]] = None,
303
- ha_vm_monitoring: Optional[pulumi.Input[builtins.str]] = None,
304
- ha_vm_monitoring_use_cluster_defaults: Optional[pulumi.Input[builtins.bool]] = None,
305
- ha_vm_restart_priority: Optional[pulumi.Input[builtins.str]] = None,
306
- ha_vm_restart_timeout: Optional[pulumi.Input[builtins.int]] = None,
307
- virtual_machine_id: Optional[pulumi.Input[builtins.str]] = None):
292
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
293
+ ha_datastore_apd_recovery_action: Optional[pulumi.Input[_builtins.str]] = None,
294
+ ha_datastore_apd_response: Optional[pulumi.Input[_builtins.str]] = None,
295
+ ha_datastore_apd_response_delay: Optional[pulumi.Input[_builtins.int]] = None,
296
+ ha_datastore_pdl_response: Optional[pulumi.Input[_builtins.str]] = None,
297
+ ha_host_isolation_response: Optional[pulumi.Input[_builtins.str]] = None,
298
+ ha_vm_failure_interval: Optional[pulumi.Input[_builtins.int]] = None,
299
+ ha_vm_maximum_failure_window: Optional[pulumi.Input[_builtins.int]] = None,
300
+ ha_vm_maximum_resets: Optional[pulumi.Input[_builtins.int]] = None,
301
+ ha_vm_minimum_uptime: Optional[pulumi.Input[_builtins.int]] = None,
302
+ ha_vm_monitoring: Optional[pulumi.Input[_builtins.str]] = None,
303
+ ha_vm_monitoring_use_cluster_defaults: Optional[pulumi.Input[_builtins.bool]] = None,
304
+ ha_vm_restart_priority: Optional[pulumi.Input[_builtins.str]] = None,
305
+ ha_vm_restart_timeout: Optional[pulumi.Input[_builtins.int]] = None,
306
+ virtual_machine_id: Optional[pulumi.Input[_builtins.str]] = None):
308
307
  """
309
308
  Input properties used for looking up and filtering HaVmOverride resources.
310
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object ID of the cluster.
311
- :param pulumi.Input[builtins.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
309
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object ID of the cluster.
310
+ :param pulumi.Input[_builtins.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
312
311
  APD event. Can be one of useClusterDefault, none or reset.
313
- :param pulumi.Input[builtins.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
312
+ :param pulumi.Input[_builtins.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
314
313
  datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
315
- :param pulumi.Input[builtins.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
314
+ :param pulumi.Input[_builtins.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
316
315
  ha_datastore_apd_response. Specify -1 to use the cluster setting.
317
- :param pulumi.Input[builtins.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
316
+ :param pulumi.Input[_builtins.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
318
317
  datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
319
- :param pulumi.Input[builtins.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
318
+ :param pulumi.Input[_builtins.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
320
319
  clusterIsolationResponse, none, powerOff, or shutdown.
321
- :param pulumi.Input[builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
320
+ :param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
322
321
  as failed. The value is in seconds.
323
- :param pulumi.Input[builtins.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
322
+ :param pulumi.Input[_builtins.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
324
323
  attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
325
324
  time is allotted.
326
- :param pulumi.Input[builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
327
- :param pulumi.Input[builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
328
- :param pulumi.Input[builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
325
+ :param pulumi.Input[_builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
326
+ :param pulumi.Input[_builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
327
+ :param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
329
328
  vmMonitoringOnly, or vmAndAppMonitoring.
330
- :param pulumi.Input[builtins.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
329
+ :param pulumi.Input[_builtins.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
331
330
  for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
332
- :param pulumi.Input[builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
331
+ :param pulumi.Input[_builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
333
332
  lowest, low, medium, high, or highest.
334
- :param pulumi.Input[builtins.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
333
+ :param pulumi.Input[_builtins.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
335
334
  default.
336
- :param pulumi.Input[builtins.str] virtual_machine_id: The managed object ID of the virtual machine.
335
+ :param pulumi.Input[_builtins.str] virtual_machine_id: The managed object ID of the virtual machine.
337
336
  """
338
337
  if compute_cluster_id is not None:
339
338
  pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
@@ -366,21 +365,21 @@ class _HaVmOverrideState:
366
365
  if virtual_machine_id is not None:
367
366
  pulumi.set(__self__, "virtual_machine_id", virtual_machine_id)
368
367
 
369
- @property
368
+ @_builtins.property
370
369
  @pulumi.getter(name="computeClusterId")
371
- def compute_cluster_id(self) -> Optional[pulumi.Input[builtins.str]]:
370
+ def compute_cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
372
371
  """
373
372
  The managed object ID of the cluster.
374
373
  """
375
374
  return pulumi.get(self, "compute_cluster_id")
376
375
 
377
376
  @compute_cluster_id.setter
378
- def compute_cluster_id(self, value: Optional[pulumi.Input[builtins.str]]):
377
+ def compute_cluster_id(self, value: Optional[pulumi.Input[_builtins.str]]):
379
378
  pulumi.set(self, "compute_cluster_id", value)
380
379
 
381
- @property
380
+ @_builtins.property
382
381
  @pulumi.getter(name="haDatastoreApdRecoveryAction")
383
- def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[builtins.str]]:
382
+ def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[_builtins.str]]:
384
383
  """
385
384
  Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
386
385
  APD event. Can be one of useClusterDefault, none or reset.
@@ -388,12 +387,12 @@ class _HaVmOverrideState:
388
387
  return pulumi.get(self, "ha_datastore_apd_recovery_action")
389
388
 
390
389
  @ha_datastore_apd_recovery_action.setter
391
- def ha_datastore_apd_recovery_action(self, value: Optional[pulumi.Input[builtins.str]]):
390
+ def ha_datastore_apd_recovery_action(self, value: Optional[pulumi.Input[_builtins.str]]):
392
391
  pulumi.set(self, "ha_datastore_apd_recovery_action", value)
393
392
 
394
- @property
393
+ @_builtins.property
395
394
  @pulumi.getter(name="haDatastoreApdResponse")
396
- def ha_datastore_apd_response(self) -> Optional[pulumi.Input[builtins.str]]:
395
+ def ha_datastore_apd_response(self) -> Optional[pulumi.Input[_builtins.str]]:
397
396
  """
398
397
  Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
399
398
  datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
@@ -401,12 +400,12 @@ class _HaVmOverrideState:
401
400
  return pulumi.get(self, "ha_datastore_apd_response")
402
401
 
403
402
  @ha_datastore_apd_response.setter
404
- def ha_datastore_apd_response(self, value: Optional[pulumi.Input[builtins.str]]):
403
+ def ha_datastore_apd_response(self, value: Optional[pulumi.Input[_builtins.str]]):
405
404
  pulumi.set(self, "ha_datastore_apd_response", value)
406
405
 
407
- @property
406
+ @_builtins.property
408
407
  @pulumi.getter(name="haDatastoreApdResponseDelay")
409
- def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[builtins.int]]:
408
+ def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[_builtins.int]]:
410
409
  """
411
410
  Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
412
411
  ha_datastore_apd_response. Specify -1 to use the cluster setting.
@@ -414,12 +413,12 @@ class _HaVmOverrideState:
414
413
  return pulumi.get(self, "ha_datastore_apd_response_delay")
415
414
 
416
415
  @ha_datastore_apd_response_delay.setter
417
- def ha_datastore_apd_response_delay(self, value: Optional[pulumi.Input[builtins.int]]):
416
+ def ha_datastore_apd_response_delay(self, value: Optional[pulumi.Input[_builtins.int]]):
418
417
  pulumi.set(self, "ha_datastore_apd_response_delay", value)
419
418
 
420
- @property
419
+ @_builtins.property
421
420
  @pulumi.getter(name="haDatastorePdlResponse")
422
- def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[builtins.str]]:
421
+ def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[_builtins.str]]:
423
422
  """
424
423
  Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
425
424
  datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
@@ -427,12 +426,12 @@ class _HaVmOverrideState:
427
426
  return pulumi.get(self, "ha_datastore_pdl_response")
428
427
 
429
428
  @ha_datastore_pdl_response.setter
430
- def ha_datastore_pdl_response(self, value: Optional[pulumi.Input[builtins.str]]):
429
+ def ha_datastore_pdl_response(self, value: Optional[pulumi.Input[_builtins.str]]):
431
430
  pulumi.set(self, "ha_datastore_pdl_response", value)
432
431
 
433
- @property
432
+ @_builtins.property
434
433
  @pulumi.getter(name="haHostIsolationResponse")
435
- def ha_host_isolation_response(self) -> Optional[pulumi.Input[builtins.str]]:
434
+ def ha_host_isolation_response(self) -> Optional[pulumi.Input[_builtins.str]]:
436
435
  """
437
436
  The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
438
437
  clusterIsolationResponse, none, powerOff, or shutdown.
@@ -440,12 +439,12 @@ class _HaVmOverrideState:
440
439
  return pulumi.get(self, "ha_host_isolation_response")
441
440
 
442
441
  @ha_host_isolation_response.setter
443
- def ha_host_isolation_response(self, value: Optional[pulumi.Input[builtins.str]]):
442
+ def ha_host_isolation_response(self, value: Optional[pulumi.Input[_builtins.str]]):
444
443
  pulumi.set(self, "ha_host_isolation_response", value)
445
444
 
446
- @property
445
+ @_builtins.property
447
446
  @pulumi.getter(name="haVmFailureInterval")
448
- def ha_vm_failure_interval(self) -> Optional[pulumi.Input[builtins.int]]:
447
+ def ha_vm_failure_interval(self) -> Optional[pulumi.Input[_builtins.int]]:
449
448
  """
450
449
  If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
451
450
  as failed. The value is in seconds.
@@ -453,12 +452,12 @@ class _HaVmOverrideState:
453
452
  return pulumi.get(self, "ha_vm_failure_interval")
454
453
 
455
454
  @ha_vm_failure_interval.setter
456
- def ha_vm_failure_interval(self, value: Optional[pulumi.Input[builtins.int]]):
455
+ def ha_vm_failure_interval(self, value: Optional[pulumi.Input[_builtins.int]]):
457
456
  pulumi.set(self, "ha_vm_failure_interval", value)
458
457
 
459
- @property
458
+ @_builtins.property
460
459
  @pulumi.getter(name="haVmMaximumFailureWindow")
461
- def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[builtins.int]]:
460
+ def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[_builtins.int]]:
462
461
  """
463
462
  The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
464
463
  attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
@@ -467,36 +466,36 @@ class _HaVmOverrideState:
467
466
  return pulumi.get(self, "ha_vm_maximum_failure_window")
468
467
 
469
468
  @ha_vm_maximum_failure_window.setter
470
- def ha_vm_maximum_failure_window(self, value: Optional[pulumi.Input[builtins.int]]):
469
+ def ha_vm_maximum_failure_window(self, value: Optional[pulumi.Input[_builtins.int]]):
471
470
  pulumi.set(self, "ha_vm_maximum_failure_window", value)
472
471
 
473
- @property
472
+ @_builtins.property
474
473
  @pulumi.getter(name="haVmMaximumResets")
475
- def ha_vm_maximum_resets(self) -> Optional[pulumi.Input[builtins.int]]:
474
+ def ha_vm_maximum_resets(self) -> Optional[pulumi.Input[_builtins.int]]:
476
475
  """
477
476
  The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
478
477
  """
479
478
  return pulumi.get(self, "ha_vm_maximum_resets")
480
479
 
481
480
  @ha_vm_maximum_resets.setter
482
- def ha_vm_maximum_resets(self, value: Optional[pulumi.Input[builtins.int]]):
481
+ def ha_vm_maximum_resets(self, value: Optional[pulumi.Input[_builtins.int]]):
483
482
  pulumi.set(self, "ha_vm_maximum_resets", value)
484
483
 
485
- @property
484
+ @_builtins.property
486
485
  @pulumi.getter(name="haVmMinimumUptime")
487
- def ha_vm_minimum_uptime(self) -> Optional[pulumi.Input[builtins.int]]:
486
+ def ha_vm_minimum_uptime(self) -> Optional[pulumi.Input[_builtins.int]]:
488
487
  """
489
488
  The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
490
489
  """
491
490
  return pulumi.get(self, "ha_vm_minimum_uptime")
492
491
 
493
492
  @ha_vm_minimum_uptime.setter
494
- def ha_vm_minimum_uptime(self, value: Optional[pulumi.Input[builtins.int]]):
493
+ def ha_vm_minimum_uptime(self, value: Optional[pulumi.Input[_builtins.int]]):
495
494
  pulumi.set(self, "ha_vm_minimum_uptime", value)
496
495
 
497
- @property
496
+ @_builtins.property
498
497
  @pulumi.getter(name="haVmMonitoring")
499
- def ha_vm_monitoring(self) -> Optional[pulumi.Input[builtins.str]]:
498
+ def ha_vm_monitoring(self) -> Optional[pulumi.Input[_builtins.str]]:
500
499
  """
501
500
  The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
502
501
  vmMonitoringOnly, or vmAndAppMonitoring.
@@ -504,12 +503,12 @@ class _HaVmOverrideState:
504
503
  return pulumi.get(self, "ha_vm_monitoring")
505
504
 
506
505
  @ha_vm_monitoring.setter
507
- def ha_vm_monitoring(self, value: Optional[pulumi.Input[builtins.str]]):
506
+ def ha_vm_monitoring(self, value: Optional[pulumi.Input[_builtins.str]]):
508
507
  pulumi.set(self, "ha_vm_monitoring", value)
509
508
 
510
- @property
509
+ @_builtins.property
511
510
  @pulumi.getter(name="haVmMonitoringUseClusterDefaults")
512
- def ha_vm_monitoring_use_cluster_defaults(self) -> Optional[pulumi.Input[builtins.bool]]:
511
+ def ha_vm_monitoring_use_cluster_defaults(self) -> Optional[pulumi.Input[_builtins.bool]]:
513
512
  """
514
513
  Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
515
514
  for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
@@ -517,12 +516,12 @@ class _HaVmOverrideState:
517
516
  return pulumi.get(self, "ha_vm_monitoring_use_cluster_defaults")
518
517
 
519
518
  @ha_vm_monitoring_use_cluster_defaults.setter
520
- def ha_vm_monitoring_use_cluster_defaults(self, value: Optional[pulumi.Input[builtins.bool]]):
519
+ def ha_vm_monitoring_use_cluster_defaults(self, value: Optional[pulumi.Input[_builtins.bool]]):
521
520
  pulumi.set(self, "ha_vm_monitoring_use_cluster_defaults", value)
522
521
 
523
- @property
522
+ @_builtins.property
524
523
  @pulumi.getter(name="haVmRestartPriority")
525
- def ha_vm_restart_priority(self) -> Optional[pulumi.Input[builtins.str]]:
524
+ def ha_vm_restart_priority(self) -> Optional[pulumi.Input[_builtins.str]]:
526
525
  """
527
526
  The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
528
527
  lowest, low, medium, high, or highest.
@@ -530,12 +529,12 @@ class _HaVmOverrideState:
530
529
  return pulumi.get(self, "ha_vm_restart_priority")
531
530
 
532
531
  @ha_vm_restart_priority.setter
533
- def ha_vm_restart_priority(self, value: Optional[pulumi.Input[builtins.str]]):
532
+ def ha_vm_restart_priority(self, value: Optional[pulumi.Input[_builtins.str]]):
534
533
  pulumi.set(self, "ha_vm_restart_priority", value)
535
534
 
536
- @property
535
+ @_builtins.property
537
536
  @pulumi.getter(name="haVmRestartTimeout")
538
- def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[builtins.int]]:
537
+ def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
539
538
  """
540
539
  The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
541
540
  default.
@@ -543,19 +542,19 @@ class _HaVmOverrideState:
543
542
  return pulumi.get(self, "ha_vm_restart_timeout")
544
543
 
545
544
  @ha_vm_restart_timeout.setter
546
- def ha_vm_restart_timeout(self, value: Optional[pulumi.Input[builtins.int]]):
545
+ def ha_vm_restart_timeout(self, value: Optional[pulumi.Input[_builtins.int]]):
547
546
  pulumi.set(self, "ha_vm_restart_timeout", value)
548
547
 
549
- @property
548
+ @_builtins.property
550
549
  @pulumi.getter(name="virtualMachineId")
551
- def virtual_machine_id(self) -> Optional[pulumi.Input[builtins.str]]:
550
+ def virtual_machine_id(self) -> Optional[pulumi.Input[_builtins.str]]:
552
551
  """
553
552
  The managed object ID of the virtual machine.
554
553
  """
555
554
  return pulumi.get(self, "virtual_machine_id")
556
555
 
557
556
  @virtual_machine_id.setter
558
- def virtual_machine_id(self, value: Optional[pulumi.Input[builtins.str]]):
557
+ def virtual_machine_id(self, value: Optional[pulumi.Input[_builtins.str]]):
559
558
  pulumi.set(self, "virtual_machine_id", value)
560
559
 
561
560
 
@@ -565,21 +564,21 @@ class HaVmOverride(pulumi.CustomResource):
565
564
  def __init__(__self__,
566
565
  resource_name: str,
567
566
  opts: Optional[pulumi.ResourceOptions] = None,
568
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
569
- ha_datastore_apd_recovery_action: Optional[pulumi.Input[builtins.str]] = None,
570
- ha_datastore_apd_response: Optional[pulumi.Input[builtins.str]] = None,
571
- ha_datastore_apd_response_delay: Optional[pulumi.Input[builtins.int]] = None,
572
- ha_datastore_pdl_response: Optional[pulumi.Input[builtins.str]] = None,
573
- ha_host_isolation_response: Optional[pulumi.Input[builtins.str]] = None,
574
- ha_vm_failure_interval: Optional[pulumi.Input[builtins.int]] = None,
575
- ha_vm_maximum_failure_window: Optional[pulumi.Input[builtins.int]] = None,
576
- ha_vm_maximum_resets: Optional[pulumi.Input[builtins.int]] = None,
577
- ha_vm_minimum_uptime: Optional[pulumi.Input[builtins.int]] = None,
578
- ha_vm_monitoring: Optional[pulumi.Input[builtins.str]] = None,
579
- ha_vm_monitoring_use_cluster_defaults: Optional[pulumi.Input[builtins.bool]] = None,
580
- ha_vm_restart_priority: Optional[pulumi.Input[builtins.str]] = None,
581
- ha_vm_restart_timeout: Optional[pulumi.Input[builtins.int]] = None,
582
- virtual_machine_id: Optional[pulumi.Input[builtins.str]] = None,
567
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
568
+ ha_datastore_apd_recovery_action: Optional[pulumi.Input[_builtins.str]] = None,
569
+ ha_datastore_apd_response: Optional[pulumi.Input[_builtins.str]] = None,
570
+ ha_datastore_apd_response_delay: Optional[pulumi.Input[_builtins.int]] = None,
571
+ ha_datastore_pdl_response: Optional[pulumi.Input[_builtins.str]] = None,
572
+ ha_host_isolation_response: Optional[pulumi.Input[_builtins.str]] = None,
573
+ ha_vm_failure_interval: Optional[pulumi.Input[_builtins.int]] = None,
574
+ ha_vm_maximum_failure_window: Optional[pulumi.Input[_builtins.int]] = None,
575
+ ha_vm_maximum_resets: Optional[pulumi.Input[_builtins.int]] = None,
576
+ ha_vm_minimum_uptime: Optional[pulumi.Input[_builtins.int]] = None,
577
+ ha_vm_monitoring: Optional[pulumi.Input[_builtins.str]] = None,
578
+ ha_vm_monitoring_use_cluster_defaults: Optional[pulumi.Input[_builtins.bool]] = None,
579
+ ha_vm_restart_priority: Optional[pulumi.Input[_builtins.str]] = None,
580
+ ha_vm_restart_timeout: Optional[pulumi.Input[_builtins.int]] = None,
581
+ virtual_machine_id: Optional[pulumi.Input[_builtins.str]] = None,
583
582
  __props__=None):
584
583
  """
585
584
  The `HaVmOverride` resource can be used to add an override for
@@ -665,33 +664,33 @@ class HaVmOverride(pulumi.CustomResource):
665
664
 
666
665
  :param str resource_name: The name of the resource.
667
666
  :param pulumi.ResourceOptions opts: Options for the resource.
668
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object ID of the cluster.
669
- :param pulumi.Input[builtins.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
667
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object ID of the cluster.
668
+ :param pulumi.Input[_builtins.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
670
669
  APD event. Can be one of useClusterDefault, none or reset.
671
- :param pulumi.Input[builtins.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
670
+ :param pulumi.Input[_builtins.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
672
671
  datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
673
- :param pulumi.Input[builtins.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
672
+ :param pulumi.Input[_builtins.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
674
673
  ha_datastore_apd_response. Specify -1 to use the cluster setting.
675
- :param pulumi.Input[builtins.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
674
+ :param pulumi.Input[_builtins.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
676
675
  datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
677
- :param pulumi.Input[builtins.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
676
+ :param pulumi.Input[_builtins.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
678
677
  clusterIsolationResponse, none, powerOff, or shutdown.
679
- :param pulumi.Input[builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
678
+ :param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
680
679
  as failed. The value is in seconds.
681
- :param pulumi.Input[builtins.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
680
+ :param pulumi.Input[_builtins.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
682
681
  attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
683
682
  time is allotted.
684
- :param pulumi.Input[builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
685
- :param pulumi.Input[builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
686
- :param pulumi.Input[builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
683
+ :param pulumi.Input[_builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
684
+ :param pulumi.Input[_builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
685
+ :param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
687
686
  vmMonitoringOnly, or vmAndAppMonitoring.
688
- :param pulumi.Input[builtins.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
687
+ :param pulumi.Input[_builtins.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
689
688
  for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
690
- :param pulumi.Input[builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
689
+ :param pulumi.Input[_builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
691
690
  lowest, low, medium, high, or highest.
692
- :param pulumi.Input[builtins.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
691
+ :param pulumi.Input[_builtins.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
693
692
  default.
694
- :param pulumi.Input[builtins.str] virtual_machine_id: The managed object ID of the virtual machine.
693
+ :param pulumi.Input[_builtins.str] virtual_machine_id: The managed object ID of the virtual machine.
695
694
  """
696
695
  ...
697
696
  @overload
@@ -796,21 +795,21 @@ class HaVmOverride(pulumi.CustomResource):
796
795
  def _internal_init(__self__,
797
796
  resource_name: str,
798
797
  opts: Optional[pulumi.ResourceOptions] = None,
799
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
800
- ha_datastore_apd_recovery_action: Optional[pulumi.Input[builtins.str]] = None,
801
- ha_datastore_apd_response: Optional[pulumi.Input[builtins.str]] = None,
802
- ha_datastore_apd_response_delay: Optional[pulumi.Input[builtins.int]] = None,
803
- ha_datastore_pdl_response: Optional[pulumi.Input[builtins.str]] = None,
804
- ha_host_isolation_response: Optional[pulumi.Input[builtins.str]] = None,
805
- ha_vm_failure_interval: Optional[pulumi.Input[builtins.int]] = None,
806
- ha_vm_maximum_failure_window: Optional[pulumi.Input[builtins.int]] = None,
807
- ha_vm_maximum_resets: Optional[pulumi.Input[builtins.int]] = None,
808
- ha_vm_minimum_uptime: Optional[pulumi.Input[builtins.int]] = None,
809
- ha_vm_monitoring: Optional[pulumi.Input[builtins.str]] = None,
810
- ha_vm_monitoring_use_cluster_defaults: Optional[pulumi.Input[builtins.bool]] = None,
811
- ha_vm_restart_priority: Optional[pulumi.Input[builtins.str]] = None,
812
- ha_vm_restart_timeout: Optional[pulumi.Input[builtins.int]] = None,
813
- virtual_machine_id: Optional[pulumi.Input[builtins.str]] = None,
798
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
799
+ ha_datastore_apd_recovery_action: Optional[pulumi.Input[_builtins.str]] = None,
800
+ ha_datastore_apd_response: Optional[pulumi.Input[_builtins.str]] = None,
801
+ ha_datastore_apd_response_delay: Optional[pulumi.Input[_builtins.int]] = None,
802
+ ha_datastore_pdl_response: Optional[pulumi.Input[_builtins.str]] = None,
803
+ ha_host_isolation_response: Optional[pulumi.Input[_builtins.str]] = None,
804
+ ha_vm_failure_interval: Optional[pulumi.Input[_builtins.int]] = None,
805
+ ha_vm_maximum_failure_window: Optional[pulumi.Input[_builtins.int]] = None,
806
+ ha_vm_maximum_resets: Optional[pulumi.Input[_builtins.int]] = None,
807
+ ha_vm_minimum_uptime: Optional[pulumi.Input[_builtins.int]] = None,
808
+ ha_vm_monitoring: Optional[pulumi.Input[_builtins.str]] = None,
809
+ ha_vm_monitoring_use_cluster_defaults: Optional[pulumi.Input[_builtins.bool]] = None,
810
+ ha_vm_restart_priority: Optional[pulumi.Input[_builtins.str]] = None,
811
+ ha_vm_restart_timeout: Optional[pulumi.Input[_builtins.int]] = None,
812
+ virtual_machine_id: Optional[pulumi.Input[_builtins.str]] = None,
814
813
  __props__=None):
815
814
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
816
815
  if not isinstance(opts, pulumi.ResourceOptions):
@@ -849,21 +848,21 @@ class HaVmOverride(pulumi.CustomResource):
849
848
  def get(resource_name: str,
850
849
  id: pulumi.Input[str],
851
850
  opts: Optional[pulumi.ResourceOptions] = None,
852
- compute_cluster_id: Optional[pulumi.Input[builtins.str]] = None,
853
- ha_datastore_apd_recovery_action: Optional[pulumi.Input[builtins.str]] = None,
854
- ha_datastore_apd_response: Optional[pulumi.Input[builtins.str]] = None,
855
- ha_datastore_apd_response_delay: Optional[pulumi.Input[builtins.int]] = None,
856
- ha_datastore_pdl_response: Optional[pulumi.Input[builtins.str]] = None,
857
- ha_host_isolation_response: Optional[pulumi.Input[builtins.str]] = None,
858
- ha_vm_failure_interval: Optional[pulumi.Input[builtins.int]] = None,
859
- ha_vm_maximum_failure_window: Optional[pulumi.Input[builtins.int]] = None,
860
- ha_vm_maximum_resets: Optional[pulumi.Input[builtins.int]] = None,
861
- ha_vm_minimum_uptime: Optional[pulumi.Input[builtins.int]] = None,
862
- ha_vm_monitoring: Optional[pulumi.Input[builtins.str]] = None,
863
- ha_vm_monitoring_use_cluster_defaults: Optional[pulumi.Input[builtins.bool]] = None,
864
- ha_vm_restart_priority: Optional[pulumi.Input[builtins.str]] = None,
865
- ha_vm_restart_timeout: Optional[pulumi.Input[builtins.int]] = None,
866
- virtual_machine_id: Optional[pulumi.Input[builtins.str]] = None) -> 'HaVmOverride':
851
+ compute_cluster_id: Optional[pulumi.Input[_builtins.str]] = None,
852
+ ha_datastore_apd_recovery_action: Optional[pulumi.Input[_builtins.str]] = None,
853
+ ha_datastore_apd_response: Optional[pulumi.Input[_builtins.str]] = None,
854
+ ha_datastore_apd_response_delay: Optional[pulumi.Input[_builtins.int]] = None,
855
+ ha_datastore_pdl_response: Optional[pulumi.Input[_builtins.str]] = None,
856
+ ha_host_isolation_response: Optional[pulumi.Input[_builtins.str]] = None,
857
+ ha_vm_failure_interval: Optional[pulumi.Input[_builtins.int]] = None,
858
+ ha_vm_maximum_failure_window: Optional[pulumi.Input[_builtins.int]] = None,
859
+ ha_vm_maximum_resets: Optional[pulumi.Input[_builtins.int]] = None,
860
+ ha_vm_minimum_uptime: Optional[pulumi.Input[_builtins.int]] = None,
861
+ ha_vm_monitoring: Optional[pulumi.Input[_builtins.str]] = None,
862
+ ha_vm_monitoring_use_cluster_defaults: Optional[pulumi.Input[_builtins.bool]] = None,
863
+ ha_vm_restart_priority: Optional[pulumi.Input[_builtins.str]] = None,
864
+ ha_vm_restart_timeout: Optional[pulumi.Input[_builtins.int]] = None,
865
+ virtual_machine_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'HaVmOverride':
867
866
  """
868
867
  Get an existing HaVmOverride resource's state with the given name, id, and optional extra
869
868
  properties used to qualify the lookup.
@@ -871,33 +870,33 @@ class HaVmOverride(pulumi.CustomResource):
871
870
  :param str resource_name: The unique name of the resulting resource.
872
871
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
873
872
  :param pulumi.ResourceOptions opts: Options for the resource.
874
- :param pulumi.Input[builtins.str] compute_cluster_id: The managed object ID of the cluster.
875
- :param pulumi.Input[builtins.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
873
+ :param pulumi.Input[_builtins.str] compute_cluster_id: The managed object ID of the cluster.
874
+ :param pulumi.Input[_builtins.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
876
875
  APD event. Can be one of useClusterDefault, none or reset.
877
- :param pulumi.Input[builtins.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
876
+ :param pulumi.Input[_builtins.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
878
877
  datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
879
- :param pulumi.Input[builtins.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
878
+ :param pulumi.Input[_builtins.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
880
879
  ha_datastore_apd_response. Specify -1 to use the cluster setting.
881
- :param pulumi.Input[builtins.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
880
+ :param pulumi.Input[_builtins.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
882
881
  datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
883
- :param pulumi.Input[builtins.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
882
+ :param pulumi.Input[_builtins.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
884
883
  clusterIsolationResponse, none, powerOff, or shutdown.
885
- :param pulumi.Input[builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
884
+ :param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
886
885
  as failed. The value is in seconds.
887
- :param pulumi.Input[builtins.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
886
+ :param pulumi.Input[_builtins.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
888
887
  attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
889
888
  time is allotted.
890
- :param pulumi.Input[builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
891
- :param pulumi.Input[builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
892
- :param pulumi.Input[builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
889
+ :param pulumi.Input[_builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
890
+ :param pulumi.Input[_builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
891
+ :param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
893
892
  vmMonitoringOnly, or vmAndAppMonitoring.
894
- :param pulumi.Input[builtins.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
893
+ :param pulumi.Input[_builtins.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
895
894
  for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
896
- :param pulumi.Input[builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
895
+ :param pulumi.Input[_builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
897
896
  lowest, low, medium, high, or highest.
898
- :param pulumi.Input[builtins.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
897
+ :param pulumi.Input[_builtins.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
899
898
  default.
900
- :param pulumi.Input[builtins.str] virtual_machine_id: The managed object ID of the virtual machine.
899
+ :param pulumi.Input[_builtins.str] virtual_machine_id: The managed object ID of the virtual machine.
901
900
  """
902
901
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
903
902
 
@@ -920,71 +919,71 @@ class HaVmOverride(pulumi.CustomResource):
920
919
  __props__.__dict__["virtual_machine_id"] = virtual_machine_id
921
920
  return HaVmOverride(resource_name, opts=opts, __props__=__props__)
922
921
 
923
- @property
922
+ @_builtins.property
924
923
  @pulumi.getter(name="computeClusterId")
925
- def compute_cluster_id(self) -> pulumi.Output[builtins.str]:
924
+ def compute_cluster_id(self) -> pulumi.Output[_builtins.str]:
926
925
  """
927
926
  The managed object ID of the cluster.
928
927
  """
929
928
  return pulumi.get(self, "compute_cluster_id")
930
929
 
931
- @property
930
+ @_builtins.property
932
931
  @pulumi.getter(name="haDatastoreApdRecoveryAction")
933
- def ha_datastore_apd_recovery_action(self) -> pulumi.Output[Optional[builtins.str]]:
932
+ def ha_datastore_apd_recovery_action(self) -> pulumi.Output[Optional[_builtins.str]]:
934
933
  """
935
934
  Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
936
935
  APD event. Can be one of useClusterDefault, none or reset.
937
936
  """
938
937
  return pulumi.get(self, "ha_datastore_apd_recovery_action")
939
938
 
940
- @property
939
+ @_builtins.property
941
940
  @pulumi.getter(name="haDatastoreApdResponse")
942
- def ha_datastore_apd_response(self) -> pulumi.Output[Optional[builtins.str]]:
941
+ def ha_datastore_apd_response(self) -> pulumi.Output[Optional[_builtins.str]]:
943
942
  """
944
943
  Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
945
944
  datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
946
945
  """
947
946
  return pulumi.get(self, "ha_datastore_apd_response")
948
947
 
949
- @property
948
+ @_builtins.property
950
949
  @pulumi.getter(name="haDatastoreApdResponseDelay")
951
- def ha_datastore_apd_response_delay(self) -> pulumi.Output[Optional[builtins.int]]:
950
+ def ha_datastore_apd_response_delay(self) -> pulumi.Output[Optional[_builtins.int]]:
952
951
  """
953
952
  Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
954
953
  ha_datastore_apd_response. Specify -1 to use the cluster setting.
955
954
  """
956
955
  return pulumi.get(self, "ha_datastore_apd_response_delay")
957
956
 
958
- @property
957
+ @_builtins.property
959
958
  @pulumi.getter(name="haDatastorePdlResponse")
960
- def ha_datastore_pdl_response(self) -> pulumi.Output[Optional[builtins.str]]:
959
+ def ha_datastore_pdl_response(self) -> pulumi.Output[Optional[_builtins.str]]:
961
960
  """
962
961
  Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
963
962
  datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
964
963
  """
965
964
  return pulumi.get(self, "ha_datastore_pdl_response")
966
965
 
967
- @property
966
+ @_builtins.property
968
967
  @pulumi.getter(name="haHostIsolationResponse")
969
- def ha_host_isolation_response(self) -> pulumi.Output[Optional[builtins.str]]:
968
+ def ha_host_isolation_response(self) -> pulumi.Output[Optional[_builtins.str]]:
970
969
  """
971
970
  The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
972
971
  clusterIsolationResponse, none, powerOff, or shutdown.
973
972
  """
974
973
  return pulumi.get(self, "ha_host_isolation_response")
975
974
 
976
- @property
975
+ @_builtins.property
977
976
  @pulumi.getter(name="haVmFailureInterval")
978
- def ha_vm_failure_interval(self) -> pulumi.Output[Optional[builtins.int]]:
977
+ def ha_vm_failure_interval(self) -> pulumi.Output[Optional[_builtins.int]]:
979
978
  """
980
979
  If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
981
980
  as failed. The value is in seconds.
982
981
  """
983
982
  return pulumi.get(self, "ha_vm_failure_interval")
984
983
 
985
- @property
984
+ @_builtins.property
986
985
  @pulumi.getter(name="haVmMaximumFailureWindow")
987
- def ha_vm_maximum_failure_window(self) -> pulumi.Output[Optional[builtins.int]]:
986
+ def ha_vm_maximum_failure_window(self) -> pulumi.Output[Optional[_builtins.int]]:
988
987
  """
989
988
  The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
990
989
  attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
@@ -992,61 +991,61 @@ class HaVmOverride(pulumi.CustomResource):
992
991
  """
993
992
  return pulumi.get(self, "ha_vm_maximum_failure_window")
994
993
 
995
- @property
994
+ @_builtins.property
996
995
  @pulumi.getter(name="haVmMaximumResets")
997
- def ha_vm_maximum_resets(self) -> pulumi.Output[Optional[builtins.int]]:
996
+ def ha_vm_maximum_resets(self) -> pulumi.Output[Optional[_builtins.int]]:
998
997
  """
999
998
  The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
1000
999
  """
1001
1000
  return pulumi.get(self, "ha_vm_maximum_resets")
1002
1001
 
1003
- @property
1002
+ @_builtins.property
1004
1003
  @pulumi.getter(name="haVmMinimumUptime")
1005
- def ha_vm_minimum_uptime(self) -> pulumi.Output[Optional[builtins.int]]:
1004
+ def ha_vm_minimum_uptime(self) -> pulumi.Output[Optional[_builtins.int]]:
1006
1005
  """
1007
1006
  The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
1008
1007
  """
1009
1008
  return pulumi.get(self, "ha_vm_minimum_uptime")
1010
1009
 
1011
- @property
1010
+ @_builtins.property
1012
1011
  @pulumi.getter(name="haVmMonitoring")
1013
- def ha_vm_monitoring(self) -> pulumi.Output[Optional[builtins.str]]:
1012
+ def ha_vm_monitoring(self) -> pulumi.Output[Optional[_builtins.str]]:
1014
1013
  """
1015
1014
  The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
1016
1015
  vmMonitoringOnly, or vmAndAppMonitoring.
1017
1016
  """
1018
1017
  return pulumi.get(self, "ha_vm_monitoring")
1019
1018
 
1020
- @property
1019
+ @_builtins.property
1021
1020
  @pulumi.getter(name="haVmMonitoringUseClusterDefaults")
1022
- def ha_vm_monitoring_use_cluster_defaults(self) -> pulumi.Output[Optional[builtins.bool]]:
1021
+ def ha_vm_monitoring_use_cluster_defaults(self) -> pulumi.Output[Optional[_builtins.bool]]:
1023
1022
  """
1024
1023
  Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
1025
1024
  for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
1026
1025
  """
1027
1026
  return pulumi.get(self, "ha_vm_monitoring_use_cluster_defaults")
1028
1027
 
1029
- @property
1028
+ @_builtins.property
1030
1029
  @pulumi.getter(name="haVmRestartPriority")
1031
- def ha_vm_restart_priority(self) -> pulumi.Output[Optional[builtins.str]]:
1030
+ def ha_vm_restart_priority(self) -> pulumi.Output[Optional[_builtins.str]]:
1032
1031
  """
1033
1032
  The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
1034
1033
  lowest, low, medium, high, or highest.
1035
1034
  """
1036
1035
  return pulumi.get(self, "ha_vm_restart_priority")
1037
1036
 
1038
- @property
1037
+ @_builtins.property
1039
1038
  @pulumi.getter(name="haVmRestartTimeout")
1040
- def ha_vm_restart_timeout(self) -> pulumi.Output[Optional[builtins.int]]:
1039
+ def ha_vm_restart_timeout(self) -> pulumi.Output[Optional[_builtins.int]]:
1041
1040
  """
1042
1041
  The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
1043
1042
  default.
1044
1043
  """
1045
1044
  return pulumi.get(self, "ha_vm_restart_timeout")
1046
1045
 
1047
- @property
1046
+ @_builtins.property
1048
1047
  @pulumi.getter(name="virtualMachineId")
1049
- def virtual_machine_id(self) -> pulumi.Output[builtins.str]:
1048
+ def virtual_machine_id(self) -> pulumi.Output[_builtins.str]:
1050
1049
  """
1051
1050
  The managed object ID of the virtual machine.
1052
1051
  """