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