Click or drag to resize
Server Class
Extends SimpleServer with detailed information about a server.
Inheritance Hierarchy

Namespace: net.openstack.Core.Domain
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
[JsonObjectAttribute(MemberSerialization.OptIn)]
public class Server : SimpleServer

The Server type exposes the following members.

Constructors
  NameDescription
Public methodServer
Initializes a new instance of the Server class
Top
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
Properties
  NameDescription
Public propertyAccessIPv4
Gets the public IP version 4 access address.
Caution note Caution
The value of this property is not defined by OpenStack, and may not be consistent across vendors.
Public propertyAccessIPv6
Gets the public IP version 6 access address.
Caution note Caution
The value of this property is not defined by OpenStack, and may not be consistent across vendors.
Public propertyAddresses
Gets the public and private IP addresses for the server.
Caution note Caution
The value of this property is not defined by OpenStack, and may not be consistent across vendors.
Public propertyCreated
Gets the time stamp for the creation date.
Caution note Caution
The value of this property is not defined by OpenStack, and may not be consistent across vendors.
Public propertyDiskConfig
Gets the disk configuration used for creating, rebuilding, or resizing the server. If the value was not explicitly specified in the create, rebuild, or resize request, the server inherits the value from the image it was created from.
Public propertyExtensionData
Gets a map of object properties which did not map to another field or property during JSON deserialization. The keys of the map represent the property names, and the values are JToken instances containing the parsed JSON values.
(Inherited from ExtensibleJsonObject.)
Public propertyFlavor
Gets basic information about the flavor for the server.
Caution note Caution
The value of this property is not defined by OpenStack, and may not be consistent across vendors.
Public propertyHostId
Gets the host ID for the server.
Public propertyId
Gets the unique identifier for the server.
Caution note Caution
The value of this property is not defined by OpenStack, and may not be consistent across vendors.
(Inherited from ServerBase.)
Public propertyImage
Gets basic information about the image the server was created from.
Caution note Caution
The value of this property is not defined by OpenStack, and may not be consistent across vendors.
Public propertyLinks
Gets a collection of links related to the current server.
(Inherited from ServerBase.)
Public propertyName
Gets the server name.
Caution note Caution
The value of this property is not defined by OpenStack, and may not be consistent across vendors.
(Inherited from SimpleServer.)
Public propertyPowerState
Gets the power state for the server.
Public propertyProgress
Gets the build completion progress, as a percentage.
Caution note Caution
The value of this property is not defined by OpenStack, and may not be consistent across vendors.
Public propertyStatus
Gets the server status.
Caution note Caution
The value of this property is not defined by OpenStack, and may not be consistent across vendors.
Public propertyTaskState
Gets the task state for the server.
Public propertyTenantId
Gets the tenant ID of the server.
Caution note Caution
The value of this property is not defined by OpenStack, and may not be consistent across vendors.
Public propertyUpdated
Gets the time stamp for the last update.
Caution note Caution
The value of this property is not defined by OpenStack, and may not be consistent across vendors.
Public propertyUserId
Gets the user ID for the server.
Caution note Caution
The value of this property is not defined by OpenStack, and may not be consistent across vendors.
Public propertyVMState
Gets the virtual machine (VM) state for the server.
Top
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also