C# 클래스 OneAndOne.Client.Endpoints.ServerAppliances.ServerAppliances

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

공개 메소드들

메소드 설명
Get ( int page = null, int perPage = null, string sort = null, string query = null, string fields = null ) : List

Returns a list of all the appliances that you can use for creating a server..

ServerAppliances ( object _apiUrl = null, object _apiKey = null ) : System
Show ( string id ) : ServerAppliancesResponse

Information about specific appliance

메소드 상세

Get() 공개 메소드

Returns a list of all the appliances that you can use for creating a server..
public Get ( int page = null, int perPage = null, string sort = null, string query = null, string fields = null ) : List
page int Allows to use pagination. Sets the number of servers that will be shown in each page.
perPage int Current page to show.
sort string Allows to sort the result by priority:sort=name retrieves a list of elements ordered by their names.sort=-creation_date retrieves a list of elements ordered according to their creation date in descending order of priority.
query string Allows to search one string in the response and return the elements that contain it. In order to specify the string use parameter q: q=My server
fields string Returns only the parameters requested: fields=id,name,description,hardware.ram
리턴 List

ServerAppliances() 공개 메소드

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

Show() 공개 메소드

Information about specific appliance
public Show ( string id ) : ServerAppliancesResponse
id string Appliance's ID
리턴 OneAndOne.POCO.Respones.ServerAppliances.ServerAppliancesResponse