otcextensions.sdk.identity.v3.agency_role

The AgencyRole Class

The AgencyRole class inherits from Resource.

class otcextensions.sdk.identity.v3.agency_role.AgencyRole(_synchronized=False, connection=None, **attrs)

The base resource

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

  • connection (openstack.connection.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.

resources_key: ty.Optional[str] = 'roles'

Plural form of key for resource.

base_path: str = '/v3.0/OS-AGENCY/%(role_ref_type)ss/%(role_ref_id)s/agencies/%(agency_id)s/roles'

The base part of the URI for this resource.

allow_commit = True

Allow update operation for this resource.

allow_head = True

Allow head operation for this resource.

allow_delete = True

Allow delete operation for this resource.

allow_list = True

Allow list operation for this resource.

catalog

Directory where a role locates.

description

Description of the role.

domain_id

ID of the domain to which a role belongs.

name: ty.Union[Body, URI]

Name of a role.

policy

Policy of a role.

type

Display mode of a role.