Class HaVmOverrideState
Inherited Members
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public sealed class HaVmOverrideState : ResourceArgs
Constructors
View SourceHaVmOverrideState()
Declaration
public HaVmOverrideState()
Properties
View SourceComputeClusterId
The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
Declaration
public Input<string> ComputeClusterId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HaDatastoreApdRecoveryAction
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. Default: useClusterDefault.
Declaration
public Input<string> HaDatastoreApdRecoveryAction { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HaDatastoreApdResponse
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. Default: clusterDefault.
Declaration
public Input<string> HaDatastoreApdResponse { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HaDatastoreApdResponseDelay
Controls the delay in minutes
to wait after an APD timeout event to execute the response action defined in
ha_datastore_apd_response. Use -1 to use
the cluster default. Default: -1.
Declaration
public Input<int> HaDatastoreApdResponseDelay { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
HaDatastorePdlResponse
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. Default: clusterDefault.
Declaration
public Input<string> HaDatastorePdlResponse { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HaHostIsolationResponse
The action to take on this virtual
machine when a host has detected that it has been isolated from the rest of
the cluster. Can be one of clusterIsolationResponse, none, powerOff, or
shutdown. Default: clusterIsolationResponse.
Declaration
public Input<string> HaHostIsolationResponse { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HaVmFailureInterval
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. Default: 30.
Declaration
public Input<int> HaVmFailureInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
HaVmMaximumFailureWindow
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. The value is specified in seconds. Default:
-1 (no window).
Declaration
public Input<int> HaVmMaximumFailureWindow { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
HaVmMaximumResets
The maximum number of resets that HA will
perform to this virtual machine when responding to a failure event. Default:
3
Declaration
public Input<int> HaVmMaximumResets { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
HaVmMinimumUptime
The time, in seconds, that HA waits after
powering on this virtual machine before monitoring for heartbeats. Default:
120 (2 minutes).
Declaration
public Input<int> HaVmMinimumUptime { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
HaVmMonitoring
The type of virtual machine monitoring to use
when HA is enabled in the cluster. Can be one of vmMonitoringDisabled,
vmMonitoringOnly, or vmAndAppMonitoring. Default: vmMonitoringDisabled.
Declaration
public Input<string> HaVmMonitoring { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HaVmMonitoringUseClusterDefaults
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.
Declaration
public Input<bool> HaVmMonitoringUseClusterDefaults { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
HaVmRestartPriority
The restart priority for the virtual
machine when vSphere detects a host failure. Can be one of
clusterRestartPriority, lowest, low, medium, high, or highest.
Default: clusterRestartPriority.
Declaration
public Input<string> HaVmRestartPriority { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
HaVmRestartTimeout
The maximum time, in seconds, that
vSphere HA will wait for this virtual machine to be ready. Use -1 to
specify the cluster default. Default: -1.
Declaration
public Input<int> HaVmRestartTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
VirtualMachineId
The UUID of the virtual machine to create the override for. Forces a new resource if changed.
Declaration
public Input<string> VirtualMachineId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |