Class GetInstanceScheduling


  • public final class GetInstanceScheduling
    extends java.lang.Object
    • Method Detail

      • automaticRestart

        public java.lang.Boolean automaticRestart()
        Returns:
        Specifies if the instance should be restarted if it was terminated by Compute Engine (not a user).
      • instanceTerminationAction

        public java.lang.String instanceTerminationAction()
        Returns:
        Describe the type of termination action for `SPOT` VM. Can be `STOP` or `DELETE`. Read more on [here](https://cloud.google.com/compute/docs/instances/create-use-spot)
      • maintenanceInterval

        public java.lang.String maintenanceInterval()
      • minNodeCpus

        public java.lang.Integer minNodeCpus()
      • onHostMaintenance

        public java.lang.String onHostMaintenance()
        Returns:
        Describes maintenance behavior for the instance. One of `MIGRATE` or `TERMINATE`, for more info, read [here](https://cloud.google.com/compute/docs/instances/setting-instance-scheduling-options)
      • preemptible

        public java.lang.Boolean preemptible()
        Returns:
        Whether the instance is preemptible.
      • provisioningModel

        public java.lang.String provisioningModel()
        Returns:
        Describe the type of preemptible VM.