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

title: gkeonprem v1 BareMetalBgpPeerConfig export schema
description: A gcloud export/import command YAML validation schema.
type: object
required:
- asn
- ipAddress
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
  asn:
    description: |-
      BGP autonomous system number (ASN) for the network that contains the
      external peer device.
    type: integer
  controlPlaneNodes:
    description: |-
      The IP address of the control plane node that connects to the external
      peer. If you don't specify any control plane nodes, all control plane
      nodes can connect to the external peer. If you specify one or more IP
      addresses, only the nodes specified participate in peering sessions.
    type: array
    items:
      type: string
  ipAddress:
    description: The IP address of the external peer device.
    type: string
