C# Class OneAndOne.Client.Endpoints.Servers.ServerImage

Inheritance: ResourceBase
Mostra file Open project: 1and1/oneandone-cloudserver-sdk-dotnet

Public Methods

Method Description
ServerImage ( object _apiUrl = null, object _apiKey = null ) : System
Show ( string server_id ) : Image

Returns information about a server's image.

Update ( UpdateServerImageRequest image, string server_id ) : ServerResponse

Reinstalls a new image into a server.

Method Details

ServerImage() public method

public ServerImage ( object _apiUrl = null, object _apiKey = null ) : System
_apiUrl object
_apiKey object
return System

Show() public method

Returns information about a server's image.
public Show ( string server_id ) : Image
server_id string Unique server's identifier.
return OneAndOne.POCO.Respones.Servers.Image

Update() public method

Reinstalls a new image into a server.
public Update ( UpdateServerImageRequest image, string server_id ) : ServerResponse
image OneAndOne.POCO.Requests.Servers.UpdateServerImageRequest
server_id string Unique server's identifier.
return OneAndOne.POCO.Respones.Servers.ServerResponse