Package com.ibm.cloud.is.vpc.v1.model
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.GenericModelInstanceAvailabilityPolicy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstanceAvailabilityPolicy.HostFailureThe action to perform if the compute host experiences a failure.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHostFailure()Gets the hostFailure.
-
-
-
Method Detail
-
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 are expected to expand in the future. When processing this property, check for and log unknown values. Optionally halt processing and surface the error, or bypass the instance on which the unexpected property value was encountered.- Returns:
- the hostFailure
-
-