The ClusterPolicy
class inherits from
Resource
.
openstack.cluster.v1.cluster_policy.
ClusterPolicy
(attrs=None, loaded=False)¶Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct
resource objects, which are preferrable to entering through
this initializer. See Resource.new()
and
Resource.existing()
.
Parameters: |
|
---|
policy_id
= None¶ID of the policy object.
policy_name
= None¶Name of the policy object.
cluster_id
= None¶ID of the cluster object.
cluster_name
= None¶Name of the cluster object.
policy_type
= None¶Type string of the policy.
enabled
= None¶Whether the policy is enabled on the cluster.
data
= None¶Data associated with the cluster-policy binding.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.