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

title: datastream v1 SqlServerProfile export schema
description: A gcloud export/import command YAML validation schema.
type: object
required:
- database
- hostname
- username
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
  database:
    description: Database for the SQLServer connection.
    type: string
  hostname:
    description: Hostname for the SQLServer connection.
    type: string
  password:
    description: |-
      Password for the SQLServer connection. Mutually exclusive with the
      `secret_manager_stored_password` field.
    type: string
  port:
    description: Port for the SQLServer connection, default value is 1433.
    type: integer
  secretManagerStoredPassword:
    description: |-
      A reference to a Secret Manager resource name storing the SQLServer
      connection password. Mutually exclusive with the `password` field.
    type: string
  username:
    description: Username for the SQLServer connection.
    type: string
