openapi: 3.0.0
info:
  version: 2.0.0
  title: Device Settings
  description: These APIs are used for defining and managing device configurations within Strata Cloud Manager.
  termsOfService: 'https://www.paloaltonetworks.com/content/dam/pan/en_US/assets/pdf/legal/palo-alto-networks-end-user-license-agreement-eula.pdf'
  contact:
    email: support@paloaltonetworks.com
    name: Palo Alto Networks Technical Support
    url: 'https://support.paloaltonetworks.com'
  license:
    name: MIT
    url: https://opensource.org/license/mit
servers:
  - url: 'https://api.strata.paloaltonetworks.com/config/device/v1'
    description: Production
tags:
  - name: Authentication Settings
    description: Authentication Settings
  - name: Autoscale Settings
    description: Autoscale Settings
  - name: Content-ID Settings
    description: Content-ID Settings
  - name: Content Cloud Settings
    description: Content Cloud Settings
  - name: Device Context Segment Association
    description: Device Context Segment Association
  - name: Device Context Segments
    description: Device Context Segments
  - name: Device Redistribution Collector Settings
    description: Device Redistribution Collector Settings
  - name: General Settings
    description: General Settings
  - name: High Availability Configurations
    description: High Availability Configurations
  - name: High Availability Devices
    description: High Availability Devices
  - name: Login Banner Settings
    description: Login Banner Settings
  - name: Management Interface Settings
    description: Management Interface Settings
  - name: Named Snapshots
    description: Named snapshot management operations
  - name: Service Route Settings
    description: Service Route Settings
  - name: Service Settings
    description: Services Settings
  - name: Session Settings
    description: Session Settings
  - name: Session Timeouts Settings
    description: Session Timeouts Settings  
  - name: TCP Settings
    description: TCP Settings
  - name: Update Schedule Settings
    description: Update Schedule Settings
  - name: VPN Settings
    description: VPN Settings
  - name: Software Upgrade Schedules
    description: Software Upgrade Schedules
  - name: Software Upgrade Rules
    description: Software Upgrade Rules
  - name: Software Manager
    description: Software Manager
  - name: Models
    description: Models
