congress.db.db_policy_rules.
Policy
(id_, name, abbreviation, description, owner, kind, deleted=False)¶Bases: sqlalchemy.ext.declarative.api.Base
, congress.db.model_base.HasId
, congress.db.model_base.HasAudit
abbreviation
¶created_at
¶deleted
¶deleted_at
¶description
¶id
¶kind
¶name
¶owner
¶to_dict
()¶From a given database policy, return a policy dict.
updated_at
¶congress.db.db_policy_rules.
PolicyDeleted
(policy_obj)¶Bases: sqlalchemy.ext.declarative.api.Base
, congress.db.model_base.HasId
, congress.db.model_base.HasAudit
abbreviation
¶created_at
¶deleted
¶deleted_at
¶description
¶id
¶kind
¶name
¶owner
¶updated_at
¶congress.db.db_policy_rules.
PolicyRule
(id, policy_name, rule, comment, deleted=False, rule_name='')¶Bases: sqlalchemy.ext.declarative.api.Base
, congress.db.model_base.HasId
, congress.db.model_base.HasAudit
comment
¶created_at
¶deleted
¶deleted_at
¶id
¶name
¶policy_name
¶rule
¶to_dict
()¶updated_at
¶congress.db.db_policy_rules.
add_policy
(*args, **kw)¶congress.db.db_policy_rules.
add_policy_rule
(*args, **kw)¶congress.db.db_policy_rules.
delete_policy
(*args, **kw)¶congress.db.db_policy_rules.
delete_policy_rule
(*args, **kw)¶Specify either the ID or the NAME, and that policy is deleted.
congress.db.db_policy_rules.
get_policies
(*args, **kw)¶congress.db.db_policy_rules.
get_policy
(*args, **kw)¶congress.db.db_policy_rules.
get_policy_by_id
(*args, **kw)¶congress.db.db_policy_rules.
get_policy_by_name
(*args, **kw)¶congress.db.db_policy_rules.
get_policy_rule
(*args, **kw)¶congress.db.db_policy_rules.
get_policy_rules
(*args, **kw)¶congress.db.db_policy_rules.
is_soft_deleted
(uuid, deleted)¶congress.db.db_policy_rules.
policy_name
(*args, **kw)¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.