Click or drag to resize
Server Methods

The Server type exposes the following members.

Methods
  NameDescription
Public methodAddMetadata(Metadata)
Updates the metadata for the server.
Public methodAddMetadata(String, String)
Adds or updates the value for the specified metadata item.
Public methodAttachVolume
Attaches a volume to the server.
(Inherited from ServerBase.)
Public methodConfirmResize
Confirms a completed asynchronous server resize action.
(Inherited from ServerBase.)
Public methodCreateSnapshot
Creates a new snapshot image for a specified server at its current state.
(Inherited from ServerBase.)
Public methodCreateVirtualInterface
Creates a virtual interface for the specified network and attaches the network to the server.
Public methodDelete
Marks the server for asynchronous deletion.
Public methodDeleteMetadata
Deletes the specified metadata items from the server.
Public methodDeleteMetadataItem
Deletes the specified metadata item from the server.
Public methodDeleteVirtualInterface
Deletes the specified virtual interface from the server.
Public methodDetachVolume
Detaches the specified volume from the server.
(Inherited from ServerBase.)
Public methodGetDetails
Gets the detailed information for the server.
(Inherited from ServerBase.)
Public methodGetMetadata
Gets the metadata associated with the server.
Public methodGetVolumes
Lists the volume attachments for the server.
Public methodHardReboot
Initiates an asynchronous hard reboot operation on the specified server.
(Inherited from ServerBase.)
Public methodListAddresses
Lists all networks and server addresses associated with a server.
Public methodListAddressesByNetwork
Lists addresses for the server associated with the specified network.
Public methodListVirtualInterfaces
Lists the virtual interfaces for the server.
Public methodListVolumes
Lists the volume attachments for the server.
(Inherited from ServerBase.)
Public methodRebuild
Initiates an asynchronous rebuild of the server.
(Inherited from ServerBase.)
Public methodRefresh
Updates the current instance to match the values in the Server instance returned from a call to GetDetails.
(Inherited from ServerBase.)
Public methodRescue
Places the server in rescue mode.
(Inherited from ServerBase.)
Public methodResize
Initiates an asynchronous resize of the server. A server resize is performed by specifying a new Flavor for the server.
(Inherited from ServerBase.)
Public methodRevertResize
Cancels and reverts a server resize action.
(Inherited from ServerBase.)
Public methodSetMetadata
Sets the metadata associated with the server, replacing any existing metadata.
Public methodSnapshot
Creates a new snapshot image for the server at its current state.
Public methodSoftReboot
Initiates an asynchronous soft reboot operation on the specified server.
(Inherited from ServerBase.)
Public methodUnRescue
Takes the server out of rescue mode.
(Inherited from ServerBase.)
Public methodUpdateMetadata
Updates the metadata for the server.
Public methodUpdateMetadataItem
Sets the value for the specified metadata item. If the key already exists, it is updated; otherwise, a new metadata item is added.
Public methodWaitForActive
Waits for the server to enter the Active state.
(Inherited from ServerBase.)
Public methodWaitForDeleted
Waits for the server to enter the Deleted state.
(Inherited from ServerBase.)
Public methodWaitForState(ServerState, ServerState, Int32, NullableTimeSpan, ActionInt32)
Waits for the server to enter a specified state.
(Inherited from ServerBase.)
Public methodWaitForState(ServerState, ServerState, Int32, NullableTimeSpan, ActionInt32)
Waits for the server to enter any one of a set of specified states.
(Inherited from ServerBase.)
Top
See Also