$schema: "http://json-schema.org/draft-06/schema#"

title: gkeonprem v1 BareMetalMaintenanceConfig export schema
description: A gcloud export/import command YAML validation schema.
type: object
required:
- maintenanceAddressCidrBlocks
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
  maintenanceAddressCidrBlocks:
    description: |-
      All IPv4 address from these ranges will be placed into maintenance mode.
      Nodes in maintenance mode will be cordoned and drained. When both of these
      are true, the "baremetal.cluster.gke.io/maintenance" annotation will be
      set on the node resource.
    type: array
    items:
      type: string
