Class InstanceAvailabilityPolicy

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.InstanceAvailabilityPolicy
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class InstanceAvailabilityPolicy extends com.ibm.cloud.sdk.core.service.model.GenericModel
InstanceAvailabilityPolicy.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    The action to perform if the compute host experiences a failure: - `restart`: Automatically restart the virtual server instance after host failure - `stop`: Leave the virtual server instance stopped after host failure The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the hostFailure.

    Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

    equals, hashCode, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getHostFailure

      public String getHostFailure()
      Gets the hostFailure. The action to perform if the compute host experiences a failure: - `restart`: Automatically restart the virtual server instance after host failure - `stop`: Leave the virtual server instance stopped after host failure The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.
      Returns:
      the hostFailure