Property | Type | Description |
---|
Method | Description | |
---|---|---|
AddMetadata ( Metadata metadata ) : bool |
Updates the metadata for the server. For each item in metadata, if the key exists, the value is updated; otherwise, the item is added. |
|
AddMetadata ( string key, string value ) : bool |
Adds or updates the value for the specified metadata item.
|
|
CreateVirtualInterface ( string networkId ) : |
Creates a virtual interface for the specified network and attaches the network to the server.
|
|
Delete ( ) : bool |
Marks the server for asynchronous deletion. The server deletion operation is completed asynchronously. The ServerBase.WaitForDeleted method may be used to block execution until the server is finally deleted. |
|
DeleteMetadata ( Metadata metadata ) : bool |
Deletes the specified metadata items from the server. |
|
DeleteMetadataItem ( string key ) : bool |
Deletes the specified metadata item from the server.
|
|
DeleteVirtualInterface ( string virtualInterfaceId ) : bool |
Deletes the specified virtual interface from the server.
|
|
GetMetadata ( ) : Metadata |
Gets the metadata associated with the server.
|
|
GetVolumes ( ) : IEnumerable |
Lists the volume attachments for the server.
|
|
ListAddresses ( ) : ServerAddresses |
Lists all networks and server addresses associated with a server.
|
|
ListAddressesByNetwork ( string networkLabel ) : IEnumerable |
Lists addresses for the server associated with the specified network.
|
|
ListVirtualInterfaces ( ) : IEnumerable |
Lists the virtual interfaces for the server.
|
|
SetMetadata ( Metadata metadata ) : bool |
Sets the metadata associated with the server, replacing any existing metadata.
|
|
Snapshot ( string imageName, Metadata metadata = null ) : |
Creates a new snapshot image for the server at its current state. The server snapshot process is completed asynchronously. To wait for the image to be completed, you may call SimpleServerImage.WaitForActive on the returned image. |
|
UpdateMetadata ( Metadata metadata ) : bool |
Updates the metadata for the server. For each item in metadata, if the key exists, the value is updated; otherwise, the item is added. |
|
UpdateMetadataItem ( string key, string value ) : bool |
Sets the value for the specified metadata item. If the key already exists, it is updated; otherwise, a new metadata item is added.
|
Method | Description | |
---|---|---|
UpdateThis ( |
public AddMetadata ( Metadata metadata ) : bool | ||
metadata | Metadata | The server metadata to update. |
return | bool |
public AddMetadata ( string key, string value ) : bool | ||
key | string | The metadata key. |
value | string | The new value for the metadata item. |
return | bool |
public CreateVirtualInterface ( string networkId ) : |
||
networkId | string | The network ID. This is obtained from |
return |
public DeleteMetadata ( Metadata metadata ) : bool | ||
metadata | Metadata | A collection of metadata items to delete. |
return | bool |
public DeleteMetadataItem ( string key ) : bool | ||
key | string | The metadata key. |
return | bool |
public DeleteVirtualInterface ( string virtualInterfaceId ) : bool | ||
virtualInterfaceId | string | The virtual interface ID. This is obtained from |
return | bool |
public ListAddressesByNetwork ( string networkLabel ) : IEnumerable |
||
networkLabel | string | The network label. This is obtained from |
return | IEnumerable |
public ListVirtualInterfaces ( ) : IEnumerable |
||
return | IEnumerable |
public SetMetadata ( Metadata metadata ) : bool | ||
metadata | Metadata | The metadata to associate with the server. |
return | bool |
public Snapshot ( string imageName, Metadata metadata = null ) : |
||
imageName | string | Name of the new image. |
metadata | Metadata | The metadata to associate to the new image. |
return |
public UpdateMetadata ( Metadata metadata ) : bool | ||
metadata | Metadata | The server metadata to update. |
return | bool |
public UpdateMetadataItem ( string key, string value ) : bool | ||
key | string | The metadata key. |
value | string | The new value for the metadata item. |
return | bool |
protected UpdateThis ( |
||
server | ||
return | void |