Oracle VM (OVM) (MOSC)

MOSC Banner

OLVM API - 'follow' option to extend properties

edited Dec 13, 2021 6:37AM in Oracle VM (OVM) (MOSC) Question

Hello,

I need to get the disks information for a specific VM. Most important part is to get the "storage_domain" for each VM disk.

I tried to use the 'follow' option in the GET API call like this:

{{olvmBaseUrl}}/vms/{{VM_id}}?follow=disk_attachments.disk.disk_profile.storage_domain

The server response is not complete. The "storage_domain" is expanded only for the first disk.

There is something that I need to specify to have the information expanded for all disks?

There is any other way to get this information for all disks of a specific VM?

Thanks.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center