> ## Documentation Index
> Fetch the complete documentation index at: https://io.net/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Extend Cluster

> Extend the lifetime or capacity of an existing deployment by adding more resources or increasing its duration.



## OpenAPI

````yaml /openapi/vmaas/extend-cluster.json POST /enterprise/v1/io-cloud/vmaas/deployment/{deployment_id}/extend
openapi: 3.1.0
info:
  title: IO API
  version: '1.0'
servers:
  - url: https://api.io.solutions/
security: []
paths:
  /enterprise/v1/io-cloud/vmaas/deployment/{deployment_id}/extend:
    post:
      tags:
        - enterprise-io-cloud-vmaas
      summary: Extend Cluster
      operationId: >-
        extend_cluster_enterprise_v1_io_cloud_vmaas_deployment__deployment_id__extend_post
      parameters:
        - name: deployment_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Deployment Id
        - name: x-api-key
          in: header
          required: false
          schema:
            type: string
            description: io.net provided API Key
            title: X-Api-Key
          description: io.net provided API Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/io_cloud__schemas__request__enterprise__vmaas__ExtendCluster
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/io_cloud__schemas__response__enterprise__vmaas__GetDeploymentDetails
        '404':
          description: Not found
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    io_cloud__schemas__request__enterprise__vmaas__ExtendCluster:
      properties:
        duration_hours:
          type: integer
          exclusiveMinimum: 0
          title: Duration Hours
      type: object
      required:
        - duration_hours
      title: ExtendCluster
    io_cloud__schemas__response__enterprise__vmaas__GetDeploymentDetails:
      properties:
        data:
          $ref: >-
            #/components/schemas/io_cloud__schemas__response__enterprise__vmaas__DeploymentDetails-Output
      type: object
      required:
        - data
      title: GetDeploymentDetails
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    io_cloud__schemas__response__enterprise__vmaas__DeploymentDetails-Output:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        status:
          type: string
          title: Status
        created_at:
          type: string
          format: date-time
          title: Created At
        started_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Started At
        finished_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Finished At
        amount_paid:
          type: number
          title: Amount Paid
        completed_percent:
          type: number
          title: Completed Percent
        total_gpus:
          type: integer
          title: Total Gpus
        gpus_per_vm:
          type: integer
          title: Gpus Per Vm
        total_vms:
          type: integer
          title: Total Vms
        hardware_name:
          type: string
          title: Hardware Name
        hardware_id:
          type: integer
          title: Hardware Id
        locations:
          items:
            $ref: >-
              #/components/schemas/io_cloud__schemas__response__enterprise__vmaas__LocationData
          type: array
          title: Locations
        brand_name:
          type: string
          title: Brand Name
        compute_minutes_served:
          type: integer
          title: Compute Minutes Served
        compute_minutes_remaining:
          type: integer
          title: Compute Minutes Remaining
        ssh_keys:
          additionalProperties:
            type: string
          type: object
          title: Ssh Keys
        github_ids:
          items:
            type: string
          type: array
          title: Github Ids
      type: object
      required:
        - id
        - status
        - created_at
        - started_at
        - finished_at
        - amount_paid
        - completed_percent
        - total_gpus
        - gpus_per_vm
        - total_vms
        - hardware_name
        - hardware_id
        - locations
        - brand_name
        - compute_minutes_served
        - compute_minutes_remaining
        - ssh_keys
        - github_ids
      title: DeploymentDetails
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    io_cloud__schemas__response__enterprise__vmaas__LocationData:
      properties:
        id:
          type: integer
          title: Id
        iso2:
          type: string
          title: Iso2
        name:
          type: string
          title: Name
      type: object
      required:
        - id
        - iso2
        - name
      title: LocationData

````