api.vms.get(name="myvm", all_content=True)
public class VmServiceImpl extends ServiceImpl implements VmService
VmService.CancelMigrationRequest, VmService.CancelMigrationResponse, VmService.CloneRequest, VmService.CloneResponse, VmService.CommitSnapshotRequest, VmService.CommitSnapshotResponse, VmService.DetachRequest, VmService.DetachResponse, VmService.ExportRequest, VmService.ExportResponse, VmService.FreezeFilesystemsRequest, VmService.FreezeFilesystemsResponse, VmService.GetRequest, VmService.GetResponse, VmService.LogonRequest, VmService.LogonResponse, VmService.MaintenanceRequest, VmService.MaintenanceResponse, VmService.MigrateRequest, VmService.MigrateResponse, VmService.PreviewSnapshotRequest, VmService.PreviewSnapshotResponse, VmService.RebootRequest, VmService.RebootResponse, VmService.RemoveRequest, VmService.RemoveResponse, VmService.ReorderMacAddressesRequest, VmService.ReorderMacAddressesResponse, VmService.ShutdownRequest, VmService.ShutdownResponse, VmService.StartRequest, VmService.StartResponse, VmService.StopRequest, VmService.StopResponse, VmService.SuspendRequest, VmService.SuspendResponse, VmService.ThawFilesystemsRequest, VmService.ThawFilesystemsResponse, VmService.TicketRequest, VmService.TicketResponse, VmService.UndoSnapshotRequest, VmService.UndoSnapshotResponse, VmService.UpdateRequest, VmService.UpdateResponse
Constructor and Description |
---|
VmServiceImpl(HttpConnection connection,
String path) |
checkAction, checkFault, getConnection, getPath, throwError
public VmServiceImpl(HttpConnection connection, String path)
public VmService.CancelMigrationRequest cancelMigration()
cancelMigration
in interface VmService
public VmService.CloneRequest clone_()
public VmService.CommitSnapshotRequest commitSnapshot()
commitSnapshot
in interface VmService
public VmService.DetachRequest detach()
public VmService.ExportRequest export()
public VmService.FreezeFilesystemsRequest freezeFilesystems()
freezeFilesystems
in interface VmService
public VmService.GetRequest get()
VmService
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.
public VmService.LogonRequest logon()
public VmService.MaintenanceRequest maintenance()
maintenance
in interface VmService
public VmService.MigrateRequest migrate()
public VmService.PreviewSnapshotRequest previewSnapshot()
previewSnapshot
in interface VmService
public VmService.RebootRequest reboot()
public VmService.RemoveRequest remove()
public VmService.ReorderMacAddressesRequest reorderMacAddresses()
reorderMacAddresses
in interface VmService
public VmService.ShutdownRequest shutdown()
public VmService.StartRequest start()
public VmService.StopRequest stop()
public VmService.SuspendRequest suspend()
public VmService.ThawFilesystemsRequest thawFilesystems()
thawFilesystems
in interface VmService
public VmService.TicketRequest ticket()
public VmService.UndoSnapshotRequest undoSnapshot()
undoSnapshot
in interface VmService
public VmService.UpdateRequest update()
public AssignedAffinityLabelsService affinityLabelsService()
VmService
List of scheduling labels assigned to this VM.
affinityLabelsService
in interface VmService
public VmApplicationsService applicationsService()
applicationsService
in interface VmService
public VmCdromsService cdromsService()
cdromsService
in interface VmService
public DiskAttachmentsService diskAttachmentsService()
VmService
List of disks attached to this virtual machine.
diskAttachmentsService
in interface VmService
public GraphicsConsolesService graphicsConsolesService()
graphicsConsolesService
in interface VmService
public VmHostDevicesService hostDevicesService()
hostDevicesService
in interface VmService
public KatelloErrataService katelloErrataService()
katelloErrataService
in interface VmService
public VmNicsService nicsService()
nicsService
in interface VmService
public VmNumaNodesService numaNodesService()
numaNodesService
in interface VmService
public AssignedPermissionsService permissionsService()
permissionsService
in interface VmService
public VmReportedDevicesService reportedDevicesService()
reportedDevicesService
in interface VmService
public VmSessionsService sessionsService()
sessionsService
in interface VmService
public SnapshotsService snapshotsService()
snapshotsService
in interface VmService
public StatisticsService statisticsService()
public AssignedTagsService tagsService()
tagsService
in interface VmService
public VmWatchdogsService watchdogsService()
watchdogsService
in interface VmService
public Service service(String path)
VmService
Service locator method, returns individual service on which the URI is dispatched.
Copyright © 2016. All rights reserved.