The following is an overview of all available policies in Cloudkitty. For a sample configuration file, refer to policy.yaml.
context_is_adminrole:admin
(no description provided)
admin_or_owneris_admin:True or (role:admin and is_admin_project:True) or project_id:%(project_id)s
(no description provided)
default<empty string>
(no description provided)
collector:list_mappingsrole:admin
LIST /v1/collector/mappings
Return the list of every services mapped to a collector.
collector:get_mappingrole:admin
GET /v1/collector/mappings/{service_id}
Return a service to collector mapping.
collector:manage_mappingrole:admin
POST /v1/collector/mappings
DELETE /v1/collector/mappings/{service_id}
Manage a service to collector mapping.
collector:get_staterole:admin
GET /v1/collector/states/{collector_id}
Query the enable state of a collector.
collector:update_staterole:admin
PUT /v1/collector/states/{collector_id}
Set the enable state of a collector.
info:list_services_info<empty string>
LIST /v1/info/services
List available services information in Cloudkitty.
info:get_service_info<empty string>
GET /v1/info/services/{metric_id}
Get specified service information.
info:list_metrics_info<empty string>
LIST /v1/info/metrics
List available metrics information in Cloudkitty.
info:get_metric_info<empty string>
GET /v1/info/metrics/{metric_id}
Get specified metric information.
info:get_config<empty string>
GET /v1/info/config
Get current configuration in Cloudkitty.
rating:list_modulesrole:admin
LIST /v1/rating/modules
Reture the list of loaded modules in Cloudkitty.
rating:get_modulerole:admin
GET /v1/rating/modules/{module_id}
Get specified module.
rating:update_modulerole:admin
PUT /v1/rating/modules/{module_id}
Change the state and priority of a module.
rating:quote<empty string>
POST /v1/rating/quote
Get an instant quote based on multiple resource descriptions.
rating:module_configrole:admin
GET /v1/rating/reload_modules
Trigger a rating module list reload.
report:list_tenantsrole:admin
GET /v1/report/tenants
Return the list of rated tenants.
report:get_summaryrule:admin_or_owner
GET /v1/report/summary
Return the summary to pay for a given period.
report:get_totalrule:admin_or_owner
GET /v1/report/total
Return the amount to pay for a given period.
storage:list_data_framesrule:admin_or_owner
GET /v1/storage/dataframes
Return a list of rated resources for a time period and a tenant.
dataframes:addrole:admin
POST /v2/dataframes
Add one or several DataFrames
dataframes:getrule:admin_or_owner
GET /v2/dataframes
Get DataFrames
scope:get_staterole:admin
GET /v2/scope
Get the state of one or several scopes
scope:reset_staterole:admin
PUT /v2/scope
Reset the state of one or several scopes
summary:get_summaryrule:admin_or_owner
GET /v2/summary
Get a rating summary
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.