Create a new cluster from attributes
Delete a cluster
cluster – The value can be either the ID of a cluster or a
Cluster
instance.
ignore_missing (bool) – When set to False
ResourceNotFound
will be raised when
the cluster does not exist. When set to True
, no exception will
be set when attempting to delete a nonexistent cluster.
None
Find a single cluster
name_or_id – The name or ID of a cluster.
ignore_missing (bool) – When set to False
ResourceNotFound
will be
raised when the resource does not exist.
When set to True
, None will be returned when
attempting to find a nonexistent resource.
One
Cluster
or None
Get a single cluster
Return a generator of clusters
query (kwargs) – Optional query parameters to be sent to limit the resources being returned.
A generator of cluster objects
Create a new cluster_certificate from CSR
attrs (dict) – Keyword arguments which will be used to create a
ClusterCertificate
,
comprised of the properties on the ClusterCertificate class.
The results of cluster_certificate creation
Get a single cluster_certificate
cluster_certificate – The value can be the ID of a
cluster_certificate or a
ClusterCertificate
instance.
ResourceNotFound
when no resource can be found.
Create a new cluster_template from attributes
attrs (dict) – Keyword arguments which will be used to create a
ClusterTemplate
,
comprised of the properties on the ClusterTemplate class.
The results of cluster_template creation
Delete a cluster_template
cluster_template – The value can be either the ID of a
cluster_template or a
ClusterTemplate
instance.
ignore_missing (bool) – When set to False
ResourceNotFound
will be raised when
the cluster_template does not exist. When set to True
, no
exception will be set when attempting to delete a nonexistent
cluster_template.
None
Find a single cluster_template
name_or_id – The name or ID of a cluster_template.
ignore_missing (bool) – When set to False
ResourceNotFound
will be
raised when the resource does not exist.
When set to True
, None will be returned when
attempting to find a nonexistent resource.
One
ClusterTemplate
or None
Get a single cluster_template
cluster_template – The value can be the ID of a cluster_template
or a
ClusterTemplate
instance.
One
ClusterTemplate
ResourceNotFound
when no resource can be found.
Return a generator of cluster_templates
query (kwargs) – Optional query parameters to be sent to limit the resources being returned.
A generator of cluster_template objects
Update a cluster_template
cluster_template – Either the id of a cluster_template or a
ClusterTemplate
instance.
attrs – The attributes to update on the cluster_template
represented by cluster_template
.
The updated cluster_template
Return a generator of services
A generator of service objects
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.