pulumi-vsphere 4.16.0a1755919665__py3-none-any.whl → 4.17.0a1763072299__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.
- pulumi_vsphere/compute_cluster.py +203 -462
- pulumi_vsphere/datastore_cluster.py +35 -70
- pulumi_vsphere/distributed_port_group.py +21 -42
- pulumi_vsphere/distributed_virtual_switch.py +35 -70
- pulumi_vsphere/get_guest_os_customization.py +34 -0
- pulumi_vsphere/ha_vm_override.py +77 -161
- pulumi_vsphere/host_port_group.py +21 -42
- pulumi_vsphere/host_virtual_switch.py +21 -42
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/virtual_machine.py +91 -196
- {pulumi_vsphere-4.16.0a1755919665.dist-info → pulumi_vsphere-4.17.0a1763072299.dist-info}/METADATA +1 -1
- {pulumi_vsphere-4.16.0a1755919665.dist-info → pulumi_vsphere-4.17.0a1763072299.dist-info}/RECORD +14 -14
- {pulumi_vsphere-4.16.0a1755919665.dist-info → pulumi_vsphere-4.17.0a1763072299.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.16.0a1755919665.dist-info → pulumi_vsphere-4.17.0a1763072299.dist-info}/top_level.txt +0 -0
|
@@ -100,19 +100,14 @@ class ComputeClusterArgs:
|
|
|
100
100
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
101
101
|
and require vCenter Server.
|
|
102
102
|
:param pulumi.Input[_builtins.str] dpm_automation_level: The automation level for host power operations in this cluster. Can be one of manual or automated.
|
|
103
|
-
:param pulumi.Input[_builtins.bool] dpm_enabled: Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
104
|
-
|
|
105
|
-
:param pulumi.Input[_builtins.int] dpm_threshold: A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
106
|
-
affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
107
|
-
setting.
|
|
103
|
+
:param pulumi.Input[_builtins.bool] dpm_enabled: Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual machines in the cluster. Requires that DRS be enabled.
|
|
104
|
+
:param pulumi.Input[_builtins.int] dpm_threshold: A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher setting.
|
|
108
105
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] drs_advanced_options: Advanced configuration options for DRS and DPM.
|
|
109
|
-
:param pulumi.Input[_builtins.str] drs_automation_level: The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
110
|
-
fullyAutomated.
|
|
106
|
+
:param pulumi.Input[_builtins.str] drs_automation_level: The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or fullyAutomated.
|
|
111
107
|
:param pulumi.Input[_builtins.bool] drs_enable_predictive_drs: When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
|
|
112
108
|
:param pulumi.Input[_builtins.bool] drs_enable_vm_overrides: When true, allows individual VM overrides within this cluster to be set.
|
|
113
109
|
:param pulumi.Input[_builtins.bool] drs_enabled: Enable DRS for this cluster.
|
|
114
|
-
:param pulumi.Input[_builtins.int] drs_migration_threshold: A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
115
|
-
more imbalance while a higher setting will tolerate less.
|
|
110
|
+
:param pulumi.Input[_builtins.int] drs_migration_threshold: A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate more imbalance while a higher setting will tolerate less.
|
|
116
111
|
:param pulumi.Input[_builtins.str] drs_scale_descendants_shares: Enable scalable shares for all descendants of this cluster.
|
|
117
112
|
:param pulumi.Input[_builtins.str] folder: The relative path to a folder to put this cluster in.
|
|
118
113
|
This is a path relative to the datacenter you are deploying the cluster to.
|
|
@@ -120,67 +115,37 @@ class ComputeClusterArgs:
|
|
|
120
115
|
The provider will place a cluster named `compute-cluster-test` in a
|
|
121
116
|
host folder located at `/dc1/host/foo/bar`, with the final inventory path
|
|
122
117
|
being `/dc1/host/foo/bar/datastore-cluster-test`.
|
|
123
|
-
:param pulumi.Input[_builtins.bool] force_evacuate_on_destroy: Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
|
|
124
|
-
|
|
125
|
-
:param pulumi.Input[
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
:param pulumi.Input[_builtins.
|
|
129
|
-
|
|
130
|
-
:param pulumi.Input[_builtins.int]
|
|
131
|
-
warnings only, whereas a value of 100 disables the setting.
|
|
132
|
-
:param pulumi.Input[_builtins.str] ha_admission_control_policy: The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
|
|
133
|
-
permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
134
|
-
slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
|
|
135
|
-
issues.
|
|
136
|
-
:param pulumi.Input[_builtins.bool] ha_admission_control_resource_percentage_auto_compute: When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by
|
|
137
|
-
subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting
|
|
138
|
-
from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
139
|
-
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_cpu: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in
|
|
140
|
-
the cluster to reserve for failover.
|
|
141
|
-
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_memory: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
142
|
-
the cluster to reserve for failover.
|
|
118
|
+
:param pulumi.Input[_builtins.bool] force_evacuate_on_destroy: Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists for testing and is not recommended in normal use.
|
|
119
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ha_admission_control_failover_host_system_ids: When ha_admission_control_policy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS will ignore the host when making recommendations.
|
|
120
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_host_failure_tolerance: The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
121
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_performance_tolerance: The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces warnings only, whereas a value of 100 disables the setting.
|
|
122
|
+
:param pulumi.Input[_builtins.str] ha_admission_control_policy: The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage, slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service issues.
|
|
123
|
+
:param pulumi.Input[_builtins.bool] ha_admission_control_resource_percentage_auto_compute: When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
124
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_cpu: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in the cluster to reserve for failover.
|
|
125
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_memory: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in the cluster to reserve for failover.
|
|
143
126
|
:param pulumi.Input[_builtins.int] ha_admission_control_slot_policy_explicit_cpu: When ha_admission_control_policy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
|
|
144
127
|
:param pulumi.Input[_builtins.int] ha_admission_control_slot_policy_explicit_memory: When ha_admission_control_policy is slotPolicy, this controls the user-defined memory slot size, in MB.
|
|
145
|
-
:param pulumi.Input[_builtins.bool] ha_admission_control_slot_policy_use_explicit_size: When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values
|
|
146
|
-
to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
147
|
-
currently in the cluster.
|
|
128
|
+
:param pulumi.Input[_builtins.bool] ha_admission_control_slot_policy_use_explicit_size: When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines currently in the cluster.
|
|
148
129
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] ha_advanced_options: Advanced configuration options for vSphere HA.
|
|
149
|
-
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an
|
|
150
|
-
|
|
151
|
-
:param pulumi.Input[_builtins.
|
|
152
|
-
|
|
153
|
-
restartAggressive.
|
|
154
|
-
:param pulumi.Input[_builtins.int] ha_datastore_apd_response_delay: When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute
|
|
155
|
-
the response action defined in ha_datastore_apd_response.
|
|
156
|
-
:param pulumi.Input[_builtins.str] ha_datastore_pdl_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
157
|
-
detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
130
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
131
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
|
|
132
|
+
:param pulumi.Input[_builtins.int] ha_datastore_apd_response_delay: When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response.
|
|
133
|
+
:param pulumi.Input[_builtins.str] ha_datastore_pdl_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
158
134
|
:param pulumi.Input[_builtins.bool] ha_enabled: Enable vSphere HA for this cluster.
|
|
159
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ha_heartbeat_datastore_ids: The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
|
|
160
|
-
|
|
161
|
-
:param pulumi.Input[_builtins.str]
|
|
162
|
-
allFeasibleDsWithUserPreference.
|
|
163
|
-
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
|
|
164
|
-
Can be one of none, powerOff, or shutdown.
|
|
135
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ha_heartbeat_datastore_ids: The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
136
|
+
:param pulumi.Input[_builtins.str] ha_heartbeat_datastore_policy: The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or allFeasibleDsWithUserPreference.
|
|
137
|
+
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster. Can be one of none, powerOff, or shutdown.
|
|
165
138
|
:param pulumi.Input[_builtins.str] ha_host_monitoring: Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
|
|
166
|
-
:param pulumi.Input[_builtins.str] ha_vm_component_protection: Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
167
|
-
|
|
168
|
-
:param pulumi.Input[_builtins.
|
|
169
|
-
|
|
170
|
-
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
|
|
171
|
-
failed. The value is in seconds.
|
|
172
|
-
: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
|
|
173
|
-
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
174
|
-
time is allotted.
|
|
139
|
+
:param pulumi.Input[_builtins.str] ha_vm_component_protection: Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
140
|
+
:param pulumi.Input[_builtins.str] ha_vm_dependency_restart_condition: The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
141
|
+
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
|
|
142
|
+
: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.
|
|
175
143
|
:param pulumi.Input[_builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
|
|
176
144
|
:param pulumi.Input[_builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
|
|
177
|
-
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
178
|
-
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
145
|
+
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
|
|
179
146
|
:param pulumi.Input[_builtins.int] ha_vm_restart_additional_delay: Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
|
|
180
|
-
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
|
|
181
|
-
|
|
182
|
-
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
|
|
183
|
-
proceeding with the next priority.
|
|
147
|
+
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium, high, or highest.
|
|
148
|
+
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before proceeding with the next priority.
|
|
184
149
|
:param pulumi.Input[_builtins.int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
185
150
|
:param pulumi.Input['ComputeClusterHostImageArgs'] host_image: Details about the host image which should be applied to the cluster.
|
|
186
151
|
:param pulumi.Input[_builtins.bool] host_managed: Must be set if cluster enrollment is managed from host resource.
|
|
@@ -188,11 +153,9 @@ class ComputeClusterArgs:
|
|
|
188
153
|
:param pulumi.Input[_builtins.str] name: The name of the cluster.
|
|
189
154
|
:param pulumi.Input[_builtins.str] proactive_ha_automation_level: The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
190
155
|
:param pulumi.Input[_builtins.bool] proactive_ha_enabled: Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
|
|
191
|
-
:param pulumi.Input[_builtins.str] proactive_ha_moderate_remediation: The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
192
|
-
this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
156
|
+
:param pulumi.Input[_builtins.str] proactive_ha_moderate_remediation: The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
193
157
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] proactive_ha_provider_ids: The list of IDs for health update providers configured for this cluster.
|
|
194
|
-
:param pulumi.Input[_builtins.str] proactive_ha_severe_remediation: The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
195
|
-
cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
158
|
+
:param pulumi.Input[_builtins.str] proactive_ha_severe_remediation: The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
196
159
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
197
160
|
:param pulumi.Input[_builtins.bool] vsan_compression_enabled: Whether the vSAN compression service is enabled for the cluster.
|
|
198
161
|
:param pulumi.Input[_builtins.bool] vsan_dedup_enabled: Whether the vSAN deduplication service is enabled for the cluster.
|
|
@@ -392,8 +355,7 @@ class ComputeClusterArgs:
|
|
|
392
355
|
@pulumi.getter(name="dpmEnabled")
|
|
393
356
|
def dpm_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
394
357
|
"""
|
|
395
|
-
Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
396
|
-
machines in the cluster. Requires that DRS be enabled.
|
|
358
|
+
Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual machines in the cluster. Requires that DRS be enabled.
|
|
397
359
|
"""
|
|
398
360
|
return pulumi.get(self, "dpm_enabled")
|
|
399
361
|
|
|
@@ -405,9 +367,7 @@ class ComputeClusterArgs:
|
|
|
405
367
|
@pulumi.getter(name="dpmThreshold")
|
|
406
368
|
def dpm_threshold(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
407
369
|
"""
|
|
408
|
-
A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
409
|
-
affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
410
|
-
setting.
|
|
370
|
+
A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher setting.
|
|
411
371
|
"""
|
|
412
372
|
return pulumi.get(self, "dpm_threshold")
|
|
413
373
|
|
|
@@ -431,8 +391,7 @@ class ComputeClusterArgs:
|
|
|
431
391
|
@pulumi.getter(name="drsAutomationLevel")
|
|
432
392
|
def drs_automation_level(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
433
393
|
"""
|
|
434
|
-
The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
435
|
-
fullyAutomated.
|
|
394
|
+
The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or fullyAutomated.
|
|
436
395
|
"""
|
|
437
396
|
return pulumi.get(self, "drs_automation_level")
|
|
438
397
|
|
|
@@ -480,8 +439,7 @@ class ComputeClusterArgs:
|
|
|
480
439
|
@pulumi.getter(name="drsMigrationThreshold")
|
|
481
440
|
def drs_migration_threshold(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
482
441
|
"""
|
|
483
|
-
A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
484
|
-
more imbalance while a higher setting will tolerate less.
|
|
442
|
+
A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate more imbalance while a higher setting will tolerate less.
|
|
485
443
|
"""
|
|
486
444
|
return pulumi.get(self, "drs_migration_threshold")
|
|
487
445
|
|
|
@@ -522,8 +480,7 @@ class ComputeClusterArgs:
|
|
|
522
480
|
@pulumi.getter(name="forceEvacuateOnDestroy")
|
|
523
481
|
def force_evacuate_on_destroy(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
524
482
|
"""
|
|
525
|
-
Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
|
|
526
|
-
for testing and is not recommended in normal use.
|
|
483
|
+
Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists for testing and is not recommended in normal use.
|
|
527
484
|
"""
|
|
528
485
|
return pulumi.get(self, "force_evacuate_on_destroy")
|
|
529
486
|
|
|
@@ -535,9 +492,7 @@ class ComputeClusterArgs:
|
|
|
535
492
|
@pulumi.getter(name="haAdmissionControlFailoverHostSystemIds")
|
|
536
493
|
def ha_admission_control_failover_host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
537
494
|
"""
|
|
538
|
-
When ha_admission_control_policy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated
|
|
539
|
-
failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
|
|
540
|
-
will ignore the host when making recommendations.
|
|
495
|
+
When ha_admission_control_policy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS will ignore the host when making recommendations.
|
|
541
496
|
"""
|
|
542
497
|
return pulumi.get(self, "ha_admission_control_failover_host_system_ids")
|
|
543
498
|
|
|
@@ -549,8 +504,7 @@ class ComputeClusterArgs:
|
|
|
549
504
|
@pulumi.getter(name="haAdmissionControlHostFailureTolerance")
|
|
550
505
|
def ha_admission_control_host_failure_tolerance(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
551
506
|
"""
|
|
552
|
-
The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual
|
|
553
|
-
machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
507
|
+
The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
554
508
|
"""
|
|
555
509
|
return pulumi.get(self, "ha_admission_control_host_failure_tolerance")
|
|
556
510
|
|
|
@@ -562,8 +516,7 @@ class ComputeClusterArgs:
|
|
|
562
516
|
@pulumi.getter(name="haAdmissionControlPerformanceTolerance")
|
|
563
517
|
def ha_admission_control_performance_tolerance(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
564
518
|
"""
|
|
565
|
-
The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces
|
|
566
|
-
warnings only, whereas a value of 100 disables the setting.
|
|
519
|
+
The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces warnings only, whereas a value of 100 disables the setting.
|
|
567
520
|
"""
|
|
568
521
|
return pulumi.get(self, "ha_admission_control_performance_tolerance")
|
|
569
522
|
|
|
@@ -575,10 +528,7 @@ class ComputeClusterArgs:
|
|
|
575
528
|
@pulumi.getter(name="haAdmissionControlPolicy")
|
|
576
529
|
def ha_admission_control_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
577
530
|
"""
|
|
578
|
-
The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
|
|
579
|
-
permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
580
|
-
slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
|
|
581
|
-
issues.
|
|
531
|
+
The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage, slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service issues.
|
|
582
532
|
"""
|
|
583
533
|
return pulumi.get(self, "ha_admission_control_policy")
|
|
584
534
|
|
|
@@ -590,9 +540,7 @@ class ComputeClusterArgs:
|
|
|
590
540
|
@pulumi.getter(name="haAdmissionControlResourcePercentageAutoCompute")
|
|
591
541
|
def ha_admission_control_resource_percentage_auto_compute(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
592
542
|
"""
|
|
593
|
-
When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by
|
|
594
|
-
subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting
|
|
595
|
-
from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
543
|
+
When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
596
544
|
"""
|
|
597
545
|
return pulumi.get(self, "ha_admission_control_resource_percentage_auto_compute")
|
|
598
546
|
|
|
@@ -604,8 +552,7 @@ class ComputeClusterArgs:
|
|
|
604
552
|
@pulumi.getter(name="haAdmissionControlResourcePercentageCpu")
|
|
605
553
|
def ha_admission_control_resource_percentage_cpu(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
606
554
|
"""
|
|
607
|
-
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in
|
|
608
|
-
the cluster to reserve for failover.
|
|
555
|
+
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in the cluster to reserve for failover.
|
|
609
556
|
"""
|
|
610
557
|
return pulumi.get(self, "ha_admission_control_resource_percentage_cpu")
|
|
611
558
|
|
|
@@ -617,8 +564,7 @@ class ComputeClusterArgs:
|
|
|
617
564
|
@pulumi.getter(name="haAdmissionControlResourcePercentageMemory")
|
|
618
565
|
def ha_admission_control_resource_percentage_memory(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
619
566
|
"""
|
|
620
|
-
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
621
|
-
the cluster to reserve for failover.
|
|
567
|
+
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in the cluster to reserve for failover.
|
|
622
568
|
"""
|
|
623
569
|
return pulumi.get(self, "ha_admission_control_resource_percentage_memory")
|
|
624
570
|
|
|
@@ -654,9 +600,7 @@ class ComputeClusterArgs:
|
|
|
654
600
|
@pulumi.getter(name="haAdmissionControlSlotPolicyUseExplicitSize")
|
|
655
601
|
def ha_admission_control_slot_policy_use_explicit_size(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
656
602
|
"""
|
|
657
|
-
When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values
|
|
658
|
-
to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
659
|
-
currently in the cluster.
|
|
603
|
+
When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines currently in the cluster.
|
|
660
604
|
"""
|
|
661
605
|
return pulumi.get(self, "ha_admission_control_slot_policy_use_explicit_size")
|
|
662
606
|
|
|
@@ -680,8 +624,7 @@ class ComputeClusterArgs:
|
|
|
680
624
|
@pulumi.getter(name="haDatastoreApdRecoveryAction")
|
|
681
625
|
def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
682
626
|
"""
|
|
683
|
-
When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an
|
|
684
|
-
affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
627
|
+
When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
685
628
|
"""
|
|
686
629
|
return pulumi.get(self, "ha_datastore_apd_recovery_action")
|
|
687
630
|
|
|
@@ -693,9 +636,7 @@ class ComputeClusterArgs:
|
|
|
693
636
|
@pulumi.getter(name="haDatastoreApdResponse")
|
|
694
637
|
def ha_datastore_apd_response(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
695
638
|
"""
|
|
696
|
-
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
697
|
-
detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or
|
|
698
|
-
restartAggressive.
|
|
639
|
+
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
|
|
699
640
|
"""
|
|
700
641
|
return pulumi.get(self, "ha_datastore_apd_response")
|
|
701
642
|
|
|
@@ -707,8 +648,7 @@ class ComputeClusterArgs:
|
|
|
707
648
|
@pulumi.getter(name="haDatastoreApdResponseDelay")
|
|
708
649
|
def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
709
650
|
"""
|
|
710
|
-
When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute
|
|
711
|
-
the response action defined in ha_datastore_apd_response.
|
|
651
|
+
When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response.
|
|
712
652
|
"""
|
|
713
653
|
return pulumi.get(self, "ha_datastore_apd_response_delay")
|
|
714
654
|
|
|
@@ -720,8 +660,7 @@ class ComputeClusterArgs:
|
|
|
720
660
|
@pulumi.getter(name="haDatastorePdlResponse")
|
|
721
661
|
def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
722
662
|
"""
|
|
723
|
-
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
724
|
-
detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
663
|
+
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
725
664
|
"""
|
|
726
665
|
return pulumi.get(self, "ha_datastore_pdl_response")
|
|
727
666
|
|
|
@@ -745,8 +684,7 @@ class ComputeClusterArgs:
|
|
|
745
684
|
@pulumi.getter(name="haHeartbeatDatastoreIds")
|
|
746
685
|
def ha_heartbeat_datastore_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
747
686
|
"""
|
|
748
|
-
The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
|
|
749
|
-
ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
687
|
+
The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
750
688
|
"""
|
|
751
689
|
return pulumi.get(self, "ha_heartbeat_datastore_ids")
|
|
752
690
|
|
|
@@ -758,8 +696,7 @@ class ComputeClusterArgs:
|
|
|
758
696
|
@pulumi.getter(name="haHeartbeatDatastorePolicy")
|
|
759
697
|
def ha_heartbeat_datastore_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
760
698
|
"""
|
|
761
|
-
The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
762
|
-
allFeasibleDsWithUserPreference.
|
|
699
|
+
The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or allFeasibleDsWithUserPreference.
|
|
763
700
|
"""
|
|
764
701
|
return pulumi.get(self, "ha_heartbeat_datastore_policy")
|
|
765
702
|
|
|
@@ -771,8 +708,7 @@ class ComputeClusterArgs:
|
|
|
771
708
|
@pulumi.getter(name="haHostIsolationResponse")
|
|
772
709
|
def ha_host_isolation_response(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
773
710
|
"""
|
|
774
|
-
The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
|
|
775
|
-
Can be one of none, powerOff, or shutdown.
|
|
711
|
+
The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster. Can be one of none, powerOff, or shutdown.
|
|
776
712
|
"""
|
|
777
713
|
return pulumi.get(self, "ha_host_isolation_response")
|
|
778
714
|
|
|
@@ -796,8 +732,7 @@ class ComputeClusterArgs:
|
|
|
796
732
|
@pulumi.getter(name="haVmComponentProtection")
|
|
797
733
|
def ha_vm_component_protection(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
798
734
|
"""
|
|
799
|
-
Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
800
|
-
failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
735
|
+
Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
801
736
|
"""
|
|
802
737
|
return pulumi.get(self, "ha_vm_component_protection")
|
|
803
738
|
|
|
@@ -809,8 +744,7 @@ class ComputeClusterArgs:
|
|
|
809
744
|
@pulumi.getter(name="haVmDependencyRestartCondition")
|
|
810
745
|
def ha_vm_dependency_restart_condition(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
811
746
|
"""
|
|
812
|
-
The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move
|
|
813
|
-
on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
747
|
+
The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
814
748
|
"""
|
|
815
749
|
return pulumi.get(self, "ha_vm_dependency_restart_condition")
|
|
816
750
|
|
|
@@ -822,8 +756,7 @@ class ComputeClusterArgs:
|
|
|
822
756
|
@pulumi.getter(name="haVmFailureInterval")
|
|
823
757
|
def ha_vm_failure_interval(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
824
758
|
"""
|
|
825
|
-
If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
|
|
826
|
-
failed. The value is in seconds.
|
|
759
|
+
If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
|
|
827
760
|
"""
|
|
828
761
|
return pulumi.get(self, "ha_vm_failure_interval")
|
|
829
762
|
|
|
@@ -835,9 +768,7 @@ class ComputeClusterArgs:
|
|
|
835
768
|
@pulumi.getter(name="haVmMaximumFailureWindow")
|
|
836
769
|
def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
837
770
|
"""
|
|
838
|
-
The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
839
|
-
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
840
|
-
time is allotted.
|
|
771
|
+
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.
|
|
841
772
|
"""
|
|
842
773
|
return pulumi.get(self, "ha_vm_maximum_failure_window")
|
|
843
774
|
|
|
@@ -873,8 +804,7 @@ class ComputeClusterArgs:
|
|
|
873
804
|
@pulumi.getter(name="haVmMonitoring")
|
|
874
805
|
def ha_vm_monitoring(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
875
806
|
"""
|
|
876
|
-
The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
877
|
-
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
807
|
+
The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
|
|
878
808
|
"""
|
|
879
809
|
return pulumi.get(self, "ha_vm_monitoring")
|
|
880
810
|
|
|
@@ -898,8 +828,7 @@ class ComputeClusterArgs:
|
|
|
898
828
|
@pulumi.getter(name="haVmRestartPriority")
|
|
899
829
|
def ha_vm_restart_priority(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
900
830
|
"""
|
|
901
|
-
The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
|
|
902
|
-
high, or highest.
|
|
831
|
+
The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium, high, or highest.
|
|
903
832
|
"""
|
|
904
833
|
return pulumi.get(self, "ha_vm_restart_priority")
|
|
905
834
|
|
|
@@ -911,8 +840,7 @@ class ComputeClusterArgs:
|
|
|
911
840
|
@pulumi.getter(name="haVmRestartTimeout")
|
|
912
841
|
def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
913
842
|
"""
|
|
914
|
-
The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
|
|
915
|
-
proceeding with the next priority.
|
|
843
|
+
The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before proceeding with the next priority.
|
|
916
844
|
"""
|
|
917
845
|
return pulumi.get(self, "ha_vm_restart_timeout")
|
|
918
846
|
|
|
@@ -1008,8 +936,7 @@ class ComputeClusterArgs:
|
|
|
1008
936
|
@pulumi.getter(name="proactiveHaModerateRemediation")
|
|
1009
937
|
def proactive_ha_moderate_remediation(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1010
938
|
"""
|
|
1011
|
-
The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
1012
|
-
this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
939
|
+
The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
1013
940
|
"""
|
|
1014
941
|
return pulumi.get(self, "proactive_ha_moderate_remediation")
|
|
1015
942
|
|
|
@@ -1033,8 +960,7 @@ class ComputeClusterArgs:
|
|
|
1033
960
|
@pulumi.getter(name="proactiveHaSevereRemediation")
|
|
1034
961
|
def proactive_ha_severe_remediation(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1035
962
|
"""
|
|
1036
|
-
The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
1037
|
-
cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
963
|
+
The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
1038
964
|
"""
|
|
1039
965
|
return pulumi.get(self, "proactive_ha_severe_remediation")
|
|
1040
966
|
|
|
@@ -1306,19 +1232,14 @@ class _ComputeClusterState:
|
|
|
1306
1232
|
:param pulumi.Input[_builtins.str] datacenter_id: The managed object ID of
|
|
1307
1233
|
the datacenter to create the cluster in. Forces a new resource if changed.
|
|
1308
1234
|
:param pulumi.Input[_builtins.str] dpm_automation_level: The automation level for host power operations in this cluster. Can be one of manual or automated.
|
|
1309
|
-
:param pulumi.Input[_builtins.bool] dpm_enabled: Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
1310
|
-
|
|
1311
|
-
:param pulumi.Input[_builtins.int] dpm_threshold: A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
1312
|
-
affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
1313
|
-
setting.
|
|
1235
|
+
:param pulumi.Input[_builtins.bool] dpm_enabled: Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual machines in the cluster. Requires that DRS be enabled.
|
|
1236
|
+
:param pulumi.Input[_builtins.int] dpm_threshold: A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher setting.
|
|
1314
1237
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] drs_advanced_options: Advanced configuration options for DRS and DPM.
|
|
1315
|
-
:param pulumi.Input[_builtins.str] drs_automation_level: The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
1316
|
-
fullyAutomated.
|
|
1238
|
+
:param pulumi.Input[_builtins.str] drs_automation_level: The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or fullyAutomated.
|
|
1317
1239
|
:param pulumi.Input[_builtins.bool] drs_enable_predictive_drs: When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
|
|
1318
1240
|
:param pulumi.Input[_builtins.bool] drs_enable_vm_overrides: When true, allows individual VM overrides within this cluster to be set.
|
|
1319
1241
|
:param pulumi.Input[_builtins.bool] drs_enabled: Enable DRS for this cluster.
|
|
1320
|
-
:param pulumi.Input[_builtins.int] drs_migration_threshold: A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
1321
|
-
more imbalance while a higher setting will tolerate less.
|
|
1242
|
+
:param pulumi.Input[_builtins.int] drs_migration_threshold: A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate more imbalance while a higher setting will tolerate less.
|
|
1322
1243
|
:param pulumi.Input[_builtins.str] drs_scale_descendants_shares: Enable scalable shares for all descendants of this cluster.
|
|
1323
1244
|
:param pulumi.Input[_builtins.str] folder: The relative path to a folder to put this cluster in.
|
|
1324
1245
|
This is a path relative to the datacenter you are deploying the cluster to.
|
|
@@ -1326,67 +1247,37 @@ class _ComputeClusterState:
|
|
|
1326
1247
|
The provider will place a cluster named `compute-cluster-test` in a
|
|
1327
1248
|
host folder located at `/dc1/host/foo/bar`, with the final inventory path
|
|
1328
1249
|
being `/dc1/host/foo/bar/datastore-cluster-test`.
|
|
1329
|
-
:param pulumi.Input[_builtins.bool] force_evacuate_on_destroy: Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
|
|
1330
|
-
|
|
1331
|
-
:param pulumi.Input[
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
:param pulumi.Input[_builtins.
|
|
1335
|
-
|
|
1336
|
-
:param pulumi.Input[_builtins.int]
|
|
1337
|
-
warnings only, whereas a value of 100 disables the setting.
|
|
1338
|
-
:param pulumi.Input[_builtins.str] ha_admission_control_policy: The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
|
|
1339
|
-
permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
1340
|
-
slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
|
|
1341
|
-
issues.
|
|
1342
|
-
:param pulumi.Input[_builtins.bool] ha_admission_control_resource_percentage_auto_compute: When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by
|
|
1343
|
-
subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting
|
|
1344
|
-
from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
1345
|
-
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_cpu: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in
|
|
1346
|
-
the cluster to reserve for failover.
|
|
1347
|
-
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_memory: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
1348
|
-
the cluster to reserve for failover.
|
|
1250
|
+
:param pulumi.Input[_builtins.bool] force_evacuate_on_destroy: Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists for testing and is not recommended in normal use.
|
|
1251
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ha_admission_control_failover_host_system_ids: When ha_admission_control_policy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS will ignore the host when making recommendations.
|
|
1252
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_host_failure_tolerance: The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
1253
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_performance_tolerance: The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces warnings only, whereas a value of 100 disables the setting.
|
|
1254
|
+
:param pulumi.Input[_builtins.str] ha_admission_control_policy: The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage, slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service issues.
|
|
1255
|
+
:param pulumi.Input[_builtins.bool] ha_admission_control_resource_percentage_auto_compute: When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
1256
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_cpu: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in the cluster to reserve for failover.
|
|
1257
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_memory: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in the cluster to reserve for failover.
|
|
1349
1258
|
:param pulumi.Input[_builtins.int] ha_admission_control_slot_policy_explicit_cpu: When ha_admission_control_policy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
|
|
1350
1259
|
:param pulumi.Input[_builtins.int] ha_admission_control_slot_policy_explicit_memory: When ha_admission_control_policy is slotPolicy, this controls the user-defined memory slot size, in MB.
|
|
1351
|
-
:param pulumi.Input[_builtins.bool] ha_admission_control_slot_policy_use_explicit_size: When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values
|
|
1352
|
-
to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
1353
|
-
currently in the cluster.
|
|
1260
|
+
:param pulumi.Input[_builtins.bool] ha_admission_control_slot_policy_use_explicit_size: When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines currently in the cluster.
|
|
1354
1261
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] ha_advanced_options: Advanced configuration options for vSphere HA.
|
|
1355
|
-
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an
|
|
1356
|
-
|
|
1357
|
-
:param pulumi.Input[_builtins.
|
|
1358
|
-
|
|
1359
|
-
restartAggressive.
|
|
1360
|
-
:param pulumi.Input[_builtins.int] ha_datastore_apd_response_delay: When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute
|
|
1361
|
-
the response action defined in ha_datastore_apd_response.
|
|
1362
|
-
:param pulumi.Input[_builtins.str] ha_datastore_pdl_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
1363
|
-
detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
1262
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
1263
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
|
|
1264
|
+
:param pulumi.Input[_builtins.int] ha_datastore_apd_response_delay: When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response.
|
|
1265
|
+
:param pulumi.Input[_builtins.str] ha_datastore_pdl_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
1364
1266
|
:param pulumi.Input[_builtins.bool] ha_enabled: Enable vSphere HA for this cluster.
|
|
1365
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ha_heartbeat_datastore_ids: The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
|
|
1366
|
-
|
|
1367
|
-
:param pulumi.Input[_builtins.str]
|
|
1368
|
-
allFeasibleDsWithUserPreference.
|
|
1369
|
-
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
|
|
1370
|
-
Can be one of none, powerOff, or shutdown.
|
|
1267
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ha_heartbeat_datastore_ids: The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
1268
|
+
:param pulumi.Input[_builtins.str] ha_heartbeat_datastore_policy: The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or allFeasibleDsWithUserPreference.
|
|
1269
|
+
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster. Can be one of none, powerOff, or shutdown.
|
|
1371
1270
|
:param pulumi.Input[_builtins.str] ha_host_monitoring: Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
|
|
1372
|
-
:param pulumi.Input[_builtins.str] ha_vm_component_protection: Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
1373
|
-
|
|
1374
|
-
:param pulumi.Input[_builtins.
|
|
1375
|
-
|
|
1376
|
-
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
|
|
1377
|
-
failed. The value is in seconds.
|
|
1378
|
-
: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
|
|
1379
|
-
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
1380
|
-
time is allotted.
|
|
1271
|
+
:param pulumi.Input[_builtins.str] ha_vm_component_protection: Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
1272
|
+
:param pulumi.Input[_builtins.str] ha_vm_dependency_restart_condition: The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
1273
|
+
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
|
|
1274
|
+
: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.
|
|
1381
1275
|
:param pulumi.Input[_builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
|
|
1382
1276
|
:param pulumi.Input[_builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
|
|
1383
|
-
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
1384
|
-
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
1277
|
+
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
|
|
1385
1278
|
:param pulumi.Input[_builtins.int] ha_vm_restart_additional_delay: Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
|
|
1386
|
-
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
|
|
1387
|
-
|
|
1388
|
-
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
|
|
1389
|
-
proceeding with the next priority.
|
|
1279
|
+
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium, high, or highest.
|
|
1280
|
+
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before proceeding with the next priority.
|
|
1390
1281
|
:param pulumi.Input[_builtins.int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
1391
1282
|
:param pulumi.Input['ComputeClusterHostImageArgs'] host_image: Details about the host image which should be applied to the cluster.
|
|
1392
1283
|
:param pulumi.Input[_builtins.bool] host_managed: Must be set if cluster enrollment is managed from host resource.
|
|
@@ -1394,11 +1285,9 @@ class _ComputeClusterState:
|
|
|
1394
1285
|
:param pulumi.Input[_builtins.str] name: The name of the cluster.
|
|
1395
1286
|
:param pulumi.Input[_builtins.str] proactive_ha_automation_level: The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
1396
1287
|
:param pulumi.Input[_builtins.bool] proactive_ha_enabled: Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
|
|
1397
|
-
:param pulumi.Input[_builtins.str] proactive_ha_moderate_remediation: The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
1398
|
-
this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
1288
|
+
:param pulumi.Input[_builtins.str] proactive_ha_moderate_remediation: The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
1399
1289
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] proactive_ha_provider_ids: The list of IDs for health update providers configured for this cluster.
|
|
1400
|
-
:param pulumi.Input[_builtins.str] proactive_ha_severe_remediation: The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
1401
|
-
cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
1290
|
+
:param pulumi.Input[_builtins.str] proactive_ha_severe_remediation: The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
1402
1291
|
:param pulumi.Input[_builtins.str] resource_pool_id: The managed object ID of the primary
|
|
1403
1292
|
resource pool for this cluster. This can be passed directly to the
|
|
1404
1293
|
`resource_pool_id`
|
|
@@ -1606,8 +1495,7 @@ class _ComputeClusterState:
|
|
|
1606
1495
|
@pulumi.getter(name="dpmEnabled")
|
|
1607
1496
|
def dpm_enabled(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1608
1497
|
"""
|
|
1609
|
-
Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
1610
|
-
machines in the cluster. Requires that DRS be enabled.
|
|
1498
|
+
Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual machines in the cluster. Requires that DRS be enabled.
|
|
1611
1499
|
"""
|
|
1612
1500
|
return pulumi.get(self, "dpm_enabled")
|
|
1613
1501
|
|
|
@@ -1619,9 +1507,7 @@ class _ComputeClusterState:
|
|
|
1619
1507
|
@pulumi.getter(name="dpmThreshold")
|
|
1620
1508
|
def dpm_threshold(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1621
1509
|
"""
|
|
1622
|
-
A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
1623
|
-
affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
1624
|
-
setting.
|
|
1510
|
+
A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher setting.
|
|
1625
1511
|
"""
|
|
1626
1512
|
return pulumi.get(self, "dpm_threshold")
|
|
1627
1513
|
|
|
@@ -1645,8 +1531,7 @@ class _ComputeClusterState:
|
|
|
1645
1531
|
@pulumi.getter(name="drsAutomationLevel")
|
|
1646
1532
|
def drs_automation_level(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1647
1533
|
"""
|
|
1648
|
-
The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
1649
|
-
fullyAutomated.
|
|
1534
|
+
The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or fullyAutomated.
|
|
1650
1535
|
"""
|
|
1651
1536
|
return pulumi.get(self, "drs_automation_level")
|
|
1652
1537
|
|
|
@@ -1694,8 +1579,7 @@ class _ComputeClusterState:
|
|
|
1694
1579
|
@pulumi.getter(name="drsMigrationThreshold")
|
|
1695
1580
|
def drs_migration_threshold(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1696
1581
|
"""
|
|
1697
|
-
A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
1698
|
-
more imbalance while a higher setting will tolerate less.
|
|
1582
|
+
A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate more imbalance while a higher setting will tolerate less.
|
|
1699
1583
|
"""
|
|
1700
1584
|
return pulumi.get(self, "drs_migration_threshold")
|
|
1701
1585
|
|
|
@@ -1736,8 +1620,7 @@ class _ComputeClusterState:
|
|
|
1736
1620
|
@pulumi.getter(name="forceEvacuateOnDestroy")
|
|
1737
1621
|
def force_evacuate_on_destroy(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1738
1622
|
"""
|
|
1739
|
-
Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
|
|
1740
|
-
for testing and is not recommended in normal use.
|
|
1623
|
+
Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists for testing and is not recommended in normal use.
|
|
1741
1624
|
"""
|
|
1742
1625
|
return pulumi.get(self, "force_evacuate_on_destroy")
|
|
1743
1626
|
|
|
@@ -1749,9 +1632,7 @@ class _ComputeClusterState:
|
|
|
1749
1632
|
@pulumi.getter(name="haAdmissionControlFailoverHostSystemIds")
|
|
1750
1633
|
def ha_admission_control_failover_host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1751
1634
|
"""
|
|
1752
|
-
When ha_admission_control_policy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated
|
|
1753
|
-
failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
|
|
1754
|
-
will ignore the host when making recommendations.
|
|
1635
|
+
When ha_admission_control_policy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS will ignore the host when making recommendations.
|
|
1755
1636
|
"""
|
|
1756
1637
|
return pulumi.get(self, "ha_admission_control_failover_host_system_ids")
|
|
1757
1638
|
|
|
@@ -1763,8 +1644,7 @@ class _ComputeClusterState:
|
|
|
1763
1644
|
@pulumi.getter(name="haAdmissionControlHostFailureTolerance")
|
|
1764
1645
|
def ha_admission_control_host_failure_tolerance(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1765
1646
|
"""
|
|
1766
|
-
The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual
|
|
1767
|
-
machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
1647
|
+
The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
1768
1648
|
"""
|
|
1769
1649
|
return pulumi.get(self, "ha_admission_control_host_failure_tolerance")
|
|
1770
1650
|
|
|
@@ -1776,8 +1656,7 @@ class _ComputeClusterState:
|
|
|
1776
1656
|
@pulumi.getter(name="haAdmissionControlPerformanceTolerance")
|
|
1777
1657
|
def ha_admission_control_performance_tolerance(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1778
1658
|
"""
|
|
1779
|
-
The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces
|
|
1780
|
-
warnings only, whereas a value of 100 disables the setting.
|
|
1659
|
+
The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces warnings only, whereas a value of 100 disables the setting.
|
|
1781
1660
|
"""
|
|
1782
1661
|
return pulumi.get(self, "ha_admission_control_performance_tolerance")
|
|
1783
1662
|
|
|
@@ -1789,10 +1668,7 @@ class _ComputeClusterState:
|
|
|
1789
1668
|
@pulumi.getter(name="haAdmissionControlPolicy")
|
|
1790
1669
|
def ha_admission_control_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1791
1670
|
"""
|
|
1792
|
-
The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
|
|
1793
|
-
permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
1794
|
-
slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
|
|
1795
|
-
issues.
|
|
1671
|
+
The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage, slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service issues.
|
|
1796
1672
|
"""
|
|
1797
1673
|
return pulumi.get(self, "ha_admission_control_policy")
|
|
1798
1674
|
|
|
@@ -1804,9 +1680,7 @@ class _ComputeClusterState:
|
|
|
1804
1680
|
@pulumi.getter(name="haAdmissionControlResourcePercentageAutoCompute")
|
|
1805
1681
|
def ha_admission_control_resource_percentage_auto_compute(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1806
1682
|
"""
|
|
1807
|
-
When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by
|
|
1808
|
-
subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting
|
|
1809
|
-
from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
1683
|
+
When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
1810
1684
|
"""
|
|
1811
1685
|
return pulumi.get(self, "ha_admission_control_resource_percentage_auto_compute")
|
|
1812
1686
|
|
|
@@ -1818,8 +1692,7 @@ class _ComputeClusterState:
|
|
|
1818
1692
|
@pulumi.getter(name="haAdmissionControlResourcePercentageCpu")
|
|
1819
1693
|
def ha_admission_control_resource_percentage_cpu(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1820
1694
|
"""
|
|
1821
|
-
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in
|
|
1822
|
-
the cluster to reserve for failover.
|
|
1695
|
+
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in the cluster to reserve for failover.
|
|
1823
1696
|
"""
|
|
1824
1697
|
return pulumi.get(self, "ha_admission_control_resource_percentage_cpu")
|
|
1825
1698
|
|
|
@@ -1831,8 +1704,7 @@ class _ComputeClusterState:
|
|
|
1831
1704
|
@pulumi.getter(name="haAdmissionControlResourcePercentageMemory")
|
|
1832
1705
|
def ha_admission_control_resource_percentage_memory(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1833
1706
|
"""
|
|
1834
|
-
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
1835
|
-
the cluster to reserve for failover.
|
|
1707
|
+
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in the cluster to reserve for failover.
|
|
1836
1708
|
"""
|
|
1837
1709
|
return pulumi.get(self, "ha_admission_control_resource_percentage_memory")
|
|
1838
1710
|
|
|
@@ -1868,9 +1740,7 @@ class _ComputeClusterState:
|
|
|
1868
1740
|
@pulumi.getter(name="haAdmissionControlSlotPolicyUseExplicitSize")
|
|
1869
1741
|
def ha_admission_control_slot_policy_use_explicit_size(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1870
1742
|
"""
|
|
1871
|
-
When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values
|
|
1872
|
-
to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
1873
|
-
currently in the cluster.
|
|
1743
|
+
When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines currently in the cluster.
|
|
1874
1744
|
"""
|
|
1875
1745
|
return pulumi.get(self, "ha_admission_control_slot_policy_use_explicit_size")
|
|
1876
1746
|
|
|
@@ -1894,8 +1764,7 @@ class _ComputeClusterState:
|
|
|
1894
1764
|
@pulumi.getter(name="haDatastoreApdRecoveryAction")
|
|
1895
1765
|
def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1896
1766
|
"""
|
|
1897
|
-
When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an
|
|
1898
|
-
affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
1767
|
+
When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
1899
1768
|
"""
|
|
1900
1769
|
return pulumi.get(self, "ha_datastore_apd_recovery_action")
|
|
1901
1770
|
|
|
@@ -1907,9 +1776,7 @@ class _ComputeClusterState:
|
|
|
1907
1776
|
@pulumi.getter(name="haDatastoreApdResponse")
|
|
1908
1777
|
def ha_datastore_apd_response(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1909
1778
|
"""
|
|
1910
|
-
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
1911
|
-
detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or
|
|
1912
|
-
restartAggressive.
|
|
1779
|
+
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
|
|
1913
1780
|
"""
|
|
1914
1781
|
return pulumi.get(self, "ha_datastore_apd_response")
|
|
1915
1782
|
|
|
@@ -1921,8 +1788,7 @@ class _ComputeClusterState:
|
|
|
1921
1788
|
@pulumi.getter(name="haDatastoreApdResponseDelay")
|
|
1922
1789
|
def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1923
1790
|
"""
|
|
1924
|
-
When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute
|
|
1925
|
-
the response action defined in ha_datastore_apd_response.
|
|
1791
|
+
When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response.
|
|
1926
1792
|
"""
|
|
1927
1793
|
return pulumi.get(self, "ha_datastore_apd_response_delay")
|
|
1928
1794
|
|
|
@@ -1934,8 +1800,7 @@ class _ComputeClusterState:
|
|
|
1934
1800
|
@pulumi.getter(name="haDatastorePdlResponse")
|
|
1935
1801
|
def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1936
1802
|
"""
|
|
1937
|
-
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
1938
|
-
detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
1803
|
+
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
1939
1804
|
"""
|
|
1940
1805
|
return pulumi.get(self, "ha_datastore_pdl_response")
|
|
1941
1806
|
|
|
@@ -1959,8 +1824,7 @@ class _ComputeClusterState:
|
|
|
1959
1824
|
@pulumi.getter(name="haHeartbeatDatastoreIds")
|
|
1960
1825
|
def ha_heartbeat_datastore_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
1961
1826
|
"""
|
|
1962
|
-
The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
|
|
1963
|
-
ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
1827
|
+
The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
1964
1828
|
"""
|
|
1965
1829
|
return pulumi.get(self, "ha_heartbeat_datastore_ids")
|
|
1966
1830
|
|
|
@@ -1972,8 +1836,7 @@ class _ComputeClusterState:
|
|
|
1972
1836
|
@pulumi.getter(name="haHeartbeatDatastorePolicy")
|
|
1973
1837
|
def ha_heartbeat_datastore_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1974
1838
|
"""
|
|
1975
|
-
The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
1976
|
-
allFeasibleDsWithUserPreference.
|
|
1839
|
+
The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or allFeasibleDsWithUserPreference.
|
|
1977
1840
|
"""
|
|
1978
1841
|
return pulumi.get(self, "ha_heartbeat_datastore_policy")
|
|
1979
1842
|
|
|
@@ -1985,8 +1848,7 @@ class _ComputeClusterState:
|
|
|
1985
1848
|
@pulumi.getter(name="haHostIsolationResponse")
|
|
1986
1849
|
def ha_host_isolation_response(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1987
1850
|
"""
|
|
1988
|
-
The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
|
|
1989
|
-
Can be one of none, powerOff, or shutdown.
|
|
1851
|
+
The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster. Can be one of none, powerOff, or shutdown.
|
|
1990
1852
|
"""
|
|
1991
1853
|
return pulumi.get(self, "ha_host_isolation_response")
|
|
1992
1854
|
|
|
@@ -2010,8 +1872,7 @@ class _ComputeClusterState:
|
|
|
2010
1872
|
@pulumi.getter(name="haVmComponentProtection")
|
|
2011
1873
|
def ha_vm_component_protection(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2012
1874
|
"""
|
|
2013
|
-
Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
2014
|
-
failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
1875
|
+
Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
2015
1876
|
"""
|
|
2016
1877
|
return pulumi.get(self, "ha_vm_component_protection")
|
|
2017
1878
|
|
|
@@ -2023,8 +1884,7 @@ class _ComputeClusterState:
|
|
|
2023
1884
|
@pulumi.getter(name="haVmDependencyRestartCondition")
|
|
2024
1885
|
def ha_vm_dependency_restart_condition(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2025
1886
|
"""
|
|
2026
|
-
The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move
|
|
2027
|
-
on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
1887
|
+
The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
2028
1888
|
"""
|
|
2029
1889
|
return pulumi.get(self, "ha_vm_dependency_restart_condition")
|
|
2030
1890
|
|
|
@@ -2036,8 +1896,7 @@ class _ComputeClusterState:
|
|
|
2036
1896
|
@pulumi.getter(name="haVmFailureInterval")
|
|
2037
1897
|
def ha_vm_failure_interval(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2038
1898
|
"""
|
|
2039
|
-
If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
|
|
2040
|
-
failed. The value is in seconds.
|
|
1899
|
+
If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
|
|
2041
1900
|
"""
|
|
2042
1901
|
return pulumi.get(self, "ha_vm_failure_interval")
|
|
2043
1902
|
|
|
@@ -2049,9 +1908,7 @@ class _ComputeClusterState:
|
|
|
2049
1908
|
@pulumi.getter(name="haVmMaximumFailureWindow")
|
|
2050
1909
|
def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2051
1910
|
"""
|
|
2052
|
-
The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
2053
|
-
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
2054
|
-
time is allotted.
|
|
1911
|
+
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.
|
|
2055
1912
|
"""
|
|
2056
1913
|
return pulumi.get(self, "ha_vm_maximum_failure_window")
|
|
2057
1914
|
|
|
@@ -2087,8 +1944,7 @@ class _ComputeClusterState:
|
|
|
2087
1944
|
@pulumi.getter(name="haVmMonitoring")
|
|
2088
1945
|
def ha_vm_monitoring(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2089
1946
|
"""
|
|
2090
|
-
The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
2091
|
-
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
1947
|
+
The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
|
|
2092
1948
|
"""
|
|
2093
1949
|
return pulumi.get(self, "ha_vm_monitoring")
|
|
2094
1950
|
|
|
@@ -2112,8 +1968,7 @@ class _ComputeClusterState:
|
|
|
2112
1968
|
@pulumi.getter(name="haVmRestartPriority")
|
|
2113
1969
|
def ha_vm_restart_priority(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2114
1970
|
"""
|
|
2115
|
-
The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
|
|
2116
|
-
high, or highest.
|
|
1971
|
+
The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium, high, or highest.
|
|
2117
1972
|
"""
|
|
2118
1973
|
return pulumi.get(self, "ha_vm_restart_priority")
|
|
2119
1974
|
|
|
@@ -2125,8 +1980,7 @@ class _ComputeClusterState:
|
|
|
2125
1980
|
@pulumi.getter(name="haVmRestartTimeout")
|
|
2126
1981
|
def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2127
1982
|
"""
|
|
2128
|
-
The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
|
|
2129
|
-
proceeding with the next priority.
|
|
1983
|
+
The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before proceeding with the next priority.
|
|
2130
1984
|
"""
|
|
2131
1985
|
return pulumi.get(self, "ha_vm_restart_timeout")
|
|
2132
1986
|
|
|
@@ -2222,8 +2076,7 @@ class _ComputeClusterState:
|
|
|
2222
2076
|
@pulumi.getter(name="proactiveHaModerateRemediation")
|
|
2223
2077
|
def proactive_ha_moderate_remediation(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2224
2078
|
"""
|
|
2225
|
-
The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
2226
|
-
this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
2079
|
+
The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
2227
2080
|
"""
|
|
2228
2081
|
return pulumi.get(self, "proactive_ha_moderate_remediation")
|
|
2229
2082
|
|
|
@@ -2247,8 +2100,7 @@ class _ComputeClusterState:
|
|
|
2247
2100
|
@pulumi.getter(name="proactiveHaSevereRemediation")
|
|
2248
2101
|
def proactive_ha_severe_remediation(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2249
2102
|
"""
|
|
2250
|
-
The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
2251
|
-
cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
2103
|
+
The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
2252
2104
|
"""
|
|
2253
2105
|
return pulumi.get(self, "proactive_ha_severe_remediation")
|
|
2254
2106
|
|
|
@@ -2628,19 +2480,14 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2628
2480
|
:param pulumi.Input[_builtins.str] datacenter_id: The managed object ID of
|
|
2629
2481
|
the datacenter to create the cluster in. Forces a new resource if changed.
|
|
2630
2482
|
:param pulumi.Input[_builtins.str] dpm_automation_level: The automation level for host power operations in this cluster. Can be one of manual or automated.
|
|
2631
|
-
:param pulumi.Input[_builtins.bool] dpm_enabled: Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
2632
|
-
|
|
2633
|
-
:param pulumi.Input[_builtins.int] dpm_threshold: A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
2634
|
-
affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
2635
|
-
setting.
|
|
2483
|
+
:param pulumi.Input[_builtins.bool] dpm_enabled: Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual machines in the cluster. Requires that DRS be enabled.
|
|
2484
|
+
:param pulumi.Input[_builtins.int] dpm_threshold: A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher setting.
|
|
2636
2485
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] drs_advanced_options: Advanced configuration options for DRS and DPM.
|
|
2637
|
-
:param pulumi.Input[_builtins.str] drs_automation_level: The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
2638
|
-
fullyAutomated.
|
|
2486
|
+
:param pulumi.Input[_builtins.str] drs_automation_level: The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or fullyAutomated.
|
|
2639
2487
|
:param pulumi.Input[_builtins.bool] drs_enable_predictive_drs: When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
|
|
2640
2488
|
:param pulumi.Input[_builtins.bool] drs_enable_vm_overrides: When true, allows individual VM overrides within this cluster to be set.
|
|
2641
2489
|
:param pulumi.Input[_builtins.bool] drs_enabled: Enable DRS for this cluster.
|
|
2642
|
-
:param pulumi.Input[_builtins.int] drs_migration_threshold: A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
2643
|
-
more imbalance while a higher setting will tolerate less.
|
|
2490
|
+
:param pulumi.Input[_builtins.int] drs_migration_threshold: A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate more imbalance while a higher setting will tolerate less.
|
|
2644
2491
|
:param pulumi.Input[_builtins.str] drs_scale_descendants_shares: Enable scalable shares for all descendants of this cluster.
|
|
2645
2492
|
:param pulumi.Input[_builtins.str] folder: The relative path to a folder to put this cluster in.
|
|
2646
2493
|
This is a path relative to the datacenter you are deploying the cluster to.
|
|
@@ -2648,67 +2495,37 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2648
2495
|
The provider will place a cluster named `compute-cluster-test` in a
|
|
2649
2496
|
host folder located at `/dc1/host/foo/bar`, with the final inventory path
|
|
2650
2497
|
being `/dc1/host/foo/bar/datastore-cluster-test`.
|
|
2651
|
-
:param pulumi.Input[_builtins.bool] force_evacuate_on_destroy: Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
|
|
2652
|
-
|
|
2653
|
-
:param pulumi.Input[
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
:param pulumi.Input[_builtins.
|
|
2657
|
-
|
|
2658
|
-
:param pulumi.Input[_builtins.int]
|
|
2659
|
-
warnings only, whereas a value of 100 disables the setting.
|
|
2660
|
-
:param pulumi.Input[_builtins.str] ha_admission_control_policy: The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
|
|
2661
|
-
permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
2662
|
-
slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
|
|
2663
|
-
issues.
|
|
2664
|
-
:param pulumi.Input[_builtins.bool] ha_admission_control_resource_percentage_auto_compute: When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by
|
|
2665
|
-
subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting
|
|
2666
|
-
from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
2667
|
-
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_cpu: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in
|
|
2668
|
-
the cluster to reserve for failover.
|
|
2669
|
-
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_memory: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
2670
|
-
the cluster to reserve for failover.
|
|
2498
|
+
:param pulumi.Input[_builtins.bool] force_evacuate_on_destroy: Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists for testing and is not recommended in normal use.
|
|
2499
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ha_admission_control_failover_host_system_ids: When ha_admission_control_policy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS will ignore the host when making recommendations.
|
|
2500
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_host_failure_tolerance: The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
2501
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_performance_tolerance: The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces warnings only, whereas a value of 100 disables the setting.
|
|
2502
|
+
:param pulumi.Input[_builtins.str] ha_admission_control_policy: The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage, slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service issues.
|
|
2503
|
+
:param pulumi.Input[_builtins.bool] ha_admission_control_resource_percentage_auto_compute: When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
2504
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_cpu: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in the cluster to reserve for failover.
|
|
2505
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_memory: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in the cluster to reserve for failover.
|
|
2671
2506
|
:param pulumi.Input[_builtins.int] ha_admission_control_slot_policy_explicit_cpu: When ha_admission_control_policy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
|
|
2672
2507
|
:param pulumi.Input[_builtins.int] ha_admission_control_slot_policy_explicit_memory: When ha_admission_control_policy is slotPolicy, this controls the user-defined memory slot size, in MB.
|
|
2673
|
-
:param pulumi.Input[_builtins.bool] ha_admission_control_slot_policy_use_explicit_size: When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values
|
|
2674
|
-
to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
2675
|
-
currently in the cluster.
|
|
2508
|
+
:param pulumi.Input[_builtins.bool] ha_admission_control_slot_policy_use_explicit_size: When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines currently in the cluster.
|
|
2676
2509
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] ha_advanced_options: Advanced configuration options for vSphere HA.
|
|
2677
|
-
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an
|
|
2678
|
-
|
|
2679
|
-
:param pulumi.Input[_builtins.
|
|
2680
|
-
|
|
2681
|
-
restartAggressive.
|
|
2682
|
-
:param pulumi.Input[_builtins.int] ha_datastore_apd_response_delay: When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute
|
|
2683
|
-
the response action defined in ha_datastore_apd_response.
|
|
2684
|
-
:param pulumi.Input[_builtins.str] ha_datastore_pdl_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
2685
|
-
detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
2510
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
2511
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
|
|
2512
|
+
:param pulumi.Input[_builtins.int] ha_datastore_apd_response_delay: When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response.
|
|
2513
|
+
:param pulumi.Input[_builtins.str] ha_datastore_pdl_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
2686
2514
|
:param pulumi.Input[_builtins.bool] ha_enabled: Enable vSphere HA for this cluster.
|
|
2687
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ha_heartbeat_datastore_ids: The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
|
|
2688
|
-
|
|
2689
|
-
:param pulumi.Input[_builtins.str]
|
|
2690
|
-
allFeasibleDsWithUserPreference.
|
|
2691
|
-
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
|
|
2692
|
-
Can be one of none, powerOff, or shutdown.
|
|
2515
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ha_heartbeat_datastore_ids: The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
2516
|
+
:param pulumi.Input[_builtins.str] ha_heartbeat_datastore_policy: The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or allFeasibleDsWithUserPreference.
|
|
2517
|
+
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster. Can be one of none, powerOff, or shutdown.
|
|
2693
2518
|
:param pulumi.Input[_builtins.str] ha_host_monitoring: Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
|
|
2694
|
-
:param pulumi.Input[_builtins.str] ha_vm_component_protection: Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
2695
|
-
|
|
2696
|
-
:param pulumi.Input[_builtins.
|
|
2697
|
-
|
|
2698
|
-
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
|
|
2699
|
-
failed. The value is in seconds.
|
|
2700
|
-
: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
|
|
2701
|
-
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
2702
|
-
time is allotted.
|
|
2519
|
+
:param pulumi.Input[_builtins.str] ha_vm_component_protection: Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
2520
|
+
:param pulumi.Input[_builtins.str] ha_vm_dependency_restart_condition: The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
2521
|
+
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
|
|
2522
|
+
: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.
|
|
2703
2523
|
:param pulumi.Input[_builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
|
|
2704
2524
|
:param pulumi.Input[_builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
|
|
2705
|
-
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
2706
|
-
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
2525
|
+
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
|
|
2707
2526
|
:param pulumi.Input[_builtins.int] ha_vm_restart_additional_delay: Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
|
|
2708
|
-
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
|
|
2709
|
-
|
|
2710
|
-
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
|
|
2711
|
-
proceeding with the next priority.
|
|
2527
|
+
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium, high, or highest.
|
|
2528
|
+
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before proceeding with the next priority.
|
|
2712
2529
|
:param pulumi.Input[_builtins.int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
2713
2530
|
:param pulumi.Input[Union['ComputeClusterHostImageArgs', 'ComputeClusterHostImageArgsDict']] host_image: Details about the host image which should be applied to the cluster.
|
|
2714
2531
|
:param pulumi.Input[_builtins.bool] host_managed: Must be set if cluster enrollment is managed from host resource.
|
|
@@ -2716,11 +2533,9 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2716
2533
|
:param pulumi.Input[_builtins.str] name: The name of the cluster.
|
|
2717
2534
|
:param pulumi.Input[_builtins.str] proactive_ha_automation_level: The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
2718
2535
|
:param pulumi.Input[_builtins.bool] proactive_ha_enabled: Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
|
|
2719
|
-
:param pulumi.Input[_builtins.str] proactive_ha_moderate_remediation: The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
2720
|
-
this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
2536
|
+
:param pulumi.Input[_builtins.str] proactive_ha_moderate_remediation: The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
2721
2537
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] proactive_ha_provider_ids: The list of IDs for health update providers configured for this cluster.
|
|
2722
|
-
:param pulumi.Input[_builtins.str] proactive_ha_severe_remediation: The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
2723
|
-
cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
2538
|
+
:param pulumi.Input[_builtins.str] proactive_ha_severe_remediation: The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
2724
2539
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
2725
2540
|
:param pulumi.Input[_builtins.bool] vsan_compression_enabled: Whether the vSAN compression service is enabled for the cluster.
|
|
2726
2541
|
:param pulumi.Input[_builtins.bool] vsan_dedup_enabled: Whether the vSAN deduplication service is enabled for the cluster.
|
|
@@ -3092,19 +2907,14 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3092
2907
|
:param pulumi.Input[_builtins.str] datacenter_id: The managed object ID of
|
|
3093
2908
|
the datacenter to create the cluster in. Forces a new resource if changed.
|
|
3094
2909
|
:param pulumi.Input[_builtins.str] dpm_automation_level: The automation level for host power operations in this cluster. Can be one of manual or automated.
|
|
3095
|
-
:param pulumi.Input[_builtins.bool] dpm_enabled: Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
3096
|
-
|
|
3097
|
-
:param pulumi.Input[_builtins.int] dpm_threshold: A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
3098
|
-
affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
3099
|
-
setting.
|
|
2910
|
+
:param pulumi.Input[_builtins.bool] dpm_enabled: Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual machines in the cluster. Requires that DRS be enabled.
|
|
2911
|
+
:param pulumi.Input[_builtins.int] dpm_threshold: A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher setting.
|
|
3100
2912
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] drs_advanced_options: Advanced configuration options for DRS and DPM.
|
|
3101
|
-
:param pulumi.Input[_builtins.str] drs_automation_level: The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
3102
|
-
fullyAutomated.
|
|
2913
|
+
:param pulumi.Input[_builtins.str] drs_automation_level: The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or fullyAutomated.
|
|
3103
2914
|
:param pulumi.Input[_builtins.bool] drs_enable_predictive_drs: When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
|
|
3104
2915
|
:param pulumi.Input[_builtins.bool] drs_enable_vm_overrides: When true, allows individual VM overrides within this cluster to be set.
|
|
3105
2916
|
:param pulumi.Input[_builtins.bool] drs_enabled: Enable DRS for this cluster.
|
|
3106
|
-
:param pulumi.Input[_builtins.int] drs_migration_threshold: A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
3107
|
-
more imbalance while a higher setting will tolerate less.
|
|
2917
|
+
:param pulumi.Input[_builtins.int] drs_migration_threshold: A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate more imbalance while a higher setting will tolerate less.
|
|
3108
2918
|
:param pulumi.Input[_builtins.str] drs_scale_descendants_shares: Enable scalable shares for all descendants of this cluster.
|
|
3109
2919
|
:param pulumi.Input[_builtins.str] folder: The relative path to a folder to put this cluster in.
|
|
3110
2920
|
This is a path relative to the datacenter you are deploying the cluster to.
|
|
@@ -3112,67 +2922,37 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3112
2922
|
The provider will place a cluster named `compute-cluster-test` in a
|
|
3113
2923
|
host folder located at `/dc1/host/foo/bar`, with the final inventory path
|
|
3114
2924
|
being `/dc1/host/foo/bar/datastore-cluster-test`.
|
|
3115
|
-
:param pulumi.Input[_builtins.bool] force_evacuate_on_destroy: Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
|
|
3116
|
-
|
|
3117
|
-
:param pulumi.Input[
|
|
3118
|
-
|
|
3119
|
-
|
|
3120
|
-
:param pulumi.Input[_builtins.
|
|
3121
|
-
|
|
3122
|
-
:param pulumi.Input[_builtins.int]
|
|
3123
|
-
warnings only, whereas a value of 100 disables the setting.
|
|
3124
|
-
:param pulumi.Input[_builtins.str] ha_admission_control_policy: The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
|
|
3125
|
-
permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
3126
|
-
slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
|
|
3127
|
-
issues.
|
|
3128
|
-
:param pulumi.Input[_builtins.bool] ha_admission_control_resource_percentage_auto_compute: When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by
|
|
3129
|
-
subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting
|
|
3130
|
-
from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
3131
|
-
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_cpu: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in
|
|
3132
|
-
the cluster to reserve for failover.
|
|
3133
|
-
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_memory: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
3134
|
-
the cluster to reserve for failover.
|
|
2925
|
+
:param pulumi.Input[_builtins.bool] force_evacuate_on_destroy: Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists for testing and is not recommended in normal use.
|
|
2926
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ha_admission_control_failover_host_system_ids: When ha_admission_control_policy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS will ignore the host when making recommendations.
|
|
2927
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_host_failure_tolerance: The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
2928
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_performance_tolerance: The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces warnings only, whereas a value of 100 disables the setting.
|
|
2929
|
+
:param pulumi.Input[_builtins.str] ha_admission_control_policy: The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage, slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service issues.
|
|
2930
|
+
:param pulumi.Input[_builtins.bool] ha_admission_control_resource_percentage_auto_compute: When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
2931
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_cpu: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in the cluster to reserve for failover.
|
|
2932
|
+
:param pulumi.Input[_builtins.int] ha_admission_control_resource_percentage_memory: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in the cluster to reserve for failover.
|
|
3135
2933
|
:param pulumi.Input[_builtins.int] ha_admission_control_slot_policy_explicit_cpu: When ha_admission_control_policy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
|
|
3136
2934
|
:param pulumi.Input[_builtins.int] ha_admission_control_slot_policy_explicit_memory: When ha_admission_control_policy is slotPolicy, this controls the user-defined memory slot size, in MB.
|
|
3137
|
-
:param pulumi.Input[_builtins.bool] ha_admission_control_slot_policy_use_explicit_size: When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values
|
|
3138
|
-
to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
3139
|
-
currently in the cluster.
|
|
2935
|
+
:param pulumi.Input[_builtins.bool] ha_admission_control_slot_policy_use_explicit_size: When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines currently in the cluster.
|
|
3140
2936
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] ha_advanced_options: Advanced configuration options for vSphere HA.
|
|
3141
|
-
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an
|
|
3142
|
-
|
|
3143
|
-
:param pulumi.Input[_builtins.
|
|
3144
|
-
|
|
3145
|
-
restartAggressive.
|
|
3146
|
-
:param pulumi.Input[_builtins.int] ha_datastore_apd_response_delay: When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute
|
|
3147
|
-
the response action defined in ha_datastore_apd_response.
|
|
3148
|
-
:param pulumi.Input[_builtins.str] ha_datastore_pdl_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
3149
|
-
detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
2937
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
2938
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
|
|
2939
|
+
:param pulumi.Input[_builtins.int] ha_datastore_apd_response_delay: When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response.
|
|
2940
|
+
:param pulumi.Input[_builtins.str] ha_datastore_pdl_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
3150
2941
|
:param pulumi.Input[_builtins.bool] ha_enabled: Enable vSphere HA for this cluster.
|
|
3151
|
-
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ha_heartbeat_datastore_ids: The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
|
|
3152
|
-
|
|
3153
|
-
:param pulumi.Input[_builtins.str]
|
|
3154
|
-
allFeasibleDsWithUserPreference.
|
|
3155
|
-
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
|
|
3156
|
-
Can be one of none, powerOff, or shutdown.
|
|
2942
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] ha_heartbeat_datastore_ids: The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
2943
|
+
:param pulumi.Input[_builtins.str] ha_heartbeat_datastore_policy: The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or allFeasibleDsWithUserPreference.
|
|
2944
|
+
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster. Can be one of none, powerOff, or shutdown.
|
|
3157
2945
|
:param pulumi.Input[_builtins.str] ha_host_monitoring: Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
|
|
3158
|
-
:param pulumi.Input[_builtins.str] ha_vm_component_protection: Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
3159
|
-
|
|
3160
|
-
:param pulumi.Input[_builtins.
|
|
3161
|
-
|
|
3162
|
-
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
|
|
3163
|
-
failed. The value is in seconds.
|
|
3164
|
-
: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
|
|
3165
|
-
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
3166
|
-
time is allotted.
|
|
2946
|
+
:param pulumi.Input[_builtins.str] ha_vm_component_protection: Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
2947
|
+
:param pulumi.Input[_builtins.str] ha_vm_dependency_restart_condition: The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
2948
|
+
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
|
|
2949
|
+
: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.
|
|
3167
2950
|
:param pulumi.Input[_builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
|
|
3168
2951
|
:param pulumi.Input[_builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
|
|
3169
|
-
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
3170
|
-
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
2952
|
+
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
|
|
3171
2953
|
:param pulumi.Input[_builtins.int] ha_vm_restart_additional_delay: Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
|
|
3172
|
-
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
|
|
3173
|
-
|
|
3174
|
-
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
|
|
3175
|
-
proceeding with the next priority.
|
|
2954
|
+
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium, high, or highest.
|
|
2955
|
+
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before proceeding with the next priority.
|
|
3176
2956
|
:param pulumi.Input[_builtins.int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
3177
2957
|
:param pulumi.Input[Union['ComputeClusterHostImageArgs', 'ComputeClusterHostImageArgsDict']] host_image: Details about the host image which should be applied to the cluster.
|
|
3178
2958
|
:param pulumi.Input[_builtins.bool] host_managed: Must be set if cluster enrollment is managed from host resource.
|
|
@@ -3180,11 +2960,9 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3180
2960
|
:param pulumi.Input[_builtins.str] name: The name of the cluster.
|
|
3181
2961
|
:param pulumi.Input[_builtins.str] proactive_ha_automation_level: The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
3182
2962
|
:param pulumi.Input[_builtins.bool] proactive_ha_enabled: Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
|
|
3183
|
-
:param pulumi.Input[_builtins.str] proactive_ha_moderate_remediation: The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
3184
|
-
this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
2963
|
+
:param pulumi.Input[_builtins.str] proactive_ha_moderate_remediation: The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
3185
2964
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] proactive_ha_provider_ids: The list of IDs for health update providers configured for this cluster.
|
|
3186
|
-
:param pulumi.Input[_builtins.str] proactive_ha_severe_remediation: The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
3187
|
-
cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
2965
|
+
:param pulumi.Input[_builtins.str] proactive_ha_severe_remediation: The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
3188
2966
|
:param pulumi.Input[_builtins.str] resource_pool_id: The managed object ID of the primary
|
|
3189
2967
|
resource pool for this cluster. This can be passed directly to the
|
|
3190
2968
|
`resource_pool_id`
|
|
@@ -3315,8 +3093,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3315
3093
|
@pulumi.getter(name="dpmEnabled")
|
|
3316
3094
|
def dpm_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
3317
3095
|
"""
|
|
3318
|
-
Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
3319
|
-
machines in the cluster. Requires that DRS be enabled.
|
|
3096
|
+
Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual machines in the cluster. Requires that DRS be enabled.
|
|
3320
3097
|
"""
|
|
3321
3098
|
return pulumi.get(self, "dpm_enabled")
|
|
3322
3099
|
|
|
@@ -3324,9 +3101,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3324
3101
|
@pulumi.getter(name="dpmThreshold")
|
|
3325
3102
|
def dpm_threshold(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
3326
3103
|
"""
|
|
3327
|
-
A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
3328
|
-
affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
3329
|
-
setting.
|
|
3104
|
+
A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher setting.
|
|
3330
3105
|
"""
|
|
3331
3106
|
return pulumi.get(self, "dpm_threshold")
|
|
3332
3107
|
|
|
@@ -3342,8 +3117,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3342
3117
|
@pulumi.getter(name="drsAutomationLevel")
|
|
3343
3118
|
def drs_automation_level(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
3344
3119
|
"""
|
|
3345
|
-
The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
3346
|
-
fullyAutomated.
|
|
3120
|
+
The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or fullyAutomated.
|
|
3347
3121
|
"""
|
|
3348
3122
|
return pulumi.get(self, "drs_automation_level")
|
|
3349
3123
|
|
|
@@ -3375,8 +3149,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3375
3149
|
@pulumi.getter(name="drsMigrationThreshold")
|
|
3376
3150
|
def drs_migration_threshold(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
3377
3151
|
"""
|
|
3378
|
-
A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
3379
|
-
more imbalance while a higher setting will tolerate less.
|
|
3152
|
+
A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate more imbalance while a higher setting will tolerate less.
|
|
3380
3153
|
"""
|
|
3381
3154
|
return pulumi.get(self, "drs_migration_threshold")
|
|
3382
3155
|
|
|
@@ -3405,8 +3178,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3405
3178
|
@pulumi.getter(name="forceEvacuateOnDestroy")
|
|
3406
3179
|
def force_evacuate_on_destroy(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
3407
3180
|
"""
|
|
3408
|
-
Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
|
|
3409
|
-
for testing and is not recommended in normal use.
|
|
3181
|
+
Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists for testing and is not recommended in normal use.
|
|
3410
3182
|
"""
|
|
3411
3183
|
return pulumi.get(self, "force_evacuate_on_destroy")
|
|
3412
3184
|
|
|
@@ -3414,9 +3186,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3414
3186
|
@pulumi.getter(name="haAdmissionControlFailoverHostSystemIds")
|
|
3415
3187
|
def ha_admission_control_failover_host_system_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
3416
3188
|
"""
|
|
3417
|
-
When ha_admission_control_policy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated
|
|
3418
|
-
failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
|
|
3419
|
-
will ignore the host when making recommendations.
|
|
3189
|
+
When ha_admission_control_policy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS will ignore the host when making recommendations.
|
|
3420
3190
|
"""
|
|
3421
3191
|
return pulumi.get(self, "ha_admission_control_failover_host_system_ids")
|
|
3422
3192
|
|
|
@@ -3424,8 +3194,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3424
3194
|
@pulumi.getter(name="haAdmissionControlHostFailureTolerance")
|
|
3425
3195
|
def ha_admission_control_host_failure_tolerance(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
3426
3196
|
"""
|
|
3427
|
-
The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual
|
|
3428
|
-
machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
3197
|
+
The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
3429
3198
|
"""
|
|
3430
3199
|
return pulumi.get(self, "ha_admission_control_host_failure_tolerance")
|
|
3431
3200
|
|
|
@@ -3433,8 +3202,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3433
3202
|
@pulumi.getter(name="haAdmissionControlPerformanceTolerance")
|
|
3434
3203
|
def ha_admission_control_performance_tolerance(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
3435
3204
|
"""
|
|
3436
|
-
The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces
|
|
3437
|
-
warnings only, whereas a value of 100 disables the setting.
|
|
3205
|
+
The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces warnings only, whereas a value of 100 disables the setting.
|
|
3438
3206
|
"""
|
|
3439
3207
|
return pulumi.get(self, "ha_admission_control_performance_tolerance")
|
|
3440
3208
|
|
|
@@ -3442,10 +3210,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3442
3210
|
@pulumi.getter(name="haAdmissionControlPolicy")
|
|
3443
3211
|
def ha_admission_control_policy(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
3444
3212
|
"""
|
|
3445
|
-
The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
|
|
3446
|
-
permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
3447
|
-
slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
|
|
3448
|
-
issues.
|
|
3213
|
+
The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage, slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service issues.
|
|
3449
3214
|
"""
|
|
3450
3215
|
return pulumi.get(self, "ha_admission_control_policy")
|
|
3451
3216
|
|
|
@@ -3453,9 +3218,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3453
3218
|
@pulumi.getter(name="haAdmissionControlResourcePercentageAutoCompute")
|
|
3454
3219
|
def ha_admission_control_resource_percentage_auto_compute(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
3455
3220
|
"""
|
|
3456
|
-
When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by
|
|
3457
|
-
subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting
|
|
3458
|
-
from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
3221
|
+
When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
3459
3222
|
"""
|
|
3460
3223
|
return pulumi.get(self, "ha_admission_control_resource_percentage_auto_compute")
|
|
3461
3224
|
|
|
@@ -3463,8 +3226,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3463
3226
|
@pulumi.getter(name="haAdmissionControlResourcePercentageCpu")
|
|
3464
3227
|
def ha_admission_control_resource_percentage_cpu(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
3465
3228
|
"""
|
|
3466
|
-
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in
|
|
3467
|
-
the cluster to reserve for failover.
|
|
3229
|
+
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in the cluster to reserve for failover.
|
|
3468
3230
|
"""
|
|
3469
3231
|
return pulumi.get(self, "ha_admission_control_resource_percentage_cpu")
|
|
3470
3232
|
|
|
@@ -3472,8 +3234,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3472
3234
|
@pulumi.getter(name="haAdmissionControlResourcePercentageMemory")
|
|
3473
3235
|
def ha_admission_control_resource_percentage_memory(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
3474
3236
|
"""
|
|
3475
|
-
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
3476
|
-
the cluster to reserve for failover.
|
|
3237
|
+
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in the cluster to reserve for failover.
|
|
3477
3238
|
"""
|
|
3478
3239
|
return pulumi.get(self, "ha_admission_control_resource_percentage_memory")
|
|
3479
3240
|
|
|
@@ -3497,9 +3258,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3497
3258
|
@pulumi.getter(name="haAdmissionControlSlotPolicyUseExplicitSize")
|
|
3498
3259
|
def ha_admission_control_slot_policy_use_explicit_size(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
3499
3260
|
"""
|
|
3500
|
-
When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values
|
|
3501
|
-
to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
3502
|
-
currently in the cluster.
|
|
3261
|
+
When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines currently in the cluster.
|
|
3503
3262
|
"""
|
|
3504
3263
|
return pulumi.get(self, "ha_admission_control_slot_policy_use_explicit_size")
|
|
3505
3264
|
|
|
@@ -3515,8 +3274,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3515
3274
|
@pulumi.getter(name="haDatastoreApdRecoveryAction")
|
|
3516
3275
|
def ha_datastore_apd_recovery_action(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
3517
3276
|
"""
|
|
3518
|
-
When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an
|
|
3519
|
-
affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
3277
|
+
When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
3520
3278
|
"""
|
|
3521
3279
|
return pulumi.get(self, "ha_datastore_apd_recovery_action")
|
|
3522
3280
|
|
|
@@ -3524,9 +3282,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3524
3282
|
@pulumi.getter(name="haDatastoreApdResponse")
|
|
3525
3283
|
def ha_datastore_apd_response(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
3526
3284
|
"""
|
|
3527
|
-
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
3528
|
-
detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or
|
|
3529
|
-
restartAggressive.
|
|
3285
|
+
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or restartAggressive.
|
|
3530
3286
|
"""
|
|
3531
3287
|
return pulumi.get(self, "ha_datastore_apd_response")
|
|
3532
3288
|
|
|
@@ -3534,8 +3290,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3534
3290
|
@pulumi.getter(name="haDatastoreApdResponseDelay")
|
|
3535
3291
|
def ha_datastore_apd_response_delay(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
3536
3292
|
"""
|
|
3537
|
-
When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute
|
|
3538
|
-
the response action defined in ha_datastore_apd_response.
|
|
3293
|
+
When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response.
|
|
3539
3294
|
"""
|
|
3540
3295
|
return pulumi.get(self, "ha_datastore_apd_response_delay")
|
|
3541
3296
|
|
|
@@ -3543,8 +3298,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3543
3298
|
@pulumi.getter(name="haDatastorePdlResponse")
|
|
3544
3299
|
def ha_datastore_pdl_response(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
3545
3300
|
"""
|
|
3546
|
-
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
3547
|
-
detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
3301
|
+
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
3548
3302
|
"""
|
|
3549
3303
|
return pulumi.get(self, "ha_datastore_pdl_response")
|
|
3550
3304
|
|
|
@@ -3560,8 +3314,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3560
3314
|
@pulumi.getter(name="haHeartbeatDatastoreIds")
|
|
3561
3315
|
def ha_heartbeat_datastore_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.str]]]:
|
|
3562
3316
|
"""
|
|
3563
|
-
The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
|
|
3564
|
-
ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
3317
|
+
The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
3565
3318
|
"""
|
|
3566
3319
|
return pulumi.get(self, "ha_heartbeat_datastore_ids")
|
|
3567
3320
|
|
|
@@ -3569,8 +3322,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3569
3322
|
@pulumi.getter(name="haHeartbeatDatastorePolicy")
|
|
3570
3323
|
def ha_heartbeat_datastore_policy(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
3571
3324
|
"""
|
|
3572
|
-
The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
3573
|
-
allFeasibleDsWithUserPreference.
|
|
3325
|
+
The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or allFeasibleDsWithUserPreference.
|
|
3574
3326
|
"""
|
|
3575
3327
|
return pulumi.get(self, "ha_heartbeat_datastore_policy")
|
|
3576
3328
|
|
|
@@ -3578,8 +3330,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3578
3330
|
@pulumi.getter(name="haHostIsolationResponse")
|
|
3579
3331
|
def ha_host_isolation_response(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
3580
3332
|
"""
|
|
3581
|
-
The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
|
|
3582
|
-
Can be one of none, powerOff, or shutdown.
|
|
3333
|
+
The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster. Can be one of none, powerOff, or shutdown.
|
|
3583
3334
|
"""
|
|
3584
3335
|
return pulumi.get(self, "ha_host_isolation_response")
|
|
3585
3336
|
|
|
@@ -3595,8 +3346,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3595
3346
|
@pulumi.getter(name="haVmComponentProtection")
|
|
3596
3347
|
def ha_vm_component_protection(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
3597
3348
|
"""
|
|
3598
|
-
Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
3599
|
-
failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
3349
|
+
Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
3600
3350
|
"""
|
|
3601
3351
|
return pulumi.get(self, "ha_vm_component_protection")
|
|
3602
3352
|
|
|
@@ -3604,8 +3354,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3604
3354
|
@pulumi.getter(name="haVmDependencyRestartCondition")
|
|
3605
3355
|
def ha_vm_dependency_restart_condition(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
3606
3356
|
"""
|
|
3607
|
-
The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move
|
|
3608
|
-
on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
3357
|
+
The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
3609
3358
|
"""
|
|
3610
3359
|
return pulumi.get(self, "ha_vm_dependency_restart_condition")
|
|
3611
3360
|
|
|
@@ -3613,8 +3362,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3613
3362
|
@pulumi.getter(name="haVmFailureInterval")
|
|
3614
3363
|
def ha_vm_failure_interval(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
3615
3364
|
"""
|
|
3616
|
-
If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
|
|
3617
|
-
failed. The value is in seconds.
|
|
3365
|
+
If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
|
|
3618
3366
|
"""
|
|
3619
3367
|
return pulumi.get(self, "ha_vm_failure_interval")
|
|
3620
3368
|
|
|
@@ -3622,9 +3370,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3622
3370
|
@pulumi.getter(name="haVmMaximumFailureWindow")
|
|
3623
3371
|
def ha_vm_maximum_failure_window(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
3624
3372
|
"""
|
|
3625
|
-
The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
3626
|
-
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
3627
|
-
time is allotted.
|
|
3373
|
+
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.
|
|
3628
3374
|
"""
|
|
3629
3375
|
return pulumi.get(self, "ha_vm_maximum_failure_window")
|
|
3630
3376
|
|
|
@@ -3648,8 +3394,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3648
3394
|
@pulumi.getter(name="haVmMonitoring")
|
|
3649
3395
|
def ha_vm_monitoring(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
3650
3396
|
"""
|
|
3651
|
-
The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
3652
|
-
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
3397
|
+
The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
|
|
3653
3398
|
"""
|
|
3654
3399
|
return pulumi.get(self, "ha_vm_monitoring")
|
|
3655
3400
|
|
|
@@ -3665,8 +3410,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3665
3410
|
@pulumi.getter(name="haVmRestartPriority")
|
|
3666
3411
|
def ha_vm_restart_priority(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
3667
3412
|
"""
|
|
3668
|
-
The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
|
|
3669
|
-
high, or highest.
|
|
3413
|
+
The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium, high, or highest.
|
|
3670
3414
|
"""
|
|
3671
3415
|
return pulumi.get(self, "ha_vm_restart_priority")
|
|
3672
3416
|
|
|
@@ -3674,8 +3418,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3674
3418
|
@pulumi.getter(name="haVmRestartTimeout")
|
|
3675
3419
|
def ha_vm_restart_timeout(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
3676
3420
|
"""
|
|
3677
|
-
The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
|
|
3678
|
-
proceeding with the next priority.
|
|
3421
|
+
The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before proceeding with the next priority.
|
|
3679
3422
|
"""
|
|
3680
3423
|
return pulumi.get(self, "ha_vm_restart_timeout")
|
|
3681
3424
|
|
|
@@ -3739,8 +3482,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3739
3482
|
@pulumi.getter(name="proactiveHaModerateRemediation")
|
|
3740
3483
|
def proactive_ha_moderate_remediation(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
3741
3484
|
"""
|
|
3742
|
-
The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
3743
|
-
this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
3485
|
+
The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
3744
3486
|
"""
|
|
3745
3487
|
return pulumi.get(self, "proactive_ha_moderate_remediation")
|
|
3746
3488
|
|
|
@@ -3756,8 +3498,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3756
3498
|
@pulumi.getter(name="proactiveHaSevereRemediation")
|
|
3757
3499
|
def proactive_ha_severe_remediation(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
3758
3500
|
"""
|
|
3759
|
-
The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
3760
|
-
cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
3501
|
+
The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
3761
3502
|
"""
|
|
3762
3503
|
return pulumi.get(self, "proactive_ha_severe_remediation")
|
|
3763
3504
|
|