pulumi-vsphere 4.14.0a1741997722__py3-none-any.whl → 4.14.0a1745952392__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-vsphere might be problematic. Click here for more details.
- pulumi_vsphere/__init__.py +1 -0
- pulumi_vsphere/_inputs.py +969 -968
- pulumi_vsphere/compute_cluster.py +921 -917
- pulumi_vsphere/compute_cluster_host_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/compute_cluster_vm_dependency_rule.py +88 -84
- pulumi_vsphere/compute_cluster_vm_group.py +46 -42
- pulumi_vsphere/compute_cluster_vm_host_rule.py +102 -98
- pulumi_vsphere/config/__init__.py +1 -0
- pulumi_vsphere/config/__init__.pyi +1 -0
- pulumi_vsphere/config/vars.py +1 -0
- pulumi_vsphere/content_library.py +46 -42
- pulumi_vsphere/content_library_item.py +88 -84
- pulumi_vsphere/custom_attribute.py +32 -28
- pulumi_vsphere/datacenter.py +67 -63
- pulumi_vsphere/datastore_cluster.py +354 -350
- pulumi_vsphere/datastore_cluster_vm_anti_affinity_rule.py +74 -70
- pulumi_vsphere/distributed_port_group.py +648 -644
- pulumi_vsphere/distributed_virtual_switch.py +1285 -1281
- pulumi_vsphere/distributed_virtual_switch_pvlan_mapping.py +60 -56
- pulumi_vsphere/dpm_host_override.py +60 -56
- pulumi_vsphere/drs_vm_override.py +60 -56
- pulumi_vsphere/entity_permissions.py +32 -28
- pulumi_vsphere/file.py +98 -94
- pulumi_vsphere/folder.py +74 -70
- pulumi_vsphere/get_compute_cluster.py +13 -12
- pulumi_vsphere/get_compute_cluster_host_group.py +13 -12
- pulumi_vsphere/get_content_library.py +7 -6
- pulumi_vsphere/get_content_library_item.py +17 -16
- pulumi_vsphere/get_custom_attribute.py +8 -7
- pulumi_vsphere/get_datacenter.py +8 -7
- pulumi_vsphere/get_datastore.py +17 -16
- pulumi_vsphere/get_datastore_cluster.py +13 -12
- pulumi_vsphere/get_datastore_stats.py +17 -16
- pulumi_vsphere/get_distributed_virtual_switch.py +13 -12
- pulumi_vsphere/get_dynamic.py +17 -16
- pulumi_vsphere/get_folder.py +7 -6
- pulumi_vsphere/get_guest_os_customization.py +11 -10
- pulumi_vsphere/get_host.py +13 -12
- pulumi_vsphere/get_host_base_images.py +3 -2
- pulumi_vsphere/get_host_pci_device.py +23 -22
- pulumi_vsphere/get_host_thumbprint.py +17 -16
- pulumi_vsphere/get_host_vgpu_profile.py +12 -11
- pulumi_vsphere/get_license.py +12 -11
- pulumi_vsphere/get_network.py +18 -17
- pulumi_vsphere/get_ovf_vm_template.py +89 -88
- pulumi_vsphere/get_policy.py +7 -6
- pulumi_vsphere/get_resource_pool.py +12 -11
- pulumi_vsphere/get_role.py +20 -19
- pulumi_vsphere/get_tag.py +13 -12
- pulumi_vsphere/get_tag_category.py +10 -9
- pulumi_vsphere/get_vapp_container.py +12 -11
- pulumi_vsphere/get_virtual_machine.py +204 -203
- pulumi_vsphere/get_vmfs_disks.py +18 -17
- pulumi_vsphere/guest_os_customization.py +60 -56
- pulumi_vsphere/ha_vm_override.py +214 -210
- pulumi_vsphere/host.py +200 -196
- pulumi_vsphere/host_port_group.py +256 -252
- pulumi_vsphere/host_virtual_switch.py +298 -294
- pulumi_vsphere/license.py +60 -56
- pulumi_vsphere/nas_datastore.py +214 -210
- pulumi_vsphere/offline_software_depot.py +18 -14
- pulumi_vsphere/outputs.py +721 -720
- pulumi_vsphere/provider.py +101 -97
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/resource_pool.py +214 -210
- pulumi_vsphere/role.py +39 -35
- pulumi_vsphere/storage_drs_vm_override.py +74 -70
- pulumi_vsphere/supervisor.py +158 -154
- pulumi_vsphere/tag.py +46 -42
- pulumi_vsphere/tag_category.py +60 -56
- pulumi_vsphere/vapp_container.py +214 -210
- pulumi_vsphere/vapp_entity.py +144 -140
- pulumi_vsphere/virtual_disk.py +102 -98
- pulumi_vsphere/virtual_machine.py +1043 -1039
- pulumi_vsphere/virtual_machine_class.py +88 -84
- pulumi_vsphere/virtual_machine_snapshot.py +102 -98
- pulumi_vsphere/vm_storage_policy.py +32 -28
- pulumi_vsphere/vmfs_datastore.py +151 -147
- pulumi_vsphere/vnic.py +116 -112
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/METADATA +2 -2
- pulumi_vsphere-4.14.0a1745952392.dist-info/RECORD +87 -0
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/WHEEL +1 -1
- pulumi_vsphere-4.14.0a1741997722.dist-info/RECORD +0 -87
- {pulumi_vsphere-4.14.0a1741997722.dist-info → pulumi_vsphere-4.14.0a1745952392.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -21,193 +22,193 @@ __all__ = ['ComputeClusterArgs', 'ComputeCluster']
|
|
|
21
22
|
@pulumi.input_type
|
|
22
23
|
class ComputeClusterArgs:
|
|
23
24
|
def __init__(__self__, *,
|
|
24
|
-
datacenter_id: pulumi.Input[str],
|
|
25
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
26
|
-
dpm_automation_level: Optional[pulumi.Input[str]] = None,
|
|
27
|
-
dpm_enabled: Optional[pulumi.Input[bool]] = None,
|
|
28
|
-
dpm_threshold: Optional[pulumi.Input[int]] = None,
|
|
29
|
-
drs_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
30
|
-
drs_automation_level: Optional[pulumi.Input[str]] = None,
|
|
31
|
-
drs_enable_predictive_drs: Optional[pulumi.Input[bool]] = None,
|
|
32
|
-
drs_enable_vm_overrides: Optional[pulumi.Input[bool]] = None,
|
|
33
|
-
drs_enabled: Optional[pulumi.Input[bool]] = None,
|
|
34
|
-
drs_migration_threshold: Optional[pulumi.Input[int]] = None,
|
|
35
|
-
drs_scale_descendants_shares: Optional[pulumi.Input[str]] = None,
|
|
36
|
-
folder: Optional[pulumi.Input[str]] = None,
|
|
37
|
-
force_evacuate_on_destroy: Optional[pulumi.Input[bool]] = None,
|
|
38
|
-
ha_admission_control_failover_host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
39
|
-
ha_admission_control_host_failure_tolerance: Optional[pulumi.Input[int]] = None,
|
|
40
|
-
ha_admission_control_performance_tolerance: Optional[pulumi.Input[int]] = None,
|
|
41
|
-
ha_admission_control_policy: Optional[pulumi.Input[str]] = None,
|
|
42
|
-
ha_admission_control_resource_percentage_auto_compute: Optional[pulumi.Input[bool]] = None,
|
|
43
|
-
ha_admission_control_resource_percentage_cpu: Optional[pulumi.Input[int]] = None,
|
|
44
|
-
ha_admission_control_resource_percentage_memory: Optional[pulumi.Input[int]] = None,
|
|
45
|
-
ha_admission_control_slot_policy_explicit_cpu: Optional[pulumi.Input[int]] = None,
|
|
46
|
-
ha_admission_control_slot_policy_explicit_memory: Optional[pulumi.Input[int]] = None,
|
|
47
|
-
ha_admission_control_slot_policy_use_explicit_size: Optional[pulumi.Input[bool]] = None,
|
|
48
|
-
ha_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
49
|
-
ha_datastore_apd_recovery_action: Optional[pulumi.Input[str]] = None,
|
|
50
|
-
ha_datastore_apd_response: Optional[pulumi.Input[str]] = None,
|
|
51
|
-
ha_datastore_apd_response_delay: Optional[pulumi.Input[int]] = None,
|
|
52
|
-
ha_datastore_pdl_response: Optional[pulumi.Input[str]] = None,
|
|
53
|
-
ha_enabled: Optional[pulumi.Input[bool]] = None,
|
|
54
|
-
ha_heartbeat_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
55
|
-
ha_heartbeat_datastore_policy: Optional[pulumi.Input[str]] = None,
|
|
56
|
-
ha_host_isolation_response: Optional[pulumi.Input[str]] = None,
|
|
57
|
-
ha_host_monitoring: Optional[pulumi.Input[str]] = None,
|
|
58
|
-
ha_vm_component_protection: Optional[pulumi.Input[str]] = None,
|
|
59
|
-
ha_vm_dependency_restart_condition: Optional[pulumi.Input[str]] = None,
|
|
60
|
-
ha_vm_failure_interval: Optional[pulumi.Input[int]] = None,
|
|
61
|
-
ha_vm_maximum_failure_window: Optional[pulumi.Input[int]] = None,
|
|
62
|
-
ha_vm_maximum_resets: Optional[pulumi.Input[int]] = None,
|
|
63
|
-
ha_vm_minimum_uptime: Optional[pulumi.Input[int]] = None,
|
|
64
|
-
ha_vm_monitoring: Optional[pulumi.Input[str]] = None,
|
|
65
|
-
ha_vm_restart_additional_delay: Optional[pulumi.Input[int]] = None,
|
|
66
|
-
ha_vm_restart_priority: Optional[pulumi.Input[str]] = None,
|
|
67
|
-
ha_vm_restart_timeout: Optional[pulumi.Input[int]] = None,
|
|
68
|
-
host_cluster_exit_timeout: Optional[pulumi.Input[int]] = None,
|
|
25
|
+
datacenter_id: pulumi.Input[builtins.str],
|
|
26
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
27
|
+
dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
28
|
+
dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
29
|
+
dpm_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
30
|
+
drs_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
31
|
+
drs_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
32
|
+
drs_enable_predictive_drs: Optional[pulumi.Input[builtins.bool]] = None,
|
|
33
|
+
drs_enable_vm_overrides: Optional[pulumi.Input[builtins.bool]] = None,
|
|
34
|
+
drs_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
35
|
+
drs_migration_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
36
|
+
drs_scale_descendants_shares: Optional[pulumi.Input[builtins.str]] = None,
|
|
37
|
+
folder: Optional[pulumi.Input[builtins.str]] = None,
|
|
38
|
+
force_evacuate_on_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
|
39
|
+
ha_admission_control_failover_host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
40
|
+
ha_admission_control_host_failure_tolerance: Optional[pulumi.Input[builtins.int]] = None,
|
|
41
|
+
ha_admission_control_performance_tolerance: Optional[pulumi.Input[builtins.int]] = None,
|
|
42
|
+
ha_admission_control_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
43
|
+
ha_admission_control_resource_percentage_auto_compute: Optional[pulumi.Input[builtins.bool]] = None,
|
|
44
|
+
ha_admission_control_resource_percentage_cpu: Optional[pulumi.Input[builtins.int]] = None,
|
|
45
|
+
ha_admission_control_resource_percentage_memory: Optional[pulumi.Input[builtins.int]] = None,
|
|
46
|
+
ha_admission_control_slot_policy_explicit_cpu: Optional[pulumi.Input[builtins.int]] = None,
|
|
47
|
+
ha_admission_control_slot_policy_explicit_memory: Optional[pulumi.Input[builtins.int]] = None,
|
|
48
|
+
ha_admission_control_slot_policy_use_explicit_size: Optional[pulumi.Input[builtins.bool]] = None,
|
|
49
|
+
ha_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
50
|
+
ha_datastore_apd_recovery_action: Optional[pulumi.Input[builtins.str]] = None,
|
|
51
|
+
ha_datastore_apd_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
52
|
+
ha_datastore_apd_response_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
53
|
+
ha_datastore_pdl_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
54
|
+
ha_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
55
|
+
ha_heartbeat_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
56
|
+
ha_heartbeat_datastore_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
57
|
+
ha_host_isolation_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
58
|
+
ha_host_monitoring: Optional[pulumi.Input[builtins.str]] = None,
|
|
59
|
+
ha_vm_component_protection: Optional[pulumi.Input[builtins.str]] = None,
|
|
60
|
+
ha_vm_dependency_restart_condition: Optional[pulumi.Input[builtins.str]] = None,
|
|
61
|
+
ha_vm_failure_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
62
|
+
ha_vm_maximum_failure_window: Optional[pulumi.Input[builtins.int]] = None,
|
|
63
|
+
ha_vm_maximum_resets: Optional[pulumi.Input[builtins.int]] = None,
|
|
64
|
+
ha_vm_minimum_uptime: Optional[pulumi.Input[builtins.int]] = None,
|
|
65
|
+
ha_vm_monitoring: Optional[pulumi.Input[builtins.str]] = None,
|
|
66
|
+
ha_vm_restart_additional_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
67
|
+
ha_vm_restart_priority: Optional[pulumi.Input[builtins.str]] = None,
|
|
68
|
+
ha_vm_restart_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
69
|
+
host_cluster_exit_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
69
70
|
host_image: Optional[pulumi.Input['ComputeClusterHostImageArgs']] = None,
|
|
70
|
-
host_managed: Optional[pulumi.Input[bool]] = None,
|
|
71
|
-
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
72
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
73
|
-
proactive_ha_automation_level: Optional[pulumi.Input[str]] = None,
|
|
74
|
-
proactive_ha_enabled: Optional[pulumi.Input[bool]] = None,
|
|
75
|
-
proactive_ha_moderate_remediation: Optional[pulumi.Input[str]] = None,
|
|
76
|
-
proactive_ha_provider_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
77
|
-
proactive_ha_severe_remediation: Optional[pulumi.Input[str]] = None,
|
|
78
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
79
|
-
vsan_compression_enabled: Optional[pulumi.Input[bool]] = None,
|
|
80
|
-
vsan_dedup_enabled: Optional[pulumi.Input[bool]] = None,
|
|
71
|
+
host_managed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
72
|
+
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
73
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
74
|
+
proactive_ha_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
75
|
+
proactive_ha_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
76
|
+
proactive_ha_moderate_remediation: Optional[pulumi.Input[builtins.str]] = None,
|
|
77
|
+
proactive_ha_provider_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
78
|
+
proactive_ha_severe_remediation: Optional[pulumi.Input[builtins.str]] = None,
|
|
79
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
80
|
+
vsan_compression_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
81
|
+
vsan_dedup_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
81
82
|
vsan_disk_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ComputeClusterVsanDiskGroupArgs']]]] = None,
|
|
82
|
-
vsan_dit_encryption_enabled: Optional[pulumi.Input[bool]] = None,
|
|
83
|
-
vsan_dit_rekey_interval: Optional[pulumi.Input[int]] = None,
|
|
84
|
-
vsan_enabled: Optional[pulumi.Input[bool]] = None,
|
|
85
|
-
vsan_esa_enabled: Optional[pulumi.Input[bool]] = None,
|
|
83
|
+
vsan_dit_encryption_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
84
|
+
vsan_dit_rekey_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
85
|
+
vsan_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
86
|
+
vsan_esa_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
86
87
|
vsan_fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input['ComputeClusterVsanFaultDomainArgs']]]] = None,
|
|
87
|
-
vsan_network_diagnostic_mode_enabled: Optional[pulumi.Input[bool]] = None,
|
|
88
|
-
vsan_performance_enabled: Optional[pulumi.Input[bool]] = None,
|
|
89
|
-
vsan_remote_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
88
|
+
vsan_network_diagnostic_mode_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
89
|
+
vsan_performance_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
90
|
+
vsan_remote_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
90
91
|
vsan_stretched_cluster: Optional[pulumi.Input['ComputeClusterVsanStretchedClusterArgs']] = None,
|
|
91
|
-
vsan_unmap_enabled: Optional[pulumi.Input[bool]] = None,
|
|
92
|
-
vsan_verbose_mode_enabled: Optional[pulumi.Input[bool]] = None):
|
|
92
|
+
vsan_unmap_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
93
|
+
vsan_verbose_mode_enabled: Optional[pulumi.Input[builtins.bool]] = None):
|
|
93
94
|
"""
|
|
94
95
|
The set of arguments for constructing a ComputeCluster resource.
|
|
95
|
-
:param pulumi.Input[str] datacenter_id: The managed object ID of
|
|
96
|
+
:param pulumi.Input[builtins.str] datacenter_id: The managed object ID of
|
|
96
97
|
the datacenter to create the cluster in. Forces a new resource if changed.
|
|
97
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A map of custom attribute ids to attribute
|
|
98
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A map of custom attribute ids to attribute
|
|
98
99
|
value strings to set for the datastore cluster.
|
|
99
100
|
|
|
100
101
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
101
102
|
and require vCenter Server.
|
|
102
|
-
:param pulumi.Input[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[bool] dpm_enabled: Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
103
|
+
: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.
|
|
104
|
+
: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
|
machines in the cluster. Requires that DRS be enabled.
|
|
105
|
-
:param pulumi.Input[int] dpm_threshold: A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
106
|
+
: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
107
|
affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
107
108
|
setting.
|
|
108
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] drs_advanced_options: Advanced configuration options for DRS and DPM.
|
|
109
|
-
:param pulumi.Input[str] drs_automation_level: The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
109
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] drs_advanced_options: Advanced configuration options for DRS and DPM.
|
|
110
|
+
: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
111
|
fullyAutomated.
|
|
111
|
-
:param pulumi.Input[bool] drs_enable_predictive_drs: When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
|
|
112
|
-
:param pulumi.Input[bool] drs_enable_vm_overrides: When true, allows individual VM overrides within this cluster to be set.
|
|
113
|
-
:param pulumi.Input[bool] drs_enabled: Enable DRS for this cluster.
|
|
114
|
-
:param pulumi.Input[int] drs_migration_threshold: A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
112
|
+
: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.
|
|
113
|
+
:param pulumi.Input[builtins.bool] drs_enable_vm_overrides: When true, allows individual VM overrides within this cluster to be set.
|
|
114
|
+
:param pulumi.Input[builtins.bool] drs_enabled: Enable DRS for this cluster.
|
|
115
|
+
: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
116
|
more imbalance while a higher setting will tolerate less.
|
|
116
|
-
:param pulumi.Input[str] drs_scale_descendants_shares: Enable scalable shares for all descendants of this cluster.
|
|
117
|
-
:param pulumi.Input[str] folder: The relative path to a folder to put this cluster in.
|
|
117
|
+
:param pulumi.Input[builtins.str] drs_scale_descendants_shares: Enable scalable shares for all descendants of this cluster.
|
|
118
|
+
:param pulumi.Input[builtins.str] folder: The relative path to a folder to put this cluster in.
|
|
118
119
|
This is a path relative to the datacenter you are deploying the cluster to.
|
|
119
120
|
Example: for the `dc1` datacenter, and a provided `folder` of `foo/bar`,
|
|
120
121
|
The provider will place a cluster named `compute-cluster-test` in a
|
|
121
122
|
host folder located at `/dc1/host/foo/bar`, with the final inventory path
|
|
122
123
|
being `/dc1/host/foo/bar/datastore-cluster-test`.
|
|
123
|
-
:param pulumi.Input[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
|
+
: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
|
for testing and is not recommended in normal use.
|
|
125
|
-
:param pulumi.Input[Sequence[pulumi.Input[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
|
|
126
|
+
: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
|
|
126
127
|
failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
|
|
127
128
|
will ignore the host when making recommendations.
|
|
128
|
-
:param pulumi.Input[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
|
|
129
|
+
: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
|
|
129
130
|
machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
130
|
-
:param pulumi.Input[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
|
|
131
|
+
: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
|
|
131
132
|
warnings only, whereas a value of 100 disables the setting.
|
|
132
|
-
:param pulumi.Input[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
|
+
: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
134
|
permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
134
135
|
slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
|
|
135
136
|
issues.
|
|
136
|
-
:param pulumi.Input[bool] ha_admission_control_resource_percentage_auto_compute: When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by
|
|
137
|
+
: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
138
|
subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting
|
|
138
139
|
from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
139
|
-
:param pulumi.Input[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
|
+
: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
141
|
the cluster to reserve for failover.
|
|
141
|
-
:param pulumi.Input[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
|
+
: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
143
|
the cluster to reserve for failover.
|
|
143
|
-
:param pulumi.Input[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
|
-
:param pulumi.Input[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[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
|
|
144
|
+
: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.
|
|
145
|
+
: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.
|
|
146
|
+
: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
147
|
to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
147
148
|
currently in the cluster.
|
|
148
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] ha_advanced_options: Advanced configuration options for vSphere HA.
|
|
149
|
-
:param pulumi.Input[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
|
|
149
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] ha_advanced_options: Advanced configuration options for vSphere HA.
|
|
150
|
+
: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
|
affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
151
|
-
:param pulumi.Input[str] ha_datastore_apd_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
152
|
+
: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
|
|
152
153
|
detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or
|
|
153
154
|
restartAggressive.
|
|
154
|
-
:param pulumi.Input[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
|
+
: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
156
|
the response action defined in ha_datastore_apd_response.
|
|
156
|
-
:param pulumi.Input[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
|
+
: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
158
|
detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
158
|
-
:param pulumi.Input[bool] ha_enabled: Enable vSphere HA for this cluster.
|
|
159
|
-
:param pulumi.Input[Sequence[pulumi.Input[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
|
|
159
|
+
:param pulumi.Input[builtins.bool] ha_enabled: Enable vSphere HA for this cluster.
|
|
160
|
+
: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
|
ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
161
|
-
:param pulumi.Input[str] ha_heartbeat_datastore_policy: The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
162
|
+
:param pulumi.Input[builtins.str] ha_heartbeat_datastore_policy: The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
162
163
|
allFeasibleDsWithUserPreference.
|
|
163
|
-
:param pulumi.Input[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
|
+
: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
165
|
Can be one of none, powerOff, or shutdown.
|
|
165
|
-
:param pulumi.Input[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[str] ha_vm_component_protection: Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
166
|
+
: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.
|
|
167
|
+
: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
|
failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
168
|
-
:param pulumi.Input[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
|
|
169
|
+
: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
|
|
169
170
|
on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
170
|
-
:param pulumi.Input[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
|
+
: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
172
|
failed. The value is in seconds.
|
|
172
|
-
:param pulumi.Input[int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
173
|
+
: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
174
|
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
174
175
|
time is allotted.
|
|
175
|
-
:param pulumi.Input[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
|
-
:param pulumi.Input[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[str] ha_vm_monitoring: The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
176
|
+
: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.
|
|
177
|
+
: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.
|
|
178
|
+
: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
179
|
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
179
|
-
:param pulumi.Input[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[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,
|
|
180
|
+
: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.
|
|
181
|
+
: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
|
high, or highest.
|
|
182
|
-
:param pulumi.Input[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
|
+
: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
184
|
proceeding with the next priority.
|
|
184
|
-
:param pulumi.Input[int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
185
|
+
:param pulumi.Input[builtins.int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
185
186
|
:param pulumi.Input['ComputeClusterHostImageArgs'] host_image: Details about the host image which should be applied to the cluster.
|
|
186
|
-
:param pulumi.Input[bool] host_managed: Must be set if cluster enrollment is managed from host resource.
|
|
187
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of the hosts to put in the cluster.
|
|
188
|
-
:param pulumi.Input[str] name: The name of the cluster.
|
|
189
|
-
:param pulumi.Input[str] proactive_ha_automation_level: The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
190
|
-
:param pulumi.Input[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[str] proactive_ha_moderate_remediation: The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
187
|
+
:param pulumi.Input[builtins.bool] host_managed: Must be set if cluster enrollment is managed from host resource.
|
|
188
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of the hosts to put in the cluster.
|
|
189
|
+
:param pulumi.Input[builtins.str] name: The name of the cluster.
|
|
190
|
+
:param pulumi.Input[builtins.str] proactive_ha_automation_level: The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
191
|
+
: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.
|
|
192
|
+
: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
193
|
this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
193
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] proactive_ha_provider_ids: The list of IDs for health update providers configured for this cluster.
|
|
194
|
-
:param pulumi.Input[str] proactive_ha_severe_remediation: The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
194
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] proactive_ha_provider_ids: The list of IDs for health update providers configured for this cluster.
|
|
195
|
+
: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
196
|
cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
196
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
197
|
-
:param pulumi.Input[bool] vsan_compression_enabled: Whether the vSAN compression service is enabled for the cluster.
|
|
198
|
-
:param pulumi.Input[bool] vsan_dedup_enabled: Whether the vSAN deduplication service is enabled for the cluster.
|
|
197
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
198
|
+
:param pulumi.Input[builtins.bool] vsan_compression_enabled: Whether the vSAN compression service is enabled for the cluster.
|
|
199
|
+
:param pulumi.Input[builtins.bool] vsan_dedup_enabled: Whether the vSAN deduplication service is enabled for the cluster.
|
|
199
200
|
:param pulumi.Input[Sequence[pulumi.Input['ComputeClusterVsanDiskGroupArgs']]] vsan_disk_groups: A list of disk UUIDs to add to the vSAN cluster.
|
|
200
|
-
:param pulumi.Input[bool] vsan_dit_encryption_enabled: Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
201
|
-
:param pulumi.Input[int] vsan_dit_rekey_interval: When vsan_dit_encryption_enabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
202
|
-
:param pulumi.Input[bool] vsan_enabled: Whether the vSAN service is enabled for the cluster.
|
|
203
|
-
:param pulumi.Input[bool] vsan_esa_enabled: Whether the vSAN ESA service is enabled for the cluster.
|
|
201
|
+
:param pulumi.Input[builtins.bool] vsan_dit_encryption_enabled: Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
202
|
+
:param pulumi.Input[builtins.int] vsan_dit_rekey_interval: When vsan_dit_encryption_enabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
203
|
+
:param pulumi.Input[builtins.bool] vsan_enabled: Whether the vSAN service is enabled for the cluster.
|
|
204
|
+
:param pulumi.Input[builtins.bool] vsan_esa_enabled: Whether the vSAN ESA service is enabled for the cluster.
|
|
204
205
|
:param pulumi.Input[Sequence[pulumi.Input['ComputeClusterVsanFaultDomainArgs']]] vsan_fault_domains: The configuration for vSAN fault domains.
|
|
205
|
-
:param pulumi.Input[bool] vsan_network_diagnostic_mode_enabled: Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
206
|
-
:param pulumi.Input[bool] vsan_performance_enabled: Whether the vSAN performance service is enabled for the cluster.
|
|
207
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] vsan_remote_datastore_ids: The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
206
|
+
:param pulumi.Input[builtins.bool] vsan_network_diagnostic_mode_enabled: Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
207
|
+
:param pulumi.Input[builtins.bool] vsan_performance_enabled: Whether the vSAN performance service is enabled for the cluster.
|
|
208
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] vsan_remote_datastore_ids: The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
208
209
|
:param pulumi.Input['ComputeClusterVsanStretchedClusterArgs'] vsan_stretched_cluster: The configuration for stretched cluster.
|
|
209
|
-
:param pulumi.Input[bool] vsan_unmap_enabled: Whether the vSAN unmap service is enabled for the cluster.
|
|
210
|
-
:param pulumi.Input[bool] vsan_verbose_mode_enabled: Whether the vSAN verbose mode is enabled for the cluster.
|
|
210
|
+
:param pulumi.Input[builtins.bool] vsan_unmap_enabled: Whether the vSAN unmap service is enabled for the cluster.
|
|
211
|
+
:param pulumi.Input[builtins.bool] vsan_verbose_mode_enabled: Whether the vSAN verbose mode is enabled for the cluster.
|
|
211
212
|
"""
|
|
212
213
|
pulumi.set(__self__, "datacenter_id", datacenter_id)
|
|
213
214
|
if custom_attributes is not None:
|
|
@@ -349,7 +350,7 @@ class ComputeClusterArgs:
|
|
|
349
350
|
|
|
350
351
|
@property
|
|
351
352
|
@pulumi.getter(name="datacenterId")
|
|
352
|
-
def datacenter_id(self) -> pulumi.Input[str]:
|
|
353
|
+
def datacenter_id(self) -> pulumi.Input[builtins.str]:
|
|
353
354
|
"""
|
|
354
355
|
The managed object ID of
|
|
355
356
|
the datacenter to create the cluster in. Forces a new resource if changed.
|
|
@@ -357,12 +358,12 @@ class ComputeClusterArgs:
|
|
|
357
358
|
return pulumi.get(self, "datacenter_id")
|
|
358
359
|
|
|
359
360
|
@datacenter_id.setter
|
|
360
|
-
def datacenter_id(self, value: pulumi.Input[str]):
|
|
361
|
+
def datacenter_id(self, value: pulumi.Input[builtins.str]):
|
|
361
362
|
pulumi.set(self, "datacenter_id", value)
|
|
362
363
|
|
|
363
364
|
@property
|
|
364
365
|
@pulumi.getter(name="customAttributes")
|
|
365
|
-
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
366
|
+
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
366
367
|
"""
|
|
367
368
|
A map of custom attribute ids to attribute
|
|
368
369
|
value strings to set for the datastore cluster.
|
|
@@ -373,24 +374,24 @@ class ComputeClusterArgs:
|
|
|
373
374
|
return pulumi.get(self, "custom_attributes")
|
|
374
375
|
|
|
375
376
|
@custom_attributes.setter
|
|
376
|
-
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
377
|
+
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
377
378
|
pulumi.set(self, "custom_attributes", value)
|
|
378
379
|
|
|
379
380
|
@property
|
|
380
381
|
@pulumi.getter(name="dpmAutomationLevel")
|
|
381
|
-
def dpm_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
382
|
+
def dpm_automation_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
382
383
|
"""
|
|
383
384
|
The automation level for host power operations in this cluster. Can be one of manual or automated.
|
|
384
385
|
"""
|
|
385
386
|
return pulumi.get(self, "dpm_automation_level")
|
|
386
387
|
|
|
387
388
|
@dpm_automation_level.setter
|
|
388
|
-
def dpm_automation_level(self, value: Optional[pulumi.Input[str]]):
|
|
389
|
+
def dpm_automation_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
389
390
|
pulumi.set(self, "dpm_automation_level", value)
|
|
390
391
|
|
|
391
392
|
@property
|
|
392
393
|
@pulumi.getter(name="dpmEnabled")
|
|
393
|
-
def dpm_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
394
|
+
def dpm_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
394
395
|
"""
|
|
395
396
|
Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
396
397
|
machines in the cluster. Requires that DRS be enabled.
|
|
@@ -398,12 +399,12 @@ class ComputeClusterArgs:
|
|
|
398
399
|
return pulumi.get(self, "dpm_enabled")
|
|
399
400
|
|
|
400
401
|
@dpm_enabled.setter
|
|
401
|
-
def dpm_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
402
|
+
def dpm_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
402
403
|
pulumi.set(self, "dpm_enabled", value)
|
|
403
404
|
|
|
404
405
|
@property
|
|
405
406
|
@pulumi.getter(name="dpmThreshold")
|
|
406
|
-
def dpm_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
407
|
+
def dpm_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
407
408
|
"""
|
|
408
409
|
A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
409
410
|
affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
@@ -412,24 +413,24 @@ class ComputeClusterArgs:
|
|
|
412
413
|
return pulumi.get(self, "dpm_threshold")
|
|
413
414
|
|
|
414
415
|
@dpm_threshold.setter
|
|
415
|
-
def dpm_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
416
|
+
def dpm_threshold(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
416
417
|
pulumi.set(self, "dpm_threshold", value)
|
|
417
418
|
|
|
418
419
|
@property
|
|
419
420
|
@pulumi.getter(name="drsAdvancedOptions")
|
|
420
|
-
def drs_advanced_options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
421
|
+
def drs_advanced_options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
421
422
|
"""
|
|
422
423
|
Advanced configuration options for DRS and DPM.
|
|
423
424
|
"""
|
|
424
425
|
return pulumi.get(self, "drs_advanced_options")
|
|
425
426
|
|
|
426
427
|
@drs_advanced_options.setter
|
|
427
|
-
def drs_advanced_options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
428
|
+
def drs_advanced_options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
428
429
|
pulumi.set(self, "drs_advanced_options", value)
|
|
429
430
|
|
|
430
431
|
@property
|
|
431
432
|
@pulumi.getter(name="drsAutomationLevel")
|
|
432
|
-
def drs_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
433
|
+
def drs_automation_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
433
434
|
"""
|
|
434
435
|
The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
435
436
|
fullyAutomated.
|
|
@@ -437,48 +438,48 @@ class ComputeClusterArgs:
|
|
|
437
438
|
return pulumi.get(self, "drs_automation_level")
|
|
438
439
|
|
|
439
440
|
@drs_automation_level.setter
|
|
440
|
-
def drs_automation_level(self, value: Optional[pulumi.Input[str]]):
|
|
441
|
+
def drs_automation_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
441
442
|
pulumi.set(self, "drs_automation_level", value)
|
|
442
443
|
|
|
443
444
|
@property
|
|
444
445
|
@pulumi.getter(name="drsEnablePredictiveDrs")
|
|
445
|
-
def drs_enable_predictive_drs(self) -> Optional[pulumi.Input[bool]]:
|
|
446
|
+
def drs_enable_predictive_drs(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
446
447
|
"""
|
|
447
448
|
When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
|
|
448
449
|
"""
|
|
449
450
|
return pulumi.get(self, "drs_enable_predictive_drs")
|
|
450
451
|
|
|
451
452
|
@drs_enable_predictive_drs.setter
|
|
452
|
-
def drs_enable_predictive_drs(self, value: Optional[pulumi.Input[bool]]):
|
|
453
|
+
def drs_enable_predictive_drs(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
453
454
|
pulumi.set(self, "drs_enable_predictive_drs", value)
|
|
454
455
|
|
|
455
456
|
@property
|
|
456
457
|
@pulumi.getter(name="drsEnableVmOverrides")
|
|
457
|
-
def drs_enable_vm_overrides(self) -> Optional[pulumi.Input[bool]]:
|
|
458
|
+
def drs_enable_vm_overrides(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
458
459
|
"""
|
|
459
460
|
When true, allows individual VM overrides within this cluster to be set.
|
|
460
461
|
"""
|
|
461
462
|
return pulumi.get(self, "drs_enable_vm_overrides")
|
|
462
463
|
|
|
463
464
|
@drs_enable_vm_overrides.setter
|
|
464
|
-
def drs_enable_vm_overrides(self, value: Optional[pulumi.Input[bool]]):
|
|
465
|
+
def drs_enable_vm_overrides(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
465
466
|
pulumi.set(self, "drs_enable_vm_overrides", value)
|
|
466
467
|
|
|
467
468
|
@property
|
|
468
469
|
@pulumi.getter(name="drsEnabled")
|
|
469
|
-
def drs_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
470
|
+
def drs_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
470
471
|
"""
|
|
471
472
|
Enable DRS for this cluster.
|
|
472
473
|
"""
|
|
473
474
|
return pulumi.get(self, "drs_enabled")
|
|
474
475
|
|
|
475
476
|
@drs_enabled.setter
|
|
476
|
-
def drs_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
477
|
+
def drs_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
477
478
|
pulumi.set(self, "drs_enabled", value)
|
|
478
479
|
|
|
479
480
|
@property
|
|
480
481
|
@pulumi.getter(name="drsMigrationThreshold")
|
|
481
|
-
def drs_migration_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
482
|
+
def drs_migration_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
482
483
|
"""
|
|
483
484
|
A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
484
485
|
more imbalance while a higher setting will tolerate less.
|
|
@@ -486,24 +487,24 @@ class ComputeClusterArgs:
|
|
|
486
487
|
return pulumi.get(self, "drs_migration_threshold")
|
|
487
488
|
|
|
488
489
|
@drs_migration_threshold.setter
|
|
489
|
-
def drs_migration_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
490
|
+
def drs_migration_threshold(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
490
491
|
pulumi.set(self, "drs_migration_threshold", value)
|
|
491
492
|
|
|
492
493
|
@property
|
|
493
494
|
@pulumi.getter(name="drsScaleDescendantsShares")
|
|
494
|
-
def drs_scale_descendants_shares(self) -> Optional[pulumi.Input[str]]:
|
|
495
|
+
def drs_scale_descendants_shares(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
495
496
|
"""
|
|
496
497
|
Enable scalable shares for all descendants of this cluster.
|
|
497
498
|
"""
|
|
498
499
|
return pulumi.get(self, "drs_scale_descendants_shares")
|
|
499
500
|
|
|
500
501
|
@drs_scale_descendants_shares.setter
|
|
501
|
-
def drs_scale_descendants_shares(self, value: Optional[pulumi.Input[str]]):
|
|
502
|
+
def drs_scale_descendants_shares(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
502
503
|
pulumi.set(self, "drs_scale_descendants_shares", value)
|
|
503
504
|
|
|
504
505
|
@property
|
|
505
506
|
@pulumi.getter
|
|
506
|
-
def folder(self) -> Optional[pulumi.Input[str]]:
|
|
507
|
+
def folder(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
507
508
|
"""
|
|
508
509
|
The relative path to a folder to put this cluster in.
|
|
509
510
|
This is a path relative to the datacenter you are deploying the cluster to.
|
|
@@ -515,12 +516,12 @@ class ComputeClusterArgs:
|
|
|
515
516
|
return pulumi.get(self, "folder")
|
|
516
517
|
|
|
517
518
|
@folder.setter
|
|
518
|
-
def folder(self, value: Optional[pulumi.Input[str]]):
|
|
519
|
+
def folder(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
519
520
|
pulumi.set(self, "folder", value)
|
|
520
521
|
|
|
521
522
|
@property
|
|
522
523
|
@pulumi.getter(name="forceEvacuateOnDestroy")
|
|
523
|
-
def force_evacuate_on_destroy(self) -> Optional[pulumi.Input[bool]]:
|
|
524
|
+
def force_evacuate_on_destroy(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
524
525
|
"""
|
|
525
526
|
Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
|
|
526
527
|
for testing and is not recommended in normal use.
|
|
@@ -528,12 +529,12 @@ class ComputeClusterArgs:
|
|
|
528
529
|
return pulumi.get(self, "force_evacuate_on_destroy")
|
|
529
530
|
|
|
530
531
|
@force_evacuate_on_destroy.setter
|
|
531
|
-
def force_evacuate_on_destroy(self, value: Optional[pulumi.Input[bool]]):
|
|
532
|
+
def force_evacuate_on_destroy(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
532
533
|
pulumi.set(self, "force_evacuate_on_destroy", value)
|
|
533
534
|
|
|
534
535
|
@property
|
|
535
536
|
@pulumi.getter(name="haAdmissionControlFailoverHostSystemIds")
|
|
536
|
-
def ha_admission_control_failover_host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
537
|
+
def ha_admission_control_failover_host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
537
538
|
"""
|
|
538
539
|
When ha_admission_control_policy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated
|
|
539
540
|
failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
|
|
@@ -542,12 +543,12 @@ class ComputeClusterArgs:
|
|
|
542
543
|
return pulumi.get(self, "ha_admission_control_failover_host_system_ids")
|
|
543
544
|
|
|
544
545
|
@ha_admission_control_failover_host_system_ids.setter
|
|
545
|
-
def ha_admission_control_failover_host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
546
|
+
def ha_admission_control_failover_host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
546
547
|
pulumi.set(self, "ha_admission_control_failover_host_system_ids", value)
|
|
547
548
|
|
|
548
549
|
@property
|
|
549
550
|
@pulumi.getter(name="haAdmissionControlHostFailureTolerance")
|
|
550
|
-
def ha_admission_control_host_failure_tolerance(self) -> Optional[pulumi.Input[int]]:
|
|
551
|
+
def ha_admission_control_host_failure_tolerance(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
551
552
|
"""
|
|
552
553
|
The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual
|
|
553
554
|
machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
@@ -555,12 +556,12 @@ class ComputeClusterArgs:
|
|
|
555
556
|
return pulumi.get(self, "ha_admission_control_host_failure_tolerance")
|
|
556
557
|
|
|
557
558
|
@ha_admission_control_host_failure_tolerance.setter
|
|
558
|
-
def ha_admission_control_host_failure_tolerance(self, value: Optional[pulumi.Input[int]]):
|
|
559
|
+
def ha_admission_control_host_failure_tolerance(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
559
560
|
pulumi.set(self, "ha_admission_control_host_failure_tolerance", value)
|
|
560
561
|
|
|
561
562
|
@property
|
|
562
563
|
@pulumi.getter(name="haAdmissionControlPerformanceTolerance")
|
|
563
|
-
def ha_admission_control_performance_tolerance(self) -> Optional[pulumi.Input[int]]:
|
|
564
|
+
def ha_admission_control_performance_tolerance(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
564
565
|
"""
|
|
565
566
|
The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces
|
|
566
567
|
warnings only, whereas a value of 100 disables the setting.
|
|
@@ -568,12 +569,12 @@ class ComputeClusterArgs:
|
|
|
568
569
|
return pulumi.get(self, "ha_admission_control_performance_tolerance")
|
|
569
570
|
|
|
570
571
|
@ha_admission_control_performance_tolerance.setter
|
|
571
|
-
def ha_admission_control_performance_tolerance(self, value: Optional[pulumi.Input[int]]):
|
|
572
|
+
def ha_admission_control_performance_tolerance(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
572
573
|
pulumi.set(self, "ha_admission_control_performance_tolerance", value)
|
|
573
574
|
|
|
574
575
|
@property
|
|
575
576
|
@pulumi.getter(name="haAdmissionControlPolicy")
|
|
576
|
-
def ha_admission_control_policy(self) -> Optional[pulumi.Input[str]]:
|
|
577
|
+
def ha_admission_control_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
577
578
|
"""
|
|
578
579
|
The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
|
|
579
580
|
permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
@@ -583,12 +584,12 @@ class ComputeClusterArgs:
|
|
|
583
584
|
return pulumi.get(self, "ha_admission_control_policy")
|
|
584
585
|
|
|
585
586
|
@ha_admission_control_policy.setter
|
|
586
|
-
def ha_admission_control_policy(self, value: Optional[pulumi.Input[str]]):
|
|
587
|
+
def ha_admission_control_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
587
588
|
pulumi.set(self, "ha_admission_control_policy", value)
|
|
588
589
|
|
|
589
590
|
@property
|
|
590
591
|
@pulumi.getter(name="haAdmissionControlResourcePercentageAutoCompute")
|
|
591
|
-
def ha_admission_control_resource_percentage_auto_compute(self) -> Optional[pulumi.Input[bool]]:
|
|
592
|
+
def ha_admission_control_resource_percentage_auto_compute(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
592
593
|
"""
|
|
593
594
|
When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by
|
|
594
595
|
subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting
|
|
@@ -597,12 +598,12 @@ class ComputeClusterArgs:
|
|
|
597
598
|
return pulumi.get(self, "ha_admission_control_resource_percentage_auto_compute")
|
|
598
599
|
|
|
599
600
|
@ha_admission_control_resource_percentage_auto_compute.setter
|
|
600
|
-
def ha_admission_control_resource_percentage_auto_compute(self, value: Optional[pulumi.Input[bool]]):
|
|
601
|
+
def ha_admission_control_resource_percentage_auto_compute(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
601
602
|
pulumi.set(self, "ha_admission_control_resource_percentage_auto_compute", value)
|
|
602
603
|
|
|
603
604
|
@property
|
|
604
605
|
@pulumi.getter(name="haAdmissionControlResourcePercentageCpu")
|
|
605
|
-
def ha_admission_control_resource_percentage_cpu(self) -> Optional[pulumi.Input[int]]:
|
|
606
|
+
def ha_admission_control_resource_percentage_cpu(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
606
607
|
"""
|
|
607
608
|
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in
|
|
608
609
|
the cluster to reserve for failover.
|
|
@@ -610,12 +611,12 @@ class ComputeClusterArgs:
|
|
|
610
611
|
return pulumi.get(self, "ha_admission_control_resource_percentage_cpu")
|
|
611
612
|
|
|
612
613
|
@ha_admission_control_resource_percentage_cpu.setter
|
|
613
|
-
def ha_admission_control_resource_percentage_cpu(self, value: Optional[pulumi.Input[int]]):
|
|
614
|
+
def ha_admission_control_resource_percentage_cpu(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
614
615
|
pulumi.set(self, "ha_admission_control_resource_percentage_cpu", value)
|
|
615
616
|
|
|
616
617
|
@property
|
|
617
618
|
@pulumi.getter(name="haAdmissionControlResourcePercentageMemory")
|
|
618
|
-
def ha_admission_control_resource_percentage_memory(self) -> Optional[pulumi.Input[int]]:
|
|
619
|
+
def ha_admission_control_resource_percentage_memory(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
619
620
|
"""
|
|
620
621
|
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
621
622
|
the cluster to reserve for failover.
|
|
@@ -623,36 +624,36 @@ class ComputeClusterArgs:
|
|
|
623
624
|
return pulumi.get(self, "ha_admission_control_resource_percentage_memory")
|
|
624
625
|
|
|
625
626
|
@ha_admission_control_resource_percentage_memory.setter
|
|
626
|
-
def ha_admission_control_resource_percentage_memory(self, value: Optional[pulumi.Input[int]]):
|
|
627
|
+
def ha_admission_control_resource_percentage_memory(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
627
628
|
pulumi.set(self, "ha_admission_control_resource_percentage_memory", value)
|
|
628
629
|
|
|
629
630
|
@property
|
|
630
631
|
@pulumi.getter(name="haAdmissionControlSlotPolicyExplicitCpu")
|
|
631
|
-
def ha_admission_control_slot_policy_explicit_cpu(self) -> Optional[pulumi.Input[int]]:
|
|
632
|
+
def ha_admission_control_slot_policy_explicit_cpu(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
632
633
|
"""
|
|
633
634
|
When ha_admission_control_policy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
|
|
634
635
|
"""
|
|
635
636
|
return pulumi.get(self, "ha_admission_control_slot_policy_explicit_cpu")
|
|
636
637
|
|
|
637
638
|
@ha_admission_control_slot_policy_explicit_cpu.setter
|
|
638
|
-
def ha_admission_control_slot_policy_explicit_cpu(self, value: Optional[pulumi.Input[int]]):
|
|
639
|
+
def ha_admission_control_slot_policy_explicit_cpu(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
639
640
|
pulumi.set(self, "ha_admission_control_slot_policy_explicit_cpu", value)
|
|
640
641
|
|
|
641
642
|
@property
|
|
642
643
|
@pulumi.getter(name="haAdmissionControlSlotPolicyExplicitMemory")
|
|
643
|
-
def ha_admission_control_slot_policy_explicit_memory(self) -> Optional[pulumi.Input[int]]:
|
|
644
|
+
def ha_admission_control_slot_policy_explicit_memory(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
644
645
|
"""
|
|
645
646
|
When ha_admission_control_policy is slotPolicy, this controls the user-defined memory slot size, in MB.
|
|
646
647
|
"""
|
|
647
648
|
return pulumi.get(self, "ha_admission_control_slot_policy_explicit_memory")
|
|
648
649
|
|
|
649
650
|
@ha_admission_control_slot_policy_explicit_memory.setter
|
|
650
|
-
def ha_admission_control_slot_policy_explicit_memory(self, value: Optional[pulumi.Input[int]]):
|
|
651
|
+
def ha_admission_control_slot_policy_explicit_memory(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
651
652
|
pulumi.set(self, "ha_admission_control_slot_policy_explicit_memory", value)
|
|
652
653
|
|
|
653
654
|
@property
|
|
654
655
|
@pulumi.getter(name="haAdmissionControlSlotPolicyUseExplicitSize")
|
|
655
|
-
def ha_admission_control_slot_policy_use_explicit_size(self) -> Optional[pulumi.Input[bool]]:
|
|
656
|
+
def ha_admission_control_slot_policy_use_explicit_size(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
656
657
|
"""
|
|
657
658
|
When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values
|
|
658
659
|
to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
@@ -661,24 +662,24 @@ class ComputeClusterArgs:
|
|
|
661
662
|
return pulumi.get(self, "ha_admission_control_slot_policy_use_explicit_size")
|
|
662
663
|
|
|
663
664
|
@ha_admission_control_slot_policy_use_explicit_size.setter
|
|
664
|
-
def ha_admission_control_slot_policy_use_explicit_size(self, value: Optional[pulumi.Input[bool]]):
|
|
665
|
+
def ha_admission_control_slot_policy_use_explicit_size(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
665
666
|
pulumi.set(self, "ha_admission_control_slot_policy_use_explicit_size", value)
|
|
666
667
|
|
|
667
668
|
@property
|
|
668
669
|
@pulumi.getter(name="haAdvancedOptions")
|
|
669
|
-
def ha_advanced_options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
670
|
+
def ha_advanced_options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
670
671
|
"""
|
|
671
672
|
Advanced configuration options for vSphere HA.
|
|
672
673
|
"""
|
|
673
674
|
return pulumi.get(self, "ha_advanced_options")
|
|
674
675
|
|
|
675
676
|
@ha_advanced_options.setter
|
|
676
|
-
def ha_advanced_options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
677
|
+
def ha_advanced_options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
677
678
|
pulumi.set(self, "ha_advanced_options", value)
|
|
678
679
|
|
|
679
680
|
@property
|
|
680
681
|
@pulumi.getter(name="haDatastoreApdRecoveryAction")
|
|
681
|
-
def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[str]]:
|
|
682
|
+
def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
682
683
|
"""
|
|
683
684
|
When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an
|
|
684
685
|
affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
@@ -686,12 +687,12 @@ class ComputeClusterArgs:
|
|
|
686
687
|
return pulumi.get(self, "ha_datastore_apd_recovery_action")
|
|
687
688
|
|
|
688
689
|
@ha_datastore_apd_recovery_action.setter
|
|
689
|
-
def ha_datastore_apd_recovery_action(self, value: Optional[pulumi.Input[str]]):
|
|
690
|
+
def ha_datastore_apd_recovery_action(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
690
691
|
pulumi.set(self, "ha_datastore_apd_recovery_action", value)
|
|
691
692
|
|
|
692
693
|
@property
|
|
693
694
|
@pulumi.getter(name="haDatastoreApdResponse")
|
|
694
|
-
def ha_datastore_apd_response(self) -> Optional[pulumi.Input[str]]:
|
|
695
|
+
def ha_datastore_apd_response(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
695
696
|
"""
|
|
696
697
|
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
697
698
|
detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or
|
|
@@ -700,12 +701,12 @@ class ComputeClusterArgs:
|
|
|
700
701
|
return pulumi.get(self, "ha_datastore_apd_response")
|
|
701
702
|
|
|
702
703
|
@ha_datastore_apd_response.setter
|
|
703
|
-
def ha_datastore_apd_response(self, value: Optional[pulumi.Input[str]]):
|
|
704
|
+
def ha_datastore_apd_response(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
704
705
|
pulumi.set(self, "ha_datastore_apd_response", value)
|
|
705
706
|
|
|
706
707
|
@property
|
|
707
708
|
@pulumi.getter(name="haDatastoreApdResponseDelay")
|
|
708
|
-
def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[int]]:
|
|
709
|
+
def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
709
710
|
"""
|
|
710
711
|
When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute
|
|
711
712
|
the response action defined in ha_datastore_apd_response.
|
|
@@ -713,12 +714,12 @@ class ComputeClusterArgs:
|
|
|
713
714
|
return pulumi.get(self, "ha_datastore_apd_response_delay")
|
|
714
715
|
|
|
715
716
|
@ha_datastore_apd_response_delay.setter
|
|
716
|
-
def ha_datastore_apd_response_delay(self, value: Optional[pulumi.Input[int]]):
|
|
717
|
+
def ha_datastore_apd_response_delay(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
717
718
|
pulumi.set(self, "ha_datastore_apd_response_delay", value)
|
|
718
719
|
|
|
719
720
|
@property
|
|
720
721
|
@pulumi.getter(name="haDatastorePdlResponse")
|
|
721
|
-
def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[str]]:
|
|
722
|
+
def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
722
723
|
"""
|
|
723
724
|
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
724
725
|
detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
@@ -726,24 +727,24 @@ class ComputeClusterArgs:
|
|
|
726
727
|
return pulumi.get(self, "ha_datastore_pdl_response")
|
|
727
728
|
|
|
728
729
|
@ha_datastore_pdl_response.setter
|
|
729
|
-
def ha_datastore_pdl_response(self, value: Optional[pulumi.Input[str]]):
|
|
730
|
+
def ha_datastore_pdl_response(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
730
731
|
pulumi.set(self, "ha_datastore_pdl_response", value)
|
|
731
732
|
|
|
732
733
|
@property
|
|
733
734
|
@pulumi.getter(name="haEnabled")
|
|
734
|
-
def ha_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
735
|
+
def ha_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
735
736
|
"""
|
|
736
737
|
Enable vSphere HA for this cluster.
|
|
737
738
|
"""
|
|
738
739
|
return pulumi.get(self, "ha_enabled")
|
|
739
740
|
|
|
740
741
|
@ha_enabled.setter
|
|
741
|
-
def ha_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
742
|
+
def ha_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
742
743
|
pulumi.set(self, "ha_enabled", value)
|
|
743
744
|
|
|
744
745
|
@property
|
|
745
746
|
@pulumi.getter(name="haHeartbeatDatastoreIds")
|
|
746
|
-
def ha_heartbeat_datastore_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
747
|
+
def ha_heartbeat_datastore_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
747
748
|
"""
|
|
748
749
|
The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
|
|
749
750
|
ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
@@ -751,12 +752,12 @@ class ComputeClusterArgs:
|
|
|
751
752
|
return pulumi.get(self, "ha_heartbeat_datastore_ids")
|
|
752
753
|
|
|
753
754
|
@ha_heartbeat_datastore_ids.setter
|
|
754
|
-
def ha_heartbeat_datastore_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
755
|
+
def ha_heartbeat_datastore_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
755
756
|
pulumi.set(self, "ha_heartbeat_datastore_ids", value)
|
|
756
757
|
|
|
757
758
|
@property
|
|
758
759
|
@pulumi.getter(name="haHeartbeatDatastorePolicy")
|
|
759
|
-
def ha_heartbeat_datastore_policy(self) -> Optional[pulumi.Input[str]]:
|
|
760
|
+
def ha_heartbeat_datastore_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
760
761
|
"""
|
|
761
762
|
The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
762
763
|
allFeasibleDsWithUserPreference.
|
|
@@ -764,12 +765,12 @@ class ComputeClusterArgs:
|
|
|
764
765
|
return pulumi.get(self, "ha_heartbeat_datastore_policy")
|
|
765
766
|
|
|
766
767
|
@ha_heartbeat_datastore_policy.setter
|
|
767
|
-
def ha_heartbeat_datastore_policy(self, value: Optional[pulumi.Input[str]]):
|
|
768
|
+
def ha_heartbeat_datastore_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
768
769
|
pulumi.set(self, "ha_heartbeat_datastore_policy", value)
|
|
769
770
|
|
|
770
771
|
@property
|
|
771
772
|
@pulumi.getter(name="haHostIsolationResponse")
|
|
772
|
-
def ha_host_isolation_response(self) -> Optional[pulumi.Input[str]]:
|
|
773
|
+
def ha_host_isolation_response(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
773
774
|
"""
|
|
774
775
|
The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
|
|
775
776
|
Can be one of none, powerOff, or shutdown.
|
|
@@ -777,24 +778,24 @@ class ComputeClusterArgs:
|
|
|
777
778
|
return pulumi.get(self, "ha_host_isolation_response")
|
|
778
779
|
|
|
779
780
|
@ha_host_isolation_response.setter
|
|
780
|
-
def ha_host_isolation_response(self, value: Optional[pulumi.Input[str]]):
|
|
781
|
+
def ha_host_isolation_response(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
781
782
|
pulumi.set(self, "ha_host_isolation_response", value)
|
|
782
783
|
|
|
783
784
|
@property
|
|
784
785
|
@pulumi.getter(name="haHostMonitoring")
|
|
785
|
-
def ha_host_monitoring(self) -> Optional[pulumi.Input[str]]:
|
|
786
|
+
def ha_host_monitoring(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
786
787
|
"""
|
|
787
788
|
Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
|
|
788
789
|
"""
|
|
789
790
|
return pulumi.get(self, "ha_host_monitoring")
|
|
790
791
|
|
|
791
792
|
@ha_host_monitoring.setter
|
|
792
|
-
def ha_host_monitoring(self, value: Optional[pulumi.Input[str]]):
|
|
793
|
+
def ha_host_monitoring(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
793
794
|
pulumi.set(self, "ha_host_monitoring", value)
|
|
794
795
|
|
|
795
796
|
@property
|
|
796
797
|
@pulumi.getter(name="haVmComponentProtection")
|
|
797
|
-
def ha_vm_component_protection(self) -> Optional[pulumi.Input[str]]:
|
|
798
|
+
def ha_vm_component_protection(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
798
799
|
"""
|
|
799
800
|
Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
800
801
|
failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
@@ -802,12 +803,12 @@ class ComputeClusterArgs:
|
|
|
802
803
|
return pulumi.get(self, "ha_vm_component_protection")
|
|
803
804
|
|
|
804
805
|
@ha_vm_component_protection.setter
|
|
805
|
-
def ha_vm_component_protection(self, value: Optional[pulumi.Input[str]]):
|
|
806
|
+
def ha_vm_component_protection(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
806
807
|
pulumi.set(self, "ha_vm_component_protection", value)
|
|
807
808
|
|
|
808
809
|
@property
|
|
809
810
|
@pulumi.getter(name="haVmDependencyRestartCondition")
|
|
810
|
-
def ha_vm_dependency_restart_condition(self) -> Optional[pulumi.Input[str]]:
|
|
811
|
+
def ha_vm_dependency_restart_condition(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
811
812
|
"""
|
|
812
813
|
The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move
|
|
813
814
|
on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
@@ -815,12 +816,12 @@ class ComputeClusterArgs:
|
|
|
815
816
|
return pulumi.get(self, "ha_vm_dependency_restart_condition")
|
|
816
817
|
|
|
817
818
|
@ha_vm_dependency_restart_condition.setter
|
|
818
|
-
def ha_vm_dependency_restart_condition(self, value: Optional[pulumi.Input[str]]):
|
|
819
|
+
def ha_vm_dependency_restart_condition(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
819
820
|
pulumi.set(self, "ha_vm_dependency_restart_condition", value)
|
|
820
821
|
|
|
821
822
|
@property
|
|
822
823
|
@pulumi.getter(name="haVmFailureInterval")
|
|
823
|
-
def ha_vm_failure_interval(self) -> Optional[pulumi.Input[int]]:
|
|
824
|
+
def ha_vm_failure_interval(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
824
825
|
"""
|
|
825
826
|
If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
|
|
826
827
|
failed. The value is in seconds.
|
|
@@ -828,12 +829,12 @@ class ComputeClusterArgs:
|
|
|
828
829
|
return pulumi.get(self, "ha_vm_failure_interval")
|
|
829
830
|
|
|
830
831
|
@ha_vm_failure_interval.setter
|
|
831
|
-
def ha_vm_failure_interval(self, value: Optional[pulumi.Input[int]]):
|
|
832
|
+
def ha_vm_failure_interval(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
832
833
|
pulumi.set(self, "ha_vm_failure_interval", value)
|
|
833
834
|
|
|
834
835
|
@property
|
|
835
836
|
@pulumi.getter(name="haVmMaximumFailureWindow")
|
|
836
|
-
def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[int]]:
|
|
837
|
+
def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
837
838
|
"""
|
|
838
839
|
The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
839
840
|
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
@@ -842,36 +843,36 @@ class ComputeClusterArgs:
|
|
|
842
843
|
return pulumi.get(self, "ha_vm_maximum_failure_window")
|
|
843
844
|
|
|
844
845
|
@ha_vm_maximum_failure_window.setter
|
|
845
|
-
def ha_vm_maximum_failure_window(self, value: Optional[pulumi.Input[int]]):
|
|
846
|
+
def ha_vm_maximum_failure_window(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
846
847
|
pulumi.set(self, "ha_vm_maximum_failure_window", value)
|
|
847
848
|
|
|
848
849
|
@property
|
|
849
850
|
@pulumi.getter(name="haVmMaximumResets")
|
|
850
|
-
def ha_vm_maximum_resets(self) -> Optional[pulumi.Input[int]]:
|
|
851
|
+
def ha_vm_maximum_resets(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
851
852
|
"""
|
|
852
853
|
The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
|
|
853
854
|
"""
|
|
854
855
|
return pulumi.get(self, "ha_vm_maximum_resets")
|
|
855
856
|
|
|
856
857
|
@ha_vm_maximum_resets.setter
|
|
857
|
-
def ha_vm_maximum_resets(self, value: Optional[pulumi.Input[int]]):
|
|
858
|
+
def ha_vm_maximum_resets(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
858
859
|
pulumi.set(self, "ha_vm_maximum_resets", value)
|
|
859
860
|
|
|
860
861
|
@property
|
|
861
862
|
@pulumi.getter(name="haVmMinimumUptime")
|
|
862
|
-
def ha_vm_minimum_uptime(self) -> Optional[pulumi.Input[int]]:
|
|
863
|
+
def ha_vm_minimum_uptime(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
863
864
|
"""
|
|
864
865
|
The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
|
|
865
866
|
"""
|
|
866
867
|
return pulumi.get(self, "ha_vm_minimum_uptime")
|
|
867
868
|
|
|
868
869
|
@ha_vm_minimum_uptime.setter
|
|
869
|
-
def ha_vm_minimum_uptime(self, value: Optional[pulumi.Input[int]]):
|
|
870
|
+
def ha_vm_minimum_uptime(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
870
871
|
pulumi.set(self, "ha_vm_minimum_uptime", value)
|
|
871
872
|
|
|
872
873
|
@property
|
|
873
874
|
@pulumi.getter(name="haVmMonitoring")
|
|
874
|
-
def ha_vm_monitoring(self) -> Optional[pulumi.Input[str]]:
|
|
875
|
+
def ha_vm_monitoring(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
875
876
|
"""
|
|
876
877
|
The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
877
878
|
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
@@ -879,24 +880,24 @@ class ComputeClusterArgs:
|
|
|
879
880
|
return pulumi.get(self, "ha_vm_monitoring")
|
|
880
881
|
|
|
881
882
|
@ha_vm_monitoring.setter
|
|
882
|
-
def ha_vm_monitoring(self, value: Optional[pulumi.Input[str]]):
|
|
883
|
+
def ha_vm_monitoring(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
883
884
|
pulumi.set(self, "ha_vm_monitoring", value)
|
|
884
885
|
|
|
885
886
|
@property
|
|
886
887
|
@pulumi.getter(name="haVmRestartAdditionalDelay")
|
|
887
|
-
def ha_vm_restart_additional_delay(self) -> Optional[pulumi.Input[int]]:
|
|
888
|
+
def ha_vm_restart_additional_delay(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
888
889
|
"""
|
|
889
890
|
Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
|
|
890
891
|
"""
|
|
891
892
|
return pulumi.get(self, "ha_vm_restart_additional_delay")
|
|
892
893
|
|
|
893
894
|
@ha_vm_restart_additional_delay.setter
|
|
894
|
-
def ha_vm_restart_additional_delay(self, value: Optional[pulumi.Input[int]]):
|
|
895
|
+
def ha_vm_restart_additional_delay(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
895
896
|
pulumi.set(self, "ha_vm_restart_additional_delay", value)
|
|
896
897
|
|
|
897
898
|
@property
|
|
898
899
|
@pulumi.getter(name="haVmRestartPriority")
|
|
899
|
-
def ha_vm_restart_priority(self) -> Optional[pulumi.Input[str]]:
|
|
900
|
+
def ha_vm_restart_priority(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
900
901
|
"""
|
|
901
902
|
The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
|
|
902
903
|
high, or highest.
|
|
@@ -904,12 +905,12 @@ class ComputeClusterArgs:
|
|
|
904
905
|
return pulumi.get(self, "ha_vm_restart_priority")
|
|
905
906
|
|
|
906
907
|
@ha_vm_restart_priority.setter
|
|
907
|
-
def ha_vm_restart_priority(self, value: Optional[pulumi.Input[str]]):
|
|
908
|
+
def ha_vm_restart_priority(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
908
909
|
pulumi.set(self, "ha_vm_restart_priority", value)
|
|
909
910
|
|
|
910
911
|
@property
|
|
911
912
|
@pulumi.getter(name="haVmRestartTimeout")
|
|
912
|
-
def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
913
|
+
def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
913
914
|
"""
|
|
914
915
|
The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
|
|
915
916
|
proceeding with the next priority.
|
|
@@ -917,19 +918,19 @@ class ComputeClusterArgs:
|
|
|
917
918
|
return pulumi.get(self, "ha_vm_restart_timeout")
|
|
918
919
|
|
|
919
920
|
@ha_vm_restart_timeout.setter
|
|
920
|
-
def ha_vm_restart_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
921
|
+
def ha_vm_restart_timeout(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
921
922
|
pulumi.set(self, "ha_vm_restart_timeout", value)
|
|
922
923
|
|
|
923
924
|
@property
|
|
924
925
|
@pulumi.getter(name="hostClusterExitTimeout")
|
|
925
|
-
def host_cluster_exit_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
926
|
+
def host_cluster_exit_timeout(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
926
927
|
"""
|
|
927
928
|
The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
928
929
|
"""
|
|
929
930
|
return pulumi.get(self, "host_cluster_exit_timeout")
|
|
930
931
|
|
|
931
932
|
@host_cluster_exit_timeout.setter
|
|
932
|
-
def host_cluster_exit_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
933
|
+
def host_cluster_exit_timeout(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
933
934
|
pulumi.set(self, "host_cluster_exit_timeout", value)
|
|
934
935
|
|
|
935
936
|
@property
|
|
@@ -946,67 +947,67 @@ class ComputeClusterArgs:
|
|
|
946
947
|
|
|
947
948
|
@property
|
|
948
949
|
@pulumi.getter(name="hostManaged")
|
|
949
|
-
def host_managed(self) -> Optional[pulumi.Input[bool]]:
|
|
950
|
+
def host_managed(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
950
951
|
"""
|
|
951
952
|
Must be set if cluster enrollment is managed from host resource.
|
|
952
953
|
"""
|
|
953
954
|
return pulumi.get(self, "host_managed")
|
|
954
955
|
|
|
955
956
|
@host_managed.setter
|
|
956
|
-
def host_managed(self, value: Optional[pulumi.Input[bool]]):
|
|
957
|
+
def host_managed(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
957
958
|
pulumi.set(self, "host_managed", value)
|
|
958
959
|
|
|
959
960
|
@property
|
|
960
961
|
@pulumi.getter(name="hostSystemIds")
|
|
961
|
-
def host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
962
|
+
def host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
962
963
|
"""
|
|
963
964
|
The managed object IDs of the hosts to put in the cluster.
|
|
964
965
|
"""
|
|
965
966
|
return pulumi.get(self, "host_system_ids")
|
|
966
967
|
|
|
967
968
|
@host_system_ids.setter
|
|
968
|
-
def host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
969
|
+
def host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
969
970
|
pulumi.set(self, "host_system_ids", value)
|
|
970
971
|
|
|
971
972
|
@property
|
|
972
973
|
@pulumi.getter
|
|
973
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
974
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
974
975
|
"""
|
|
975
976
|
The name of the cluster.
|
|
976
977
|
"""
|
|
977
978
|
return pulumi.get(self, "name")
|
|
978
979
|
|
|
979
980
|
@name.setter
|
|
980
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
981
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
981
982
|
pulumi.set(self, "name", value)
|
|
982
983
|
|
|
983
984
|
@property
|
|
984
985
|
@pulumi.getter(name="proactiveHaAutomationLevel")
|
|
985
|
-
def proactive_ha_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
986
|
+
def proactive_ha_automation_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
986
987
|
"""
|
|
987
988
|
The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
988
989
|
"""
|
|
989
990
|
return pulumi.get(self, "proactive_ha_automation_level")
|
|
990
991
|
|
|
991
992
|
@proactive_ha_automation_level.setter
|
|
992
|
-
def proactive_ha_automation_level(self, value: Optional[pulumi.Input[str]]):
|
|
993
|
+
def proactive_ha_automation_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
993
994
|
pulumi.set(self, "proactive_ha_automation_level", value)
|
|
994
995
|
|
|
995
996
|
@property
|
|
996
997
|
@pulumi.getter(name="proactiveHaEnabled")
|
|
997
|
-
def proactive_ha_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
998
|
+
def proactive_ha_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
998
999
|
"""
|
|
999
1000
|
Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
|
|
1000
1001
|
"""
|
|
1001
1002
|
return pulumi.get(self, "proactive_ha_enabled")
|
|
1002
1003
|
|
|
1003
1004
|
@proactive_ha_enabled.setter
|
|
1004
|
-
def proactive_ha_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1005
|
+
def proactive_ha_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1005
1006
|
pulumi.set(self, "proactive_ha_enabled", value)
|
|
1006
1007
|
|
|
1007
1008
|
@property
|
|
1008
1009
|
@pulumi.getter(name="proactiveHaModerateRemediation")
|
|
1009
|
-
def proactive_ha_moderate_remediation(self) -> Optional[pulumi.Input[str]]:
|
|
1010
|
+
def proactive_ha_moderate_remediation(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1010
1011
|
"""
|
|
1011
1012
|
The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
1012
1013
|
this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
@@ -1014,24 +1015,24 @@ class ComputeClusterArgs:
|
|
|
1014
1015
|
return pulumi.get(self, "proactive_ha_moderate_remediation")
|
|
1015
1016
|
|
|
1016
1017
|
@proactive_ha_moderate_remediation.setter
|
|
1017
|
-
def proactive_ha_moderate_remediation(self, value: Optional[pulumi.Input[str]]):
|
|
1018
|
+
def proactive_ha_moderate_remediation(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1018
1019
|
pulumi.set(self, "proactive_ha_moderate_remediation", value)
|
|
1019
1020
|
|
|
1020
1021
|
@property
|
|
1021
1022
|
@pulumi.getter(name="proactiveHaProviderIds")
|
|
1022
|
-
def proactive_ha_provider_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1023
|
+
def proactive_ha_provider_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1023
1024
|
"""
|
|
1024
1025
|
The list of IDs for health update providers configured for this cluster.
|
|
1025
1026
|
"""
|
|
1026
1027
|
return pulumi.get(self, "proactive_ha_provider_ids")
|
|
1027
1028
|
|
|
1028
1029
|
@proactive_ha_provider_ids.setter
|
|
1029
|
-
def proactive_ha_provider_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1030
|
+
def proactive_ha_provider_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1030
1031
|
pulumi.set(self, "proactive_ha_provider_ids", value)
|
|
1031
1032
|
|
|
1032
1033
|
@property
|
|
1033
1034
|
@pulumi.getter(name="proactiveHaSevereRemediation")
|
|
1034
|
-
def proactive_ha_severe_remediation(self) -> Optional[pulumi.Input[str]]:
|
|
1035
|
+
def proactive_ha_severe_remediation(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1035
1036
|
"""
|
|
1036
1037
|
The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
1037
1038
|
cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
@@ -1039,43 +1040,43 @@ class ComputeClusterArgs:
|
|
|
1039
1040
|
return pulumi.get(self, "proactive_ha_severe_remediation")
|
|
1040
1041
|
|
|
1041
1042
|
@proactive_ha_severe_remediation.setter
|
|
1042
|
-
def proactive_ha_severe_remediation(self, value: Optional[pulumi.Input[str]]):
|
|
1043
|
+
def proactive_ha_severe_remediation(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1043
1044
|
pulumi.set(self, "proactive_ha_severe_remediation", value)
|
|
1044
1045
|
|
|
1045
1046
|
@property
|
|
1046
1047
|
@pulumi.getter
|
|
1047
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1048
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1048
1049
|
"""
|
|
1049
1050
|
The IDs of any tags to attach to this resource.
|
|
1050
1051
|
"""
|
|
1051
1052
|
return pulumi.get(self, "tags")
|
|
1052
1053
|
|
|
1053
1054
|
@tags.setter
|
|
1054
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1055
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1055
1056
|
pulumi.set(self, "tags", value)
|
|
1056
1057
|
|
|
1057
1058
|
@property
|
|
1058
1059
|
@pulumi.getter(name="vsanCompressionEnabled")
|
|
1059
|
-
def vsan_compression_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1060
|
+
def vsan_compression_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1060
1061
|
"""
|
|
1061
1062
|
Whether the vSAN compression service is enabled for the cluster.
|
|
1062
1063
|
"""
|
|
1063
1064
|
return pulumi.get(self, "vsan_compression_enabled")
|
|
1064
1065
|
|
|
1065
1066
|
@vsan_compression_enabled.setter
|
|
1066
|
-
def vsan_compression_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1067
|
+
def vsan_compression_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1067
1068
|
pulumi.set(self, "vsan_compression_enabled", value)
|
|
1068
1069
|
|
|
1069
1070
|
@property
|
|
1070
1071
|
@pulumi.getter(name="vsanDedupEnabled")
|
|
1071
|
-
def vsan_dedup_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1072
|
+
def vsan_dedup_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1072
1073
|
"""
|
|
1073
1074
|
Whether the vSAN deduplication service is enabled for the cluster.
|
|
1074
1075
|
"""
|
|
1075
1076
|
return pulumi.get(self, "vsan_dedup_enabled")
|
|
1076
1077
|
|
|
1077
1078
|
@vsan_dedup_enabled.setter
|
|
1078
|
-
def vsan_dedup_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1079
|
+
def vsan_dedup_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1079
1080
|
pulumi.set(self, "vsan_dedup_enabled", value)
|
|
1080
1081
|
|
|
1081
1082
|
@property
|
|
@@ -1092,50 +1093,50 @@ class ComputeClusterArgs:
|
|
|
1092
1093
|
|
|
1093
1094
|
@property
|
|
1094
1095
|
@pulumi.getter(name="vsanDitEncryptionEnabled")
|
|
1095
|
-
def vsan_dit_encryption_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1096
|
+
def vsan_dit_encryption_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1096
1097
|
"""
|
|
1097
1098
|
Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
1098
1099
|
"""
|
|
1099
1100
|
return pulumi.get(self, "vsan_dit_encryption_enabled")
|
|
1100
1101
|
|
|
1101
1102
|
@vsan_dit_encryption_enabled.setter
|
|
1102
|
-
def vsan_dit_encryption_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1103
|
+
def vsan_dit_encryption_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1103
1104
|
pulumi.set(self, "vsan_dit_encryption_enabled", value)
|
|
1104
1105
|
|
|
1105
1106
|
@property
|
|
1106
1107
|
@pulumi.getter(name="vsanDitRekeyInterval")
|
|
1107
|
-
def vsan_dit_rekey_interval(self) -> Optional[pulumi.Input[int]]:
|
|
1108
|
+
def vsan_dit_rekey_interval(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1108
1109
|
"""
|
|
1109
1110
|
When vsan_dit_encryption_enabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
1110
1111
|
"""
|
|
1111
1112
|
return pulumi.get(self, "vsan_dit_rekey_interval")
|
|
1112
1113
|
|
|
1113
1114
|
@vsan_dit_rekey_interval.setter
|
|
1114
|
-
def vsan_dit_rekey_interval(self, value: Optional[pulumi.Input[int]]):
|
|
1115
|
+
def vsan_dit_rekey_interval(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1115
1116
|
pulumi.set(self, "vsan_dit_rekey_interval", value)
|
|
1116
1117
|
|
|
1117
1118
|
@property
|
|
1118
1119
|
@pulumi.getter(name="vsanEnabled")
|
|
1119
|
-
def vsan_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1120
|
+
def vsan_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1120
1121
|
"""
|
|
1121
1122
|
Whether the vSAN service is enabled for the cluster.
|
|
1122
1123
|
"""
|
|
1123
1124
|
return pulumi.get(self, "vsan_enabled")
|
|
1124
1125
|
|
|
1125
1126
|
@vsan_enabled.setter
|
|
1126
|
-
def vsan_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1127
|
+
def vsan_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1127
1128
|
pulumi.set(self, "vsan_enabled", value)
|
|
1128
1129
|
|
|
1129
1130
|
@property
|
|
1130
1131
|
@pulumi.getter(name="vsanEsaEnabled")
|
|
1131
|
-
def vsan_esa_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1132
|
+
def vsan_esa_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1132
1133
|
"""
|
|
1133
1134
|
Whether the vSAN ESA service is enabled for the cluster.
|
|
1134
1135
|
"""
|
|
1135
1136
|
return pulumi.get(self, "vsan_esa_enabled")
|
|
1136
1137
|
|
|
1137
1138
|
@vsan_esa_enabled.setter
|
|
1138
|
-
def vsan_esa_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1139
|
+
def vsan_esa_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1139
1140
|
pulumi.set(self, "vsan_esa_enabled", value)
|
|
1140
1141
|
|
|
1141
1142
|
@property
|
|
@@ -1152,38 +1153,38 @@ class ComputeClusterArgs:
|
|
|
1152
1153
|
|
|
1153
1154
|
@property
|
|
1154
1155
|
@pulumi.getter(name="vsanNetworkDiagnosticModeEnabled")
|
|
1155
|
-
def vsan_network_diagnostic_mode_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1156
|
+
def vsan_network_diagnostic_mode_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1156
1157
|
"""
|
|
1157
1158
|
Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
1158
1159
|
"""
|
|
1159
1160
|
return pulumi.get(self, "vsan_network_diagnostic_mode_enabled")
|
|
1160
1161
|
|
|
1161
1162
|
@vsan_network_diagnostic_mode_enabled.setter
|
|
1162
|
-
def vsan_network_diagnostic_mode_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1163
|
+
def vsan_network_diagnostic_mode_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1163
1164
|
pulumi.set(self, "vsan_network_diagnostic_mode_enabled", value)
|
|
1164
1165
|
|
|
1165
1166
|
@property
|
|
1166
1167
|
@pulumi.getter(name="vsanPerformanceEnabled")
|
|
1167
|
-
def vsan_performance_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1168
|
+
def vsan_performance_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1168
1169
|
"""
|
|
1169
1170
|
Whether the vSAN performance service is enabled for the cluster.
|
|
1170
1171
|
"""
|
|
1171
1172
|
return pulumi.get(self, "vsan_performance_enabled")
|
|
1172
1173
|
|
|
1173
1174
|
@vsan_performance_enabled.setter
|
|
1174
|
-
def vsan_performance_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1175
|
+
def vsan_performance_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1175
1176
|
pulumi.set(self, "vsan_performance_enabled", value)
|
|
1176
1177
|
|
|
1177
1178
|
@property
|
|
1178
1179
|
@pulumi.getter(name="vsanRemoteDatastoreIds")
|
|
1179
|
-
def vsan_remote_datastore_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1180
|
+
def vsan_remote_datastore_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1180
1181
|
"""
|
|
1181
1182
|
The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
1182
1183
|
"""
|
|
1183
1184
|
return pulumi.get(self, "vsan_remote_datastore_ids")
|
|
1184
1185
|
|
|
1185
1186
|
@vsan_remote_datastore_ids.setter
|
|
1186
|
-
def vsan_remote_datastore_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1187
|
+
def vsan_remote_datastore_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1187
1188
|
pulumi.set(self, "vsan_remote_datastore_ids", value)
|
|
1188
1189
|
|
|
1189
1190
|
@property
|
|
@@ -1200,225 +1201,225 @@ class ComputeClusterArgs:
|
|
|
1200
1201
|
|
|
1201
1202
|
@property
|
|
1202
1203
|
@pulumi.getter(name="vsanUnmapEnabled")
|
|
1203
|
-
def vsan_unmap_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1204
|
+
def vsan_unmap_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1204
1205
|
"""
|
|
1205
1206
|
Whether the vSAN unmap service is enabled for the cluster.
|
|
1206
1207
|
"""
|
|
1207
1208
|
return pulumi.get(self, "vsan_unmap_enabled")
|
|
1208
1209
|
|
|
1209
1210
|
@vsan_unmap_enabled.setter
|
|
1210
|
-
def vsan_unmap_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1211
|
+
def vsan_unmap_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1211
1212
|
pulumi.set(self, "vsan_unmap_enabled", value)
|
|
1212
1213
|
|
|
1213
1214
|
@property
|
|
1214
1215
|
@pulumi.getter(name="vsanVerboseModeEnabled")
|
|
1215
|
-
def vsan_verbose_mode_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1216
|
+
def vsan_verbose_mode_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1216
1217
|
"""
|
|
1217
1218
|
Whether the vSAN verbose mode is enabled for the cluster.
|
|
1218
1219
|
"""
|
|
1219
1220
|
return pulumi.get(self, "vsan_verbose_mode_enabled")
|
|
1220
1221
|
|
|
1221
1222
|
@vsan_verbose_mode_enabled.setter
|
|
1222
|
-
def vsan_verbose_mode_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1223
|
+
def vsan_verbose_mode_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1223
1224
|
pulumi.set(self, "vsan_verbose_mode_enabled", value)
|
|
1224
1225
|
|
|
1225
1226
|
|
|
1226
1227
|
@pulumi.input_type
|
|
1227
1228
|
class _ComputeClusterState:
|
|
1228
1229
|
def __init__(__self__, *,
|
|
1229
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1230
|
-
datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
1231
|
-
dpm_automation_level: Optional[pulumi.Input[str]] = None,
|
|
1232
|
-
dpm_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1233
|
-
dpm_threshold: Optional[pulumi.Input[int]] = None,
|
|
1234
|
-
drs_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1235
|
-
drs_automation_level: Optional[pulumi.Input[str]] = None,
|
|
1236
|
-
drs_enable_predictive_drs: Optional[pulumi.Input[bool]] = None,
|
|
1237
|
-
drs_enable_vm_overrides: Optional[pulumi.Input[bool]] = None,
|
|
1238
|
-
drs_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1239
|
-
drs_migration_threshold: Optional[pulumi.Input[int]] = None,
|
|
1240
|
-
drs_scale_descendants_shares: Optional[pulumi.Input[str]] = None,
|
|
1241
|
-
folder: Optional[pulumi.Input[str]] = None,
|
|
1242
|
-
force_evacuate_on_destroy: Optional[pulumi.Input[bool]] = None,
|
|
1243
|
-
ha_admission_control_failover_host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1244
|
-
ha_admission_control_host_failure_tolerance: Optional[pulumi.Input[int]] = None,
|
|
1245
|
-
ha_admission_control_performance_tolerance: Optional[pulumi.Input[int]] = None,
|
|
1246
|
-
ha_admission_control_policy: Optional[pulumi.Input[str]] = None,
|
|
1247
|
-
ha_admission_control_resource_percentage_auto_compute: Optional[pulumi.Input[bool]] = None,
|
|
1248
|
-
ha_admission_control_resource_percentage_cpu: Optional[pulumi.Input[int]] = None,
|
|
1249
|
-
ha_admission_control_resource_percentage_memory: Optional[pulumi.Input[int]] = None,
|
|
1250
|
-
ha_admission_control_slot_policy_explicit_cpu: Optional[pulumi.Input[int]] = None,
|
|
1251
|
-
ha_admission_control_slot_policy_explicit_memory: Optional[pulumi.Input[int]] = None,
|
|
1252
|
-
ha_admission_control_slot_policy_use_explicit_size: Optional[pulumi.Input[bool]] = None,
|
|
1253
|
-
ha_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
1254
|
-
ha_datastore_apd_recovery_action: Optional[pulumi.Input[str]] = None,
|
|
1255
|
-
ha_datastore_apd_response: Optional[pulumi.Input[str]] = None,
|
|
1256
|
-
ha_datastore_apd_response_delay: Optional[pulumi.Input[int]] = None,
|
|
1257
|
-
ha_datastore_pdl_response: Optional[pulumi.Input[str]] = None,
|
|
1258
|
-
ha_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1259
|
-
ha_heartbeat_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1260
|
-
ha_heartbeat_datastore_policy: Optional[pulumi.Input[str]] = None,
|
|
1261
|
-
ha_host_isolation_response: Optional[pulumi.Input[str]] = None,
|
|
1262
|
-
ha_host_monitoring: Optional[pulumi.Input[str]] = None,
|
|
1263
|
-
ha_vm_component_protection: Optional[pulumi.Input[str]] = None,
|
|
1264
|
-
ha_vm_dependency_restart_condition: Optional[pulumi.Input[str]] = None,
|
|
1265
|
-
ha_vm_failure_interval: Optional[pulumi.Input[int]] = None,
|
|
1266
|
-
ha_vm_maximum_failure_window: Optional[pulumi.Input[int]] = None,
|
|
1267
|
-
ha_vm_maximum_resets: Optional[pulumi.Input[int]] = None,
|
|
1268
|
-
ha_vm_minimum_uptime: Optional[pulumi.Input[int]] = None,
|
|
1269
|
-
ha_vm_monitoring: Optional[pulumi.Input[str]] = None,
|
|
1270
|
-
ha_vm_restart_additional_delay: Optional[pulumi.Input[int]] = None,
|
|
1271
|
-
ha_vm_restart_priority: Optional[pulumi.Input[str]] = None,
|
|
1272
|
-
ha_vm_restart_timeout: Optional[pulumi.Input[int]] = None,
|
|
1273
|
-
host_cluster_exit_timeout: Optional[pulumi.Input[int]] = None,
|
|
1230
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1231
|
+
datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1232
|
+
dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
1233
|
+
dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1234
|
+
dpm_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
1235
|
+
drs_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1236
|
+
drs_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
1237
|
+
drs_enable_predictive_drs: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1238
|
+
drs_enable_vm_overrides: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1239
|
+
drs_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1240
|
+
drs_migration_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
1241
|
+
drs_scale_descendants_shares: Optional[pulumi.Input[builtins.str]] = None,
|
|
1242
|
+
folder: Optional[pulumi.Input[builtins.str]] = None,
|
|
1243
|
+
force_evacuate_on_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1244
|
+
ha_admission_control_failover_host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1245
|
+
ha_admission_control_host_failure_tolerance: Optional[pulumi.Input[builtins.int]] = None,
|
|
1246
|
+
ha_admission_control_performance_tolerance: Optional[pulumi.Input[builtins.int]] = None,
|
|
1247
|
+
ha_admission_control_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1248
|
+
ha_admission_control_resource_percentage_auto_compute: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1249
|
+
ha_admission_control_resource_percentage_cpu: Optional[pulumi.Input[builtins.int]] = None,
|
|
1250
|
+
ha_admission_control_resource_percentage_memory: Optional[pulumi.Input[builtins.int]] = None,
|
|
1251
|
+
ha_admission_control_slot_policy_explicit_cpu: Optional[pulumi.Input[builtins.int]] = None,
|
|
1252
|
+
ha_admission_control_slot_policy_explicit_memory: Optional[pulumi.Input[builtins.int]] = None,
|
|
1253
|
+
ha_admission_control_slot_policy_use_explicit_size: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1254
|
+
ha_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
1255
|
+
ha_datastore_apd_recovery_action: Optional[pulumi.Input[builtins.str]] = None,
|
|
1256
|
+
ha_datastore_apd_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
1257
|
+
ha_datastore_apd_response_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
1258
|
+
ha_datastore_pdl_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
1259
|
+
ha_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1260
|
+
ha_heartbeat_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1261
|
+
ha_heartbeat_datastore_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1262
|
+
ha_host_isolation_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
1263
|
+
ha_host_monitoring: Optional[pulumi.Input[builtins.str]] = None,
|
|
1264
|
+
ha_vm_component_protection: Optional[pulumi.Input[builtins.str]] = None,
|
|
1265
|
+
ha_vm_dependency_restart_condition: Optional[pulumi.Input[builtins.str]] = None,
|
|
1266
|
+
ha_vm_failure_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
1267
|
+
ha_vm_maximum_failure_window: Optional[pulumi.Input[builtins.int]] = None,
|
|
1268
|
+
ha_vm_maximum_resets: Optional[pulumi.Input[builtins.int]] = None,
|
|
1269
|
+
ha_vm_minimum_uptime: Optional[pulumi.Input[builtins.int]] = None,
|
|
1270
|
+
ha_vm_monitoring: Optional[pulumi.Input[builtins.str]] = None,
|
|
1271
|
+
ha_vm_restart_additional_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
1272
|
+
ha_vm_restart_priority: Optional[pulumi.Input[builtins.str]] = None,
|
|
1273
|
+
ha_vm_restart_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
1274
|
+
host_cluster_exit_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
1274
1275
|
host_image: Optional[pulumi.Input['ComputeClusterHostImageArgs']] = None,
|
|
1275
|
-
host_managed: Optional[pulumi.Input[bool]] = None,
|
|
1276
|
-
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1277
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
1278
|
-
proactive_ha_automation_level: Optional[pulumi.Input[str]] = None,
|
|
1279
|
-
proactive_ha_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1280
|
-
proactive_ha_moderate_remediation: Optional[pulumi.Input[str]] = None,
|
|
1281
|
-
proactive_ha_provider_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1282
|
-
proactive_ha_severe_remediation: Optional[pulumi.Input[str]] = None,
|
|
1283
|
-
resource_pool_id: Optional[pulumi.Input[str]] = None,
|
|
1284
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1285
|
-
vsan_compression_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1286
|
-
vsan_dedup_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1276
|
+
host_managed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1277
|
+
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1278
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1279
|
+
proactive_ha_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
1280
|
+
proactive_ha_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1281
|
+
proactive_ha_moderate_remediation: Optional[pulumi.Input[builtins.str]] = None,
|
|
1282
|
+
proactive_ha_provider_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1283
|
+
proactive_ha_severe_remediation: Optional[pulumi.Input[builtins.str]] = None,
|
|
1284
|
+
resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
1285
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1286
|
+
vsan_compression_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1287
|
+
vsan_dedup_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1287
1288
|
vsan_disk_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ComputeClusterVsanDiskGroupArgs']]]] = None,
|
|
1288
|
-
vsan_dit_encryption_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1289
|
-
vsan_dit_rekey_interval: Optional[pulumi.Input[int]] = None,
|
|
1290
|
-
vsan_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1291
|
-
vsan_esa_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1289
|
+
vsan_dit_encryption_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1290
|
+
vsan_dit_rekey_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
1291
|
+
vsan_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1292
|
+
vsan_esa_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1292
1293
|
vsan_fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input['ComputeClusterVsanFaultDomainArgs']]]] = None,
|
|
1293
|
-
vsan_network_diagnostic_mode_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1294
|
-
vsan_performance_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1295
|
-
vsan_remote_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
1294
|
+
vsan_network_diagnostic_mode_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1295
|
+
vsan_performance_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1296
|
+
vsan_remote_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
1296
1297
|
vsan_stretched_cluster: Optional[pulumi.Input['ComputeClusterVsanStretchedClusterArgs']] = None,
|
|
1297
|
-
vsan_unmap_enabled: Optional[pulumi.Input[bool]] = None,
|
|
1298
|
-
vsan_verbose_mode_enabled: Optional[pulumi.Input[bool]] = None):
|
|
1298
|
+
vsan_unmap_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1299
|
+
vsan_verbose_mode_enabled: Optional[pulumi.Input[builtins.bool]] = None):
|
|
1299
1300
|
"""
|
|
1300
1301
|
Input properties used for looking up and filtering ComputeCluster resources.
|
|
1301
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A map of custom attribute ids to attribute
|
|
1302
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A map of custom attribute ids to attribute
|
|
1302
1303
|
value strings to set for the datastore cluster.
|
|
1303
1304
|
|
|
1304
1305
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
1305
1306
|
and require vCenter Server.
|
|
1306
|
-
:param pulumi.Input[str] datacenter_id: The managed object ID of
|
|
1307
|
+
:param pulumi.Input[builtins.str] datacenter_id: The managed object ID of
|
|
1307
1308
|
the datacenter to create the cluster in. Forces a new resource if changed.
|
|
1308
|
-
:param pulumi.Input[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[bool] dpm_enabled: Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
1309
|
+
: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.
|
|
1310
|
+
: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
|
machines in the cluster. Requires that DRS be enabled.
|
|
1311
|
-
:param pulumi.Input[int] dpm_threshold: A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
1312
|
+
: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
1313
|
affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
1313
1314
|
setting.
|
|
1314
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] drs_advanced_options: Advanced configuration options for DRS and DPM.
|
|
1315
|
-
:param pulumi.Input[str] drs_automation_level: The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
1315
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] drs_advanced_options: Advanced configuration options for DRS and DPM.
|
|
1316
|
+
: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
1317
|
fullyAutomated.
|
|
1317
|
-
:param pulumi.Input[bool] drs_enable_predictive_drs: When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
|
|
1318
|
-
:param pulumi.Input[bool] drs_enable_vm_overrides: When true, allows individual VM overrides within this cluster to be set.
|
|
1319
|
-
:param pulumi.Input[bool] drs_enabled: Enable DRS for this cluster.
|
|
1320
|
-
:param pulumi.Input[int] drs_migration_threshold: A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
1318
|
+
: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.
|
|
1319
|
+
:param pulumi.Input[builtins.bool] drs_enable_vm_overrides: When true, allows individual VM overrides within this cluster to be set.
|
|
1320
|
+
:param pulumi.Input[builtins.bool] drs_enabled: Enable DRS for this cluster.
|
|
1321
|
+
: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
1322
|
more imbalance while a higher setting will tolerate less.
|
|
1322
|
-
:param pulumi.Input[str] drs_scale_descendants_shares: Enable scalable shares for all descendants of this cluster.
|
|
1323
|
-
:param pulumi.Input[str] folder: The relative path to a folder to put this cluster in.
|
|
1323
|
+
:param pulumi.Input[builtins.str] drs_scale_descendants_shares: Enable scalable shares for all descendants of this cluster.
|
|
1324
|
+
:param pulumi.Input[builtins.str] folder: The relative path to a folder to put this cluster in.
|
|
1324
1325
|
This is a path relative to the datacenter you are deploying the cluster to.
|
|
1325
1326
|
Example: for the `dc1` datacenter, and a provided `folder` of `foo/bar`,
|
|
1326
1327
|
The provider will place a cluster named `compute-cluster-test` in a
|
|
1327
1328
|
host folder located at `/dc1/host/foo/bar`, with the final inventory path
|
|
1328
1329
|
being `/dc1/host/foo/bar/datastore-cluster-test`.
|
|
1329
|
-
:param pulumi.Input[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
|
+
: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
|
for testing and is not recommended in normal use.
|
|
1331
|
-
:param pulumi.Input[Sequence[pulumi.Input[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
|
|
1332
|
+
: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
|
|
1332
1333
|
failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
|
|
1333
1334
|
will ignore the host when making recommendations.
|
|
1334
|
-
:param pulumi.Input[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
|
|
1335
|
+
: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
|
|
1335
1336
|
machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
1336
|
-
:param pulumi.Input[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
|
|
1337
|
+
: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
|
|
1337
1338
|
warnings only, whereas a value of 100 disables the setting.
|
|
1338
|
-
:param pulumi.Input[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
|
+
: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
1340
|
permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
1340
1341
|
slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
|
|
1341
1342
|
issues.
|
|
1342
|
-
:param pulumi.Input[bool] ha_admission_control_resource_percentage_auto_compute: When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by
|
|
1343
|
+
: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
1344
|
subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting
|
|
1344
1345
|
from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
1345
|
-
:param pulumi.Input[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
|
+
: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
1347
|
the cluster to reserve for failover.
|
|
1347
|
-
:param pulumi.Input[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
|
+
: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
1349
|
the cluster to reserve for failover.
|
|
1349
|
-
:param pulumi.Input[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
|
-
:param pulumi.Input[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[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
|
|
1350
|
+
: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.
|
|
1351
|
+
: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.
|
|
1352
|
+
: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
1353
|
to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
1353
1354
|
currently in the cluster.
|
|
1354
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] ha_advanced_options: Advanced configuration options for vSphere HA.
|
|
1355
|
-
:param pulumi.Input[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
|
|
1355
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] ha_advanced_options: Advanced configuration options for vSphere HA.
|
|
1356
|
+
: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
|
affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
1357
|
-
:param pulumi.Input[str] ha_datastore_apd_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
1358
|
+
: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
|
|
1358
1359
|
detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or
|
|
1359
1360
|
restartAggressive.
|
|
1360
|
-
:param pulumi.Input[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
|
+
: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
1362
|
the response action defined in ha_datastore_apd_response.
|
|
1362
|
-
:param pulumi.Input[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
|
+
: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
1364
|
detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
1364
|
-
:param pulumi.Input[bool] ha_enabled: Enable vSphere HA for this cluster.
|
|
1365
|
-
:param pulumi.Input[Sequence[pulumi.Input[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
|
|
1365
|
+
:param pulumi.Input[builtins.bool] ha_enabled: Enable vSphere HA for this cluster.
|
|
1366
|
+
: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
|
ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
1367
|
-
:param pulumi.Input[str] ha_heartbeat_datastore_policy: The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
1368
|
+
:param pulumi.Input[builtins.str] ha_heartbeat_datastore_policy: The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
1368
1369
|
allFeasibleDsWithUserPreference.
|
|
1369
|
-
:param pulumi.Input[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
|
+
: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
1371
|
Can be one of none, powerOff, or shutdown.
|
|
1371
|
-
:param pulumi.Input[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[str] ha_vm_component_protection: Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
1372
|
+
: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.
|
|
1373
|
+
: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
|
failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
1374
|
-
:param pulumi.Input[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
|
|
1375
|
+
: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
|
|
1375
1376
|
on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
1376
|
-
:param pulumi.Input[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
|
+
: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
1378
|
failed. The value is in seconds.
|
|
1378
|
-
:param pulumi.Input[int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
1379
|
+
: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
1380
|
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
1380
1381
|
time is allotted.
|
|
1381
|
-
:param pulumi.Input[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
|
-
:param pulumi.Input[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[str] ha_vm_monitoring: The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
1382
|
+
: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.
|
|
1383
|
+
: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.
|
|
1384
|
+
: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
1385
|
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
1385
|
-
:param pulumi.Input[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[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,
|
|
1386
|
+
: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.
|
|
1387
|
+
: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
|
high, or highest.
|
|
1388
|
-
:param pulumi.Input[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
|
+
: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
1390
|
proceeding with the next priority.
|
|
1390
|
-
:param pulumi.Input[int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
1391
|
+
:param pulumi.Input[builtins.int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
1391
1392
|
:param pulumi.Input['ComputeClusterHostImageArgs'] host_image: Details about the host image which should be applied to the cluster.
|
|
1392
|
-
:param pulumi.Input[bool] host_managed: Must be set if cluster enrollment is managed from host resource.
|
|
1393
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of the hosts to put in the cluster.
|
|
1394
|
-
:param pulumi.Input[str] name: The name of the cluster.
|
|
1395
|
-
:param pulumi.Input[str] proactive_ha_automation_level: The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
1396
|
-
:param pulumi.Input[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[str] proactive_ha_moderate_remediation: The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
1393
|
+
:param pulumi.Input[builtins.bool] host_managed: Must be set if cluster enrollment is managed from host resource.
|
|
1394
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of the hosts to put in the cluster.
|
|
1395
|
+
:param pulumi.Input[builtins.str] name: The name of the cluster.
|
|
1396
|
+
:param pulumi.Input[builtins.str] proactive_ha_automation_level: The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
1397
|
+
: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.
|
|
1398
|
+
: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
1399
|
this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
1399
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] proactive_ha_provider_ids: The list of IDs for health update providers configured for this cluster.
|
|
1400
|
-
:param pulumi.Input[str] proactive_ha_severe_remediation: The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
1400
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] proactive_ha_provider_ids: The list of IDs for health update providers configured for this cluster.
|
|
1401
|
+
: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
1402
|
cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
1402
|
-
:param pulumi.Input[str] resource_pool_id: The managed object ID of the primary
|
|
1403
|
+
:param pulumi.Input[builtins.str] resource_pool_id: The managed object ID of the primary
|
|
1403
1404
|
resource pool for this cluster. This can be passed directly to the
|
|
1404
1405
|
`resource_pool_id`
|
|
1405
1406
|
attribute of the
|
|
1406
1407
|
`VirtualMachine` resource.
|
|
1407
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
1408
|
-
:param pulumi.Input[bool] vsan_compression_enabled: Whether the vSAN compression service is enabled for the cluster.
|
|
1409
|
-
:param pulumi.Input[bool] vsan_dedup_enabled: Whether the vSAN deduplication service is enabled for the cluster.
|
|
1408
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
1409
|
+
:param pulumi.Input[builtins.bool] vsan_compression_enabled: Whether the vSAN compression service is enabled for the cluster.
|
|
1410
|
+
:param pulumi.Input[builtins.bool] vsan_dedup_enabled: Whether the vSAN deduplication service is enabled for the cluster.
|
|
1410
1411
|
:param pulumi.Input[Sequence[pulumi.Input['ComputeClusterVsanDiskGroupArgs']]] vsan_disk_groups: A list of disk UUIDs to add to the vSAN cluster.
|
|
1411
|
-
:param pulumi.Input[bool] vsan_dit_encryption_enabled: Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
1412
|
-
:param pulumi.Input[int] vsan_dit_rekey_interval: When vsan_dit_encryption_enabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
1413
|
-
:param pulumi.Input[bool] vsan_enabled: Whether the vSAN service is enabled for the cluster.
|
|
1414
|
-
:param pulumi.Input[bool] vsan_esa_enabled: Whether the vSAN ESA service is enabled for the cluster.
|
|
1412
|
+
:param pulumi.Input[builtins.bool] vsan_dit_encryption_enabled: Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
1413
|
+
:param pulumi.Input[builtins.int] vsan_dit_rekey_interval: When vsan_dit_encryption_enabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
1414
|
+
:param pulumi.Input[builtins.bool] vsan_enabled: Whether the vSAN service is enabled for the cluster.
|
|
1415
|
+
:param pulumi.Input[builtins.bool] vsan_esa_enabled: Whether the vSAN ESA service is enabled for the cluster.
|
|
1415
1416
|
:param pulumi.Input[Sequence[pulumi.Input['ComputeClusterVsanFaultDomainArgs']]] vsan_fault_domains: The configuration for vSAN fault domains.
|
|
1416
|
-
:param pulumi.Input[bool] vsan_network_diagnostic_mode_enabled: Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
1417
|
-
:param pulumi.Input[bool] vsan_performance_enabled: Whether the vSAN performance service is enabled for the cluster.
|
|
1418
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] vsan_remote_datastore_ids: The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
1417
|
+
:param pulumi.Input[builtins.bool] vsan_network_diagnostic_mode_enabled: Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
1418
|
+
:param pulumi.Input[builtins.bool] vsan_performance_enabled: Whether the vSAN performance service is enabled for the cluster.
|
|
1419
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] vsan_remote_datastore_ids: The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
1419
1420
|
:param pulumi.Input['ComputeClusterVsanStretchedClusterArgs'] vsan_stretched_cluster: The configuration for stretched cluster.
|
|
1420
|
-
:param pulumi.Input[bool] vsan_unmap_enabled: Whether the vSAN unmap service is enabled for the cluster.
|
|
1421
|
-
:param pulumi.Input[bool] vsan_verbose_mode_enabled: Whether the vSAN verbose mode is enabled for the cluster.
|
|
1421
|
+
:param pulumi.Input[builtins.bool] vsan_unmap_enabled: Whether the vSAN unmap service is enabled for the cluster.
|
|
1422
|
+
:param pulumi.Input[builtins.bool] vsan_verbose_mode_enabled: Whether the vSAN verbose mode is enabled for the cluster.
|
|
1422
1423
|
"""
|
|
1423
1424
|
if custom_attributes is not None:
|
|
1424
1425
|
pulumi.set(__self__, "custom_attributes", custom_attributes)
|
|
@@ -1563,7 +1564,7 @@ class _ComputeClusterState:
|
|
|
1563
1564
|
|
|
1564
1565
|
@property
|
|
1565
1566
|
@pulumi.getter(name="customAttributes")
|
|
1566
|
-
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1567
|
+
def custom_attributes(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
1567
1568
|
"""
|
|
1568
1569
|
A map of custom attribute ids to attribute
|
|
1569
1570
|
value strings to set for the datastore cluster.
|
|
@@ -1574,12 +1575,12 @@ class _ComputeClusterState:
|
|
|
1574
1575
|
return pulumi.get(self, "custom_attributes")
|
|
1575
1576
|
|
|
1576
1577
|
@custom_attributes.setter
|
|
1577
|
-
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
1578
|
+
def custom_attributes(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
1578
1579
|
pulumi.set(self, "custom_attributes", value)
|
|
1579
1580
|
|
|
1580
1581
|
@property
|
|
1581
1582
|
@pulumi.getter(name="datacenterId")
|
|
1582
|
-
def datacenter_id(self) -> Optional[pulumi.Input[str]]:
|
|
1583
|
+
def datacenter_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1583
1584
|
"""
|
|
1584
1585
|
The managed object ID of
|
|
1585
1586
|
the datacenter to create the cluster in. Forces a new resource if changed.
|
|
@@ -1587,24 +1588,24 @@ class _ComputeClusterState:
|
|
|
1587
1588
|
return pulumi.get(self, "datacenter_id")
|
|
1588
1589
|
|
|
1589
1590
|
@datacenter_id.setter
|
|
1590
|
-
def datacenter_id(self, value: Optional[pulumi.Input[str]]):
|
|
1591
|
+
def datacenter_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1591
1592
|
pulumi.set(self, "datacenter_id", value)
|
|
1592
1593
|
|
|
1593
1594
|
@property
|
|
1594
1595
|
@pulumi.getter(name="dpmAutomationLevel")
|
|
1595
|
-
def dpm_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
1596
|
+
def dpm_automation_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1596
1597
|
"""
|
|
1597
1598
|
The automation level for host power operations in this cluster. Can be one of manual or automated.
|
|
1598
1599
|
"""
|
|
1599
1600
|
return pulumi.get(self, "dpm_automation_level")
|
|
1600
1601
|
|
|
1601
1602
|
@dpm_automation_level.setter
|
|
1602
|
-
def dpm_automation_level(self, value: Optional[pulumi.Input[str]]):
|
|
1603
|
+
def dpm_automation_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1603
1604
|
pulumi.set(self, "dpm_automation_level", value)
|
|
1604
1605
|
|
|
1605
1606
|
@property
|
|
1606
1607
|
@pulumi.getter(name="dpmEnabled")
|
|
1607
|
-
def dpm_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1608
|
+
def dpm_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1608
1609
|
"""
|
|
1609
1610
|
Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
1610
1611
|
machines in the cluster. Requires that DRS be enabled.
|
|
@@ -1612,12 +1613,12 @@ class _ComputeClusterState:
|
|
|
1612
1613
|
return pulumi.get(self, "dpm_enabled")
|
|
1613
1614
|
|
|
1614
1615
|
@dpm_enabled.setter
|
|
1615
|
-
def dpm_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1616
|
+
def dpm_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1616
1617
|
pulumi.set(self, "dpm_enabled", value)
|
|
1617
1618
|
|
|
1618
1619
|
@property
|
|
1619
1620
|
@pulumi.getter(name="dpmThreshold")
|
|
1620
|
-
def dpm_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
1621
|
+
def dpm_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1621
1622
|
"""
|
|
1622
1623
|
A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
1623
1624
|
affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
@@ -1626,24 +1627,24 @@ class _ComputeClusterState:
|
|
|
1626
1627
|
return pulumi.get(self, "dpm_threshold")
|
|
1627
1628
|
|
|
1628
1629
|
@dpm_threshold.setter
|
|
1629
|
-
def dpm_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
1630
|
+
def dpm_threshold(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1630
1631
|
pulumi.set(self, "dpm_threshold", value)
|
|
1631
1632
|
|
|
1632
1633
|
@property
|
|
1633
1634
|
@pulumi.getter(name="drsAdvancedOptions")
|
|
1634
|
-
def drs_advanced_options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1635
|
+
def drs_advanced_options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
1635
1636
|
"""
|
|
1636
1637
|
Advanced configuration options for DRS and DPM.
|
|
1637
1638
|
"""
|
|
1638
1639
|
return pulumi.get(self, "drs_advanced_options")
|
|
1639
1640
|
|
|
1640
1641
|
@drs_advanced_options.setter
|
|
1641
|
-
def drs_advanced_options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
1642
|
+
def drs_advanced_options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
1642
1643
|
pulumi.set(self, "drs_advanced_options", value)
|
|
1643
1644
|
|
|
1644
1645
|
@property
|
|
1645
1646
|
@pulumi.getter(name="drsAutomationLevel")
|
|
1646
|
-
def drs_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
1647
|
+
def drs_automation_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1647
1648
|
"""
|
|
1648
1649
|
The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
1649
1650
|
fullyAutomated.
|
|
@@ -1651,48 +1652,48 @@ class _ComputeClusterState:
|
|
|
1651
1652
|
return pulumi.get(self, "drs_automation_level")
|
|
1652
1653
|
|
|
1653
1654
|
@drs_automation_level.setter
|
|
1654
|
-
def drs_automation_level(self, value: Optional[pulumi.Input[str]]):
|
|
1655
|
+
def drs_automation_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1655
1656
|
pulumi.set(self, "drs_automation_level", value)
|
|
1656
1657
|
|
|
1657
1658
|
@property
|
|
1658
1659
|
@pulumi.getter(name="drsEnablePredictiveDrs")
|
|
1659
|
-
def drs_enable_predictive_drs(self) -> Optional[pulumi.Input[bool]]:
|
|
1660
|
+
def drs_enable_predictive_drs(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1660
1661
|
"""
|
|
1661
1662
|
When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
|
|
1662
1663
|
"""
|
|
1663
1664
|
return pulumi.get(self, "drs_enable_predictive_drs")
|
|
1664
1665
|
|
|
1665
1666
|
@drs_enable_predictive_drs.setter
|
|
1666
|
-
def drs_enable_predictive_drs(self, value: Optional[pulumi.Input[bool]]):
|
|
1667
|
+
def drs_enable_predictive_drs(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1667
1668
|
pulumi.set(self, "drs_enable_predictive_drs", value)
|
|
1668
1669
|
|
|
1669
1670
|
@property
|
|
1670
1671
|
@pulumi.getter(name="drsEnableVmOverrides")
|
|
1671
|
-
def drs_enable_vm_overrides(self) -> Optional[pulumi.Input[bool]]:
|
|
1672
|
+
def drs_enable_vm_overrides(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1672
1673
|
"""
|
|
1673
1674
|
When true, allows individual VM overrides within this cluster to be set.
|
|
1674
1675
|
"""
|
|
1675
1676
|
return pulumi.get(self, "drs_enable_vm_overrides")
|
|
1676
1677
|
|
|
1677
1678
|
@drs_enable_vm_overrides.setter
|
|
1678
|
-
def drs_enable_vm_overrides(self, value: Optional[pulumi.Input[bool]]):
|
|
1679
|
+
def drs_enable_vm_overrides(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1679
1680
|
pulumi.set(self, "drs_enable_vm_overrides", value)
|
|
1680
1681
|
|
|
1681
1682
|
@property
|
|
1682
1683
|
@pulumi.getter(name="drsEnabled")
|
|
1683
|
-
def drs_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1684
|
+
def drs_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1684
1685
|
"""
|
|
1685
1686
|
Enable DRS for this cluster.
|
|
1686
1687
|
"""
|
|
1687
1688
|
return pulumi.get(self, "drs_enabled")
|
|
1688
1689
|
|
|
1689
1690
|
@drs_enabled.setter
|
|
1690
|
-
def drs_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1691
|
+
def drs_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1691
1692
|
pulumi.set(self, "drs_enabled", value)
|
|
1692
1693
|
|
|
1693
1694
|
@property
|
|
1694
1695
|
@pulumi.getter(name="drsMigrationThreshold")
|
|
1695
|
-
def drs_migration_threshold(self) -> Optional[pulumi.Input[int]]:
|
|
1696
|
+
def drs_migration_threshold(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1696
1697
|
"""
|
|
1697
1698
|
A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
1698
1699
|
more imbalance while a higher setting will tolerate less.
|
|
@@ -1700,24 +1701,24 @@ class _ComputeClusterState:
|
|
|
1700
1701
|
return pulumi.get(self, "drs_migration_threshold")
|
|
1701
1702
|
|
|
1702
1703
|
@drs_migration_threshold.setter
|
|
1703
|
-
def drs_migration_threshold(self, value: Optional[pulumi.Input[int]]):
|
|
1704
|
+
def drs_migration_threshold(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1704
1705
|
pulumi.set(self, "drs_migration_threshold", value)
|
|
1705
1706
|
|
|
1706
1707
|
@property
|
|
1707
1708
|
@pulumi.getter(name="drsScaleDescendantsShares")
|
|
1708
|
-
def drs_scale_descendants_shares(self) -> Optional[pulumi.Input[str]]:
|
|
1709
|
+
def drs_scale_descendants_shares(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1709
1710
|
"""
|
|
1710
1711
|
Enable scalable shares for all descendants of this cluster.
|
|
1711
1712
|
"""
|
|
1712
1713
|
return pulumi.get(self, "drs_scale_descendants_shares")
|
|
1713
1714
|
|
|
1714
1715
|
@drs_scale_descendants_shares.setter
|
|
1715
|
-
def drs_scale_descendants_shares(self, value: Optional[pulumi.Input[str]]):
|
|
1716
|
+
def drs_scale_descendants_shares(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1716
1717
|
pulumi.set(self, "drs_scale_descendants_shares", value)
|
|
1717
1718
|
|
|
1718
1719
|
@property
|
|
1719
1720
|
@pulumi.getter
|
|
1720
|
-
def folder(self) -> Optional[pulumi.Input[str]]:
|
|
1721
|
+
def folder(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1721
1722
|
"""
|
|
1722
1723
|
The relative path to a folder to put this cluster in.
|
|
1723
1724
|
This is a path relative to the datacenter you are deploying the cluster to.
|
|
@@ -1729,12 +1730,12 @@ class _ComputeClusterState:
|
|
|
1729
1730
|
return pulumi.get(self, "folder")
|
|
1730
1731
|
|
|
1731
1732
|
@folder.setter
|
|
1732
|
-
def folder(self, value: Optional[pulumi.Input[str]]):
|
|
1733
|
+
def folder(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1733
1734
|
pulumi.set(self, "folder", value)
|
|
1734
1735
|
|
|
1735
1736
|
@property
|
|
1736
1737
|
@pulumi.getter(name="forceEvacuateOnDestroy")
|
|
1737
|
-
def force_evacuate_on_destroy(self) -> Optional[pulumi.Input[bool]]:
|
|
1738
|
+
def force_evacuate_on_destroy(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1738
1739
|
"""
|
|
1739
1740
|
Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
|
|
1740
1741
|
for testing and is not recommended in normal use.
|
|
@@ -1742,12 +1743,12 @@ class _ComputeClusterState:
|
|
|
1742
1743
|
return pulumi.get(self, "force_evacuate_on_destroy")
|
|
1743
1744
|
|
|
1744
1745
|
@force_evacuate_on_destroy.setter
|
|
1745
|
-
def force_evacuate_on_destroy(self, value: Optional[pulumi.Input[bool]]):
|
|
1746
|
+
def force_evacuate_on_destroy(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1746
1747
|
pulumi.set(self, "force_evacuate_on_destroy", value)
|
|
1747
1748
|
|
|
1748
1749
|
@property
|
|
1749
1750
|
@pulumi.getter(name="haAdmissionControlFailoverHostSystemIds")
|
|
1750
|
-
def ha_admission_control_failover_host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1751
|
+
def ha_admission_control_failover_host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1751
1752
|
"""
|
|
1752
1753
|
When ha_admission_control_policy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated
|
|
1753
1754
|
failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
|
|
@@ -1756,12 +1757,12 @@ class _ComputeClusterState:
|
|
|
1756
1757
|
return pulumi.get(self, "ha_admission_control_failover_host_system_ids")
|
|
1757
1758
|
|
|
1758
1759
|
@ha_admission_control_failover_host_system_ids.setter
|
|
1759
|
-
def ha_admission_control_failover_host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1760
|
+
def ha_admission_control_failover_host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1760
1761
|
pulumi.set(self, "ha_admission_control_failover_host_system_ids", value)
|
|
1761
1762
|
|
|
1762
1763
|
@property
|
|
1763
1764
|
@pulumi.getter(name="haAdmissionControlHostFailureTolerance")
|
|
1764
|
-
def ha_admission_control_host_failure_tolerance(self) -> Optional[pulumi.Input[int]]:
|
|
1765
|
+
def ha_admission_control_host_failure_tolerance(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1765
1766
|
"""
|
|
1766
1767
|
The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual
|
|
1767
1768
|
machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
@@ -1769,12 +1770,12 @@ class _ComputeClusterState:
|
|
|
1769
1770
|
return pulumi.get(self, "ha_admission_control_host_failure_tolerance")
|
|
1770
1771
|
|
|
1771
1772
|
@ha_admission_control_host_failure_tolerance.setter
|
|
1772
|
-
def ha_admission_control_host_failure_tolerance(self, value: Optional[pulumi.Input[int]]):
|
|
1773
|
+
def ha_admission_control_host_failure_tolerance(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1773
1774
|
pulumi.set(self, "ha_admission_control_host_failure_tolerance", value)
|
|
1774
1775
|
|
|
1775
1776
|
@property
|
|
1776
1777
|
@pulumi.getter(name="haAdmissionControlPerformanceTolerance")
|
|
1777
|
-
def ha_admission_control_performance_tolerance(self) -> Optional[pulumi.Input[int]]:
|
|
1778
|
+
def ha_admission_control_performance_tolerance(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1778
1779
|
"""
|
|
1779
1780
|
The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces
|
|
1780
1781
|
warnings only, whereas a value of 100 disables the setting.
|
|
@@ -1782,12 +1783,12 @@ class _ComputeClusterState:
|
|
|
1782
1783
|
return pulumi.get(self, "ha_admission_control_performance_tolerance")
|
|
1783
1784
|
|
|
1784
1785
|
@ha_admission_control_performance_tolerance.setter
|
|
1785
|
-
def ha_admission_control_performance_tolerance(self, value: Optional[pulumi.Input[int]]):
|
|
1786
|
+
def ha_admission_control_performance_tolerance(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1786
1787
|
pulumi.set(self, "ha_admission_control_performance_tolerance", value)
|
|
1787
1788
|
|
|
1788
1789
|
@property
|
|
1789
1790
|
@pulumi.getter(name="haAdmissionControlPolicy")
|
|
1790
|
-
def ha_admission_control_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1791
|
+
def ha_admission_control_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1791
1792
|
"""
|
|
1792
1793
|
The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
|
|
1793
1794
|
permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
@@ -1797,12 +1798,12 @@ class _ComputeClusterState:
|
|
|
1797
1798
|
return pulumi.get(self, "ha_admission_control_policy")
|
|
1798
1799
|
|
|
1799
1800
|
@ha_admission_control_policy.setter
|
|
1800
|
-
def ha_admission_control_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1801
|
+
def ha_admission_control_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1801
1802
|
pulumi.set(self, "ha_admission_control_policy", value)
|
|
1802
1803
|
|
|
1803
1804
|
@property
|
|
1804
1805
|
@pulumi.getter(name="haAdmissionControlResourcePercentageAutoCompute")
|
|
1805
|
-
def ha_admission_control_resource_percentage_auto_compute(self) -> Optional[pulumi.Input[bool]]:
|
|
1806
|
+
def ha_admission_control_resource_percentage_auto_compute(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1806
1807
|
"""
|
|
1807
1808
|
When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by
|
|
1808
1809
|
subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting
|
|
@@ -1811,12 +1812,12 @@ class _ComputeClusterState:
|
|
|
1811
1812
|
return pulumi.get(self, "ha_admission_control_resource_percentage_auto_compute")
|
|
1812
1813
|
|
|
1813
1814
|
@ha_admission_control_resource_percentage_auto_compute.setter
|
|
1814
|
-
def ha_admission_control_resource_percentage_auto_compute(self, value: Optional[pulumi.Input[bool]]):
|
|
1815
|
+
def ha_admission_control_resource_percentage_auto_compute(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1815
1816
|
pulumi.set(self, "ha_admission_control_resource_percentage_auto_compute", value)
|
|
1816
1817
|
|
|
1817
1818
|
@property
|
|
1818
1819
|
@pulumi.getter(name="haAdmissionControlResourcePercentageCpu")
|
|
1819
|
-
def ha_admission_control_resource_percentage_cpu(self) -> Optional[pulumi.Input[int]]:
|
|
1820
|
+
def ha_admission_control_resource_percentage_cpu(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1820
1821
|
"""
|
|
1821
1822
|
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in
|
|
1822
1823
|
the cluster to reserve for failover.
|
|
@@ -1824,12 +1825,12 @@ class _ComputeClusterState:
|
|
|
1824
1825
|
return pulumi.get(self, "ha_admission_control_resource_percentage_cpu")
|
|
1825
1826
|
|
|
1826
1827
|
@ha_admission_control_resource_percentage_cpu.setter
|
|
1827
|
-
def ha_admission_control_resource_percentage_cpu(self, value: Optional[pulumi.Input[int]]):
|
|
1828
|
+
def ha_admission_control_resource_percentage_cpu(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1828
1829
|
pulumi.set(self, "ha_admission_control_resource_percentage_cpu", value)
|
|
1829
1830
|
|
|
1830
1831
|
@property
|
|
1831
1832
|
@pulumi.getter(name="haAdmissionControlResourcePercentageMemory")
|
|
1832
|
-
def ha_admission_control_resource_percentage_memory(self) -> Optional[pulumi.Input[int]]:
|
|
1833
|
+
def ha_admission_control_resource_percentage_memory(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1833
1834
|
"""
|
|
1834
1835
|
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
1835
1836
|
the cluster to reserve for failover.
|
|
@@ -1837,36 +1838,36 @@ class _ComputeClusterState:
|
|
|
1837
1838
|
return pulumi.get(self, "ha_admission_control_resource_percentage_memory")
|
|
1838
1839
|
|
|
1839
1840
|
@ha_admission_control_resource_percentage_memory.setter
|
|
1840
|
-
def ha_admission_control_resource_percentage_memory(self, value: Optional[pulumi.Input[int]]):
|
|
1841
|
+
def ha_admission_control_resource_percentage_memory(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1841
1842
|
pulumi.set(self, "ha_admission_control_resource_percentage_memory", value)
|
|
1842
1843
|
|
|
1843
1844
|
@property
|
|
1844
1845
|
@pulumi.getter(name="haAdmissionControlSlotPolicyExplicitCpu")
|
|
1845
|
-
def ha_admission_control_slot_policy_explicit_cpu(self) -> Optional[pulumi.Input[int]]:
|
|
1846
|
+
def ha_admission_control_slot_policy_explicit_cpu(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1846
1847
|
"""
|
|
1847
1848
|
When ha_admission_control_policy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
|
|
1848
1849
|
"""
|
|
1849
1850
|
return pulumi.get(self, "ha_admission_control_slot_policy_explicit_cpu")
|
|
1850
1851
|
|
|
1851
1852
|
@ha_admission_control_slot_policy_explicit_cpu.setter
|
|
1852
|
-
def ha_admission_control_slot_policy_explicit_cpu(self, value: Optional[pulumi.Input[int]]):
|
|
1853
|
+
def ha_admission_control_slot_policy_explicit_cpu(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1853
1854
|
pulumi.set(self, "ha_admission_control_slot_policy_explicit_cpu", value)
|
|
1854
1855
|
|
|
1855
1856
|
@property
|
|
1856
1857
|
@pulumi.getter(name="haAdmissionControlSlotPolicyExplicitMemory")
|
|
1857
|
-
def ha_admission_control_slot_policy_explicit_memory(self) -> Optional[pulumi.Input[int]]:
|
|
1858
|
+
def ha_admission_control_slot_policy_explicit_memory(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1858
1859
|
"""
|
|
1859
1860
|
When ha_admission_control_policy is slotPolicy, this controls the user-defined memory slot size, in MB.
|
|
1860
1861
|
"""
|
|
1861
1862
|
return pulumi.get(self, "ha_admission_control_slot_policy_explicit_memory")
|
|
1862
1863
|
|
|
1863
1864
|
@ha_admission_control_slot_policy_explicit_memory.setter
|
|
1864
|
-
def ha_admission_control_slot_policy_explicit_memory(self, value: Optional[pulumi.Input[int]]):
|
|
1865
|
+
def ha_admission_control_slot_policy_explicit_memory(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1865
1866
|
pulumi.set(self, "ha_admission_control_slot_policy_explicit_memory", value)
|
|
1866
1867
|
|
|
1867
1868
|
@property
|
|
1868
1869
|
@pulumi.getter(name="haAdmissionControlSlotPolicyUseExplicitSize")
|
|
1869
|
-
def ha_admission_control_slot_policy_use_explicit_size(self) -> Optional[pulumi.Input[bool]]:
|
|
1870
|
+
def ha_admission_control_slot_policy_use_explicit_size(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1870
1871
|
"""
|
|
1871
1872
|
When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values
|
|
1872
1873
|
to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
@@ -1875,24 +1876,24 @@ class _ComputeClusterState:
|
|
|
1875
1876
|
return pulumi.get(self, "ha_admission_control_slot_policy_use_explicit_size")
|
|
1876
1877
|
|
|
1877
1878
|
@ha_admission_control_slot_policy_use_explicit_size.setter
|
|
1878
|
-
def ha_admission_control_slot_policy_use_explicit_size(self, value: Optional[pulumi.Input[bool]]):
|
|
1879
|
+
def ha_admission_control_slot_policy_use_explicit_size(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1879
1880
|
pulumi.set(self, "ha_admission_control_slot_policy_use_explicit_size", value)
|
|
1880
1881
|
|
|
1881
1882
|
@property
|
|
1882
1883
|
@pulumi.getter(name="haAdvancedOptions")
|
|
1883
|
-
def ha_advanced_options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
1884
|
+
def ha_advanced_options(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
|
1884
1885
|
"""
|
|
1885
1886
|
Advanced configuration options for vSphere HA.
|
|
1886
1887
|
"""
|
|
1887
1888
|
return pulumi.get(self, "ha_advanced_options")
|
|
1888
1889
|
|
|
1889
1890
|
@ha_advanced_options.setter
|
|
1890
|
-
def ha_advanced_options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
1891
|
+
def ha_advanced_options(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
|
1891
1892
|
pulumi.set(self, "ha_advanced_options", value)
|
|
1892
1893
|
|
|
1893
1894
|
@property
|
|
1894
1895
|
@pulumi.getter(name="haDatastoreApdRecoveryAction")
|
|
1895
|
-
def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[str]]:
|
|
1896
|
+
def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1896
1897
|
"""
|
|
1897
1898
|
When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an
|
|
1898
1899
|
affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
@@ -1900,12 +1901,12 @@ class _ComputeClusterState:
|
|
|
1900
1901
|
return pulumi.get(self, "ha_datastore_apd_recovery_action")
|
|
1901
1902
|
|
|
1902
1903
|
@ha_datastore_apd_recovery_action.setter
|
|
1903
|
-
def ha_datastore_apd_recovery_action(self, value: Optional[pulumi.Input[str]]):
|
|
1904
|
+
def ha_datastore_apd_recovery_action(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1904
1905
|
pulumi.set(self, "ha_datastore_apd_recovery_action", value)
|
|
1905
1906
|
|
|
1906
1907
|
@property
|
|
1907
1908
|
@pulumi.getter(name="haDatastoreApdResponse")
|
|
1908
|
-
def ha_datastore_apd_response(self) -> Optional[pulumi.Input[str]]:
|
|
1909
|
+
def ha_datastore_apd_response(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1909
1910
|
"""
|
|
1910
1911
|
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
1911
1912
|
detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or
|
|
@@ -1914,12 +1915,12 @@ class _ComputeClusterState:
|
|
|
1914
1915
|
return pulumi.get(self, "ha_datastore_apd_response")
|
|
1915
1916
|
|
|
1916
1917
|
@ha_datastore_apd_response.setter
|
|
1917
|
-
def ha_datastore_apd_response(self, value: Optional[pulumi.Input[str]]):
|
|
1918
|
+
def ha_datastore_apd_response(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1918
1919
|
pulumi.set(self, "ha_datastore_apd_response", value)
|
|
1919
1920
|
|
|
1920
1921
|
@property
|
|
1921
1922
|
@pulumi.getter(name="haDatastoreApdResponseDelay")
|
|
1922
|
-
def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[int]]:
|
|
1923
|
+
def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1923
1924
|
"""
|
|
1924
1925
|
When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute
|
|
1925
1926
|
the response action defined in ha_datastore_apd_response.
|
|
@@ -1927,12 +1928,12 @@ class _ComputeClusterState:
|
|
|
1927
1928
|
return pulumi.get(self, "ha_datastore_apd_response_delay")
|
|
1928
1929
|
|
|
1929
1930
|
@ha_datastore_apd_response_delay.setter
|
|
1930
|
-
def ha_datastore_apd_response_delay(self, value: Optional[pulumi.Input[int]]):
|
|
1931
|
+
def ha_datastore_apd_response_delay(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1931
1932
|
pulumi.set(self, "ha_datastore_apd_response_delay", value)
|
|
1932
1933
|
|
|
1933
1934
|
@property
|
|
1934
1935
|
@pulumi.getter(name="haDatastorePdlResponse")
|
|
1935
|
-
def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[str]]:
|
|
1936
|
+
def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1936
1937
|
"""
|
|
1937
1938
|
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
1938
1939
|
detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
@@ -1940,24 +1941,24 @@ class _ComputeClusterState:
|
|
|
1940
1941
|
return pulumi.get(self, "ha_datastore_pdl_response")
|
|
1941
1942
|
|
|
1942
1943
|
@ha_datastore_pdl_response.setter
|
|
1943
|
-
def ha_datastore_pdl_response(self, value: Optional[pulumi.Input[str]]):
|
|
1944
|
+
def ha_datastore_pdl_response(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1944
1945
|
pulumi.set(self, "ha_datastore_pdl_response", value)
|
|
1945
1946
|
|
|
1946
1947
|
@property
|
|
1947
1948
|
@pulumi.getter(name="haEnabled")
|
|
1948
|
-
def ha_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
1949
|
+
def ha_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1949
1950
|
"""
|
|
1950
1951
|
Enable vSphere HA for this cluster.
|
|
1951
1952
|
"""
|
|
1952
1953
|
return pulumi.get(self, "ha_enabled")
|
|
1953
1954
|
|
|
1954
1955
|
@ha_enabled.setter
|
|
1955
|
-
def ha_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
1956
|
+
def ha_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1956
1957
|
pulumi.set(self, "ha_enabled", value)
|
|
1957
1958
|
|
|
1958
1959
|
@property
|
|
1959
1960
|
@pulumi.getter(name="haHeartbeatDatastoreIds")
|
|
1960
|
-
def ha_heartbeat_datastore_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
1961
|
+
def ha_heartbeat_datastore_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
1961
1962
|
"""
|
|
1962
1963
|
The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
|
|
1963
1964
|
ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
@@ -1965,12 +1966,12 @@ class _ComputeClusterState:
|
|
|
1965
1966
|
return pulumi.get(self, "ha_heartbeat_datastore_ids")
|
|
1966
1967
|
|
|
1967
1968
|
@ha_heartbeat_datastore_ids.setter
|
|
1968
|
-
def ha_heartbeat_datastore_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
1969
|
+
def ha_heartbeat_datastore_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
1969
1970
|
pulumi.set(self, "ha_heartbeat_datastore_ids", value)
|
|
1970
1971
|
|
|
1971
1972
|
@property
|
|
1972
1973
|
@pulumi.getter(name="haHeartbeatDatastorePolicy")
|
|
1973
|
-
def ha_heartbeat_datastore_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1974
|
+
def ha_heartbeat_datastore_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1974
1975
|
"""
|
|
1975
1976
|
The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
1976
1977
|
allFeasibleDsWithUserPreference.
|
|
@@ -1978,12 +1979,12 @@ class _ComputeClusterState:
|
|
|
1978
1979
|
return pulumi.get(self, "ha_heartbeat_datastore_policy")
|
|
1979
1980
|
|
|
1980
1981
|
@ha_heartbeat_datastore_policy.setter
|
|
1981
|
-
def ha_heartbeat_datastore_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1982
|
+
def ha_heartbeat_datastore_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1982
1983
|
pulumi.set(self, "ha_heartbeat_datastore_policy", value)
|
|
1983
1984
|
|
|
1984
1985
|
@property
|
|
1985
1986
|
@pulumi.getter(name="haHostIsolationResponse")
|
|
1986
|
-
def ha_host_isolation_response(self) -> Optional[pulumi.Input[str]]:
|
|
1987
|
+
def ha_host_isolation_response(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1987
1988
|
"""
|
|
1988
1989
|
The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
|
|
1989
1990
|
Can be one of none, powerOff, or shutdown.
|
|
@@ -1991,24 +1992,24 @@ class _ComputeClusterState:
|
|
|
1991
1992
|
return pulumi.get(self, "ha_host_isolation_response")
|
|
1992
1993
|
|
|
1993
1994
|
@ha_host_isolation_response.setter
|
|
1994
|
-
def ha_host_isolation_response(self, value: Optional[pulumi.Input[str]]):
|
|
1995
|
+
def ha_host_isolation_response(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1995
1996
|
pulumi.set(self, "ha_host_isolation_response", value)
|
|
1996
1997
|
|
|
1997
1998
|
@property
|
|
1998
1999
|
@pulumi.getter(name="haHostMonitoring")
|
|
1999
|
-
def ha_host_monitoring(self) -> Optional[pulumi.Input[str]]:
|
|
2000
|
+
def ha_host_monitoring(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2000
2001
|
"""
|
|
2001
2002
|
Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
|
|
2002
2003
|
"""
|
|
2003
2004
|
return pulumi.get(self, "ha_host_monitoring")
|
|
2004
2005
|
|
|
2005
2006
|
@ha_host_monitoring.setter
|
|
2006
|
-
def ha_host_monitoring(self, value: Optional[pulumi.Input[str]]):
|
|
2007
|
+
def ha_host_monitoring(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2007
2008
|
pulumi.set(self, "ha_host_monitoring", value)
|
|
2008
2009
|
|
|
2009
2010
|
@property
|
|
2010
2011
|
@pulumi.getter(name="haVmComponentProtection")
|
|
2011
|
-
def ha_vm_component_protection(self) -> Optional[pulumi.Input[str]]:
|
|
2012
|
+
def ha_vm_component_protection(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2012
2013
|
"""
|
|
2013
2014
|
Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
2014
2015
|
failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
@@ -2016,12 +2017,12 @@ class _ComputeClusterState:
|
|
|
2016
2017
|
return pulumi.get(self, "ha_vm_component_protection")
|
|
2017
2018
|
|
|
2018
2019
|
@ha_vm_component_protection.setter
|
|
2019
|
-
def ha_vm_component_protection(self, value: Optional[pulumi.Input[str]]):
|
|
2020
|
+
def ha_vm_component_protection(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2020
2021
|
pulumi.set(self, "ha_vm_component_protection", value)
|
|
2021
2022
|
|
|
2022
2023
|
@property
|
|
2023
2024
|
@pulumi.getter(name="haVmDependencyRestartCondition")
|
|
2024
|
-
def ha_vm_dependency_restart_condition(self) -> Optional[pulumi.Input[str]]:
|
|
2025
|
+
def ha_vm_dependency_restart_condition(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2025
2026
|
"""
|
|
2026
2027
|
The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move
|
|
2027
2028
|
on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
@@ -2029,12 +2030,12 @@ class _ComputeClusterState:
|
|
|
2029
2030
|
return pulumi.get(self, "ha_vm_dependency_restart_condition")
|
|
2030
2031
|
|
|
2031
2032
|
@ha_vm_dependency_restart_condition.setter
|
|
2032
|
-
def ha_vm_dependency_restart_condition(self, value: Optional[pulumi.Input[str]]):
|
|
2033
|
+
def ha_vm_dependency_restart_condition(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2033
2034
|
pulumi.set(self, "ha_vm_dependency_restart_condition", value)
|
|
2034
2035
|
|
|
2035
2036
|
@property
|
|
2036
2037
|
@pulumi.getter(name="haVmFailureInterval")
|
|
2037
|
-
def ha_vm_failure_interval(self) -> Optional[pulumi.Input[int]]:
|
|
2038
|
+
def ha_vm_failure_interval(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2038
2039
|
"""
|
|
2039
2040
|
If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
|
|
2040
2041
|
failed. The value is in seconds.
|
|
@@ -2042,12 +2043,12 @@ class _ComputeClusterState:
|
|
|
2042
2043
|
return pulumi.get(self, "ha_vm_failure_interval")
|
|
2043
2044
|
|
|
2044
2045
|
@ha_vm_failure_interval.setter
|
|
2045
|
-
def ha_vm_failure_interval(self, value: Optional[pulumi.Input[int]]):
|
|
2046
|
+
def ha_vm_failure_interval(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2046
2047
|
pulumi.set(self, "ha_vm_failure_interval", value)
|
|
2047
2048
|
|
|
2048
2049
|
@property
|
|
2049
2050
|
@pulumi.getter(name="haVmMaximumFailureWindow")
|
|
2050
|
-
def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[int]]:
|
|
2051
|
+
def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2051
2052
|
"""
|
|
2052
2053
|
The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
2053
2054
|
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
@@ -2056,36 +2057,36 @@ class _ComputeClusterState:
|
|
|
2056
2057
|
return pulumi.get(self, "ha_vm_maximum_failure_window")
|
|
2057
2058
|
|
|
2058
2059
|
@ha_vm_maximum_failure_window.setter
|
|
2059
|
-
def ha_vm_maximum_failure_window(self, value: Optional[pulumi.Input[int]]):
|
|
2060
|
+
def ha_vm_maximum_failure_window(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2060
2061
|
pulumi.set(self, "ha_vm_maximum_failure_window", value)
|
|
2061
2062
|
|
|
2062
2063
|
@property
|
|
2063
2064
|
@pulumi.getter(name="haVmMaximumResets")
|
|
2064
|
-
def ha_vm_maximum_resets(self) -> Optional[pulumi.Input[int]]:
|
|
2065
|
+
def ha_vm_maximum_resets(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2065
2066
|
"""
|
|
2066
2067
|
The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
|
|
2067
2068
|
"""
|
|
2068
2069
|
return pulumi.get(self, "ha_vm_maximum_resets")
|
|
2069
2070
|
|
|
2070
2071
|
@ha_vm_maximum_resets.setter
|
|
2071
|
-
def ha_vm_maximum_resets(self, value: Optional[pulumi.Input[int]]):
|
|
2072
|
+
def ha_vm_maximum_resets(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2072
2073
|
pulumi.set(self, "ha_vm_maximum_resets", value)
|
|
2073
2074
|
|
|
2074
2075
|
@property
|
|
2075
2076
|
@pulumi.getter(name="haVmMinimumUptime")
|
|
2076
|
-
def ha_vm_minimum_uptime(self) -> Optional[pulumi.Input[int]]:
|
|
2077
|
+
def ha_vm_minimum_uptime(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2077
2078
|
"""
|
|
2078
2079
|
The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
|
|
2079
2080
|
"""
|
|
2080
2081
|
return pulumi.get(self, "ha_vm_minimum_uptime")
|
|
2081
2082
|
|
|
2082
2083
|
@ha_vm_minimum_uptime.setter
|
|
2083
|
-
def ha_vm_minimum_uptime(self, value: Optional[pulumi.Input[int]]):
|
|
2084
|
+
def ha_vm_minimum_uptime(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2084
2085
|
pulumi.set(self, "ha_vm_minimum_uptime", value)
|
|
2085
2086
|
|
|
2086
2087
|
@property
|
|
2087
2088
|
@pulumi.getter(name="haVmMonitoring")
|
|
2088
|
-
def ha_vm_monitoring(self) -> Optional[pulumi.Input[str]]:
|
|
2089
|
+
def ha_vm_monitoring(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2089
2090
|
"""
|
|
2090
2091
|
The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
2091
2092
|
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
@@ -2093,24 +2094,24 @@ class _ComputeClusterState:
|
|
|
2093
2094
|
return pulumi.get(self, "ha_vm_monitoring")
|
|
2094
2095
|
|
|
2095
2096
|
@ha_vm_monitoring.setter
|
|
2096
|
-
def ha_vm_monitoring(self, value: Optional[pulumi.Input[str]]):
|
|
2097
|
+
def ha_vm_monitoring(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2097
2098
|
pulumi.set(self, "ha_vm_monitoring", value)
|
|
2098
2099
|
|
|
2099
2100
|
@property
|
|
2100
2101
|
@pulumi.getter(name="haVmRestartAdditionalDelay")
|
|
2101
|
-
def ha_vm_restart_additional_delay(self) -> Optional[pulumi.Input[int]]:
|
|
2102
|
+
def ha_vm_restart_additional_delay(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2102
2103
|
"""
|
|
2103
2104
|
Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
|
|
2104
2105
|
"""
|
|
2105
2106
|
return pulumi.get(self, "ha_vm_restart_additional_delay")
|
|
2106
2107
|
|
|
2107
2108
|
@ha_vm_restart_additional_delay.setter
|
|
2108
|
-
def ha_vm_restart_additional_delay(self, value: Optional[pulumi.Input[int]]):
|
|
2109
|
+
def ha_vm_restart_additional_delay(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2109
2110
|
pulumi.set(self, "ha_vm_restart_additional_delay", value)
|
|
2110
2111
|
|
|
2111
2112
|
@property
|
|
2112
2113
|
@pulumi.getter(name="haVmRestartPriority")
|
|
2113
|
-
def ha_vm_restart_priority(self) -> Optional[pulumi.Input[str]]:
|
|
2114
|
+
def ha_vm_restart_priority(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2114
2115
|
"""
|
|
2115
2116
|
The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
|
|
2116
2117
|
high, or highest.
|
|
@@ -2118,12 +2119,12 @@ class _ComputeClusterState:
|
|
|
2118
2119
|
return pulumi.get(self, "ha_vm_restart_priority")
|
|
2119
2120
|
|
|
2120
2121
|
@ha_vm_restart_priority.setter
|
|
2121
|
-
def ha_vm_restart_priority(self, value: Optional[pulumi.Input[str]]):
|
|
2122
|
+
def ha_vm_restart_priority(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2122
2123
|
pulumi.set(self, "ha_vm_restart_priority", value)
|
|
2123
2124
|
|
|
2124
2125
|
@property
|
|
2125
2126
|
@pulumi.getter(name="haVmRestartTimeout")
|
|
2126
|
-
def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
2127
|
+
def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2127
2128
|
"""
|
|
2128
2129
|
The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
|
|
2129
2130
|
proceeding with the next priority.
|
|
@@ -2131,19 +2132,19 @@ class _ComputeClusterState:
|
|
|
2131
2132
|
return pulumi.get(self, "ha_vm_restart_timeout")
|
|
2132
2133
|
|
|
2133
2134
|
@ha_vm_restart_timeout.setter
|
|
2134
|
-
def ha_vm_restart_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
2135
|
+
def ha_vm_restart_timeout(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2135
2136
|
pulumi.set(self, "ha_vm_restart_timeout", value)
|
|
2136
2137
|
|
|
2137
2138
|
@property
|
|
2138
2139
|
@pulumi.getter(name="hostClusterExitTimeout")
|
|
2139
|
-
def host_cluster_exit_timeout(self) -> Optional[pulumi.Input[int]]:
|
|
2140
|
+
def host_cluster_exit_timeout(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2140
2141
|
"""
|
|
2141
2142
|
The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
2142
2143
|
"""
|
|
2143
2144
|
return pulumi.get(self, "host_cluster_exit_timeout")
|
|
2144
2145
|
|
|
2145
2146
|
@host_cluster_exit_timeout.setter
|
|
2146
|
-
def host_cluster_exit_timeout(self, value: Optional[pulumi.Input[int]]):
|
|
2147
|
+
def host_cluster_exit_timeout(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2147
2148
|
pulumi.set(self, "host_cluster_exit_timeout", value)
|
|
2148
2149
|
|
|
2149
2150
|
@property
|
|
@@ -2160,67 +2161,67 @@ class _ComputeClusterState:
|
|
|
2160
2161
|
|
|
2161
2162
|
@property
|
|
2162
2163
|
@pulumi.getter(name="hostManaged")
|
|
2163
|
-
def host_managed(self) -> Optional[pulumi.Input[bool]]:
|
|
2164
|
+
def host_managed(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2164
2165
|
"""
|
|
2165
2166
|
Must be set if cluster enrollment is managed from host resource.
|
|
2166
2167
|
"""
|
|
2167
2168
|
return pulumi.get(self, "host_managed")
|
|
2168
2169
|
|
|
2169
2170
|
@host_managed.setter
|
|
2170
|
-
def host_managed(self, value: Optional[pulumi.Input[bool]]):
|
|
2171
|
+
def host_managed(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2171
2172
|
pulumi.set(self, "host_managed", value)
|
|
2172
2173
|
|
|
2173
2174
|
@property
|
|
2174
2175
|
@pulumi.getter(name="hostSystemIds")
|
|
2175
|
-
def host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2176
|
+
def host_system_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2176
2177
|
"""
|
|
2177
2178
|
The managed object IDs of the hosts to put in the cluster.
|
|
2178
2179
|
"""
|
|
2179
2180
|
return pulumi.get(self, "host_system_ids")
|
|
2180
2181
|
|
|
2181
2182
|
@host_system_ids.setter
|
|
2182
|
-
def host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2183
|
+
def host_system_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2183
2184
|
pulumi.set(self, "host_system_ids", value)
|
|
2184
2185
|
|
|
2185
2186
|
@property
|
|
2186
2187
|
@pulumi.getter
|
|
2187
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
2188
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2188
2189
|
"""
|
|
2189
2190
|
The name of the cluster.
|
|
2190
2191
|
"""
|
|
2191
2192
|
return pulumi.get(self, "name")
|
|
2192
2193
|
|
|
2193
2194
|
@name.setter
|
|
2194
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
2195
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2195
2196
|
pulumi.set(self, "name", value)
|
|
2196
2197
|
|
|
2197
2198
|
@property
|
|
2198
2199
|
@pulumi.getter(name="proactiveHaAutomationLevel")
|
|
2199
|
-
def proactive_ha_automation_level(self) -> Optional[pulumi.Input[str]]:
|
|
2200
|
+
def proactive_ha_automation_level(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2200
2201
|
"""
|
|
2201
2202
|
The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
2202
2203
|
"""
|
|
2203
2204
|
return pulumi.get(self, "proactive_ha_automation_level")
|
|
2204
2205
|
|
|
2205
2206
|
@proactive_ha_automation_level.setter
|
|
2206
|
-
def proactive_ha_automation_level(self, value: Optional[pulumi.Input[str]]):
|
|
2207
|
+
def proactive_ha_automation_level(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2207
2208
|
pulumi.set(self, "proactive_ha_automation_level", value)
|
|
2208
2209
|
|
|
2209
2210
|
@property
|
|
2210
2211
|
@pulumi.getter(name="proactiveHaEnabled")
|
|
2211
|
-
def proactive_ha_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2212
|
+
def proactive_ha_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2212
2213
|
"""
|
|
2213
2214
|
Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
|
|
2214
2215
|
"""
|
|
2215
2216
|
return pulumi.get(self, "proactive_ha_enabled")
|
|
2216
2217
|
|
|
2217
2218
|
@proactive_ha_enabled.setter
|
|
2218
|
-
def proactive_ha_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
2219
|
+
def proactive_ha_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2219
2220
|
pulumi.set(self, "proactive_ha_enabled", value)
|
|
2220
2221
|
|
|
2221
2222
|
@property
|
|
2222
2223
|
@pulumi.getter(name="proactiveHaModerateRemediation")
|
|
2223
|
-
def proactive_ha_moderate_remediation(self) -> Optional[pulumi.Input[str]]:
|
|
2224
|
+
def proactive_ha_moderate_remediation(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2224
2225
|
"""
|
|
2225
2226
|
The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
2226
2227
|
this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
@@ -2228,24 +2229,24 @@ class _ComputeClusterState:
|
|
|
2228
2229
|
return pulumi.get(self, "proactive_ha_moderate_remediation")
|
|
2229
2230
|
|
|
2230
2231
|
@proactive_ha_moderate_remediation.setter
|
|
2231
|
-
def proactive_ha_moderate_remediation(self, value: Optional[pulumi.Input[str]]):
|
|
2232
|
+
def proactive_ha_moderate_remediation(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2232
2233
|
pulumi.set(self, "proactive_ha_moderate_remediation", value)
|
|
2233
2234
|
|
|
2234
2235
|
@property
|
|
2235
2236
|
@pulumi.getter(name="proactiveHaProviderIds")
|
|
2236
|
-
def proactive_ha_provider_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2237
|
+
def proactive_ha_provider_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2237
2238
|
"""
|
|
2238
2239
|
The list of IDs for health update providers configured for this cluster.
|
|
2239
2240
|
"""
|
|
2240
2241
|
return pulumi.get(self, "proactive_ha_provider_ids")
|
|
2241
2242
|
|
|
2242
2243
|
@proactive_ha_provider_ids.setter
|
|
2243
|
-
def proactive_ha_provider_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2244
|
+
def proactive_ha_provider_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2244
2245
|
pulumi.set(self, "proactive_ha_provider_ids", value)
|
|
2245
2246
|
|
|
2246
2247
|
@property
|
|
2247
2248
|
@pulumi.getter(name="proactiveHaSevereRemediation")
|
|
2248
|
-
def proactive_ha_severe_remediation(self) -> Optional[pulumi.Input[str]]:
|
|
2249
|
+
def proactive_ha_severe_remediation(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2249
2250
|
"""
|
|
2250
2251
|
The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
2251
2252
|
cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
@@ -2253,12 +2254,12 @@ class _ComputeClusterState:
|
|
|
2253
2254
|
return pulumi.get(self, "proactive_ha_severe_remediation")
|
|
2254
2255
|
|
|
2255
2256
|
@proactive_ha_severe_remediation.setter
|
|
2256
|
-
def proactive_ha_severe_remediation(self, value: Optional[pulumi.Input[str]]):
|
|
2257
|
+
def proactive_ha_severe_remediation(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2257
2258
|
pulumi.set(self, "proactive_ha_severe_remediation", value)
|
|
2258
2259
|
|
|
2259
2260
|
@property
|
|
2260
2261
|
@pulumi.getter(name="resourcePoolId")
|
|
2261
|
-
def resource_pool_id(self) -> Optional[pulumi.Input[str]]:
|
|
2262
|
+
def resource_pool_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2262
2263
|
"""
|
|
2263
2264
|
The managed object ID of the primary
|
|
2264
2265
|
resource pool for this cluster. This can be passed directly to the
|
|
@@ -2269,43 +2270,43 @@ class _ComputeClusterState:
|
|
|
2269
2270
|
return pulumi.get(self, "resource_pool_id")
|
|
2270
2271
|
|
|
2271
2272
|
@resource_pool_id.setter
|
|
2272
|
-
def resource_pool_id(self, value: Optional[pulumi.Input[str]]):
|
|
2273
|
+
def resource_pool_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2273
2274
|
pulumi.set(self, "resource_pool_id", value)
|
|
2274
2275
|
|
|
2275
2276
|
@property
|
|
2276
2277
|
@pulumi.getter
|
|
2277
|
-
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2278
|
+
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2278
2279
|
"""
|
|
2279
2280
|
The IDs of any tags to attach to this resource.
|
|
2280
2281
|
"""
|
|
2281
2282
|
return pulumi.get(self, "tags")
|
|
2282
2283
|
|
|
2283
2284
|
@tags.setter
|
|
2284
|
-
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2285
|
+
def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2285
2286
|
pulumi.set(self, "tags", value)
|
|
2286
2287
|
|
|
2287
2288
|
@property
|
|
2288
2289
|
@pulumi.getter(name="vsanCompressionEnabled")
|
|
2289
|
-
def vsan_compression_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2290
|
+
def vsan_compression_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2290
2291
|
"""
|
|
2291
2292
|
Whether the vSAN compression service is enabled for the cluster.
|
|
2292
2293
|
"""
|
|
2293
2294
|
return pulumi.get(self, "vsan_compression_enabled")
|
|
2294
2295
|
|
|
2295
2296
|
@vsan_compression_enabled.setter
|
|
2296
|
-
def vsan_compression_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
2297
|
+
def vsan_compression_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2297
2298
|
pulumi.set(self, "vsan_compression_enabled", value)
|
|
2298
2299
|
|
|
2299
2300
|
@property
|
|
2300
2301
|
@pulumi.getter(name="vsanDedupEnabled")
|
|
2301
|
-
def vsan_dedup_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2302
|
+
def vsan_dedup_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2302
2303
|
"""
|
|
2303
2304
|
Whether the vSAN deduplication service is enabled for the cluster.
|
|
2304
2305
|
"""
|
|
2305
2306
|
return pulumi.get(self, "vsan_dedup_enabled")
|
|
2306
2307
|
|
|
2307
2308
|
@vsan_dedup_enabled.setter
|
|
2308
|
-
def vsan_dedup_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
2309
|
+
def vsan_dedup_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2309
2310
|
pulumi.set(self, "vsan_dedup_enabled", value)
|
|
2310
2311
|
|
|
2311
2312
|
@property
|
|
@@ -2322,50 +2323,50 @@ class _ComputeClusterState:
|
|
|
2322
2323
|
|
|
2323
2324
|
@property
|
|
2324
2325
|
@pulumi.getter(name="vsanDitEncryptionEnabled")
|
|
2325
|
-
def vsan_dit_encryption_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2326
|
+
def vsan_dit_encryption_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2326
2327
|
"""
|
|
2327
2328
|
Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
2328
2329
|
"""
|
|
2329
2330
|
return pulumi.get(self, "vsan_dit_encryption_enabled")
|
|
2330
2331
|
|
|
2331
2332
|
@vsan_dit_encryption_enabled.setter
|
|
2332
|
-
def vsan_dit_encryption_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
2333
|
+
def vsan_dit_encryption_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2333
2334
|
pulumi.set(self, "vsan_dit_encryption_enabled", value)
|
|
2334
2335
|
|
|
2335
2336
|
@property
|
|
2336
2337
|
@pulumi.getter(name="vsanDitRekeyInterval")
|
|
2337
|
-
def vsan_dit_rekey_interval(self) -> Optional[pulumi.Input[int]]:
|
|
2338
|
+
def vsan_dit_rekey_interval(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2338
2339
|
"""
|
|
2339
2340
|
When vsan_dit_encryption_enabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
2340
2341
|
"""
|
|
2341
2342
|
return pulumi.get(self, "vsan_dit_rekey_interval")
|
|
2342
2343
|
|
|
2343
2344
|
@vsan_dit_rekey_interval.setter
|
|
2344
|
-
def vsan_dit_rekey_interval(self, value: Optional[pulumi.Input[int]]):
|
|
2345
|
+
def vsan_dit_rekey_interval(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2345
2346
|
pulumi.set(self, "vsan_dit_rekey_interval", value)
|
|
2346
2347
|
|
|
2347
2348
|
@property
|
|
2348
2349
|
@pulumi.getter(name="vsanEnabled")
|
|
2349
|
-
def vsan_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2350
|
+
def vsan_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2350
2351
|
"""
|
|
2351
2352
|
Whether the vSAN service is enabled for the cluster.
|
|
2352
2353
|
"""
|
|
2353
2354
|
return pulumi.get(self, "vsan_enabled")
|
|
2354
2355
|
|
|
2355
2356
|
@vsan_enabled.setter
|
|
2356
|
-
def vsan_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
2357
|
+
def vsan_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2357
2358
|
pulumi.set(self, "vsan_enabled", value)
|
|
2358
2359
|
|
|
2359
2360
|
@property
|
|
2360
2361
|
@pulumi.getter(name="vsanEsaEnabled")
|
|
2361
|
-
def vsan_esa_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2362
|
+
def vsan_esa_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2362
2363
|
"""
|
|
2363
2364
|
Whether the vSAN ESA service is enabled for the cluster.
|
|
2364
2365
|
"""
|
|
2365
2366
|
return pulumi.get(self, "vsan_esa_enabled")
|
|
2366
2367
|
|
|
2367
2368
|
@vsan_esa_enabled.setter
|
|
2368
|
-
def vsan_esa_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
2369
|
+
def vsan_esa_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2369
2370
|
pulumi.set(self, "vsan_esa_enabled", value)
|
|
2370
2371
|
|
|
2371
2372
|
@property
|
|
@@ -2382,38 +2383,38 @@ class _ComputeClusterState:
|
|
|
2382
2383
|
|
|
2383
2384
|
@property
|
|
2384
2385
|
@pulumi.getter(name="vsanNetworkDiagnosticModeEnabled")
|
|
2385
|
-
def vsan_network_diagnostic_mode_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2386
|
+
def vsan_network_diagnostic_mode_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2386
2387
|
"""
|
|
2387
2388
|
Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
2388
2389
|
"""
|
|
2389
2390
|
return pulumi.get(self, "vsan_network_diagnostic_mode_enabled")
|
|
2390
2391
|
|
|
2391
2392
|
@vsan_network_diagnostic_mode_enabled.setter
|
|
2392
|
-
def vsan_network_diagnostic_mode_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
2393
|
+
def vsan_network_diagnostic_mode_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2393
2394
|
pulumi.set(self, "vsan_network_diagnostic_mode_enabled", value)
|
|
2394
2395
|
|
|
2395
2396
|
@property
|
|
2396
2397
|
@pulumi.getter(name="vsanPerformanceEnabled")
|
|
2397
|
-
def vsan_performance_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2398
|
+
def vsan_performance_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2398
2399
|
"""
|
|
2399
2400
|
Whether the vSAN performance service is enabled for the cluster.
|
|
2400
2401
|
"""
|
|
2401
2402
|
return pulumi.get(self, "vsan_performance_enabled")
|
|
2402
2403
|
|
|
2403
2404
|
@vsan_performance_enabled.setter
|
|
2404
|
-
def vsan_performance_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
2405
|
+
def vsan_performance_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2405
2406
|
pulumi.set(self, "vsan_performance_enabled", value)
|
|
2406
2407
|
|
|
2407
2408
|
@property
|
|
2408
2409
|
@pulumi.getter(name="vsanRemoteDatastoreIds")
|
|
2409
|
-
def vsan_remote_datastore_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2410
|
+
def vsan_remote_datastore_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2410
2411
|
"""
|
|
2411
2412
|
The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
2412
2413
|
"""
|
|
2413
2414
|
return pulumi.get(self, "vsan_remote_datastore_ids")
|
|
2414
2415
|
|
|
2415
2416
|
@vsan_remote_datastore_ids.setter
|
|
2416
|
-
def vsan_remote_datastore_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2417
|
+
def vsan_remote_datastore_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2417
2418
|
pulumi.set(self, "vsan_remote_datastore_ids", value)
|
|
2418
2419
|
|
|
2419
2420
|
@property
|
|
@@ -2430,103 +2431,106 @@ class _ComputeClusterState:
|
|
|
2430
2431
|
|
|
2431
2432
|
@property
|
|
2432
2433
|
@pulumi.getter(name="vsanUnmapEnabled")
|
|
2433
|
-
def vsan_unmap_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2434
|
+
def vsan_unmap_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2434
2435
|
"""
|
|
2435
2436
|
Whether the vSAN unmap service is enabled for the cluster.
|
|
2436
2437
|
"""
|
|
2437
2438
|
return pulumi.get(self, "vsan_unmap_enabled")
|
|
2438
2439
|
|
|
2439
2440
|
@vsan_unmap_enabled.setter
|
|
2440
|
-
def vsan_unmap_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
2441
|
+
def vsan_unmap_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2441
2442
|
pulumi.set(self, "vsan_unmap_enabled", value)
|
|
2442
2443
|
|
|
2443
2444
|
@property
|
|
2444
2445
|
@pulumi.getter(name="vsanVerboseModeEnabled")
|
|
2445
|
-
def vsan_verbose_mode_enabled(self) -> Optional[pulumi.Input[bool]]:
|
|
2446
|
+
def vsan_verbose_mode_enabled(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
2446
2447
|
"""
|
|
2447
2448
|
Whether the vSAN verbose mode is enabled for the cluster.
|
|
2448
2449
|
"""
|
|
2449
2450
|
return pulumi.get(self, "vsan_verbose_mode_enabled")
|
|
2450
2451
|
|
|
2451
2452
|
@vsan_verbose_mode_enabled.setter
|
|
2452
|
-
def vsan_verbose_mode_enabled(self, value: Optional[pulumi.Input[bool]]):
|
|
2453
|
+
def vsan_verbose_mode_enabled(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
2453
2454
|
pulumi.set(self, "vsan_verbose_mode_enabled", value)
|
|
2454
2455
|
|
|
2455
2456
|
|
|
2456
2457
|
class ComputeCluster(pulumi.CustomResource):
|
|
2458
|
+
|
|
2459
|
+
pulumi_type = "vsphere:index/computeCluster:ComputeCluster"
|
|
2460
|
+
|
|
2457
2461
|
@overload
|
|
2458
2462
|
def __init__(__self__,
|
|
2459
2463
|
resource_name: str,
|
|
2460
2464
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
2461
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2462
|
-
datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
2463
|
-
dpm_automation_level: Optional[pulumi.Input[str]] = None,
|
|
2464
|
-
dpm_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2465
|
-
dpm_threshold: Optional[pulumi.Input[int]] = None,
|
|
2466
|
-
drs_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2467
|
-
drs_automation_level: Optional[pulumi.Input[str]] = None,
|
|
2468
|
-
drs_enable_predictive_drs: Optional[pulumi.Input[bool]] = None,
|
|
2469
|
-
drs_enable_vm_overrides: Optional[pulumi.Input[bool]] = None,
|
|
2470
|
-
drs_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2471
|
-
drs_migration_threshold: Optional[pulumi.Input[int]] = None,
|
|
2472
|
-
drs_scale_descendants_shares: Optional[pulumi.Input[str]] = None,
|
|
2473
|
-
folder: Optional[pulumi.Input[str]] = None,
|
|
2474
|
-
force_evacuate_on_destroy: Optional[pulumi.Input[bool]] = None,
|
|
2475
|
-
ha_admission_control_failover_host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2476
|
-
ha_admission_control_host_failure_tolerance: Optional[pulumi.Input[int]] = None,
|
|
2477
|
-
ha_admission_control_performance_tolerance: Optional[pulumi.Input[int]] = None,
|
|
2478
|
-
ha_admission_control_policy: Optional[pulumi.Input[str]] = None,
|
|
2479
|
-
ha_admission_control_resource_percentage_auto_compute: Optional[pulumi.Input[bool]] = None,
|
|
2480
|
-
ha_admission_control_resource_percentage_cpu: Optional[pulumi.Input[int]] = None,
|
|
2481
|
-
ha_admission_control_resource_percentage_memory: Optional[pulumi.Input[int]] = None,
|
|
2482
|
-
ha_admission_control_slot_policy_explicit_cpu: Optional[pulumi.Input[int]] = None,
|
|
2483
|
-
ha_admission_control_slot_policy_explicit_memory: Optional[pulumi.Input[int]] = None,
|
|
2484
|
-
ha_admission_control_slot_policy_use_explicit_size: Optional[pulumi.Input[bool]] = None,
|
|
2485
|
-
ha_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2486
|
-
ha_datastore_apd_recovery_action: Optional[pulumi.Input[str]] = None,
|
|
2487
|
-
ha_datastore_apd_response: Optional[pulumi.Input[str]] = None,
|
|
2488
|
-
ha_datastore_apd_response_delay: Optional[pulumi.Input[int]] = None,
|
|
2489
|
-
ha_datastore_pdl_response: Optional[pulumi.Input[str]] = None,
|
|
2490
|
-
ha_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2491
|
-
ha_heartbeat_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2492
|
-
ha_heartbeat_datastore_policy: Optional[pulumi.Input[str]] = None,
|
|
2493
|
-
ha_host_isolation_response: Optional[pulumi.Input[str]] = None,
|
|
2494
|
-
ha_host_monitoring: Optional[pulumi.Input[str]] = None,
|
|
2495
|
-
ha_vm_component_protection: Optional[pulumi.Input[str]] = None,
|
|
2496
|
-
ha_vm_dependency_restart_condition: Optional[pulumi.Input[str]] = None,
|
|
2497
|
-
ha_vm_failure_interval: Optional[pulumi.Input[int]] = None,
|
|
2498
|
-
ha_vm_maximum_failure_window: Optional[pulumi.Input[int]] = None,
|
|
2499
|
-
ha_vm_maximum_resets: Optional[pulumi.Input[int]] = None,
|
|
2500
|
-
ha_vm_minimum_uptime: Optional[pulumi.Input[int]] = None,
|
|
2501
|
-
ha_vm_monitoring: Optional[pulumi.Input[str]] = None,
|
|
2502
|
-
ha_vm_restart_additional_delay: Optional[pulumi.Input[int]] = None,
|
|
2503
|
-
ha_vm_restart_priority: Optional[pulumi.Input[str]] = None,
|
|
2504
|
-
ha_vm_restart_timeout: Optional[pulumi.Input[int]] = None,
|
|
2505
|
-
host_cluster_exit_timeout: Optional[pulumi.Input[int]] = None,
|
|
2465
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
2466
|
+
datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
2467
|
+
dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
2468
|
+
dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2469
|
+
dpm_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
2470
|
+
drs_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
2471
|
+
drs_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
2472
|
+
drs_enable_predictive_drs: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2473
|
+
drs_enable_vm_overrides: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2474
|
+
drs_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2475
|
+
drs_migration_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
2476
|
+
drs_scale_descendants_shares: Optional[pulumi.Input[builtins.str]] = None,
|
|
2477
|
+
folder: Optional[pulumi.Input[builtins.str]] = None,
|
|
2478
|
+
force_evacuate_on_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2479
|
+
ha_admission_control_failover_host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2480
|
+
ha_admission_control_host_failure_tolerance: Optional[pulumi.Input[builtins.int]] = None,
|
|
2481
|
+
ha_admission_control_performance_tolerance: Optional[pulumi.Input[builtins.int]] = None,
|
|
2482
|
+
ha_admission_control_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
2483
|
+
ha_admission_control_resource_percentage_auto_compute: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2484
|
+
ha_admission_control_resource_percentage_cpu: Optional[pulumi.Input[builtins.int]] = None,
|
|
2485
|
+
ha_admission_control_resource_percentage_memory: Optional[pulumi.Input[builtins.int]] = None,
|
|
2486
|
+
ha_admission_control_slot_policy_explicit_cpu: Optional[pulumi.Input[builtins.int]] = None,
|
|
2487
|
+
ha_admission_control_slot_policy_explicit_memory: Optional[pulumi.Input[builtins.int]] = None,
|
|
2488
|
+
ha_admission_control_slot_policy_use_explicit_size: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2489
|
+
ha_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
2490
|
+
ha_datastore_apd_recovery_action: Optional[pulumi.Input[builtins.str]] = None,
|
|
2491
|
+
ha_datastore_apd_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
2492
|
+
ha_datastore_apd_response_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
2493
|
+
ha_datastore_pdl_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
2494
|
+
ha_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2495
|
+
ha_heartbeat_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2496
|
+
ha_heartbeat_datastore_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
2497
|
+
ha_host_isolation_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
2498
|
+
ha_host_monitoring: Optional[pulumi.Input[builtins.str]] = None,
|
|
2499
|
+
ha_vm_component_protection: Optional[pulumi.Input[builtins.str]] = None,
|
|
2500
|
+
ha_vm_dependency_restart_condition: Optional[pulumi.Input[builtins.str]] = None,
|
|
2501
|
+
ha_vm_failure_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
2502
|
+
ha_vm_maximum_failure_window: Optional[pulumi.Input[builtins.int]] = None,
|
|
2503
|
+
ha_vm_maximum_resets: Optional[pulumi.Input[builtins.int]] = None,
|
|
2504
|
+
ha_vm_minimum_uptime: Optional[pulumi.Input[builtins.int]] = None,
|
|
2505
|
+
ha_vm_monitoring: Optional[pulumi.Input[builtins.str]] = None,
|
|
2506
|
+
ha_vm_restart_additional_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
2507
|
+
ha_vm_restart_priority: Optional[pulumi.Input[builtins.str]] = None,
|
|
2508
|
+
ha_vm_restart_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
2509
|
+
host_cluster_exit_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
2506
2510
|
host_image: Optional[pulumi.Input[Union['ComputeClusterHostImageArgs', 'ComputeClusterHostImageArgsDict']]] = None,
|
|
2507
|
-
host_managed: Optional[pulumi.Input[bool]] = None,
|
|
2508
|
-
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2509
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
2510
|
-
proactive_ha_automation_level: Optional[pulumi.Input[str]] = None,
|
|
2511
|
-
proactive_ha_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2512
|
-
proactive_ha_moderate_remediation: Optional[pulumi.Input[str]] = None,
|
|
2513
|
-
proactive_ha_provider_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2514
|
-
proactive_ha_severe_remediation: Optional[pulumi.Input[str]] = None,
|
|
2515
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2516
|
-
vsan_compression_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2517
|
-
vsan_dedup_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2511
|
+
host_managed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2512
|
+
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2513
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
2514
|
+
proactive_ha_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
2515
|
+
proactive_ha_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2516
|
+
proactive_ha_moderate_remediation: Optional[pulumi.Input[builtins.str]] = None,
|
|
2517
|
+
proactive_ha_provider_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2518
|
+
proactive_ha_severe_remediation: Optional[pulumi.Input[builtins.str]] = None,
|
|
2519
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2520
|
+
vsan_compression_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2521
|
+
vsan_dedup_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2518
2522
|
vsan_disk_groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ComputeClusterVsanDiskGroupArgs', 'ComputeClusterVsanDiskGroupArgsDict']]]]] = None,
|
|
2519
|
-
vsan_dit_encryption_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2520
|
-
vsan_dit_rekey_interval: Optional[pulumi.Input[int]] = None,
|
|
2521
|
-
vsan_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2522
|
-
vsan_esa_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2523
|
+
vsan_dit_encryption_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2524
|
+
vsan_dit_rekey_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
2525
|
+
vsan_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2526
|
+
vsan_esa_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2523
2527
|
vsan_fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ComputeClusterVsanFaultDomainArgs', 'ComputeClusterVsanFaultDomainArgsDict']]]]] = None,
|
|
2524
|
-
vsan_network_diagnostic_mode_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2525
|
-
vsan_performance_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2526
|
-
vsan_remote_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2528
|
+
vsan_network_diagnostic_mode_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2529
|
+
vsan_performance_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2530
|
+
vsan_remote_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2527
2531
|
vsan_stretched_cluster: Optional[pulumi.Input[Union['ComputeClusterVsanStretchedClusterArgs', 'ComputeClusterVsanStretchedClusterArgsDict']]] = None,
|
|
2528
|
-
vsan_unmap_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2529
|
-
vsan_verbose_mode_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2532
|
+
vsan_unmap_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2533
|
+
vsan_verbose_mode_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2530
2534
|
__props__=None):
|
|
2531
2535
|
"""
|
|
2532
2536
|
> **A note on the naming of this resource:** VMware refers to clusters of
|
|
@@ -2619,122 +2623,122 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2619
2623
|
|
|
2620
2624
|
:param str resource_name: The name of the resource.
|
|
2621
2625
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
2622
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A map of custom attribute ids to attribute
|
|
2626
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A map of custom attribute ids to attribute
|
|
2623
2627
|
value strings to set for the datastore cluster.
|
|
2624
2628
|
|
|
2625
2629
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
2626
2630
|
and require vCenter Server.
|
|
2627
|
-
:param pulumi.Input[str] datacenter_id: The managed object ID of
|
|
2631
|
+
:param pulumi.Input[builtins.str] datacenter_id: The managed object ID of
|
|
2628
2632
|
the datacenter to create the cluster in. Forces a new resource if changed.
|
|
2629
|
-
:param pulumi.Input[str] dpm_automation_level: The automation level for host power operations in this cluster. Can be one of manual or automated.
|
|
2630
|
-
:param pulumi.Input[bool] dpm_enabled: Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
2633
|
+
: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.
|
|
2634
|
+
: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
|
|
2631
2635
|
machines in the cluster. Requires that DRS be enabled.
|
|
2632
|
-
:param pulumi.Input[int] dpm_threshold: A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
2636
|
+
: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
|
|
2633
2637
|
affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
2634
2638
|
setting.
|
|
2635
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] drs_advanced_options: Advanced configuration options for DRS and DPM.
|
|
2636
|
-
:param pulumi.Input[str] drs_automation_level: The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
2639
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] drs_advanced_options: Advanced configuration options for DRS and DPM.
|
|
2640
|
+
: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
|
|
2637
2641
|
fullyAutomated.
|
|
2638
|
-
:param pulumi.Input[bool] drs_enable_predictive_drs: When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
|
|
2639
|
-
:param pulumi.Input[bool] drs_enable_vm_overrides: When true, allows individual VM overrides within this cluster to be set.
|
|
2640
|
-
:param pulumi.Input[bool] drs_enabled: Enable DRS for this cluster.
|
|
2641
|
-
:param pulumi.Input[int] drs_migration_threshold: A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
2642
|
+
: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.
|
|
2643
|
+
:param pulumi.Input[builtins.bool] drs_enable_vm_overrides: When true, allows individual VM overrides within this cluster to be set.
|
|
2644
|
+
:param pulumi.Input[builtins.bool] drs_enabled: Enable DRS for this cluster.
|
|
2645
|
+
: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
|
|
2642
2646
|
more imbalance while a higher setting will tolerate less.
|
|
2643
|
-
:param pulumi.Input[str] drs_scale_descendants_shares: Enable scalable shares for all descendants of this cluster.
|
|
2644
|
-
:param pulumi.Input[str] folder: The relative path to a folder to put this cluster in.
|
|
2647
|
+
:param pulumi.Input[builtins.str] drs_scale_descendants_shares: Enable scalable shares for all descendants of this cluster.
|
|
2648
|
+
:param pulumi.Input[builtins.str] folder: The relative path to a folder to put this cluster in.
|
|
2645
2649
|
This is a path relative to the datacenter you are deploying the cluster to.
|
|
2646
2650
|
Example: for the `dc1` datacenter, and a provided `folder` of `foo/bar`,
|
|
2647
2651
|
The provider will place a cluster named `compute-cluster-test` in a
|
|
2648
2652
|
host folder located at `/dc1/host/foo/bar`, with the final inventory path
|
|
2649
2653
|
being `/dc1/host/foo/bar/datastore-cluster-test`.
|
|
2650
|
-
:param pulumi.Input[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
|
|
2654
|
+
: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
|
|
2651
2655
|
for testing and is not recommended in normal use.
|
|
2652
|
-
:param pulumi.Input[Sequence[pulumi.Input[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
|
|
2656
|
+
: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
|
|
2653
2657
|
failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
|
|
2654
2658
|
will ignore the host when making recommendations.
|
|
2655
|
-
:param pulumi.Input[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
|
|
2659
|
+
: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
|
|
2656
2660
|
machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
2657
|
-
:param pulumi.Input[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
|
|
2661
|
+
: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
|
|
2658
2662
|
warnings only, whereas a value of 100 disables the setting.
|
|
2659
|
-
:param pulumi.Input[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
|
|
2663
|
+
: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
|
|
2660
2664
|
permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
2661
2665
|
slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
|
|
2662
2666
|
issues.
|
|
2663
|
-
:param pulumi.Input[bool] ha_admission_control_resource_percentage_auto_compute: When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by
|
|
2667
|
+
: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
|
|
2664
2668
|
subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting
|
|
2665
2669
|
from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
2666
|
-
:param pulumi.Input[int] ha_admission_control_resource_percentage_cpu: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in
|
|
2670
|
+
: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
|
|
2667
2671
|
the cluster to reserve for failover.
|
|
2668
|
-
:param pulumi.Input[int] ha_admission_control_resource_percentage_memory: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
2672
|
+
: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
|
|
2669
2673
|
the cluster to reserve for failover.
|
|
2670
|
-
:param pulumi.Input[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.
|
|
2671
|
-
:param pulumi.Input[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.
|
|
2672
|
-
:param pulumi.Input[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
|
+
: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.
|
|
2675
|
+
: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.
|
|
2676
|
+
: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
|
|
2673
2677
|
to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
2674
2678
|
currently in the cluster.
|
|
2675
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] ha_advanced_options: Advanced configuration options for vSphere HA.
|
|
2676
|
-
:param pulumi.Input[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
|
|
2679
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] ha_advanced_options: Advanced configuration options for vSphere HA.
|
|
2680
|
+
: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
|
|
2677
2681
|
affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
2678
|
-
:param pulumi.Input[str] ha_datastore_apd_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
2682
|
+
: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
|
|
2679
2683
|
detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or
|
|
2680
2684
|
restartAggressive.
|
|
2681
|
-
:param pulumi.Input[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
|
|
2685
|
+
: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
|
|
2682
2686
|
the response action defined in ha_datastore_apd_response.
|
|
2683
|
-
:param pulumi.Input[str] ha_datastore_pdl_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
2687
|
+
: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
|
|
2684
2688
|
detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
2685
|
-
:param pulumi.Input[bool] ha_enabled: Enable vSphere HA for this cluster.
|
|
2686
|
-
:param pulumi.Input[Sequence[pulumi.Input[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
|
|
2689
|
+
:param pulumi.Input[builtins.bool] ha_enabled: Enable vSphere HA for this cluster.
|
|
2690
|
+
: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
|
|
2687
2691
|
ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
2688
|
-
:param pulumi.Input[str] ha_heartbeat_datastore_policy: The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
2692
|
+
:param pulumi.Input[builtins.str] ha_heartbeat_datastore_policy: The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
2689
2693
|
allFeasibleDsWithUserPreference.
|
|
2690
|
-
:param pulumi.Input[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.
|
|
2694
|
+
: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.
|
|
2691
2695
|
Can be one of none, powerOff, or shutdown.
|
|
2692
|
-
:param pulumi.Input[str] ha_host_monitoring: Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
|
|
2693
|
-
:param pulumi.Input[str] ha_vm_component_protection: Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
2696
|
+
: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.
|
|
2697
|
+
: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
|
|
2694
2698
|
failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
2695
|
-
:param pulumi.Input[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
|
|
2699
|
+
: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
|
|
2696
2700
|
on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
2697
|
-
:param pulumi.Input[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
|
|
2701
|
+
: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
|
|
2698
2702
|
failed. The value is in seconds.
|
|
2699
|
-
:param pulumi.Input[int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
2703
|
+
: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
|
|
2700
2704
|
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
2701
2705
|
time is allotted.
|
|
2702
|
-
:param pulumi.Input[int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
|
|
2703
|
-
:param pulumi.Input[int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
|
|
2704
|
-
:param pulumi.Input[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
|
+
: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.
|
|
2707
|
+
: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.
|
|
2708
|
+
: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,
|
|
2705
2709
|
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
2706
|
-
:param pulumi.Input[int] ha_vm_restart_additional_delay: Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
|
|
2707
|
-
:param pulumi.Input[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,
|
|
2710
|
+
: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.
|
|
2711
|
+
: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,
|
|
2708
2712
|
high, or highest.
|
|
2709
|
-
:param pulumi.Input[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
|
|
2713
|
+
: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
|
|
2710
2714
|
proceeding with the next priority.
|
|
2711
|
-
:param pulumi.Input[int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
2715
|
+
:param pulumi.Input[builtins.int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
2712
2716
|
:param pulumi.Input[Union['ComputeClusterHostImageArgs', 'ComputeClusterHostImageArgsDict']] host_image: Details about the host image which should be applied to the cluster.
|
|
2713
|
-
:param pulumi.Input[bool] host_managed: Must be set if cluster enrollment is managed from host resource.
|
|
2714
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of the hosts to put in the cluster.
|
|
2715
|
-
:param pulumi.Input[str] name: The name of the cluster.
|
|
2716
|
-
:param pulumi.Input[str] proactive_ha_automation_level: The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
2717
|
-
:param pulumi.Input[bool] proactive_ha_enabled: Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
|
|
2718
|
-
:param pulumi.Input[str] proactive_ha_moderate_remediation: The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
2717
|
+
:param pulumi.Input[builtins.bool] host_managed: Must be set if cluster enrollment is managed from host resource.
|
|
2718
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of the hosts to put in the cluster.
|
|
2719
|
+
:param pulumi.Input[builtins.str] name: The name of the cluster.
|
|
2720
|
+
:param pulumi.Input[builtins.str] proactive_ha_automation_level: The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
2721
|
+
: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.
|
|
2722
|
+
: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
|
|
2719
2723
|
this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
2720
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] proactive_ha_provider_ids: The list of IDs for health update providers configured for this cluster.
|
|
2721
|
-
:param pulumi.Input[str] proactive_ha_severe_remediation: The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
2724
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] proactive_ha_provider_ids: The list of IDs for health update providers configured for this cluster.
|
|
2725
|
+
: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
|
|
2722
2726
|
cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
2723
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
2724
|
-
:param pulumi.Input[bool] vsan_compression_enabled: Whether the vSAN compression service is enabled for the cluster.
|
|
2725
|
-
:param pulumi.Input[bool] vsan_dedup_enabled: Whether the vSAN deduplication service is enabled for the cluster.
|
|
2727
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
2728
|
+
:param pulumi.Input[builtins.bool] vsan_compression_enabled: Whether the vSAN compression service is enabled for the cluster.
|
|
2729
|
+
:param pulumi.Input[builtins.bool] vsan_dedup_enabled: Whether the vSAN deduplication service is enabled for the cluster.
|
|
2726
2730
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ComputeClusterVsanDiskGroupArgs', 'ComputeClusterVsanDiskGroupArgsDict']]]] vsan_disk_groups: A list of disk UUIDs to add to the vSAN cluster.
|
|
2727
|
-
:param pulumi.Input[bool] vsan_dit_encryption_enabled: Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
2728
|
-
:param pulumi.Input[int] vsan_dit_rekey_interval: When vsan_dit_encryption_enabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
2729
|
-
:param pulumi.Input[bool] vsan_enabled: Whether the vSAN service is enabled for the cluster.
|
|
2730
|
-
:param pulumi.Input[bool] vsan_esa_enabled: Whether the vSAN ESA service is enabled for the cluster.
|
|
2731
|
+
:param pulumi.Input[builtins.bool] vsan_dit_encryption_enabled: Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
2732
|
+
:param pulumi.Input[builtins.int] vsan_dit_rekey_interval: When vsan_dit_encryption_enabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
2733
|
+
:param pulumi.Input[builtins.bool] vsan_enabled: Whether the vSAN service is enabled for the cluster.
|
|
2734
|
+
:param pulumi.Input[builtins.bool] vsan_esa_enabled: Whether the vSAN ESA service is enabled for the cluster.
|
|
2731
2735
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ComputeClusterVsanFaultDomainArgs', 'ComputeClusterVsanFaultDomainArgsDict']]]] vsan_fault_domains: The configuration for vSAN fault domains.
|
|
2732
|
-
:param pulumi.Input[bool] vsan_network_diagnostic_mode_enabled: Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
2733
|
-
:param pulumi.Input[bool] vsan_performance_enabled: Whether the vSAN performance service is enabled for the cluster.
|
|
2734
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] vsan_remote_datastore_ids: The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
2736
|
+
:param pulumi.Input[builtins.bool] vsan_network_diagnostic_mode_enabled: Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
2737
|
+
:param pulumi.Input[builtins.bool] vsan_performance_enabled: Whether the vSAN performance service is enabled for the cluster.
|
|
2738
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] vsan_remote_datastore_ids: The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
2735
2739
|
:param pulumi.Input[Union['ComputeClusterVsanStretchedClusterArgs', 'ComputeClusterVsanStretchedClusterArgsDict']] vsan_stretched_cluster: The configuration for stretched cluster.
|
|
2736
|
-
:param pulumi.Input[bool] vsan_unmap_enabled: Whether the vSAN unmap service is enabled for the cluster.
|
|
2737
|
-
:param pulumi.Input[bool] vsan_verbose_mode_enabled: Whether the vSAN verbose mode is enabled for the cluster.
|
|
2740
|
+
:param pulumi.Input[builtins.bool] vsan_unmap_enabled: Whether the vSAN unmap service is enabled for the cluster.
|
|
2741
|
+
:param pulumi.Input[builtins.bool] vsan_verbose_mode_enabled: Whether the vSAN verbose mode is enabled for the cluster.
|
|
2738
2742
|
"""
|
|
2739
2743
|
...
|
|
2740
2744
|
@overload
|
|
@@ -2846,75 +2850,75 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
2846
2850
|
def _internal_init(__self__,
|
|
2847
2851
|
resource_name: str,
|
|
2848
2852
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
2849
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2850
|
-
datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
2851
|
-
dpm_automation_level: Optional[pulumi.Input[str]] = None,
|
|
2852
|
-
dpm_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2853
|
-
dpm_threshold: Optional[pulumi.Input[int]] = None,
|
|
2854
|
-
drs_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2855
|
-
drs_automation_level: Optional[pulumi.Input[str]] = None,
|
|
2856
|
-
drs_enable_predictive_drs: Optional[pulumi.Input[bool]] = None,
|
|
2857
|
-
drs_enable_vm_overrides: Optional[pulumi.Input[bool]] = None,
|
|
2858
|
-
drs_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2859
|
-
drs_migration_threshold: Optional[pulumi.Input[int]] = None,
|
|
2860
|
-
drs_scale_descendants_shares: Optional[pulumi.Input[str]] = None,
|
|
2861
|
-
folder: Optional[pulumi.Input[str]] = None,
|
|
2862
|
-
force_evacuate_on_destroy: Optional[pulumi.Input[bool]] = None,
|
|
2863
|
-
ha_admission_control_failover_host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2864
|
-
ha_admission_control_host_failure_tolerance: Optional[pulumi.Input[int]] = None,
|
|
2865
|
-
ha_admission_control_performance_tolerance: Optional[pulumi.Input[int]] = None,
|
|
2866
|
-
ha_admission_control_policy: Optional[pulumi.Input[str]] = None,
|
|
2867
|
-
ha_admission_control_resource_percentage_auto_compute: Optional[pulumi.Input[bool]] = None,
|
|
2868
|
-
ha_admission_control_resource_percentage_cpu: Optional[pulumi.Input[int]] = None,
|
|
2869
|
-
ha_admission_control_resource_percentage_memory: Optional[pulumi.Input[int]] = None,
|
|
2870
|
-
ha_admission_control_slot_policy_explicit_cpu: Optional[pulumi.Input[int]] = None,
|
|
2871
|
-
ha_admission_control_slot_policy_explicit_memory: Optional[pulumi.Input[int]] = None,
|
|
2872
|
-
ha_admission_control_slot_policy_use_explicit_size: Optional[pulumi.Input[bool]] = None,
|
|
2873
|
-
ha_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
2874
|
-
ha_datastore_apd_recovery_action: Optional[pulumi.Input[str]] = None,
|
|
2875
|
-
ha_datastore_apd_response: Optional[pulumi.Input[str]] = None,
|
|
2876
|
-
ha_datastore_apd_response_delay: Optional[pulumi.Input[int]] = None,
|
|
2877
|
-
ha_datastore_pdl_response: Optional[pulumi.Input[str]] = None,
|
|
2878
|
-
ha_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2879
|
-
ha_heartbeat_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2880
|
-
ha_heartbeat_datastore_policy: Optional[pulumi.Input[str]] = None,
|
|
2881
|
-
ha_host_isolation_response: Optional[pulumi.Input[str]] = None,
|
|
2882
|
-
ha_host_monitoring: Optional[pulumi.Input[str]] = None,
|
|
2883
|
-
ha_vm_component_protection: Optional[pulumi.Input[str]] = None,
|
|
2884
|
-
ha_vm_dependency_restart_condition: Optional[pulumi.Input[str]] = None,
|
|
2885
|
-
ha_vm_failure_interval: Optional[pulumi.Input[int]] = None,
|
|
2886
|
-
ha_vm_maximum_failure_window: Optional[pulumi.Input[int]] = None,
|
|
2887
|
-
ha_vm_maximum_resets: Optional[pulumi.Input[int]] = None,
|
|
2888
|
-
ha_vm_minimum_uptime: Optional[pulumi.Input[int]] = None,
|
|
2889
|
-
ha_vm_monitoring: Optional[pulumi.Input[str]] = None,
|
|
2890
|
-
ha_vm_restart_additional_delay: Optional[pulumi.Input[int]] = None,
|
|
2891
|
-
ha_vm_restart_priority: Optional[pulumi.Input[str]] = None,
|
|
2892
|
-
ha_vm_restart_timeout: Optional[pulumi.Input[int]] = None,
|
|
2893
|
-
host_cluster_exit_timeout: Optional[pulumi.Input[int]] = None,
|
|
2853
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
2854
|
+
datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
2855
|
+
dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
2856
|
+
dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2857
|
+
dpm_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
2858
|
+
drs_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
2859
|
+
drs_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
2860
|
+
drs_enable_predictive_drs: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2861
|
+
drs_enable_vm_overrides: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2862
|
+
drs_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2863
|
+
drs_migration_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
2864
|
+
drs_scale_descendants_shares: Optional[pulumi.Input[builtins.str]] = None,
|
|
2865
|
+
folder: Optional[pulumi.Input[builtins.str]] = None,
|
|
2866
|
+
force_evacuate_on_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2867
|
+
ha_admission_control_failover_host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2868
|
+
ha_admission_control_host_failure_tolerance: Optional[pulumi.Input[builtins.int]] = None,
|
|
2869
|
+
ha_admission_control_performance_tolerance: Optional[pulumi.Input[builtins.int]] = None,
|
|
2870
|
+
ha_admission_control_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
2871
|
+
ha_admission_control_resource_percentage_auto_compute: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2872
|
+
ha_admission_control_resource_percentage_cpu: Optional[pulumi.Input[builtins.int]] = None,
|
|
2873
|
+
ha_admission_control_resource_percentage_memory: Optional[pulumi.Input[builtins.int]] = None,
|
|
2874
|
+
ha_admission_control_slot_policy_explicit_cpu: Optional[pulumi.Input[builtins.int]] = None,
|
|
2875
|
+
ha_admission_control_slot_policy_explicit_memory: Optional[pulumi.Input[builtins.int]] = None,
|
|
2876
|
+
ha_admission_control_slot_policy_use_explicit_size: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2877
|
+
ha_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
2878
|
+
ha_datastore_apd_recovery_action: Optional[pulumi.Input[builtins.str]] = None,
|
|
2879
|
+
ha_datastore_apd_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
2880
|
+
ha_datastore_apd_response_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
2881
|
+
ha_datastore_pdl_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
2882
|
+
ha_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2883
|
+
ha_heartbeat_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2884
|
+
ha_heartbeat_datastore_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
2885
|
+
ha_host_isolation_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
2886
|
+
ha_host_monitoring: Optional[pulumi.Input[builtins.str]] = None,
|
|
2887
|
+
ha_vm_component_protection: Optional[pulumi.Input[builtins.str]] = None,
|
|
2888
|
+
ha_vm_dependency_restart_condition: Optional[pulumi.Input[builtins.str]] = None,
|
|
2889
|
+
ha_vm_failure_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
2890
|
+
ha_vm_maximum_failure_window: Optional[pulumi.Input[builtins.int]] = None,
|
|
2891
|
+
ha_vm_maximum_resets: Optional[pulumi.Input[builtins.int]] = None,
|
|
2892
|
+
ha_vm_minimum_uptime: Optional[pulumi.Input[builtins.int]] = None,
|
|
2893
|
+
ha_vm_monitoring: Optional[pulumi.Input[builtins.str]] = None,
|
|
2894
|
+
ha_vm_restart_additional_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
2895
|
+
ha_vm_restart_priority: Optional[pulumi.Input[builtins.str]] = None,
|
|
2896
|
+
ha_vm_restart_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
2897
|
+
host_cluster_exit_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
2894
2898
|
host_image: Optional[pulumi.Input[Union['ComputeClusterHostImageArgs', 'ComputeClusterHostImageArgsDict']]] = None,
|
|
2895
|
-
host_managed: Optional[pulumi.Input[bool]] = None,
|
|
2896
|
-
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2897
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
2898
|
-
proactive_ha_automation_level: Optional[pulumi.Input[str]] = None,
|
|
2899
|
-
proactive_ha_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2900
|
-
proactive_ha_moderate_remediation: Optional[pulumi.Input[str]] = None,
|
|
2901
|
-
proactive_ha_provider_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2902
|
-
proactive_ha_severe_remediation: Optional[pulumi.Input[str]] = None,
|
|
2903
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2904
|
-
vsan_compression_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2905
|
-
vsan_dedup_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2899
|
+
host_managed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2900
|
+
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2901
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
2902
|
+
proactive_ha_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
2903
|
+
proactive_ha_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2904
|
+
proactive_ha_moderate_remediation: Optional[pulumi.Input[builtins.str]] = None,
|
|
2905
|
+
proactive_ha_provider_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2906
|
+
proactive_ha_severe_remediation: Optional[pulumi.Input[builtins.str]] = None,
|
|
2907
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2908
|
+
vsan_compression_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2909
|
+
vsan_dedup_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2906
2910
|
vsan_disk_groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ComputeClusterVsanDiskGroupArgs', 'ComputeClusterVsanDiskGroupArgsDict']]]]] = None,
|
|
2907
|
-
vsan_dit_encryption_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2908
|
-
vsan_dit_rekey_interval: Optional[pulumi.Input[int]] = None,
|
|
2909
|
-
vsan_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2910
|
-
vsan_esa_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2911
|
+
vsan_dit_encryption_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2912
|
+
vsan_dit_rekey_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
2913
|
+
vsan_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2914
|
+
vsan_esa_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2911
2915
|
vsan_fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ComputeClusterVsanFaultDomainArgs', 'ComputeClusterVsanFaultDomainArgsDict']]]]] = None,
|
|
2912
|
-
vsan_network_diagnostic_mode_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2913
|
-
vsan_performance_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2914
|
-
vsan_remote_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2916
|
+
vsan_network_diagnostic_mode_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2917
|
+
vsan_performance_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2918
|
+
vsan_remote_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2915
2919
|
vsan_stretched_cluster: Optional[pulumi.Input[Union['ComputeClusterVsanStretchedClusterArgs', 'ComputeClusterVsanStretchedClusterArgsDict']]] = None,
|
|
2916
|
-
vsan_unmap_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2917
|
-
vsan_verbose_mode_enabled: Optional[pulumi.Input[bool]] = None,
|
|
2920
|
+
vsan_unmap_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2921
|
+
vsan_verbose_mode_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
2918
2922
|
__props__=None):
|
|
2919
2923
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
2920
2924
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -3006,76 +3010,76 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3006
3010
|
def get(resource_name: str,
|
|
3007
3011
|
id: pulumi.Input[str],
|
|
3008
3012
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
3009
|
-
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3010
|
-
datacenter_id: Optional[pulumi.Input[str]] = None,
|
|
3011
|
-
dpm_automation_level: Optional[pulumi.Input[str]] = None,
|
|
3012
|
-
dpm_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3013
|
-
dpm_threshold: Optional[pulumi.Input[int]] = None,
|
|
3014
|
-
drs_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3015
|
-
drs_automation_level: Optional[pulumi.Input[str]] = None,
|
|
3016
|
-
drs_enable_predictive_drs: Optional[pulumi.Input[bool]] = None,
|
|
3017
|
-
drs_enable_vm_overrides: Optional[pulumi.Input[bool]] = None,
|
|
3018
|
-
drs_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3019
|
-
drs_migration_threshold: Optional[pulumi.Input[int]] = None,
|
|
3020
|
-
drs_scale_descendants_shares: Optional[pulumi.Input[str]] = None,
|
|
3021
|
-
folder: Optional[pulumi.Input[str]] = None,
|
|
3022
|
-
force_evacuate_on_destroy: Optional[pulumi.Input[bool]] = None,
|
|
3023
|
-
ha_admission_control_failover_host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
3024
|
-
ha_admission_control_host_failure_tolerance: Optional[pulumi.Input[int]] = None,
|
|
3025
|
-
ha_admission_control_performance_tolerance: Optional[pulumi.Input[int]] = None,
|
|
3026
|
-
ha_admission_control_policy: Optional[pulumi.Input[str]] = None,
|
|
3027
|
-
ha_admission_control_resource_percentage_auto_compute: Optional[pulumi.Input[bool]] = None,
|
|
3028
|
-
ha_admission_control_resource_percentage_cpu: Optional[pulumi.Input[int]] = None,
|
|
3029
|
-
ha_admission_control_resource_percentage_memory: Optional[pulumi.Input[int]] = None,
|
|
3030
|
-
ha_admission_control_slot_policy_explicit_cpu: Optional[pulumi.Input[int]] = None,
|
|
3031
|
-
ha_admission_control_slot_policy_explicit_memory: Optional[pulumi.Input[int]] = None,
|
|
3032
|
-
ha_admission_control_slot_policy_use_explicit_size: Optional[pulumi.Input[bool]] = None,
|
|
3033
|
-
ha_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
3034
|
-
ha_datastore_apd_recovery_action: Optional[pulumi.Input[str]] = None,
|
|
3035
|
-
ha_datastore_apd_response: Optional[pulumi.Input[str]] = None,
|
|
3036
|
-
ha_datastore_apd_response_delay: Optional[pulumi.Input[int]] = None,
|
|
3037
|
-
ha_datastore_pdl_response: Optional[pulumi.Input[str]] = None,
|
|
3038
|
-
ha_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3039
|
-
ha_heartbeat_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
3040
|
-
ha_heartbeat_datastore_policy: Optional[pulumi.Input[str]] = None,
|
|
3041
|
-
ha_host_isolation_response: Optional[pulumi.Input[str]] = None,
|
|
3042
|
-
ha_host_monitoring: Optional[pulumi.Input[str]] = None,
|
|
3043
|
-
ha_vm_component_protection: Optional[pulumi.Input[str]] = None,
|
|
3044
|
-
ha_vm_dependency_restart_condition: Optional[pulumi.Input[str]] = None,
|
|
3045
|
-
ha_vm_failure_interval: Optional[pulumi.Input[int]] = None,
|
|
3046
|
-
ha_vm_maximum_failure_window: Optional[pulumi.Input[int]] = None,
|
|
3047
|
-
ha_vm_maximum_resets: Optional[pulumi.Input[int]] = None,
|
|
3048
|
-
ha_vm_minimum_uptime: Optional[pulumi.Input[int]] = None,
|
|
3049
|
-
ha_vm_monitoring: Optional[pulumi.Input[str]] = None,
|
|
3050
|
-
ha_vm_restart_additional_delay: Optional[pulumi.Input[int]] = None,
|
|
3051
|
-
ha_vm_restart_priority: Optional[pulumi.Input[str]] = None,
|
|
3052
|
-
ha_vm_restart_timeout: Optional[pulumi.Input[int]] = None,
|
|
3053
|
-
host_cluster_exit_timeout: Optional[pulumi.Input[int]] = None,
|
|
3013
|
+
custom_attributes: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
3014
|
+
datacenter_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
3015
|
+
dpm_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
3016
|
+
dpm_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3017
|
+
dpm_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
3018
|
+
drs_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
3019
|
+
drs_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
3020
|
+
drs_enable_predictive_drs: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3021
|
+
drs_enable_vm_overrides: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3022
|
+
drs_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3023
|
+
drs_migration_threshold: Optional[pulumi.Input[builtins.int]] = None,
|
|
3024
|
+
drs_scale_descendants_shares: Optional[pulumi.Input[builtins.str]] = None,
|
|
3025
|
+
folder: Optional[pulumi.Input[builtins.str]] = None,
|
|
3026
|
+
force_evacuate_on_destroy: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3027
|
+
ha_admission_control_failover_host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
3028
|
+
ha_admission_control_host_failure_tolerance: Optional[pulumi.Input[builtins.int]] = None,
|
|
3029
|
+
ha_admission_control_performance_tolerance: Optional[pulumi.Input[builtins.int]] = None,
|
|
3030
|
+
ha_admission_control_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
3031
|
+
ha_admission_control_resource_percentage_auto_compute: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3032
|
+
ha_admission_control_resource_percentage_cpu: Optional[pulumi.Input[builtins.int]] = None,
|
|
3033
|
+
ha_admission_control_resource_percentage_memory: Optional[pulumi.Input[builtins.int]] = None,
|
|
3034
|
+
ha_admission_control_slot_policy_explicit_cpu: Optional[pulumi.Input[builtins.int]] = None,
|
|
3035
|
+
ha_admission_control_slot_policy_explicit_memory: Optional[pulumi.Input[builtins.int]] = None,
|
|
3036
|
+
ha_admission_control_slot_policy_use_explicit_size: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3037
|
+
ha_advanced_options: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
|
3038
|
+
ha_datastore_apd_recovery_action: Optional[pulumi.Input[builtins.str]] = None,
|
|
3039
|
+
ha_datastore_apd_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
3040
|
+
ha_datastore_apd_response_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
3041
|
+
ha_datastore_pdl_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
3042
|
+
ha_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3043
|
+
ha_heartbeat_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
3044
|
+
ha_heartbeat_datastore_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
3045
|
+
ha_host_isolation_response: Optional[pulumi.Input[builtins.str]] = None,
|
|
3046
|
+
ha_host_monitoring: Optional[pulumi.Input[builtins.str]] = None,
|
|
3047
|
+
ha_vm_component_protection: Optional[pulumi.Input[builtins.str]] = None,
|
|
3048
|
+
ha_vm_dependency_restart_condition: Optional[pulumi.Input[builtins.str]] = None,
|
|
3049
|
+
ha_vm_failure_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
3050
|
+
ha_vm_maximum_failure_window: Optional[pulumi.Input[builtins.int]] = None,
|
|
3051
|
+
ha_vm_maximum_resets: Optional[pulumi.Input[builtins.int]] = None,
|
|
3052
|
+
ha_vm_minimum_uptime: Optional[pulumi.Input[builtins.int]] = None,
|
|
3053
|
+
ha_vm_monitoring: Optional[pulumi.Input[builtins.str]] = None,
|
|
3054
|
+
ha_vm_restart_additional_delay: Optional[pulumi.Input[builtins.int]] = None,
|
|
3055
|
+
ha_vm_restart_priority: Optional[pulumi.Input[builtins.str]] = None,
|
|
3056
|
+
ha_vm_restart_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
3057
|
+
host_cluster_exit_timeout: Optional[pulumi.Input[builtins.int]] = None,
|
|
3054
3058
|
host_image: Optional[pulumi.Input[Union['ComputeClusterHostImageArgs', 'ComputeClusterHostImageArgsDict']]] = None,
|
|
3055
|
-
host_managed: Optional[pulumi.Input[bool]] = None,
|
|
3056
|
-
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
3057
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
3058
|
-
proactive_ha_automation_level: Optional[pulumi.Input[str]] = None,
|
|
3059
|
-
proactive_ha_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3060
|
-
proactive_ha_moderate_remediation: Optional[pulumi.Input[str]] = None,
|
|
3061
|
-
proactive_ha_provider_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
3062
|
-
proactive_ha_severe_remediation: Optional[pulumi.Input[str]] = None,
|
|
3063
|
-
resource_pool_id: Optional[pulumi.Input[str]] = None,
|
|
3064
|
-
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
3065
|
-
vsan_compression_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3066
|
-
vsan_dedup_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3059
|
+
host_managed: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3060
|
+
host_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
3061
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
3062
|
+
proactive_ha_automation_level: Optional[pulumi.Input[builtins.str]] = None,
|
|
3063
|
+
proactive_ha_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3064
|
+
proactive_ha_moderate_remediation: Optional[pulumi.Input[builtins.str]] = None,
|
|
3065
|
+
proactive_ha_provider_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
3066
|
+
proactive_ha_severe_remediation: Optional[pulumi.Input[builtins.str]] = None,
|
|
3067
|
+
resource_pool_id: Optional[pulumi.Input[builtins.str]] = None,
|
|
3068
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
3069
|
+
vsan_compression_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3070
|
+
vsan_dedup_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3067
3071
|
vsan_disk_groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ComputeClusterVsanDiskGroupArgs', 'ComputeClusterVsanDiskGroupArgsDict']]]]] = None,
|
|
3068
|
-
vsan_dit_encryption_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3069
|
-
vsan_dit_rekey_interval: Optional[pulumi.Input[int]] = None,
|
|
3070
|
-
vsan_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3071
|
-
vsan_esa_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3072
|
+
vsan_dit_encryption_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3073
|
+
vsan_dit_rekey_interval: Optional[pulumi.Input[builtins.int]] = None,
|
|
3074
|
+
vsan_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3075
|
+
vsan_esa_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3072
3076
|
vsan_fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ComputeClusterVsanFaultDomainArgs', 'ComputeClusterVsanFaultDomainArgsDict']]]]] = None,
|
|
3073
|
-
vsan_network_diagnostic_mode_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3074
|
-
vsan_performance_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3075
|
-
vsan_remote_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
3077
|
+
vsan_network_diagnostic_mode_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3078
|
+
vsan_performance_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3079
|
+
vsan_remote_datastore_ids: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
3076
3080
|
vsan_stretched_cluster: Optional[pulumi.Input[Union['ComputeClusterVsanStretchedClusterArgs', 'ComputeClusterVsanStretchedClusterArgsDict']]] = None,
|
|
3077
|
-
vsan_unmap_enabled: Optional[pulumi.Input[bool]] = None,
|
|
3078
|
-
vsan_verbose_mode_enabled: Optional[pulumi.Input[bool]] = None) -> 'ComputeCluster':
|
|
3081
|
+
vsan_unmap_enabled: Optional[pulumi.Input[builtins.bool]] = None,
|
|
3082
|
+
vsan_verbose_mode_enabled: Optional[pulumi.Input[builtins.bool]] = None) -> 'ComputeCluster':
|
|
3079
3083
|
"""
|
|
3080
3084
|
Get an existing ComputeCluster resource's state with the given name, id, and optional extra
|
|
3081
3085
|
properties used to qualify the lookup.
|
|
@@ -3083,127 +3087,127 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3083
3087
|
:param str resource_name: The unique name of the resulting resource.
|
|
3084
3088
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
3085
3089
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
3086
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] custom_attributes: A map of custom attribute ids to attribute
|
|
3090
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] custom_attributes: A map of custom attribute ids to attribute
|
|
3087
3091
|
value strings to set for the datastore cluster.
|
|
3088
3092
|
|
|
3089
3093
|
> **NOTE:** Custom attributes are unsupported on direct ESXi connections
|
|
3090
3094
|
and require vCenter Server.
|
|
3091
|
-
:param pulumi.Input[str] datacenter_id: The managed object ID of
|
|
3095
|
+
:param pulumi.Input[builtins.str] datacenter_id: The managed object ID of
|
|
3092
3096
|
the datacenter to create the cluster in. Forces a new resource if changed.
|
|
3093
|
-
:param pulumi.Input[str] dpm_automation_level: The automation level for host power operations in this cluster. Can be one of manual or automated.
|
|
3094
|
-
:param pulumi.Input[bool] dpm_enabled: Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
3097
|
+
: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.
|
|
3098
|
+
: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
|
|
3095
3099
|
machines in the cluster. Requires that DRS be enabled.
|
|
3096
|
-
:param pulumi.Input[int] dpm_threshold: A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
3100
|
+
: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
|
|
3097
3101
|
affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
3098
3102
|
setting.
|
|
3099
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] drs_advanced_options: Advanced configuration options for DRS and DPM.
|
|
3100
|
-
:param pulumi.Input[str] drs_automation_level: The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
3103
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] drs_advanced_options: Advanced configuration options for DRS and DPM.
|
|
3104
|
+
: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
|
|
3101
3105
|
fullyAutomated.
|
|
3102
|
-
:param pulumi.Input[bool] drs_enable_predictive_drs: When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
|
|
3103
|
-
:param pulumi.Input[bool] drs_enable_vm_overrides: When true, allows individual VM overrides within this cluster to be set.
|
|
3104
|
-
:param pulumi.Input[bool] drs_enabled: Enable DRS for this cluster.
|
|
3105
|
-
:param pulumi.Input[int] drs_migration_threshold: A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
3106
|
+
: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.
|
|
3107
|
+
:param pulumi.Input[builtins.bool] drs_enable_vm_overrides: When true, allows individual VM overrides within this cluster to be set.
|
|
3108
|
+
:param pulumi.Input[builtins.bool] drs_enabled: Enable DRS for this cluster.
|
|
3109
|
+
: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
|
|
3106
3110
|
more imbalance while a higher setting will tolerate less.
|
|
3107
|
-
:param pulumi.Input[str] drs_scale_descendants_shares: Enable scalable shares for all descendants of this cluster.
|
|
3108
|
-
:param pulumi.Input[str] folder: The relative path to a folder to put this cluster in.
|
|
3111
|
+
:param pulumi.Input[builtins.str] drs_scale_descendants_shares: Enable scalable shares for all descendants of this cluster.
|
|
3112
|
+
:param pulumi.Input[builtins.str] folder: The relative path to a folder to put this cluster in.
|
|
3109
3113
|
This is a path relative to the datacenter you are deploying the cluster to.
|
|
3110
3114
|
Example: for the `dc1` datacenter, and a provided `folder` of `foo/bar`,
|
|
3111
3115
|
The provider will place a cluster named `compute-cluster-test` in a
|
|
3112
3116
|
host folder located at `/dc1/host/foo/bar`, with the final inventory path
|
|
3113
3117
|
being `/dc1/host/foo/bar/datastore-cluster-test`.
|
|
3114
|
-
:param pulumi.Input[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
|
|
3118
|
+
: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
|
|
3115
3119
|
for testing and is not recommended in normal use.
|
|
3116
|
-
:param pulumi.Input[Sequence[pulumi.Input[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
|
|
3120
|
+
: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
|
|
3117
3121
|
failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
|
|
3118
3122
|
will ignore the host when making recommendations.
|
|
3119
|
-
:param pulumi.Input[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
|
|
3123
|
+
: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
|
|
3120
3124
|
machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
3121
|
-
:param pulumi.Input[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
|
|
3125
|
+
: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
|
|
3122
3126
|
warnings only, whereas a value of 100 disables the setting.
|
|
3123
|
-
:param pulumi.Input[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
|
|
3127
|
+
: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
|
|
3124
3128
|
permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
3125
3129
|
slotPolicy, failoverHosts, or disabled. Note that disabling admission control is not recommended and can lead to service
|
|
3126
3130
|
issues.
|
|
3127
|
-
:param pulumi.Input[bool] ha_admission_control_resource_percentage_auto_compute: When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by
|
|
3131
|
+
: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
|
|
3128
3132
|
subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting
|
|
3129
3133
|
from the total amount of resources in the cluster. Disable to supply user-defined values.
|
|
3130
|
-
:param pulumi.Input[int] ha_admission_control_resource_percentage_cpu: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in
|
|
3134
|
+
: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
|
|
3131
3135
|
the cluster to reserve for failover.
|
|
3132
|
-
:param pulumi.Input[int] ha_admission_control_resource_percentage_memory: When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
3136
|
+
: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
|
|
3133
3137
|
the cluster to reserve for failover.
|
|
3134
|
-
:param pulumi.Input[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.
|
|
3135
|
-
:param pulumi.Input[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.
|
|
3136
|
-
:param pulumi.Input[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
|
+
: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.
|
|
3139
|
+
: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.
|
|
3140
|
+
: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
|
|
3137
3141
|
to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
3138
3142
|
currently in the cluster.
|
|
3139
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] ha_advanced_options: Advanced configuration options for vSphere HA.
|
|
3140
|
-
:param pulumi.Input[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
|
|
3143
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] ha_advanced_options: Advanced configuration options for vSphere HA.
|
|
3144
|
+
: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
|
|
3141
3145
|
affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
3142
|
-
:param pulumi.Input[str] ha_datastore_apd_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
3146
|
+
: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
|
|
3143
3147
|
detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or
|
|
3144
3148
|
restartAggressive.
|
|
3145
|
-
:param pulumi.Input[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
|
|
3149
|
+
: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
|
|
3146
3150
|
the response action defined in ha_datastore_apd_response.
|
|
3147
|
-
:param pulumi.Input[str] ha_datastore_pdl_response: When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
3151
|
+
: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
|
|
3148
3152
|
detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
3149
|
-
:param pulumi.Input[bool] ha_enabled: Enable vSphere HA for this cluster.
|
|
3150
|
-
:param pulumi.Input[Sequence[pulumi.Input[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
|
|
3153
|
+
:param pulumi.Input[builtins.bool] ha_enabled: Enable vSphere HA for this cluster.
|
|
3154
|
+
: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
|
|
3151
3155
|
ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
3152
|
-
:param pulumi.Input[str] ha_heartbeat_datastore_policy: The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
3156
|
+
:param pulumi.Input[builtins.str] ha_heartbeat_datastore_policy: The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
3153
3157
|
allFeasibleDsWithUserPreference.
|
|
3154
|
-
:param pulumi.Input[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.
|
|
3158
|
+
: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.
|
|
3155
3159
|
Can be one of none, powerOff, or shutdown.
|
|
3156
|
-
:param pulumi.Input[str] ha_host_monitoring: Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
|
|
3157
|
-
:param pulumi.Input[str] ha_vm_component_protection: Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
3160
|
+
: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.
|
|
3161
|
+
: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
|
|
3158
3162
|
failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
3159
|
-
:param pulumi.Input[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
|
|
3163
|
+
: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
|
|
3160
3164
|
on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
3161
|
-
:param pulumi.Input[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
|
|
3165
|
+
: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
|
|
3162
3166
|
failed. The value is in seconds.
|
|
3163
|
-
:param pulumi.Input[int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
3167
|
+
: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
|
|
3164
3168
|
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
3165
3169
|
time is allotted.
|
|
3166
|
-
:param pulumi.Input[int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
|
|
3167
|
-
:param pulumi.Input[int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
|
|
3168
|
-
:param pulumi.Input[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
|
+
: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.
|
|
3171
|
+
: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.
|
|
3172
|
+
: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,
|
|
3169
3173
|
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
3170
|
-
:param pulumi.Input[int] ha_vm_restart_additional_delay: Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
|
|
3171
|
-
:param pulumi.Input[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,
|
|
3174
|
+
: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.
|
|
3175
|
+
: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,
|
|
3172
3176
|
high, or highest.
|
|
3173
|
-
:param pulumi.Input[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
|
|
3177
|
+
: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
|
|
3174
3178
|
proceeding with the next priority.
|
|
3175
|
-
:param pulumi.Input[int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
3179
|
+
:param pulumi.Input[builtins.int] host_cluster_exit_timeout: The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
3176
3180
|
:param pulumi.Input[Union['ComputeClusterHostImageArgs', 'ComputeClusterHostImageArgsDict']] host_image: Details about the host image which should be applied to the cluster.
|
|
3177
|
-
:param pulumi.Input[bool] host_managed: Must be set if cluster enrollment is managed from host resource.
|
|
3178
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] host_system_ids: The managed object IDs of the hosts to put in the cluster.
|
|
3179
|
-
:param pulumi.Input[str] name: The name of the cluster.
|
|
3180
|
-
:param pulumi.Input[str] proactive_ha_automation_level: The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
3181
|
-
:param pulumi.Input[bool] proactive_ha_enabled: Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
|
|
3182
|
-
:param pulumi.Input[str] proactive_ha_moderate_remediation: The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
3181
|
+
:param pulumi.Input[builtins.bool] host_managed: Must be set if cluster enrollment is managed from host resource.
|
|
3182
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] host_system_ids: The managed object IDs of the hosts to put in the cluster.
|
|
3183
|
+
:param pulumi.Input[builtins.str] name: The name of the cluster.
|
|
3184
|
+
:param pulumi.Input[builtins.str] proactive_ha_automation_level: The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
3185
|
+
: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.
|
|
3186
|
+
: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
|
|
3183
3187
|
this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
3184
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] proactive_ha_provider_ids: The list of IDs for health update providers configured for this cluster.
|
|
3185
|
-
:param pulumi.Input[str] proactive_ha_severe_remediation: The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
3188
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] proactive_ha_provider_ids: The list of IDs for health update providers configured for this cluster.
|
|
3189
|
+
: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
|
|
3186
3190
|
cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
3187
|
-
:param pulumi.Input[str] resource_pool_id: The managed object ID of the primary
|
|
3191
|
+
:param pulumi.Input[builtins.str] resource_pool_id: The managed object ID of the primary
|
|
3188
3192
|
resource pool for this cluster. This can be passed directly to the
|
|
3189
3193
|
`resource_pool_id`
|
|
3190
3194
|
attribute of the
|
|
3191
3195
|
`VirtualMachine` resource.
|
|
3192
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] tags: The IDs of any tags to attach to this resource.
|
|
3193
|
-
:param pulumi.Input[bool] vsan_compression_enabled: Whether the vSAN compression service is enabled for the cluster.
|
|
3194
|
-
:param pulumi.Input[bool] vsan_dedup_enabled: Whether the vSAN deduplication service is enabled for the cluster.
|
|
3196
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] tags: The IDs of any tags to attach to this resource.
|
|
3197
|
+
:param pulumi.Input[builtins.bool] vsan_compression_enabled: Whether the vSAN compression service is enabled for the cluster.
|
|
3198
|
+
:param pulumi.Input[builtins.bool] vsan_dedup_enabled: Whether the vSAN deduplication service is enabled for the cluster.
|
|
3195
3199
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ComputeClusterVsanDiskGroupArgs', 'ComputeClusterVsanDiskGroupArgsDict']]]] vsan_disk_groups: A list of disk UUIDs to add to the vSAN cluster.
|
|
3196
|
-
:param pulumi.Input[bool] vsan_dit_encryption_enabled: Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
3197
|
-
:param pulumi.Input[int] vsan_dit_rekey_interval: When vsan_dit_encryption_enabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
3198
|
-
:param pulumi.Input[bool] vsan_enabled: Whether the vSAN service is enabled for the cluster.
|
|
3199
|
-
:param pulumi.Input[bool] vsan_esa_enabled: Whether the vSAN ESA service is enabled for the cluster.
|
|
3200
|
+
:param pulumi.Input[builtins.bool] vsan_dit_encryption_enabled: Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
3201
|
+
:param pulumi.Input[builtins.int] vsan_dit_rekey_interval: When vsan_dit_encryption_enabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
3202
|
+
:param pulumi.Input[builtins.bool] vsan_enabled: Whether the vSAN service is enabled for the cluster.
|
|
3203
|
+
:param pulumi.Input[builtins.bool] vsan_esa_enabled: Whether the vSAN ESA service is enabled for the cluster.
|
|
3200
3204
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ComputeClusterVsanFaultDomainArgs', 'ComputeClusterVsanFaultDomainArgsDict']]]] vsan_fault_domains: The configuration for vSAN fault domains.
|
|
3201
|
-
:param pulumi.Input[bool] vsan_network_diagnostic_mode_enabled: Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
3202
|
-
:param pulumi.Input[bool] vsan_performance_enabled: Whether the vSAN performance service is enabled for the cluster.
|
|
3203
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] vsan_remote_datastore_ids: The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
3205
|
+
:param pulumi.Input[builtins.bool] vsan_network_diagnostic_mode_enabled: Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
3206
|
+
:param pulumi.Input[builtins.bool] vsan_performance_enabled: Whether the vSAN performance service is enabled for the cluster.
|
|
3207
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] vsan_remote_datastore_ids: The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
3204
3208
|
:param pulumi.Input[Union['ComputeClusterVsanStretchedClusterArgs', 'ComputeClusterVsanStretchedClusterArgsDict']] vsan_stretched_cluster: The configuration for stretched cluster.
|
|
3205
|
-
:param pulumi.Input[bool] vsan_unmap_enabled: Whether the vSAN unmap service is enabled for the cluster.
|
|
3206
|
-
:param pulumi.Input[bool] vsan_verbose_mode_enabled: Whether the vSAN verbose mode is enabled for the cluster.
|
|
3209
|
+
:param pulumi.Input[builtins.bool] vsan_unmap_enabled: Whether the vSAN unmap service is enabled for the cluster.
|
|
3210
|
+
:param pulumi.Input[builtins.bool] vsan_verbose_mode_enabled: Whether the vSAN verbose mode is enabled for the cluster.
|
|
3207
3211
|
"""
|
|
3208
3212
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
3209
3213
|
|
|
@@ -3283,7 +3287,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3283
3287
|
|
|
3284
3288
|
@property
|
|
3285
3289
|
@pulumi.getter(name="customAttributes")
|
|
3286
|
-
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
3290
|
+
def custom_attributes(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
3287
3291
|
"""
|
|
3288
3292
|
A map of custom attribute ids to attribute
|
|
3289
3293
|
value strings to set for the datastore cluster.
|
|
@@ -3295,7 +3299,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3295
3299
|
|
|
3296
3300
|
@property
|
|
3297
3301
|
@pulumi.getter(name="datacenterId")
|
|
3298
|
-
def datacenter_id(self) -> pulumi.Output[str]:
|
|
3302
|
+
def datacenter_id(self) -> pulumi.Output[builtins.str]:
|
|
3299
3303
|
"""
|
|
3300
3304
|
The managed object ID of
|
|
3301
3305
|
the datacenter to create the cluster in. Forces a new resource if changed.
|
|
@@ -3304,7 +3308,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3304
3308
|
|
|
3305
3309
|
@property
|
|
3306
3310
|
@pulumi.getter(name="dpmAutomationLevel")
|
|
3307
|
-
def dpm_automation_level(self) -> pulumi.Output[Optional[str]]:
|
|
3311
|
+
def dpm_automation_level(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3308
3312
|
"""
|
|
3309
3313
|
The automation level for host power operations in this cluster. Can be one of manual or automated.
|
|
3310
3314
|
"""
|
|
@@ -3312,7 +3316,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3312
3316
|
|
|
3313
3317
|
@property
|
|
3314
3318
|
@pulumi.getter(name="dpmEnabled")
|
|
3315
|
-
def dpm_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
3319
|
+
def dpm_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3316
3320
|
"""
|
|
3317
3321
|
Enable DPM support for DRS. This allows you to dynamically control the power of hosts depending on the needs of virtual
|
|
3318
3322
|
machines in the cluster. Requires that DRS be enabled.
|
|
@@ -3321,7 +3325,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3321
3325
|
|
|
3322
3326
|
@property
|
|
3323
3327
|
@pulumi.getter(name="dpmThreshold")
|
|
3324
|
-
def dpm_threshold(self) -> pulumi.Output[Optional[int]]:
|
|
3328
|
+
def dpm_threshold(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3325
3329
|
"""
|
|
3326
3330
|
A value between 1 and 5 indicating the threshold of load within the cluster that influences host power operations. This
|
|
3327
3331
|
affects both power on and power off operations - a lower setting will tolerate more of a surplus/deficit than a higher
|
|
@@ -3331,7 +3335,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3331
3335
|
|
|
3332
3336
|
@property
|
|
3333
3337
|
@pulumi.getter(name="drsAdvancedOptions")
|
|
3334
|
-
def drs_advanced_options(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
3338
|
+
def drs_advanced_options(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
3335
3339
|
"""
|
|
3336
3340
|
Advanced configuration options for DRS and DPM.
|
|
3337
3341
|
"""
|
|
@@ -3339,7 +3343,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3339
3343
|
|
|
3340
3344
|
@property
|
|
3341
3345
|
@pulumi.getter(name="drsAutomationLevel")
|
|
3342
|
-
def drs_automation_level(self) -> pulumi.Output[Optional[str]]:
|
|
3346
|
+
def drs_automation_level(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3343
3347
|
"""
|
|
3344
3348
|
The default automation level for all virtual machines in this cluster. Can be one of manual, partiallyAutomated, or
|
|
3345
3349
|
fullyAutomated.
|
|
@@ -3348,7 +3352,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3348
3352
|
|
|
3349
3353
|
@property
|
|
3350
3354
|
@pulumi.getter(name="drsEnablePredictiveDrs")
|
|
3351
|
-
def drs_enable_predictive_drs(self) -> pulumi.Output[Optional[bool]]:
|
|
3355
|
+
def drs_enable_predictive_drs(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3352
3356
|
"""
|
|
3353
3357
|
When true, enables DRS to use data from vRealize Operations Manager to make proactive DRS recommendations.
|
|
3354
3358
|
"""
|
|
@@ -3356,7 +3360,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3356
3360
|
|
|
3357
3361
|
@property
|
|
3358
3362
|
@pulumi.getter(name="drsEnableVmOverrides")
|
|
3359
|
-
def drs_enable_vm_overrides(self) -> pulumi.Output[Optional[bool]]:
|
|
3363
|
+
def drs_enable_vm_overrides(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3360
3364
|
"""
|
|
3361
3365
|
When true, allows individual VM overrides within this cluster to be set.
|
|
3362
3366
|
"""
|
|
@@ -3364,7 +3368,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3364
3368
|
|
|
3365
3369
|
@property
|
|
3366
3370
|
@pulumi.getter(name="drsEnabled")
|
|
3367
|
-
def drs_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
3371
|
+
def drs_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3368
3372
|
"""
|
|
3369
3373
|
Enable DRS for this cluster.
|
|
3370
3374
|
"""
|
|
@@ -3372,7 +3376,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3372
3376
|
|
|
3373
3377
|
@property
|
|
3374
3378
|
@pulumi.getter(name="drsMigrationThreshold")
|
|
3375
|
-
def drs_migration_threshold(self) -> pulumi.Output[Optional[int]]:
|
|
3379
|
+
def drs_migration_threshold(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3376
3380
|
"""
|
|
3377
3381
|
A value between 1 and 5 indicating the threshold of imbalance tolerated between hosts. A lower setting will tolerate
|
|
3378
3382
|
more imbalance while a higher setting will tolerate less.
|
|
@@ -3381,7 +3385,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3381
3385
|
|
|
3382
3386
|
@property
|
|
3383
3387
|
@pulumi.getter(name="drsScaleDescendantsShares")
|
|
3384
|
-
def drs_scale_descendants_shares(self) -> pulumi.Output[Optional[str]]:
|
|
3388
|
+
def drs_scale_descendants_shares(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3385
3389
|
"""
|
|
3386
3390
|
Enable scalable shares for all descendants of this cluster.
|
|
3387
3391
|
"""
|
|
@@ -3389,7 +3393,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3389
3393
|
|
|
3390
3394
|
@property
|
|
3391
3395
|
@pulumi.getter
|
|
3392
|
-
def folder(self) -> pulumi.Output[Optional[str]]:
|
|
3396
|
+
def folder(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3393
3397
|
"""
|
|
3394
3398
|
The relative path to a folder to put this cluster in.
|
|
3395
3399
|
This is a path relative to the datacenter you are deploying the cluster to.
|
|
@@ -3402,7 +3406,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3402
3406
|
|
|
3403
3407
|
@property
|
|
3404
3408
|
@pulumi.getter(name="forceEvacuateOnDestroy")
|
|
3405
|
-
def force_evacuate_on_destroy(self) -> pulumi.Output[Optional[bool]]:
|
|
3409
|
+
def force_evacuate_on_destroy(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3406
3410
|
"""
|
|
3407
3411
|
Force removal of all hosts in the cluster during destroy and make them standalone hosts. Use of this flag mainly exists
|
|
3408
3412
|
for testing and is not recommended in normal use.
|
|
@@ -3411,7 +3415,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3411
3415
|
|
|
3412
3416
|
@property
|
|
3413
3417
|
@pulumi.getter(name="haAdmissionControlFailoverHostSystemIds")
|
|
3414
|
-
def ha_admission_control_failover_host_system_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
3418
|
+
def ha_admission_control_failover_host_system_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
3415
3419
|
"""
|
|
3416
3420
|
When ha_admission_control_policy is failoverHosts, this defines the managed object IDs of hosts to use as dedicated
|
|
3417
3421
|
failover hosts. These hosts are kept as available as possible - admission control will block access to the host, and DRS
|
|
@@ -3421,7 +3425,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3421
3425
|
|
|
3422
3426
|
@property
|
|
3423
3427
|
@pulumi.getter(name="haAdmissionControlHostFailureTolerance")
|
|
3424
|
-
def ha_admission_control_host_failure_tolerance(self) -> pulumi.Output[Optional[int]]:
|
|
3428
|
+
def ha_admission_control_host_failure_tolerance(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3425
3429
|
"""
|
|
3426
3430
|
The maximum number of failed hosts that admission control tolerates when making decisions on whether to permit virtual
|
|
3427
3431
|
machine operations. The maximum is one less than the number of hosts in the cluster.
|
|
@@ -3430,7 +3434,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3430
3434
|
|
|
3431
3435
|
@property
|
|
3432
3436
|
@pulumi.getter(name="haAdmissionControlPerformanceTolerance")
|
|
3433
|
-
def ha_admission_control_performance_tolerance(self) -> pulumi.Output[Optional[int]]:
|
|
3437
|
+
def ha_admission_control_performance_tolerance(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3434
3438
|
"""
|
|
3435
3439
|
The percentage of resource reduction that a cluster of VMs can tolerate in case of a failover. A value of 0 produces
|
|
3436
3440
|
warnings only, whereas a value of 100 disables the setting.
|
|
@@ -3439,7 +3443,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3439
3443
|
|
|
3440
3444
|
@property
|
|
3441
3445
|
@pulumi.getter(name="haAdmissionControlPolicy")
|
|
3442
|
-
def ha_admission_control_policy(self) -> pulumi.Output[Optional[str]]:
|
|
3446
|
+
def ha_admission_control_policy(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3443
3447
|
"""
|
|
3444
3448
|
The type of admission control policy to use with vSphere HA, which controls whether or not specific VM operations are
|
|
3445
3449
|
permitted in the cluster in order to protect the reliability of the cluster. Can be one of resourcePercentage,
|
|
@@ -3450,7 +3454,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3450
3454
|
|
|
3451
3455
|
@property
|
|
3452
3456
|
@pulumi.getter(name="haAdmissionControlResourcePercentageAutoCompute")
|
|
3453
|
-
def ha_admission_control_resource_percentage_auto_compute(self) -> pulumi.Output[Optional[bool]]:
|
|
3457
|
+
def ha_admission_control_resource_percentage_auto_compute(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3454
3458
|
"""
|
|
3455
3459
|
When ha_admission_control_policy is resourcePercentage, automatically determine available resource percentages by
|
|
3456
3460
|
subtracting the average number of host resources represented by the ha_admission_control_host_failure_tolerance setting
|
|
@@ -3460,7 +3464,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3460
3464
|
|
|
3461
3465
|
@property
|
|
3462
3466
|
@pulumi.getter(name="haAdmissionControlResourcePercentageCpu")
|
|
3463
|
-
def ha_admission_control_resource_percentage_cpu(self) -> pulumi.Output[Optional[int]]:
|
|
3467
|
+
def ha_admission_control_resource_percentage_cpu(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3464
3468
|
"""
|
|
3465
3469
|
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of CPU resources in
|
|
3466
3470
|
the cluster to reserve for failover.
|
|
@@ -3469,7 +3473,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3469
3473
|
|
|
3470
3474
|
@property
|
|
3471
3475
|
@pulumi.getter(name="haAdmissionControlResourcePercentageMemory")
|
|
3472
|
-
def ha_admission_control_resource_percentage_memory(self) -> pulumi.Output[Optional[int]]:
|
|
3476
|
+
def ha_admission_control_resource_percentage_memory(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3473
3477
|
"""
|
|
3474
3478
|
When ha_admission_control_policy is resourcePercentage, this controls the user-defined percentage of memory resources in
|
|
3475
3479
|
the cluster to reserve for failover.
|
|
@@ -3478,7 +3482,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3478
3482
|
|
|
3479
3483
|
@property
|
|
3480
3484
|
@pulumi.getter(name="haAdmissionControlSlotPolicyExplicitCpu")
|
|
3481
|
-
def ha_admission_control_slot_policy_explicit_cpu(self) -> pulumi.Output[Optional[int]]:
|
|
3485
|
+
def ha_admission_control_slot_policy_explicit_cpu(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3482
3486
|
"""
|
|
3483
3487
|
When ha_admission_control_policy is slotPolicy, this controls the user-defined CPU slot size, in MHz.
|
|
3484
3488
|
"""
|
|
@@ -3486,7 +3490,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3486
3490
|
|
|
3487
3491
|
@property
|
|
3488
3492
|
@pulumi.getter(name="haAdmissionControlSlotPolicyExplicitMemory")
|
|
3489
|
-
def ha_admission_control_slot_policy_explicit_memory(self) -> pulumi.Output[Optional[int]]:
|
|
3493
|
+
def ha_admission_control_slot_policy_explicit_memory(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3490
3494
|
"""
|
|
3491
3495
|
When ha_admission_control_policy is slotPolicy, this controls the user-defined memory slot size, in MB.
|
|
3492
3496
|
"""
|
|
@@ -3494,7 +3498,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3494
3498
|
|
|
3495
3499
|
@property
|
|
3496
3500
|
@pulumi.getter(name="haAdmissionControlSlotPolicyUseExplicitSize")
|
|
3497
|
-
def ha_admission_control_slot_policy_use_explicit_size(self) -> pulumi.Output[Optional[bool]]:
|
|
3501
|
+
def ha_admission_control_slot_policy_use_explicit_size(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3498
3502
|
"""
|
|
3499
3503
|
When ha_admission_control_policy is slotPolicy, this setting controls whether or not you wish to supply explicit values
|
|
3500
3504
|
to CPU and memory slot sizes. The default is to gather a automatic average based on all powered-on virtual machines
|
|
@@ -3504,7 +3508,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3504
3508
|
|
|
3505
3509
|
@property
|
|
3506
3510
|
@pulumi.getter(name="haAdvancedOptions")
|
|
3507
|
-
def ha_advanced_options(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
|
3511
|
+
def ha_advanced_options(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
|
3508
3512
|
"""
|
|
3509
3513
|
Advanced configuration options for vSphere HA.
|
|
3510
3514
|
"""
|
|
@@ -3512,7 +3516,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3512
3516
|
|
|
3513
3517
|
@property
|
|
3514
3518
|
@pulumi.getter(name="haDatastoreApdRecoveryAction")
|
|
3515
|
-
def ha_datastore_apd_recovery_action(self) -> pulumi.Output[Optional[str]]:
|
|
3519
|
+
def ha_datastore_apd_recovery_action(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3516
3520
|
"""
|
|
3517
3521
|
When ha_vm_component_protection is enabled, controls the action to take on virtual machines if an APD status on an
|
|
3518
3522
|
affected datastore clears in the middle of an APD event. Can be one of none or reset.
|
|
@@ -3521,7 +3525,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3521
3525
|
|
|
3522
3526
|
@property
|
|
3523
3527
|
@pulumi.getter(name="haDatastoreApdResponse")
|
|
3524
|
-
def ha_datastore_apd_response(self) -> pulumi.Output[Optional[str]]:
|
|
3528
|
+
def ha_datastore_apd_response(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3525
3529
|
"""
|
|
3526
3530
|
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
3527
3531
|
detected loss to all paths to a relevant datastore. Can be one of disabled, warning, restartConservative, or
|
|
@@ -3531,7 +3535,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3531
3535
|
|
|
3532
3536
|
@property
|
|
3533
3537
|
@pulumi.getter(name="haDatastoreApdResponseDelay")
|
|
3534
|
-
def ha_datastore_apd_response_delay(self) -> pulumi.Output[Optional[int]]:
|
|
3538
|
+
def ha_datastore_apd_response_delay(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3535
3539
|
"""
|
|
3536
3540
|
When ha_vm_component_protection is enabled, controls the delay in seconds to wait after an APD timeout event to execute
|
|
3537
3541
|
the response action defined in ha_datastore_apd_response.
|
|
@@ -3540,7 +3544,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3540
3544
|
|
|
3541
3545
|
@property
|
|
3542
3546
|
@pulumi.getter(name="haDatastorePdlResponse")
|
|
3543
|
-
def ha_datastore_pdl_response(self) -> pulumi.Output[Optional[str]]:
|
|
3547
|
+
def ha_datastore_pdl_response(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3544
3548
|
"""
|
|
3545
3549
|
When ha_vm_component_protection is enabled, controls the action to take on virtual machines when the cluster has
|
|
3546
3550
|
detected a permanent device loss to a relevant datastore. Can be one of disabled, warning, or restartAggressive.
|
|
@@ -3549,7 +3553,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3549
3553
|
|
|
3550
3554
|
@property
|
|
3551
3555
|
@pulumi.getter(name="haEnabled")
|
|
3552
|
-
def ha_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
3556
|
+
def ha_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3553
3557
|
"""
|
|
3554
3558
|
Enable vSphere HA for this cluster.
|
|
3555
3559
|
"""
|
|
@@ -3557,7 +3561,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3557
3561
|
|
|
3558
3562
|
@property
|
|
3559
3563
|
@pulumi.getter(name="haHeartbeatDatastoreIds")
|
|
3560
|
-
def ha_heartbeat_datastore_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
3564
|
+
def ha_heartbeat_datastore_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
3561
3565
|
"""
|
|
3562
3566
|
The list of managed object IDs for preferred datastores to use for HA heartbeating. This setting is only useful when
|
|
3563
3567
|
ha_heartbeat_datastore_policy is set to either userSelectedDs or allFeasibleDsWithUserPreference.
|
|
@@ -3566,7 +3570,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3566
3570
|
|
|
3567
3571
|
@property
|
|
3568
3572
|
@pulumi.getter(name="haHeartbeatDatastorePolicy")
|
|
3569
|
-
def ha_heartbeat_datastore_policy(self) -> pulumi.Output[Optional[str]]:
|
|
3573
|
+
def ha_heartbeat_datastore_policy(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3570
3574
|
"""
|
|
3571
3575
|
The selection policy for HA heartbeat datastores. Can be one of allFeasibleDs, userSelectedDs, or
|
|
3572
3576
|
allFeasibleDsWithUserPreference.
|
|
@@ -3575,7 +3579,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3575
3579
|
|
|
3576
3580
|
@property
|
|
3577
3581
|
@pulumi.getter(name="haHostIsolationResponse")
|
|
3578
|
-
def ha_host_isolation_response(self) -> pulumi.Output[Optional[str]]:
|
|
3582
|
+
def ha_host_isolation_response(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3579
3583
|
"""
|
|
3580
3584
|
The action to take on virtual machines when a host has detected that it has been isolated from the rest of the cluster.
|
|
3581
3585
|
Can be one of none, powerOff, or shutdown.
|
|
@@ -3584,7 +3588,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3584
3588
|
|
|
3585
3589
|
@property
|
|
3586
3590
|
@pulumi.getter(name="haHostMonitoring")
|
|
3587
|
-
def ha_host_monitoring(self) -> pulumi.Output[Optional[str]]:
|
|
3591
|
+
def ha_host_monitoring(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3588
3592
|
"""
|
|
3589
3593
|
Global setting that controls whether vSphere HA remediates VMs on host failure. Can be one of enabled or disabled.
|
|
3590
3594
|
"""
|
|
@@ -3592,7 +3596,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3592
3596
|
|
|
3593
3597
|
@property
|
|
3594
3598
|
@pulumi.getter(name="haVmComponentProtection")
|
|
3595
|
-
def ha_vm_component_protection(self) -> pulumi.Output[Optional[str]]:
|
|
3599
|
+
def ha_vm_component_protection(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3596
3600
|
"""
|
|
3597
3601
|
Controls vSphere VM component protection for virtual machines in this cluster. This allows vSphere HA to react to
|
|
3598
3602
|
failures between hosts and specific virtual machine components, such as datastores. Can be one of enabled or disabled.
|
|
@@ -3601,7 +3605,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3601
3605
|
|
|
3602
3606
|
@property
|
|
3603
3607
|
@pulumi.getter(name="haVmDependencyRestartCondition")
|
|
3604
|
-
def ha_vm_dependency_restart_condition(self) -> pulumi.Output[Optional[str]]:
|
|
3608
|
+
def ha_vm_dependency_restart_condition(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3605
3609
|
"""
|
|
3606
3610
|
The condition used to determine whether or not VMs in a certain restart priority class are online, allowing HA to move
|
|
3607
3611
|
on to restarting VMs on the next priority. Can be one of none, poweredOn, guestHbStatusGreen, or appHbStatusGreen.
|
|
@@ -3610,7 +3614,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3610
3614
|
|
|
3611
3615
|
@property
|
|
3612
3616
|
@pulumi.getter(name="haVmFailureInterval")
|
|
3613
|
-
def ha_vm_failure_interval(self) -> pulumi.Output[Optional[int]]:
|
|
3617
|
+
def ha_vm_failure_interval(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3614
3618
|
"""
|
|
3615
3619
|
If a heartbeat from a virtual machine is not received within this configured interval, the virtual machine is marked as
|
|
3616
3620
|
failed. The value is in seconds.
|
|
@@ -3619,7 +3623,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3619
3623
|
|
|
3620
3624
|
@property
|
|
3621
3625
|
@pulumi.getter(name="haVmMaximumFailureWindow")
|
|
3622
|
-
def ha_vm_maximum_failure_window(self) -> pulumi.Output[Optional[int]]:
|
|
3626
|
+
def ha_vm_maximum_failure_window(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3623
3627
|
"""
|
|
3624
3628
|
The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
3625
3629
|
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
@@ -3629,7 +3633,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3629
3633
|
|
|
3630
3634
|
@property
|
|
3631
3635
|
@pulumi.getter(name="haVmMaximumResets")
|
|
3632
|
-
def ha_vm_maximum_resets(self) -> pulumi.Output[Optional[int]]:
|
|
3636
|
+
def ha_vm_maximum_resets(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3633
3637
|
"""
|
|
3634
3638
|
The maximum number of resets that HA will perform to a virtual machine when responding to a failure event.
|
|
3635
3639
|
"""
|
|
@@ -3637,7 +3641,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3637
3641
|
|
|
3638
3642
|
@property
|
|
3639
3643
|
@pulumi.getter(name="haVmMinimumUptime")
|
|
3640
|
-
def ha_vm_minimum_uptime(self) -> pulumi.Output[Optional[int]]:
|
|
3644
|
+
def ha_vm_minimum_uptime(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3641
3645
|
"""
|
|
3642
3646
|
The time, in seconds, that HA waits after powering on a virtual machine before monitoring for heartbeats.
|
|
3643
3647
|
"""
|
|
@@ -3645,7 +3649,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3645
3649
|
|
|
3646
3650
|
@property
|
|
3647
3651
|
@pulumi.getter(name="haVmMonitoring")
|
|
3648
|
-
def ha_vm_monitoring(self) -> pulumi.Output[Optional[str]]:
|
|
3652
|
+
def ha_vm_monitoring(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3649
3653
|
"""
|
|
3650
3654
|
The type of virtual machine monitoring to use when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
|
|
3651
3655
|
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
@@ -3654,7 +3658,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3654
3658
|
|
|
3655
3659
|
@property
|
|
3656
3660
|
@pulumi.getter(name="haVmRestartAdditionalDelay")
|
|
3657
|
-
def ha_vm_restart_additional_delay(self) -> pulumi.Output[Optional[int]]:
|
|
3661
|
+
def ha_vm_restart_additional_delay(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3658
3662
|
"""
|
|
3659
3663
|
Additional delay in seconds after ready condition is met. A VM is considered ready at this point.
|
|
3660
3664
|
"""
|
|
@@ -3662,7 +3666,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3662
3666
|
|
|
3663
3667
|
@property
|
|
3664
3668
|
@pulumi.getter(name="haVmRestartPriority")
|
|
3665
|
-
def ha_vm_restart_priority(self) -> pulumi.Output[Optional[str]]:
|
|
3669
|
+
def ha_vm_restart_priority(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3666
3670
|
"""
|
|
3667
3671
|
The default restart priority for affected VMs when vSphere detects a host failure. Can be one of lowest, low, medium,
|
|
3668
3672
|
high, or highest.
|
|
@@ -3671,7 +3675,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3671
3675
|
|
|
3672
3676
|
@property
|
|
3673
3677
|
@pulumi.getter(name="haVmRestartTimeout")
|
|
3674
|
-
def ha_vm_restart_timeout(self) -> pulumi.Output[Optional[int]]:
|
|
3678
|
+
def ha_vm_restart_timeout(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3675
3679
|
"""
|
|
3676
3680
|
The maximum time, in seconds, that vSphere HA will wait for virtual machines in one priority to be ready before
|
|
3677
3681
|
proceeding with the next priority.
|
|
@@ -3680,7 +3684,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3680
3684
|
|
|
3681
3685
|
@property
|
|
3682
3686
|
@pulumi.getter(name="hostClusterExitTimeout")
|
|
3683
|
-
def host_cluster_exit_timeout(self) -> pulumi.Output[Optional[int]]:
|
|
3687
|
+
def host_cluster_exit_timeout(self) -> pulumi.Output[Optional[builtins.int]]:
|
|
3684
3688
|
"""
|
|
3685
3689
|
The timeout for each host maintenance mode operation when removing hosts from a cluster.
|
|
3686
3690
|
"""
|
|
@@ -3696,7 +3700,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3696
3700
|
|
|
3697
3701
|
@property
|
|
3698
3702
|
@pulumi.getter(name="hostManaged")
|
|
3699
|
-
def host_managed(self) -> pulumi.Output[Optional[bool]]:
|
|
3703
|
+
def host_managed(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3700
3704
|
"""
|
|
3701
3705
|
Must be set if cluster enrollment is managed from host resource.
|
|
3702
3706
|
"""
|
|
@@ -3704,7 +3708,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3704
3708
|
|
|
3705
3709
|
@property
|
|
3706
3710
|
@pulumi.getter(name="hostSystemIds")
|
|
3707
|
-
def host_system_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
3711
|
+
def host_system_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
3708
3712
|
"""
|
|
3709
3713
|
The managed object IDs of the hosts to put in the cluster.
|
|
3710
3714
|
"""
|
|
@@ -3712,7 +3716,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3712
3716
|
|
|
3713
3717
|
@property
|
|
3714
3718
|
@pulumi.getter
|
|
3715
|
-
def name(self) -> pulumi.Output[str]:
|
|
3719
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
|
3716
3720
|
"""
|
|
3717
3721
|
The name of the cluster.
|
|
3718
3722
|
"""
|
|
@@ -3720,7 +3724,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3720
3724
|
|
|
3721
3725
|
@property
|
|
3722
3726
|
@pulumi.getter(name="proactiveHaAutomationLevel")
|
|
3723
|
-
def proactive_ha_automation_level(self) -> pulumi.Output[Optional[str]]:
|
|
3727
|
+
def proactive_ha_automation_level(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3724
3728
|
"""
|
|
3725
3729
|
The DRS behavior for proactive HA recommendations. Can be one of Automated or Manual.
|
|
3726
3730
|
"""
|
|
@@ -3728,7 +3732,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3728
3732
|
|
|
3729
3733
|
@property
|
|
3730
3734
|
@pulumi.getter(name="proactiveHaEnabled")
|
|
3731
|
-
def proactive_ha_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
3735
|
+
def proactive_ha_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3732
3736
|
"""
|
|
3733
3737
|
Enables proactive HA, allowing for vSphere to get HA data from external providers and use DRS to perform remediation.
|
|
3734
3738
|
"""
|
|
@@ -3736,7 +3740,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3736
3740
|
|
|
3737
3741
|
@property
|
|
3738
3742
|
@pulumi.getter(name="proactiveHaModerateRemediation")
|
|
3739
|
-
def proactive_ha_moderate_remediation(self) -> pulumi.Output[Optional[str]]:
|
|
3743
|
+
def proactive_ha_moderate_remediation(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3740
3744
|
"""
|
|
3741
3745
|
The configured remediation for moderately degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that
|
|
3742
3746
|
this cannot be set to MaintenanceMode when proactive_ha_severe_remediation is set to QuarantineMode.
|
|
@@ -3745,7 +3749,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3745
3749
|
|
|
3746
3750
|
@property
|
|
3747
3751
|
@pulumi.getter(name="proactiveHaProviderIds")
|
|
3748
|
-
def proactive_ha_provider_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
3752
|
+
def proactive_ha_provider_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
3749
3753
|
"""
|
|
3750
3754
|
The list of IDs for health update providers configured for this cluster.
|
|
3751
3755
|
"""
|
|
@@ -3753,7 +3757,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3753
3757
|
|
|
3754
3758
|
@property
|
|
3755
3759
|
@pulumi.getter(name="proactiveHaSevereRemediation")
|
|
3756
|
-
def proactive_ha_severe_remediation(self) -> pulumi.Output[Optional[str]]:
|
|
3760
|
+
def proactive_ha_severe_remediation(self) -> pulumi.Output[Optional[builtins.str]]:
|
|
3757
3761
|
"""
|
|
3758
3762
|
The configured remediation for severely degraded hosts. Can be one of MaintenanceMode or QuarantineMode. Note that this
|
|
3759
3763
|
cannot be set to QuarantineMode when proactive_ha_moderate_remediation is set to MaintenanceMode.
|
|
@@ -3762,7 +3766,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3762
3766
|
|
|
3763
3767
|
@property
|
|
3764
3768
|
@pulumi.getter(name="resourcePoolId")
|
|
3765
|
-
def resource_pool_id(self) -> pulumi.Output[str]:
|
|
3769
|
+
def resource_pool_id(self) -> pulumi.Output[builtins.str]:
|
|
3766
3770
|
"""
|
|
3767
3771
|
The managed object ID of the primary
|
|
3768
3772
|
resource pool for this cluster. This can be passed directly to the
|
|
@@ -3774,7 +3778,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3774
3778
|
|
|
3775
3779
|
@property
|
|
3776
3780
|
@pulumi.getter
|
|
3777
|
-
def tags(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
3781
|
+
def tags(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
3778
3782
|
"""
|
|
3779
3783
|
The IDs of any tags to attach to this resource.
|
|
3780
3784
|
"""
|
|
@@ -3782,7 +3786,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3782
3786
|
|
|
3783
3787
|
@property
|
|
3784
3788
|
@pulumi.getter(name="vsanCompressionEnabled")
|
|
3785
|
-
def vsan_compression_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
3789
|
+
def vsan_compression_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3786
3790
|
"""
|
|
3787
3791
|
Whether the vSAN compression service is enabled for the cluster.
|
|
3788
3792
|
"""
|
|
@@ -3790,7 +3794,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3790
3794
|
|
|
3791
3795
|
@property
|
|
3792
3796
|
@pulumi.getter(name="vsanDedupEnabled")
|
|
3793
|
-
def vsan_dedup_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
3797
|
+
def vsan_dedup_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3794
3798
|
"""
|
|
3795
3799
|
Whether the vSAN deduplication service is enabled for the cluster.
|
|
3796
3800
|
"""
|
|
@@ -3806,7 +3810,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3806
3810
|
|
|
3807
3811
|
@property
|
|
3808
3812
|
@pulumi.getter(name="vsanDitEncryptionEnabled")
|
|
3809
|
-
def vsan_dit_encryption_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
3813
|
+
def vsan_dit_encryption_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3810
3814
|
"""
|
|
3811
3815
|
Whether the vSAN data-in-transit encryption is enabled for the cluster.
|
|
3812
3816
|
"""
|
|
@@ -3814,7 +3818,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3814
3818
|
|
|
3815
3819
|
@property
|
|
3816
3820
|
@pulumi.getter(name="vsanDitRekeyInterval")
|
|
3817
|
-
def vsan_dit_rekey_interval(self) -> pulumi.Output[int]:
|
|
3821
|
+
def vsan_dit_rekey_interval(self) -> pulumi.Output[builtins.int]:
|
|
3818
3822
|
"""
|
|
3819
3823
|
When vsan_dit_encryption_enabled is enabled, sets the rekey interval of data-in-transit encryption (in minutes).
|
|
3820
3824
|
"""
|
|
@@ -3822,7 +3826,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3822
3826
|
|
|
3823
3827
|
@property
|
|
3824
3828
|
@pulumi.getter(name="vsanEnabled")
|
|
3825
|
-
def vsan_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
3829
|
+
def vsan_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3826
3830
|
"""
|
|
3827
3831
|
Whether the vSAN service is enabled for the cluster.
|
|
3828
3832
|
"""
|
|
@@ -3830,7 +3834,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3830
3834
|
|
|
3831
3835
|
@property
|
|
3832
3836
|
@pulumi.getter(name="vsanEsaEnabled")
|
|
3833
|
-
def vsan_esa_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
3837
|
+
def vsan_esa_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3834
3838
|
"""
|
|
3835
3839
|
Whether the vSAN ESA service is enabled for the cluster.
|
|
3836
3840
|
"""
|
|
@@ -3846,7 +3850,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3846
3850
|
|
|
3847
3851
|
@property
|
|
3848
3852
|
@pulumi.getter(name="vsanNetworkDiagnosticModeEnabled")
|
|
3849
|
-
def vsan_network_diagnostic_mode_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
3853
|
+
def vsan_network_diagnostic_mode_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3850
3854
|
"""
|
|
3851
3855
|
Whether the vSAN network diagnostic mode is enabled for the cluster.
|
|
3852
3856
|
"""
|
|
@@ -3854,7 +3858,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3854
3858
|
|
|
3855
3859
|
@property
|
|
3856
3860
|
@pulumi.getter(name="vsanPerformanceEnabled")
|
|
3857
|
-
def vsan_performance_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
3861
|
+
def vsan_performance_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3858
3862
|
"""
|
|
3859
3863
|
Whether the vSAN performance service is enabled for the cluster.
|
|
3860
3864
|
"""
|
|
@@ -3862,7 +3866,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3862
3866
|
|
|
3863
3867
|
@property
|
|
3864
3868
|
@pulumi.getter(name="vsanRemoteDatastoreIds")
|
|
3865
|
-
def vsan_remote_datastore_ids(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
3869
|
+
def vsan_remote_datastore_ids(self) -> pulumi.Output[Optional[Sequence[builtins.str]]]:
|
|
3866
3870
|
"""
|
|
3867
3871
|
The managed object IDs of the vSAN datastore to be mounted on the cluster.
|
|
3868
3872
|
"""
|
|
@@ -3878,7 +3882,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3878
3882
|
|
|
3879
3883
|
@property
|
|
3880
3884
|
@pulumi.getter(name="vsanUnmapEnabled")
|
|
3881
|
-
def vsan_unmap_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
3885
|
+
def vsan_unmap_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3882
3886
|
"""
|
|
3883
3887
|
Whether the vSAN unmap service is enabled for the cluster.
|
|
3884
3888
|
"""
|
|
@@ -3886,7 +3890,7 @@ class ComputeCluster(pulumi.CustomResource):
|
|
|
3886
3890
|
|
|
3887
3891
|
@property
|
|
3888
3892
|
@pulumi.getter(name="vsanVerboseModeEnabled")
|
|
3889
|
-
def vsan_verbose_mode_enabled(self) -> pulumi.Output[Optional[bool]]:
|
|
3893
|
+
def vsan_verbose_mode_enabled(self) -> pulumi.Output[Optional[builtins.bool]]:
|
|
3890
3894
|
"""
|
|
3891
3895
|
Whether the vSAN verbose mode is enabled for the cluster.
|
|
3892
3896
|
"""
|