C# 클래스 OneAndOne.Client.Endpoints.Servers.ServerHdds

상속: ResourceBase
파일 보기 프로젝트 열기: 1and1/oneandone-cloudserver-sdk-dotnet

공개 메소드들

메소드 설명
Create ( AddHddRequest hdds, string server_id ) : ServerResponse

Adds new hard disk(s) to the server.

Delete ( string server_id, string hdd_id ) : ServerResponse

Removes a server's hard disk.

Get ( string server_id ) : List

Returns a list of the server's hard disks.

ServerHdds ( object _apiUrl = null, object _apiKey = null ) : System
Show ( string server_id, string hdd_id ) : Hdd

Returns information about a server's hard disk.

Update ( UpdateHddRequest hdds, string server_id, string hdd_id ) : ServerResponse

Adds new hard disk(s) to the server.

메소드 상세

Create() 공개 메소드

Adds new hard disk(s) to the server.
public Create ( AddHddRequest hdds, string server_id ) : ServerResponse
hdds OneAndOne.POCO.Requests.Servers.AddHddRequest
server_id string Unique server's identifier.
리턴 OneAndOne.POCO.Respones.Servers.ServerResponse

Delete() 공개 메소드

Removes a server's hard disk.
public Delete ( string server_id, string hdd_id ) : ServerResponse
server_id string Unique server's identifier.
hdd_id string hdd_id: Unique hard disk's identifier.
리턴 OneAndOne.POCO.Respones.Servers.ServerResponse

Get() 공개 메소드

Returns a list of the server's hard disks.
public Get ( string server_id ) : List
server_id string Unique server's identifier.
리턴 List

ServerHdds() 공개 메소드

public ServerHdds ( object _apiUrl = null, object _apiKey = null ) : System
_apiUrl object
_apiKey object
리턴 System

Show() 공개 메소드

Returns information about a server's hard disk.
public Show ( string server_id, string hdd_id ) : Hdd
server_id string Unique server's identifier.
hdd_id string hdd_id: Unique hard disk's identifier.
리턴 OneAndOne.POCO.Respones.Servers.Hdd

Update() 공개 메소드

Adds new hard disk(s) to the server.
public Update ( UpdateHddRequest hdds, string server_id, string hdd_id ) : ServerResponse
hdds OneAndOne.POCO.Requests.Servers.UpdateHddRequest
server_id string Unique server's identifier.
hdd_id string
리턴 OneAndOne.POCO.Respones.Servers.ServerResponse