Click or drag to resize
Server Class
A virtual machine (VM) instance running on a host.
Inheritance Hierarchy

Namespace: OpenStack.Compute.v2_1
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public class Server : ServerSummary

The Server type exposes the following members.

Constructors
  NameDescription
Public methodServer
Initializes a new instance of the Server class.
Top
Methods
  NameDescription
Public methodAssociateFloatingIPAsync
Associates a floating IP address to the server.
Public methodAttachVolumeAsync
Attaches a volume to a server.
Public methodCancelResizeAsync
Cancels and reverts a pending resize action for a server.
(Inherited from ServerReference.)
Public methodConfirmResizeAsync
Confirms a pending resize action for a server.
(Inherited from ServerReference.)
Public methodDeleteAsync
Deletes a server.
(Inherited from ServerReference.)
Public methodDisassociateFloatingIPAsync
Disassociate a floating IP address from a server.
Public methodGetAddressAsync
(Inherited from ServerReference.)
Public methodGetConsoleOutputAsync
Shows console output for a server instance.
(Inherited from ServerReference.)
Public methodGetMetadataAsync
Gets all metadata for a server.
(Inherited from ServerReference.)
Public methodGetMetadataItemAsync
Shows details for a metadata item, by key, for a server.
(Inherited from ServerReference.)
Public methodGetRdpConsoleAsync
Gets an RDP console for a server.
(Inherited from ServerReference.)
Public methodGetSerialConsoleAsync
Gets a serial console for a server.
(Inherited from ServerReference.)
Public methodGetServerAsync
Shows details for a server.
(Inherited from ServerReference.)
Public methodGetSpiceConsoleAsync
Gets a SPICE console for a server.
(Inherited from ServerReference.)
Public methodGetVncConsoleAsync
Gets a VNC console for a server.
(Inherited from ServerReference.)
Public methodListActionSummariesAsync
Lists the actions which have been applied to a sever.
(Inherited from ServerReference.)
Public methodListAddressesAsync
Lists IP addresses that are assigned to a server.
(Inherited from ServerReference.)
Public methodListVolumesAsync
Lists the volume attachments for a server.
(Inherited from ServerReference.)
Public methodRebootAsync
Reboots a server.
(Inherited from ServerReference.)
Public methodRescueAsync
Puts a server in rescue mode and changes its status to RESCUE.
(Inherited from ServerReference.)
Public methodResizeAsync
Resizes a server.

Depending on the cloud configuration, ConfirmResizeServerAsync(String, CancellationToken) may need to be called to complete the resize operation.

(Inherited from ServerReference.)
Public methodResumeAsync
Resumes a suspended server and changes its status to ACTIVE.
(Inherited from ServerReference.)
Public methodSnapshotAsync
Creates a snapshot image from a server.
(Inherited from ServerReference.)
Public methodStartAsync
Starts a stopped server and changes its status to ACTIVE.
(Inherited from ServerReference.)
Public methodStopAsync
Stops a running server and changes its status to SHUTOFF.
(Inherited from ServerReference.)
Public methodSuspendAsync
Suspends a server and changes its status to SUSPENDED.
(Inherited from ServerReference.)
Public methodUnrescueAsync
Unrescues a server. Changes status to ACTIVE.
(Inherited from ServerReference.)
Public methodUpdateAsync
Updates the editable attributes of a server.
Public methodWaitForStatusAsync(ServerStatus, NullableTimeSpan, NullableTimeSpan, IProgressBoolean, CancellationToken)
Waits for the server to reach the specified status.
Public methodWaitForStatusAsync(IEnumerableServerStatus, NullableTimeSpan, NullableTimeSpan, IProgressBoolean, CancellationToken)
Waits for the server to reach the specified status.
Public methodWaitUntilActiveAsync
Waits the until the server is active.
Public methodWaitUntilDeletedAsync
Waits for the server to be deleted.

Treats a 404 NotFound exception as confirmation that it is deleted.

