models.tenant_config module

class models.tenant_config.TenantConfig(name=None, restricted=None, roles=None, tenant_id=None)[source]

Bases: object

Implementation of the ‘TenantConfig’ model.

Specifies struct with basic tenant specific configuration.


name (string): Specifies name of the tenant. restricted (bool): Whether the user is a restricted user. A restricted

user can only view the objects he has permissions to.

roles (list of string): Array of Roles. Specifies the Cohesity roles

to associate with the user such as such as ‘Admin’, ‘Ops’ or ‘View’. The Cohesity roles determine privileges on the Cohesity Cluster for this user.

tenant_id (string): Specifies the unique id of the tenant.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.


object: An instance of this structure class.