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

title: compute alpha SslPolicy 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
  creationTimestamp:
    description: '[Output Only] Creation timestamp in RFC3339 text format.'
    type: string
  customFeatures:
    description: |-
      A list of features enabled when the selected profile is CUSTOM. The method
      returns the set of features that can be specified in this list. This field
      must be empty if the profile is not CUSTOM.
    type: array
    items:
      type: string
  description:
    description: |-
      An optional description of this resource. Provide this property when
      you create the resource.
    type: string
  enabledFeatures:
    description: |-
      [Output Only] The list of features enabled in the SSL policy.
    type: array
    items:
      type: string
  kind:
    description: |-
      [Output only] Type of the resource. Always compute#sslPolicyfor
      SSL policies.
    type: string
  minTlsVersion:
    description: |-
      The minimum version of SSL protocol that can be used by the
      clients to establish a connection with the load balancer. This can
      be one of TLS_1_0, TLS_1_1, TLS_1_2.
    type: string
    enum:
    - TLS_1_0
    - TLS_1_1
    - TLS_1_2
    - TLS_1_3
  name:
    description: |-
      Name of the resource. The name must be 1-63 characters long, and
      comply with RFC1035. Specifically, the name must be 1-63
      characters long and match the regular expression
      `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must
      be a lowercase letter, and all following characters must be a
      dash, lowercase letter, or digit, except the last character, which
      cannot be a dash.
    type: string
  profile:
    description: |-
      Profile specifies the set of SSL features that can be used by the
      load balancer when negotiating SSL with clients. This can be one
      of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the
      set of SSL features to enable must be specified in the
      customFeatures field.
    type: string
    enum:
    - COMPATIBLE
    - CUSTOM
    - FIPS_202205
    - MODERN
    - RESTRICTED
  region:
    description: |-
      [Output Only] URL of the region where the regional SSL policy
      resides. This field is not applicable to global SSL policies.
    type: string
  selfLink:
    description: '[Output Only] Server-defined URL for the resource.'
    type: string
  selfLinkWithId:
    description: |-
      [Output Only] Server-defined URL for this resource with the
      resource id.
    type: string
  tlsSettings:
    description: |-
      Security settings for the proxy. This field is only applicable to
      a global backend service with the loadBalancingScheme set to
      INTERNAL_SELF_MANAGED.
    $ref: ServerTlsSettings.yaml
  warnings:
    description: |-
      [Output Only] If potential misconfigurations are detected for this
      SSL policy, this field will be populated with warning messages.
    type: array
    items:
      $ref: WarningsValueListEntry.yaml
