Class RegionInstanceTemplateSchedulingArgs


  • public final class RegionInstanceTemplateSchedulingArgs
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • automaticRestart

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> automaticRestart()
        Returns:
        Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). This defaults to true.
      • instanceTerminationAction

        public java.util.Optional<com.pulumi.core.Output<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.util.Optional<com.pulumi.core.Output<java.lang.String>> maintenanceInterval()
        Returns:
        Specifies the frequency of planned maintenance events. The accepted values are: `PERIODIC`.\ <a name="nested_guest_accelerator"></a>The `guest_accelerator` block supports:
      • maxRunDuration

        public java.util.Optional<com.pulumi.core.Output<RegionInstanceTemplateSchedulingMaxRunDurationArgs>> maxRunDuration()
        Returns:
        The duration of the instance. Instance will run and be terminated after then, the termination action could be defined in `instance_termination_action`. Only support `DELETE` `instance_termination_action` at this point. Structure is documented below.
      • minNodeCpus

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> minNodeCpus()
      • nodeAffinities

        public java.util.Optional<com.pulumi.core.Output<java.util.List<RegionInstanceTemplateSchedulingNodeAffinityArgs>>> nodeAffinities()
        Returns:
        Specifies node affinities or anti-affinities to determine which sole-tenant nodes your instances and managed instance groups will use as host systems. Read more on sole-tenant node creation [here](https://cloud.google.com/compute/docs/nodes/create-nodes). Structure documented below.
      • onHostMaintenance

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> onHostMaintenance()
        Returns:
        Defines the maintenance behavior for this instance.
      • preemptible

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> preemptible()
        Returns:
        Allows instance to be preempted. This defaults to false. Read more on this [here](https://cloud.google.com/compute/docs/instances/preemptible).
      • provisioningModel

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> provisioningModel()
        Returns:
        Describe the type of preemptible VM. This field accepts the value `STANDARD` or `SPOT`. If the value is `STANDARD`, there will be no discount. If this is set to `SPOT`, `preemptible` should be `true` and `automatic_restart` should be `false`. For more info about `SPOT`, read [here](https://cloud.google.com/compute/docs/instances/spot)