keystone.common.resource_options.options.
check_resource_immutable
(resource_ref)[source]¶Check to see if a resource is immutable.
Parameters: | resource_ref – a dict reference of a resource to inspect |
---|
keystone.common.resource_options.options.
check_immutable_update
(original_resource_ref, new_resource_ref, type, resource_id)[source]¶Check if an update is allowed to an immutable resource.
Valid cases where an update is allowed:
- Resource is not immutable
- Resource is immutable, and update to set immutable to False or None
Parameters: |
|
---|---|
Raises: | ResourceUpdateForbidden |
keystone.common.resource_options.options.
check_immutable_delete
(resource_ref, resource_type, resource_id)[source]¶Check if a delete is allowed on a resource.
Parameters: |
|
---|---|
Raises: | ResourceDeleteForbidden |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.