vSphere v4.10.1 published on Friday, May 10, 2024 by Pulumi
vsphere.HaVmOverride
Explore with Pulumi AI
Create HaVmOverride Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HaVmOverride(name: string, args: HaVmOverrideArgs, opts?: CustomResourceOptions);
@overload
def HaVmOverride(resource_name: str,
args: HaVmOverrideArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HaVmOverride(resource_name: str,
opts: Optional[ResourceOptions] = None,
compute_cluster_id: Optional[str] = None,
virtual_machine_id: Optional[str] = None,
ha_vm_failure_interval: Optional[int] = None,
ha_datastore_apd_response_delay: Optional[int] = None,
ha_datastore_pdl_response: Optional[str] = None,
ha_host_isolation_response: Optional[str] = None,
ha_datastore_apd_response: Optional[str] = None,
ha_vm_maximum_failure_window: Optional[int] = None,
ha_vm_maximum_resets: Optional[int] = None,
ha_vm_minimum_uptime: Optional[int] = None,
ha_vm_monitoring: Optional[str] = None,
ha_vm_monitoring_use_cluster_defaults: Optional[bool] = None,
ha_vm_restart_priority: Optional[str] = None,
ha_vm_restart_timeout: Optional[int] = None,
ha_datastore_apd_recovery_action: Optional[str] = None)
func NewHaVmOverride(ctx *Context, name string, args HaVmOverrideArgs, opts ...ResourceOption) (*HaVmOverride, error)
public HaVmOverride(string name, HaVmOverrideArgs args, CustomResourceOptions? opts = null)
public HaVmOverride(String name, HaVmOverrideArgs args)
public HaVmOverride(String name, HaVmOverrideArgs args, CustomResourceOptions options)
type: vsphere:HaVmOverride
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args HaVmOverrideArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args HaVmOverrideArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args HaVmOverrideArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HaVmOverrideArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HaVmOverrideArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var haVmOverrideResource = new VSphere.HaVmOverride("haVmOverrideResource", new()
{
ComputeClusterId = "string",
VirtualMachineId = "string",
HaVmFailureInterval = 0,
HaDatastoreApdResponseDelay = 0,
HaDatastorePdlResponse = "string",
HaHostIsolationResponse = "string",
HaDatastoreApdResponse = "string",
HaVmMaximumFailureWindow = 0,
HaVmMaximumResets = 0,
HaVmMinimumUptime = 0,
HaVmMonitoring = "string",
HaVmMonitoringUseClusterDefaults = false,
HaVmRestartPriority = "string",
HaVmRestartTimeout = 0,
HaDatastoreApdRecoveryAction = "string",
});
example, err := vsphere.NewHaVmOverride(ctx, "haVmOverrideResource", &vsphere.HaVmOverrideArgs{
ComputeClusterId: pulumi.String("string"),
VirtualMachineId: pulumi.String("string"),
HaVmFailureInterval: pulumi.Int(0),
HaDatastoreApdResponseDelay: pulumi.Int(0),
HaDatastorePdlResponse: pulumi.String("string"),
HaHostIsolationResponse: pulumi.String("string"),
HaDatastoreApdResponse: pulumi.String("string"),
HaVmMaximumFailureWindow: pulumi.Int(0),
HaVmMaximumResets: pulumi.Int(0),
HaVmMinimumUptime: pulumi.Int(0),
HaVmMonitoring: pulumi.String("string"),
HaVmMonitoringUseClusterDefaults: pulumi.Bool(false),
HaVmRestartPriority: pulumi.String("string"),
HaVmRestartTimeout: pulumi.Int(0),
HaDatastoreApdRecoveryAction: pulumi.String("string"),
})
var haVmOverrideResource = new HaVmOverride("haVmOverrideResource", HaVmOverrideArgs.builder()
.computeClusterId("string")
.virtualMachineId("string")
.haVmFailureInterval(0)
.haDatastoreApdResponseDelay(0)
.haDatastorePdlResponse("string")
.haHostIsolationResponse("string")
.haDatastoreApdResponse("string")
.haVmMaximumFailureWindow(0)
.haVmMaximumResets(0)
.haVmMinimumUptime(0)
.haVmMonitoring("string")
.haVmMonitoringUseClusterDefaults(false)
.haVmRestartPriority("string")
.haVmRestartTimeout(0)
.haDatastoreApdRecoveryAction("string")
.build());
ha_vm_override_resource = vsphere.HaVmOverride("haVmOverrideResource",
compute_cluster_id="string",
virtual_machine_id="string",
ha_vm_failure_interval=0,
ha_datastore_apd_response_delay=0,
ha_datastore_pdl_response="string",
ha_host_isolation_response="string",
ha_datastore_apd_response="string",
ha_vm_maximum_failure_window=0,
ha_vm_maximum_resets=0,
ha_vm_minimum_uptime=0,
ha_vm_monitoring="string",
ha_vm_monitoring_use_cluster_defaults=False,
ha_vm_restart_priority="string",
ha_vm_restart_timeout=0,
ha_datastore_apd_recovery_action="string")
const haVmOverrideResource = new vsphere.HaVmOverride("haVmOverrideResource", {
computeClusterId: "string",
virtualMachineId: "string",
haVmFailureInterval: 0,
haDatastoreApdResponseDelay: 0,
haDatastorePdlResponse: "string",
haHostIsolationResponse: "string",
haDatastoreApdResponse: "string",
haVmMaximumFailureWindow: 0,
haVmMaximumResets: 0,
haVmMinimumUptime: 0,
haVmMonitoring: "string",
haVmMonitoringUseClusterDefaults: false,
haVmRestartPriority: "string",
haVmRestartTimeout: 0,
haDatastoreApdRecoveryAction: "string",
});
type: vsphere:HaVmOverride
properties:
computeClusterId: string
haDatastoreApdRecoveryAction: string
haDatastoreApdResponse: string
haDatastoreApdResponseDelay: 0
haDatastorePdlResponse: string
haHostIsolationResponse: string
haVmFailureInterval: 0
haVmMaximumFailureWindow: 0
haVmMaximumResets: 0
haVmMinimumUptime: 0
haVmMonitoring: string
haVmMonitoringUseClusterDefaults: false
haVmRestartPriority: string
haVmRestartTimeout: 0
virtualMachineId: string
HaVmOverride Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The HaVmOverride resource accepts the following input properties:
- Compute
Cluster stringId - The managed object ID of the cluster.
- Virtual
Machine stringId - The managed object ID of the virtual machine.
- Ha
Datastore stringApd 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.
- Ha
Datastore stringApd 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.
- Ha
Datastore intApd 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.
- Ha
Datastore stringPdl 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.
- Ha
Host stringIsolation 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.
- Ha
Vm intFailure 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.
- Ha
Vm intMaximum 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.
- Ha
Vm intMaximum Resets - The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
- Ha
Vm intMinimum Uptime - The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
- Ha
Vm stringMonitoring - The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
- Ha
Vm boolMonitoring 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.
- Ha
Vm stringRestart 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.
- Ha
Vm intRestart 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.
- Compute
Cluster stringId - The managed object ID of the cluster.
- Virtual
Machine stringId - The managed object ID of the virtual machine.
- Ha
Datastore stringApd 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.
- Ha
Datastore stringApd 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.
- Ha
Datastore intApd 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.
- Ha
Datastore stringPdl 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.
- Ha
Host stringIsolation 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.
- Ha
Vm intFailure 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.
- Ha
Vm intMaximum 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.
- Ha
Vm intMaximum Resets - The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
- Ha
Vm intMinimum Uptime - The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
- Ha
Vm stringMonitoring - The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
- Ha
Vm boolMonitoring 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.
- Ha
Vm stringRestart 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.
- Ha
Vm intRestart 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.
- compute
Cluster StringId - The managed object ID of the cluster.
- virtual
Machine StringId - The managed object ID of the virtual machine.
- ha
Datastore StringApd 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.
- ha
Datastore StringApd 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.
- ha
Datastore IntegerApd 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.
- ha
Datastore StringPdl 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.
- ha
Host StringIsolation 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.
- ha
Vm IntegerFailure 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.
- ha
Vm IntegerMaximum 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.
- ha
Vm IntegerMaximum Resets - The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
- ha
Vm IntegerMinimum Uptime - The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
- ha
Vm StringMonitoring - The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
- ha
Vm BooleanMonitoring 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.
- ha
Vm StringRestart 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.
- ha
Vm IntegerRestart 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.
- compute
Cluster stringId - The managed object ID of the cluster.
- virtual
Machine stringId - The managed object ID of the virtual machine.
- ha
Datastore stringApd 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.
- ha
Datastore stringApd 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.
- ha
Datastore numberApd 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.
- ha
Datastore stringPdl 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.
- ha
Host stringIsolation 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.
- ha
Vm numberFailure 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.
- ha
Vm numberMaximum 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.
- ha
Vm numberMaximum Resets - The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
- ha
Vm numberMinimum Uptime - The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
- ha
Vm stringMonitoring - The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
- ha
Vm booleanMonitoring 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.
- ha
Vm stringRestart 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.
- ha
Vm numberRestart 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.
- compute_
cluster_ strid - The managed object ID of the cluster.
- virtual_
machine_ strid - The managed object ID of the virtual machine.
- ha_
datastore_ strapd_ 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.
- ha_
datastore_ strapd_ 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.
- ha_
datastore_ intapd_ 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.
- ha_
datastore_ strpdl_ 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.
- ha_
host_ strisolation_ 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.
- ha_
vm_ intfailure_ 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.
- ha_
vm_ intmaximum_ 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.
- ha_
vm_ intmaximum_ resets - The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
- ha_
vm_ intminimum_ uptime - The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
- ha_
vm_ strmonitoring - The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
- ha_
vm_ boolmonitoring_ 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.
- ha_
vm_ strrestart_ 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.
- ha_
vm_ intrestart_ 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.
- compute
Cluster StringId - The managed object ID of the cluster.
- virtual
Machine StringId - The managed object ID of the virtual machine.
- ha
Datastore StringApd 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.
- ha
Datastore StringApd 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.
- ha
Datastore NumberApd 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.
- ha
Datastore StringPdl 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.
- ha
Host StringIsolation 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.
- ha
Vm NumberFailure 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.
- ha
Vm NumberMaximum 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.
- ha
Vm NumberMaximum Resets - The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
- ha
Vm NumberMinimum Uptime - The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
- ha
Vm StringMonitoring - The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
- ha
Vm BooleanMonitoring 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.
- ha
Vm StringRestart 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.
- ha
Vm NumberRestart 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the HaVmOverride resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing HaVmOverride Resource
Get an existing HaVmOverride resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: HaVmOverrideState, opts?: CustomResourceOptions): HaVmOverride
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compute_cluster_id: Optional[str] = None,
ha_datastore_apd_recovery_action: Optional[str] = None,
ha_datastore_apd_response: Optional[str] = None,
ha_datastore_apd_response_delay: Optional[int] = None,
ha_datastore_pdl_response: Optional[str] = None,
ha_host_isolation_response: Optional[str] = None,
ha_vm_failure_interval: Optional[int] = None,
ha_vm_maximum_failure_window: Optional[int] = None,
ha_vm_maximum_resets: Optional[int] = None,
ha_vm_minimum_uptime: Optional[int] = None,
ha_vm_monitoring: Optional[str] = None,
ha_vm_monitoring_use_cluster_defaults: Optional[bool] = None,
ha_vm_restart_priority: Optional[str] = None,
ha_vm_restart_timeout: Optional[int] = None,
virtual_machine_id: Optional[str] = None) -> HaVmOverride
func GetHaVmOverride(ctx *Context, name string, id IDInput, state *HaVmOverrideState, opts ...ResourceOption) (*HaVmOverride, error)
public static HaVmOverride Get(string name, Input<string> id, HaVmOverrideState? state, CustomResourceOptions? opts = null)
public static HaVmOverride get(String name, Output<String> id, HaVmOverrideState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compute
Cluster stringId - The managed object ID of the cluster.
- Ha
Datastore stringApd 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.
- Ha
Datastore stringApd 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.
- Ha
Datastore intApd 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.
- Ha
Datastore stringPdl 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.
- Ha
Host stringIsolation 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.
- Ha
Vm intFailure 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.
- Ha
Vm intMaximum 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.
- Ha
Vm intMaximum Resets - The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
- Ha
Vm intMinimum Uptime - The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
- Ha
Vm stringMonitoring - The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
- Ha
Vm boolMonitoring 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.
- Ha
Vm stringRestart 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.
- Ha
Vm intRestart 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.
- Virtual
Machine stringId - The managed object ID of the virtual machine.
- Compute
Cluster stringId - The managed object ID of the cluster.
- Ha
Datastore stringApd 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.
- Ha
Datastore stringApd 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.
- Ha
Datastore intApd 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.
- Ha
Datastore stringPdl 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.
- Ha
Host stringIsolation 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.
- Ha
Vm intFailure 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.
- Ha
Vm intMaximum 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.
- Ha
Vm intMaximum Resets - The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
- Ha
Vm intMinimum Uptime - The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
- Ha
Vm stringMonitoring - The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
- Ha
Vm boolMonitoring 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.
- Ha
Vm stringRestart 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.
- Ha
Vm intRestart 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.
- Virtual
Machine stringId - The managed object ID of the virtual machine.
- compute
Cluster StringId - The managed object ID of the cluster.
- ha
Datastore StringApd 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.
- ha
Datastore StringApd 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.
- ha
Datastore IntegerApd 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.
- ha
Datastore StringPdl 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.
- ha
Host StringIsolation 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.
- ha
Vm IntegerFailure 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.
- ha
Vm IntegerMaximum 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.
- ha
Vm IntegerMaximum Resets - The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
- ha
Vm IntegerMinimum Uptime - The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
- ha
Vm StringMonitoring - The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
- ha
Vm BooleanMonitoring 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.
- ha
Vm StringRestart 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.
- ha
Vm IntegerRestart 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.
- virtual
Machine StringId - The managed object ID of the virtual machine.
- compute
Cluster stringId - The managed object ID of the cluster.
- ha
Datastore stringApd 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.
- ha
Datastore stringApd 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.
- ha
Datastore numberApd 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.
- ha
Datastore stringPdl 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.
- ha
Host stringIsolation 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.
- ha
Vm numberFailure 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.
- ha
Vm numberMaximum 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.
- ha
Vm numberMaximum Resets - The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
- ha
Vm numberMinimum Uptime - The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
- ha
Vm stringMonitoring - The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
- ha
Vm booleanMonitoring 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.
- ha
Vm stringRestart 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.
- ha
Vm numberRestart 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.
- virtual
Machine stringId - The managed object ID of the virtual machine.
- compute_
cluster_ strid - The managed object ID of the cluster.
- ha_
datastore_ strapd_ 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.
- ha_
datastore_ strapd_ 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.
- ha_
datastore_ intapd_ 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.
- ha_
datastore_ strpdl_ 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.
- ha_
host_ strisolation_ 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.
- ha_
vm_ intfailure_ 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.
- ha_
vm_ intmaximum_ 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.
- ha_
vm_ intmaximum_ resets - The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
- ha_
vm_ intminimum_ uptime - The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
- ha_
vm_ strmonitoring - The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
- ha_
vm_ boolmonitoring_ 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.
- ha_
vm_ strrestart_ 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.
- ha_
vm_ intrestart_ 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.
- virtual_
machine_ strid - The managed object ID of the virtual machine.
- compute
Cluster StringId - The managed object ID of the cluster.
- ha
Datastore StringApd 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.
- ha
Datastore StringApd 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.
- ha
Datastore NumberApd 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.
- ha
Datastore StringPdl 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.
- ha
Host StringIsolation 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.
- ha
Vm NumberFailure 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.
- ha
Vm NumberMaximum 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.
- ha
Vm NumberMaximum Resets - The maximum number of resets that HA will perform to this virtual machine when responding to a failure event.
- ha
Vm NumberMinimum Uptime - The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats.
- ha
Vm StringMonitoring - The type of virtual machine monitoring to use for this virtual machine. Can be one of vmMonitoringDisabled, vmMonitoringOnly, or vmAndAppMonitoring.
- ha
Vm BooleanMonitoring 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.
- ha
Vm StringRestart 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.
- ha
Vm NumberRestart 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.
- virtual
Machine StringId - The managed object ID of the virtual machine.
Package Details
- Repository
- vSphere pulumi/pulumi-vsphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vsphere
Terraform Provider.