Welcome to the Awanio Dashboard API Documentation. This API provides access to various resources of Awanio Dashboard, secured with Basic Authentication. Before you can make any authenticated requests, you need to understand how to obtain and use your API token.
Your API token for Basic Authentication is essentially your access-key and access-secret combined and then Base64 encoded.
You will typically receive your access-key and access-secret from the awadm a CLI to manage Awanio Dashboard. Go to https://docs.awan.io/en/dashboard/awadm page for more detail awadm user guide.
Run following command to get the api credential. It will print the access-key and access-secret string. Make sure to keep the value save since it not retrieveable.
awadm serviceaccount generate --name my-api-name
Once you have your API token, you must include it in the Authorization header of every authenticated API request. The format for the header is Authorization: Basic <your_base64_encoded_token>. If you use curl, use -u param to pass you credential.
Example curl request:
url https://192.168.1.2/v2/sa
-u "access-key:access-secret"
The host of the API host or IP adress is depend on your Awanio installation setup. The basepath is /v2/sa.
This operation gets a list of VMs, allowing for sorting, filtering and pagination
| page | integer Default: 1 Page number for pagination. |
| per_page | integer Default: 5 Number of items per page. |
| sort_by | string Field to sort the results by. |
| order_by | string Default: "desc" Enum: "asc" "desc" Order of sorting (ascending or descending). |
| search | string String to use as the search keyword |
{- "data": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "namespace": "5eec6c90-1a68-4f51-affb-e33680fbe741",
- "project": { },
- "organization": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "slug": "string",
- "balance": 0.1,
- "discount": 0,
- "payment_plans": "string",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage_treshold_status": "string",
- "organization_members": { },
- "is_suspend": true,
- "is_unmetered": true,
- "vcpu_quota": 0,
- "ram_quota": 0,
- "storage_quota": 0,
- "cluster_kubernetes_quota": 0,
- "vpc_quota": 0,
- "ip_public_quota": 0,
- "project_quota": 0,
- "cluster_database_quota": 0,
- "vcpu_quota_usage": 0,
- "ram_quota_usage": 0,
- "storage_quota_usage": 0,
- "cluster_kubernetes_quota_usage": 0,
- "vpc_quota_usage": 0,
- "ip_public_quota_usage": 0,
- "project_quota_usage": 0,
- "cluster_database_quota_usage": 0,
- "vcpu_quota_actual": 0,
- "ram_quota_actual": 0,
- "storage_quota_actual": 0
}, - "title": "string",
- "catalogue": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "type": "string",
- "public_access": true,
- "min_storage_gb": 0,
- "group": "string",
- "version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service": "string",
- "info": "string",
- "visibility": "string",
- "authentication_type": [
- "string"
], - "remote_access_via": "string",
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}
}, - "pricing": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "instance_type": "string",
- "suitable_for": "string",
- "availability": "string",
- "plans_type": "string",
- "vcpu_core": 0.1,
- "ram_mb": 0.1,
- "storage_gb": 0,
- "transfer_tb": 0,
- "app_service": 0,
- "support_service": 0,
- "price_per_month": 0,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "pricing_unit": "string",
- "price_per_unit": 0,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": { },
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0,
- "price_per_day": 0,
- "eph_storage_gb": { },
- "vcpu_price_per_hour": 0,
- "ram_price_per_hour": 0,
- "disk_price_per_hour": 0,
- "is_available": true,
- "gpu_price_per_hour": { },
- "is_gpu_dedicated": { },
- "is_cpu_dedicated": { },
- "devices": { },
- "storage_pool": { }
}, - "volumes": [
- {
- "id": 0,
- "source_type": "string",
- "source_id": 0,
- "volume_id": 0,
- "tag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
], - "mac_address": "string",
- "hostname": "string",
- "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "meta": {
- "phase": "string",
- "private_ip_address": "string"
}, - "status": "string",
- "private_ip_address_v4": "192.168.0.1",
- "private_ip_address_v6": "2001:0db8:85a3:0000:0000:8a2e:0370:7334",
- "vcpu_core": 0,
- "ram_mb": 0,
- "disk_size_gb": 0,
- "transfer_tb": 0,
- "group_type": "string",
- "group_uuid": "0f0cbec3-10f0-4b21-b1da-6d6437d7f648",
- "node_name": "string",
- "Vpc": { },
- "cpu_preference": { },
- "network_interfaces": { },
- "stage": "string",
- "is_ready": true,
- "vm_has_volume_source": {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "source_type": "string",
- "source_id": 0,
- "image": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "is_cloudinit_compatible": true,
- "type": "string",
- "size": 0,
- "project": { },
- "status": "string",
- "tags": { },
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "file_retrieve_mechanism": "string",
- "virtual_size": 0,
- "is_tpm_enabled": true,
- "bootloader_type": { },
- "storage_pool": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_default": true
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "os_variant_id": { },
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "network_policy_attachment": [
- { }
], - "loadbalancer_domain": [
- { }
], - "loadbalancer_backend": [
- { }
], - "source_clone_id": { },
- "devices": [
- { }
], - "ip_address": [
- { }
]
}
], - "meta": {
- "pagination": {
- "per_page": 0,
- "page": 0,
- "total": 0,
- "last_page": 0
}
}, - "result": true
}Creates a new virtual machine (compute instance) with the specified configuration. Supports various disk actions (create, clone, attach), multiple network configurations, PCI device passthrough, and cloud-init for initial provisioning.
| name required | string Name of the virtual machine |
| organization_uuid required | string <uuid> UUID of the organization |
| project_uuid | string <uuid> UUID of the project (optional) |
| memory required | number Memory in MB |
| vcpus required | number Number of virtual CPUs |
required | object |
| os_variant_uuid required | string <uuid> UUID of the OS variant |
| architecture | string CPU architecture |
| bootloader_type | string Bootloader type (e.g., "uefi") |
| secure_boot | boolean Default: false Enable secure boot |
| tpm | boolean Default: false Enable TPM (Trusted Platform Module) |
Array of objects Network interface configurations | |
Array of objects PCI device passthrough configurations | |
object Cloud-init configuration for initial provisioning | |
| autostart | boolean Default: false Automatically start VM after creation |
| hostname required | string VM hostname |
object Key-value tags for metadata | |
| note | string Additional notes |
| catalogue_uuid | string <uuid> Catalogue UUID (optional) |
{- "name": "enterprise-workstation",
- "organization_uuid": "7157e2ee-afd5-4658-9086-d00bc4f74eee",
- "memory": 32768,
- "vcpus": 16,
- "storage": {
- "storage_pool_uuid": "019a1234-5678-9abc-def0-123456789abc",
- "disks": [
- {
- "action": "create",
- "size": 100,
- "bus": "virtio",
- "boot_order": 1,
- "label": "System Disk"
}, - {
- "action": "create",
- "size": 500,
- "bus": "virtio",
- "label": "Data Disk"
}, - {
- "action": "clone",
- "clone_from": "0198d1ec-f879-755a-a379-25e3fd853679",
- "type": "catalogue",
- "bus": "virtio",
- "label": "Cloned Template"
}, - {
- "action": "attach",
- "volume_name": "existing-pvc-name",
- "bus": "scsi",
- "readonly": true,
- "as_cdrom": true
}
]
}, - "os_variant_uuid": "019a0987-6543-21fe-dcba-987654321098",
- "architecture": "x86_64",
- "bootloader_type": "uefi",
- "secure_boot": true,
- "tpm": true,
- "networks": [
- {
- "type": "network",
- "source": "default",
- "model": "virtio"
}, - {
- "type": "bridge",
- "source": "br0",
- "model": "virtio",
- "mac_address": "52:54:00:12:34:56"
}
], - "pci_devices": [
- {
- "device_uuid": "019a2468-1357-9bdf-ace0-2468135790ac",
- "device_type": "gpu"
}, - {
- "device_uuid": "019a3579-2468-acef-bdf1-3579246801bd",
- "device_type": "usb_controller"
}
], - "cloud_init": {
- "user_data": "#cloud-config\nhostname: enterprise-workstation\nmanage_etc_hosts: true\npackage_update: true\npackage_upgrade: true\npackages:\n - docker.io\n - git\n - vim\n",
- "ssh_keys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDYnGqA... admin@company.com",
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMe8R... backup@company.com"
], - "users": [
- {
- "name": "admin",
- "ssh_authorized_keys": [
- "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDYnGqA... admin@company.com"
], - "sudo": "ALL=(ALL) NOPASSWD:ALL",
- "groups": "admin,docker,wheel",
- "shell": "/bin/bash"
}, - {
- "name": "developer",
- "ssh_authorized_keys": [
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMe8R... dev@company.com"
], - "sudo": "ALL=(ALL) ALL",
- "groups": "docker,developers",
- "shell": "/bin/zsh"
}
]
}, - "autostart": true,
- "hostname": "enterprise-workstation",
- "tags": {
- "environment": "production",
- "department": "engineering",
- "project": "ai-workstation",
- "owner": "john.doe@company.com"
}, - "note": "High-performance workstation for AI/ML workloads"
}{- "result": true,
- "data": {
- "uuid": "019a3456-7890-abcd-ef12-3456789012ab",
- "name": "enterprise-workstation",
- "status": "provisioning",
- "organization_uuid": "7157e2ee-afd5-4658-9086-d00bc4f74eee",
- "memory": 32768,
- "vcpus": 16,
- "created_at": "2025-11-18T03:15:00Z",
- "volumes": [
- {
- "uuid": "019a4567-8901-bcde-f123-4567890123bc",
- "pvc_name": "pvc-enterprise-workstation-system",
- "size_gb": 100,
- "volume_type": "boot",
- "label": "System Disk",
- "boot_order": 1
}, - {
- "uuid": "019a5678-9012-cdef-1234-5678901234cd",
- "pvc_name": "pvc-enterprise-workstation-data",
- "size_gb": 500,
- "volume_type": "data",
- "label": "Data Disk"
}
], - "networks": [
- {
- "name": "eth0",
- "type": "network",
- "mac_address": "52:54:00:ab:cd:ef"
}
], - "message": "Virtual machine created successfully"
}
}This operation gets detail a of VMs.
| uuid required | string <uuid> Object UUID used by various resources. |
{- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "namespace": "5eec6c90-1a68-4f51-affb-e33680fbe741",
- "project": { },
- "organization": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "slug": "string",
- "balance": 0.1,
- "discount": 0,
- "payment_plans": "string",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage_treshold_status": "string",
- "organization_members": { },
- "is_suspend": true,
- "is_unmetered": true,
- "vcpu_quota": 0,
- "ram_quota": 0,
- "storage_quota": 0,
- "cluster_kubernetes_quota": 0,
- "vpc_quota": 0,
- "ip_public_quota": 0,
- "project_quota": 0,
- "cluster_database_quota": 0,
- "vcpu_quota_usage": 0,
- "ram_quota_usage": 0,
- "storage_quota_usage": 0,
- "cluster_kubernetes_quota_usage": 0,
- "vpc_quota_usage": 0,
- "ip_public_quota_usage": 0,
- "project_quota_usage": 0,
- "cluster_database_quota_usage": 0,
- "vcpu_quota_actual": 0,
- "ram_quota_actual": 0,
- "storage_quota_actual": 0
}, - "title": "string",
- "catalogue": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "type": "string",
- "public_access": true,
- "min_storage_gb": 0,
- "group": "string",
- "version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service": "string",
- "info": "string",
- "visibility": "string",
- "authentication_type": [
- "string"
], - "remote_access_via": "string",
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}
}, - "pricing": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "instance_type": "string",
- "suitable_for": "string",
- "availability": "string",
- "plans_type": "string",
- "vcpu_core": 0.1,
- "ram_mb": 0.1,
- "storage_gb": 0,
- "transfer_tb": 0,
- "app_service": 0,
- "support_service": 0,
- "price_per_month": 0,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "pricing_unit": "string",
- "price_per_unit": 0,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": { },
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0,
- "price_per_day": 0,
- "eph_storage_gb": { },
- "vcpu_price_per_hour": 0,
- "ram_price_per_hour": 0,
- "disk_price_per_hour": 0,
- "is_available": true,
- "gpu_price_per_hour": { },
- "is_gpu_dedicated": { },
- "is_cpu_dedicated": { },
- "devices": { },
- "storage_pool": { }
}, - "volumes": [
- {
- "id": 0,
- "source_type": "string",
- "source_id": 0,
- "volume_id": 0,
- "tag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
], - "mac_address": "string",
- "hostname": "string",
- "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "meta": {
- "phase": "string",
- "private_ip_address": "string"
}, - "status": "string",
- "private_ip_address_v4": "192.168.0.1",
- "private_ip_address_v6": "2001:0db8:85a3:0000:0000:8a2e:0370:7334",
- "vcpu_core": 0,
- "ram_mb": 0,
- "disk_size_gb": 0,
- "transfer_tb": 0,
- "group_type": "string",
- "group_uuid": "0f0cbec3-10f0-4b21-b1da-6d6437d7f648",
- "node_name": "string",
- "Vpc": { },
- "cpu_preference": { },
- "network_interfaces": { },
- "stage": "string",
- "is_ready": true,
- "vm_has_volume_source": {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "source_type": "string",
- "source_id": 0,
- "image": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "is_cloudinit_compatible": true,
- "type": "string",
- "size": 0,
- "project": { },
- "status": "string",
- "tags": { },
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "file_retrieve_mechanism": "string",
- "virtual_size": 0,
- "is_tpm_enabled": true,
- "bootloader_type": { },
- "storage_pool": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_default": true
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "os_variant_id": { },
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "network_policy_attachment": [
- { }
], - "loadbalancer_domain": [
- { }
], - "loadbalancer_backend": [
- { }
], - "source_clone_id": { },
- "devices": [
- { }
], - "ip_address": [
- { }
]
}, - "result": true
}This operation creates a new vm by cloning the current vm
| uuid required | string <uuid> Object UUID used by various resources. |
| total_clone | integer [ 1 .. 5 ] How many new VM to create. The maximum valus is 5 |
{- "total_clone": 1
}{- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "namespace": "5eec6c90-1a68-4f51-affb-e33680fbe741",
- "project": { },
- "organization": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "slug": "string",
- "balance": 0.1,
- "discount": 0,
- "payment_plans": "string",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage_treshold_status": "string",
- "organization_members": { },
- "is_suspend": true,
- "is_unmetered": true,
- "vcpu_quota": 0,
- "ram_quota": 0,
- "storage_quota": 0,
- "cluster_kubernetes_quota": 0,
- "vpc_quota": 0,
- "ip_public_quota": 0,
- "project_quota": 0,
- "cluster_database_quota": 0,
- "vcpu_quota_usage": 0,
- "ram_quota_usage": 0,
- "storage_quota_usage": 0,
- "cluster_kubernetes_quota_usage": 0,
- "vpc_quota_usage": 0,
- "ip_public_quota_usage": 0,
- "project_quota_usage": 0,
- "cluster_database_quota_usage": 0,
- "vcpu_quota_actual": 0,
- "ram_quota_actual": 0,
- "storage_quota_actual": 0
}, - "title": "string",
- "catalogue": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "type": "string",
- "public_access": true,
- "min_storage_gb": 0,
- "group": "string",
- "version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service": "string",
- "info": "string",
- "visibility": "string",
- "authentication_type": [
- "string"
], - "remote_access_via": "string",
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}
}, - "pricing": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "instance_type": "string",
- "suitable_for": "string",
- "availability": "string",
- "plans_type": "string",
- "vcpu_core": 0.1,
- "ram_mb": 0.1,
- "storage_gb": 0,
- "transfer_tb": 0,
- "app_service": 0,
- "support_service": 0,
- "price_per_month": 0,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "pricing_unit": "string",
- "price_per_unit": 0,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": { },
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0,
- "price_per_day": 0,
- "eph_storage_gb": { },
- "vcpu_price_per_hour": 0,
- "ram_price_per_hour": 0,
- "disk_price_per_hour": 0,
- "is_available": true,
- "gpu_price_per_hour": { },
- "is_gpu_dedicated": { },
- "is_cpu_dedicated": { },
- "devices": { },
- "storage_pool": { }
}, - "volumes": [
- {
- "id": 0,
- "source_type": "string",
- "source_id": 0,
- "volume_id": 0,
- "tag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
], - "mac_address": "string",
- "hostname": "string",
- "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "meta": {
- "phase": "string",
- "private_ip_address": "string"
}, - "status": "string",
- "private_ip_address_v4": "192.168.0.1",
- "private_ip_address_v6": "2001:0db8:85a3:0000:0000:8a2e:0370:7334",
- "vcpu_core": 0,
- "ram_mb": 0,
- "disk_size_gb": 0,
- "transfer_tb": 0,
- "group_type": "string",
- "group_uuid": "0f0cbec3-10f0-4b21-b1da-6d6437d7f648",
- "node_name": "string",
- "Vpc": { },
- "cpu_preference": { },
- "network_interfaces": { },
- "stage": "string",
- "is_ready": true,
- "vm_has_volume_source": {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "source_type": "string",
- "source_id": 0,
- "image": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "is_cloudinit_compatible": true,
- "type": "string",
- "size": 0,
- "project": { },
- "status": "string",
- "tags": { },
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "file_retrieve_mechanism": "string",
- "virtual_size": 0,
- "is_tpm_enabled": true,
- "bootloader_type": { },
- "storage_pool": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_default": true
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "os_variant_id": { },
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "network_policy_attachment": [
- { }
], - "loadbalancer_domain": [
- { }
], - "loadbalancer_backend": [
- { }
], - "source_clone_id": { },
- "devices": [
- { }
], - "ip_address": [
- { }
]
}, - "result": true
}This operation submits a request to delete an existing Virtual Machine
| uuid required | string <uuid> Object UUID used by various resources. |
{- "data": "Deleting vm will contine in the background",
- "result": true
}This operation update title or tags of the virtual machine
| uuid required | string <uuid> Object UUID used by various resources. |
| tags | Array of arrays A list of strings |
| title | string New virtual machine name |
{- "tags": [
- "dev",
- "testing vm",
- "qa"
], - "title": "my-new-vm"
}{- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "namespace": "5eec6c90-1a68-4f51-affb-e33680fbe741",
- "project": { },
- "organization": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "slug": "string",
- "balance": 0.1,
- "discount": 0,
- "payment_plans": "string",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage_treshold_status": "string",
- "organization_members": { },
- "is_suspend": true,
- "is_unmetered": true,
- "vcpu_quota": 0,
- "ram_quota": 0,
- "storage_quota": 0,
- "cluster_kubernetes_quota": 0,
- "vpc_quota": 0,
- "ip_public_quota": 0,
- "project_quota": 0,
- "cluster_database_quota": 0,
- "vcpu_quota_usage": 0,
- "ram_quota_usage": 0,
- "storage_quota_usage": 0,
- "cluster_kubernetes_quota_usage": 0,
- "vpc_quota_usage": 0,
- "ip_public_quota_usage": 0,
- "project_quota_usage": 0,
- "cluster_database_quota_usage": 0,
- "vcpu_quota_actual": 0,
- "ram_quota_actual": 0,
- "storage_quota_actual": 0
}, - "title": "string",
- "catalogue": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "type": "string",
- "public_access": true,
- "min_storage_gb": 0,
- "group": "string",
- "version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service": "string",
- "info": "string",
- "visibility": "string",
- "authentication_type": [
- "string"
], - "remote_access_via": "string",
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}
}, - "pricing": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "instance_type": "string",
- "suitable_for": "string",
- "availability": "string",
- "plans_type": "string",
- "vcpu_core": 0.1,
- "ram_mb": 0.1,
- "storage_gb": 0,
- "transfer_tb": 0,
- "app_service": 0,
- "support_service": 0,
- "price_per_month": 0,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "pricing_unit": "string",
- "price_per_unit": 0,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": { },
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0,
- "price_per_day": 0,
- "eph_storage_gb": { },
- "vcpu_price_per_hour": 0,
- "ram_price_per_hour": 0,
- "disk_price_per_hour": 0,
- "is_available": true,
- "gpu_price_per_hour": { },
- "is_gpu_dedicated": { },
- "is_cpu_dedicated": { },
- "devices": { },
- "storage_pool": { }
}, - "volumes": [
- {
- "id": 0,
- "source_type": "string",
- "source_id": 0,
- "volume_id": 0,
- "tag": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}
], - "mac_address": "string",
- "hostname": "string",
- "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "meta": {
- "phase": "string",
- "private_ip_address": "string"
}, - "status": "string",
- "private_ip_address_v4": "192.168.0.1",
- "private_ip_address_v6": "2001:0db8:85a3:0000:0000:8a2e:0370:7334",
- "vcpu_core": 0,
- "ram_mb": 0,
- "disk_size_gb": 0,
- "transfer_tb": 0,
- "group_type": "string",
- "group_uuid": "0f0cbec3-10f0-4b21-b1da-6d6437d7f648",
- "node_name": "string",
- "Vpc": { },
- "cpu_preference": { },
- "network_interfaces": { },
- "stage": "string",
- "is_ready": true,
- "vm_has_volume_source": {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "source_type": "string",
- "source_id": 0,
- "image": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "is_cloudinit_compatible": true,
- "type": "string",
- "size": 0,
- "project": { },
- "status": "string",
- "tags": { },
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "file_retrieve_mechanism": "string",
- "virtual_size": 0,
- "is_tpm_enabled": true,
- "bootloader_type": { },
- "storage_pool": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "is_default": true
}
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z"
}, - "os_variant_id": { },
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "network_policy_attachment": [
- { }
], - "loadbalancer_domain": [
- { }
], - "loadbalancer_backend": [
- { }
], - "source_clone_id": { },
- "devices": [
- { }
], - "ip_address": [
- { }
]
}, - "result": true
}| vmuuid required | string <uuid> VM UUID |
| since_x_minute_ago | integer >= 1 Number of minutes ago from now to start the range. Mutually exclusive with start/end. |
| start | string Example: start=2006-01-02 15:04:05 Start time in RFC3339-like layout per Go time.DateTime (e.g., 2006-01-02 15:04:05). |
| end | string Example: end=2006-01-02 16:04:05 End time in RFC3339-like layout per Go time.DateTime (e.g., 2006-01-02 16:04:05). |
| minute_step | integer >= 1 Aggregation minute step (default varies by metric). |
{- "result": true,
- "data": {
- "stats": {
- "datasets": [
- {
- "data": [
- 10.5,
- 12.3,
- 11.8,
- 13.2,
- 14.1
]
}
], - "labels": [
- "2024-01-15T10:00:00Z",
- "2024-01-15T10:05:00Z",
- "2024-01-15T10:10:00Z",
- "2024-01-15T10:15:00Z",
- "2024-01-15T10:20:00Z"
], - "legend": [
- "Disk Usage"
]
}, - "title": "VM Disk Metrics",
- "type": "graph",
- "yAxisLabel": "Usage",
- "yAxisSuffix": "GB"
}
}Returns a paginated list of ISO images available to the superadmin.
| page | integer Default: 1 Page number for pagination. |
| per_page | integer Default: 5 Number of items per page. |
| sort_by | string Field to sort the results by. |
| order_by | string Default: "desc" Enum: "asc" "desc" Order of sorting (ascending or descending). |
| search | string String to use as the search keyword |
| status | string Filter images by status. |
{- "result": true,
- "data": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "image": "string",
- "type": "string",
- "logo": "string",
- "public_access": true,
- "min_storage_gb": 0,
- "group": "string",
- "version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service": "string",
- "info": "string",
- "visibility": "private",
- "authentication_type": [
- "string"
], - "remote_access_via": "string",
- "status": "string",
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "bootloader_type": "string",
- "is_secure_boot": true
}
], - "meta": {
- "pagination": {
- "per_page": 0,
- "page": 0,
- "total": 0,
- "last_page": 0
}
}
}Uploads a new ISO image and registers it as a catalogue entry for use when creating virtual machines.
| image required | string <binary> ISO image file (.iso) to upload. |
| name required | string Human-readable image name. |
| os_uuid required | string <uuid> OS variant UUID associated with this image. |
| description required | string Description of the image. |
{- "result": true,
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "image": "string",
- "type": "string",
- "logo": "string",
- "public_access": true,
- "min_storage_gb": 0,
- "group": "string",
- "version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service": "string",
- "info": "string",
- "visibility": "private",
- "authentication_type": [
- "string"
], - "remote_access_via": "string",
- "status": "string",
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "bootloader_type": "string",
- "is_secure_boot": true
}
}Returns details of a single ISO image.
| uuid required | string <uuid> ISO image UUID. |
{- "result": true,
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "image": "string",
- "type": "string",
- "logo": "string",
- "public_access": true,
- "min_storage_gb": 0,
- "group": "string",
- "version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service": "string",
- "info": "string",
- "visibility": "private",
- "authentication_type": [
- "string"
], - "remote_access_via": "string",
- "status": "string",
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "bootloader_type": "string",
- "is_secure_boot": true
}
}Updates metadata of an existing ISO image.
| uuid required | string <uuid> ISO image UUID. |
| name | string New name for the ISO image. |
| os_uuid | string <uuid> New OS variant UUID associated with this image. |
| description | string New description of the image. |
{- "name": "string",
- "os_uuid": "e7d08566-0f60-44b3-8b51-f5f7397c1d50",
- "description": "string"
}{- "result": true,
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "image": "string",
- "type": "string",
- "logo": "string",
- "public_access": true,
- "min_storage_gb": 0,
- "group": "string",
- "version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service": "string",
- "info": "string",
- "visibility": "private",
- "authentication_type": [
- "string"
], - "remote_access_via": "string",
- "status": "string",
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "bootloader_type": "string",
- "is_secure_boot": true
}
}Returns the list of OS variants that can be used when creating virtual machines.
| search | string String to use as the search keyword |
{- "result": true,
- "data": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}
]
}Returns details of a single OS variant.
| os_uuid required | string <uuid> OS variant UUID. |
{- "result": true,
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}
}Returns the list of catalogues (images and templates) that can be used when creating virtual machines.
| page | integer Default: 1 Page number for pagination. |
| per_page | integer Default: 5 Number of items per page. |
| sort_by | string Field to sort the results by. |
| order_by | string Default: "desc" Enum: "asc" "desc" Order of sorting (ascending or descending). |
| search | string String to use as the search keyword |
| group | string Filter catalogues by group. |
| type | string Filter catalogues by type (for example, |
| service | string Filter catalogues by service. |
{- "result": true,
- "data": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "image": "string",
- "type": "string",
- "logo": "string",
- "public_access": true,
- "min_storage_gb": 0,
- "group": "string",
- "version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service": "string",
- "info": "string",
- "visibility": "private",
- "authentication_type": [
- "string"
], - "remote_access_via": "string",
- "status": "string",
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "bootloader_type": "string",
- "is_secure_boot": true
}
], - "meta": {
- "pagination": {
- "per_page": 0,
- "page": 0,
- "total": 0,
- "last_page": 0
}
}
}Creates a new catalogue entry (for example, an OS image template) that can be used when provisioning virtual machines.
| image required | string <binary> Disk image file (raw, qcow, qcow2, vmdk, iso, etc.). |
| logo | string <binary> Optional logo image (jpeg, jpg, png). |
| name | string Human-readable catalogue name. |
| type required | string Catalogue type (e.g. |
| min_storage_gb required | number Minimum required storage size in GB. |
| group | string Logical group for this catalogue entry. |
| version | string Version string. |
| info | string Additional information about this catalogue entry. |
| service required | string Service category for this catalogue (for example, |
| visibility required | string Enum: "private" "public" Visibility of this catalogue. |
| authentication_type required | string Authentication types as a JSON array string, for example: ["password","ssh_key"]. |
| os_variant_uuid | string <uuid> Optional OS variant UUID this catalogue is based on. |
| bootloader_type | string Enum: "bios" "efi" Bootloader type used when booting from this catalogue. |
| is_secure_boot | boolean Whether secure boot is enabled for this catalogue. |
{- "result": true,
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "image": "string",
- "type": "string",
- "logo": "string",
- "public_access": true,
- "min_storage_gb": 0,
- "group": "string",
- "version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service": "string",
- "info": "string",
- "visibility": "private",
- "authentication_type": [
- "string"
], - "remote_access_via": "string",
- "status": "string",
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "bootloader_type": "string",
- "is_secure_boot": true
}
}Returns details of a single catalogue entry.
| uuid required | string <uuid> Object UUID used by various resources. |
{- "result": true,
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "image": "string",
- "type": "string",
- "logo": "string",
- "public_access": true,
- "min_storage_gb": 0,
- "group": "string",
- "version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service": "string",
- "info": "string",
- "visibility": "private",
- "authentication_type": [
- "string"
], - "remote_access_via": "string",
- "status": "string",
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "bootloader_type": "string",
- "is_secure_boot": true
}
}Updates an existing catalogue entry.
| uuid required | string <uuid> Object UUID used by various resources. |
| image | string <binary> New disk image file to replace the existing one. |
| logo | string <binary> New logo image. |
| name | string |
| type required | string |
| min_storage_gb required | number |
| group | string |
| version | string |
| info | string |
| service required | string |
| visibility required | string Enum: "private" "public" |
| authentication_type required | string Authentication types as JSON array string. |
| os_variant_uuid | string <uuid> |
| bootloader_type | string Enum: "bios" "efi" |
| is_secure_boot | boolean |
{- "result": true,
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "image": "string",
- "type": "string",
- "logo": "string",
- "public_access": true,
- "min_storage_gb": 0,
- "group": "string",
- "version": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "service": "string",
- "info": "string",
- "visibility": "private",
- "authentication_type": [
- "string"
], - "remote_access_via": "string",
- "status": "string",
- "os_variant_id": 0,
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "bootloader_type": "string",
- "is_secure_boot": true
}
}Exports a virtual machine using KubeVirt Export API. Creates a VirtualMachineExport resource that provides download links for all VM disks and manifest files. The export includes TLS certificates and tokens for secure access. Export URLs are proxied through the API for simplified client access.
| uuid required | string <uuid> Object UUID used by various resources. |
| ttlDuration | string Default: "2h" Example: ttlDuration=2h Time-to-live duration for the export. Accepts Go duration format (e.g., "1h", "2h30m", "30m"). Default is "2h". After this duration, the export resources will be cleaned up. |
| ttlDuration | string Alternative way to specify TTL via request body |
{- "ttlDuration": "2h"
}{- "result": true,
- "data": {
- "links": [
- {
- "name": "0198d1ec-f879-755a-a379-25e3fd853679",
- "url": "/sa/vms/0198d1ec-f879-7559-817b-e8e610d0bd7f/export/download/disk/0198d1ec-f879-755a-a379-25e3fd853679/disk.img",
- "format": "raw"
}, - {
- "name": "0198d1ec-f879-755a-a379-25e3fd853679",
- "url": "/sa/vms/0198d1ec-f879-7559-817b-e8e610d0bd7f/export/download/disk/0198d1ec-f879-755a-a379-25e3fd853679/disk.img.gz",
- "format": "gzip"
}
], - "tlsCert": "-----BEGIN CERTIFICATE----- MIIBiDCC... -----END CERTIFICATE-----",
- "token": "yedBeeN6ta1WkfNx3WwEUCGMOwc5O1Or",
- "manifest": "(Full VirtualMachineExport manifest JSON string omitted for brevity)",
- "vm": {
- "uuid": "0198d1ec-f879-7559-817b-e8e610d0bd7f",
- "title": "peculiar-sparrow",
- "status": "stopped",
- "vcpu_core": 1,
- "ram_mb": 1024,
- "disk_size_gb": 20,
- "organization": {
- "uuid": "7157e2ee-afd5-4658-9086-d00bc4f74eee",
- "name": "root"
}, - "volumes": [
- {
- "volume": {
- "uuid": "0198d1ec-f879-755a-a379-25e3fd853679",
- "label": "peculiar-sparrow",
- "size_gb": 20,
- "volume_type": "boot"
}
}
]
}, - "manifestUrl": "/sa/vms/0198d1ec-f879-7559-817b-e8e610d0bd7f/export/download/manifest/vm-export.json"
}
}Proxies download requests to the internal KubeVirt export service. This endpoint handles TLS certificate injection and token authentication automatically, simplifying the download process for clients. Supports downloading disk images (raw or gzip) and VM manifests in JSON or OVF format.
| uuid required | string <uuid> UUID of the VM being exported |
| path required | string Examples:
Download path for the asset. Can be:
|
Operation to delete a volume based on its uuid.
| uuid required | string <uuid> Object UUID used by various resources. |
{- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "namespace": "5eec6c90-1a68-4f51-affb-e33680fbe741",
- "organization": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "slug": "string",
- "balance": 0.1,
- "discount": 0,
- "payment_plans": "string",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage_treshold_status": "string",
- "organization_members": { },
- "is_suspend": true,
- "is_unmetered": true,
- "vcpu_quota": 0,
- "ram_quota": 0,
- "storage_quota": 0,
- "cluster_kubernetes_quota": 0,
- "vpc_quota": 0,
- "ip_public_quota": 0,
- "project_quota": 0,
- "cluster_database_quota": 0,
- "vcpu_quota_usage": 0,
- "ram_quota_usage": 0,
- "storage_quota_usage": 0,
- "cluster_kubernetes_quota_usage": 0,
- "vpc_quota_usage": 0,
- "ip_public_quota_usage": 0,
- "project_quota_usage": 0,
- "cluster_database_quota_usage": 0,
- "vcpu_quota_actual": 0,
- "ram_quota_actual": 0,
- "storage_quota_actual": 0
}, - "user": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "username": "string",
- "name": "string",
- "status": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "organizations": { },
- "projects": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "kind": "string",
- "is_suspend": true,
- "credentials": { },
- "organization_quota": 0
}, - "pricing": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "instance_type": "string",
- "suitable_for": "string",
- "availability": "string",
- "plans_type": "string",
- "vcpu_core": 0.1,
- "ram_mb": 0.1,
- "storage_gb": 0,
- "transfer_tb": 0,
- "app_service": 0,
- "support_service": 0,
- "price_per_month": 0,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "pricing_unit": "string",
- "price_per_unit": 0,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": { },
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0,
- "price_per_day": 0,
- "eph_storage_gb": { },
- "vcpu_price_per_hour": 0,
- "ram_price_per_hour": 0,
- "disk_price_per_hour": 0,
- "is_available": true,
- "gpu_price_per_hour": { },
- "is_gpu_dedicated": { },
- "is_cpu_dedicated": { },
- "devices": { },
- "storage_pool": { }
}, - "is_used": true,
- "size_gb": 0,
- "label": "string",
- "mount_point": "string",
- "PVCName": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "project": { },
- "instance_has_volumes": [
- {
- "source_type": "string",
- "source_id": 0,
- "tags": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "source": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "namespace": "5eec6c90-1a68-4f51-affb-e33680fbe741",
- "project": { },
- "title": "string",
- "volumes": { },
- "mac_address": "string",
- "hostname": "string",
- "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "meta": {
- "phase": "string",
- "private_ip_address": "string"
}, - "status": "string",
- "private_ip_address_v4": "192.168.0.1",
- "private_ip_address_v6": "2001:0db8:85a3:0000:0000:8a2e:0370:7334",
- "vcpu_core": 0,
- "ram_mb": 0,
- "disk_size_gb": 0,
- "transfer_tb": 0,
- "group_type": "string",
- "group_uuid": "0f0cbec3-10f0-4b21-b1da-6d6437d7f648",
- "node_name": "string",
- "Vpc": { },
- "cpu_preference": { },
- "network_interfaces": { },
- "stage": "string",
- "is_ready": true,
- "vm_has_volume_source": { },
- "os_variant_id": { },
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "network_policy_attachment": { },
- "loadbalancer_domain": { },
- "loadbalancer_backend": { },
- "source_clone_id": { },
- "devices": { },
- "ip_address": { }
}
}
], - "volume_type": "string",
- "backend_storage": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "wwid": "string"
}, - "result": true
}Operation to update a volume based on its uuid.
| uuid required | string <uuid> Object UUID used by various resources. |
| label required | string New volume label |
{- "label": "my-new-volume"
}{- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "namespace": "5eec6c90-1a68-4f51-affb-e33680fbe741",
- "organization": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "slug": "string",
- "balance": 0.1,
- "discount": 0,
- "payment_plans": "string",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage_treshold_status": "string",
- "organization_members": { },
- "is_suspend": true,
- "is_unmetered": true,
- "vcpu_quota": 0,
- "ram_quota": 0,
- "storage_quota": 0,
- "cluster_kubernetes_quota": 0,
- "vpc_quota": 0,
- "ip_public_quota": 0,
- "project_quota": 0,
- "cluster_database_quota": 0,
- "vcpu_quota_usage": 0,
- "ram_quota_usage": 0,
- "storage_quota_usage": 0,
- "cluster_kubernetes_quota_usage": 0,
- "vpc_quota_usage": 0,
- "ip_public_quota_usage": 0,
- "project_quota_usage": 0,
- "cluster_database_quota_usage": 0,
- "vcpu_quota_actual": 0,
- "ram_quota_actual": 0,
- "storage_quota_actual": 0
}, - "user": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "username": "string",
- "name": "string",
- "status": "string",
- "last_login": "2019-08-24T14:15:22Z",
- "organizations": { },
- "projects": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "kind": "string",
- "is_suspend": true,
- "credentials": { },
- "organization_quota": 0
}, - "pricing": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "instance_type": "string",
- "suitable_for": "string",
- "availability": "string",
- "plans_type": "string",
- "vcpu_core": 0.1,
- "ram_mb": 0.1,
- "storage_gb": 0,
- "transfer_tb": 0,
- "app_service": 0,
- "support_service": 0,
- "price_per_month": 0,
- "price_per_hour": 0,
- "price_per_year": 0,
- "user_id": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "pricing_unit": "string",
- "price_per_unit": 0,
- "maximum_free_usage": 0,
- "price_per_three_month": 0,
- "price_per_six_month": 0,
- "meta_storage": { },
- "discount_per_three_month": 0,
- "discount_per_six_month": 0,
- "discount_per_year": 0,
- "price_per_day": 0,
- "eph_storage_gb": { },
- "vcpu_price_per_hour": 0,
- "ram_price_per_hour": 0,
- "disk_price_per_hour": 0,
- "is_available": true,
- "gpu_price_per_hour": { },
- "is_gpu_dedicated": { },
- "is_cpu_dedicated": { },
- "devices": { },
- "storage_pool": { }
}, - "is_used": true,
- "size_gb": 0,
- "label": "string",
- "mount_point": "string",
- "PVCName": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "project": { },
- "instance_has_volumes": [
- {
- "source_type": "string",
- "source_id": 0,
- "tags": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "source": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "namespace": "5eec6c90-1a68-4f51-affb-e33680fbe741",
- "project": { },
- "title": "string",
- "volumes": { },
- "mac_address": "string",
- "hostname": "string",
- "tags": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "deleted_at": "2019-08-24T14:15:22Z",
- "meta": {
- "phase": "string",
- "private_ip_address": "string"
}, - "status": "string",
- "private_ip_address_v4": "192.168.0.1",
- "private_ip_address_v6": "2001:0db8:85a3:0000:0000:8a2e:0370:7334",
- "vcpu_core": 0,
- "ram_mb": 0,
- "disk_size_gb": 0,
- "transfer_tb": 0,
- "group_type": "string",
- "group_uuid": "0f0cbec3-10f0-4b21-b1da-6d6437d7f648",
- "node_name": "string",
- "Vpc": { },
- "cpu_preference": { },
- "network_interfaces": { },
- "stage": "string",
- "is_ready": true,
- "vm_has_volume_source": { },
- "os_variant_id": { },
- "os_variant": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "family": "string",
- "name": "string",
- "group": "string",
- "version": "string",
- "logo": "string"
}, - "network_policy_attachment": { },
- "loadbalancer_domain": { },
- "loadbalancer_backend": { },
- "source_clone_id": { },
- "devices": { },
- "ip_address": { }
}
}
], - "volume_type": "string",
- "backend_storage": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "wwid": "string"
}, - "result": true
}Export a volume using KubeVirt Export API. This endpoint creates a VirtualMachineExport resource for the volume's PVC and returns download links for the disk image along with authentication credentials. The volume can be backed by either a DataVolume or PVC directly.
The export process:
Download URLs include both raw and gzip-compressed formats. All downloads are authenticated using the provided token and TLS certificate.
| uuid required | string <uuid> UUID of the volume to export |
| ttlDuration | string Default: "2h" Example: ttlDuration=2h Time-to-live for the export in Go duration format |
| ttlDuration | string Default: "2h" Time-to-live for the export in Go duration format (e.g., "1h", "30m", "2h") |
{- "ttlDuration": "2h"
}{- "result": true,
- "data": {
- "links": [
- {
- "name": "019a28e7-4572-7886-b9c4-9de85e635415",
- "url": "/sa/volumes/019a28e7-4572-7886-b9c4-9de85e635415/export/download/disk/019a28e7-4572-7886-b9c4-9de85e635415/disk.img",
- "format": "raw"
}, - {
- "name": "019a28e7-4572-7886-b9c4-9de85e635415",
- "url": "/sa/volumes/019a28e7-4572-7886-b9c4-9de85e635415/export/download/disk/019a28e7-4572-7886-b9c4-9de85e635415/disk.img.gz",
- "format": "gzip"
}
], - "tlsCert": "-----BEGIN CERTIFICATE-----\nMIIBiDCCAS6gAwIBAgIIc9dxls4kVlcwCgYIKoZIzj0EAwIwKDEmMCQGA1UEAwwd\nZXhwb3J0Lmt1YmV2aXJ0LmlvQDE3NjMwNzEwNjkwHhcNMjUxMTEzMjE1NzQ5WhcN\nMjUxMTIwMjE1NzQ5WjAoMSYwJAYDVQQDDB1leHBvcnQua3ViZXZpcnQuaW9AMTc2\nMzA3MTA2OTBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABM2iZbGvs7k1BgfOoNtI\nQk3AdM4Ku8mzCV6g2Eyl9133j5QeRnz9EbEVr7Iyx9FXwLHFk59/0yWJJYXjbsx7\nJeWjQjBAMA4GA1UdDwEB/wQEAwICpDAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQW\nBBT1Fnm5YZxlTYwxEPowUolQFCBCATAKBggqhkjOPQQDAgNIADBFAiEAn3V9Wxdq\ncyFjs7lH8h06cnLacZ9aM4CUW91FK51Hm6oCICOjAxmUtUiYO+wYpZ8kuSlgSK4W\ngumj2LvLRy35gROo\n-----END CERTIFICATE-----",
- "token": "ZG5rWW1VWGlmVVlLa21PVVhXNTd0YTZ0d1Z0QzRxVnM=",
- "manifest": "(Full VirtualMachineExport manifest JSON string - abbreviated for readability)",
- "volume": {
- "uuid": "019a28e7-4572-7886-b9c4-9de85e635415",
- "label": "satu",
- "namespace": "c8e648ef-2612-4c20-9085-74f97cae6aef",
- "size_gb": 20,
- "volume_type": "external",
- "organization": {
- "uuid": "c8e648ef-2612-4c20-9085-74f97cae6aef",
- "name": "bismillah123"
}
}, - "manifestUrl": "/sa/volumes/019a28e7-4572-7886-b9c4-9de85e635415/export/download/manifest/volume-export.json"
}
}Proxies download requests to the internal KubeVirt export service for volumes. This endpoint handles TLS certificate injection and token authentication automatically, simplifying the download process for clients. Supports downloading both disk images (raw or gzip) and volume export manifests.
The proxy:
| uuid required | string <uuid> UUID of the volume being exported |
| path required | string Examples:
Download path for the asset. Can be:
|
Proxies volume upload requests to the internal CDI (Containerized Data Importer) upload service. This endpoint automatically injects the authentication token stored in Redis, so clients don't need to manage tokens manually.
To upload a disk image:
Supports uploading raw disk images, QCOW2, VMDK, and other formats supported by CDI. Maximum upload time: 30 minutes.
| volume_uuid required | string <uuid> UUID of the volume to upload to |
Raw disk image file (QCOW2, VMDK, RAW, etc.)
{ }Returns the list of virtual switches defined as Multus NetworkAttachmentDefinitions that are
managed by Awanio (annotated with awan.io/vswitch).
{- "result": true,
- "data": [
- {
- "name": "string",
- "description": "string",
- "mode": "vlan",
- "vlan_id": 0.1,
- "master_interface": "string",
- "bridge_name": "string",
- "ipam": "auto",
- "ipam_options": "cluster",
- "subnet": "string",
- "gateway_ip": "string",
- "exclude_ips": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}Creates a new virtual switch by creating a Multus NetworkAttachmentDefinition and, when IPAM is
set to auto with the cluster option, a Kube-OVN Subnet.
| name required | string Virtual switch name. |
| description | string Human-readable description of the virtual switch. |
| mode required | string Enum: "vlan" "bridge" Switch mode. |
| vlan_id | number <float> VLAN ID (1-4094) when mode is vlan. |
| master_interface | string Host interface used as VLAN parent when mode is vlan. |
| bridge_name | string Name of the Linux bridge when mode is bridge. |
| ipam required | string Enum: "auto" "static" IP address management mode. |
| ipam_options | string Enum: "cluster" "dhcp" IPAM backend when ipam is auto. |
| subnet | string CIDR block used when ipam_options is cluster. |
| gateway_ip | string Gateway IPv4 address for the subnet. |
| exclude_ips | Array of strings IPs or ranges excluded from allocation. |
{- "name": "string",
- "description": "string",
- "mode": "vlan",
- "vlan_id": 0.1,
- "master_interface": "string",
- "bridge_name": "string",
- "ipam": "auto",
- "ipam_options": "cluster",
- "subnet": "string",
- "gateway_ip": "string",
- "exclude_ips": [
- "string"
]
}{- "result": true,
- "data": {
- "name": "string",
- "description": "string",
- "mode": "vlan",
- "vlan_id": 0.1,
- "master_interface": "string",
- "bridge_name": "string",
- "ipam": "auto",
- "ipam_options": "cluster",
- "subnet": "string",
- "gateway_ip": "string",
- "exclude_ips": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Returns details of a single virtual switch managed by Awanio.
| name required | string Virtual switch name. |
{- "result": true,
- "data": {
- "name": "string",
- "description": "string",
- "mode": "vlan",
- "vlan_id": 0.1,
- "master_interface": "string",
- "bridge_name": "string",
- "ipam": "auto",
- "ipam_options": "cluster",
- "subnet": "string",
- "gateway_ip": "string",
- "exclude_ips": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Updates an existing virtual switch configuration. Some fields (such as name, mode, ipam,
ipam_options and, for cluster IPAM, subnet) cannot be changed and will result in a validation error.
| name required | string Virtual switch name. |
| description | string |
| master_interface | string |
| bridge_name | string |
| vlan_id | number <float> |
| exclude_ips | Array of strings |
| gateway_ip | string |
| subnet | string |
{- "description": "string",
- "master_interface": "string",
- "bridge_name": "string",
- "vlan_id": 0.1,
- "exclude_ips": [
- "string"
], - "gateway_ip": "string",
- "subnet": "string"
}{- "result": true,
- "data": {
- "name": "string",
- "description": "string",
- "mode": "vlan",
- "vlan_id": 0.1,
- "master_interface": "string",
- "bridge_name": "string",
- "ipam": "auto",
- "ipam_options": "cluster",
- "subnet": "string",
- "gateway_ip": "string",
- "exclude_ips": [
- "string"
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Deletes a virtual switch and, for cluster-managed IPAM, its associated Kube-OVN subnet after verifying that no IP addresses are still in use.
| name required | string Virtual switch name. |
{- "result": true,
- "data": { }
}Create a Kube-OVN ProviderNetwork. The server will automatically inject
apiVersion and kind (kubeovn.io/v1, ProviderNetwork) based on this endpoint,
so the request body only needs to include metadata and spec.
required | object |
| spec required | object Raw Kube-OVN ProviderNetwork spec |
{- "metadata": {
- "name": "test-vlan-123"
}, - "spec": {
- "id": 100,
- "provider": "test-provider-net-123"
}
}{- "result": true,
- "data": { }
}Fully update an existing ProviderNetwork's spec. The metadata.name field in the
request body must match the {name} path parameter. apiVersion and kind are
injected automatically.
| name required | string Name of the ProviderNetwork |
required | object |
| spec required | object |
{- "metadata": {
- "name": "test-vpc-123"
}, - "spec": {
- "staticRoutes": [ ]
}
}{- "result": true,
- "data": { }
}Currently behaves the same as PUT: expects a full spec in the request body and
replaces the existing spec.
| name required | string Name of the ProviderNetwork |
required | object |
| spec required | object |
{- "metadata": {
- "name": "string"
}, - "spec": { }
}{- "result": true,
- "data": { }
}Create a Kube-OVN Vlan. The server injects apiVersion and kind automatically.
required | object |
| spec required | object Raw Kube-OVN Vlan spec (e.g. |
{- "metadata": {
- "name": "string"
}, - "spec": { }
}{- "result": true,
- "data": { }
}Fully update an existing Vlan's spec. The metadata.name field in the
request body must match the {name} path parameter.
| name required | string Name of the VLAN |
required | object |
| spec required | object |
{- "metadata": {
- "name": "string"
}, - "spec": { }
}{- "result": true,
- "data": { }
}Currently behaves the same as PUT: expects a full spec and replaces the
existing spec.
| name required | string Name of the VLAN |
required | object |
| spec required | object |
{- "metadata": {
- "name": "string"
}, - "spec": { }
}{- "result": true,
- "data": { }
}Create a Kube-OVN Vpc. The server injects apiVersion and kind automatically.
required | object |
| spec required | object Raw Kube-OVN Vpc spec (for example, |
{- "metadata": {
- "name": "string"
}, - "spec": { }
}{- "result": true,
- "data": { }
}Fully update an existing Vpc's spec. The metadata.name field in the
request body must match the {name} path parameter.
| name required | string Name of the Vpc resource |
required | object |
| spec required | object |
{- "metadata": {
- "name": "string"
}, - "spec": { }
}{- "result": true,
- "data": { }
}Currently behaves the same as PUT: expects a full spec and replaces the existing spec.
| name required | string Name of the Vpc resource |
required | object |
| spec required | object |
{- "metadata": {
- "name": "string"
}, - "spec": { }
}{- "result": true,
- "data": { }
}Returns storage pools configured in the platform. You can filter by pricing plan type, resource usage, and a free-text search keyword.
| plans_type | string Filter by pricing plan type (for example, |
| suitable_for | string Filter by resource type this pool is suitable for (for example, |
| search | string Search storage pools by name (substring match). |
{- "result": true,
- "data": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "backend_storage": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "slug": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "is_default": true,
- "is_available": true
}
]
}Returns details of a single storage pool.
| uuid required | string <uuid> Storage pool UUID. |
{- "result": true,
- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "backend_storage": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "slug": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "is_default": true,
- "is_available": true
}
}Returns available storage backends used by storage pools (for example, Ceph or local storage).
{- "result": true,
- "data": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "slug": "string",
- "description": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}This operation gets a list of organization, allowing for sorting, filtering and pagination
| page | integer Default: 1 Page number for pagination. |
| per_page | integer Default: 5 Number of items per page. |
| sort_by | string Field to sort the results by. |
| order_by | string Default: "desc" Enum: "asc" "desc" Order of sorting (ascending or descending). |
{- "data": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "slug": "string",
- "balance": 0.1,
- "discount": 0,
- "payment_plans": "string",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage_treshold_status": "string",
- "organization_members": { },
- "is_suspend": true,
- "is_unmetered": true,
- "vcpu_quota": 0,
- "ram_quota": 0,
- "storage_quota": 0,
- "cluster_kubernetes_quota": 0,
- "vpc_quota": 0,
- "ip_public_quota": 0,
- "project_quota": 0,
- "cluster_database_quota": 0,
- "vcpu_quota_usage": 0,
- "ram_quota_usage": 0,
- "storage_quota_usage": 0,
- "cluster_kubernetes_quota_usage": 0,
- "vpc_quota_usage": 0,
- "ip_public_quota_usage": 0,
- "project_quota_usage": 0,
- "cluster_database_quota_usage": 0,
- "vcpu_quota_actual": 0,
- "ram_quota_actual": 0,
- "storage_quota_actual": 0
}
], - "meta": {
- "pagination": {
- "per_page": 0,
- "page": 0,
- "total": 0,
- "last_page": 0
}
}, - "result": true
}Retrieves detail object of an organization based on it uuid.
| uuid required | string <uuid> Object UUID used by various resources. |
{- "data": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "slug": "string",
- "balance": 0.1,
- "discount": 0,
- "payment_plans": "string",
- "monthly_amount_threshold": 0,
- "account_payable": 0,
- "tax_percent": 0,
- "member_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "usage_treshold_status": "string",
- "organization_members": { },
- "is_suspend": true,
- "is_unmetered": true,
- "vcpu_quota": 0,
- "ram_quota": 0,
- "storage_quota": 0,
- "cluster_kubernetes_quota": 0,
- "vpc_quota": 0,
- "ip_public_quota": 0,
- "project_quota": 0,
- "cluster_database_quota": 0,
- "vcpu_quota_usage": 0,
- "ram_quota_usage": 0,
- "storage_quota_usage": 0,
- "cluster_kubernetes_quota_usage": 0,
- "vpc_quota_usage": 0,
- "ip_public_quota_usage": 0,
- "project_quota_usage": 0,
- "cluster_database_quota_usage": 0,
- "vcpu_quota_actual": 0,
- "ram_quota_actual": 0,
- "storage_quota_actual": 0
}, - "result": true
}