novaclient.v2.server_groups
Module¶Server group interface.
novaclient.v2.server_groups.
ServerGroup
(manager, info, loaded=False, resp=None)¶Bases: novaclient.base.Resource
A server group.
Populate and bind to a manager.
Parameters: |
|
---|
delete
()¶Delete this server group.
Returns: | An instance of novaclient.base.TupleWithMeta |
---|
novaclient.v2.server_groups.
ServerGroupsManager
(api)¶Bases: novaclient.base.ManagerWithFind
Manage ServerGroup
resources.
create
(name, policies)¶Create (allocate) a server group.
Parameters: |
|
---|---|
Return type: | list of |
delete
(id)¶Delete a specific server group.
Parameters: | id – The ID of the ServerGroup to delete. |
---|---|
Returns: | An instance of novaclient.base.TupleWithMeta |
get
(id)¶Get a specific server group.
Parameters: | id – The ID of the ServerGroup to get. |
---|---|
Return type: | ServerGroup |
list
(all_projects=False, limit=None, offset=None)¶Get a list of all server groups.
Parameters: |
|
---|---|
Returns: | list of |
resource_class
¶alias of ServerGroup
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.