AVI Networks Upgrade Profile API

The UpgradeProfile API from AVI Networks — 2 operation(s) for upgradeprofile.

GitHub OpenAPI

Operations 6

GET /upgradeprofile GET /upgradeprofile #
PUT /upgradeprofile PUT /upgradeprofile #
PATCH /upgradeprofile PATCH /upgradeprofile #
GET /upgradeprofile/{uuid} GET /upgradeprofile/{uuid} #
PUT /upgradeprofile/{uuid} PUT /upgradeprofile/{uuid} #
PATCH /upgradeprofile/{uuid} PATCH /upgradeprofile/{uuid} #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/avi-networks:avi-networks-upgradeprofile-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

avi-networks-upgradeprofile-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 32.2.1
  title: Avi avi_global_spec Object Upgrade Profile API
  contact:
    name: Avi Networks Inc.
    url: https://avinetworks.com/contact-us
    email: support@avinetworks.com
  description: ''
servers:
- url: /api
tags:
- name: UpgradeProfile
paths:
  /upgradeprofile:
    get:
      tags:
      - UpgradeProfile
      description: /upgradeprofile
      operationId: GET/upgradeprofile
      parameters:
      - name: name
        in: query
        description: object name
        required: false
        schema:
          type: string
      - name: refers_to
        in: query
        description: Filter to request all objects that refers to another Avi resource. Its syntax is refers_to=<obj_type>:<obj_uuid>. Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid
        schema:
          type: string
      - name: referred_by
        in: query
        description: Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by=<obj_type>:<obj_uuid>. Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid
        schema:
          type: string
      - name: fields
        in: query
        description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
        schema:
          type: string
      - name: include_name
        in: query
        description: All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
        required: false
        schema:
          type: boolean
      - name: skip_default
        in: query
        description: Default values are not set.
        required: false
        schema:
          type: boolean
      - name: join_subresources
        in: query
        description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
        schema:
          type: string
      - name: X-Avi-Tenant
        in: header
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpgradeProfileApiResponse'
        '401':
          description: log in failed
      summary: GET /upgradeprofile
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: GET /upgradeprofile
    put:
      tags:
      - UpgradeProfile
      description: /upgradeprofile
      operationId: PUT/upgradeprofile
      parameters:
      - in: query
        name: name
        description: object name
        required: false
        schema:
          type: string
      - in: header
        name: X-Avi-Tenant
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpgradeProfile'
        '401':
          description: log in failed
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpgradeProfile'
        description: UpgradeProfile object creation
        required: true
      summary: PUT /upgradeprofile
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: PUT /upgradeprofile
    patch:
      tags:
      - UpgradeProfile
      description: /upgradeprofile
      operationId: PATCH/upgradeprofile
      parameters:
      - in: query
        name: name
        description: object name
        required: false
        schema:
          type: string
      - in: header
        name: X-Avi-Tenant
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpgradeProfile'
        '401':
          description: log in failed
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpgradeProfile'
        description: UpgradeProfile object creation
        required: true
      summary: PATCH /upgradeprofile
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: PATCH /upgradeprofile
    servers:
    - url: /api
  /upgradeprofile/{uuid}:
    get:
      tags:
      - UpgradeProfile
      description: /upgradeprofile/{uuid}/{uuid}
      operationId: GET/upgradeprofile/{uuid}
      parameters:
      - name: name
        in: query
        description: object name
        required: false
        schema:
          type: string
      - name: X-Avi-Tenant
        in: header
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        schema:
          type: string
      - name: uuid
        in: path
        description: UUID of the object to fetch
        required: true
        schema:
          type: string
      - name: fields
        in: query
        description: List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.
        schema:
          type: string
      - name: include_name
        in: query
        description: All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.
        required: false
        schema:
          type: boolean
      - name: skip_default
        in: query
        description: Default values are not set.
        required: false
        schema:
          type: boolean
      - name: join_subresources
        in: query
        description: It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpgradeProfile'
        '401':
          description: log in failed
        '404':
          description: object not found
      summary: GET /upgradeprofile/{uuid}
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: GET /upgradeprofile/{uuid}
    put:
      tags:
      - UpgradeProfile
      description: /upgradeprofile/{uuid}/{uuid}
      operationId: PUT/upgradeprofile/{uuid}
      parameters:
      - in: query
        name: name
        description: object name
        required: false
        schema:
          type: string
      - in: header
        name: X-Avi-Tenant
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        schema:
          type: string
      - in: path
        name: uuid
        description: UUID of the object to fetch
        required: true
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpgradeProfile'
        '401':
          description: log in failed
        '404':
          description: object not found
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpgradeProfile'
        description: UpgradeProfile object creation
        required: true
      summary: PUT /upgradeprofile/{uuid}
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: PUT /upgradeprofile/{uuid}
    patch:
      tags:
      - UpgradeProfile
      description: /upgradeprofile/{uuid}/{uuid}
      operationId: PATCH/upgradeprofile/{uuid}
      parameters:
      - in: query
        name: name
        description: object name
        required: false
        schema:
          type: string
      - in: header
        name: X-Avi-Tenant
        required: false
        description: Avi Tenant Header
        schema:
          type: string
      - name: X-Avi-Tenant-UUID
        in: header
        required: false
        description: Avi Tenant Header UUID
        schema:
          type: string
      - name: X-Avi-Version
        in: header
        required: true
        description: The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.
        schema:
          type: string
      - name: X-CSRFToken
        in: header
        required: false
        description: Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.
        schema:
          type: string
      - in: path
        name: uuid
        description: UUID of the object to fetch
        required: true
        schema:
          type: string
      security:
      - basicAuth: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpgradeProfile'
        '401':
          description: log in failed
        '404':
          description: object not found
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpgradeProfile'
        description: UpgradeProfile object creation
        required: true
      summary: PATCH /upgradeprofile/{uuid}
      x-summary-source: derived
      x-operation-id-source: normalized
      x-operation-id-original: PATCH /upgradeprofile/{uuid}
    servers:
    - url: /api
