openstack.key_manager.v1.container_acl

The ContainerACL Class

The ContainerACL class inherits from Resource.

class openstack.key_manager.v1.container_acl.ContainerACL(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized – This is not intended to be used directly. See new() and existing().

  • connection – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

base_path = '/containers/%(container_id)s/acl'

The base part of the URI for this resource.

allow_create = True

Allow create operation for this resource.

allow_fetch = True

Allow get operation for this resource.

allow_commit = True

Allow update operation for this resource.

allow_delete = True

Allow delete operation for this resource.

allow_list = False

Allow list operation for this resource.

create_opts = CreateOpts(request_key=<Unset.UNSET: 'UNSET'>, response_key=<Unset.UNSET: 'UNSET'>, method='PUT', requires_id=False, has_body=<Unset.UNSET: 'UNSET'>)

Class-level configuration for the create operation. Subclasses can override this to set per-resource defaults without overriding create().

commit_method = 'PATCH'

Method for committing a resource. This must be PATCH if allow_patch is True.

requires_id = False

Do calls for this resource require an ID.

container_id

The ID of the container this ACL belongs to

acl_ref

A URI for this container ACL

read

Read operation settings, e.g. {'users': [str], 'project-access': bool}.

created_at

The timestamp when this ACL was created (ISO 8601 format)

updated_at

The timestamp when this ACL was last updated (ISO 8601 format)