Trees | Indices | Help |
|
---|
|
object --+ | types.BaseApiObject --+ | ApiCluster
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|||
_ATTRIBUTES = {'name': None, 'version': None, 'maintenanceMode
|
|||
Inherited from |
|
|||
Inherited from |
|
Initializes internal state and sets all known writable properties of the object to None. Then initializes the properties given in the provided attributes dictionary.
|
Default implementation of __str__. Uses the type name and the first attribute retrieved from the attribute map to create the string.
|
Retrieve a list of running commands for this cluster.
|
Rename a cluster.
Since: API v2 |
Create a service.
|
Delete a service by name. @param name Service name @return The deleted ApiService object |
Lookup a service by name.
|
Get all services in this cluster.
|
Lookup a parcel by product and version.
|
Get all parcels in this cluster.
|
Lists all the hosts that are associated with this cluster.
|
Removes the association of the host with the cluster.
|
Removes the association of all the hosts with the cluster.
|
Adds a host to the cluster.
|
Start all services in a cluster, respecting dependencies.
|
Stop all services in a cluster, respecting dependencies.
|
Deploys client configuration to the hosts on the cluster.
Since: API v2 |
Put the cluster in maintenance mode.
Since: API v2 |
Take the cluster out of maintenance mode.
Since: API v2 |
Retrieves all host templates in the cluster. @return ApiList of ApiHostTemplate objects. |
Retrieves a host templates by name.
|
Creates a host template.
|
Deletes a host template.
|
Command to do a "best-effort" rolling restart of the given cluster, i.e. it does plain restart of services that cannot be rolling restarted, followed by first rolling restarting non-slaves and then rolling restarting the slave roles of services that can be rolling restarted. The slave restarts are done host-by-host.
Since: API v4 |
|
_ATTRIBUTES
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Mar 30 14:44:56 2015 | http://epydoc.sourceforge.net |