The following is an overview of all available policies in Aodh.
For a sample policy file refer to the policy.yaml or
run tox -egenpolicy in the repo folder and the new file will
be located in etc/trove/policy.yaml.sample
adminrole:admin or is_admin:True
Must be an administrator.
admin_or_ownerrule:admin or project_id:%(tenant)s
Must be an administrator or owner of the object.
defaultrule:admin_or_owner
Must be an administrator or owner of the object.
instance:createrule:admin_or_owner
POST /v1.0/{account_id}/instances
Create a database instance.
instance:deleterule:admin_or_owner
DELETE /v1.0/{account_id}/instances/{instance_id}
Delete a database instance.
instance:force_deleterule:admin_or_owner
DELETE /v1.0/{account_id}/instances/{instance_id}
Forcibly delete a database instance.
instance:indexrule:admin_or_owner
GET /v1.0/{account_id}/instances
List database instances.
instance:detailrule:admin_or_owner
GET /v1.0/{account_id}/instances/detail
List database instances with details.
instance:showrule:admin_or_owner
GET /v1.0/{account_id}/instances/{instance_id}
Get details of a specific database instance.
instance:updaterule:admin_or_owner
PUT /v1.0/{account_id}/instances/{instance_id}
POST /v1.0/{account_id}/instances
Update a database instance to attach/detach configuration
instance:editrule:admin_or_owner
PATCH /v1.0/{account_id}/instances/{instance_id}
Updates the instance to set or unset one or more attributes.
instance:restartrule:admin_or_owner
POST /v1.0/{account_id}/instances/{instance_id}/action (restart)
Restart a database instance.
instance:resize_volumerule:admin_or_owner
POST /v1.0/{account_id}/instances/{instance_id}/action (resize)
Resize a database instance volume.
instance:resize_flavorrule:admin_or_owner
POST /v1.0/{account_id}/instances/{instance_id}/action (resize)
Resize a database instance flavor.
instance:reset_statusrule:admin
POST /v1.0/{account_id}/instances/{instance_id}/action (reset_status)
Reset the status of a database instance to ERROR.
instance:promote_to_replica_sourcerule:admin_or_owner
POST /v1.0/{account_id}/instances/{instance_id}/action (promote_to_replica_source)
Promote instance to replica source.
instance:eject_replica_sourcerule:admin_or_owner
POST /v1.0/{account_id}/instances/{instance_id}/action (eject_replica_source)
Eject the replica source from its replica set.
instance:configurationrule:admin_or_owner
GET /v1.0/{account_id}/instances/{instance_id}/configuration
Get the default configuration template applied to the instance.
instance:guest_log_listrule:admin_or_owner
GET /v1.0/{account_id}/instances/{instance_id}/log
Get all informations about all logs of a database instance.
instance:backupsrule:admin_or_owner
GET /v1.0/{account_id}/instances/{instance_id}/backups
Get all backups of a database instance.
instance:module_listrule:admin_or_owner
GET /v1.0/{account_id}/instances/{instance_id}/modules
Get informations about modules on a database instance.
instance:module_applyrule:admin_or_owner
POST /v1.0/{account_id}/instances/{instance_id}/modules
POST /v1.0/{account_id}/instances
Apply modules to a database instance.
instance:module_removerule:admin_or_owner
DELETE /v1.0/{account_id}/instances/{instance_id}/modules/{module_id}
Remove a module from a database instance.
instance:extension:root:createrule:admin_or_owner
POST /v1.0/{account_id}/instances/{instance_id}/root
Enable the root user of a database instance.
instance:extension:root:deleterule:admin_or_owner
DELETE /v1.0/{account_id}/instances/{instance_id}/root
Disable the root user of a database instance.
instance:extension:root:indexrule:admin_or_owner
GET /v1.0/{account_id}/instances/{instance_id}/root
Show whether the root user of a database instance has been ever enabled.
cluster:extension:root:createrule:admin_or_owner
POST /v1.0/{account_id}/clusters/{cluster}/root
Enable the root user of the instances in a cluster.
cluster:extension:root:deleterule:admin_or_owner
DELETE /v1.0/{account_id}/clusters/{cluster}/root
Enable the root user of the instances in a cluster.
cluster:extension:root:indexrule:admin_or_owner
GET /v1.0/{account_id}/clusters/{cluster}/root
Disable the root of the instances in a cluster.
instance:extension:user:createrule:admin_or_owner
POST /v1.0/{account_id}/instances/{instance_id}/users
POST /v1.0/{account_id}/instances
Create users for a database instance.
instance:extension:user:deleterule:admin_or_owner
DELETE /v1.0/{account_id}/instances/{instance_id}/users/{user}
Delete a user from a database instance.
instance:extension:user:indexrule:admin_or_owner
GET /v1.0/{account_id}/instances/{instance_id}/users
Get all users of a database instance.
instance:extension:user:showrule:admin_or_owner
GET /v1.0/{account_id}/instances/{instance_id}/users/{user}
Get the information of a single user of a database instance.
instance:extension:user:updaterule:admin_or_owner
PUT /v1.0/{account_id}/instances/{instance_id}/users/{user}
Update attributes for a user of a database instance.
instance:extension:user:update_allrule:admin_or_owner
PUT /v1.0/{account_id}/instances/{instance_id}/users
Update the password for one or more users a database instance.
instance:extension:user_access:updaterule:admin_or_owner
PUT /v1.0/{account_id}/instances/{instance_id}/users/{user}/databases
Grant access for a user to one or more databases.
instance:extension:user_access:deleterule:admin_or_owner
DELETE /v1.0/{account_id}/instances/{instance_id}/users/{user}/databases/{database}
Revoke access for a user to a databases.
instance:extension:user_access:indexrule:admin_or_owner
GET /v1.0/{account_id}/instances/{instance_id}/users/{user}/databases
Get permissions of a user
instance:extension:database:createrule:admin_or_owner
POST /v1.0/{account_id}/instances/{instance_id}/databases
POST /v1.0/{account_id}/instances
Create a set of Schemas
instance:extension:database:deleterule:admin_or_owner
DELETE /v1.0/{account_id}/instances/{instance_id}/databases/{database}
Delete a schema from a database.
instance:extension:database:indexrule:admin_or_owner
GET /v1.0/{account_id}/instances/{instance_id}/databases
List all schemas from a database.
instance:extension:database:showrule:admin_or_owner
GET /v1.0/{account_id}/instances/{instance_id}/databases/{database}
Get informations of a schema(Currently Not Implemented).
cluster:createrule:admin_or_owner
POST /v1.0/{account_id}/clusters
Create a cluster.
cluster:deleterule:admin_or_owner
DELETE /v1.0/{account_id}/clusters/{cluster}
Delete a cluster.
cluster:force_deleterule:admin_or_owner
POST /v1.0/{account_id}/clusters/{cluster} (reset-status)
Forcibly delete a cluster.
cluster:indexrule:admin_or_owner
GET /v1.0/{account_id}/clusters
List all clusters
cluster:showrule:admin_or_owner
GET /v1.0/{account_id}/clusters/{cluster}
Get informations of a cluster.
cluster:show_instancerule:admin_or_owner
GET /v1.0/{account_id}/clusters/{cluster}/instances/{instance}
Get informations of a instance in a cluster.
cluster:actionrule:admin_or_owner
POST /v1.0/{account_id}/clusters/{cluster}
Commit an action against a cluster
cluster:reset-statusrule:admin
POST /v1.0/{account_id}/clusters/{cluster} (reset-status)
Reset the status of a cluster to NONE.
backup:createrule:admin_or_owner
POST /v1.0/{account_id}/backups
Create a backup of a database instance.
backup:deleterule:admin_or_owner
DELETE /v1.0/{account_id}/backups/{backup}
Delete a backup of a database instance.
backup:indexrule:admin_or_owner
GET /v1.0/{account_id}/backups
List all backups.
backup:index:all_projectsrole:admin
GET /v1.0/{account_id}/backups
List backups for all the projects.
backup:showrule:admin_or_owner
GET /v1.0/{account_id}/backups/{backup}
Get informations of a backup.
backup_strategy:createrule:admin_or_owner
POST /v1.0/{account_id}/backup_strategies
Create a backup strategy.
backup_strategy:indexrule:admin_or_owner
GET /v1.0/{account_id}/backup_strategies
List all backup strategies.
backup_strategy:deleterule:admin_or_owner
DELETE /v1.0/{account_id}/backup_strategies
Delete backup strategies.
configuration:createrule:admin_or_owner
POST /v1.0/{account_id}/configurations
Create a configuration group.
configuration:deleterule:admin_or_owner
DELETE /v1.0/{account_id}/configurations/{config}
Delete a configuration group.
configuration:indexrule:admin_or_owner
GET /v1.0/{account_id}/configurations
List all configuration groups.
configuration:showrule:admin_or_owner
GET /v1.0/{account_id}/configurations/{config}
Get informations of a configuration group.
configuration:instancesrule:admin_or_owner
GET /v1.0/{account_id}/configurations/{config}/instances
List all instances which a configuration group has be assigned to.
configuration:updaterule:admin_or_owner
PUT /v1.0/{account_id}/configurations/{config}
Update a configuration group(the configuration group will be replaced completely).
configuration:editrule:admin_or_owner
PATCH /v1.0/{account_id}/configurations/{config}
Patch a configuration group.
configuration-parameter:indexrule:admin_or_owner
GET /v1.0/{account_id}/datastores/{datastore}/versions/{version}/parameters
List all parameters bind to a datastore version.
configuration-parameter:showrule:admin_or_owner
GET /v1.0/{account_id}/datastores/{datastore}/versions/{version}/parameters/{param}
Get a paramter of a datastore version.
configuration-parameter:index_by_versionrule:admin_or_owner
GET /v1.0/{account_id}/datastores/versions/{version}/paramters
List all paramters bind to a datastore version by the id of the version(datastore is not provided).
configuration-parameter:show_by_versionrule:admin_or_owner
GET /v1.0/{account_id}/datastores/versions/{version}/paramters/{param}
Get a paramter of a datastore version by it names and the id of the version(datastore is not provided).
datastore:index<empty string>
GET /v1.0/{account_id}/datastores
List all datastores.
datastore:show<empty string>
GET /v1.0/{account_id}/datastores/{datastore}
Get informations of a datastore.
datastore:deleterule:admin
DELETE /v1.0/{account_id}/datastores/{datastore}
Delete a datastore.
datastore:version_show<empty string>
GET /v1.0/{account_id}/datastores/{datastore}/versions/{version}
Get a version of a datastore by the version id.
datastore:version_show_by_uuid<empty string>
GET /v1.0/{account_id}/datastores/versions/{version}
Get a version of a datastore by the version id(without providing the datastore id).
datastore:version_index<empty string>
GET /v1.0/{account_id}/datastores/{datastore}/versions
Get all versions of a datastore.
datastore:list_associated_flavors<empty string>
GET /v1.0/{account_id}/datastores/{datastore}/versions/{version}/flavors
List all flavors associated with a datastore version.
datastore:list_associated_volume_types<empty string>
GET /v1.0/{account_id}/datastores/{datastore}/versions/{version}/volume-types
List all volume-types associated with a datastore version.
flavor:index<empty string>
GET /v1.0/{account_id}/flavors
List all flavors.
flavor:show<empty string>
GET /v1.0/{account_id}/flavors/{flavor}
Get information of a flavor.
limits:indexrule:admin_or_owner
GET /v1.0/{account_id}/limits
List all absolute and rate limit informations.
module:createrule:admin_or_owner
POST /v1.0/{account_id}/modules
Create a module.
module:deleterule:admin_or_owner
DELETE /v1.0/{account_id}/modules/{module}
Delete a module.
module:indexrule:admin_or_owner
GET /v1.0/{account_id}/modules
List all modules.
module:showrule:admin_or_owner
GET /v1.0/{account_id}/modules/{module}
Get informations of a module.
module:instancesrule:admin_or_owner
GET /v1.0/{account_id}/modules/{module}/instances
List all instances to which a module is applied.
module:updaterule:admin_or_owner
PUT /v1.0/{account_id}/modules/{module}
Update a module.
module:reapplyrule:admin_or_owner
PUT /v1.0/{account_id}/modules/{module}/instances
Reapply a module to all instances.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.