Skip to main content

Change disk IO profile

PUT 

/disks/disk/io_profile

Change disk IO profile.

Scopes

  • disks

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Body

    disk

    object

    required

    id string

    io_profile

    object

    required

    All 'io_profile[]' params are mutually exclusive, only one can be provided.

    id string
    permalink string

Responses

Change disk IO profile.

Schema

    disk

    object

    required

    id string
    name string
    size_in_gb integer
    wwn string
    state DiskStateEnum (string)

    Possible values: [not_built, failed, built, building, installing, restoring, formatting, resizing, configuring, importing]

    created_at integer
    storage_speed StorageSpeedEnum (string)

    Possible values: [nvme, ssd]

    io_profile

    object

    nullable

    id string
    name string
    permalink string
    speed_in_mb integernullable
    iops integernullable
    bus_type DiskBusEnum (string)nullable

    Possible values: [scsi, virtio]

    data_center

    object

    id string
    name string
    permalink string

    virtual_machine_disk

    object

    nullable

    virtual_machine

    object

    id string
    fqdn string
    attach_on_boot boolean
    boot boolean
    state VirtualMachineDiskAttachmentStateEnum (string)

    Possible values: [detached, failed, attached, attaching, detaching]

    installation

    object

    nullable

    id string

    disk_template_version

    object

    id string
    number integer
    stable boolean
    size_in_gb integer

    disk_template

    object

    id string
    name string
    description stringnullable
    permalink string
    universal boolean
    size_in_gb integernullable
    latest_version nullable

    operating_system

    object

    nullable

    id string
    name string

    badge

    object

    nullable

    url string
    file_name string
    file_type string
    file_size integer
    digest string
    token string

    attributes

    object[]

  • Array [

  • key string
    label string
    value stringnullable
    description stringnullable
    protect boolean
  • ]

  • task

    object

    required

    id string
    name string
    status TaskStatusEnum (string)

    Possible values: [pending, running, completed, failed]

    created_at integer
    started_at integernullable
    finished_at integernullable
    progress integer
Loading...