GoVirt.Vm¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Cluster href for the Virtual Machine |
||
r/w |
Cluster Id for the Virtual Machine |
||
r/w |
Virtual Machine Display Information |
||
r/w |
Host href for the Virtual Machine |
||
r/w |
Host Id for the Virtual Machine |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GoVirt.Vm(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- get_cdroms()¶
- Returns:
a
GoVirt.Collection
representing the list of cdroms associated with self.- Return type:
Gets a
GoVirt.Collection
representing the list of remote cdroms from a virtual machine object. This method does not initiate any network activity, the remote cdrom list must be then be fetched usingGoVirt.Collection.fetch
() orGoVirt.Collection.fetch_async
().
- get_cluster()¶
- Returns:
a
GoVirt.Cluster
representing cluster the self belongs to.- Return type:
Gets a
GoVirt.Cluster
representing the cluster the virtual machine belongs to. This method does not initiate any network activity, the remote host must be then be fetched usingGoVirt.Resource.refresh
() orGoVirt.Resource.refresh_async
().
- get_host()¶
- Returns:
a
GoVirt.Host
representing host the self belongs to.- Return type:
Gets a
GoVirt.Host
representing the host the virtual machine belongs to. This method does not initiate any network activity, the remote host must be then be fetched usingGoVirt.Resource.refresh
() orGoVirt.Resource.refresh_async
().
- get_ticket(proxy)¶
- Parameters:
proxy (
GoVirt.Proxy
) –- Raises:
- Return type:
- get_ticket_async(proxy, cancellable, callback, *user_data)¶
- Parameters:
proxy (
GoVirt.Proxy
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- get_ticket_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) –- Raises:
- Return type:
- refresh_async(proxy, cancellable, callback, *user_data)¶
- Parameters:
proxy (
GoVirt.Proxy
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- refresh_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) –- Raises:
- Return type:
- start(proxy)¶
- Parameters:
proxy (
GoVirt.Proxy
) –- Raises:
- Return type:
- start_async(proxy, cancellable, callback, *user_data)¶
- Parameters:
proxy (
GoVirt.Proxy
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- start_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) –- Raises:
- Return type:
- stop(proxy)¶
- Parameters:
proxy (
GoVirt.Proxy
) –- Raises:
- Return type:
- stop_async(proxy, cancellable, callback, *user_data)¶
- Parameters:
proxy (
GoVirt.Proxy
) –cancellable (
Gio.Cancellable
orNone
) –callback (
Gio.AsyncReadyCallback
orNone
) –
- stop_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) –- Raises:
- Return type:
Property Details¶
- GoVirt.Vm.props.cluster_href¶
-
Cluster href for the Virtual Machine
- GoVirt.Vm.props.cluster_id¶
-
Cluster Id for the Virtual Machine
- GoVirt.Vm.props.display¶
- Name:
display
- Type:
- Default Value:
- Flags:
Virtual Machine Display Information
- GoVirt.Vm.props.host_href¶
-
Host href for the Virtual Machine