Represents a connection to a particular ComodIT server. An instance of
this class gives access to most collections as well as helpers easing the
access to ComodIT entities.
|
__init__(self,
endpoint,
username,
password,
token,
insecure_upload=False)
Client constructor. |
|
|
FlavorCollection
|
flavors(self)
Provides root collection of flavors. |
|
|
Flavor
|
get_flavor(self,
name)
Fetches a particular flavor given its name. |
|
|
AppStoreCollection
|
app_store(self)
Provides root collection of published applications. |
|
|
PublishedApplication
|
get_published_app(self,
uuid,
org_name=None)
Fetches a published application given its UUID. |
|
|
DistStoreCollection
|
dist_store(self)
Provides root collection of published distributions. |
|
|
PublishedDistribution
|
get_published_dist(self,
uuid,
org_name=None)
Fetches a published distribution given its UUID. |
|
|
OrganizationCollection
|
|
Organization
|
|
ApplicationCollection
|
applications(self,
org_name)
Instantiates the collection of applications associated to named
organization. |
|
|
Application
|
get_application(self,
org_name,
name)
Fetches an application given the name of owning organization and its
name. |
|
|
DistributionCollection
|
distributions(self,
org_name)
Instantiates the collection of distributions associated to named
organization. |
|
|
Distribution
|
get_distribution(self,
org_name,
name)
Fetches a distribution given the name of owning organization and its
name. |
|
|
PlatformCollection
|
platforms(self,
org_name)
Instantiates the collection of platforms associated to named
organization. |
|
|
Platform
|
get_platform(self,
org_name,
name)
Fetches a platform given the name of owning organization and its
name. |
|
|
EnvironmentCollection
|
environments(self,
org_name)
Instantiates the collection of environments associated to named
organization. |
|
|
Environment
|
get_environment(self,
org_name,
name)
Fetches an environment given the name of owning organization and its
name. |
|
|
HostCollection
|
hosts(self,
org_name,
env_name)
Instantiates the collection of hosts associated to a particular
environment. |
|
|
Host
|
get_host(self,
org_name,
env_name,
name)
Fetches a host given its name and owning environment. |
|
|
EnvironmentCollection
|
application_keys(self,
org_name)
Instantiates the collection of environments associated to named
organization. |
|
|
Environment
|
get_application_key(self,
org_name,
token)
Fetches an environment given the name of owning organization and its
name. |
|
|
Inherited from object :
__long__ ,
__native__ ,
__nonzero__ ,
__unicode__ ,
next
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|