Merge "Optimize limit option docs string description for novaclient"
This commit is contained in:
commit
dfb84228a2
@ -116,6 +116,9 @@ class FlavorManager(base.ManagerWithFind):
|
|||||||
:param min_disk: Filters the flavors by a minimum disk space, in GiB.
|
:param min_disk: Filters the flavors by a minimum disk space, in GiB.
|
||||||
:param min_ram: Filters the flavors by a minimum RAM, in MiB.
|
:param min_ram: Filters the flavors by a minimum RAM, in MiB.
|
||||||
:param limit: maximum number of flavors to return (optional).
|
:param limit: maximum number of flavors to return (optional).
|
||||||
|
Note the API server has a configurable default limit.
|
||||||
|
If no limit is specified here or limit is larger than
|
||||||
|
default, the default limit will be used.
|
||||||
:param sort_key: Flavors list sort key (optional).
|
:param sort_key: Flavors list sort key (optional).
|
||||||
:param sort_dir: Flavors list sort direction (optional).
|
:param sort_dir: Flavors list sort direction (optional).
|
||||||
:returns: list of :class:`Flavor`.
|
:returns: list of :class:`Flavor`.
|
||||||
|
@ -70,6 +70,9 @@ class HypervisorManager(base.ManagerWithFind):
|
|||||||
marker must be a UUID hypervisor ID.
|
marker must be a UUID hypervisor ID.
|
||||||
(optional).
|
(optional).
|
||||||
:param limit: maximum number of hypervisors to return (optional).
|
:param limit: maximum number of hypervisors to return (optional).
|
||||||
|
Note the API server has a configurable default limit.
|
||||||
|
If no limit is specified here or limit is larger than
|
||||||
|
default, the default limit will be used.
|
||||||
"""
|
"""
|
||||||
return self._list_base(detailed=detailed, marker=marker, limit=limit)
|
return self._list_base(detailed=detailed, marker=marker, limit=limit)
|
||||||
|
|
||||||
|
@ -53,6 +53,9 @@ class InstanceActionManager(base.ManagerWithFind):
|
|||||||
list than that represented by this action request id
|
list than that represented by this action request id
|
||||||
(optional).
|
(optional).
|
||||||
:param limit: Maximum number of actions to return. (optional).
|
:param limit: Maximum number of actions to return. (optional).
|
||||||
|
Note the API server has a configurable default limit.
|
||||||
|
If no limit is specified here or limit is larger than
|
||||||
|
default, the default limit will be used.
|
||||||
:param changes_since: List only instance actions changed later or
|
:param changes_since: List only instance actions changed later or
|
||||||
equal to a certain point of time. The provided
|
equal to a certain point of time. The provided
|
||||||
time should be an ISO 8061 formatted time.
|
time should be an ISO 8061 formatted time.
|
||||||
|
@ -185,6 +185,9 @@ class KeypairManager(base.ManagerWithFind):
|
|||||||
keypair list than that represented by this keypair name
|
keypair list than that represented by this keypair name
|
||||||
(optional).
|
(optional).
|
||||||
:param limit: maximum number of keypairs to return (optional).
|
:param limit: maximum number of keypairs to return (optional).
|
||||||
|
Note the API server has a configurable default limit.
|
||||||
|
If no limit is specified here or limit is larger than
|
||||||
|
default, the default limit will be used.
|
||||||
"""
|
"""
|
||||||
params = {}
|
params = {}
|
||||||
if user_id:
|
if user_id:
|
||||||
|
@ -70,6 +70,9 @@ class MigrationManager(base.ManagerWithFind):
|
|||||||
migrations list than that represented by this migration UUID
|
migrations list than that represented by this migration UUID
|
||||||
(optional).
|
(optional).
|
||||||
:param limit: maximum number of migrations to return (optional).
|
:param limit: maximum number of migrations to return (optional).
|
||||||
|
Note the API server has a configurable default limit. If no limit is
|
||||||
|
specified here or limit is larger than default, the default limit will
|
||||||
|
be used.
|
||||||
:param changes_since: only return migrations changed later or equal
|
:param changes_since: only return migrations changed later or equal
|
||||||
to a certain point of time. The provided time should be an ISO 8061
|
to a certain point of time. The provided time should be an ISO 8061
|
||||||
formatted time. e.g. 2016-03-04T06:27:59Z . (optional).
|
formatted time. e.g. 2016-03-04T06:27:59Z . (optional).
|
||||||
@ -92,6 +95,9 @@ class MigrationManager(base.ManagerWithFind):
|
|||||||
migrations list than that represented by this migration UUID
|
migrations list than that represented by this migration UUID
|
||||||
(optional).
|
(optional).
|
||||||
:param limit: maximum number of migrations to return (optional).
|
:param limit: maximum number of migrations to return (optional).
|
||||||
|
Note the API server has a configurable default limit. If no limit is
|
||||||
|
specified here or limit is larger than default, the default limit will
|
||||||
|
be used.
|
||||||
:param changes_since: Only return migrations changed later or equal
|
:param changes_since: Only return migrations changed later or equal
|
||||||
to a certain point of time. The provided time should be an ISO 8061
|
to a certain point of time. The provided time should be an ISO 8061
|
||||||
formatted time. e.g. 2016-03-04T06:27:59Z . (optional).
|
formatted time. e.g. 2016-03-04T06:27:59Z . (optional).
|
||||||
|
@ -51,6 +51,9 @@ class ServerGroupsManager(base.ManagerWithFind):
|
|||||||
|
|
||||||
:param all_projects: Lists server groups for all projects. (optional)
|
:param all_projects: Lists server groups for all projects. (optional)
|
||||||
:param limit: Maximum number of server groups to return. (optional)
|
:param limit: Maximum number of server groups to return. (optional)
|
||||||
|
Note the API server has a configurable default limit.
|
||||||
|
If no limit is specified here or limit is larger than
|
||||||
|
default, the default limit will be used.
|
||||||
:param offset: Use with `limit` to return a slice of server
|
:param offset: Use with `limit` to return a slice of server
|
||||||
groups. `offset` is where to start in the groups
|
groups. `offset` is where to start in the groups
|
||||||
list. (optional)
|
list. (optional)
|
||||||
|
@ -843,6 +843,10 @@ class ServerManager(base.BootingManagerWithFind):
|
|||||||
:param marker: Begin returning servers that appear later in the server
|
:param marker: Begin returning servers that appear later in the server
|
||||||
list than that represented by this server id (optional).
|
list than that represented by this server id (optional).
|
||||||
:param limit: Maximum number of servers to return (optional).
|
:param limit: Maximum number of servers to return (optional).
|
||||||
|
Note the API server has a configurable default limit.
|
||||||
|
If no limit is specified here or limit is larger than
|
||||||
|
default, the default limit will be used.
|
||||||
|
If limit == -1, all servers will be returned.
|
||||||
:param sort_keys: List of sort keys
|
:param sort_keys: List of sort keys
|
||||||
:param sort_dirs: List of sort directions
|
:param sort_dirs: List of sort directions
|
||||||
|
|
||||||
|
@ -87,7 +87,9 @@ class UsageManager(base.ManagerWithFind):
|
|||||||
later in the instance list than that represented by
|
later in the instance list than that represented by
|
||||||
this instance UUID (optional).
|
this instance UUID (optional).
|
||||||
:param limit: Maximum number of instances to include in the usage
|
:param limit: Maximum number of instances to include in the usage
|
||||||
(optional).
|
(optional). Note the API server has a configurable
|
||||||
|
default limit. If no limit is specified here or limit
|
||||||
|
is larger than default, the default limit will be used.
|
||||||
:rtype: list of :class:`Usage`.
|
:rtype: list of :class:`Usage`.
|
||||||
"""
|
"""
|
||||||
query_string = self._usage_query(start, end, marker, limit, detailed)
|
query_string = self._usage_query(start, end, marker, limit, detailed)
|
||||||
@ -120,7 +122,9 @@ class UsageManager(base.ManagerWithFind):
|
|||||||
later in the instance list than that represented by
|
later in the instance list than that represented by
|
||||||
this instance UUID (optional).
|
this instance UUID (optional).
|
||||||
:param limit: Maximum number of instances to include in the usage
|
:param limit: Maximum number of instances to include in the usage
|
||||||
(optional).
|
(optional). Note the API server has a configurable
|
||||||
|
default limit. If no limit is specified here or limit
|
||||||
|
is larger than default, the default limit will be used.
|
||||||
:rtype: :class:`Usage`
|
:rtype: :class:`Usage`
|
||||||
"""
|
"""
|
||||||
query_string = self._usage_query(start, end, marker, limit)
|
query_string = self._usage_query(start, end, marker, limit)
|
||||||
|
Loading…
Reference in New Issue
Block a user