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