api.vms.get(name="myvm", all_content=True)
public static interface VmService.GetResponse extends Response
Retrieves the description of the virtual machine.
Note that some elements of the description of the virtual machine won’t be returned unless the All-Content
header is present in the request and has the value true
. The elements that aren’t currently returned are
the following:
console
initialization.configuration.data
- The OVF document describing the virtual machine.
rng_source
soundcard
virtio_scsi
With the Python SDK the All-Content
header can be set using the all_content
parameter of the get
method:
api.vms.get(name="myvm", all_content=True)
Note that the reason for not including these elements is performance: they are seldom used and they require
additional queries in the server. So try to use the All-Content
header only when it is really needed.
Modifier and Type | Method and Description |
---|---|
Vm |
vm() |
Vm vm()
Copyright © 2016. All rights reserved.