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

title: compute alpha BackendServiceHAPolicyLeader 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
  backendGroup:
    description: |-
      A fully-qualified URL (starting with https://www.googleapis.com/) of the
      zonal Network Endpoint Group (NEG) with `GCE_VM_IP` endpoints that the
      leader is attached to. The leader's backendGroup must already be specified
      as a backend of this backend service. Removing a backend that is
      designated as the leader's backendGroup is not permitted.
    type: string
  networkEndpoint:
    description: |-
      The network endpoint within the leader.backendGroup that is designated as
      the leader. This network endpoint cannot be detached from the NEG
      specified in the haPolicy.leader.backendGroup until the leader is updated
      with another network endpoint, or the leader is removed from the haPolicy.
    $ref: BackendServiceHAPolicyLeaderNetworkEndpoint.yaml