(Overrides ServerReferenceWaitUntilDeletedAsync(NullableTimeSpan, NullableTimeSpan, IProgressBoolean, CancellationToken).)
Top
Extension Methods
  NameDescription
Public Extension MethodAssociateFloatingIP
Associates a floating IP address to the server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodAttachVolume
Attaches a volume to a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodCancelResize
Cancels and reverts a pending resize action for a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodConfirmResize
Confirms a pending resize action for a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodDelete
Deletes a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodDisassociateFloatingIP
Disassociate a floating IP address from a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodEvacuateAsync
(Defined by ServerExtensions.)
Public Extension MethodGetAddress
Shows details for a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodGetConsoleOutput
Shows console output for a server instance.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodGetMetadata
Gets all metadata for a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodGetMetadataItem
Shows details for a metadata item, by key, for a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodGetRdpConsole
Gets an RDP console for a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodGetSerialConsole
Gets a SPICE console for a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodGetServer
Shows details for a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodGetSpiceConsole
Gets a SPICE console for a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodGetVncConsole
Gets a VNC console for a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodListActionSummaries
Lists the actions which have been applied to a sever.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodListAddresses
Shows details for a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodListVolumes
Lists the volume attachments for a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodReboot
Reboots a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodRescue
Puts a server in rescue mode and changes its status to RESCUE.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodResize
Resizes a server.

Depending on the cloud configuration, ConfirmResizeServerAsync(String, CancellationToken) may need to be called to complete the resize operation.

(Defined by ServerExtensions_v2_1.)
Public Extension MethodResume
Resumes a suspended server and changes its status to ACTIVE.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodSnapshot
Creates a snapshot image from a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodStart
Starts a stopped server and changes its status to ACTIVE.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodStop
Stops a running server and changes its status to SHUTOFF.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodSuspend
Suspends a server and changes its status to SUSPENDED.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodUnrescue
Puts a server in rescue mode and changes its status to RESCUE.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodUpdate
Updates the editable attributes of a server.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodWaitForStatus(ServerStatus, NullableTimeSpan, NullableTimeSpan, IProgressBoolean)Overloaded.
Waits for the server to reach the specified status.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodWaitForStatus(IEnumerableServerStatus, NullableTimeSpan, NullableTimeSpan, IProgressBoolean)Overloaded.
Waits for the server to reach the specified status.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodWaitUntilActive
Waits the until the server is active.
(Defined by ServerExtensions_v2_1.)
Public Extension MethodWaitUntilDeleted
Waits for the server to be deleted.

Treats a 404 NotFound exception as confirmation that it is deleted.

(Defined by ServerExtensions_v2_1.)
Top
Properties
  NameDescription
Public propertyAddresses
The IP addresses for the server.
Public propertyAdminPassword
The administrative password.

The password is only available immediately after creating the server, and otherwise is empty.

Public propertyAttachedVolumes
The attached volumes, if any.
Public propertyAvailabilityZone
The availability zone in which the server is located.
Public propertyCreated
The date and time when the resource was created.
Public propertyDeleted
The date and time when the server was deleted.
Public propertyDiskConfig
The server disk configuration.
Public propertyFlavor
The flavor for the server instance.
Public propertyHostId
The host identifier.
Public propertyId
The server identifier.
(Inherited from ServerReference.)
Public propertyImage
The image for the server instance.
Public propertyIPv4Address
The server v4 IP address.
Public propertyIPv6Address
The server v6 IP address.
Public propertyKeyPairName
The name of associated key pair, if any.
Public propertyLastModified
The date and time when the resource was updated.
Public propertyLaunched
The date and time when the server was launched.
Public propertyMetadata
The associated metadata key and value pairs.
Public propertyName
The server name.
(Inherited from ServerSummary.)
Public propertyPowerState
The power state of the server.
Public propertyProgress
A percentage value of the build progress.
Public propertySecurityGroups
Associated security groups.
Public propertyStatus
The server status.
Public propertyTaskState
The task state of the server.
Public propertyVMState
The underlying VM state.
Top
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6
See Also