components:
  schemas:
    ServiceEngineParams:
      type: object
      properties:
        concurrent_segroup_upgrades:
          description: This parameter is used to control the number of concurrent segroup upgrades. This field value takes affect upon controller warm reboot. The value is modified based on flavor size of controller. Allowed values are 1-24. Field introduced in 31.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 8
          format: uint32
        image_data_transfer_size:
          description: This parameter defines the buffer size during ServiceEngine image downloads in a ServiceEngineGroup.It is used to pace the ServiceEngine upgrade package downloads so that controller network/CPU/Memory bandwidth is a bounded operation. It generally specifies the buffer size used for data transfer. Allowed values are 64-2048. Field introduced in 31.1.1. Unit is KB. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 512
          format: uint32
        large_se_connect_timeout:
          description: Amount of time Controller waits for a large-sized SE (>=128GB memory)to reconnect after it is rebooted during upgrade. Allowed values are 1200-2400. Field introduced in 31.1.1. Unit is SEC. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 1200
          format: uint32
        se_connect_timeout:
          description: Amount of time Controller waits for a regular-sized SE (<128GB memory)to reconnect after it is rebooted during upgrade. Allowed values are 600-1200. Field introduced in 31.1.1. Unit is SEC. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 600
          format: uint32
        simultaneous_image_downloads:
          description: Number of simultaneous ServiceEngine image downloads in a ServiceEngineGroup. It is used to pace ServiceEngine upgrade package downloads so that controller network/CPU bandwidth is a bounded operation. Allowed values are 1-20. Field introduced in 31.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 5
          format: uint32
        task_base_timeout:
          description: Base timeout value for all service engine upgrade operation tasks. The timeout for certain tasks is a multiple of this field. For example, in the CopyAndInstallImage task, the ServiceEngine has a maximum wait time to install an image or package, i.e., timeout = [scaling factor] * task_base_timeout. Allowed values are 300-3600. Field introduced in 31.1.1. Unit is SEC. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 300
          format: uint32
    DryRunParams:
      type: object
      properties:
        allow_single_node:
          description: Allow dry-run operation on single node controller. Field introduced in 31.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: boolean
        memory:
          description: Amount of memory allocated for dry-run. Field introduced in 31.1.1. Unit is GB. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: number
          default: 6.0
          format: float
        num_cpu:
          description: Number of CPU(s) allocated for dry-run. Field introduced in 31.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 2
          format: uint32
        preferred_worker:
          description: VM hostname of the preferred worker node. Example  node2.controller.local. When configured, dry-run is performed on specified node. When not configured, one of the follower node is elected for dry-run. Field introduced in 31.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: string
    UpgradeProfile:
      type: object
      properties:
        _last_modified:
          description: UNIX time since epoch in microseconds. Units(MICROSECONDS).
          readOnly: true
          type: string
        controller_params:
          description: List of controller upgrade related configurable parameters. Field introduced in 31.2.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          $ref: '#/components/schemas/ControllerParams'
        dry_run:
          description: List of dryrun related configurable parameters. Field introduced in 31.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          $ref: '#/components/schemas/DryRunParams'
        image:
          description: List of image related configurable parameters. Field introduced in 31.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          $ref: '#/components/schemas/ImageParams'
        pre_checks:
          description: List of upgrade pre-checks related configurable parameters. Field introduced in 31.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          $ref: '#/components/schemas/PreChecksParams'
        service_engine:
          description: List of service engine upgrade related configurable parameters. Field introduced in 31.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          $ref: '#/components/schemas/ServiceEngineParams'
        url:
          description: url
          readOnly: true
          type: string
        uuid:
          description: UUID Identifier for the UpgradeProfile object. Field introduced in 31.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: string
    ImageParams:
      type: object
      properties:
        image_replication_timeout:
          description: Maximum wait time to replicate image files from Leader to followers. Allowed values are 600-3600. Field introduced in 31.1.1. Unit is SEC. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 600
          format: uint32
        max_image_size:
          description: Maximum permitted size for image uploads. Allowed values are 10-15. Field introduced in 31.1.1. Unit is GB. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 10
          format: uint32
    PreChecksParams:
      type: object
      properties:
        checks_base_timeout:
          description: Base timeout value for all upgrade pre-checks operations. The timeout value for applicable checks is a multiple of checks_base_timeout. For example, config export timeout = [multiplier] * checks_base_timeout. (The multiplier varies by operation.). Field introduced in 32.1.1. Unit is SEC. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 60
          format: uint32
        max_alerts:
          description: Maximum number of alerts allowed for configuration export. Allowed values are 200-500. Field introduced in 31.1.1. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 200
          format: uint32
    UpgradeProfileApiResponse:
      type: object
      $ref: '#/components/schemas/UpgradeProfile'
    ControllerParams:
      type: object
      properties:
        task_base_timeout:
          description: Base timeout value for all controller-specific upgrade operation tasks. The timeout value for each task is a multiple of task_base_timeout. For example, SwitchAndReboot task timeout = [multiplier] * task_base_timeout. (The multiplier varies by task.). Allowed values are 300-3600. Field introduced in 31.1.1. Unit is SEC. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.
          type: integer
          default: 300
          format: uint32
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: basic authentication