Struct openstack::compute::Server [] [src]

pub struct Server<'session> { /* fields omitted */ }

Structure representing a single server.

Methods

impl<'session> Server<'session>
[src]

[src]

Refresh the server.

[src]

Get a reference to IPv4 address.

If not None, this address should be used to access the server instead of one from the addresses method.

[src]

Get a reference to IPv6 address.

If not None, this address should be used to access the server instead of one from the addresses method.

[src]

Get a reference to associated addresses.

[src]

Get a reference to the availability zone.

[src]

Get a reference to creation date and time.

[src]

Get a reference to server unique ID.

[src]

Get a reference to the image.

May be None if the server was created from a volume.

[src]

Whether the server has an image.

May return false if the server was created from a volume.

[src]

Get a reference to server name.

[src]

Get server power state.

[src]

Get server status.

[src]

Get a reference to last update date and time.

[src]

Start the server, optionally wait for it to be active.

[src]

Stop the server, optionally wait for it to be powered off.

[src]

Delete the server.

Trait Implementations

impl<'session> Clone for Server<'session>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'session> Debug for Server<'session>
[src]

[src]

Formats the value using the given formatter.

impl<'session> ResourceId for Server<'session>
[src]

[src]

Identifier of the current resource.

impl<'session> ListResources<'session> for Server<'session>
[src]

DEFAULT_LIMIT: usize = 50

Default limit to use with this resource.

[src]

List the resources from the session.