Manager API

class cloudify_rest_client.manager.ManagerClient(api)[source]

Bases: object

get_status()[source]
Returns:Cloudify’s management machine status.
get_version()[source]
Returns:Cloudify’s management machine version information.
get_context(_include=None)[source]

Gets the context which was stored on management machine bootstrap. The context contains Cloudify specific information and Cloud provider specific information.

Parameters:_include – List of fields to include in response.
Returns:Context stored in manager.
create_context(name, context)[source]

Creates context in Cloudify’s management machine. This method is usually invoked right after management machine bootstrap with relevant Cloudify and cloud provider context information.

Parameters:
  • name – Cloud provider name.
  • context – Context as dict.
Returns:

Create context result.