1. Packages
  2. vSphere
  3. API Docs
  4. HaVmOverride
vSphere v4.10.0 published on Tuesday, Mar 12, 2024 by Pulumi

vsphere.HaVmOverride

Explore with Pulumi AI

vsphere logo
vSphere v4.10.0 published on Tuesday, Mar 12, 2024 by Pulumi

    Create HaVmOverride Resource

    new HaVmOverride(name: string, args: HaVmOverrideArgs, opts?: CustomResourceOptions);
    @overload
    def HaVmOverride(resource_name: 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)
    @overload
    def HaVmOverride(resource_name: str,
                     args: HaVmOverrideArgs,
                     opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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:

    ComputeClusterId string
    The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
    VirtualMachineId string
    The UUID of the virtual machine to create the override for. Forces a new resource if changed.
    HaDatastoreApdRecoveryAction string
    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.
    HaDatastoreApdResponse string
    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.
    HaDatastoreApdResponseDelay int
    Controls the delay in seconds 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.
    HaDatastorePdlResponse string
    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.
    HaHostIsolationResponse string
    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.
    HaVmFailureInterval int
    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.
    HaVmMaximumFailureWindow int
    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).
    HaVmMaximumResets int
    The maximum number of resets that HA will perform to this virtual machine when responding to a failure event. Default: 3
    HaVmMinimumUptime int
    The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats. Default: 120 (2 minutes).
    HaVmMonitoring string
    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.
    HaVmMonitoringUseClusterDefaults bool
    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.
    HaVmRestartPriority string
    The restart priority for the virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, highest, or disabled. Default: clusterRestartPriority.
    HaVmRestartTimeout int
    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.
    ComputeClusterId string
    The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
    VirtualMachineId string
    The UUID of the virtual machine to create the override for. Forces a new resource if changed.
    HaDatastoreApdRecoveryAction string
    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.
    HaDatastoreApdResponse string
    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.
    HaDatastoreApdResponseDelay int
    Controls the delay in seconds 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.
    HaDatastorePdlResponse string
    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.
    HaHostIsolationResponse string
    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.
    HaVmFailureInterval int
    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.
    HaVmMaximumFailureWindow int
    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).
    HaVmMaximumResets int
    The maximum number of resets that HA will perform to this virtual machine when responding to a failure event. Default: 3
    HaVmMinimumUptime int
    The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats. Default: 120 (2 minutes).
    HaVmMonitoring string
    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.
    HaVmMonitoringUseClusterDefaults bool
    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.
    HaVmRestartPriority string
    The restart priority for the virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, highest, or disabled. Default: clusterRestartPriority.
    HaVmRestartTimeout int
    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.
    computeClusterId String
    The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
    virtualMachineId String
    The UUID of the virtual machine to create the override for. Forces a new resource if changed.
    haDatastoreApdRecoveryAction String
    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.
    haDatastoreApdResponse String
    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.
    haDatastoreApdResponseDelay Integer
    Controls the delay in seconds 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.
    haDatastorePdlResponse String
    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.
    haHostIsolationResponse String
    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.
    haVmFailureInterval Integer
    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.
    haVmMaximumFailureWindow Integer
    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).
    haVmMaximumResets Integer
    The maximum number of resets that HA will perform to this virtual machine when responding to a failure event. Default: 3
    haVmMinimumUptime Integer
    The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats. Default: 120 (2 minutes).
    haVmMonitoring String
    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.
    haVmMonitoringUseClusterDefaults Boolean
    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.
    haVmRestartPriority String
    The restart priority for the virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, highest, or disabled. Default: clusterRestartPriority.
    haVmRestartTimeout Integer
    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.
    computeClusterId string
    The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
    virtualMachineId string
    The UUID of the virtual machine to create the override for. Forces a new resource if changed.
    haDatastoreApdRecoveryAction string
    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.
    haDatastoreApdResponse string
    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.
    haDatastoreApdResponseDelay number
    Controls the delay in seconds 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.
    haDatastorePdlResponse string
    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.
    haHostIsolationResponse string
    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.
    haVmFailureInterval number
    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.
    haVmMaximumFailureWindow number
    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).
    haVmMaximumResets number
    The maximum number of resets that HA will perform to this virtual machine when responding to a failure event. Default: 3
    haVmMinimumUptime number
    The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats. Default: 120 (2 minutes).
    haVmMonitoring string
    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.
    haVmMonitoringUseClusterDefaults boolean
    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.
    haVmRestartPriority string
    The restart priority for the virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, highest, or disabled. Default: clusterRestartPriority.
    haVmRestartTimeout number
    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.
    compute_cluster_id str
    The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
    virtual_machine_id str
    The UUID of the virtual machine to create the override for. Forces a new resource if changed.
    ha_datastore_apd_recovery_action str
    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.
    ha_datastore_apd_response str
    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.
    ha_datastore_apd_response_delay int
    Controls the delay in seconds 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.
    ha_datastore_pdl_response str
    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.
    ha_host_isolation_response str
    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.
    ha_vm_failure_interval int
    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.
    ha_vm_maximum_failure_window int
    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).
    ha_vm_maximum_resets int
    The maximum number of resets that HA will perform to this virtual machine when responding to a failure event. Default: 3
    ha_vm_minimum_uptime int
    The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats. Default: 120 (2 minutes).
    ha_vm_monitoring str
    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.
    ha_vm_monitoring_use_cluster_defaults bool
    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_restart_priority str
    The restart priority for the virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, highest, or disabled. Default: clusterRestartPriority.
    ha_vm_restart_timeout int
    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.
    computeClusterId String
    The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
    virtualMachineId String
    The UUID of the virtual machine to create the override for. Forces a new resource if changed.
    haDatastoreApdRecoveryAction String
    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.
    haDatastoreApdResponse String
    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.
    haDatastoreApdResponseDelay Number
    Controls the delay in seconds 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.
    haDatastorePdlResponse String
    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.
    haHostIsolationResponse String
    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.
    haVmFailureInterval Number
    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.
    haVmMaximumFailureWindow Number
    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).
    haVmMaximumResets Number
    The maximum number of resets that HA will perform to this virtual machine when responding to a failure event. Default: 3
    haVmMinimumUptime Number
    The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats. Default: 120 (2 minutes).
    haVmMonitoring String
    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.
    haVmMonitoringUseClusterDefaults Boolean
    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.
    haVmRestartPriority String
    The restart priority for the virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, highest, or disabled. Default: clusterRestartPriority.
    haVmRestartTimeout Number
    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.

    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.
    The following state arguments are supported:
    ComputeClusterId string
    The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
    HaDatastoreApdRecoveryAction string
    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.
    HaDatastoreApdResponse string
    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.
    HaDatastoreApdResponseDelay int
    Controls the delay in seconds 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.
    HaDatastorePdlResponse string
    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.
    HaHostIsolationResponse string
    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.
    HaVmFailureInterval int
    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.
    HaVmMaximumFailureWindow int
    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).
    HaVmMaximumResets int
    The maximum number of resets that HA will perform to this virtual machine when responding to a failure event. Default: 3
    HaVmMinimumUptime int
    The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats. Default: 120 (2 minutes).
    HaVmMonitoring string
    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.
    HaVmMonitoringUseClusterDefaults bool
    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.
    HaVmRestartPriority string
    The restart priority for the virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, highest, or disabled. Default: clusterRestartPriority.
    HaVmRestartTimeout int
    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.
    VirtualMachineId string
    The UUID of the virtual machine to create the override for. Forces a new resource if changed.
    ComputeClusterId string
    The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
    HaDatastoreApdRecoveryAction string
    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.
    HaDatastoreApdResponse string
    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.
    HaDatastoreApdResponseDelay int
    Controls the delay in seconds 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.
    HaDatastorePdlResponse string
    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.
    HaHostIsolationResponse string
    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.
    HaVmFailureInterval int
    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.
    HaVmMaximumFailureWindow int
    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).
    HaVmMaximumResets int
    The maximum number of resets that HA will perform to this virtual machine when responding to a failure event. Default: 3
    HaVmMinimumUptime int
    The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats. Default: 120 (2 minutes).
    HaVmMonitoring string
    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.
    HaVmMonitoringUseClusterDefaults bool
    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.
    HaVmRestartPriority string
    The restart priority for the virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, highest, or disabled. Default: clusterRestartPriority.
    HaVmRestartTimeout int
    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.
    VirtualMachineId string
    The UUID of the virtual machine to create the override for. Forces a new resource if changed.
    computeClusterId String
    The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
    haDatastoreApdRecoveryAction String
    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.
    haDatastoreApdResponse String
    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.
    haDatastoreApdResponseDelay Integer
    Controls the delay in seconds 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.
    haDatastorePdlResponse String
    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.
    haHostIsolationResponse String
    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.
    haVmFailureInterval Integer
    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.
    haVmMaximumFailureWindow Integer
    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).
    haVmMaximumResets Integer
    The maximum number of resets that HA will perform to this virtual machine when responding to a failure event. Default: 3
    haVmMinimumUptime Integer
    The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats. Default: 120 (2 minutes).
    haVmMonitoring String
    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.
    haVmMonitoringUseClusterDefaults Boolean
    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.
    haVmRestartPriority String
    The restart priority for the virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, highest, or disabled. Default: clusterRestartPriority.
    haVmRestartTimeout Integer
    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.
    virtualMachineId String
    The UUID of the virtual machine to create the override for. Forces a new resource if changed.
    computeClusterId string
    The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
    haDatastoreApdRecoveryAction string
    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.
    haDatastoreApdResponse string
    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.
    haDatastoreApdResponseDelay number
    Controls the delay in seconds 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.
    haDatastorePdlResponse string
    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.
    haHostIsolationResponse string
    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.
    haVmFailureInterval number
    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.
    haVmMaximumFailureWindow number
    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).
    haVmMaximumResets number
    The maximum number of resets that HA will perform to this virtual machine when responding to a failure event. Default: 3
    haVmMinimumUptime number
    The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats. Default: 120 (2 minutes).
    haVmMonitoring string
    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.
    haVmMonitoringUseClusterDefaults boolean
    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.
    haVmRestartPriority string
    The restart priority for the virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, highest, or disabled. Default: clusterRestartPriority.
    haVmRestartTimeout number
    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.
    virtualMachineId string
    The UUID of the virtual machine to create the override for. Forces a new resource if changed.
    compute_cluster_id str
    The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
    ha_datastore_apd_recovery_action str
    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.
    ha_datastore_apd_response str
    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.
    ha_datastore_apd_response_delay int
    Controls the delay in seconds 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.
    ha_datastore_pdl_response str
    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.
    ha_host_isolation_response str
    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.
    ha_vm_failure_interval int
    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.
    ha_vm_maximum_failure_window int
    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).
    ha_vm_maximum_resets int
    The maximum number of resets that HA will perform to this virtual machine when responding to a failure event. Default: 3
    ha_vm_minimum_uptime int
    The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats. Default: 120 (2 minutes).
    ha_vm_monitoring str
    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.
    ha_vm_monitoring_use_cluster_defaults bool
    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_restart_priority str
    The restart priority for the virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, highest, or disabled. Default: clusterRestartPriority.
    ha_vm_restart_timeout int
    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.
    virtual_machine_id str
    The UUID of the virtual machine to create the override for. Forces a new resource if changed.
    computeClusterId String
    The managed object reference ID of the cluster to put the override in. Forces a new resource if changed.
    haDatastoreApdRecoveryAction String
    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.
    haDatastoreApdResponse String
    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.
    haDatastoreApdResponseDelay Number
    Controls the delay in seconds 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.
    haDatastorePdlResponse String
    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.
    haHostIsolationResponse String
    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.
    haVmFailureInterval Number
    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.
    haVmMaximumFailureWindow Number
    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).
    haVmMaximumResets Number
    The maximum number of resets that HA will perform to this virtual machine when responding to a failure event. Default: 3
    haVmMinimumUptime Number
    The time, in seconds, that HA waits after powering on this virtual machine before monitoring for heartbeats. Default: 120 (2 minutes).
    haVmMonitoring String
    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.
    haVmMonitoringUseClusterDefaults Boolean
    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.
    haVmRestartPriority String
    The restart priority for the virtual machine when vSphere detects a host failure. Can be one of clusterRestartPriority, lowest, low, medium, high, highest, or disabled. Default: clusterRestartPriority.
    haVmRestartTimeout Number
    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.
    virtualMachineId String
    The UUID of the virtual machine to create the override for. Forces a new resource if changed.

    Package Details

    Repository
    vSphere pulumi/pulumi-vsphere
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the vsphere Terraform Provider.
    vsphere logo
    vSphere v4.10.0 published on Tuesday, Mar 12, 2024 by Pulumi