api.vms.get(name="myvm", all_content=True)
public interface VmService extends Service
VmService.CancelMigrationRequest cancelMigration()
VmService.CloneRequest clone_()
VmService.CommitSnapshotRequest commitSnapshot()
VmService.DetachRequest detach()
VmService.ExportRequest export()
VmService.FreezeFilesystemsRequest freezeFilesystems()
VmService.GetRequest get()
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.
VmService.LogonRequest logon()
VmService.MaintenanceRequest maintenance()
VmService.MigrateRequest migrate()
VmService.PreviewSnapshotRequest previewSnapshot()
VmService.RebootRequest reboot()
VmService.RemoveRequest remove()
VmService.ReorderMacAddressesRequest reorderMacAddresses()
VmService.ShutdownRequest shutdown()
VmService.StartRequest start()
VmService.StopRequest stop()
VmService.SuspendRequest suspend()
VmService.ThawFilesystemsRequest thawFilesystems()
VmService.TicketRequest ticket()
VmService.UndoSnapshotRequest undoSnapshot()
VmService.UpdateRequest update()
AssignedAffinityLabelsService affinityLabelsService()
List of scheduling labels assigned to this VM.
VmApplicationsService applicationsService()
VmCdromsService cdromsService()
DiskAttachmentsService diskAttachmentsService()
List of disks attached to this virtual machine.
GraphicsConsolesService graphicsConsolesService()
VmHostDevicesService hostDevicesService()
KatelloErrataService katelloErrataService()
VmNicsService nicsService()
VmNumaNodesService numaNodesService()
AssignedPermissionsService permissionsService()
VmReportedDevicesService reportedDevicesService()
VmSessionsService sessionsService()
SnapshotsService snapshotsService()
AssignedTagsService tagsService()
VmWatchdogsService watchdogsService()
Copyright © 2016. All rights reserved.