Sha256: e0d2c72d89162c69675d481555500e895f5f40708aae8bcccfc96a66b2882f57
Contents?: true
Size: 1.2 KB
Versions: 6
Compression:
Stored size: 1.2 KB
Contents
Server Appliances ***************** .. rb:class:: OneAndOne::ServerAppliance() The :rb:class:`ServerAppliance` class allows a user to perform actions against the 1and1 API. .. rb:method:: list(page: nil, per_page: nil, sort: nil, q: nil, fields: nil) List all server appliances. :param page: Allows the use of pagination. Indicate which page to start on. :type page: ``int`` :param per_page: Number of items per page. :type per_page: ``int`` :param sort: ``sort: 'name'`` retrieves a list of elements sorted alphabetically. ``sort: 'creation_date'`` retrieves a list of elements sorted by their creation date in descending order. :type sort: ``str`` :param q: ``q`` is for query. Use this parameter to return only the items that match your search query. :type q: ``str`` :param fields: Returns only the parameters requested. (i.e. fields: 'id, name, description, hardware.ram') :type fields: ``str`` :rtype: JSON .. rb:method:: get(appliance_id: nil) Returns information about an appliance. :param appliance_id: the unique identifier for the appliance. :type appliance_id: ``str`` :rtype: JSON
Version data entries
6 entries across 3 versions & 1 rubygems