paths:
  /autoscale:
    get:
      tags:
        - Autoscale Settings
      summary: Get autoscale settings
      description: |
        Retrieve the device autoscale (virtualization) settings for the
        specified location.
      operationId: GetAutoscaleSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/autoscale'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Autoscale Settings
      summary: Create autoscale settings
      description: |
        Create new device autoscale (virtualization) settings.
      operationId: CreateAutoscaleSettings
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/autoscale'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/autoscale'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Autoscale Settings
      summary: Update autoscale settings
      description: |
        Update the device autoscale (virtualization) settings.
      operationId: UpdateAutoscaleSettings
      x-singleton: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/autoscale'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/autoscale'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Autoscale Settings
      summary: Delete autoscale settings
      description: |
        Delete the device autoscale (virtualization) settings.
      operationId: DeleteAutoscaleSettings
      x-singleton: true
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /authentication-settings:
    get:
      tags:
        - Authentication Settings
      summary: List authentication settings
      description: |
        Retrieve a list of device authentication settings.
      operationId: ListAuthenticationSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/authentication-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Authentication Settings
      summary: Create authentication settings
      description: |
        Create new device authentication settings.
      operationId: CreateAuthenticationSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/authentication-settings'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/authentication-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /authentication-settings/{id}:
    get:
      tags:
        - Authentication Settings
      summary: Get existing authentication settings
      description: |
        Retrieve existing device authentication settings.
      operationId: GetAuthenticationSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/authentication-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Authentication Settings
      summary: Update authentication settings
      description: |
        Update the device authentication settings.
      operationId: UpdateAuthenticationSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/authentication-settings'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/authentication-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Authentication Settings
      summary: Delete authentication settings
      description: |
        Delete the device authentication settings.
      operationId: DeleteAuthenticationSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    
  /content-id-settings:
    get:
      tags:
        - Content-ID Settings
      summary: List Content-ID settings
      description: |
        Retrieve a list of Content-ID settings.
      operationId: ListContentIDSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/content-id-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Content-ID Settings
      summary: Create Content-ID settings
      description: |
        Create new Content-ID settings.
      operationId: CreateContentIDSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/content-id-settings'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/content-id-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /content-id-settings/{id}:
    get:
      tags:
        - Content-ID Settings
      summary: Get existing Content-ID settings
      description: |
        Retrieve existing Content-ID settings.
      operationId: GetContentIDSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/content-id-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Content-ID Settings
      summary: Update Content-ID settings
      description: |
        Update the Content-ID settings.
      operationId: UpdateContentIDSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/content-id-settings'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/content-id-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Content-ID Settings
      summary: Delete Content-ID settings
      description: |
        Delete the Content-ID settings.
      operationId: DeleteContentIDSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /content-cloud-settings:
    get:
      tags:
        - Content Cloud Settings
      summary: List Content Cloud settings
      description: |
        Retrieve a list of Content Cloud settings.
      operationId: ListContentCloudSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/content-cloud-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Content Cloud Settings
      summary: Create Content Cloud settings
      description: |
        Create new Content Cloud settings.
      operationId: CreateContentCloudSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/content-cloud-settings'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/content-cloud-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /content-cloud-settings/{id}:
    get:
      tags:
        - Content Cloud Settings
      summary: Get existing Content Cloud settings
      description: |
        Retrieve existing Content Cloud settings.
      operationId: GetContentCloudSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/content-cloud-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Content Cloud Settings
      summary: Update Content Cloud settings
      description: |
        Update the Content Cloud settings.
      operationId: UpdateContentCloudSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/content-cloud-settings'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/content-cloud-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Content Cloud Settings
      summary: Delete Content Cloud settings
      description: |
        Delete the Content Cloud settings.
      operationId: DeleteContentCloudSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /device-context-segment-association:
    get:
      tags:
        - Device Context Segment Association
      summary: List device context segment associations
      description: |
        Retrieve a list of device context segment associations.
      operationId: ListDeviceContextSegmentAssociation
      parameters:
        - $ref: '#/components/parameters/name'
        - $ref: '#/components/parameters/offset'
        - $ref: '#/components/parameters/limit'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/device-context-segment-association'
                  limit:
                    type: integer
                    default: 200
                  offset:
                    type: integer
                    default: 0
                  total:
                    type: integer
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Device Context Segment Association
      summary: Create a device context segment association
      description: |
        Create a new device context segment association.
      operationId: CreateDeviceContextSegmentAssociation
      requestBody:
        description: Created
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/device-context-segment-association'
      responses:
        '201':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/device-context-segment-association'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Device Context Segment Association
      summary: Delete device context segment associations by name
      description: |
        Delete one or more device context segment associations by name.
      operationId: DeleteDeviceContextSegmentAssociationByName
      parameters:
        - name: name
          in: query
          description: The name of the device context segment associations to delete
          required: true
          schema:
            type: array
            items:
              type: string
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  '/device-context-segment-association/{id}':
    get:
      tags:
        - Device Context Segment Association
      summary: Get a device context segment association
      description: |
        Retrieve an existing device context segment association by ID.
      operationId: GetDeviceContextSegmentAssociationByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/device-context-segment-association'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Device Context Segment Association
      summary: Update a device context segment association
      description: |
        Update an existing device context segment association.
      operationId: UpdateDeviceContextSegmentAssociationByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/device-context-segment-association'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/device-context-segment-association'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Device Context Segment Association
      summary: Delete a device context segment association
      description: |
        Delete a device context segment association by ID.
      operationId: DeleteDeviceContextSegmentAssociationByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'

  /device-redistribution-collector:
    get:
      tags:
        - Device Redistribution Collector Settings
      summary: List device redistribution collector settings
      description: |
        Retrieve a list of device redistribution collector settings.
      operationId: ListDeviceRedistributionCollectorSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/device-redistribution-collector'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Device Redistribution Collector Settings
      summary: Create device redistribution collector settings
      description: Create new device redistribution collector settings.
      operationId: CreateDeviceRedistributionCollectorSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/device-redistribution-collector'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/device-redistribution-collector'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /device-redistribution-collector/{id}:
    get:
      tags:
        - Device Redistribution Collector Settings
      summary: Get existing device redistribution collector settings
      description: |
        Retrieve existing device redistribution collector settings.
      operationId: GetDeviceRedistributionCollectorSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/device-redistribution-collector'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Device Redistribution Collector Settings
      summary: Update device redistribution collector settings
      description: |
        Update the device redistribution collector settings.
      operationId: UpdateDeviceRedistributionCollectorSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/device-redistribution-collector'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/device-redistribution-collector'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Device Redistribution Collector Settings
      summary: Delete device redistribution collector settings
      description: |
        Delete the device redistribution collector settings.
      operationId: DeleteDeviceRedistributionCollectorSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /general-settings:
    get:
      tags:
        - General Settings
      summary: List general settings
      description: |
        Retrieve a list of general settings.
      operationId: ListGeneralSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/general-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - General Settings
      summary: Create general settings
      description: |
        Create new general settings.
      operationId: CreateGeneralSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/general-settings'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/general-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /general-settings/{id}:
    get:
      tags:
        - General Settings
      summary: Get existing general settings
      description: |
        Retrieve existing general settings.
      operationId: GetGeneralSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/general-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - General Settings
      summary: Update general settings
      description: |
        Update the device redistribution collector settings.
      operationId: UpdateGeneralSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/general-settings'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/general-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - General Settings
      summary: Delete general settings
      description: |
        Delete the general settings.
      operationId: DeleteGeneralSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /ha-configurations:
    get:
      tags:
        - High Availability Configurations
      summary: Get high availability configuration
      description: |
        Retrieve high availability configuration for a device.
      operationId: GetHAConfiguration
      parameters:
        - name: device
          in: query
          required: true
          description: Device ID (numeric only)
          schema:
            type: string
            pattern: ^\d+$
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ha-configurations'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - High Availability Configurations
      summary: Create high availability configuration
      description: |
        Create high availability configuration for a device.
      operationId: CreateHAConfiguration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ha-configurations'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ha-configurations'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - High Availability Configurations
      summary: Update high availability configuration
      description: |
        Update high availability configuration for a device.
      operationId: UpdateHAConfiguration
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ha-configurations'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ha-configurations'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - High Availability Configurations
      summary: Delete high availability configuration
      description: |
        Delete high availability configuration for a device.
      operationId: DeleteHAConfiguration
      parameters:
        - name: device
          in: query
          required: true
          description: Device ID (numeric only)
          schema:
            type: string
            pattern: ^\d+$
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: HA configuration deleted successfully
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
  /ha-configurations-ports:
    get:
      tags:
        - High Availability Configurations
      summary: Autocomplete HA ports
      description: |
        Get available port options for HA configuration.
      operationId: AutocompleteHAPorts
      parameters:
        - name: device_id
          in: query
          required: true
          description: Device ID
          schema:
            type: string
            pattern: ^[a-zA-Z0-9_\-]+$
        - name: interface_type
          in: query
          required: true
          description: HA interface type
          schema:
            type: string
            enum:
              - ha1
              - ha1-backup
              - ha2
              - ha2-backup
              - ha3
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ha-configurations-autocomplete'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /ha-configurations-ip-addresses:
    get:
      tags:
        - High Availability Configurations
      summary: Autocomplete HA IP addresses
      description: |
        Get available IP address options for HA configuration.
      operationId: AutocompleteHAIPAddresses
      parameters:
        - name: device_id
          in: query
          required: true
          description: Device ID
          schema:
            type: string
            pattern: ^[a-zA-Z0-9_\-]+$
        - name: interface_type
          in: query
          required: true
          description: HA interface type
          schema:
            type: string
            enum:
              - ha1
              - ha1-backup
              - ha2
              - ha2-backup
              - ha3
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ha-configurations-autocomplete'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /ha-configurations-netmasks:
    get:
      tags:
        - High Availability Configurations
      summary: Autocomplete HA netmasks
      description: |
        Get available netmask options for HA configuration.
      operationId: AutocompleteHANetmasks
      parameters:
        - name: device_id
          in: query
          required: true
          description: Device ID
          schema:
            type: string
            pattern: ^[a-zA-Z0-9_\-]+$
        - name: interface_type
          in: query
          required: true
          description: HA interface type
          schema:
            type: string
            enum:
              - ha1
              - ha1-backup
              - ha2
              - ha2-backup
              - ha3
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ha-configurations-autocomplete'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /ha-configurations-gateways:
    get:
      tags:
        - High Availability Configurations
      summary: Autocomplete HA gateways
      description: |
        Get available gateway options for HA configuration.
      operationId: AutocompleteHAGateways
      parameters:
        - name: device_id
          in: query
          required: true
          description: Device ID
          schema:
            type: string
            pattern: ^[a-zA-Z0-9_\-]+$
        - name: interface_type
          in: query
          required: true
          description: HA interface type
          schema:
            type: string
            enum:
              - ha1
              - ha1-backup
              - ha2
              - ha2-backup
              - ha3
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ha-configurations-autocomplete'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /ha-devices:
    get:
      tags:
        - High Availability Devices
      summary: List high availability devices
      description: |
        Retrieve a list of high availability devices.
      operationId: ListHADevices
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    items:
                      $ref: '#/components/schemas/ha-devices'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
  /management-interface:
    get:
      tags:
        - Management Interface Settings
      summary: List management interface settings
      description: |
        Retrieve a list of management interface settings.
      operationId: ListManagementInterfaceSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/management-interface'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Management Interface Settings
      summary: Create management interface settings
      description: |
        Create new management interface settings.
      operationId: CreateManagementInterfaceSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/management-interface'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/management-interface'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /management-interface/{id}:
    get:
      tags:
        - Management Interface Settings
      summary: Get existing management interface settings
      description: |
        Retrieve existing management interface settings.
      operationId: GetManagementInterfaceSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/management-interface'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Management Interface Settings
      summary: Update management interface settings
      description: |
        Update the management interface settings.
      operationId: UpdateManagementInterfaceSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/management-interface'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/management-interface'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Management Interface Settings
      summary: Delete management interface settings
      description: |
        Delete the management interface settings.
      operationId: DeleteManagementInterfaceSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /motd-banner-settings:
    get:
      tags:
        - Login Banner Settings
      summary: List login banner settings
      description: |
        Retrieve a list of login banner settings.
      operationId: ListLoginBannerSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/motd-banner-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Login Banner Settings
      summary: Create login banner settings
      description: |
        Create new login banner settings.
      operationId: CreateLoginBannerSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/motd-banner-settings'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/motd-banner-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /motd-banner-settings/{id}:
    get:
      tags:
        - Login Banner Settings
      summary: Get existing login banner settings
      description: |
        Retrieve existing login banner settings.
      operationId: GetLoginBannerSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/motd-banner-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Login Banner Settings
      summary: Update login banner settings
      description: |
        Update the login banner settings.
      operationId: UpdateLoginBannerSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/motd-banner-settings'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/motd-banner-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Login Banner Settings
      summary: Delete login banner settings
      description: |
        Delete the login banner settings.
      operationId: DeleteLoginBannerSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /service-route:
    get:
      tags:
        - Service Route Settings
      summary: List service route settings
      description: |
        Retrieve a list of service route settings.
      operationId: ListServiceRouteSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/service-route'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Service Route Settings
      summary: Create service route settings
      description: |
        Create new service route settings.
      operationId: CreateServiceRouteSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/service-route'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/service-route'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /service-route/{id}:
    get:
      tags:
        - Service Route Settings
      summary: Get existing service route settings
      description: |
        Retrieve existing service route settings.
      operationId: GetServiceRouteSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/service-route'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Service Route Settings
      summary: Update service route settings
      description: |
        Update the service route settings.
      operationId: UpdateServiceRouteSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/service-route'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/service-route'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Service Route Settings
      summary: Delete service route settings
      description: |
        Delete the service route settings.
      operationId: DeleteServiceRouteSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /service-settings:
    get:
      tags:
        - Service Settings
      summary: List service settings
      description: |
        Retrieve a list of service settings.
      operationId: ListServiceSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/service-settings'
                  limit:
                    type: integer
                    default: 200
                  offset:
                    type: integer
                    default: 0
                  total:
                    type: integer
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Service Settings
      summary: Create service settings
      description: |
        Create new service settings.
      operationId: CreateServiceSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/service-settings'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/service-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /service-settings/{id}:
    get:
      tags:
        - Service Settings
      summary: Get existing service settings
      description: |
        Retrieve existing service settings.
      operationId: GetServiceSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/service-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Service Settings
      summary: Update service settings
      description: |
        Update the service settings.
      operationId: UpdateServiceSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/service-settings'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/service-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Service Settings
      summary: Delete service settings
      description: |
        Delete the service settings.
      operationId: DeleteServiceSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /session-settings:
    get:
      tags:
        - Session Settings
      summary: List session settings
      description: |
        Retrieve a list of session settings.
      operationId: ListSessionSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/session-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Session Settings
      summary: Create session settings
      description: |
        Create new session settings.
      operationId: CreateSessionSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/session-settings'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/session-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /session-settings/{id}:
    get:
      tags:
        - Session Settings
      summary: Get existing session settings
      description: |
        Retrieve existing session settings.
      operationId: GetSessionSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/session-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Session Settings
      summary: Update session settings
      description: |
        Update the session settings.
      operationId: UpdateSessionSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/session-settings'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/session-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Session Settings
      summary: Delete session settings
      description: |
        Delete the session settings.
      operationId: DeleteSessionSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /session-timeouts:
    get:
      tags:
        - Session Timeouts Settings
      summary: List session timeouts settings
      description: |
        Retrieve a list of session timeouts settings.
      operationId: ListSessionTimeoutsSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/session-timeouts'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Session Timeouts Settings
      summary: Create session timeouts settings
      description: |
        Create new session timeouts settings.
      operationId: CreateSessionTimeoutsSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/session-timeouts'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/session-timeouts'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /session-timeouts/{id}:
    get:
      tags:
        - Session Timeouts Settings
      summary: Get existing session settings
      description: |
        Retrieve existing session settings.
      operationId: GetSessionTimeoutsSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/session-timeouts'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Session Timeouts Settings
      summary: Update session settings
      description: |
        Update the session settings.
      operationId: UpdateSessionTimeoutsSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/session-timeouts'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/session-timeouts'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Session Timeouts Settings
      summary: Delete session settings
      description: |
        Delete the session settings.
      operationId: DeleteSessionTimeoutsSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /tcp-settings:
    get:
      tags:
        - TCP Settings
      summary: List TCP settings
      description: |
        Retrieve a list of TCP settings.
      operationId: ListTCPSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/tcp-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - TCP Settings
      summary: Create TCP settings
      description: |
        Create new TCP settings.
      operationId: CreateTCPSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/tcp-settings'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/tcp-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /tcp-settings/{id}:
    get:
      tags:
        - TCP Settings
      summary: Get existing TCP settings
      description: |
        Retrieve existing TCP settings.
      operationId: GetTCPSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/tcp-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - TCP Settings
      summary: Update TCP settings
      description: |
        Update the TCP settings.
      operationId: UpdateTCPSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/tcp-settings'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/tcp-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - TCP Settings
      summary: Delete TCP settings
      description: |
        Delete the TCP settings.
      operationId: DeleteTCPSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /update-schedule:
    get:
      tags:
        - Update Schedule Settings
      summary: List update schedule settings
      description: |
        Retrieve a list of update schedule settings.
      operationId: ListUpdateScheduleSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/update-schedule'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Update Schedule Settings
      summary: Create update schedule settings
      description: |
        Create new update schedule settings.
      operationId: CreateUpdateScheduleSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update-schedule'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update-schedule'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /update-schedule/{id}:
    get:
      tags:
        - Update Schedule Settings
      summary: Get existing update schedule settings
      description: |
        Retrieve existing update schedule settings.
      operationId: GetUpdateScheduleSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update-schedule'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Update Schedule Settings
      summary: Update update schedule settings
      description: |
        Update the update schedule settings.
      operationId: UpdateUpdateScheduleSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/update-schedule'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/update-schedule'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Update Schedule Settings
      summary: Delete update schedule settings
      description: |
        Delete the update schedule settings.
      operationId: DeleteUpdateScheduleSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /vpn-settings:
    get:
      tags:
        - VPN Settings
      summary: List VPN settings
      description: |
        Retrieve a list of VPN settings.
      operationId: ListVPNSettings
      parameters:
        - $ref: '#/components/parameters/folder'
        - $ref: '#/components/parameters/snippet'
        - $ref: '#/components/parameters/device'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/vpn-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - VPN Settings
      summary: Create VPN settings
      description: |
        Create new VPN settings.
      operationId: CreateVPNSettings
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/vpn-settings'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/vpn-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /vpn-settings/{id}:
    get:
      tags:
        - VPN Settings
      summary: Get existing VPN settings
      description: |
        Retrieve existing VPN settings.
      operationId: GetVPNSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/vpn-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - VPN Settings
      summary: Update VPN settings
      description: |
        Update the VPN settings.
      operationId: UpdateVPNSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/vpn-settings'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/vpn-settings'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - VPN Settings
      summary: Delete VPN settings
      description: |
        Delete the VPN settings.
      operationId: DeleteVPNSettingsByID
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /software-upgrade-schedules:
    get:
      tags:
        - Software Upgrade Schedules
      summary: List software upgrade schedules
      description: |
        Retrieve a list of software upgrade schedules
      operationId: GetSoftwareUpgradeSchedules
      parameters:
        - $ref: '#/components/parameters/name'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/offset'
        - name: date
          in: query
          description: Filter schedules by start date (YYYY-MM-DD)
          required: false
          schema:
            type: string
            format: date
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    allOf:
                      - type: array
                        items:
                          $ref: '#/components/schemas/software-upgrade-schedule'
                  limit:
                    type: integer
                    default: 200
                  offset:
                    type: integer
                    default: 0
                  total:
                    type: integer
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Software Upgrade Schedules
      summary: Create a software upgrade schedule
      description: |
        Create a new software upgrade schedule
      operationId: CreateSoftwareUpgradeSchedule
      requestBody:
        description: Created
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/software-upgrade-schedule'
      responses:
        '201':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/software-upgrade-schedule'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /software-upgrade-schedules/{id}:
    get:
      tags:
        - Software Upgrade Schedules
      summary: Get a software upgrade schedule by ID
      description: |
        Retrieve a software upgrade schedule by its UUID
      operationId: GetSoftwareUpgradeScheduleById
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/software-upgrade-schedule'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Software Upgrade Schedules
      summary: Update a software upgrade schedule
      description: |
        Update an existing software upgrade schedule by its UUID
      operationId: UpdateSoftwareUpgradeScheduleById
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/software-upgrade-schedule'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/software-upgrade-schedule'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Software Upgrade Schedules
      summary: Delete a software upgrade schedule by ID
      description: |
        Delete a software upgrade schedule by its UUID
      operationId: DeleteSoftwareUpgradeScheduleById
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
  /software-upgrade-rules:
    get:
      tags:
        - Software Upgrade Rules
      summary: List software upgrade rules
      description: |
        Retrieve a list of software upgrade rules
      operationId: GetSoftwareUpgradeRules
      parameters:
        - $ref: '#/components/parameters/name'
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    allOf:
                      - type: array
                        items:
                          $ref: '#/components/schemas/software-upgrade-rule'
                  limit:
                    type: integer
                    default: 200
                  offset:
                    type: integer
                    default: 0
                  total:
                    type: integer
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    post:
      tags:
        - Software Upgrade Rules
      summary: Create a software upgrade rule
      description: |
        Create a new software upgrade rule
      operationId: CreateSoftwareUpgradeRule
      requestBody:
        description: Created
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/software-upgrade-rule'
      responses:
        '201':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/software-upgrade-rule'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /software-upgrade-rules/{id}:
    get:
      tags:
        - Software Upgrade Rules
      summary: Get a software upgrade rule by ID
      description: |
        Retrieve a software upgrade rule by its UUID
      operationId: GetSoftwareUpgradeRuleById
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/software-upgrade-rule'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
    put:
      tags:
        - Software Upgrade Rules
      summary: Update a software upgrade rule
      description: |
        Update an existing software upgrade rule by its UUID
      operationId: UpdateSoftwareUpgradeRuleById
      parameters:
        - $ref: '#/components/parameters/uuid'
      requestBody:
        description: OK
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/software-upgrade-rule'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/software-upgrade-rule'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        '409':
          $ref: '#/components/responses/conflict_errors'
        default:
          $ref: '#/components/responses/default_errors'
    delete:
      tags:
        - Software Upgrade Rules
      summary: Delete a software upgrade rule by ID
      description: |
        Delete a software upgrade rule by its UUID
      operationId: DeleteSoftwareUpgradeRuleById
      parameters:
        - $ref: '#/components/parameters/uuid'
      responses:
        '200':
          $ref: '#/components/responses/http_ok'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
  /software-upgrade-status:
    get:
      tags:
        - Software Manager
      summary: Get software upgrade status
      description: |
        Retrieve the upgrade status for one or more scheduled software upgrades,
        optionally filtered by device serial number.
      operationId: GetSoftwareUpgradeStatus
      parameters:
        - name: uuid
          in: query
          description: Comma-separated list of schedule UUIDs to query upgrade status for.
          required: true
          schema:
            type: string
            example: "uuid-1234,uuid-5678"
        - name: serial
          in: query
          description: Filter results to a specific device by serial number.
          required: false
          schema:
            type: string
            example: "PA-12345678"
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/software-upgrade-status'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
  /software-versions:
    get:
      tags:
        - Software Manager
      summary: List available software versions
      description: |
        Retrieve a list of all available software versions.
      operationId: GetSoftwareVersions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  versions:
                    type: array
                    items:
                      type: string
                    example:
                      - "10.2.3"
                      - "11.0.1"
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
  /models:
    get:
      tags:
        - Models
      summary: Get device model configuration
      description: |
        Retrieve the device model configuration, including interface definitions
        for ethernet and cellular interfaces.
      operationId: GetModels
      parameters:
        - $ref: '#/components/parameters/limit'
        - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '404':
          $ref: '#/components/responses/not_found'
        default:
          $ref: '#/components/responses/default_errors'
  /software-upgrade-match-criteria:
    post:
      tags:
        - Software Manager
      summary: Get devices matching upgrade criteria
      description: |
        Returns a list of device serial numbers that match the given rule's
        match criteria. Used to preview which devices a software upgrade rule
        would apply to.
      operationId: GetSoftwareUpgradeMatchCriteria
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/software-upgrade-match-criteria-request'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/software-upgrade-match-criteria-response'
        '400':
          $ref: '#/components/responses/bad_request_errors_basic_with_body'
        '401':
          $ref: '#/components/responses/auth_errors'
        '403':
          $ref: '#/components/responses/access_errors'
        '500':
          $ref: '#/components/responses/default_errors'
        default:
          $ref: '#/components/responses/default_errors'
  /named-snapshots:
    get:
      tags:
        - Named Snapshots
      summary: List named snapshots
      description: |
        Retrieve a list of available named snapshots.
      operationId: ListNamedSnapshots
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/named-snapshot'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/generic_error'
              example:
                _errors:
                  - code: Invalid Token
                    message: Invalid Token
                    details: []
                _request_id: 7b7238e2-b78c-4fc5-ba78-808c988c385d
  '/named-snapshots:load':
    post:
      x-action: true
      tags:
        - Named Snapshots
      summary: Load a named snapshot
      description: |
        Load a specific named snapshot into the candidate configuration.

        When `async_mode` is `false` (default), the operation executes synchronously and returns upon completion.
        When `async_mode` is `true`, the operation is queued and a `job_id` is returned for tracking progress.

        To retrieve the status of an async job, use the [Get Job Status](https://pan.dev/scm/api/config/sase/operations/get-jobs-by-id/) endpoint.
      operationId: LoadNamedSnapshot
      requestBody:
        description: Named snapshot load request
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/load-snapshot-request'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/load-snapshot-response'
              examples:
                sync_success:
                  summary: Synchronous success response
                  value:
                    status: success
                    message: Config loaded from backup-2025-01-15
                async_enqueued:
                  summary: Asynchronous enqueued response
                  value:
                    status: enqueued
                    job_id: '6808'
                    message: Async request enqueued with jobid 6808
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/generic_error'
              example:
                _errors:
                  - code: Invalid Token
                    message: Invalid Token
                    details: []
                _request_id: 7b7238e2-b78c-4fc5-ba78-808c988c385d
  '/named-snapshots/{name}':
    delete:
      tags:
        - Named Snapshots
      summary: Delete a named snapshot
      description: |
        Delete a specific named snapshot.
      operationId: DeleteNamedSnapshot
      parameters:
        - name: name
          in: path
          description: The name of the named snapshot to delete.
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 64
            pattern: '^[a-zA-Z0-9_-]+$'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/delete-snapshot-response'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/generic_error'
              example:
                _errors:
                  - code: Invalid Token
                    message: Invalid Token
                    details: []
                _request_id: 7b7238e2-b78c-4fc5-ba78-808c988c385d
components:
  parameters:
    folder:
      name: folder
      in: query
      description: |
        The folder in which the resource is defined
      required: false
      schema:
        type: string
    snippet:
      name: snippet
      in: query
      description: |
        The snippet in which the resource is defined
      required: false
      schema:
        type: string
    device:
      name: device
      in: query
      description: |
        The device in which the resource is defined
      required: false
      schema:
        type: string
    uuid:
      name: id
      in: path
      description: The UUID of the configuration resource
      required: true
      schema:
        type: string
        format: uuid
        example: 123e4567-e89b-12d3-a456-426655440000
    limit:
      name: limit
      in: query
      description: The maximum number of results per page
      required: false
      schema:
        type: integer
        default: 200
    offset:
      name: offset
      in: query
      description: The offset into the list of results returned
      required: false
      schema:
        type: integer
        default: 0
    name:
      name: name
      in: query
      description: The name of the resource
      required: false
      schema:
        type: string
  securitySchemes:
    scmOAuth:
      type: oauth2
      description: |
        Strata Cloud Manager APIs authenticate client requests using the 
        OAuth 2.0 Client Credentials flow.  Please use the `client_id`, 
        `client_secret` values associated with an IAM service account along 
        with a scope value of `tsg_id:XXXXXXXXXX`, where `XXXXXXXXXX` is the 
        Tenant Service Group (TSG) ID.  The resulting JWT access token should 
        be attached to all API calls as a `Bearer` token in the `Authorization` 
        header (ex. `Authorization: Bearer tokenstring`).
      flows: 
        clientCredentials:
          tokenUrl: https://auth.apps.paloaltonetworks.com/oauth2/access_token
          scopes: {}
    scmToken:
      type: http
      description: |
        Strata Cloud Manager APIs authenticate client requests using the 
        OAuth 2.0 Client Credentials flow.  Please use the `client_id`, 
        `client_secret` values associated with an IAM service account along 
        with a scope value of `tsg_id:XXXXXXXXXX`, where `XXXXXXXXXX` is the 
        Tenant Service Group (TSG) ID.  The resulting JWT access token should 
        be attached to all API calls as a `Bearer` token in the `Authorization` 
        header (ex. `Authorization: Bearer tokenstring`).
      scheme: bearer
      bearerFormat: JWT
  responses:
    http_ok:
      description: OK
    http_created:
      description: Created
    auth_errors:
      description: Unauthorized
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/generic_error'
          examples:
            auth_not_authenticated:
              $ref: '#/components/examples/json_401_panui_auth_not_authenticated'
            invalid_credential:
              $ref: '#/components/examples/json_401_panui_auth_invalid_credential'
            key_too_long:
              $ref: '#/components/examples/json_401_panui_auth_key_too_long'
            key_expired:
              $ref: '#/components/examples/json_401_panui_auth_key_expired'
            need_password_change:
              $ref: '#/components/examples/json_401_panui_auth_need_password_change'
    access_errors:
      description: Forbidden
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/generic_error'
          examples:
            auth_unauthorized:
              $ref: '#/components/examples/json_403_panui_auth_unauthorized'
    bad_request_errors_basic:
      description: Bad Request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/generic_error'
          examples:
            input_format_mismatch:
              $ref: '#/components/examples/json_400_panui_restapi_input_format_mismatch'
            output_format_mismatch:
              $ref: '#/components/examples/json_400_panui_restapi_output_format_mismatch'
            missing_query_parameter:
              $ref: '#/components/examples/json_400_panui_restapi_missing_query_parameter'
            invalid_query_parameter:
              $ref: '#/components/examples/json_400_panui_restapi_invalid_query_parameter'
    bad_request_errors_basic_with_body:
      description: Bad Request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/generic_error'
          examples:
            input_format_mismatch:
              $ref: '#/components/examples/json_400_panui_restapi_input_format_mismatch'
            output_format_mismatch:
              $ref: '#/components/examples/json_400_panui_restapi_output_format_mismatch'
            missing_query_parameter:
              $ref: '#/components/examples/json_400_panui_restapi_missing_query_parameter'
            invalid_query_parameter:
              $ref: '#/components/examples/json_400_panui_restapi_invalid_query_parameter'
            missing_body:
              $ref: '#/components/examples/json_400_panui_restapi_missing_body'
            invalid_object:
              $ref: '#/components/examples/json_400_panui_mgmt_invalid_object'
    not_found:
      description: Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/generic_error'
          examples:
            object_not_present:
              $ref: '#/components/examples/json_404_panui_mgmt_object_not_present'
    conflict_errors:
      description: Conflict
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/generic_error'
          examples:
            object_not_unique:
              $ref: '#/components/examples/json_409_panui_mgmt_object_not_unique'
            name_not_unique:
              $ref: '#/components/examples/json_409_panui_mgmt_name_not_unique'
            reference_not_zero:
              $ref: '#/components/examples/json_409_panui_mgmt_reference_not_zero'
    default_errors:
      description: General Errors
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/generic_error'
          examples:
            version_not_supported:
              $ref: '#/components/examples/json_501_panui_restapi_version_not_supported'
            method_not_allowed:
              $ref: '#/components/examples/json_501_panui_restapi_method_not_supported'
            action_not_supported:
              $ref: '#/components/examples/json_405_panui_restapi_action_not_supported'
            bad_xpath:
              $ref: '#/components/examples/json_400_panui_mgmt_bad_xpath'
            invalid_command:
              $ref: '#/components/examples/json_400_panui_mgmt_invalid_command'
            malformed_command:
              $ref: '#/components/examples/json_400_panui_mgmt_malformed_command'
            session_timeout:
              $ref: '#/components/examples/json_504_panui_mgmt_session_timeout'
  examples:
    json_401_panui_auth_not_authenticated:
      summary: Not Authenticated
      value:
        _errors:
          - code: E016
            message: Not Authenticated
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_401_panui_auth_invalid_credential:
      summary: Invalid Credential
      value:
        _errors:
          - code: E016
            message: Invalid Credential
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_401_panui_auth_key_too_long:
      summary: Key Too Long
      value:
        _errors:
          - code: E016
            message: Key Too Long
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_401_panui_auth_key_expired:
      summary: Key Expired
      value:
        _errors:
          - code: E016
            message: Key Expired
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_401_panui_auth_need_password_change:
      summary: Need Password Change
      value:
        _errors:
          - code: E016
            message: The password needs to be changed.
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_403_panui_auth_unauthorized:
      summary: Unauthorized
      value:
        _errors:
          - code: E007
            message: Unauthorized
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_501_panui_restapi_version_not_supported:
      summary: Version Not Supported
      value:
        _errors:
          - code: E012
            message: Version Not Supported
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_501_panui_restapi_method_not_supported:
      summary: Method Not Supported
      value:
        _errors:
          - code: E012
            message: Method Not Supported
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_400_panui_restapi_input_format_mismatch:
      summary: Input Format Mismatch
      value:
        _errors:
          - code: E003
            message: 'Input Format Mismatch: input-format=json'
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_400_panui_restapi_output_format_mismatch:
      summary: Output Format Mismatch
      value:
        _errors:
          - code: E003
            message: 'Output Format Mismatch: output-format=json Accept=xml'
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_400_panui_restapi_missing_query_parameter:
      summary: Missing Query Parameter
      value:
        _errors:
          - code: E003
            message: 'Missing Query Parameter: name'
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_400_panui_restapi_invalid_query_parameter:
      summary: Invalid Query Parameter
      value:
        _errors:
          - code: E003
            message: 'Invalid Query Parameter: location=invalid'
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_400_panui_restapi_missing_body:
      summary: Missing Body
      value:
        _errors:
          - code: E003
            message: Missing Body
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_405_panui_restapi_action_not_supported:
      summary: Action Not Supported
      value:
        _errors:
          - code: E012
            message: 'Action Not Supported: move'
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_400_panui_mgmt_bad_xpath:
      summary: Bad XPath
      value:
        _errors:
          - code: E013
            message: Bad XPath
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_404_panui_mgmt_object_not_present:
      summary: Object Not Present
      value:
        _errors:
          - code: E005
            message: Object Not Present
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_409_panui_mgmt_object_not_unique:
      summary: Object Not Unique
      value:
        _errors:
          - code: E016
            message: Object Not Unique
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_409_panui_mgmt_name_not_unique:
      summary: Name Not Unique
      value:
        _errors:
          - code: E006
            message: Name Not Unique
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_409_panui_mgmt_reference_not_zero:
      summary: Reference Not Zero
      value:
        _errors:
          - code: E009
            message: Reference Not Zero
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_400_panui_mgmt_invalid_object:
      summary: Invalid Object
      value:
        _errors:
          - code: E003
            message: Invalid Object
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_400_panui_mgmt_invalid_command:
      summary: Invalid Command
      value:
        _errors:
          - code: E003
            message: Invalid Command
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_400_panui_mgmt_malformed_command:
      summary: Malformed Command
      value:
        _errors:
          - code: E003
            message: Malformed Command
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
    json_504_panui_mgmt_session_timeout:
      summary: Session Timeout
      value:
        _errors:
          - code: '4'
            message: Session Timeout
            details: {}
        _request_id: 123e4567-e89b-12d3-a456-426655440000
  schemas:
    autoscale:
      type: object
      properties:
        id:
          type: string
          description: The UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        aws_cloudwatch:
          $ref: '#/components/schemas/aws-cloudwatch'
        azure_advanced_metrics:
          $ref: '#/components/schemas/azure-advanced-metrics'
        gcp_cloudwatch:
          $ref: '#/components/schemas/gcp-cloudwatch'
      oneOf:
      - type: object
        title: folder
        properties:
          folder:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The folder in which the resource is defined
            example: My Folder
        required:
          -  folder
      - type: object
        title: snippet
        properties:
          snippet:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The snippet in which the resource is defined
            example: My Snippet
        required:
          -  snippet
      - type: object
        title: device
        properties:
          device:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The device in which the resource is defined
            example: My Device
        required:
          -  device
    aws-cloudwatch:
      type: object
      description: AWS CloudWatch publishing settings for VM-Series autoscale metrics.
      properties:
        enabled:
          type: boolean
          description: Enable publishing of custom PAN-OS metrics to AWS CloudWatch.
        name:
          type: string
          description: The CloudWatch namespace under which the metrics are published.
          example: VMseries
        timeout:
          type: integer
          description: The publish interval, in minutes, for AWS CloudWatch metrics.
          example: 5
    azure-advanced-metrics:
      type: object
      description: Azure Application Insights publishing settings for VM-Series autoscale metrics.
      properties:
        enable:
          type: boolean
          description: Enable publishing of custom PAN-OS metrics to Azure Application Insights.
        instrumentation_key:
          type: string
          description: The Azure Application Insights instrumentation key.
          example: 00000000-0000-0000-0000-000000000000
        update_interval:
          type: integer
          description: The publish interval, in minutes, for Azure Application Insights metrics.
          example: 5
    gcp-cloudwatch:
      type: object
      description: Google Cloud Platform Stackdriver publishing settings for VM-Series autoscale metrics.
      properties:
        enabled:
          type: boolean
          description: Enable publishing of custom PAN-OS metrics to GCP Stackdriver.
        update_interval:
          type: integer
          description: The publish interval, in minutes, for GCP Stackdriver metrics.
          example: 5
    authentication-settings:
      type: object
      properties:
        id:
          type: string
          description: UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        authentication:
          type: object
          properties:
            authentication_profile:
              description: Authentication profile
              type: string
            certificate_profile:
              description: Certificate profile
              type: string
            accounting_server_profile:
              description: Accounting server profile
              type: string
      oneOf:
      - type: object
        title: folder
        properties:
          folder:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The folder in which the resource is defined
            example: My Folder
        required: 
          -  folder
      - type: object
        title: snippet
        properties:
          snippet:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The snippet in which the resource is defined
            example: My Snippet
        required: 
          -  snippet
      - type: object
        title: device
        properties:
          device:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The device in which the resource is defined
            example: My Device
        required: 
          -  device
      required:
        - id
    motd-banner-settings:
      type: object
      properties:
        id:
          type: string
          description: UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        motd_and_banner:
          type: object
          properties:
            motd_enable:
              type: boolean
            message:
              type: string
            motd_do_not_display_again:
              type: boolean
            motd_title:
              type: string
            motd_color:
              $ref: '#/components/schemas/motd-color'
            severity:
              type: string
              enum:
                - warning
                - question
                - error
                - info
            banner_header:
              type: string
            banner_header_color:
              $ref: '#/components/schemas/motd-color'
            banner_header_text_color:
              $ref: '#/components/schemas/motd-color'
            banner_header_footer_match:
              type: boolean
            banner_footer:
              type: string
            banner_footer_color:
              $ref: '#/components/schemas/motd-color'
            banner_footer_text_color:
              $ref: '#/components/schemas/motd-color'
      oneOf:
      - type: object
        title: folder
        properties:
          folder:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The folder in which the resource is defined
            example: My Folder
        required: 
          -  folder
      - type: object
        title: snippet
        properties:
          snippet:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The snippet in which the resource is defined
            example: My Snippet
        required: 
          -  snippet
      - type: object
        title: device
        properties:
          device:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The device in which the resource is defined
            example: My Device
        required: 
          -  device
    motd-color:
      description: |
        The following list details the supported values and their colors.

        - `color1` = Red
        - `color2` = Green
        - `color3` = Blue
        - `color4` = Yellow
        - `color5` = Copper
        - `color6` = Orange
        - `color7` = Purple
        - `color8` = Gray
        - `color9` = Light Green
        - `color10` = Cyan
        - `color11` = Light Gray
        - `color12` = Blue Gray
        - `color13` = Lime
        - `color14` = Black
        - `color15` = Gold
        - `color16` = Brown
        - `color17` = Olive
      type: string
      enum:
        - color1 
        - color2
        - color3
        - color4
        - color5
        - color6
        - color7
        - color8
        - color9
        - color10
        - color11
        - color12
        - color13
        - color14
        - color15
        - color16
        - color17
    content-id-settings:
      type: object
      properties:
        id:
          type: string
          description: UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        content_id:
          type: object
          properties:
            allow_forward_decrypted_content:
              type: boolean
              default: false
            extended_capture_segment:
              type: integer
              default: 5
            application:
              type: object
              properties:
                bypass_exceed_queue:
                  type: boolean
                  default: false
            tcp_bypass_exceed_queue:
              type: boolean
              default: true
            udp_bypass_exceed_queue:
              type: boolean
              default: true
            allow_http_range:
              type: boolean
              default: true
            x_forwarded_for:
              type: string
              minimum: 0
              maximum: 2
              default: "0"
            strip_x_fwd_for:
              type: boolean
              default: false
      oneOf:
        - type: object
          title: folder
          properties:
            folder:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The folder in which the resource is defined
              example: My Folder
          required: 
            -  folder
        - type: object
          title: snippet
          properties:
            snippet:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The snippet in which the resource is defined
              example: My Snippet
          required: 
            -  snippet
        - type: object
          title: device
          properties:
            device:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The device in which the resource is defined
              example: My Device
          required:
    content-cloud-settings:
      type: object
      properties:
        id:
          type: string
          description: UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        hawkeye:
          type: object
          properties:
            public_cloud_server:
              type: string
            conn_pool_settings:
              type: object
              properties:
                enable:
                  type: boolean
                pae_conn_pool_enable:
                  type: boolean
            pae_discovery:
              type: object
              properties:
                interval:
                  type: integer
                retry_times:
                  type: integer
                use_fixed_pae_fqdn:
                  type: boolean
                use_fixed_chs_fqdn:
                  type: boolean
                multi_fqdn_support:
                  type: boolean
                discovery_address:
                  type: string
                pae_address:
                  type: string
                chs_address:
                  type: string
      oneOf:
        - type: object
          title: folder
          properties:
            folder:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The folder in which the resource is defined
              example: My Folder
          required: 
            -  folder
        - type: object
          title: snippet
          properties:
            snippet:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The snippet in which the resource is defined
              example: My Snippet
          required: 
            -  snippet
        - type: object
          title: device
          properties:
            device:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The device in which the resource is defined
              example: My Device
          required: 
            -  device
            -  device
    device-context-segment-association:
      type: object
      required:
        - name
      properties:
        id:
          type: string
          description: The UUID of the device context segment association
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        name:
          type: string
          description: The name of the device context segment association
          maxLength: 32
          pattern: ^[a-zA-Z\d\-_\. ]+$
      oneOf:
        - type: object
          title: folder
          properties:
            folder:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The folder in which the resource is defined
              example: My Folder
          required:
            - folder
        - type: object
          title: snippet
          properties:
            snippet:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The snippet in which the resource is defined
              example: My Snippet
          required:
            - snippet
        - type: object
          title: device
          properties:
            device:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The device in which the resource is defined
              example: My Device
          required:
            - device
    update-schedule:
      type: object
      properties:
        id:
          type: string
          description: UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        update_schedule:
          type: object
          required:
          - threats
          - anti_virus
          - wildfire
          properties:
            threats:
              type: object
              required:
              - recurring
              properties:
                recurring:
                  type: object
                  required:
                  - sync_to_peer
                  properties:
                    threshold:
                      type: integer
                      minimum: 1
                      maximum: 336
                    new_app_threshold:
                      type: integer
                      minimum: 1
                      maximum: 336
                    sync_to_peer:
                      type: boolean
                      default: false
                  oneOf:
                  - required:
                    - none
                    properties:
                      none:
                        type: object
                        default: {}
                  - required:
                    - every_30_mins
                    properties:
                      every_30_mins:
                        type: object
                        properties:
                          at:
                            type: integer
                            minimum: 0
                            maximum: 29
                            default: 0
                          action:
                            type: string
                            enum:
                            - download-only
                            - download-and-install
                          disable_new_content:
                            type: boolean
                            default: false
                  - required:
                    - hourly
                    properties:
                      hourly:
                        type: object
                        required:
                        - at
                        properties:
                          at:
                            type: number
                            minimum: 0
                            maximum: 59
                            default: 0
                          action:
                            type: string
                            enum:
                            - download-only
                            - download-and-install
                          disable_new_content:
                            type: boolean
                            default: false
                  - required:
                    - daily
                    properties:
                      daily:
                        type: object
                        required:
                        - at
                        properties:
                          at:
                            type: string
                            pattern: '^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$'
                          action:
                            type: string
                            enum:
                            - download-only
                            - download-and-install
                          disable_new_content:
                            type: boolean
                            default: false
                  - required:
                    - weekly
                    properties:
                      weekly:
                        type: object
                        required:
                        - day_of_week
                        - at
                        properties:
                          day_of_week:
                            type: string
                            enum:
                            - sunday
                            - monday
                            - tuesday
                            - wednesday
                            - thursday
                            - friday
                            - saturday
                          at:
                            type: string
                            pattern: '^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$'
                          action:
                            type: string
                            enum:
                            - download-only
                            - download-and-install
                          disable_new_content:
                            type: boolean
                            default: false
            anti_virus:
              type: object
              required:
              - recurring
              properties:
                recurring:
                  type: object
                  required:
                  - sync_to_peer
                  properties:
                    threshold:
                      type: integer
                      minimum: 1
                      maximum: 336
                    sync_to_peer:
                      type: boolean
                      default: false
                  oneOf:
                  - required:
                    - none
                    properties:                
                      none:
                        type: object
                        default: {}
                  - required:
                    - hourly
                    properties:            
                      hourly:
                        type: object
                        required:
                          - at
                        properties:
                          at:
                            type: integer
                            minimum: 0
                            maximum: 59
                            default: 0
                          action:
                            type: string
                            enum:
                            - download-only
                            - download-and-install
                  - required:
                    - daily
                    properties:
                      daily:
                        type: object
                        required:
                          - at
                        properties:
                          at:
                            type: string
                            pattern: '^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$'
                          action:
                            type: string
                            enum:
                            - download-only
                            - download-and-install
                  - required:
                    - weekly
                    properties:
                      weekly:
                        type: object
                        properties:
                          day_of_week:
                            type: string
                            enum:
                            - sunday
                            - monday
                            - tuesday
                            - wednesday
                            - thursday
                            - friday
                            - saturday
                          at:
                            type: string
                            pattern: '^(0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$'
                          action:
                            type: string
                            enum:
                            - download-only
                            - download-and-install
            wildfire:
              type: object
              required:
                - recurring
              properties:
                recurring:
                  type: object
                  oneOf:
                  - required:
                    - none
                    properties:              
                      none:
                        type: object
                        default: {}
                  - required:
                    - real_time
                    properties:              
                      real_time:
                        type: object
                        default: {}
                  - required:
                    - every_min
                    properties:
                      every_min:
                        type: object
                        properties:
                          action:
                            type: string
                            enum:
                            - download-only
                            - download-and-install
                          sync_to_peer:
                            type: boolean
                            default: false
                  - required:
                    - every_15_mins
                    properties:
                      every_15_mins:
                        type: object
                        properties:
                          at:
                            type: integer
                            minimum: 0
                            maximum: 14
                            default: 0
                          action:
                            type: string
                            enum:
                            - download-only
                            - download-and-install
                          sync_to_peer:
                            type: boolean
                            default: false
                  - required:
                    - every_30_mins
                    properties:
                      every_30_mins:
                        type: object
                        properties:
                          at:
                            type: integer
                            minimum: 0
                            maximum: 29
                            default: 0
                          action:
                            type: string
                            enum:
                            - download-only
                            - download-and-install
                          sync_to_peer:
                            type: boolean
                            default: false
                  - required:
                    - every_hour
                    properties:
                      every_hour:
                        type: object
                        properties:
                          at:
                            type: integer
                            minimum: 0
                            maximum: 59
                            default: 0
                          action:
                            type: string
                            enum:
                            - download-only
                            - download-and-install
                          sync_to_peer:
                            type: boolean
                            default: false
      oneOf:
        - type: object
          title: folder
          properties:
            folder:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The folder in which the resource is defined
              example: My Folder
          required: 
            -  folder
        - type: object
          title: snippet
          properties:
            snippet:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The snippet in which the resource is defined
              example: My Snippet
          required: 
            -  snippet
        - type: object
          title: device
          properties:
            device:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The device in which the resource is defined
              example: My Device
          required: 
            -  device
    general-settings:
      type: object
      properties:
        id:
          type: string
          description: UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        general:
          type: object
          properties:
            domain:
              type: string
              description: DNS domain
              example: foo.com
            login_banner:
              type: string
              description: Logon banner
            ack_login_banner:
              type: boolean
              description: Force admins to acknowledge login banner
              default: false
            ssl_tls_service_profile:
              type: string
              description: SSL/TLS service profile
            locale:
              type: string
              enum:
              - en
              - es
              - ja
              - fr
              - zh_CN
              - zh_TW
              description: Locale
              default: en
            geo_location:
              type: object
              description: Geographic coordinates
              properties:
                latitude:
                  type: string
                  description: Latitude
                  example: "37.383140"
                longitude:
                  type: string
                  description: Longitude
                  example: "-121.983060"
            timezone:
              type: string
              description: Timezone
              example: America/Los_Angeles
            setting:
              type: object
              properties:
                management:
                  type: object
                  properties:
                    auto_acquire_commit_lock:
                      type: boolean
                      description: Automatically acquire commit lock
                      default: false
                    enable_certificate_expiration_check:
                      type: boolean
                      description: Certificate expiration check
                      default: false
                auto_mac_detect:
                  type: boolean
                  description: Use hypervisor assigned MAC addresses
                  default: false
                tunnel_acceleration:
                  type: boolean
                  description: Tunnel acceleration
                  default: true
                fail_open:
                  type: boolean
                  description: Fail open
                  default: false
      oneOf:
      - type: object
        title: folder
        properties:
          folder:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The folder in which the resource is defined
            example: My Folder
        required: 
          -  folder
      - type: object
        title: snippet
        properties:
          snippet:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The snippet in which the resource is defined
            example: My Snippet
        required: 
          -  snippet
      - type: object
        title: device
        properties:
          device:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The device in which the resource is defined
            example: My Device
        required: 
          -  device   
    management-interface:
      type: object
      properties:
        id:
          type: string
          description: UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        management_interface:
          type: object
          properties:
            speed_duplex:
              type: string
              description: Speed and duplex
              enum:
              - auto-negotiate
              - 10Mbps-half-duplex
              - 10Mbps-full-duplex
              - 100Mbps-half-duplex
              - 100Mbps-full-duplex
              - 1Gbps-half-duplex
              - 1Gbps-full-duplex
              default: auto-negotiate
            mtu:
              type: integer
              description: MTU
              default: 1500
            ip_address:
              type: string
              description: IP address
            netmask:
              type: string
              description: Netmask
            default_gateway:
              type: string
              description: Default gateway
            mgmt_type:
              type: object
              description: IP type
              oneOf:
              - type: object
                title: static
                required:
                  - static
                properties:
                  static:
                    type: object
              - type: object
                title: dhcp_client
                required:
                  - dhcp_client
                properties:
                  dhcp_client:
                    type: object
                    properties:
                      send_hostname:
                        type: boolean
                        description: Send hostname
                        default: false
                      send_client_id:
                        type: boolean
                        description: Send client ID
                        default: false
                      accept_dhcp_hostname:
                        type: boolean
                        description: Accept DHCP server provided hostname
                        default: false
                      accept_dhcp_domain:
                        type: boolean
                        description: Accept DHCP server provided domain name
                        default: false
            service:
              type: object
              description: Network services
              properties:
                disable_http:
                  type: boolean
                  description: HTTP
                  default: false
                disable_https:
                  type: boolean
                  description: HTTPS
                  default: true
                disable_telnet:
                  type: boolean
                  description: Telnet
                  default: false
                disable_ssh:
                  type: boolean
                  description: SSH
                  default: true
                disable_icmp:
                  type: boolean
                  description: Ping
                  default: false
                disable_snmp:
                  type: boolean
                  description: SNMP
                  default: false
                disable_userid_service:
                  type: boolean
                  description: User-ID
                  default: false
                disable_userid_syslog_listener_ssl:
                  type: boolean
                  description: User-ID syslog listener over SSL
                  default: false
                disable_userid_syslog_listener_udp:
                  type: boolean
                  description: User-ID syslog listener over UDP
                  default: false
                disable_http_ocsp:
                  description: HTTP OCSP
                  default: false
                  type: boolean
            permitted_ip:
              type: array
              description: Permitting IP addresses
              items:
                type: object
                properties:
                  name:
                    type: string
                    description: IP address
                    format: ip-address
                  description:
                    type: string
                    description: Description
      oneOf:
      - type: object
        title: folder
        properties:
          folder:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The folder in which the resource is defined
            example: My Folder
        required: 
          -  folder
      - type: object
        title: snippet
        properties:
          snippet:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The snippet in which the resource is defined
            example: My Snippet
        required: 
          -  snippet
      - type: object
        title: device
        properties:
          device:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The device in which the resource is defined
            example: My Device
        required: 
          -  device   
    device-redistribution-collector:
      type: object
      properties:
        id:
          type: string
          description: UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        redistribution_collector:
          type: object
          properties:
            interface:
              type: string
              description: User-ID collector interface
      oneOf:
      - type: object
        title: folder
        properties:
          folder:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The folder in which the resource is defined
            example: My Folder
        required: 
          -  folder
      - type: object
        title: snippet
        properties:
          snippet:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The snippet in which the resource is defined
            example: My Snippet
        required: 
          -  snippet
      - type: object
        title: device
        properties:
          device:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The device in which the resource is defined
            example: My Device
        required: 
          -  device   
    service-route:
      type: object
      properties:
        id:
          type: string
          description: UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        route:
          type: object
          properties:
            service:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                    enum:
                    - autofocus
                    - crl-status
                    - data-services
                    - ddns
                    - deployments
                    - dns
                    - edl-updates
                    - email
                    - hsm
                    - http
                    - iot
                    - kerberos
                    - ldap
                    - mdm
                    - mfa
                    - netflow
                    - ntp
                    - paloalto-networks-services
                    - panorama
                    - panorama-log-forwarding
                    - proxy
                    - radius
                    - scep
                    - snmp
                    - syslog
                    - tacplus
                    - uid-agent
                    - url-updates
                    - vmmonitor
                    - wildfire-private
                    - ztp
                    description: |
                      The follow list details the accepted `name` values and their corresponding service description.
                      - `autofocus` = AutoFocus Cloud
                      - `crl-status` = CRL servers
                      - `data-services` = Data Services
                      - `ddns` = DDNS server(s)
                      - `deployments` = Panorama pushed updates
                      - `dns` = DNS server(s)
                      - `edl-updates` = External Dynamic List update server
                      - `email` = SMTP gateway(s)
                      - `hsm` = Hardware Security Module server(s)
                      - `http` = HTTP Forwarding server(s)
                      - `iot` = IOT service-route
                      - `kerberos` = Kerberos server
                      - `ldap` = LDAP server
                      - `mdm` = MDM servers
                      - `mfa` = Multi-Factor Authentication
                      - `netflow` = Netflow server(s)
                      - `ntp` = NTP server(s)
                      - `paloalto-networks-services` = Palo Alto Networks Services
                      - `panorama` = Panorama server
                      - `panorama-log-forwarding` = Panorama Log Forwarding
                      - `proxy` = Proxy server
                      - `radius` = RADIUS server
                      - `scep` = SCEP
                      - `snmp` = SNMP server(s)
                      - `syslog` = Syslog server(s)
                      - `tacplus` = TACACS+ server
                      - `uid-`agent = UID agent(s)
                      - `url-`updates = URL update server
                      - `vmmonitor` = VM monitor
                      - `wildfire-`private = WildFire Appliance
                      - `ztp` = ZTP and Auto-VPN DDNS
                oneOf:
                  - required:
                    - source
                    type: object
                    properties:
                      source:
                        type: object
                        properties:
                          interface:
                            type: string
                          address:
                            type: string
                            format: ipv4
                  - required:
                    - source_v6
                    type: object
                    properties:
                      source_v6:
                        type: object
                        properties:
                          interface:
                            type: string
                          address:
                            type: string
                            format: ipv6
            destination:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
                  source:
                    type: object
                    properties:
                      interface:
                        type: string
                      address:
                        type: string
      oneOf:
      - type: object
        title: folder
        properties:
          folder:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The folder in which the resource is defined
            example: My Folder
        required: 
          -  folder
      - type: object
        title: snippet
        properties:
          snippet:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The snippet in which the resource is defined
            example: My Snippet
        required: 
          -  snippet
      - type: object
        title: device
        properties:
          device:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The device in which the resource is defined
            example: My Device
        required: 
          -  device   
    service-settings:
      type: object
      properties:
        id:
          type: string
          description: UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        services:
          type: object
          properties:
            dns_setting:
              type: object
              oneOf:
              - required:
                - servers
                type: object
                properties:
                  servers:
                    type: object
                    properties:
                      primary:
                        type: string
                      secondary:
                        type: string
              - required:
                - dns_proxy_object
                type: object
                properties:
                  dns_proxy_object:
                    type: string
            fqdn_refresh_time:
              type: number
              default: 15
            fqdn_stale_entry_timeout:
              type: number
              default: 1440
            ntp_servers:
              type: object
              properties:
                primary_ntp_server:
                  type: object
                  properties:
                    ntp_server_address:
                      type: string
                    authentication_type:
                      type: object
                      oneOf:
                      - required:
                        - none
                        type: object
                        properties:
                          none:
                            type: object
                            default: {}
                      - required:
                        - symmetric_key
                        type: object
                        properties:
                          symmetric_key:
                            type: object
                            properties:                        
                              key_id:
                                type: number
                              algorithm:
                                type: object
                                properties:
                                  md5:
                                    type: object
                                    properties:
                                      authentication_key:
                                        type: string
                                        format: password
                                  sha1:
                                    type: object
                                    properties:
                                      authentication_key:
                                        type: string
                                        format: password
                      - required:
                        - autokey
                        type: object
                        properties:
                          autokey:
                            type: object
                            default: {}
                secondary_ntp_server:
                  type: object
                  properties:
                    ntp_server_address:
                      type: string
                    authentication_type:
                      type: object
                      oneOf:
                      - required:
                        - none
                        type: object
                        properties:
                          none:
                            type: object
                            default: {}
                      - required:
                        - symmetric_key
                        type: object
                        properties:
                          symmetric_key:
                            type: object
                            properties:                        
                              key_id:
                                type: number
                              algorithm:
                                type: object
                                properties:
                                  md5:
                                    type: object
                                    properties:
                                      authentication_key:
                                        type: string
                                        format: password
                                  sha1:
                                    type: object
                                    properties:
                                      authentication_key:
                                        type: string
                                        format: password
                      - required:
                        - autokey
                        type: object
                        properties:
                          autokey:
                            type: object
                            default: {}
            update_server:
              type: string
              default: updates.paloaltonetworks.com
            server_verification:
              type: boolean
              default: true
            secure_proxy_server:
              type: string
            secure_proxy_port:
              type: number
            secure_proxy_user:
              type: string
            secure_proxy_password:
              type: string
              format: password
            lcaas_use_proxy:
              type: boolean
              default: false
            inline_cloud_proxy:
              type: boolean
              default: false
      oneOf:
        - type: object
          title: folder
          properties:
            folder:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The folder in which the resource is defined
              example: My Folder
          required: 
            -  folder
        - type: object
          title: snippet
          properties:
            snippet:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The snippet in which the resource is defined
              example: My Snippet
          required: 
            -  snippet
        - type: object
          title: device
          properties:
            device:
              type: string
              pattern: ^[a-zA-Z\d\-_\. ]+$
              maxLength: 64
              description: The device in which the resource is defined
              example: My Device
          required: 
            -  device
    session-settings:
      type: object
      properties:
        id:
          type: string
          description: UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        session_settings:
          type: object
          properties:
            config:
              type: object
              properties:
                rematch:
                  type: boolean
                  description: Rematch all sessions on config policy change
                  default: false
            icmpv6_rate_limit:
              type: object
              description: ICMPv6 rate limiting
              properties:
                bucket_size:
                  type: integer
                  description: ICMPv6 token bucket size
                  minimum: 10
                  maximum: 65535
                  default: 100
                packet_rate:
                  type: integer
                  description: ICMPv6 error packet pate (per second)
                  minimum: 1
                  maximum: 65535
                  default: 100
            ipv6_firewalling:
              type: boolean
              description: Enable IPv6 firewalling
              default: true
            erspan:
              type: boolean
              description: Enable ERSPAN support
              default: false
            jumbo_frame:
              type: object
              description: Enable jumbo frame support
              properties:
                mtu:
                  type: integer
                  description: Global MTU
                  minimum: 512
                  maximum: 9216
                  default: 9192
            dhcp_bcast_session_on:
              type: boolean
              description: Enable DHCP broadcast session
              default: false
            nat64:
              type: object
              properties:
                ipv6_min_network_mtu:
                  type: integer
                  description: NAT64 IPv6 minimum network MTU
                  minimum: 1280
                  maximum: 9216
                  default: 1280
            nat:
              type: object
              properties:
                dipp_oversub:
                  type: string
                  description: NAT oversubscription rate
                  enum:
                  - 1x
                  - 2x
                  - 4x
                  - 8x
                  default: 1x
            icmp_unreachable_rate:
              type: number
              description: ICMP unreachable packet rate (per second)
              minimum: 1
              maximum: 65535
              default: 200
            accelerated_aging_enable:
              type: boolean
              description: Enable accelerated aging
              default: true
            accelerated_aging_threshold:
              type: number
              description: Accelerated aging threshold
              minimum: 50
              maximum: 99
              default: 80
            accelerated_aging_scaling_factor:
              type: number
              description: Accelerated aging scaling factor
              minimum: 2
              maximum: 16
              default: 2
            packet_buffer_protection_enable:
              type: boolean
              description: Enable packet buffer protection
              default: true
            packet_buffer_protection_monitor_only:
              type: boolean
              description: Packet buffer protection monitor only
              default: false
            packet_buffer_protection_alert:
              type: integer
              description: Alert (%)
              minimum: 0
              maximum: 99
              default: 50
            packet_buffer_protection_activate:
              type: number
              description: Activate (%)
              minimum: 0
              maximum: 99
              default: 80
            packet_buffer_protection_block_countdown:
              type: number
              description: Block countdown threshold (%)
              minimum: 0
              maximum: 99
              default: 80
            packet_buffer_protection_block_hold_time:
              type: number
              description: Block hold time (seconds)
              minimum: 0
              maximum: 65535
              default: 60
            packet_buffer_protection_block_duration_time:
              type: number
              description: Block duration (seconds)
              minimum: 1
              maximum: 15999999
              default: 3600
            packet_buffer_protection_use_latency:
              type: boolean
              description: Enabled latency-based activation
              default: false
            packet_buffer_protection_latency_alert:
              type: number
              description: Latency alert (milliseconds)
              minimum: 1
              maximum: 20000
              default: 50
            packet_buffer_protection_latency_activate:
              type: number
              description: Latency activate (milliseconds)
              minimum: 1
              maximum: 20000
              default: 200
            packet_buffer_protection_latency_max_tolerate:
              type: number
              description: Latency max tolerate (milliseconds)
              minimum: 1
              maximum: 20000
              default: 500
            packet_buffer_protection_latency_block_countdown:
              type: number
              description: Block countdown threshold (milliseconds)
              minimum: 1
              maximum: 20000
              default: 500
            multicast_route_setup_buffering:
              type: boolean
              description: Multicast route setup buffering
              default: false
            max_pending_mcast_pkts_per_session:
              type: number
              description: Multicast route setup buffer size
              minimum: 1
              maximum: 2000
              default: 1000
      oneOf:
      - type: object
        title: folder
        properties:
          folder:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The folder in which the resource is defined
            example: My Folder
        required: 
          -  folder
      - type: object
        title: snippet
        properties:
          snippet:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The snippet in which the resource is defined
            example: My Snippet
        required: 
          -  snippet
      - type: object
        title: device
        properties:
          device:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The device in which the resource is defined
            example: My Device
        required:
          - device
    session-timeouts:
      type: object
      properties:
        id:
          type: string
          description: UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        session_timeouts:
          type: object
          properties:
            timeout_default:
              type: integer
              description: Default timeout (seconds)
              minimum: 1
              maximum: 15999999
              default: 30
            timeout_discard_default:
              type: integer
              description: Discard default (seconds)
              minimum: 1
              maximum: 15999999
              default: 60
            timeout_discard_tcp:
              type: integer
              description: Discard TCP (seconds)
              minimum: 1
              maximum: 15999999
              default: 90
            timeout_discard_udp:
              type: integer
              description: Discard UDP (seconds)
              minimum: 1
              maximum: 15999999
              default: 60
            timeout_icmp:
              type: integer
              description: ICMP (seconds)
              minimum: 1
              maximum: 15999999
              default: 6
            timeout_scan:
              type: integer
              description: Scan (seconds)
              minimum: 5
              maximum: 30
              default: 10
            timeout_tcp:
              type: integer
              description: TCP (seconds)
              minimum: 1
              maximum: 15999999
              default: 3600
            timeout_tcphandshake:
              type: integer
              description: TCP handshake (seconds)
              minimum: 1
              maximum: 60
              default: 10
            timeout_tcpinit:
              type: integer
              description: TCP init (seconds)
              minimum: 1
              maximum: 60
              default: 5
            timeout_tcp_half_closed:
              type: integer
              description: TCP Half Closed (seconds)
              minimum: 1
              maximum: 604800
              default: 120
            timeout_tcp_time_wait:
              type: integer
              description: TCP Time Wait (seconds)
              minimum: 1
              maximum: 600
              default: 15
            timeout_tcp_unverified_rst:
              type: integer
              description: Unverified RST (seconds)
              minimum: 1
              maximum: 600
              default: 30
            timeout_udp:
              type: integer
              description: UDP (seconds)
              minimum: 1
              maximum: 15999999
              default: 30
            timeout_captive_portal:
              type: integer
              description: Captive Portal (seconds)
              minimum: 1
              maximum: 15999999
              default: 30
      oneOf:
      - type: object
        title: folder
        properties:
          folder:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The folder in which the resource is defined
            example: My Folder
        required: 
          -  folder
      - type: object
        title: snippet
        properties:
          snippet:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The snippet in which the resource is defined
            example: My Snippet
        required: 
          -  snippet
      - type: object
        title: device
        properties:
          device:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The device in which the resource is defined
            example: My Device
        required: 
          -  device
    tcp-settings:
      type: object
      properties:
        id:
          type: string
          description: UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        tcp:
          type: object
          properties:
            bypass_exceed_oo_queue:
              description: Forward segments exceeding TCP out-of-order queue?
              type: boolean
            allow_challenge_ack:
              description: Allow arbitrary ACK in response to SYN?
              type: boolean
            check_timestamp_option:
              description: Drop segments with null timestamp option?
              type: boolean
            asymmetric_path:
              description: Asymmetric path action
              type: string
              enum:
              - drop
              - bypass
            urgent_data:
              description: Urgent data flag action
              type: string
              enum:
              - clear
              - oobinline
            drop_zero_flag:
              description: Drop segments without flag?
              type: boolean
            strip_mptcp_option:
              description: Strip MPTCP option?
              type: boolean
            siptcp_cleartext_proxy:
              description: SIP TCP cleartext action (`'0'` = Always Off, `'1'` = Always Enabled, `'2'` = Automatically enable proxy when needed)
              type: string
              enum:
              - '0'
              - '2'
              - '3'
            tcp_retransmit_scan:
              description: TCP retransmit scan?
              type: boolean
      oneOf:
      - type: object
        title: folder
        properties:
          folder:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The folder in which the resource is defined
            example: My Folder
        required: 
          -  folder
      - type: object
        title: snippet
        properties:
          snippet:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The snippet in which the resource is defined
            example: My Snippet
        required: 
          -  snippet
      - type: object
        title: device
        properties:
          device:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The device in which the resource is defined
            example: My Device
        required: 
          -  device
    vpn-settings:
      type: object
      properties:
        id:
          type: string
          description: UUID of the resource
          readOnly: true
          example: 123e4567-e89b-12d3-a456-426655440000
        vpn:
          type: object
          properties:
            ikev2:
              type: object
              properties:
                cookie_threshold:
                  type: integer
                  description: Cookie activation threshold
                  minimum: 0
                  maximum: 65535
                  default: 500
                max_half_opened_sa:
                  type: integer
                  description: Maximum half-opened SA
                  minimum: 1
                  maximum: 65535
                  default: 65535
                certificate_cache_size:
                  type: integer
                  description: Maximum cached certificates
                  minimum: 0
                  maximum: 4000
                  default: 500
      oneOf:
      - type: object
        title: folder
        properties:
          folder:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The folder in which the resource is defined
            example: My Folder
        required: 
          -  folder
      - type: object
        title: snippet
        properties:
          snippet:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The snippet in which the resource is defined
            example: My Snippet
        required: 
          -  snippet
      - type: object
        title: device
        properties:
          device:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The device in which the resource is defined
            example: My Device
        required: 
          -  device
    ha-configurations:
      type: object
      required:
        - interface
        - group
      properties:
        device:
          description: Device ID (numeric only)
          type: string
          pattern: ^\d+$
          example: "1234567890"
        enabled:
          type: boolean
          default: true
        location:
          description: Location identifier
          type: string
        interface:
          type: object
          required:
            - ha1
            - ha2
          properties:
            ha1:
              type: object
              required:
                - port
              properties:
                port:
                  description: HA1 port (use 'management' for management port)
                  type: string
                  example: management
                ip_address:
                  description: HA1 IP address (required if port is not management)
                  type: string
                netmask:
                  description: HA1 netmask (required if port is not management)
                  type: string
                gateway:
                  description: HA1 default gateway (required if port is not management)
                  type: string
                link_speed:
                  description: HA1 link speed
                  type: string
                  enum:
                    - auto
                    - "10"
                    - "100"
                    - "1000"
                link_duplex:
                  description: HA1 link duplex
                  type: string
                  enum:
                    - auto
                    - half
                    - full
                monitor_hold_time:
                  description: HA1 monitor hold time (milliseconds)
                  type: integer
                  minimum: 1000
                  maximum: 60000
                  default: 3000
                encryption:
                  type: object
                  description: HA1 encryption settings
                  properties:
                    enabled:
                      description: Enable HA1 encryption
                      type: boolean
                      default: false
            ha1_backup:
              type: object
              properties:
                port:
                  description: HA1 backup port
                  type: string
                ip_address:
                  description: HA1 backup IP address
                  type: string
                netmask:
                  description: HA1 backup netmask
                  type: string
                gateway:
                  description: HA1 backup default gateway
                  type: string
                link_speed:
                  description: HA1 backup link speed
                  type: string
                  enum:
                    - auto
                    - "10"
                    - "100"
                    - "1000"
                link_duplex:
                  description: HA1 backup link duplex
                  type: string
                  enum:
                    - auto
                    - half
                    - full
            ha2:
              type: object
              required:
                - port
                - ip_address
                - netmask
              properties:
                port:
                  description: HA2 port
                  type: string
                ip_address:
                  description: HA2 IP address
                  type: string
                netmask:
                  description: HA2 netmask
                  type: string
                gateway:
                  description: HA2 default gateway
                  type: string
                link_speed:
                  description: HA2 link speed
                  type: string
                  enum:
                    - auto
                    - "10"
                    - "100"
                    - "1000"
                link_duplex:
                  description: HA2 link duplex
                  type: string
                  enum:
                    - auto
                    - half
                    - full
            ha2_backup:
              type: object
              properties:
                port:
                  description: HA2 backup port
                  type: string
                ip_address:
                  description: HA2 backup IP address
                  type: string
                netmask:
                  description: HA2 backup netmask
                  type: string
                gateway:
                  description: HA2 backup default gateway
                  type: string
                link_speed:
                  description: HA2 backup link speed
                  type: string
                  enum:
                    - auto
                    - "10"
                    - "100"
                    - "1000"
                link_duplex:
                  description: HA2 backup link duplex
                  type: string
                  enum:
                    - auto
                    - half
                    - full
            ha3:
              type: object
              description: HA3 interface for session synchronization (Active/Active mode)
              properties:
                port:
                  description: HA3 port
                  type: string
        group:
          type: object
          required:
            - group_id
            - election_option
            - mode
            - peer_ip
            - peer_serial
          properties:
            group_id:
              description: HA group ID (auto-assigned if not provided)
              type: string
              pattern: ^([1-9]|[1-5][0-9]|6[0-3])$
              example: "1"
            description:
              description: HA group description
              type: string
            configuration_synchronization:
              type: object
              description: Configuration synchronization settings
              properties:
                enabled:
                  description: Enable configuration synchronization
                  type: boolean
                  default: true
            ha:
              type: object
              description: HA profile settings
              properties:
                ha_profile:
                  description: HA profile name
                  type: string
            election_option:
              type: object
              required:
                - ha_role
              properties:
                device_priority:
                  description: Device priority (0-255, lower value = higher priority)
                  type: string
                  pattern: ^([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$
                  default: "100"
                  example: "100"
                ha_role:
                  description: Device HA role
                  type: string
                  enum:
                    - primary
                    - secondary
                preemptive:
                  description: Enable preemption
                  type: boolean
                  default: false
                heartbeat_backup:
                  description: Enable heartbeat backup
                  type: boolean
                  default: false
                timers:
                  type: object
                  description: HA timer settings (choose one)
                  properties:
                    aggressive:
                      type: object
                      description: Use aggressive (fast failover) timers
                    advanced:
                      type: object
                      description: Custom advanced timer settings
                      properties:
                        additional_master_hold_up_time:
                          description: Additional master hold up time (milliseconds)
                          type: integer
                        flap_max:
                          description: Maximum flap count
                          type: integer
                        heartbeat_interval:
                          description: Heartbeat interval (milliseconds)
                          type: integer
                        hello_interval:
                          description: Hello interval (milliseconds)
                          type: integer
                        monitor_fail_hold_up_time:
                          description: Monitor fail hold up time (milliseconds)
                          type: integer
                        preemption_hold_time:
                          description: Preemption hold time (milliseconds)
                          type: integer
                        promotion_hold_time:
                          description: Promotion hold time (milliseconds)
                          type: integer
            peer_ip:
              description: Peer HA1 IP address
              type: string
            peer_ip_backup:
              description: Peer HA1 backup IP address
              type: string
            peer_serial:
              description: Serial number of the HA peer
              type: string
            state_synchronization:
              type: object
              properties:
                enabled:
                  description: Enable session synchronization
                  type: boolean
                transport:
                  description: Session synchronization transport
                  type: string
                  enum:
                    - ethernet
                    - ip
                    - udp
                ha2_keep_alive:
                  type: object
                  properties:
                    enabled:
                      description: Enable HA2 keep-alives
                      type: boolean
                      default: false
                    action:
                      description: Keep-alive action
                      type: string
                      enum:
                        - log-only
                        - split-datapath
                    threshold:
                      description: Keep-alive threshold (milliseconds)
                      type: integer
                      minimum: 5000
                      maximum: 60000
                      default: 10000
            mode:
              type: object
              description: HA mode (active_passive or active_active, mutually exclusive)
              properties:
                active_passive:
                  type: object
                  description: Active/Passive mode settings
                  properties:
                    passive_link_state:
                      description: Passive link state
                      type: string
                      enum:
                        - shutdown
                        - auto
                    monitor_fail_hold_down_time:
                      description: Monitor fail hold down time (milliseconds)
                      type: integer
                      minimum: 1000
                      maximum: 60000
                      default: 3000
                active_active:
                  type: object
                  description: Active/Active mode settings
                  required:
                    - device_id
                  properties:
                    device_id:
                      description: Device ID in HA pair (0 or 1)
                      type: string
                      enum:
                        - "0"
                        - "1"
                    tentative_hold_time:
                      description: Tentative hold time
                      type: string
                    session_owner_selection:
                      type: object
                      description: Session owner selection method (choose one)
                      properties:
                        primary_device:
                          type: object
                          description: Primary device owns all sessions
                        first_packet:
                          type: object
                          description: Device receiving first packet owns session
                    network_configuration:
                      type: object
                      description: Network configuration sync settings
                      properties:
                        sync:
                          type: object
                          properties:
                            logical_router:
                              description: Sync logical router configuration
                              type: string
                              enum:
                                - "yes"
                                - "no"
                            qos:
                              description: Sync QoS configuration
                              type: string
                              enum:
                                - "yes"
                                - "no"
                    virtual_address:
                      type: array
                      description: Virtual address configurations for Active/Active HA
                      items:
                        type: object
                        required:
                          - name
                        properties:
                          name:
                            description: Virtual address group name (interface or variable name)
                            type: string
                            example: "ethernet1/1"
                          ip:
                            type: array
                            description: IPv4 address entries
                            items:
                              type: object
                              required:
                                - name
                              properties:
                                name:
                                  description: IP address or variable name
                                  type: string
                                  example: "10.0.0.1"
                                floating:
                                  type: object
                                  description: Floating IP configuration
                                  properties:
                                    bind_to_active_primary:
                                      description: Bind to active primary device
                                      type: boolean
                                      default: false
                                    device_priority:
                                      type: object
                                      description: Device priority settings for failover
                                      properties:
                                        device_0:
                                          description: Priority value for device 0
                                          type: string
                                          example: "1"
                                        device_1:
                                          description: Priority value for device 1
                                          type: string
                                          example: "1"
                                        failover_on_link_down:
                                          description: Failover when link goes down
                                          type: boolean
                                          default: true
                          ipv6:
                            type: array
                            description: IPv6 address entries
                            items:
                              type: object
                              required:
                                - name
                              properties:
                                name:
                                  description: IPv6 address or variable name
                                  type: string
                                  example: "2001:db8::1"
                                floating:
                                  type: object
                                  description: Floating IP configuration
                                  properties:
                                    bind_to_active_primary:
                                      description: Bind to active primary device
                                      type: boolean
                                      default: false
                                    device_priority:
                                      type: object
                                      description: Device priority settings for failover
                                      properties:
                                        device_0:
                                          description: Priority value for device 0
                                          type: string
                                          example: "1"
                                        device_1:
                                          description: Priority value for device 1
                                          type: string
                                          example: "1"
                                        failover_on_link_down:
                                          description: Failover when link goes down
                                          type: boolean
                                          default: true
            monitoring:
              type: object
              properties:
                path_monitoring:
                  type: object
                  properties:
                    enabled:
                      description: Enable path monitoring
                      type: boolean
                      default: false
                    failure_condition:
                      description: Path monitoring failure condition
                      type: string
                      enum:
                        - any
                        - all
                    path_group:
                      type: object
                      properties:
                        vlan:
                          description: VLAN path groups
                          type: array
                          items:
                            type: object
                            required:
                              - name
                            properties:
                              name:
                                description: VLAN path group name
                                type: string
                              source_ip:
                                description: Source IP address
                                type: string
                              enabled:
                                description: Enable VLAN path group
                                type: boolean
                                default: true
                              failure_condition:
                                description: Failure condition
                                type: string
                                enum:
                                  - any
                                  - all
                              ping_interval:
                                description: Ping interval (milliseconds)
                                type: integer
                                minimum: 200
                                maximum: 60000
                                default: 200
                              ping_count:
                                description: Ping count
                                type: integer
                                minimum: 3
                                maximum: 10
                                default: 10
                              destination_ip_group:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    name:
                                      description: Destination IP group name
                                      type: string
                                    destination_ip:
                                      description: Destination IP addresses
                                      type: array
                                      items:
                                        type: string
                                    enabled:
                                      description: Enable destination IP group
                                      type: boolean
                                    failure_condition:
                                      description: Failure condition
                                      type: string
                                      enum:
                                        - any
                                        - all
                        logical_router:
                          description: Logical router path groups
                          type: array
                          items:
                            type: object
                            required:
                              - name
                            properties:
                              name:
                                description: Logical router name
                                type: string
                              enabled:
                                description: Enable path group
                                type: boolean
                                default: true
                              failure_condition:
                                description: Failure condition
                                type: string
                                enum:
                                  - any
                                  - all
                              ping_interval:
                                description: Ping interval (milliseconds)
                                type: integer
                                minimum: 200
                                maximum: 60000
                                default: 200
                              ping_count:
                                description: Ping count
                                type: integer
                                minimum: 3
                                maximum: 10
                                default: 10
                              destination_ip_group:
                                type: array
                                items:
                                  type: object
                                  required:
                                    - name
                                  properties:
                                    name:
                                      description: Destination IP group name
                                      type: string
                                    destination_ip:
                                      description: Destination IP addresses
                                      type: array
                                      items:
                                        type: string
                                    enabled:
                                      description: Enable destination IP group
                                      type: boolean
                                    failure_condition:
                                      description: Failure condition
                                      type: string
                                      enum:
                                        - any
                                        - all
                link_monitoring:
                  type: object
                  properties:
                    enabled:
                      description: Enable link monitoring
                      type: boolean
                      default: false
                    failure_condition:
                      description: Failure condition
                      type: string
                      enum:
                        - any
                        - all
                    link_group:
                      description: Link groups
                      type: array
                      items:
                        type: object
                        required:
                          - name
                        properties:
                          name:
                            description: Link group name
                            type: string
                          enabled:
                            description: Enable link group
                            type: boolean
                            default: true
                          failure_condition:
                            description: Failure condition
                            type: string
                            enum:
                              - any
                              - all
                          interface:
                            description: Interfaces to monitor
                            type: array
                            items:
                              type: string
    ha-configurations-autocomplete:
      type: object
      description: Autocomplete response for HA configuration fields
      properties:
        data:
          description: List of autocomplete options
          type: array
          items:
            type: object
            properties:
              value:
                description: The value to use
                type: string
              label:
                description: Display label
                type: string
              description:
                description: Help text for the option
                type: string
              is_keyword:
                description: Whether this is a keyword option
                type: boolean
              type:
                description: Type of the value (e.g., variable)
                type: string
              variable_value:
                description: Variable value if type is variable
                type: string
              id:
                description: Additional identifier for the option
                type: string
        limit:
          description: Maximum number of results per page
          type: integer
        offset:
          description: Offset into the list of results
          type: integer
        total:
          description: Total number of results available
          type: integer
    ha-devices:
      type: object
      properties:
        ha-devices:
          description: HA devices
          type: array
          items:
            type: object
            properties:
              primary_device_name:
                description: Primary device name
                type: string
              primary_serial_number:
                description: Primary device serial number
                type: string
              secondary_device_name:
                description: Secondary device name
                type: string
              secondary_serial_number:
                description: Secondary device serial number
                type: string
      oneOf:
      - type: object
        title: folder
        properties:
          folder:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The folder in which the resource is defined
            example: My Folder
        required: 
          -  folder
      - type: object
        title: snippet
        properties:
          snippet:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The snippet in which the resource is defined
            example: My Snippet
        required: 
          -  snippet
      - type: object
        title: device
        properties:
          device:
            type: string
            pattern: ^[a-zA-Z\d\-_\. ]+$
            maxLength: 64
            description: The device in which the resource is defined
            example: My Device
        required:
          -  device
    named-snapshot:
      type: object
      description: A named snapshot
      properties:
        name:
          type: string
          description: The name of the named snapshot
          minLength: 1
          maxLength: 64
          pattern: '^[a-zA-Z0-9_-]+$'
          example: 'before-migration-test'
        timestamp:
          type: string
          format: date-time
          description: The timestamp when the snapshot was created
          example: '2026-05-29T22:28:16Z'
        savedby:
          type: string
          description: The user who saved the snapshot
          example: 'user@paloaltonetworks.com'
      required:
        - name
    load-snapshot-request:
      type: object
      description: Request body for loading a named snapshot
      properties:
        name:
          type: string
          description: The name of the named snapshot to load.
          minLength: 1
          maxLength: 64
          pattern: '^[a-zA-Z0-9_-]+$'
          example: 'backup-2025-01-15'
        async_mode:
          type: boolean
          description: When true, executes asynchronously and returns a job_id.
          default: false
      required:
        - name
    load-snapshot-response:
      type: object
      description: Response from a load named snapshot operation
      properties:
        status:
          type: string
          description: The status of the load operation.
          enum:
            - success
            - enqueued
          example: 'success'
        message:
          type: string
          description: A message describing the result of the load operation.
          example: 'Config loaded from pre-migration-snapshot-990298813748542976_20260721060146'
        job_id:
          type: string
          description: The job ID for async operations (only present when async_mode is true).
          example: '6808'
      required:
        - status
        - message
    delete-snapshot-response:
      type: object
      description: Response from a delete named snapshot operation
      properties:
        status:
          type: string
          description: The status of the delete operation.
          example: 'success'
        message:
          type: string
          description: A message describing the result of the delete operation.
          example: 'Successfully deleted snapshot {name}'
      required:
        - status
        - message
    generic_error:
      type: object
      properties:
        _errors:
          $ref: '#/components/schemas/error_detail_cause_infos'
        _request_id:
          type: string
      x-examples: {}
    error_detail_cause_infos:
      type: array
      items:
        $ref: '#/components/schemas/error_detail_cause_info'
      x-examples: {}
    error_detail_cause_info:
      type: object
      title: Cause Info
      properties:
        code:
          type: string
        message:
          type: string
        details:
          type: object
        help:
          type: string
    software-upgrade-schedule:
      type: object
      required:
        - name
      properties:
        id:
          type: string
          description: UUID of the schedule (read-only)
          readOnly: true
        name:
          type: string
          description: Name of the schedule
        description:
          type: string
          description: Description of the schedule
        enabled:
          type: boolean
          description: Whether the schedule is enabled
        job_type:
          type: string
          description: Type of job (e.g., "download", "install")
          enum:
            - download
            - install
        allow_downgrade:
          type: boolean
          description: Whether downgrade is allowed
        ha_orchestration:
          type: boolean
          description: Whether HA orchestration is enabled
        image_version:
          type: string
          description: Target software image version
        install_starttime:
          $ref: '#/components/schemas/start-time'
        download_starttime:
          $ref: '#/components/schemas/start-time'
        rules:
          type: array
          items:
            type: string
          description: List of upgrade rule names associated with this schedule
    start-time:
      type: object
      properties:
        date:
          type: string
          format: date
          description: Start date in YYYY-MM-DD format
        at:
          type: string
          description: Start time in HH:MM format
    software-upgrade-rule:
      type: object
      required:
        - name
      properties:
        id:
          type: string
          description: UUID of the rule (read-only)
          readOnly: true
        name:
          type: string
          description: Name of the upgrade rule
        description:
          type: string
          description: Description of the upgrade rule
        enabled:
          type: boolean
          description: Whether the rule is enabled
        match_criteria:
          type: object
          properties:
            folders:
              type: object
              properties:
                exclude:
                  type: array
                  items:
                    type: string
                include:
                  type: array
                  items:
                    type: string
                any:
                  type: object
            models:
              type: object
              properties:
                exclude:
                  type: array
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                include:
                  type: array
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                any:
                  type: object
            exclude_devices:
              type: array
              items:
                type: string
              description: List of device serial numbers to exclude
            labels:
              type: string
              description: Label filter for matching devices
    software-upgrade-status:
      type: object
      properties:
        schedule_id:
          type: string
          description: The schedule UUID this status entry corresponds to.
        overall_status:
          type: string
          description: Computed rollup status across all devices and phases for this schedule.
          enum:
            - completed
            - failed
            - inprogress
            - started
            - ""
        devices:
          type: array
          description: Per-device upgrade status entries for this schedule.
          items:
            type: object
            properties:
              device_serial_no:
                type: string
                description: Serial number of the device.
              rule_id:
                type: string
                description: Rule ID associated with this upgrade entry.
              status:
                type: object
                description: Detailed per-phase upgrade status for the device.
                properties:
                  status_details:
                    type: object
                    properties:
                      content:
                        $ref: '#/components/schemas/upgrade-phase-status'
                      initialize:
                        $ref: '#/components/schemas/upgrade-phase-status'
                      precheck:
                        $ref: '#/components/schemas/upgrade-phase-status'
                      upgrading:
                        $ref: '#/components/schemas/upgrade-phase-status'
                      postcheck:
                        $ref: '#/components/schemas/upgrade-phase-status'
                      downloading:
                        $ref: '#/components/schemas/upgrade-phase-status'
    upgrade-phase-status:
      type: object
      properties:
        state:
          type: string
          description: Current state of this upgrade phase.
          enum:
            - STARTED
            - INPROGRESS
            - FAILED
            - ""
    software-versions:
      type: object
      properties:
        versions:
          type: array
          items:
            type: string
          example:
            - "10.2.3"
            - "11.0.1"
    models:
      type: object
      properties:
        name:
          type: string
          description: Device model name.
        local:
          type: boolean
          description: Whether the model is defined locally.
        override:
          type: boolean
          description: Whether the model overrides a parent definition.
        help:
          type: string
          description: Help text describing the model.
        interfaces:
          type: object
          properties:
            ethernet:
              type: array
              description: Ethernet interface definitions for this model.
              items:
                $ref: '#/components/schemas/models-interface-entry'
            cellular:
              type: array
              description: Cellular interface definitions for this model.
              items:
                $ref: '#/components/schemas/models-interface-entry'
    models-interface-entry:
      type: object
      properties:
        name:
          type: string
          description: Interface name.
        flags:
          type: object
          properties:
            poe:
              type: string
              description: PoE flag value.
            fail-open:
              type: string
              description: Fail-open flag value.
    software-upgrade-match-criteria-request:
      type: object
      required:
        - rule
      properties:
        position:
          type: object
          description: Positioning context for a new (not yet saved) rule.
          properties:
            order:
              type: string
              description: Whether the rule is positioned before or after the reference rule.
              enum:
                - pre
                - post
            id:
              type: string
              description: UUID of the reference rule used for relative positioning.
        rule:
          type: object
          required:
            - name
          properties:
            name:
              type: string
              description: Rule name. Defaults to "tempRule" if empty.
              default: tempRule
            id:
              type: string
              description: UUID of an existing rule. Defaults to "uniqueId" if empty.
              default: uniqueId
            match_criteria:
              $ref: '#/components/schemas/upgrade-match-criteria'
    upgrade-match-criteria:
      type: object
      properties:
        folders:
          type: object
          description: Folder-based scoping for the rule.
          properties:
            include:
              type: array
              description: Folders explicitly included by this rule.
              items:
                type: string
            exclude:
              type: array
              description: Folders explicitly excluded from this rule.
              items:
                type: string
            any:
              type: object
              description: If present, the rule applies to all folders.
        models:
          type: object
          description: Device model filtering for the rule.
          properties:
            include:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
            exclude:
              type: array
              items:
                type: object
                properties:
                  name:
                    type: string
            any:
              type: object
              description: If present, the rule applies to all models.
        labels:
          type: string
          description: Label expression for filtering devices.
        exclude_devices:
          type: array
          description: Device serial numbers to exclude.
          items:
            type: string
    software-upgrade-match-criteria-response:
      type: object
      properties:
        devices:
          type: array
          description: Serial numbers of devices matching the rule's criteria.
          items:
            type: string
          example:
            - "007099000018864"
            - "007099000018870"
security:
  - scmToken: []
x-internal: false
