pulumi-vsphere 4.16.0a1755919665__py3-none-any.whl → 4.17.0a1763072299__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_vsphere/compute_cluster.py +203 -462
- pulumi_vsphere/datastore_cluster.py +35 -70
- pulumi_vsphere/distributed_port_group.py +21 -42
- pulumi_vsphere/distributed_virtual_switch.py +35 -70
- pulumi_vsphere/get_guest_os_customization.py +34 -0
- pulumi_vsphere/ha_vm_override.py +77 -161
- pulumi_vsphere/host_port_group.py +21 -42
- pulumi_vsphere/host_virtual_switch.py +21 -42
- pulumi_vsphere/pulumi-plugin.json +1 -1
- pulumi_vsphere/virtual_machine.py +91 -196
- {pulumi_vsphere-4.16.0a1755919665.dist-info → pulumi_vsphere-4.17.0a1763072299.dist-info}/METADATA +1 -1
- {pulumi_vsphere-4.16.0a1755919665.dist-info → pulumi_vsphere-4.17.0a1763072299.dist-info}/RECORD +14 -14
- {pulumi_vsphere-4.16.0a1755919665.dist-info → pulumi_vsphere-4.17.0a1763072299.dist-info}/WHEEL +0 -0
- {pulumi_vsphere-4.16.0a1755919665.dist-info → pulumi_vsphere-4.17.0a1763072299.dist-info}/top_level.txt +0 -0
pulumi_vsphere/ha_vm_override.py
CHANGED
|
@@ -38,31 +38,19 @@ class HaVmOverrideArgs:
|
|
|
38
38
|
The set of arguments for constructing a HaVmOverride resource.
|
|
39
39
|
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object ID of the cluster.
|
|
40
40
|
:param pulumi.Input[_builtins.str] virtual_machine_id: The managed object ID of the virtual machine.
|
|
41
|
-
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
|
|
42
|
-
|
|
43
|
-
:param pulumi.Input[_builtins.
|
|
44
|
-
|
|
45
|
-
:param pulumi.Input[_builtins.
|
|
46
|
-
|
|
47
|
-
:param pulumi.Input[_builtins.
|
|
48
|
-
datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
|
|
49
|
-
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
|
|
50
|
-
clusterIsolationResponse, none, powerOff, or shutdown.
|
|
51
|
-
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
|
|
52
|
-
as failed. The value is in seconds.
|
|
53
|
-
:param pulumi.Input[_builtins.int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
54
|
-
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
55
|
-
time is allotted.
|
|
41
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an APD event. Can be one of useClusterDefault, none or reset.
|
|
42
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_response: Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
|
|
43
|
+
:param pulumi.Input[_builtins.int] ha_datastore_apd_response_delay: Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response. Specify -1 to use the cluster setting.
|
|
44
|
+
:param pulumi.Input[_builtins.str] ha_datastore_pdl_response: Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
|
|
45
|
+
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of clusterIsolationResponse, none, powerOff, or shutdown.
|
|
46
|
+
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
|
|
47
|
+
:param pulumi.Input[_builtins.int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset time is allotted.
|
|
56
48
|
:param pulumi.Input[_builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
|
|
57
49
|
:param pulumi.Input[_builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
|
|
58
|
-
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
|
|
59
|
-
|
|
60
|
-
:param pulumi.Input[_builtins.
|
|
61
|
-
|
|
62
|
-
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
|
|
63
|
-
lowest, low, medium, high, or highest.
|
|
64
|
-
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
|
|
65
|
-
default.
|
|
50
|
+
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
|
|
51
|
+
:param pulumi.Input[_builtins.bool] ha_vm_monitoring_use_cluster_defaults: Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
|
|
52
|
+
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, or highest.
|
|
53
|
+
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster default.
|
|
66
54
|
"""
|
|
67
55
|
pulumi.set(__self__, "compute_cluster_id", compute_cluster_id)
|
|
68
56
|
pulumi.set(__self__, "virtual_machine_id", virtual_machine_id)
|
|
@@ -121,8 +109,7 @@ class HaVmOverrideArgs:
|
|
|
121
109
|
@pulumi.getter(name="haDatastoreApdRecoveryAction")
|
|
122
110
|
def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
123
111
|
"""
|
|
124
|
-
Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
|
|
125
|
-
APD event. Can be one of useClusterDefault, none or reset.
|
|
112
|
+
Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an APD event. Can be one of useClusterDefault, none or reset.
|
|
126
113
|
"""
|
|
127
114
|
return pulumi.get(self, "ha_datastore_apd_recovery_action")
|
|
128
115
|
|
|
@@ -134,8 +121,7 @@ class HaVmOverrideArgs:
|
|
|
134
121
|
@pulumi.getter(name="haDatastoreApdResponse")
|
|
135
122
|
def ha_datastore_apd_response(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
136
123
|
"""
|
|
137
|
-
Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
|
|
138
|
-
datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
|
|
124
|
+
Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
|
|
139
125
|
"""
|
|
140
126
|
return pulumi.get(self, "ha_datastore_apd_response")
|
|
141
127
|
|
|
@@ -147,8 +133,7 @@ class HaVmOverrideArgs:
|
|
|
147
133
|
@pulumi.getter(name="haDatastoreApdResponseDelay")
|
|
148
134
|
def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
149
135
|
"""
|
|
150
|
-
Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
|
|
151
|
-
ha_datastore_apd_response. Specify -1 to use the cluster setting.
|
|
136
|
+
Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response. Specify -1 to use the cluster setting.
|
|
152
137
|
"""
|
|
153
138
|
return pulumi.get(self, "ha_datastore_apd_response_delay")
|
|
154
139
|
|
|
@@ -160,8 +145,7 @@ class HaVmOverrideArgs:
|
|
|
160
145
|
@pulumi.getter(name="haDatastorePdlResponse")
|
|
161
146
|
def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
162
147
|
"""
|
|
163
|
-
Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
|
|
164
|
-
datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
|
|
148
|
+
Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
|
|
165
149
|
"""
|
|
166
150
|
return pulumi.get(self, "ha_datastore_pdl_response")
|
|
167
151
|
|
|
@@ -173,8 +157,7 @@ class HaVmOverrideArgs:
|
|
|
173
157
|
@pulumi.getter(name="haHostIsolationResponse")
|
|
174
158
|
def ha_host_isolation_response(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
175
159
|
"""
|
|
176
|
-
The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
|
|
177
|
-
clusterIsolationResponse, none, powerOff, or shutdown.
|
|
160
|
+
The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of clusterIsolationResponse, none, powerOff, or shutdown.
|
|
178
161
|
"""
|
|
179
162
|
return pulumi.get(self, "ha_host_isolation_response")
|
|
180
163
|
|
|
@@ -186,8 +169,7 @@ class HaVmOverrideArgs:
|
|
|
186
169
|
@pulumi.getter(name="haVmFailureInterval")
|
|
187
170
|
def ha_vm_failure_interval(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
188
171
|
"""
|
|
189
|
-
If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
|
|
190
|
-
as failed. The value is in seconds.
|
|
172
|
+
If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
|
|
191
173
|
"""
|
|
192
174
|
return pulumi.get(self, "ha_vm_failure_interval")
|
|
193
175
|
|
|
@@ -199,9 +181,7 @@ class HaVmOverrideArgs:
|
|
|
199
181
|
@pulumi.getter(name="haVmMaximumFailureWindow")
|
|
200
182
|
def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
201
183
|
"""
|
|
202
|
-
The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
203
|
-
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
204
|
-
time is allotted.
|
|
184
|
+
The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset time is allotted.
|
|
205
185
|
"""
|
|
206
186
|
return pulumi.get(self, "ha_vm_maximum_failure_window")
|
|
207
187
|
|
|
@@ -237,8 +217,7 @@ class HaVmOverrideArgs:
|
|
|
237
217
|
@pulumi.getter(name="haVmMonitoring")
|
|
238
218
|
def ha_vm_monitoring(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
239
219
|
"""
|
|
240
|
-
The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
|
|
241
|
-
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
220
|
+
The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
|
|
242
221
|
"""
|
|
243
222
|
return pulumi.get(self, "ha_vm_monitoring")
|
|
244
223
|
|
|
@@ -250,8 +229,7 @@ class HaVmOverrideArgs:
|
|
|
250
229
|
@pulumi.getter(name="haVmMonitoringUseClusterDefaults")
|
|
251
230
|
def ha_vm_monitoring_use_cluster_defaults(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
252
231
|
"""
|
|
253
|
-
Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
|
|
254
|
-
for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
|
|
232
|
+
Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
|
|
255
233
|
"""
|
|
256
234
|
return pulumi.get(self, "ha_vm_monitoring_use_cluster_defaults")
|
|
257
235
|
|
|
@@ -263,8 +241,7 @@ class HaVmOverrideArgs:
|
|
|
263
241
|
@pulumi.getter(name="haVmRestartPriority")
|
|
264
242
|
def ha_vm_restart_priority(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
265
243
|
"""
|
|
266
|
-
The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
|
|
267
|
-
lowest, low, medium, high, or highest.
|
|
244
|
+
The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, or highest.
|
|
268
245
|
"""
|
|
269
246
|
return pulumi.get(self, "ha_vm_restart_priority")
|
|
270
247
|
|
|
@@ -276,8 +253,7 @@ class HaVmOverrideArgs:
|
|
|
276
253
|
@pulumi.getter(name="haVmRestartTimeout")
|
|
277
254
|
def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
278
255
|
"""
|
|
279
|
-
The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
|
|
280
|
-
default.
|
|
256
|
+
The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster default.
|
|
281
257
|
"""
|
|
282
258
|
return pulumi.get(self, "ha_vm_restart_timeout")
|
|
283
259
|
|
|
@@ -307,31 +283,19 @@ class _HaVmOverrideState:
|
|
|
307
283
|
"""
|
|
308
284
|
Input properties used for looking up and filtering HaVmOverride resources.
|
|
309
285
|
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object ID of the cluster.
|
|
310
|
-
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
|
|
311
|
-
|
|
312
|
-
:param pulumi.Input[_builtins.
|
|
313
|
-
|
|
314
|
-
:param pulumi.Input[_builtins.
|
|
315
|
-
|
|
316
|
-
:param pulumi.Input[_builtins.
|
|
317
|
-
datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
|
|
318
|
-
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
|
|
319
|
-
clusterIsolationResponse, none, powerOff, or shutdown.
|
|
320
|
-
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
|
|
321
|
-
as failed. The value is in seconds.
|
|
322
|
-
:param pulumi.Input[_builtins.int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
323
|
-
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
324
|
-
time is allotted.
|
|
286
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an APD event. Can be one of useClusterDefault, none or reset.
|
|
287
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_response: Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
|
|
288
|
+
:param pulumi.Input[_builtins.int] ha_datastore_apd_response_delay: Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response. Specify -1 to use the cluster setting.
|
|
289
|
+
:param pulumi.Input[_builtins.str] ha_datastore_pdl_response: Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
|
|
290
|
+
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of clusterIsolationResponse, none, powerOff, or shutdown.
|
|
291
|
+
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
|
|
292
|
+
:param pulumi.Input[_builtins.int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset time is allotted.
|
|
325
293
|
:param pulumi.Input[_builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
|
|
326
294
|
:param pulumi.Input[_builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
|
|
327
|
-
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
|
|
328
|
-
|
|
329
|
-
:param pulumi.Input[_builtins.
|
|
330
|
-
|
|
331
|
-
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
|
|
332
|
-
lowest, low, medium, high, or highest.
|
|
333
|
-
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
|
|
334
|
-
default.
|
|
295
|
+
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
|
|
296
|
+
:param pulumi.Input[_builtins.bool] ha_vm_monitoring_use_cluster_defaults: Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
|
|
297
|
+
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, or highest.
|
|
298
|
+
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster default.
|
|
335
299
|
:param pulumi.Input[_builtins.str] virtual_machine_id: The managed object ID of the virtual machine.
|
|
336
300
|
"""
|
|
337
301
|
if compute_cluster_id is not None:
|
|
@@ -381,8 +345,7 @@ class _HaVmOverrideState:
|
|
|
381
345
|
@pulumi.getter(name="haDatastoreApdRecoveryAction")
|
|
382
346
|
def ha_datastore_apd_recovery_action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
383
347
|
"""
|
|
384
|
-
Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
|
|
385
|
-
APD event. Can be one of useClusterDefault, none or reset.
|
|
348
|
+
Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an APD event. Can be one of useClusterDefault, none or reset.
|
|
386
349
|
"""
|
|
387
350
|
return pulumi.get(self, "ha_datastore_apd_recovery_action")
|
|
388
351
|
|
|
@@ -394,8 +357,7 @@ class _HaVmOverrideState:
|
|
|
394
357
|
@pulumi.getter(name="haDatastoreApdResponse")
|
|
395
358
|
def ha_datastore_apd_response(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
396
359
|
"""
|
|
397
|
-
Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
|
|
398
|
-
datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
|
|
360
|
+
Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
|
|
399
361
|
"""
|
|
400
362
|
return pulumi.get(self, "ha_datastore_apd_response")
|
|
401
363
|
|
|
@@ -407,8 +369,7 @@ class _HaVmOverrideState:
|
|
|
407
369
|
@pulumi.getter(name="haDatastoreApdResponseDelay")
|
|
408
370
|
def ha_datastore_apd_response_delay(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
409
371
|
"""
|
|
410
|
-
Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
|
|
411
|
-
ha_datastore_apd_response. Specify -1 to use the cluster setting.
|
|
372
|
+
Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response. Specify -1 to use the cluster setting.
|
|
412
373
|
"""
|
|
413
374
|
return pulumi.get(self, "ha_datastore_apd_response_delay")
|
|
414
375
|
|
|
@@ -420,8 +381,7 @@ class _HaVmOverrideState:
|
|
|
420
381
|
@pulumi.getter(name="haDatastorePdlResponse")
|
|
421
382
|
def ha_datastore_pdl_response(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
422
383
|
"""
|
|
423
|
-
Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
|
|
424
|
-
datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
|
|
384
|
+
Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
|
|
425
385
|
"""
|
|
426
386
|
return pulumi.get(self, "ha_datastore_pdl_response")
|
|
427
387
|
|
|
@@ -433,8 +393,7 @@ class _HaVmOverrideState:
|
|
|
433
393
|
@pulumi.getter(name="haHostIsolationResponse")
|
|
434
394
|
def ha_host_isolation_response(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
435
395
|
"""
|
|
436
|
-
The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
|
|
437
|
-
clusterIsolationResponse, none, powerOff, or shutdown.
|
|
396
|
+
The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of clusterIsolationResponse, none, powerOff, or shutdown.
|
|
438
397
|
"""
|
|
439
398
|
return pulumi.get(self, "ha_host_isolation_response")
|
|
440
399
|
|
|
@@ -446,8 +405,7 @@ class _HaVmOverrideState:
|
|
|
446
405
|
@pulumi.getter(name="haVmFailureInterval")
|
|
447
406
|
def ha_vm_failure_interval(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
448
407
|
"""
|
|
449
|
-
If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
|
|
450
|
-
as failed. The value is in seconds.
|
|
408
|
+
If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
|
|
451
409
|
"""
|
|
452
410
|
return pulumi.get(self, "ha_vm_failure_interval")
|
|
453
411
|
|
|
@@ -459,9 +417,7 @@ class _HaVmOverrideState:
|
|
|
459
417
|
@pulumi.getter(name="haVmMaximumFailureWindow")
|
|
460
418
|
def ha_vm_maximum_failure_window(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
461
419
|
"""
|
|
462
|
-
The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
463
|
-
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
464
|
-
time is allotted.
|
|
420
|
+
The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset time is allotted.
|
|
465
421
|
"""
|
|
466
422
|
return pulumi.get(self, "ha_vm_maximum_failure_window")
|
|
467
423
|
|
|
@@ -497,8 +453,7 @@ class _HaVmOverrideState:
|
|
|
497
453
|
@pulumi.getter(name="haVmMonitoring")
|
|
498
454
|
def ha_vm_monitoring(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
499
455
|
"""
|
|
500
|
-
The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
|
|
501
|
-
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
456
|
+
The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
|
|
502
457
|
"""
|
|
503
458
|
return pulumi.get(self, "ha_vm_monitoring")
|
|
504
459
|
|
|
@@ -510,8 +465,7 @@ class _HaVmOverrideState:
|
|
|
510
465
|
@pulumi.getter(name="haVmMonitoringUseClusterDefaults")
|
|
511
466
|
def ha_vm_monitoring_use_cluster_defaults(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
512
467
|
"""
|
|
513
|
-
Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
|
|
514
|
-
for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
|
|
468
|
+
Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
|
|
515
469
|
"""
|
|
516
470
|
return pulumi.get(self, "ha_vm_monitoring_use_cluster_defaults")
|
|
517
471
|
|
|
@@ -523,8 +477,7 @@ class _HaVmOverrideState:
|
|
|
523
477
|
@pulumi.getter(name="haVmRestartPriority")
|
|
524
478
|
def ha_vm_restart_priority(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
525
479
|
"""
|
|
526
|
-
The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
|
|
527
|
-
lowest, low, medium, high, or highest.
|
|
480
|
+
The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, or highest.
|
|
528
481
|
"""
|
|
529
482
|
return pulumi.get(self, "ha_vm_restart_priority")
|
|
530
483
|
|
|
@@ -536,8 +489,7 @@ class _HaVmOverrideState:
|
|
|
536
489
|
@pulumi.getter(name="haVmRestartTimeout")
|
|
537
490
|
def ha_vm_restart_timeout(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
538
491
|
"""
|
|
539
|
-
The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
|
|
540
|
-
default.
|
|
492
|
+
The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster default.
|
|
541
493
|
"""
|
|
542
494
|
return pulumi.get(self, "ha_vm_restart_timeout")
|
|
543
495
|
|
|
@@ -665,31 +617,19 @@ class HaVmOverride(pulumi.CustomResource):
|
|
|
665
617
|
:param str resource_name: The name of the resource.
|
|
666
618
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
667
619
|
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object ID of the cluster.
|
|
668
|
-
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
|
|
669
|
-
|
|
670
|
-
:param pulumi.Input[_builtins.
|
|
671
|
-
|
|
672
|
-
:param pulumi.Input[_builtins.
|
|
673
|
-
|
|
674
|
-
:param pulumi.Input[_builtins.
|
|
675
|
-
datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
|
|
676
|
-
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
|
|
677
|
-
clusterIsolationResponse, none, powerOff, or shutdown.
|
|
678
|
-
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
|
|
679
|
-
as failed. The value is in seconds.
|
|
680
|
-
:param pulumi.Input[_builtins.int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
681
|
-
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
682
|
-
time is allotted.
|
|
620
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an APD event. Can be one of useClusterDefault, none or reset.
|
|
621
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_response: Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
|
|
622
|
+
:param pulumi.Input[_builtins.int] ha_datastore_apd_response_delay: Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response. Specify -1 to use the cluster setting.
|
|
623
|
+
:param pulumi.Input[_builtins.str] ha_datastore_pdl_response: Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
|
|
624
|
+
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of clusterIsolationResponse, none, powerOff, or shutdown.
|
|
625
|
+
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
|
|
626
|
+
:param pulumi.Input[_builtins.int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset time is allotted.
|
|
683
627
|
:param pulumi.Input[_builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
|
|
684
628
|
:param pulumi.Input[_builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
|
|
685
|
-
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
|
|
686
|
-
|
|
687
|
-
:param pulumi.Input[_builtins.
|
|
688
|
-
|
|
689
|
-
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
|
|
690
|
-
lowest, low, medium, high, or highest.
|
|
691
|
-
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
|
|
692
|
-
default.
|
|
629
|
+
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
|
|
630
|
+
:param pulumi.Input[_builtins.bool] ha_vm_monitoring_use_cluster_defaults: Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
|
|
631
|
+
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, or highest.
|
|
632
|
+
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster default.
|
|
693
633
|
:param pulumi.Input[_builtins.str] virtual_machine_id: The managed object ID of the virtual machine.
|
|
694
634
|
"""
|
|
695
635
|
...
|
|
@@ -871,31 +811,19 @@ class HaVmOverride(pulumi.CustomResource):
|
|
|
871
811
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
872
812
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
873
813
|
:param pulumi.Input[_builtins.str] compute_cluster_id: The managed object ID of the cluster.
|
|
874
|
-
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
|
|
875
|
-
|
|
876
|
-
:param pulumi.Input[_builtins.
|
|
877
|
-
|
|
878
|
-
:param pulumi.Input[_builtins.
|
|
879
|
-
|
|
880
|
-
:param pulumi.Input[_builtins.
|
|
881
|
-
datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
|
|
882
|
-
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
|
|
883
|
-
clusterIsolationResponse, none, powerOff, or shutdown.
|
|
884
|
-
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
|
|
885
|
-
as failed. The value is in seconds.
|
|
886
|
-
:param pulumi.Input[_builtins.int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
887
|
-
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
888
|
-
time is allotted.
|
|
814
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_recovery_action: Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an APD event. Can be one of useClusterDefault, none or reset.
|
|
815
|
+
:param pulumi.Input[_builtins.str] ha_datastore_apd_response: Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
|
|
816
|
+
:param pulumi.Input[_builtins.int] ha_datastore_apd_response_delay: Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response. Specify -1 to use the cluster setting.
|
|
817
|
+
:param pulumi.Input[_builtins.str] ha_datastore_pdl_response: Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
|
|
818
|
+
:param pulumi.Input[_builtins.str] ha_host_isolation_response: The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of clusterIsolationResponse, none, powerOff, or shutdown.
|
|
819
|
+
:param pulumi.Input[_builtins.int] ha_vm_failure_interval: If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
|
|
820
|
+
:param pulumi.Input[_builtins.int] ha_vm_maximum_failure_window: The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset time is allotted.
|
|
889
821
|
:param pulumi.Input[_builtins.int] ha_vm_maximum_resets: The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
|
|
890
822
|
:param pulumi.Input[_builtins.int] ha_vm_minimum_uptime: The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
|
|
891
|
-
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
|
|
892
|
-
|
|
893
|
-
:param pulumi.Input[_builtins.
|
|
894
|
-
|
|
895
|
-
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
|
|
896
|
-
lowest, low, medium, high, or highest.
|
|
897
|
-
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
|
|
898
|
-
default.
|
|
823
|
+
:param pulumi.Input[_builtins.str] ha_vm_monitoring: The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
|
|
824
|
+
:param pulumi.Input[_builtins.bool] ha_vm_monitoring_use_cluster_defaults: Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
|
|
825
|
+
:param pulumi.Input[_builtins.str] ha_vm_restart_priority: The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, or highest.
|
|
826
|
+
:param pulumi.Input[_builtins.int] ha_vm_restart_timeout: The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster default.
|
|
899
827
|
:param pulumi.Input[_builtins.str] virtual_machine_id: The managed object ID of the virtual machine.
|
|
900
828
|
"""
|
|
901
829
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -931,8 +859,7 @@ class HaVmOverride(pulumi.CustomResource):
|
|
|
931
859
|
@pulumi.getter(name="haDatastoreApdRecoveryAction")
|
|
932
860
|
def ha_datastore_apd_recovery_action(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
933
861
|
"""
|
|
934
|
-
Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an
|
|
935
|
-
APD event. Can be one of useClusterDefault, none or reset.
|
|
862
|
+
Controls the action to take on this virtual machine if an APD status on an affected datastore clears in the middle of an APD event. Can be one of useClusterDefault, none or reset.
|
|
936
863
|
"""
|
|
937
864
|
return pulumi.get(self, "ha_datastore_apd_recovery_action")
|
|
938
865
|
|
|
@@ -940,8 +867,7 @@ class HaVmOverride(pulumi.CustomResource):
|
|
|
940
867
|
@pulumi.getter(name="haDatastoreApdResponse")
|
|
941
868
|
def ha_datastore_apd_response(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
942
869
|
"""
|
|
943
|
-
Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant
|
|
944
|
-
datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
|
|
870
|
+
Controls the action to take on this virtual machine when the cluster has detected loss to all paths to a relevant datastore. Can be one of clusterDefault, disabled, warning, restartConservative, or restartAggressive.
|
|
945
871
|
"""
|
|
946
872
|
return pulumi.get(self, "ha_datastore_apd_response")
|
|
947
873
|
|
|
@@ -949,8 +875,7 @@ class HaVmOverride(pulumi.CustomResource):
|
|
|
949
875
|
@pulumi.getter(name="haDatastoreApdResponseDelay")
|
|
950
876
|
def ha_datastore_apd_response_delay(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
951
877
|
"""
|
|
952
|
-
Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in
|
|
953
|
-
ha_datastore_apd_response. Specify -1 to use the cluster setting.
|
|
878
|
+
Controls the delay in seconds to wait after an APD timeout event to execute the response action defined in ha_datastore_apd_response. Specify -1 to use the cluster setting.
|
|
954
879
|
"""
|
|
955
880
|
return pulumi.get(self, "ha_datastore_apd_response_delay")
|
|
956
881
|
|
|
@@ -958,8 +883,7 @@ class HaVmOverride(pulumi.CustomResource):
|
|
|
958
883
|
@pulumi.getter(name="haDatastorePdlResponse")
|
|
959
884
|
def ha_datastore_pdl_response(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
960
885
|
"""
|
|
961
|
-
Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant
|
|
962
|
-
datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
|
|
886
|
+
Controls the action to take on this virtual machine when the cluster has detected a permanent device loss to a relevant datastore. Can be one of clusterDefault, disabled, warning, or restartAggressive.
|
|
963
887
|
"""
|
|
964
888
|
return pulumi.get(self, "ha_datastore_pdl_response")
|
|
965
889
|
|
|
@@ -967,8 +891,7 @@ class HaVmOverride(pulumi.CustomResource):
|
|
|
967
891
|
@pulumi.getter(name="haHostIsolationResponse")
|
|
968
892
|
def ha_host_isolation_response(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
969
893
|
"""
|
|
970
|
-
The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of
|
|
971
|
-
clusterIsolationResponse, none, powerOff, or shutdown.
|
|
894
|
+
The action to take on this virtual machine when a host is isolated from the rest of the cluster. Can be one of clusterIsolationResponse, none, powerOff, or shutdown.
|
|
972
895
|
"""
|
|
973
896
|
return pulumi.get(self, "ha_host_isolation_response")
|
|
974
897
|
|
|
@@ -976,8 +899,7 @@ class HaVmOverride(pulumi.CustomResource):
|
|
|
976
899
|
@pulumi.getter(name="haVmFailureInterval")
|
|
977
900
|
def ha_vm_failure_interval(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
978
901
|
"""
|
|
979
|
-
If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked
|
|
980
|
-
as failed. The value is in seconds.
|
|
902
|
+
If a heartbeat from this virtual machine is not received within this configured interval, the virtual machine is marked as failed. The value is in seconds.
|
|
981
903
|
"""
|
|
982
904
|
return pulumi.get(self, "ha_vm_failure_interval")
|
|
983
905
|
|
|
@@ -985,9 +907,7 @@ class HaVmOverride(pulumi.CustomResource):
|
|
|
985
907
|
@pulumi.getter(name="haVmMaximumFailureWindow")
|
|
986
908
|
def ha_vm_maximum_failure_window(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
987
909
|
"""
|
|
988
|
-
The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are
|
|
989
|
-
attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset
|
|
990
|
-
time is allotted.
|
|
910
|
+
The length of the reset window in which ha_vm_maximum_resets can operate. When this window expires, no more resets are attempted regardless of the setting configured in ha_vm_maximum_resets. -1 means no window, meaning an unlimited reset time is allotted.
|
|
991
911
|
"""
|
|
992
912
|
return pulumi.get(self, "ha_vm_maximum_failure_window")
|
|
993
913
|
|
|
@@ -1011,8 +931,7 @@ class HaVmOverride(pulumi.CustomResource):
|
|
|
1011
931
|
@pulumi.getter(name="haVmMonitoring")
|
|
1012
932
|
def ha_vm_monitoring(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1013
933
|
"""
|
|
1014
|
-
The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled,
|
|
1015
|
-
vmMonitoringOnly, or vmAndAppMonitoring.
|
|
934
|
+
The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
|
|
1016
935
|
"""
|
|
1017
936
|
return pulumi.get(self, "ha_vm_monitoring")
|
|
1018
937
|
|
|
@@ -1020,8 +939,7 @@ class HaVmOverride(pulumi.CustomResource):
|
|
|
1020
939
|
@pulumi.getter(name="haVmMonitoringUseClusterDefaults")
|
|
1021
940
|
def ha_vm_monitoring_use_cluster_defaults(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
1022
941
|
"""
|
|
1023
|
-
Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used
|
|
1024
|
-
for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
|
|
942
|
+
Determines whether or not the cluster's default settings or the VM override settings specified in this resource are used for virtual machine monitoring. The default is true (use cluster defaults) - set to false to have overrides take effect.
|
|
1025
943
|
"""
|
|
1026
944
|
return pulumi.get(self, "ha_vm_monitoring_use_cluster_defaults")
|
|
1027
945
|
|
|
@@ -1029,8 +947,7 @@ class HaVmOverride(pulumi.CustomResource):
|
|
|
1029
947
|
@pulumi.getter(name="haVmRestartPriority")
|
|
1030
948
|
def ha_vm_restart_priority(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
1031
949
|
"""
|
|
1032
|
-
The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority,
|
|
1033
|
-
lowest, low, medium, high, or highest.
|
|
950
|
+
The restart priority for this virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, or highest.
|
|
1034
951
|
"""
|
|
1035
952
|
return pulumi.get(self, "ha_vm_restart_priority")
|
|
1036
953
|
|
|
@@ -1038,8 +955,7 @@ class HaVmOverride(pulumi.CustomResource):
|
|
|
1038
955
|
@pulumi.getter(name="haVmRestartTimeout")
|
|
1039
956
|
def ha_vm_restart_timeout(self) -> pulumi.Output[Optional[_builtins.int]]:
|
|
1040
957
|
"""
|
|
1041
|
-
The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster
|
|
1042
|
-
default.
|
|
958
|
+
The maximum time, in seconds, that vSphere HA will wait for the virtual machine to be ready. Use -1 to use the cluster default.
|
|
1043
959
|
"""
|
|
1044
960
|
return pulumi.get(self, "ha_vm_restart_timeout")
|
|
1045
961
|
|