HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: //snap/google-cloud-cli/396/lib/googlecloudsdk/schemas/compute/beta/Scheduling.yaml
$schema: "http://json-schema.org/draft-06/schema#"

title: compute beta Scheduling export schema
description: A gcloud export/import command YAML validation schema.
type: object
additionalProperties: false
properties:
  COMMENT:
    type: object
    description: User specified info ignored by gcloud import.
    additionalProperties: false
    properties:
      template-id:
        type: string
      region:
        type: string
      description:
        type: string
      date:
        type: string
      version:
        type: string
  UNKNOWN:
    type: array
    description: Unknown API fields that cannot be imported.
    items:
      type: string
  automaticRestart:
    description: |-
      Specifies whether the instance should be automatically restarted if it is
      terminated by Compute Engine (not terminated by a user). You can only set
      the automatic restart option for standard instances. Preemptible instances
      cannot be automatically restarted. By default, this is set to true so an
      instance is automatically restarted if it is terminated by Compute Engine.
    type: boolean
  availabilityDomain:
    description: |-
      Specifies the availability domain (AD), which this instance should be
      scheduled on. The AD belongs to the spread GroupPlacementPolicy resource
      policy that has been assigned to the instance. Specify a value between
      1-max count of availability domains in your GroupPlacementPolicy. See
      go/placement-policy-extension for more details.
    type: integer
  hostErrorTimeoutSeconds:
    description: |-
      Specify the time in seconds for host error detection, the value must be
      within the range of [90, 330] with the increment of 30, if unset, the
      default behavior of host error recovery will be used.
    type: integer
  instanceTerminationAction:
    description: Specifies the termination action for the instance.
    type: string
    enum:
    - DELETE
    - STOP
  locationHint:
    description: |-
      An opaque location hint used to place the instance close to other
      resources. This field is for use by internal tools that use the public
      API.
    type: string
  maxRunDuration:
    description: |-
      Specifies the max run duration for the given instance. If specified, the
      instance termination action will be performed at the end of the run
      duration.
    $ref: Duration.yaml
  localSsdRecoveryTimeout:
    description: |-
      Specifies the maximum amount of time a Local Ssd Vm should wait while
      recovery of the Local Ssd state is attempted. Its value should be in
      between 0 and 168 hours with hour granularity and the default value being 1
      hour.
    $ref: Duration.yaml
  minNodeCpus:
    description: |-
      The minimum number of virtual CPUs this instance will consume when running
      on a sole-tenant node.
    type: integer
  nodeAffinities:
    description: |-
      A set of node affinity and anti-affinity configurations. Refer to
      Configuring node affinity for more information. Overrides
      reservationAffinity.
    type: array
    items:
      $ref: SchedulingNodeAffinity.yaml
  onHostMaintenance:
    description: |-
      Defines the maintenance behavior for this instance. For standard
      instances, the default behavior is MIGRATE. For preemptible instances,
      the default and only possible behavior is TERMINATE. For more
      information, see Setting Instance Scheduling Options.
    type: string
    enum:
    - MIGRATE
    - TERMINATE
  onInstanceStopAction:
    description: |-
        Defines the behaviour for instances at termination timestamp when used with auto termination
        and instance_termination_action STOP
    $ref: OnInstanceStopAction.yaml
  preemptible:
    description: |-
      Defines whether the instance is preemptible. This can only be set
      during instance creation or while the instance is stopped and
      therefore, in a `TERMINATED` state. See Instance Life Cycle for more
      information on the possible instance states.
    type: boolean
  provisioningModel:
    description: Specifies the provisioning model of the instance.
    type: string
    enum:
    - SPOT
    - STANDARD
  terminationTime:
    description: |-
      Specifies the timestamp, when the instance will be terminated, in
      RFC3339 text format. If specified, the instance termination action
      will be performed at the termination time.
    type: string
  maintenaceInterval:
    description: |-
      Specifies the frequency of planned maintenance events.
    type: string
    enum:
    - PERIODIC