Skip to main content
Resource Center/Resource Pool/VM Instance Operations

SetVmQxlMemory

SetVmQxlMemory

PUT/zstack/v1/vm-instances/{uuid}/actions

Operation ID

SetVmQxlMemory

Since

3.7.0

Execution Mode

Synchronous

Auth Context

Auth Required

Auth Context

Send these values as request headers when calling this API.

AuthorizationstringRequired

Bearer Token

X-Tenant-IDstring

X-Tenant-ID

Request Inputs

application/json

Path Parameters

  • uuid
    StringRequired

    The VM instance UUID.

Body Fields

  • ram
    Integer

    Optional. The Random Access Memory (RAM) size. Default value: 65536.

  • vram
    Integer

    Optional. The video RAM (VRAM) size. Default value: 32768.

  • vgamem
    Integer

    Optional. The Video Graphics Array (VGA) memory size. Default value: 16384.

  • systemTags
    List

    Optional. The system tags.

  • userTags
    List

    Optional. The user tags.

Responses

200 OK
200 OK

On success, this API returns an empty JSON object {}.